{ "custom": {}, "params": { "inputs": { "height": "100%", "targetDetailedURL": "", "targetURL": "/Oneline-HS1", "width": "100%" } }, "propConfig": { "params.inputs": { "access": "PUBLIC", "paramDirection": "input", "persistent": true }, "params.inputs.targetURL": { "access": "PUBLIC" } }, "props": { "defaultSize": { "height": 1800, "width": 2000 } }, "root": { "children": [ { "meta": { "name": "IFrame" }, "position": { "height": 5000, "width": 5000 }, "propConfig": { "props.src": { "binding": { "config": { "struct": { "address": "{session.props.gateway.address}", "inputs": "{view.params.inputs}", "pageId": "{page.props.pageId}" }, "waitOnAll": true }, "transforms": [ { "code": "\tendpoint \u003d \u0027{gatewayAddress}/system/webdev/{projectName}/pan-zoom-iframe/html?gatewayAddress\u003d{gatewayAddress}\u0026projectName\u003d{projectName}\u0026targetURL\u003d{targetURL}\u0026targetDetailedURL\u003d{targetDetailedURL}\u0026height\u003d{height}\u0026width\u003d{width}\u0026pageId\u003d{pageId}\u0027\n\tif value[\u0027address\u0027] is None:\n\t\tgatewayAddress \u003d system.util.getGatewayAddress()\n\telse:\n\t\tgatewayAddress \u003d value[\u0027address\u0027]\n\tprops \u003d {\n\t\t\t \u0027gatewayAddress\u0027: gatewayAddress\n\t\t\t, \u0027projectName\u0027: system.util.getProjectName()\n\t\t\t, \u0027targetURL\u0027: value[\u0027inputs\u0027][\u0027targetURL\u0027]\n\t\t\t, \u0027targetDetailedURL\u0027 : value[\u0027inputs\u0027][\u0027targetDetailedURL\u0027]\n\t\t\t, \u0027height\u0027: str(value[\u0027inputs\u0027][\u0027height\u0027]).replace(\u0027%\u0027,\u0027%25\u0027)\n\t\t\t, \u0027width\u0027 : str(value[\u0027inputs\u0027][\u0027width\u0027]).replace(\u0027%\u0027,\u0027%25\u0027)\n\t\t\t, \u0027pageId\u0027 : str(value[\u0027pageId\u0027])\n\t}\n\treturn endpoint.format(**props)", "type": "script" } ], "type": "expr-struct" } } }, "props": { "allowFullScreen": true, "style": { "touch-action": "none" } }, "type": "ia.display.iframe" } ], "meta": { "name": "root" }, "props": { "style": { "backgroundColor": "--containerRoot", "overflow": "hidden", "touch-action": "none" } }, "type": "ia.container.coord" } }