PromucFlow_constructor/app/client/cypress/fixtures/formWithRTEDsl.json
2022-01-27 00:37:50 -08:00

155 lines
6.7 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 741,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1750,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 50,
"minHeight": 1730,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Form1",
"backgroundColor": "white",
"rightColumn": 40,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "ulq6yrqrbl",
"topRow": 45,
"bottomRow": 85,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"animateLoading": true,
"parentColumnSpace": 20.03125,
"leftColumn": 16,
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 480.75,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "rc11mc4s5i",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 420,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "ulq6yrqrbl",
"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,
"leftColumn": 1.5,
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "Form",
"key": "q98m4urwjv",
"rightColumn": 25.5,
"textAlign": "LEFT",
"widgetId": "5qvmr1wvli",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "rc11mc4s5i",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "HEADING1"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton1",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 33,
"bottomRow": 37,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"animateLoading": true,
"leftColumn": 46,
"text": "Submit",
"key": "c8lzborqtq",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "z71w2cqqvx",
"isVisible": true,
"recaptchaType": "V3",
"version": 1,
"parentId": "rc11mc4s5i",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"widgetName": "RichTextEditor1",
"displayName": "Rich Text Editor",
"iconSVG": "/static/media/icon.b35e139c.svg",
"topRow": 11,
"bottomRow": 31,
"parentRowSpace": 10,
"type": "RICH_TEXT_EDITOR_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 7.19921875,
"dynamicTriggerPathList": [],
"leftColumn": 3,
"dynamicBindingPathList": [],
"inputType": "html",
"isDisabled": false,
"key": "gvpjn7xn6o",
"isRequired": false,
"rightColumn": 49,
"isDefaultClickDisabled": true,
"widgetId": "tcayiqdf7f",
"isVisible": true,
"version": 1,
"parentId": "rc11mc4s5i",
"renderMode": "CANVAS",
"isLoading": false,
"defaultText": "<h1>Default</h1>"
}
],
"key": "cjr58m5irk"
}
],
"key": "l320wzhl9a"
}
]
}
}