PromucFlow_constructor/app/client/cypress/fixtures/inputWidgetMobileDsl.json
NandanAnantharamu fea88972fc
test: Tests for auto conversion and mobile viewport (#21931)
covered use-cases documented in 

https://www.notion.so/AutoLayout-cypress-tests-b66ef64b1d6543fb80264358f320d27c

---------

Co-authored-by: Arsalan Yaldram <arsalanyaldram0211@outlook.com>
Co-authored-by: Aswath K <aswath@appsmith.com>
Co-authored-by: Aswath K <aswath.sana@gmail.com>
Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
Co-authored-by: rahulramesha <rahul@appsmith.com>
Co-authored-by: Preet <preetsidhu.bits@gmail.com>
Co-authored-by: Nandan <nandan@thnikify.io>
2023-04-14 17:03:50 +05:30

168 lines
5.7 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 4896,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 380,
"containerStyle": "none",
"snapRows": 124,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 78,
"minHeight": 1292,
"useAutoLayout": true,
"dynamicTriggerPathList": [],
"parentColumnSpace": 1,
"responsiveBehavior": "fill",
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"isVisible": true,
"label": "Label",
"labelPosition": "Top",
"labelAlignment": "left",
"labelTextSize": "0.875rem",
"labelWidth": 5,
"widgetName": "Input2",
"version": 2,
"defaultText": "",
"iconAlign": "left",
"autoFocus": false,
"labelStyle": "",
"resetOnSubmit": true,
"isRequired": false,
"isDisabled": false,
"animateLoading": true,
"responsiveBehavior": "fill",
"minWidth": 450,
"inputType": "TEXT",
"showStepArrows": false,
"minDynamicHeight": 4,
"maxDynamicHeight": 9000,
"dynamicHeight": "FIXED",
"searchTags": [
"form",
"text input",
"number",
"textarea"
],
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"isDeprecated": false,
"displayName": "Input",
"key": "mpyrgp9ex9",
"iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
"alignment": "start",
"widgetId": "wbb3t117lh",
"renderMode": "CANVAS",
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"isLoading": false,
"parentColumnSpace": 10.59375,
"parentRowSpace": 10,
"leftColumn": 0,
"rightColumn": 32,
"topRow": 0,
"bottomRow": 7,
"mobileLeftColumn": 0,
"mobileRightColumn": 64,
"mobileTopRow": 1,
"mobileBottomRow": 8,
"parentId": "0",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
}
]
},
{
"isVisible": true,
"label": "Label",
"labelPosition": "Top",
"labelAlignment": "left",
"labelTextSize": "0.875rem",
"labelWidth": 5,
"widgetName": "Input1",
"version": 2,
"defaultText": "",
"iconAlign": "left",
"autoFocus": false,
"labelStyle": "",
"resetOnSubmit": true,
"isRequired": false,
"isDisabled": false,
"animateLoading": true,
"responsiveBehavior": "fill",
"minWidth": 450,
"inputType": "TEXT",
"showStepArrows": false,
"minDynamicHeight": 4,
"maxDynamicHeight": 9000,
"dynamicHeight": "FIXED",
"searchTags": [
"form",
"text input",
"number",
"textarea"
],
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"isDeprecated": false,
"displayName": "Input",
"key": "mpyrgp9ex9",
"iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
"alignment": "start",
"widgetId": "7vfc039dm6",
"renderMode": "CANVAS",
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"isLoading": false,
"parentColumnSpace": 10.59375,
"parentRowSpace": 10,
"leftColumn": 32,
"rightColumn": 64,
"topRow": 0,
"bottomRow": 7,
"mobileLeftColumn": 0,
"mobileRightColumn": 64,
"mobileTopRow": 0,
"mobileBottomRow": 7,
"parentId": "0",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
}
]
}
],
"positioning": "vertical",
"flexLayers": [
{
"children": [
{
"id": "wbb3t117lh",
"align": "start"
},
{
"id": "7vfc039dm6",
"align": "start"
}
]
}
]
}
}