PromucFlow_constructor/app/client/cypress/fixtures/TreeSelectDsl.json
Tolulope Adetula 15b26f823e
feat: Tree Select widget (#6271)
* feat: Tree Select

* feat: styling multiselect

* fix: selected values

* fix: remove console statement

* fix: popup position

* fix: selection types

* fix: Form validation using TreeSelect

* feat: Add Label to TreeSelect

* fix: styling

* fix: Dropdown search

* fix: Add Entity Definitions

* fix: Entity Definition

* Feat: Add clear icon

* fix: validation

* fix: options validation

* fix: Styling issues

* fix: build error

* Fix: Separate Tree Select widget

* fix: issues and add validation

* fix: Options Validation

* fix: issues with build

* fix: yarn

* fix: changes

* fix

* Fix: select component

* fix: PR issues

* fix: merge conflicts

* fix: issues

* fix: all issues

* test: added test

* fix: failing test
2021-09-17 02:08:35 -07:00

128 lines
3.7 KiB
JSON

{
"dsl":{
"widgetName":"MainContainer",
"backgroundColor":"none",
"rightColumn":1034.3999999999999,
"snapColumns":64,
"detachFromLayout":true,
"widgetId":"0",
"topRow":0,
"bottomRow":1990,
"containerStyle":"none",
"snapRows":125,
"parentRowSpace":1,
"type":"CANVAS_WIDGET",
"canExtend":true,
"version":38,
"minHeight":2000,
"parentColumnSpace":1,
"dynamicTriggerPathList":[],
"dynamicBindingPathList":[],
"leftColumn":0,
"children":[
{
"widgetName":"MultiSelectTree1",
"displayName":"Multi Select Tree",
"iconSVG":"/static/media/icon.f264210c.svg",
"labelText":"Label",
"topRow":38,
"bottomRow":44.88,
"parentRowSpace":10,
"type":"MULTI_SELECT_TREE_WIDGET",
"hideCard":false,
"mode":"SHOW_ALL",
"defaultOptionValue":[],
"parentColumnSpace":15.974999999999998,
"leftColumn":18,
"options":[
{
"label":"Blue",
"value":"BLUE",
"children":[
{
"label":"Dark Blue",
"value":"DARK BLUE"
},
{
"label":"Light Blue",
"value":"LIGHT BLUE"
}
]
},
{
"label":"Green",
"value":"GREEN"
},
{
"label":"Red",
"value":"RED"
}
],
"placeholderText":"select option(s)",
"isDisabled":false,
"key":"1zu067mn51",
"isRequired":false,
"rightColumn":34,
"widgetId":"zvm3vcs5gp",
"isVisible":true,
"version":1,
"expandAll":false,
"parentId":"0",
"renderMode":"CANVAS",
"isLoading":false,
"allowClear":false
},
{
"widgetName":"SingleSelectTree1",
"displayName":"Single Select Tree",
"iconSVG":"/static/media/icon.f815ebe3.svg",
"labelText":"Label",
"topRow":58,
"bottomRow":64.8,
"parentRowSpace":10,
"type":"SINGLE_SELECT_TREE_WIDGET",
"hideCard":false,
"defaultOptionValue":"BLUE",
"parentColumnSpace":15.974999999999998,
"leftColumn":17,
"options":[
{
"label":"Blue",
"value":"BLUE",
"children":[
{
"label":"Dark Blue",
"value":"DARK BLUE"
},
{
"label":"Light Blue",
"value":"LIGHT BLUE"
}
]
},
{
"label":"Green",
"value":"GREEN"
},
{
"label":"Red",
"value":"RED"
}
],
"placeholderText":"select option",
"isDisabled":false,
"key":"cul8w70bzs",
"isRequired":false,
"rightColumn":33,
"widgetId":"0zloh94nd4",
"isVisible":true,
"version":1,
"expandAll":false,
"parentId":"0",
"renderMode":"CANVAS",
"isLoading":false,
"allowClear":false
}
]
}
}