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

293 lines
14 KiB
JSON
Raw Normal View History

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 966,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 5016,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 29,
"minHeight": 360,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container3",
"rightColumn": 60,
"orientation": "VERTICAL",
"snapColumns": 16,
"widgetId": "jaftzrmtin",
"containerStyle": "card",
"topRow": 0,
"bottomRow": 80,
"parentRowSpace": 38,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"isLoading": false,
"parentColumnSpace": 75.25,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "transparent",
"widgetName": "7hf8kkvvgv",
"rightColumn": 4816,
"orientation": "VERTICAL",
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "e3tq9qwta6",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 2128,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"isLoading": false,
"minHeight": 800,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"isRequired": false,
"widgetName": "Input1",
"rightColumn": 20,
"widgetId": "i9cuq42zmc",
"topRow": 4,
"bottomRow": 8,
"parentRowSpace": 38,
"isVisible": true,
"label": "",
"type": "INPUT_WIDGET_V2",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"resetOnSubmit": false,
"leftColumn": 0,
"dynamicBindingPathList": [],
"inputType": "TEXT",
"isDisabled": false
},
{
"isRequired": false,
"widgetName": "Dropdown1",
"rightColumn": 60,
"isFilterable": true,
"widgetId": "nl5sy9cuaa",
"topRow": 4,
"bottomRow": 8,
"parentRowSpace": 38,
"isVisible": true,
"label": "",
"type": "SELECT_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"leftColumn": 40,
"dynamicBindingPathList": [],
"options": "",
"isDisabled": false
},
{
"widgetName": "Button1",
"rightColumn": 12,
"isDefaultClickDisabled": true,
"widgetId": "gn6ug210ef",
"buttonStyle": "PRIMARY_BUTTON",
"topRow": 16,
"bottomRow": 20,
"parentRowSpace": 38,
"isVisible": true,
"type": "BUTTON_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"leftColumn": 4,
"dynamicBindingPathList": [],
"text": "Submit",
"isDisabled": false
},
{
"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
},
{
"isRequired": false,
"widgetName": "RadioGroup1",
"rightColumn": 12,
"widgetId": "nb2usgp3hv",
"topRow": 28,
"bottomRow": 36,
"parentRowSpace": 38,
"isVisible": true,
"label": "",
"type": "RADIO_GROUP_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"defaultOptionValue": "1",
"parentColumnSpace": 71.75,
"leftColumn": 0,
"dynamicBindingPathList": [],
"options": [
{
"label": "Male",
"value": "M"
},
{
"label": "Female",
"value": "F"
}
],
"isDisabled": false
},
{
"widgetName": "DatePicker1",
"defaultDate": "2020-06-03T12:05:44.699+05:30",
"rightColumn": 60,
"dateFormat": "DD/MM/YYYY",
"widgetId": "kyrvcdcm4e",
"topRow": 28,
"bottomRow": 32,
"parentRowSpace": 38,
"isVisible": true,
"datePickerType": "DATE_PICKER",
"label": "",
"type": "DATE_PICKER_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 71.75,
"dynamicTriggerPathList": [
{
"key": "onDateSelected"
}
],
"leftColumn": 40,
"dynamicBindingPathList": [],
"isDisabled": false,
"onDateSelected": "{{showModal()}}"
},
{
"isRequired": false,
"widgetName": "FilePicker1",
"rightColumn": 56,
"isDefaultClickDisabled": true,
"widgetId": "ca22py6vlv",
"topRow": 44,
"bottomRow": 48,
"parentRowSpace": 38,
"isVisible": true,
"label": "Select Files",
"allowedFileTypes": [],
"type": "FILE_PICKER_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 67.1171875,
"leftColumn": 40,
"dynamicBindingPathList": [],
"files": [],
"isDisabled": false
},
{
"widgetName": "RichTextEditor1",
"rightColumn": 32,
"isDefaultClickDisabled": true,
"widgetId": "2uvezzlkn5",
"topRow": 44,
"bottomRow": 64,
"parentRowSpace": 38,
"isVisible": true,
"type": "RICH_TEXT_EDITOR_WIDGET",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"parentColumnSpace": 67.1171875,
"leftColumn": 0,
"dynamicBindingPathList": [],
"defaultText": "",
"inputType": "html",
"isDisabled": false
},
{
"isRequired": false,
"widgetName": "MultiSelect2",
"rightColumn": 62,
"widgetId": "p6qkmj8uo1",
"topRow": 49,
"bottomRow": 60,
"parentRowSpace": 10,
"isVisible": true,
"label": "",
"type": "MULTI_SELECT_WIDGET_V2",
"version": 1,
"parentId": "e3tq9qwta6",
"isLoading": false,
"defaultOptionValue": [],
"parentColumnSpace": 13.662109375,
"dynamicTriggerPathList": [],
"leftColumn": 37,
"dynamicBindingPathList": [],
"options": "",
"placeholderText": "select option(s)",
"isDisabled": false
}
]
}
]
}
]
}
}