Files
Stream_PHX_A7/Gateways/FE/projects/.resources/b11acc6caa1712fa8420ee736d4ebe1834efd9328e3f9691548dd1060ea3ab3f

68 lines
1.4 KiB
Plaintext

{
"custom": {},
"params": {
"Text": "Button",
"openPopup": false,
"tagPath": "tagPath/pathToTag"
},
"propConfig": {
"params.Text": {
"paramDirection": "input",
"persistent": true
},
"params.openPopup": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 41,
"width": 140
}
},
"root": {
"children": [
{
"meta": {
"name": "Button"
},
"position": {
"basis": "34px",
"grow": 1
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "{session.props.auth.user.roles}"
},
"transforms": [
{
"code": "\troles \u003d value\n\tvisible \u003d False\n\tfor role in roles:\n\t\tif role \u003d\u003d \u0027Prime User\u0027:\n\t\t\tvisible \u003d True\n\t\t\treturn visible",
"type": "script"
}
],
"type": "expr"
}
}
},
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
}