fixed the blocks bindings of the status screen

This commit is contained in:
Salijoghli 2025-11-10 13:09:12 +04:00
parent b86dc96cd1
commit 943c6156bd
9 changed files with 760 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -86,6 +86,32 @@
"grow": 1 "grow": 1
}, },
"propConfig": { "propConfig": {
"props.elements[10].style.visibility": {
"binding": {
"config": {
"path": "view.params.InDown"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[10].visibility": { "props.elements[10].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -112,6 +138,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[11].style.visibility": {
"binding": {
"config": {
"path": "view.params.InLeft"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[11].visibility": { "props.elements[11].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -138,6 +190,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[12].style.visibility": {
"binding": {
"config": {
"path": "view.params.InUp"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[12].visibility": { "props.elements[12].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -164,6 +242,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[13].style.visibility": {
"binding": {
"config": {
"path": "view.params.Down1"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[13].visibility": { "props.elements[13].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -190,6 +294,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[14].style.visibility": {
"binding": {
"config": {
"path": "view.params.Down2"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[14].visibility": { "props.elements[14].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -216,6 +346,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[15].style.visibility": {
"binding": {
"config": {
"path": "view.params.Down3"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[15].visibility": { "props.elements[15].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -242,6 +398,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[16].style.visibility": {
"binding": {
"config": {
"path": "view.params.DownRight"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[16].visibility": { "props.elements[16].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -268,6 +450,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[17].style.visibility": {
"binding": {
"config": {
"path": "view.params.DownLeft"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[17].visibility": { "props.elements[17].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -294,7 +502,7 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[18].stroke.opacity": { "props.elements[18].style.opacity": {
"binding": { "binding": {
"config": { "config": {
"expression": "if({view.params.communicationNotFaulted}, 0, 1)" "expression": "if({view.params.communicationNotFaulted}, 0, 1)"
@ -380,6 +588,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[5].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutDown"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[5].visibility": { "props.elements[5].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -406,6 +640,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[6].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutRight"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[6].visibility": { "props.elements[6].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -432,6 +692,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[7].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutUp"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[7].visibility": { "props.elements[7].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -2319,6 +2605,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2334,6 +2623,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2349,6 +2641,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2394,6 +2689,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2409,6 +2707,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2424,6 +2725,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2439,6 +2743,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2453,6 +2760,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4" "width": "4"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2467,6 +2777,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4" "width": "4"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2482,6 +2795,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2497,6 +2813,9 @@
"paint": "#000000", "paint": "#000000",
"width": "4.00001" "width": "4.00001"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -2512,6 +2831,7 @@
"width": "4" "width": "4"
}, },
"style": { "style": {
"display": "block",
"paintOrder": "markers fill stroke" "paintOrder": "markers fill stroke"
}, },
"type": "path" "type": "path"

View File

@ -10,8 +10,8 @@
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "actor": "admin",
"timestamp": "2025-11-10T08:34:19Z" "timestamp": "2025-11-10T09:05:53Z"
}, },
"lastModificationSignature": "6a86f984d778b1d894a32ffe3c6a67e1f9574fb2752b2f3d059cff488dfeb8c6" "lastModificationSignature": "eccf79bc4171d16f739ac3fde1ffa4643cb4f45410758cf77a67f68485c033b6"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 967 B

View File

@ -71,6 +71,32 @@
"grow": 1 "grow": 1
}, },
"propConfig": { "propConfig": {
"props.elements[0].elements[0].style.visibility": {
"binding": {
"config": {
"path": "view.params.LU"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[0].visibility": { "props.elements[0].elements[0].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -97,6 +123,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[1].style.visibility": {
"binding": {
"config": {
"path": "view.params.RD"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[1].visibility": { "props.elements[0].elements[1].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -123,6 +175,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[2].style.visibility": {
"binding": {
"config": {
"path": "view.params.LR"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[2].visibility": { "props.elements[0].elements[2].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -149,6 +227,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[3].style.visibility": {
"binding": {
"config": {
"path": "view.params.RU"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[3].visibility": { "props.elements[0].elements[3].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -175,6 +279,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[4].style.visibility": {
"binding": {
"config": {
"path": "view.params.RD"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[4].visibility": { "props.elements[0].elements[4].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -201,6 +331,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[5].style.visibility": {
"binding": {
"config": {
"path": "view.params.RLU"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[5].visibility": { "props.elements[0].elements[5].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -227,6 +383,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[6].style.visibility": {
"binding": {
"config": {
"path": "view.params.RLD"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[6].visibility": { "props.elements[0].elements[6].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -253,6 +435,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[7].style.visibility": {
"binding": {
"config": {
"path": "view.params.LRU"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[7].visibility": { "props.elements[0].elements[7].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -279,6 +487,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[0].elements[8].style.visibility": {
"binding": {
"config": {
"path": "view.params.LRD"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "hidden"
},
{
"input": true,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[8].visibility": { "props.elements[0].elements[8].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -322,6 +556,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -336,6 +573,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -350,6 +590,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -364,6 +607,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -378,6 +624,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -392,6 +641,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -406,6 +658,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -420,6 +675,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -434,6 +692,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.77953" "width": "3.77953"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
} }
], ],

View File

@ -10,8 +10,8 @@
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "actor": "admin",
"timestamp": "2025-11-10T08:34:31Z" "timestamp": "2025-11-10T09:08:08Z"
}, },
"lastModificationSignature": "03810d8e555afc2b0ce2adc132ba861a53ddb91f1ebf80ea66793bc458ffa5b7" "lastModificationSignature": "fe5275f6265387c622009cfb77e689cd02da89d6ad70cd6c36ee0398e9a56663"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -98,6 +98,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[1].style.visibility": {
"binding": {
"config": {
"path": "view.params.InUp"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[1].visibility": { "props.elements[1].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -124,6 +150,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[2].style.visibility": {
"binding": {
"config": {
"path": "view.params.InLeft"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[2].visibility": { "props.elements[2].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -150,6 +202,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[3].style.visibility": {
"binding": {
"config": {
"path": "view.params.InDown"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[3].visibility": { "props.elements[3].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -176,6 +254,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[4].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutUp"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[4].visibility": { "props.elements[4].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -202,6 +306,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[5].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutRight"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[5].visibility": { "props.elements[5].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -228,6 +358,32 @@
"type": "property" "type": "property"
} }
}, },
"props.elements[6].style.visibility": {
"binding": {
"config": {
"path": "view.params.OutDown"
},
"transforms": [
{
"fallback": "hidden",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[6].visibility": { "props.elements[6].visibility": {
"binding": { "binding": {
"config": { "config": {
@ -319,6 +475,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -332,6 +491,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -345,6 +507,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -358,6 +523,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -371,6 +539,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {
@ -384,6 +555,9 @@
"paint": "#000000", "paint": "#000000",
"width": "3.99982" "width": "3.99982"
}, },
"style": {
"classes": ""
},
"type": "path" "type": "path"
}, },
{ {