{ "custom": {}, "params": { "tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/Bypass Permissive OK", "text": "value" }, "propConfig": { "params.tagPath": { "paramDirection": "input", "persistent": true }, "params.text": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 30, "width": 100 } }, "root": { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "100%" }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}.value" }, "enabled": false, "transforms": [ { "fallback": "purple", "inputType": "scalar", "mappings": [ { "input": false, "output": "var(--state-faulted)" }, { "input": true, "output": "var(--state-running)" } ], "outputType": "scalar", "type": "map" } ], "type": "tag" } }, "props.text": { "binding": { "config": { "path": "view.params.text" }, "type": "property" } }, "props.textStyle.color": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}.value" }, "enabled": false, "transforms": [ { "fallback": "black", "inputType": "scalar", "mappings": [ { "input": false, "output": "white" }, { "input": true, "output": "black" } ], "outputType": "scalar", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "backgroundColor": "white", "borderBottomLeftRadius": "3px", "borderBottomRightRadius": "3px", "borderTopLeftRadius": "3px", "borderTopRightRadius": "3px", "boxShadow": "var(--boxShadow2)" }, "textStyle": { "color": "black", "fontFamily": "inherit", "fontSize": 12, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "root" }, "props": { "direction": "column", "style": { "overflow": "visible" } }, "type": "ia.container.flex" } }