* JSObjects scripting * storeValue Implemented * Resolve, AsyncAwait script implementation * Moved ts tests inside already existing folders * Then & Catch test script implemented * Promise.race test script implemented + S3 fix * JSObject_To_ListWidgetSpec.ts failure fix * S3 flaky test fix * createOrg flaky fix * FilePicker_with_fileTypes_spec.js filename fix * createOrg flaky fix * createOrg revert * JSObject_To_ListWidgetSpec.ts added validations * .then .catch promises script added * Added script for Promises Maintaining context * Added WaitUntilEleDisappear() * JSObj run fix
488 lines
19 KiB
JSON
488 lines
19 KiB
JSON
{
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 528,
|
|
"snapColumns": 64,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 770,
|
|
"containerStyle": "none",
|
|
"snapRows": 80,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 49,
|
|
"minHeight": 240,
|
|
"parentColumnSpace": 1,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Button1",
|
|
"onClick": "",
|
|
"buttonColor": "#03B365",
|
|
"dynamicPropertyPathList": [],
|
|
"displayName": "Button",
|
|
"iconSVG": "/static/media/icon.cca02633.svg",
|
|
"topRow": 6,
|
|
"bottomRow": 10,
|
|
"parentRowSpace": 10,
|
|
"type": "BUTTON_WIDGET",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"parentColumnSpace": 8.0625,
|
|
"dynamicTriggerPathList": [
|
|
{
|
|
"key": "onClick"
|
|
}
|
|
],
|
|
"leftColumn": 29,
|
|
"dynamicBindingPathList": [],
|
|
"text": "Submit",
|
|
"isDisabled": false,
|
|
"key": "24mm844wc6",
|
|
"rightColumn": 45,
|
|
"isDefaultClickDisabled": true,
|
|
"widgetId": "ibkh7yx66l",
|
|
"isVisible": true,
|
|
"recaptchaType": "V3",
|
|
"version": 1,
|
|
"parentId": "0",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"buttonVariant": "PRIMARY",
|
|
"placement": "CENTER"
|
|
},
|
|
{
|
|
"template": {
|
|
"Image2": {
|
|
"isVisible": true,
|
|
"defaultImage": "https://assets.appsmith.com/widgets/default.png",
|
|
"imageShape": "RECTANGLE",
|
|
"maxZoomLevel": 1,
|
|
"enableRotation": false,
|
|
"enableDownload": false,
|
|
"objectFit": "contain",
|
|
"image": "{{List1.listData.map((currentItem) => currentItem.img)}}",
|
|
"widgetName": "Image2",
|
|
"version": 1,
|
|
"animateLoading": true,
|
|
"type": "IMAGE_WIDGET",
|
|
"hideCard": false,
|
|
"displayName": "Image",
|
|
"key": "egbqwm9hx0",
|
|
"iconSVG": "/static/media/icon.52d8fb96.svg",
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "image"
|
|
}
|
|
],
|
|
"dynamicTriggerPathList": [],
|
|
"widgetId": "g7uap8160l",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"leftColumn": 0,
|
|
"rightColumn": 16,
|
|
"topRow": 0,
|
|
"bottomRow": 8.4,
|
|
"parentId": "flhdxlstrq"
|
|
},
|
|
"Text1": {
|
|
"isVisible": true,
|
|
"text": "{{List1.listData.map((currentItem) => currentItem.name)}}",
|
|
"fontSize": "PARAGRAPH",
|
|
"fontStyle": "BOLD",
|
|
"textAlign": "LEFT",
|
|
"textColor": "#231F20",
|
|
"truncateButtonColor": "#FFC13D",
|
|
"widgetName": "Text1",
|
|
"shouldScroll": false,
|
|
"shouldTruncate": false,
|
|
"version": 1,
|
|
"animateLoading": true,
|
|
"type": "TEXT_WIDGET",
|
|
"hideCard": false,
|
|
"displayName": "Text",
|
|
"key": "4cjjk6m65f",
|
|
"iconSVG": "/static/media/icon.97c59b52.svg",
|
|
"textStyle": "HEADING",
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "text"
|
|
}
|
|
],
|
|
"dynamicTriggerPathList": [],
|
|
"widgetId": "ahtuluaip9",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"leftColumn": 16,
|
|
"rightColumn": 28,
|
|
"topRow": 0,
|
|
"bottomRow": 4,
|
|
"parentId": "flhdxlstrq"
|
|
},
|
|
"Text2": {
|
|
"isVisible": true,
|
|
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.synopsis;\n })();\n })}}",
|
|
"fontSize": "PARAGRAPH",
|
|
"fontStyle": "BOLD",
|
|
"textAlign": "LEFT",
|
|
"textColor": "#231F20",
|
|
"truncateButtonColor": "#FFC13D",
|
|
"widgetName": "Text2",
|
|
"shouldScroll": false,
|
|
"shouldTruncate": false,
|
|
"version": 1,
|
|
"animateLoading": true,
|
|
"type": "TEXT_WIDGET",
|
|
"hideCard": false,
|
|
"displayName": "Text",
|
|
"key": "4cjjk6m65f",
|
|
"iconSVG": "/static/media/icon.97c59b52.svg",
|
|
"textStyle": "BODY",
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "text"
|
|
}
|
|
],
|
|
"dynamicTriggerPathList": [],
|
|
"widgetId": "th1ori4kgk",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"leftColumn": 16,
|
|
"rightColumn": 24,
|
|
"topRow": 4,
|
|
"bottomRow": 8,
|
|
"parentId": "flhdxlstrq"
|
|
}
|
|
},
|
|
"widgetName": "List1",
|
|
"listData": "",
|
|
"isCanvas": true,
|
|
"displayName": "List",
|
|
"iconSVG": "/static/media/icon.9925ee17.svg",
|
|
"topRow": 12,
|
|
"bottomRow": 75,
|
|
"parentRowSpace": 10,
|
|
"type": "LIST_WIDGET",
|
|
"hideCard": false,
|
|
"gridGap": 0,
|
|
"animateLoading": true,
|
|
"parentColumnSpace": 16.796875,
|
|
"dynamicTriggerPathList": [],
|
|
"leftColumn": 29,
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "template.Image2.image"
|
|
},
|
|
{
|
|
"key": "template.Text1.text"
|
|
},
|
|
{
|
|
"key": "template.Text2.text"
|
|
}
|
|
],
|
|
"gridType": "vertical",
|
|
"enhancements": true,
|
|
"children": [
|
|
{
|
|
"widgetName": "Canvas1",
|
|
"displayName": "Canvas",
|
|
"topRow": 0,
|
|
"bottomRow": 390,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": false,
|
|
"hideCard": true,
|
|
"dropDisabled": true,
|
|
"openParentPropertyPane": true,
|
|
"minHeight": 400,
|
|
"noPad": true,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"boxShadow": "NONE",
|
|
"widgetName": "Container1",
|
|
"borderColor": "transparent",
|
|
"disallowCopy": true,
|
|
"isCanvas": true,
|
|
"displayName": "Container",
|
|
"iconSVG": "/static/media/icon.1977dca3.svg",
|
|
"topRow": 0,
|
|
"bottomRow": 21,
|
|
"dragDisabled": true,
|
|
"type": "CONTAINER_WIDGET",
|
|
"hideCard": false,
|
|
"openParentPropertyPane": true,
|
|
"isDeletable": false,
|
|
"animateLoading": true,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Canvas2",
|
|
"detachFromLayout": true,
|
|
"displayName": "Canvas",
|
|
"widgetId": "flhdxlstrq",
|
|
"containerStyle": "none",
|
|
"topRow": 0,
|
|
"bottomRow": 200,
|
|
"parentRowSpace": 1,
|
|
"isVisible": true,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": false,
|
|
"version": 1,
|
|
"hideCard": true,
|
|
"parentId": "0cgvn02dl4",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Image2",
|
|
"displayName": "Image",
|
|
"iconSVG": "/static/media/icon.52d8fb96.svg",
|
|
"topRow": 0,
|
|
"bottomRow": 8,
|
|
"type": "IMAGE_WIDGET",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"dynamicTriggerPathList": [],
|
|
"imageShape": "RECTANGLE",
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "image"
|
|
}
|
|
],
|
|
"leftColumn": 0,
|
|
"defaultImage": "https://assets.appsmith.com/widgets/default.png",
|
|
"key": "egbqwm9hx0",
|
|
"image": "{{currentItem.img}}",
|
|
"rightColumn": 16,
|
|
"objectFit": "contain",
|
|
"widgetId": "g7uap8160l",
|
|
"logBlackList": {
|
|
"isVisible": true,
|
|
"defaultImage": true,
|
|
"imageShape": true,
|
|
"maxZoomLevel": true,
|
|
"enableRotation": true,
|
|
"enableDownload": true,
|
|
"objectFit": true,
|
|
"image": true,
|
|
"widgetName": true,
|
|
"version": true,
|
|
"animateLoading": true,
|
|
"type": true,
|
|
"hideCard": true,
|
|
"displayName": true,
|
|
"key": true,
|
|
"iconSVG": true,
|
|
"isCanvas": true,
|
|
"dynamicBindingPathList": true,
|
|
"dynamicTriggerPathList": true,
|
|
"minHeight": true,
|
|
"widgetId": true,
|
|
"renderMode": true,
|
|
"isLoading": true,
|
|
"parentColumnSpace": true,
|
|
"parentRowSpace": true,
|
|
"leftColumn": true,
|
|
"rightColumn": true,
|
|
"topRow": true,
|
|
"bottomRow": true,
|
|
"parentId": true
|
|
},
|
|
"isVisible": true,
|
|
"version": 1,
|
|
"parentId": "flhdxlstrq",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"maxZoomLevel": 1,
|
|
"enableDownload": false,
|
|
"enableRotation": false
|
|
},
|
|
{
|
|
"widgetName": "Text1",
|
|
"displayName": "Text",
|
|
"iconSVG": "/static/media/icon.97c59b52.svg",
|
|
"topRow": 0,
|
|
"bottomRow": 4,
|
|
"type": "TEXT_WIDGET",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "text"
|
|
}
|
|
],
|
|
"leftColumn": 16,
|
|
"shouldTruncate": false,
|
|
"truncateButtonColor": "#FFC13D",
|
|
"text": "{{currentItem.name}}",
|
|
"key": "4cjjk6m65f",
|
|
"rightColumn": 59,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "ahtuluaip9",
|
|
"logBlackList": {
|
|
"isVisible": true,
|
|
"text": true,
|
|
"fontSize": true,
|
|
"fontStyle": true,
|
|
"textAlign": true,
|
|
"textColor": true,
|
|
"truncateButtonColor": true,
|
|
"widgetName": true,
|
|
"shouldScroll": true,
|
|
"shouldTruncate": true,
|
|
"version": true,
|
|
"animateLoading": true,
|
|
"type": true,
|
|
"hideCard": true,
|
|
"displayName": true,
|
|
"key": true,
|
|
"iconSVG": true,
|
|
"isCanvas": true,
|
|
"textStyle": true,
|
|
"dynamicBindingPathList": true,
|
|
"dynamicTriggerPathList": true,
|
|
"minHeight": true,
|
|
"widgetId": true,
|
|
"renderMode": true,
|
|
"isLoading": true,
|
|
"parentColumnSpace": true,
|
|
"parentRowSpace": true,
|
|
"leftColumn": true,
|
|
"rightColumn": true,
|
|
"topRow": true,
|
|
"bottomRow": true,
|
|
"parentId": true
|
|
},
|
|
"isVisible": true,
|
|
"fontStyle": "BOLD",
|
|
"textColor": "#231F20",
|
|
"shouldScroll": false,
|
|
"version": 1,
|
|
"parentId": "flhdxlstrq",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"fontSize": "PARAGRAPH",
|
|
"textStyle": "HEADING"
|
|
},
|
|
{
|
|
"widgetName": "Text2",
|
|
"displayName": "Text",
|
|
"iconSVG": "/static/media/icon.97c59b52.svg",
|
|
"topRow": 4,
|
|
"bottomRow": 18,
|
|
"type": "TEXT_WIDGET",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "text"
|
|
}
|
|
],
|
|
"leftColumn": 16,
|
|
"shouldTruncate": false,
|
|
"truncateButtonColor": "#FFC13D",
|
|
"text": "{{currentItem.synopsis}}",
|
|
"key": "4cjjk6m65f",
|
|
"rightColumn": 64,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "th1ori4kgk",
|
|
"logBlackList": {
|
|
"isVisible": true,
|
|
"text": true,
|
|
"fontSize": true,
|
|
"fontStyle": true,
|
|
"textAlign": true,
|
|
"textColor": true,
|
|
"truncateButtonColor": true,
|
|
"widgetName": true,
|
|
"shouldScroll": true,
|
|
"shouldTruncate": true,
|
|
"version": true,
|
|
"animateLoading": true,
|
|
"type": true,
|
|
"hideCard": true,
|
|
"displayName": true,
|
|
"key": true,
|
|
"iconSVG": true,
|
|
"isCanvas": true,
|
|
"textStyle": true,
|
|
"dynamicBindingPathList": true,
|
|
"dynamicTriggerPathList": true,
|
|
"minHeight": true,
|
|
"widgetId": true,
|
|
"renderMode": true,
|
|
"isLoading": true,
|
|
"parentColumnSpace": true,
|
|
"parentRowSpace": true,
|
|
"leftColumn": true,
|
|
"rightColumn": true,
|
|
"topRow": true,
|
|
"bottomRow": true,
|
|
"parentId": true
|
|
},
|
|
"isVisible": true,
|
|
"fontStyle": "BOLD",
|
|
"textColor": "#231F20",
|
|
"shouldScroll": false,
|
|
"version": 1,
|
|
"parentId": "flhdxlstrq",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"fontSize": "PARAGRAPH",
|
|
"textStyle": "BODY"
|
|
}
|
|
],
|
|
"key": "4mfz64ift9"
|
|
}
|
|
],
|
|
"borderWidth": "0",
|
|
"key": "hvkjxr137n",
|
|
"disablePropertyPane": true,
|
|
"backgroundColor": "white",
|
|
"rightColumn": 64,
|
|
"widgetId": "0cgvn02dl4",
|
|
"containerStyle": "card",
|
|
"isVisible": true,
|
|
"version": 1,
|
|
"parentId": "x0xz2cj6gu",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"borderRadius": "0"
|
|
}
|
|
],
|
|
"key": "4mfz64ift9",
|
|
"rightColumn": 403.125,
|
|
"detachFromLayout": true,
|
|
"widgetId": "x0xz2cj6gu",
|
|
"containerStyle": "none",
|
|
"isVisible": true,
|
|
"version": 1,
|
|
"parentId": "n699cb1agh",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false
|
|
}
|
|
],
|
|
"key": "c7lfsjujp8",
|
|
"backgroundColor": "transparent",
|
|
"rightColumn": 57,
|
|
"itemBackgroundColor": "#FFFFFF",
|
|
"widgetId": "n699cb1agh",
|
|
"isVisible": true,
|
|
"parentId": "0",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false
|
|
}
|
|
]
|
|
}
|
|
} |