PromucFlow_constructor/app/client/cypress/fixtures/formHasChangesDsl.json

481 lines
23 KiB
JSON
Raw Normal View History

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 909,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1290,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 52,
"minHeight": 690,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Form1",
"backgroundColor": "white",
"rightColumn": 62,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "ui8kenblnq",
"topRow": 5,
"bottomRow": 62,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"animateLoading": true,
"parentColumnSpace": 14.015625,
"leftColumn": 2,
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 336.375,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "rgnqy2hpcb",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 570,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "ui8kenblnq",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text1",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 1,
"bottomRow": 5,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"leftColumn": 1.5,
"dynamicBindingPathList": [],
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "TopLevelForm",
"key": "r71qxtucag",
"rightColumn": 25.5,
"textAlign": "LEFT",
"widgetId": "az2x2gnx8i",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "rgnqy2hpcb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "HEADING1"
},
{
"boxShadow": "NONE",
"widgetName": "Container1",
"borderColor": "transparent",
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3.svg",
"topRow": 7,
"bottomRow": 55,
"parentRowSpace": 10,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 12.8271484375,
"leftColumn": 1,
"children": [
{
"widgetName": "Canvas2",
"rightColumn": 307.8515625,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "o16xur9huq",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 490,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "c3ib5l2wce",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Form2",
"backgroundColor": "white",
"rightColumn": 64,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "r0vj63apg4",
"topRow": 1,
"bottomRow": 47,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "o16xur9huq",
"renderMode": "CANVAS",
"isLoading": false,
"animateLoading": true,
"parentColumnSpace": 12.314224243164062,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas3",
"rightColumn": 295.5413818359375,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "hyxstzafwr",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 460,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "r0vj63apg4",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text2",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 1,
"bottomRow": 5,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"leftColumn": 1.5,
"dynamicBindingPathList": [],
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "NestedForm1",
"key": "r71qxtucag",
"rightColumn": 25.5,
"textAlign": "LEFT",
"widgetId": "9x1tljetyn",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "hyxstzafwr",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "HEADING1"
},
{
"boxShadow": "NONE",
"widgetName": "Container2",
"borderColor": "transparent",
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3.svg",
"topRow": 6,
"bottomRow": 44,
"parentRowSpace": 10,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 12.001724243164062,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas4",
"rightColumn": 288.0413818359375,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "bezg0vuivd",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "d3bbrwipbo",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Form3",
"backgroundColor": "white",
"rightColumn": 62,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "e9qj527b6g",
"topRow": 0,
"bottomRow": 36,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "bezg0vuivd",
"renderMode": "CANVAS",
"isLoading": false,
"animateLoading": true,
"parentColumnSpace": 12.001724243164062,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas5",
"rightColumn": 288.0413818359375,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "ju0erkgavw",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "e9qj527b6g",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text3",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 1,
"bottomRow": 5,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"leftColumn": 1.5,
"dynamicBindingPathList": [],
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "NestedForm2",
"key": "r71qxtucag",
"rightColumn": 25.5,
"textAlign": "LEFT",
"widgetId": "kx3kje0esv",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "ju0erkgavw",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "HEADING1"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton1",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 29,
"bottomRow": 33,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"animateLoading": true,
"leftColumn": 47,
"text": "Submit",
"key": "6rckarmxa8",
"rightColumn": 63,
"isDefaultClickDisabled": true,
"widgetId": "71jwl9rqyl",
"isVisible": true,
"recaptchaType": "V3",
"version": 1,
"parentId": "ju0erkgavw",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton2",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 29,
"bottomRow": 33,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"animateLoading": true,
"leftColumn": 30,
"text": "Reset",
"key": "6rckarmxa8",
"rightColumn": 46,
"isDefaultClickDisabled": true,
"widgetId": "385vwj1sak",
"isVisible": true,
"recaptchaType": "V3",
"version": 1,
"parentId": "ju0erkgavw",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": false,
"buttonVariant": "SECONDARY"
},
{
"widgetName": "Checkbox1",
"displayName": "Checkbox",
"iconSVG": "/static/media/icon.aaab032b.svg",
"topRow": 7,
"bottomRow": 11,
"parentRowSpace": 10,
"type": "CHECKBOX_WIDGET",
"alignWidget": "LEFT",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 11.011435985565186,
"leftColumn": 1,
"isDisabled": false,
"key": "kn37pa6063",
"isRequired": false,
"rightColumn": 21,
"widgetId": "xcs2djteir",
"isVisible": true,
"label": "Label",
"version": 1,
"parentId": "ju0erkgavw",
"renderMode": "CANVAS",
"isLoading": false,
"defaultCheckedState": true
}
],
"key": "invgby4psp"
}
],
"key": "1yxjunjfwb"
}
],
"key": "invgby4psp"
}
],
"borderWidth": "0",
"key": "tpj0tcwdhg",
"backgroundColor": "#FFFFFF",
"rightColumn": 64,
"widgetId": "d3bbrwipbo",
"containerStyle": "card",
"isVisible": true,
"version": 1,
"parentId": "hyxstzafwr",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "0"
}
],
"key": "invgby4psp"
}
],
"key": "1yxjunjfwb"
}
],
"key": "invgby4psp"
}
],
"borderWidth": "0",
"key": "tpj0tcwdhg",
"backgroundColor": "#FFFFFF",
"rightColumn": 64,
"widgetId": "c3ib5l2wce",
"containerStyle": "card",
"isVisible": true,
"version": 1,
"parentId": "rgnqy2hpcb",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "0"
},
{
"widgetName": "Text4",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 12.8271484375,
"dynamicTriggerPathList": [],
"leftColumn": 47,
"dynamicBindingPathList": [
{
"key": "text"
}
],
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "{{Form1.hasChanges}}",
"key": "r71qxtucag",
"rightColumn": 63,
"textAlign": "LEFT",
"widgetId": "6lwl9odtd7",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "rgnqy2hpcb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
}
],
"key": "invgby4psp"
}
],
"key": "1yxjunjfwb"
}
]
}
}