Files
Oracle-TX11-TX21/gateway_frontend/projects/.resources/bf1e278a1b14b88b728367a3d6f6315d4f46deebd945fbc92b2bbd473dd925e5

157 lines
3.5 KiB
Plaintext

{
"custom": {},
"params": {
"item": {
"access_level": null,
"config": {
"states": [
{
"label": "lbl",
"value": 0
}
],
"widget": "value"
},
"format": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"sub_path": "/Info/Device ID",
"tagpath": "[default]_Testing/CDU/Info/Device ID",
"type": "Meta",
"widget": "meta_field"
}
},
"propConfig": {
"params.item": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 38,
"width": 295
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "25%"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.item.tagpath"
},
"transforms": [
{
"code": "\treturn value.split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text",
"paddingRight": "var(--space-sm)"
},
"textStyle": {
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "TextField"
},
"position": {
"basis": "75%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "!{view.params.item.read_only}"
},
"type": "expr"
}
},
"props.style.cursor": {
"binding": {
"config": {
"path": "view.params.item.read_only"
},
"transforms": [
{
"fallback": "Text",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "Not-Allowed"
},
{
"input": true,
"output": "Text"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/Val"
},
"type": "tag"
}
}
},
"props": {
"spellcheck": false,
"style": {
"classes": "Input/text_field"
}
},
"type": "ia.input.text-field"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
}