PromucFlow_constructor/app/client/cypress/fixtures/formWidgetdsl.json
Hetu Nandu 655b160922
Web worker evaluation (#706)
- Adds Web workers and does evaluations in off the main thread
- Removes any need to store functions in the data tree and only keeps them around while evaluating
- Maintains a stored data tree in the redux state
- Evaluates based on editor events instead of state changes
2020-10-21 09:55:32 +05:30

111 lines
3.2 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1224,
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1280,
"containerStyle": "none",
"snapRows": 33,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"dynamicBindings": {},
"version": 6,
"minHeight": 1292,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"isVisible": true,
"widgetName": "Form1",
"backgroundColor": "white",
"children": [
{
"isVisible": true,
"widgetName": "Canvas1",
"containerStyle": "none",
"canExtend": false,
"detachFromLayout": true,
"children": [
{
"isVisible": true,
"text": "Form",
"textStyle": "HEADING",
"textAlign": "LEFT",
"widgetName": "Text1",
"type": "TEXT_WIDGET",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 12,
"topRow": 0,
"bottomRow": 1,
"parentId": "sidaue1kdu",
"widgetId": "ac6cc8wmlu"
},
{
"isVisible": true,
"widgetName": "FormButton1",
"text": "Submit",
"isDefaultClickDisabled": true,
"buttonStyle": "PRIMARY_BUTTON",
"disabledWhenInvalid": true,
"resetFormOnClick": true,
"type": "FORM_BUTTON_WIDGET",
"isLoading": false,
"leftColumn": 12,
"rightColumn": 16,
"topRow": 11,
"bottomRow": 12,
"parentId": "sidaue1kdu",
"widgetId": "xyn7t20lhv"
},
{
"isVisible": true,
"widgetName": "FormButton2",
"text": "Reset",
"isDefaultClickDisabled": true,
"buttonStyle": "SECONDARY_BUTTON",
"disabledWhenInvalid": false,
"resetFormOnClick": true,
"type": "FORM_BUTTON_WIDGET",
"isLoading": false,
"leftColumn": 8,
"rightColumn": 12,
"topRow": 11,
"bottomRow": 12,
"parentId": "sidaue1kdu",
"widgetId": "xlrmeiioaa"
}
],
"minHeight": 520,
"type": "CANVAS_WIDGET",
"isLoading": false,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"leftColumn": 0,
"rightColumn": 518,
"topRow": 0,
"bottomRow": 520,
"parentId": "j77dthxf61",
"widgetId": "sidaue1kdu"
}
],
"type": "FORM_WIDGET",
"isLoading": false,
"parentColumnSpace": 74,
"parentRowSpace": 40,
"leftColumn": 3,
"rightColumn": 10,
"topRow": 2,
"bottomRow": 15,
"parentId": "0",
"widgetId": "j77dthxf61"
}
]
}
}