260502 Backup
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"custom": {
|
||||
"target": "/DH201",
|
||||
"zoom": 100
|
||||
},
|
||||
"params": {
|
||||
"pageId": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.target": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.zoom": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.pageId": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 1000,
|
||||
"width": 1700
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "IFrame"
|
||||
},
|
||||
"position": {
|
||||
"height": 984,
|
||||
"width": 1400
|
||||
},
|
||||
"propConfig": {
|
||||
"props.src": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"struct": {
|
||||
"pageId": "{page.props.pageId}",
|
||||
"target": "{view.custom.target}",
|
||||
"zoom": "{view.custom.zoom}"
|
||||
},
|
||||
"waitOnAll": true
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn \"http://172.30.47.21:8088/system/webdev/SDC_PHX_A7/pan-zoom-iframe/html?gatewayAddress\u003dhttp://172.30.47.21:8088\u0026projectName\u003dSDC_PHX_A7\u0026targetURL\u003d\" + value[\u0027target\u0027] + \"\u0026targetDetailedURL\u003d\" + value[\u0027target\u0027] + \"\u0026height\u003d175%25\u0026width\u003d175%25\u0026pageId\u003d\" + value[\u0027pageId\u0027]",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr-struct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"allowFullScreen": true,
|
||||
"style": {
|
||||
"flex": "1 1 auto",
|
||||
"minHeight": "100%",
|
||||
"minWidth": "100%"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.iframe"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "CoordinateContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "820px",
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"overflow": "hidden"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "EmbeddedView"
|
||||
},
|
||||
"position": {
|
||||
"basis": "280px",
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Cards/Card_DH_Control",
|
||||
"style": {
|
||||
"classes": "containers/card"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"gap": "var(--space-md)",
|
||||
"padding": "var(--space-md)"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "eqPopup",
|
||||
"pageScope": true,
|
||||
"script": "\ttagPath \u003d payload.get(\u0027tagPath\u0027)\n\tobjectName \u003d payload.get(\u0027objectName\u0027)\n\t\n\tparams \u003d {\n\t\t\"tagPath\": tagPath,\n\t\t\"objectName\": objectName\n\t}\n\t\n\tsystem.perspective.openPopup(\n\t\tid \u003d \"Popup_\" + objectName.replace(\" \", \"_\"),\n\t\tview \u003d \"Library/Templates/Base\",\n\t\tparams \u003d params,\n\t\tshowCloseIcon \u003d True,\n\t\tresizable \u003d True,\n\t\tdraggable \u003d True,\n\t\tmodal \u003d False,\n\t\twidth \u003d 800,\n\t\theight \u003d 835\n\t)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user