146 lines
3.3 KiB
Plaintext
146 lines
3.3 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"page_id": "value",
|
|
"text": "enter text"
|
|
},
|
|
"propConfig": {
|
|
"params.page_id": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.text": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 48,
|
|
"width": 136
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"custom": {
|
|
"PLC": "none"
|
|
},
|
|
"meta": {
|
|
"name": "text_label"
|
|
},
|
|
"position": {
|
|
"height": 1,
|
|
"width": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.text"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.text"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"name": "defs",
|
|
"type": "defs"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"paint": "#000000"
|
|
},
|
|
"name": "tspan",
|
|
"stroke": {
|
|
"paint": "#020202",
|
|
"width": ".165"
|
|
},
|
|
"text-anchor": "middle",
|
|
"type": "tspan",
|
|
"x": 5.7088058,
|
|
"y": 6.8615942
|
|
}
|
|
],
|
|
"fill": {
|
|
"paint": "#000000"
|
|
},
|
|
"fontSize": "4.4316px",
|
|
"name": "text",
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"linejoin": "round",
|
|
"paint": "#020202",
|
|
"width": ".165"
|
|
},
|
|
"style": {
|
|
"paintOrder": "stroke fill markers"
|
|
},
|
|
"transform": "scale(.99694 1.0031)",
|
|
"type": "text",
|
|
"x": "3.7088058",
|
|
"y": "6.8615942"
|
|
}
|
|
],
|
|
"style": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderBottomLeftRadius": "5px",
|
|
"borderBottomRightRadius": "5px",
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": "5px",
|
|
"borderTopRightRadius": "5px",
|
|
"borderWidth": "1px"
|
|
},
|
|
"viewBox": "0 0 10.583 10.583"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
}
|
|
],
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tsystem.perspective.navigate(\"/\" + self.view.params.page_id)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "root",
|
|
"tooltip": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"meta.tooltip.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.page_id"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"mode": "percent",
|
|
"style": {
|
|
"cursor": "pointer"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |