120 lines
17 KiB
JSON
120 lines
17 KiB
JSON
{ +
|
|
"version": "2.0", +
|
|
"components": [ +
|
|
{ +
|
|
"id": "comp_search_test", +
|
|
"url": "@/lib/registry/components/v2-table-search-widget",+
|
|
"size": { +
|
|
"width": 1920, +
|
|
"height": 80 +
|
|
}, +
|
|
"position": { +
|
|
"x": 0, +
|
|
"y": 20, +
|
|
"z": 1 +
|
|
}, +
|
|
"overrides": { +
|
|
"type": "v2-table-search-widget", +
|
|
"label": "Search Filter", +
|
|
"webTypeConfig": { +
|
|
} +
|
|
}, +
|
|
"displayOrder": 0 +
|
|
}, +
|
|
{ +
|
|
"id": "comp_table_test", +
|
|
"url": "@/lib/registry/components/v2-table-list", +
|
|
"size": { +
|
|
"width": 1920, +
|
|
"height": 800 +
|
|
}, +
|
|
"position": { +
|
|
"x": 0, +
|
|
"y": 150, +
|
|
"z": 1 +
|
|
}, +
|
|
"overrides": { +
|
|
"type": "v2-table-list", +
|
|
"label": "Table List", +
|
|
"columns": [ +
|
|
{ +
|
|
"order": 0, +
|
|
"visible": true, +
|
|
"columnName": "status", +
|
|
"displayName": "status" +
|
|
}, +
|
|
{ +
|
|
"order": 1, +
|
|
"visible": true, +
|
|
"columnName": "item_number", +
|
|
"displayName": "item_number" +
|
|
}, +
|
|
{ +
|
|
"order": 2, +
|
|
"visible": true, +
|
|
"columnName": "item_name", +
|
|
"displayName": "item_name" +
|
|
} +
|
|
], +
|
|
"autoLoad": true, +
|
|
"checkbox": { +
|
|
"enabled": true, +
|
|
"multiple": true +
|
|
}, +
|
|
"pagination": { +
|
|
"enabled": true, +
|
|
"pageSize": 20 +
|
|
}, +
|
|
"selectedTable": "item_info" +
|
|
}, +
|
|
"displayOrder": 1 +
|
|
}, +
|
|
{ +
|
|
"id": "comp_btn_add", +
|
|
"url": "@/lib/registry/components/v2-button-primary", +
|
|
"size": { +
|
|
"width": 80, +
|
|
"height": 40 +
|
|
}, +
|
|
"position": { +
|
|
"x": 1700, +
|
|
"y": 100, +
|
|
"z": 1 +
|
|
}, +
|
|
"overrides": { +
|
|
"text": "Add", +
|
|
"type": "v2-button-primary", +
|
|
"action": { +
|
|
"type": "modal", +
|
|
"modalTitle": "Add Item" +
|
|
}, +
|
|
"variant": "primary" +
|
|
}, +
|
|
"displayOrder": 2 +
|
|
}, +
|
|
{ +
|
|
"id": "comp_btn_del", +
|
|
"url": "@/lib/registry/components/v2-button-primary", +
|
|
"size": { +
|
|
"width": 80, +
|
|
"height": 40 +
|
|
}, +
|
|
"position": { +
|
|
"x": 1800, +
|
|
"y": 100, +
|
|
"z": 1 +
|
|
}, +
|
|
"overrides": { +
|
|
"text": "Delete", +
|
|
"type": "v2-button-primary", +
|
|
"action": { +
|
|
"type": "delete" +
|
|
}, +
|
|
"variant": "primary" +
|
|
}, +
|
|
"displayOrder": 3 +
|
|
} +
|
|
] +
|
|
}
|
|
|