{ "custom": { "customName": "" }, "params": { "Name": "", "Path": "" }, "propConfig": { "custom.customName": { "binding": { "config": { "path": "view.params.Path" }, "transforms": [ { "code": "\tstring \u003d value \n\tparts \u003d string.split(\"/\")\n\td \u003d parts[-1]\n\treturn d", "type": "script" } ], "type": "property" }, "persistent": true }, "params.Name": { "paramDirection": "inout", "persistent": true }, "params.Path": { "paramDirection": "inout", "persistent": true } }, "props": { "defaultSize": { "height": 44, "width": 357 } }, "root": { "children": [ { "children": [ { "children": [ { "meta": { "name": "EmbeddedView" }, "position": { "basis": "35px", "grow": 1 }, "propConfig": { "props.params.tagProps[0]": { "binding": { "config": { "path": "view.params.Name" }, "type": "property" } }, "props.path": { "binding": { "config": { "path": "view.params.Path" }, "type": "property" } } }, "props": { "params": { "tagProps": [ null, "value", "value", "value", "value", "value", "value", "value", "value", "value" ] }, "style": { "overflow": "hidden", "pointerEvents": "none" } }, "type": "ia.display.view" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "100px", "shrink": 0 }, "props": { "style": { "overflow": "hidden", "paddingLeft": 5 } }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if({view.params.Name} !\u003d\"\", {view.params.Name}, {view.custom.customName})" }, "type": "expr" } } }, "props": { "style": { "overflow": "hidden" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_0" }, "position": { "basis": "200px", "grow": 1 }, "props": { "style": { "paddingLeft": 5 } }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "45px", "shrink": 0 }, "props": { "style": { "backgroundColor": "#3B3B3B", "borderColor": "#CAC3C3", "borderStyle": "solid", "borderWidth": 1, "overflow": "hidden" } }, "type": "ia.container.flex" } ], "meta": { "name": "root" }, "props": { "direction": "column", "style": { "overflow": "hidden" } }, "type": "ia.container.flex" } }