391 lines
11 KiB
Plaintext
391 lines
11 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"ASdata": "value",
|
|
"Browser": "Amazon",
|
|
"Color": 1,
|
|
"ColorRec": 101,
|
|
"DeviceType": "value",
|
|
"FolderPath": "value",
|
|
"TName": "value",
|
|
"Vendor": "value",
|
|
"Visibility": true,
|
|
"tagPath": "value"
|
|
},
|
|
"propConfig": {
|
|
"params.ASdata": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Browser": {
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
},
|
|
"params.Color": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.ColorRec": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.DeviceType": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.FolderPath": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.TName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Vendor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Visibility": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 25,
|
|
"width": 25
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "CS"
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{session.custom.show.PushButtons} || {view.params.Visibility}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[0].elements[0].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.ColorRec"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#FF8C00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#D900D9"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#0000FF"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#00D900"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#87CEFA"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#CCFFCC"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#D3D3D3"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#AC5F00"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFCCCC"
|
|
},
|
|
{
|
|
"input": 100,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 101,
|
|
"output": null
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[1].elements[0].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#FF8C00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#D900D9"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#0000FF"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#00D900"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#87CEFA"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#CCFFCC"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#D3D3D3"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#AC5F00"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFCCCC"
|
|
},
|
|
{
|
|
"input": 100,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 101,
|
|
"output": null
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({view.params.tagPath} \u003d {session.custom.Search},\r\n\"table/SearchTaghighlight\", \"table/highlight\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {},
|
|
"height": "106.23",
|
|
"name": "rect",
|
|
"rx": "11.67",
|
|
"type": "rect",
|
|
"width": "106.23",
|
|
"x": "0.5",
|
|
"y": "0.5"
|
|
},
|
|
{
|
|
"d": "M95.07,1a11.17,11.17,0,0,1,11.16,11.17v82.9a11.16,11.16,0,0,1-11.16,11.16H12.17A11.17,11.17,0,0,1,1,95.07V12.17A11.18,11.18,0,0,1,12.17,1h82.9m0-1H12.17A12.17,12.17,0,0,0,0,12.17v82.9a12.16,12.16,0,0,0,12.17,12.16h82.9a12.15,12.15,0,0,0,12.16-12.16V12.17A12.16,12.16,0,0,0,95.07,0Z",
|
|
"fill": {
|
|
"paint": "#000000"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"cx": "53.62",
|
|
"cy": "53.62",
|
|
"fill": {},
|
|
"name": "circle",
|
|
"r": "43.37",
|
|
"transform": "translate(-7.9 97.95) rotate(-80.78)",
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"d": "M53.62,10.75A42.87,42.87,0,1,1,10.75,53.62,42.92,42.92,0,0,1,53.62,10.75m0-1A43.87,43.87,0,1,0,97.49,53.62,43.87,43.87,0,0,0,53.62,9.75Z",
|
|
"fill": {
|
|
"paint": "#000000"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"preserveAspectRatio": "none",
|
|
"style": {
|
|
"cursor": "pointer"
|
|
},
|
|
"viewBox": "0 0 107.23 107.23"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
}
|
|
],
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"draggable": false,
|
|
"id": "information",
|
|
"modal": false,
|
|
"overlayDismiss": false,
|
|
"resizable": false,
|
|
"showCloseIcon": false,
|
|
"type": "open",
|
|
"viewParams": {
|
|
"ASdata": "{view.params.ASdata}",
|
|
"Browser": "{view.params.Browser}",
|
|
"DeviceType": "{view.params.DeviceType}",
|
|
"FolderPath": "{view.params.FolderPath}",
|
|
"Vendor": "{view.params.Vendor}",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"viewPath": "Windows/Information/Information",
|
|
"viewportBound": false
|
|
},
|
|
"scope": "C",
|
|
"type": "popup"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"contextMenu": {
|
|
"enabled": true
|
|
},
|
|
"name": "root",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"style": {
|
|
"backgroundColor": "#2B2B2BBF",
|
|
"color": "#FFFFFF",
|
|
"fontSize": 12,
|
|
"textAlign": "left",
|
|
"white-space": "pre"
|
|
}
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"meta.tooltip.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "replace({view.params.TName}, \"_\", \"-\")+//replace({view.params.tagPath}, \"_\", \"-\")+\r\n\"\\nStatus: OK\""
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |