{ "custom": { "auth": { "almAck": false, "almShelve": false, "config": false, "control": false } }, "params": { "objectName": "VSD", "tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_UT-M1/Source 1 Switch" }, "propConfig": { "custom.auth": { "binding": { "config": { "path": "session.props.auth.user.roles" }, "transforms": [ { "code": "\treturn utils.roles.validate(value)", "type": "script" } ], "type": "property" }, "persistent": true }, "custom.auth_almShelve": { "access": "PUBLIC" }, "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 835 } }, "root": { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}/Meta/EqName" }, "transforms": [ { "code": "\treturn \u0027%s\u0027%(value)", "type": "script" } ], "type": "tag" } } }, "type": "ia.display.label" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\tsystem.perspective.closePopup(\u0027\u0027)" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Button_1" }, "position": { "basis": "24px", "shrink": 0 }, "props": { "image": { "height": 20, "icon": { "path": "material/close" }, "width": 20 }, "primary": false, "style": { "classes": "buttons/circle-icon" }, "text": "" }, "type": "ia.input.button" } ], "meta": { "name": "Header" }, "position": { "shrink": 0 }, "props": { "style": { "border-bottom": "1px solid var(--border)", "border-top": "1px solid var(--border)", "gap": "5px", "padding": "5px" } }, "type": "ia.container.flex" }, { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "36px", "shrink": 0 }, "props": { "text": "Alarms" }, "type": "ia.display.label" }, { "meta": { "name": "AlarmStatusTable" }, "position": { "basis": "400px" }, "propConfig": { "props.enableAcknowledge": { "binding": { "config": { "path": "view.custom.auth.almAck" }, "type": "property" } }, "props.enableShelve": { "binding": { "config": { "path": "view.custom.auth.almShelve" }, "type": "property" } }, "props.enableUnshelve": { "binding": { "config": { "path": "view.custom.auth.almShelve" }, "type": "property" } }, "props.filters.active.conditions": { "binding": { "config": { "path": "view.params.tagPath" }, "transforms": [ { "code": "\tpathArr \u003d value.split(\"]\")\n\t\n\treturn {\"provider\":pathArr[0].replace(\"[\",\"\"), \"source\":\"*\"+pathArr[1]+\"*\"}", "type": "script" } ], "type": "property" } } }, "props": { "columns": { "active": { "activeTime": { "width": 90 }, "displayPath": { "width": 300 }, "name": { "enabled": false }, "priority": { "width": 50 }, "source": { "enabled": false }, "state": { "width": "auto" } } }, "filters": { "active": { "priorities": { "critical": false, "high": false, "low": false, "medium": false }, "states": { "clearUnacked": false } } }, "pager": { "enabled": false }, "rowStyles": { "activeAcked": { "priorities": { "critical": { "backgroundColor": "#e2202888" }, "high": { "backgroundColor": "#de7c3388" }, "low": { "backgroundColor": "#7266b788" }, "medium": { "backgroundColor": "#f4b83488" } } }, "activeUnacked": { "priorities": { "critical": { "backgroundColor": "var(--alarmred)" }, "high": { "backgroundColor": "var(--sunsetorange)" }, "low": { "backgroundColor": "var(--coolpurple)" }, "medium": { "backgroundColor": "var(--goldenyellow)" } } } }, "toolbar": { "enablePreFilters": false } }, "type": "ia.display.alarmstatustable" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "250px", "shrink": 0 }, "propConfig": { "position.display": { "binding": { "config": { "path": "view.params.objectName" }, "transforms": [ { "fallback": true, "inputType": "scalar", "mappings": [ { "input": "FltCodeEnables", "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "property" } } }, "props": { "direction": "column" }, "type": "ia.container.flex" }, { "meta": { "name": "Body" }, "position": { "basis": "320px", "grow": 1 }, "propConfig": { "props.params.auth": { "binding": { "config": { "path": "view.custom.auth" }, "type": "property" } }, "props.params.objectName": { "binding": { "config": { "path": "view.params.objectName" }, "type": "property" } }, "props.params.tagPath": { "binding": { "config": { "path": "view.params.tagPath" }, "type": "property" } }, "props.path": { "binding": { "config": { "expression": "concat(\"Library/Templates/\",{view.params.objectName},\"/Body\")" }, "type": "expr" } } }, "type": "ia.display.view" } ], "meta": { "name": "FlexContainer" }, "position": { "grow": 1 }, "props": { "direction": "column", "style": { "gap": "10px", "margin": "10px" } }, "type": "ia.container.flex" } ], "meta": { "name": "root" }, "props": { "direction": "column" }, "type": "ia.container.flex" } }