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

173 lines
4.0 KiB
Plaintext

{
"custom": {
"tagPath": "[default]_Testing/CDU/Info/Device ID"
},
"params": {
"item": {
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Info/Device ID",
"type": "Meta",
"widget": "meta_field"
}
},
"propConfig": {
"custom.tagPath": {
"binding": {
"config": {
"path": "view.params.item.tagPath"
},
"type": "property"
},
"persistent": true
},
"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.custom.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": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}.isHidden"
},
"transforms": [
{
"expression": "!{value}",
"type": "expression"
}
],
"type": "tag"
}
},
"props.style.cursor": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}.isReadOnly"
},
"transforms": [
{
"fallback": "text",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "not-allowed"
},
{
"input": false,
"output": "text"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.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"
}
}