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

171 lines
7.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,
"version": 8,
"minHeight": 1292,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [{
"isVisible": true,
"isVisiblePagination": true,
"isVisibleSearch": true,
"isVisibleFilter": true,
"label": "Data",
"widgetName": "Table1",
"searchKey": "",
"tableData": "{{[\n {\n \"id\": 2381224,\n \"email\": \"michael.lawson@reqres.in\",\n \"userName\": \"Michael Lawson\",\n \"productName\": \"Chicken Sandwich\",\n \"orderAmount\": 4.99\n },\n {\n \"id\": 2736212,\n \"email\": \"lindsay.ferguson@reqres.in\",\n \"userName\": \"Lindsay Ferguson\",\n \"productName\": \"Tuna Salad\",\n \"orderAmount\": 9.99\n },\n {\n \"id\": 6788734,\n \"email\": \"tobias.funke@reqres.in\",\n \"userName\": \"Tobias Funke\",\n \"productName\": \"Beef steak\",\n \"orderAmount\": 19.99\n },\n {\n \"id\": 2381224,\n \"email\": \"michael.lawson@reqres.in\",\n \"userName\": \"Michael Lawson\",\n \"productName\": \"Chicken Sandwich\",\n \"orderAmount\": 4.99\n },\n {\n \"id\": 2736212,\n \"email\": \"lindsay.ferguson@reqres.in\",\n \"userName\": \"Lindsay Ferguson\",\n \"productName\": \"Tuna Salad\",\n \"orderAmount\": 9.99\n },\n {\n \"id\": 6788734,\n \"email\": \"tobias.funke@reqres.in\",\n \"userName\": \"Tobias Funke\",\n \"productName\": \"Beef steak\",\n \"orderAmount\": 19.99\n }\n]}}",
"type": "TABLE_WIDGET_V2",
"isLoading": false,
"parentColumnSpace": 74,
"parentRowSpace": 40,
"leftColumn": 2,
"rightColumn": 10,
"topRow": 12,
"bottomRow": 19,
"parentId": "0",
"widgetId": "sb070qr2ir",
"dynamicBindingPathList": [],
"columnOrder": [
"id",
"email",
"userName",
"productName",
"orderAmount"
],
"aliasMap": {
"id": "id",
"email": "email",
"userName": "userName",
"productName": "productName",
"orderAmount": "orderAmount"
},
"childStylesheet": {
"button": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
},
"menuButton": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
},
"iconButton": {
"menuColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
}
},
"primaryColumns": {
"id": {
"index": 0,
"width": 150,
"id": "id",
"alias": "id",
"originalId": "id",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textColor": "#4E5D78",
"textSize": "PARAGRAPH",
"fontStyle": "NORMAL",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDerived": false,
"label": "id",
"computedValue": ""
},
"email": {
"index": 1,
"width": 150,
"id": "email",
"alias": "email",
"originalId": "email",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textColor": "#4E5D78",
"textSize": "PARAGRAPH",
"fontStyle": "NORMAL",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDerived": false,
"label": "email",
"computedValue": ""
},
"userName": {
"index": 2,
"width": 150,
"id": "userName",
"alias": "userName",
"originalId": "userName",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textColor": "#4E5D78",
"textSize": "PARAGRAPH",
"fontStyle": "NORMAL",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDerived": false,
"label": "userName",
"computedValue": ""
},
"productName": {
"index": 3,
"width": 150,
"id": "productName",
"alias": "productName",
"originalId": "productName",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textColor": "#4E5D78",
"textSize": "PARAGRAPH",
"fontStyle": "NORMAL",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDerived": false,
"label": "productName",
"computedValue": ""
},
"orderAmount": {
"index": 4,
"width": 150,
"id": "orderAmount",
"alias": "orderAmount",
"originalId": "orderAmount",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textColor": "#4E5D78",
"textSize": "PARAGRAPH",
"fontStyle": "NORMAL",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDerived": false,
"label": "orderAmount",
"computedValue": ""
}
}
}]
}
}