89 lines
2.0 KiB
Plaintext
89 lines
2.0 KiB
Plaintext
{
|
|
"custom": {
|
|
"tags": null
|
|
},
|
|
"params": {
|
|
"tagpath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02",
|
|
"udt_type": "_template"
|
|
},
|
|
"propConfig": {
|
|
"custom.tags": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagpath"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn ui.details.get_udt_configuration(value, \u0027Status\u0027)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.tagpath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.udt_type": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "FlexRepeater"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.instances": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"path": "{view.params.tagpath}",
|
|
"tags": "{view.custom.tags}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn ui.details.generate_flex_array(value[\u0027tags\u0027], value[\u0027path\u0027])",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elementPosition": {
|
|
"basis": "auto"
|
|
},
|
|
"justify": "center",
|
|
"path": "Components/Atoms/Fields/_generic_field",
|
|
"style": {
|
|
"marginRight": "5px"
|
|
},
|
|
"wrap": "wrap"
|
|
},
|
|
"type": "ia.display.flex-repeater"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"classes": "Common/Static/card"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |