{ "custom": {}, "params": {}, "props": { "defaultSize": { "height": 294, "width": 500 } }, "root": { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "77px" }, "props": { "style": { "backgroundColor": "#555555", "color": "#FFFFFF", "fontWeight": "bold", "textIndent": "15px" }, "text": "Search" }, "type": "ia.display.label" }, { "meta": { "name": "Icon" }, "position": { "basis": "30px" }, "props": { "color": "#FFFFFF", "path": "material/search" }, "type": "ia.display.icon" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "45px" }, "props": { "style": { "backgroundColor": "#555555" } }, "type": "ia.container.flex" }, { "events": { "component": { "onRowDoubleClick": { "config": { "script": "\trow \u003d event.value\n\tsource_id \u003d row.get(\"SourceId\") \n\tautStand.config.project_config.source_id_lookup(self, source_id)\n\tsystem.perspective.closePopup(id \u003d \"Search\")" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Table" }, "position": { "basis": "294px" }, "props": { "cells": { "style": { "textIndent": "15px" } }, "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "SourceId", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "justify": "auto", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": false, "sort": "none", "sortable": false, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 200 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Page", "filter": { "boolean": { "condition": "" }, "date": { "condition": "", "value": "" }, "enabled": false, "number": { "condition": "", "value": "" }, "string": { "condition": "", "value": "" }, "visible": "on-hover" }, "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "justify": "auto", "nullFormat": { "includeNullStrings": false, "nullFormatValue": "", "strict": false }, "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": "" } ], "data": { "$": [ "ds", 192, 1756214343007 ], "$columns": [ { "data": [ "System/MCM01/Station/SSPB/UL6_1_SS1", "/system/mcm01/test" ], "name": "SourceId", "type": "String" }, { "data": [ "MCM01-FLUID INBOUND", "MCM02-NC SORTER" ], "name": "Page", "type": "String" } ] }, "filter": { "enabled": true, "style": { "backgroundColor": "#2B2B2B", "color": "#FFFFFF" } }, "headerStyle": { "backgroundColor": "#2B2B2B", "color": "#FFFFFF", "textIndent": "15px" }, "pager": { "style": { "backgroundColor": "#2B2B2B", "color": "#FFFFFF", "fontWeight": "bold" } }, "rows": { "highlight": { "color": "#FFFFFF" }, "style": { "classes": "Background-Styles/Controller" } }, "virtualized": false }, "type": "ia.display.table" } ], "events": { "system": { "onStartup": { "config": { "script": "\t\n\tids \u003d autStand.config.project_config.get_project_config()\n\t\n\t# Ensure it’s actually a dictionary\n\tif not isinstance(ids, dict):\n\t system.perspective.print(\"Error: global_project_page_ids is not a dictionary\")\n\telse:\n\t data \u003d []\n\t for k, v in ids.items():\n\t data.append([str(k), str(v)])\n\t\n\t header \u003d [\"SourceId\", \"Page\"]\n\t dataset \u003d system.dataset.toDataSet(header, data)\n\t self.getChild(\"Table\").props.data \u003d dataset" }, "scope": "G", "type": "script" } } }, "meta": { "name": "root" }, "props": { "direction": "column" }, "type": "ia.container.flex" } }