{ "custom": {}, "params": { "Severity": 1 }, "propConfig": { "params.Severity": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 150, "width": 300 } }, "root": { "children": [ { "meta": { "name": "AlarmBorder Horizontal" }, "position": { "basis": "300px" }, "propConfig": { "position.display": { "binding": { "config": { "expression": "if({view.params.Severity}\u003e0,True,False)" }, "type": "expr" } }, "props.elements[0].stroke.paint": { "binding": { "config": { "expression": "case(\r\n\t{view.params.Severity},\r\n\t1, \"#7166B7\",\r\n\t2, \"#F4B834\",\r\n\t3, \"#DE7C33\",\r\n\t4, \"#E22028\",\r\n\t\"#FFFFFF\"\r\n)\r\n\t" }, "type": "expr" } } }, "props": { "elements": [ { "fill": { "opacity": "0", "paint": "#ebebeb" }, "height": "350", "id": "Box", "name": "Box", "stroke": { "width": "30px" }, "type": "rect", "width": "725", "x": "2.083", "y": "2.083" } ], "fill": { "rule": "evenodd" }, "preserveAspectRatio": "none", "stroke": { "linecap": "square", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 730 355" }, "type": "ia.shapes.svg" } ], "meta": { "name": "root" }, "props": { "direction": "column" }, "type": "ia.container.flex" } }