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

183 lines
7.7 KiB
JSON
Raw Normal View History

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 966,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1290,
"containerStyle": "none",
"snapRows": 128,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 30,
"minHeight": 1292,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Form1",
"backgroundColor": "white",
"rightColumn": 40,
"widgetId": "j77dthxf61",
"topRow": 8,
"bottomRow": 60,
"parentRowSpace": 40,
"isVisible": true,
"type": "FORM_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"parentColumnSpace": 74,
"leftColumn": 12,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 2072,
"detachFromLayout": true,
"widgetId": "sidaue1kdu",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 2080,
"parentRowSpace": 1,
"isVisible": true,
"canExtend": false,
"type": "CANVAS_WIDGET",
"version": 1,
"parentId": "j77dthxf61",
"minHeight": 520,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Text1",
"rightColumn": 48,
"textAlign": "LEFT",
"widgetId": "ac6cc8wmlu",
"topRow": 0,
"bottomRow": 4,
"isVisible": true,
"type": "TEXT_WIDGET",
"fontStyle": "BOLD",
"version": 1,
"textColor": "#231F20",
"parentId": "sidaue1kdu",
"isLoading": false,
"leftColumn": 0,
"dynamicBindingPathList": [],
"fontSize": "HEADING1",
"text": "Form"
},
{
"isRequired": false,
"widgetName": "Checkbox1",
"rightColumn": 52,
"widgetId": "szjhneuog5",
"topRow": 16,
"bottomRow": 20,
"parentRowSpace": 38,
"isVisible": true,
"label": "Label",
"type": "CHECKBOX_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"leftColumn": 40,
"dynamicBindingPathList": [],
"defaultCheckedState": true,
"isDisabled": false
},
{
"widgetName": "Switch1",
"rightColumn": 52,
"widgetId": "szjhneuog9",
"topRow": 72,
"bottomRow": 76,
"parentRowSpace": 38,
"isVisible": true,
"label": "Switch",
"type": "SWITCH_WIDGET",
"defaultSwitchState": true,
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"leftColumn": 40,
"dynamicBindingPathList": [],
"isDisabled": false
},
{
"resetFormOnClick": true,
"widgetName": "FormButton1",
"rightColumn": 64,
"isDefaultClickDisabled": true,
"widgetId": "xyn7t20lhv",
"buttonStyle": "PRIMARY_BUTTON",
"topRow": 44,
"bottomRow": 48,
"isVisible": true,
"type": "FORM_BUTTON_WIDGET",
"version": 1,
"parentId": "sidaue1kdu",
"isLoading": false,
"disabledWhenInvalid": true,
"leftColumn": 48,
"dynamicBindingPathList": [],
"text": "Submit"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton2",
"rightColumn": 48,
"isDefaultClickDisabled": true,
"widgetId": "xlrmeiioaa",
"buttonStyle": "SECONDARY_BUTTON",
"topRow": 44,
"bottomRow": 48,
"isVisible": true,
"type": "FORM_BUTTON_WIDGET",
"version": 1,
"parentId": "sidaue1kdu",
"isLoading": false,
"disabledWhenInvalid": false,
"leftColumn": 32,
"dynamicBindingPathList": [],
"text": "Reset"
}
]
}
]
},
{
"isVisible": true,
"inputType": "TEXT",
"label": "",
"widgetName": "Input1",
"version": 1,
"resetOnSubmit": true,
"isRequired": false,
"isDisabled": false,
"allowCurrencyChange": false,
"type": "INPUT_WIDGET",
"isLoading": false,
"parentColumnSpace": 14.90625,
"parentRowSpace": 10,
"leftColumn": 42,
"rightColumn": 62,
"topRow": 13,
"bottomRow": 17,
"parentId": "0",
"widgetId": "fxixmi3q4s"
}
],
"dynamicTriggerPathList": []
}
}