2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"column": "",
|
||||
"rowIndex": "",
|
||||
"source": "",
|
||||
"value": 0
|
||||
},
|
||||
"propConfig": {
|
||||
"params.column": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.rowIndex": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.source": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.value": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 40,
|
||||
"width": 200
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "NumericEntryField"
|
||||
},
|
||||
"position": {
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"transparent\""
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.value": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.value"
|
||||
},
|
||||
"type": "property"
|
||||
},
|
||||
"onChange": {
|
||||
"enabled": null,
|
||||
"script": "\t#if origin \u003d\u003d \u0027Browser\u0027:\n\t\tsystem.perspective.sendMessage(\u0027updateTableCell\u0027, payload\u003d{\n\t\t\t\u0027source\u0027: self.view.params.source, \n\t\t\t\u0027value\u0027: currentValue.value,\n\t\t\t\u0027rowIndex\u0027: self.view.params.rowIndex, \n\t\t\t\u0027column\u0027: self.view.params.column\n\t\t})\n\t\tself.props.style.backgroundColor \u003d \u0027lightBlue\u0027"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"align": "center",
|
||||
"spinner": {
|
||||
"enabled": false
|
||||
},
|
||||
"style": {
|
||||
"borderColor": "#FFFFFF00"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "refreshTable",
|
||||
"pageScope": true,
|
||||
"script": "\tself.refreshBinding(\"props.style.backgroundColor\")",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.input.numeric-entry-field"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"padding": "1px 2px"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user