@almadar/std 16.98.0 → 16.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/ui/game/2d/organisms/ui-builder-board.orb +334 -99
- package/behaviors/registry/ui/game/2d/organisms/ui-classifier-board.orb +203 -93
- package/behaviors/registry/ui/game/2d/organisms/ui-event-handler-board.orb +294 -143
- package/behaviors/registry/ui/game/2d/organisms/ui-sequencer-board.orb +362 -163
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-builder-board.orb +334 -99
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-classifier-board.orb +203 -93
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-event-handler-board.orb +294 -143
- package/dist/behaviors/registry/ui/game/2d/organisms/ui-sequencer-board.orb +362 -163
- package/dist/behaviors-registry.json +1 -1
- package/dist/registry/ui/game/2d/organisms/ui-builder-board.orb +334 -99
- package/dist/registry/ui/game/2d/organisms/ui-classifier-board.orb +203 -93
- package/dist/registry/ui/game/2d/organisms/ui-event-handler-board.orb +294 -143
- package/dist/registry/ui/game/2d/organisms/ui-sequencer-board.orb +362 -163
- package/package.json +1 -1
|
@@ -18,6 +18,86 @@
|
|
|
18
18
|
"required": true,
|
|
19
19
|
"type": "number"
|
|
20
20
|
},
|
|
21
|
+
"options": {
|
|
22
|
+
"items": {
|
|
23
|
+
"properties": {
|
|
24
|
+
"actionId": {
|
|
25
|
+
"name": "actionId",
|
|
26
|
+
"required": true,
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"iconUrl": {
|
|
30
|
+
"name": "iconUrl",
|
|
31
|
+
"properties": {
|
|
32
|
+
"animations": {
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"name": "animations",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "array"
|
|
39
|
+
},
|
|
40
|
+
"aspect": {
|
|
41
|
+
"name": "aspect",
|
|
42
|
+
"required": false,
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"category": {
|
|
46
|
+
"name": "category",
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"dimension": {
|
|
51
|
+
"name": "dimension",
|
|
52
|
+
"required": false,
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"name": {
|
|
56
|
+
"name": "name",
|
|
57
|
+
"required": false,
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"role": {
|
|
61
|
+
"name": "role",
|
|
62
|
+
"required": false,
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"style": {
|
|
66
|
+
"name": "style",
|
|
67
|
+
"required": false,
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"thumbnailUrl": {
|
|
71
|
+
"name": "thumbnailUrl",
|
|
72
|
+
"required": false,
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"url": {
|
|
76
|
+
"name": "url",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"type": "object"
|
|
83
|
+
},
|
|
84
|
+
"label": {
|
|
85
|
+
"name": "label",
|
|
86
|
+
"required": false,
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"slotIndex": {
|
|
90
|
+
"name": "slotIndex",
|
|
91
|
+
"required": true,
|
|
92
|
+
"type": "number"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"type": "object"
|
|
96
|
+
},
|
|
97
|
+
"name": "options",
|
|
98
|
+
"required": false,
|
|
99
|
+
"type": "array"
|
|
100
|
+
},
|
|
21
101
|
"placedActionId": {
|
|
22
102
|
"name": "placedActionId",
|
|
23
103
|
"required": false,
|
|
@@ -498,6 +578,86 @@
|
|
|
498
578
|
"required": true,
|
|
499
579
|
"type": "number"
|
|
500
580
|
},
|
|
581
|
+
"options": {
|
|
582
|
+
"items": {
|
|
583
|
+
"properties": {
|
|
584
|
+
"actionId": {
|
|
585
|
+
"name": "actionId",
|
|
586
|
+
"required": true,
|
|
587
|
+
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
"iconUrl": {
|
|
590
|
+
"name": "iconUrl",
|
|
591
|
+
"properties": {
|
|
592
|
+
"animations": {
|
|
593
|
+
"items": {
|
|
594
|
+
"type": "string"
|
|
595
|
+
},
|
|
596
|
+
"name": "animations",
|
|
597
|
+
"required": false,
|
|
598
|
+
"type": "array"
|
|
599
|
+
},
|
|
600
|
+
"aspect": {
|
|
601
|
+
"name": "aspect",
|
|
602
|
+
"required": false,
|
|
603
|
+
"type": "string"
|
|
604
|
+
},
|
|
605
|
+
"category": {
|
|
606
|
+
"name": "category",
|
|
607
|
+
"required": false,
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"dimension": {
|
|
611
|
+
"name": "dimension",
|
|
612
|
+
"required": false,
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"name": {
|
|
616
|
+
"name": "name",
|
|
617
|
+
"required": false,
|
|
618
|
+
"type": "string"
|
|
619
|
+
},
|
|
620
|
+
"role": {
|
|
621
|
+
"name": "role",
|
|
622
|
+
"required": false,
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"style": {
|
|
626
|
+
"name": "style",
|
|
627
|
+
"required": false,
|
|
628
|
+
"type": "string"
|
|
629
|
+
},
|
|
630
|
+
"thumbnailUrl": {
|
|
631
|
+
"name": "thumbnailUrl",
|
|
632
|
+
"required": false,
|
|
633
|
+
"type": "string"
|
|
634
|
+
},
|
|
635
|
+
"url": {
|
|
636
|
+
"name": "url",
|
|
637
|
+
"required": false,
|
|
638
|
+
"type": "string"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"required": false,
|
|
642
|
+
"type": "object"
|
|
643
|
+
},
|
|
644
|
+
"label": {
|
|
645
|
+
"name": "label",
|
|
646
|
+
"required": false,
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
"slotIndex": {
|
|
650
|
+
"name": "slotIndex",
|
|
651
|
+
"required": true,
|
|
652
|
+
"type": "number"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"type": "object"
|
|
656
|
+
},
|
|
657
|
+
"name": "options",
|
|
658
|
+
"required": false,
|
|
659
|
+
"type": "array"
|
|
660
|
+
},
|
|
501
661
|
"placedActionId": {
|
|
502
662
|
"name": "placedActionId",
|
|
503
663
|
"required": false,
|
|
@@ -771,7 +931,50 @@
|
|
|
771
931
|
[
|
|
772
932
|
"set",
|
|
773
933
|
"@entity.slots",
|
|
774
|
-
|
|
934
|
+
[
|
|
935
|
+
"array/map",
|
|
936
|
+
"@config.slots",
|
|
937
|
+
[
|
|
938
|
+
"fn",
|
|
939
|
+
"s",
|
|
940
|
+
[
|
|
941
|
+
"object/merge",
|
|
942
|
+
"@s",
|
|
943
|
+
{
|
|
944
|
+
"options": [
|
|
945
|
+
"array/map",
|
|
946
|
+
"@config.availableActions",
|
|
947
|
+
[
|
|
948
|
+
"fn",
|
|
949
|
+
"a",
|
|
950
|
+
{
|
|
951
|
+
"actionId": [
|
|
952
|
+
"object/get",
|
|
953
|
+
"@a",
|
|
954
|
+
"id"
|
|
955
|
+
],
|
|
956
|
+
"iconUrl": [
|
|
957
|
+
"object/get",
|
|
958
|
+
"@a",
|
|
959
|
+
"iconUrl"
|
|
960
|
+
],
|
|
961
|
+
"label": [
|
|
962
|
+
"object/get",
|
|
963
|
+
"@a",
|
|
964
|
+
"name"
|
|
965
|
+
],
|
|
966
|
+
"slotIndex": [
|
|
967
|
+
"object/get",
|
|
968
|
+
"@s",
|
|
969
|
+
"index"
|
|
970
|
+
]
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
]
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
]
|
|
977
|
+
]
|
|
775
978
|
],
|
|
776
979
|
[
|
|
777
980
|
"set",
|
|
@@ -891,31 +1094,22 @@
|
|
|
891
1094
|
"type": "stack"
|
|
892
1095
|
},
|
|
893
1096
|
{
|
|
894
|
-
"entity": "@
|
|
1097
|
+
"entity": "@s.options",
|
|
895
1098
|
"fields": [],
|
|
896
1099
|
"gap": "xs",
|
|
897
1100
|
"renderItem": [
|
|
898
1101
|
"fn",
|
|
899
|
-
"
|
|
1102
|
+
"opt",
|
|
900
1103
|
{
|
|
901
1104
|
"action": "PLACE",
|
|
902
1105
|
"actionPayload": {
|
|
903
|
-
"actionId": "@
|
|
904
|
-
"slotIndex": "@
|
|
1106
|
+
"actionId": "@opt.actionId",
|
|
1107
|
+
"slotIndex": "@opt.slotIndex"
|
|
905
1108
|
},
|
|
906
|
-
"iconAsset": "@
|
|
907
|
-
"label": "@
|
|
1109
|
+
"iconAsset": "@opt.iconUrl",
|
|
1110
|
+
"label": "@opt.label",
|
|
908
1111
|
"type": "button",
|
|
909
|
-
"variant":
|
|
910
|
-
"if",
|
|
911
|
-
[
|
|
912
|
-
"==",
|
|
913
|
-
"@s.placedActionId",
|
|
914
|
-
"@a.id"
|
|
915
|
-
],
|
|
916
|
-
"success",
|
|
917
|
-
"ghost"
|
|
918
|
-
]
|
|
1112
|
+
"variant": "primary"
|
|
919
1113
|
}
|
|
920
1114
|
],
|
|
921
1115
|
"type": "data-list"
|
|
@@ -983,7 +1177,50 @@
|
|
|
983
1177
|
[
|
|
984
1178
|
"set",
|
|
985
1179
|
"@entity.slots",
|
|
986
|
-
|
|
1180
|
+
[
|
|
1181
|
+
"array/map",
|
|
1182
|
+
"@config.slots",
|
|
1183
|
+
[
|
|
1184
|
+
"fn",
|
|
1185
|
+
"s",
|
|
1186
|
+
[
|
|
1187
|
+
"object/merge",
|
|
1188
|
+
"@s",
|
|
1189
|
+
{
|
|
1190
|
+
"options": [
|
|
1191
|
+
"array/map",
|
|
1192
|
+
"@config.availableActions",
|
|
1193
|
+
[
|
|
1194
|
+
"fn",
|
|
1195
|
+
"a",
|
|
1196
|
+
{
|
|
1197
|
+
"actionId": [
|
|
1198
|
+
"object/get",
|
|
1199
|
+
"@a",
|
|
1200
|
+
"id"
|
|
1201
|
+
],
|
|
1202
|
+
"iconUrl": [
|
|
1203
|
+
"object/get",
|
|
1204
|
+
"@a",
|
|
1205
|
+
"iconUrl"
|
|
1206
|
+
],
|
|
1207
|
+
"label": [
|
|
1208
|
+
"object/get",
|
|
1209
|
+
"@a",
|
|
1210
|
+
"name"
|
|
1211
|
+
],
|
|
1212
|
+
"slotIndex": [
|
|
1213
|
+
"object/get",
|
|
1214
|
+
"@s",
|
|
1215
|
+
"index"
|
|
1216
|
+
]
|
|
1217
|
+
}
|
|
1218
|
+
]
|
|
1219
|
+
]
|
|
1220
|
+
}
|
|
1221
|
+
]
|
|
1222
|
+
]
|
|
1223
|
+
]
|
|
987
1224
|
],
|
|
988
1225
|
[
|
|
989
1226
|
"set",
|
|
@@ -1103,31 +1340,22 @@
|
|
|
1103
1340
|
"type": "stack"
|
|
1104
1341
|
},
|
|
1105
1342
|
{
|
|
1106
|
-
"entity": "@
|
|
1343
|
+
"entity": "@s.options",
|
|
1107
1344
|
"fields": [],
|
|
1108
1345
|
"gap": "xs",
|
|
1109
1346
|
"renderItem": [
|
|
1110
1347
|
"fn",
|
|
1111
|
-
"
|
|
1348
|
+
"opt",
|
|
1112
1349
|
{
|
|
1113
1350
|
"action": "PLACE",
|
|
1114
1351
|
"actionPayload": {
|
|
1115
|
-
"actionId": "@
|
|
1116
|
-
"slotIndex": "@
|
|
1352
|
+
"actionId": "@opt.actionId",
|
|
1353
|
+
"slotIndex": "@opt.slotIndex"
|
|
1117
1354
|
},
|
|
1118
|
-
"iconAsset": "@
|
|
1119
|
-
"label": "@
|
|
1355
|
+
"iconAsset": "@opt.iconUrl",
|
|
1356
|
+
"label": "@opt.label",
|
|
1120
1357
|
"type": "button",
|
|
1121
|
-
"variant":
|
|
1122
|
-
"if",
|
|
1123
|
-
[
|
|
1124
|
-
"==",
|
|
1125
|
-
"@s.placedActionId",
|
|
1126
|
-
"@a.id"
|
|
1127
|
-
],
|
|
1128
|
-
"success",
|
|
1129
|
-
"ghost"
|
|
1130
|
-
]
|
|
1358
|
+
"variant": "primary"
|
|
1131
1359
|
}
|
|
1132
1360
|
],
|
|
1133
1361
|
"type": "data-list"
|
|
@@ -1282,31 +1510,22 @@
|
|
|
1282
1510
|
"type": "stack"
|
|
1283
1511
|
},
|
|
1284
1512
|
{
|
|
1285
|
-
"entity": "@
|
|
1513
|
+
"entity": "@s.options",
|
|
1286
1514
|
"fields": [],
|
|
1287
1515
|
"gap": "xs",
|
|
1288
1516
|
"renderItem": [
|
|
1289
1517
|
"fn",
|
|
1290
|
-
"
|
|
1518
|
+
"opt",
|
|
1291
1519
|
{
|
|
1292
1520
|
"action": "PLACE",
|
|
1293
1521
|
"actionPayload": {
|
|
1294
|
-
"actionId": "@
|
|
1295
|
-
"slotIndex": "@
|
|
1522
|
+
"actionId": "@opt.actionId",
|
|
1523
|
+
"slotIndex": "@opt.slotIndex"
|
|
1296
1524
|
},
|
|
1297
|
-
"iconAsset": "@
|
|
1298
|
-
"label": "@
|
|
1525
|
+
"iconAsset": "@opt.iconUrl",
|
|
1526
|
+
"label": "@opt.label",
|
|
1299
1527
|
"type": "button",
|
|
1300
|
-
"variant":
|
|
1301
|
-
"if",
|
|
1302
|
-
[
|
|
1303
|
-
"==",
|
|
1304
|
-
"@s.placedActionId",
|
|
1305
|
-
"@a.id"
|
|
1306
|
-
],
|
|
1307
|
-
"success",
|
|
1308
|
-
"ghost"
|
|
1309
|
-
]
|
|
1528
|
+
"variant": "primary"
|
|
1310
1529
|
}
|
|
1311
1530
|
],
|
|
1312
1531
|
"type": "data-list"
|
|
@@ -1461,31 +1680,22 @@
|
|
|
1461
1680
|
"type": "stack"
|
|
1462
1681
|
},
|
|
1463
1682
|
{
|
|
1464
|
-
"entity": "@
|
|
1683
|
+
"entity": "@s.options",
|
|
1465
1684
|
"fields": [],
|
|
1466
1685
|
"gap": "xs",
|
|
1467
1686
|
"renderItem": [
|
|
1468
1687
|
"fn",
|
|
1469
|
-
"
|
|
1688
|
+
"opt",
|
|
1470
1689
|
{
|
|
1471
1690
|
"action": "PLACE",
|
|
1472
1691
|
"actionPayload": {
|
|
1473
|
-
"actionId": "@
|
|
1474
|
-
"slotIndex": "@
|
|
1692
|
+
"actionId": "@opt.actionId",
|
|
1693
|
+
"slotIndex": "@opt.slotIndex"
|
|
1475
1694
|
},
|
|
1476
|
-
"iconAsset": "@
|
|
1477
|
-
"label": "@
|
|
1695
|
+
"iconAsset": "@opt.iconUrl",
|
|
1696
|
+
"label": "@opt.label",
|
|
1478
1697
|
"type": "button",
|
|
1479
|
-
"variant":
|
|
1480
|
-
"if",
|
|
1481
|
-
[
|
|
1482
|
-
"==",
|
|
1483
|
-
"@s.placedActionId",
|
|
1484
|
-
"@a.id"
|
|
1485
|
-
],
|
|
1486
|
-
"success",
|
|
1487
|
-
"ghost"
|
|
1488
|
-
]
|
|
1698
|
+
"variant": "primary"
|
|
1489
1699
|
}
|
|
1490
1700
|
],
|
|
1491
1701
|
"type": "data-list"
|
|
@@ -1613,31 +1823,22 @@
|
|
|
1613
1823
|
"type": "stack"
|
|
1614
1824
|
},
|
|
1615
1825
|
{
|
|
1616
|
-
"entity": "@
|
|
1826
|
+
"entity": "@s.options",
|
|
1617
1827
|
"fields": [],
|
|
1618
1828
|
"gap": "xs",
|
|
1619
1829
|
"renderItem": [
|
|
1620
1830
|
"fn",
|
|
1621
|
-
"
|
|
1831
|
+
"opt",
|
|
1622
1832
|
{
|
|
1623
1833
|
"action": "PLACE",
|
|
1624
1834
|
"actionPayload": {
|
|
1625
|
-
"actionId": "@
|
|
1626
|
-
"slotIndex": "@
|
|
1835
|
+
"actionId": "@opt.actionId",
|
|
1836
|
+
"slotIndex": "@opt.slotIndex"
|
|
1627
1837
|
},
|
|
1628
|
-
"iconAsset": "@
|
|
1629
|
-
"label": "@
|
|
1838
|
+
"iconAsset": "@opt.iconUrl",
|
|
1839
|
+
"label": "@opt.label",
|
|
1630
1840
|
"type": "button",
|
|
1631
|
-
"variant":
|
|
1632
|
-
"if",
|
|
1633
|
-
[
|
|
1634
|
-
"==",
|
|
1635
|
-
"@s.placedActionId",
|
|
1636
|
-
"@a.id"
|
|
1637
|
-
],
|
|
1638
|
-
"success",
|
|
1639
|
-
"ghost"
|
|
1640
|
-
]
|
|
1841
|
+
"variant": "primary"
|
|
1641
1842
|
}
|
|
1642
1843
|
],
|
|
1643
1844
|
"type": "data-list"
|
|
@@ -1774,31 +1975,22 @@
|
|
|
1774
1975
|
"type": "stack"
|
|
1775
1976
|
},
|
|
1776
1977
|
{
|
|
1777
|
-
"entity": "@
|
|
1978
|
+
"entity": "@s.options",
|
|
1778
1979
|
"fields": [],
|
|
1779
1980
|
"gap": "xs",
|
|
1780
1981
|
"renderItem": [
|
|
1781
1982
|
"fn",
|
|
1782
|
-
"
|
|
1983
|
+
"opt",
|
|
1783
1984
|
{
|
|
1784
1985
|
"action": "PLACE",
|
|
1785
1986
|
"actionPayload": {
|
|
1786
|
-
"actionId": "@
|
|
1787
|
-
"slotIndex": "@
|
|
1987
|
+
"actionId": "@opt.actionId",
|
|
1988
|
+
"slotIndex": "@opt.slotIndex"
|
|
1788
1989
|
},
|
|
1789
|
-
"iconAsset": "@
|
|
1790
|
-
"label": "@
|
|
1990
|
+
"iconAsset": "@opt.iconUrl",
|
|
1991
|
+
"label": "@opt.label",
|
|
1791
1992
|
"type": "button",
|
|
1792
|
-
"variant":
|
|
1793
|
-
"if",
|
|
1794
|
-
[
|
|
1795
|
-
"==",
|
|
1796
|
-
"@s.placedActionId",
|
|
1797
|
-
"@a.id"
|
|
1798
|
-
],
|
|
1799
|
-
"success",
|
|
1800
|
-
"ghost"
|
|
1801
|
-
]
|
|
1993
|
+
"variant": "primary"
|
|
1802
1994
|
}
|
|
1803
1995
|
],
|
|
1804
1996
|
"type": "data-list"
|
|
@@ -1955,31 +2147,22 @@
|
|
|
1955
2147
|
"type": "stack"
|
|
1956
2148
|
},
|
|
1957
2149
|
{
|
|
1958
|
-
"entity": "@
|
|
2150
|
+
"entity": "@s.options",
|
|
1959
2151
|
"fields": [],
|
|
1960
2152
|
"gap": "xs",
|
|
1961
2153
|
"renderItem": [
|
|
1962
2154
|
"fn",
|
|
1963
|
-
"
|
|
2155
|
+
"opt",
|
|
1964
2156
|
{
|
|
1965
2157
|
"action": "PLACE",
|
|
1966
2158
|
"actionPayload": {
|
|
1967
|
-
"actionId": "@
|
|
1968
|
-
"slotIndex": "@
|
|
2159
|
+
"actionId": "@opt.actionId",
|
|
2160
|
+
"slotIndex": "@opt.slotIndex"
|
|
1969
2161
|
},
|
|
1970
|
-
"iconAsset": "@
|
|
1971
|
-
"label": "@
|
|
2162
|
+
"iconAsset": "@opt.iconUrl",
|
|
2163
|
+
"label": "@opt.label",
|
|
1972
2164
|
"type": "button",
|
|
1973
|
-
"variant":
|
|
1974
|
-
"if",
|
|
1975
|
-
[
|
|
1976
|
-
"==",
|
|
1977
|
-
"@s.placedActionId",
|
|
1978
|
-
"@a.id"
|
|
1979
|
-
],
|
|
1980
|
-
"success",
|
|
1981
|
-
"ghost"
|
|
1982
|
-
]
|
|
2165
|
+
"variant": "primary"
|
|
1983
2166
|
}
|
|
1984
2167
|
],
|
|
1985
2168
|
"type": "data-list"
|
|
@@ -2107,31 +2290,22 @@
|
|
|
2107
2290
|
"type": "stack"
|
|
2108
2291
|
},
|
|
2109
2292
|
{
|
|
2110
|
-
"entity": "@
|
|
2293
|
+
"entity": "@s.options",
|
|
2111
2294
|
"fields": [],
|
|
2112
2295
|
"gap": "xs",
|
|
2113
2296
|
"renderItem": [
|
|
2114
2297
|
"fn",
|
|
2115
|
-
"
|
|
2298
|
+
"opt",
|
|
2116
2299
|
{
|
|
2117
2300
|
"action": "PLACE",
|
|
2118
2301
|
"actionPayload": {
|
|
2119
|
-
"actionId": "@
|
|
2120
|
-
"slotIndex": "@
|
|
2302
|
+
"actionId": "@opt.actionId",
|
|
2303
|
+
"slotIndex": "@opt.slotIndex"
|
|
2121
2304
|
},
|
|
2122
|
-
"iconAsset": "@
|
|
2123
|
-
"label": "@
|
|
2305
|
+
"iconAsset": "@opt.iconUrl",
|
|
2306
|
+
"label": "@opt.label",
|
|
2124
2307
|
"type": "button",
|
|
2125
|
-
"variant":
|
|
2126
|
-
"if",
|
|
2127
|
-
[
|
|
2128
|
-
"==",
|
|
2129
|
-
"@s.placedActionId",
|
|
2130
|
-
"@a.id"
|
|
2131
|
-
],
|
|
2132
|
-
"success",
|
|
2133
|
-
"ghost"
|
|
2134
|
-
]
|
|
2308
|
+
"variant": "primary"
|
|
2135
2309
|
}
|
|
2136
2310
|
],
|
|
2137
2311
|
"type": "data-list"
|
|
@@ -2272,31 +2446,22 @@
|
|
|
2272
2446
|
"type": "stack"
|
|
2273
2447
|
},
|
|
2274
2448
|
{
|
|
2275
|
-
"entity": "@
|
|
2449
|
+
"entity": "@s.options",
|
|
2276
2450
|
"fields": [],
|
|
2277
2451
|
"gap": "xs",
|
|
2278
2452
|
"renderItem": [
|
|
2279
2453
|
"fn",
|
|
2280
|
-
"
|
|
2454
|
+
"opt",
|
|
2281
2455
|
{
|
|
2282
2456
|
"action": "PLACE",
|
|
2283
2457
|
"actionPayload": {
|
|
2284
|
-
"actionId": "@
|
|
2285
|
-
"slotIndex": "@
|
|
2458
|
+
"actionId": "@opt.actionId",
|
|
2459
|
+
"slotIndex": "@opt.slotIndex"
|
|
2286
2460
|
},
|
|
2287
|
-
"iconAsset": "@
|
|
2288
|
-
"label": "@
|
|
2461
|
+
"iconAsset": "@opt.iconUrl",
|
|
2462
|
+
"label": "@opt.label",
|
|
2289
2463
|
"type": "button",
|
|
2290
|
-
"variant":
|
|
2291
|
-
"if",
|
|
2292
|
-
[
|
|
2293
|
-
"==",
|
|
2294
|
-
"@s.placedActionId",
|
|
2295
|
-
"@a.id"
|
|
2296
|
-
],
|
|
2297
|
-
"success",
|
|
2298
|
-
"ghost"
|
|
2299
|
-
]
|
|
2464
|
+
"variant": "primary"
|
|
2300
2465
|
}
|
|
2301
2466
|
],
|
|
2302
2467
|
"type": "data-list"
|
|
@@ -2364,7 +2529,50 @@
|
|
|
2364
2529
|
[
|
|
2365
2530
|
"set",
|
|
2366
2531
|
"@entity.slots",
|
|
2367
|
-
|
|
2532
|
+
[
|
|
2533
|
+
"array/map",
|
|
2534
|
+
"@config.slots",
|
|
2535
|
+
[
|
|
2536
|
+
"fn",
|
|
2537
|
+
"s",
|
|
2538
|
+
[
|
|
2539
|
+
"object/merge",
|
|
2540
|
+
"@s",
|
|
2541
|
+
{
|
|
2542
|
+
"options": [
|
|
2543
|
+
"array/map",
|
|
2544
|
+
"@config.availableActions",
|
|
2545
|
+
[
|
|
2546
|
+
"fn",
|
|
2547
|
+
"a",
|
|
2548
|
+
{
|
|
2549
|
+
"actionId": [
|
|
2550
|
+
"object/get",
|
|
2551
|
+
"@a",
|
|
2552
|
+
"id"
|
|
2553
|
+
],
|
|
2554
|
+
"iconUrl": [
|
|
2555
|
+
"object/get",
|
|
2556
|
+
"@a",
|
|
2557
|
+
"iconUrl"
|
|
2558
|
+
],
|
|
2559
|
+
"label": [
|
|
2560
|
+
"object/get",
|
|
2561
|
+
"@a",
|
|
2562
|
+
"name"
|
|
2563
|
+
],
|
|
2564
|
+
"slotIndex": [
|
|
2565
|
+
"object/get",
|
|
2566
|
+
"@s",
|
|
2567
|
+
"index"
|
|
2568
|
+
]
|
|
2569
|
+
}
|
|
2570
|
+
]
|
|
2571
|
+
]
|
|
2572
|
+
}
|
|
2573
|
+
]
|
|
2574
|
+
]
|
|
2575
|
+
]
|
|
2368
2576
|
],
|
|
2369
2577
|
[
|
|
2370
2578
|
"set",
|
|
@@ -2439,31 +2647,22 @@
|
|
|
2439
2647
|
"type": "stack"
|
|
2440
2648
|
},
|
|
2441
2649
|
{
|
|
2442
|
-
"entity": "@
|
|
2650
|
+
"entity": "@s.options",
|
|
2443
2651
|
"fields": [],
|
|
2444
2652
|
"gap": "xs",
|
|
2445
2653
|
"renderItem": [
|
|
2446
2654
|
"fn",
|
|
2447
|
-
"
|
|
2655
|
+
"opt",
|
|
2448
2656
|
{
|
|
2449
2657
|
"action": "PLACE",
|
|
2450
2658
|
"actionPayload": {
|
|
2451
|
-
"actionId": "@
|
|
2452
|
-
"slotIndex": "@
|
|
2659
|
+
"actionId": "@opt.actionId",
|
|
2660
|
+
"slotIndex": "@opt.slotIndex"
|
|
2453
2661
|
},
|
|
2454
|
-
"iconAsset": "@
|
|
2455
|
-
"label": "@
|
|
2662
|
+
"iconAsset": "@opt.iconUrl",
|
|
2663
|
+
"label": "@opt.label",
|
|
2456
2664
|
"type": "button",
|
|
2457
|
-
"variant":
|
|
2458
|
-
"if",
|
|
2459
|
-
[
|
|
2460
|
-
"==",
|
|
2461
|
-
"@s.placedActionId",
|
|
2462
|
-
"@a.id"
|
|
2463
|
-
],
|
|
2464
|
-
"success",
|
|
2465
|
-
"ghost"
|
|
2466
|
-
]
|
|
2665
|
+
"variant": "primary"
|
|
2467
2666
|
}
|
|
2468
2667
|
],
|
|
2469
2668
|
"type": "data-list"
|