@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
|
@@ -107,6 +107,86 @@
|
|
|
107
107
|
"required": true,
|
|
108
108
|
"type": "string"
|
|
109
109
|
},
|
|
110
|
+
"options": {
|
|
111
|
+
"items": {
|
|
112
|
+
"properties": {
|
|
113
|
+
"componentId": {
|
|
114
|
+
"name": "componentId",
|
|
115
|
+
"required": true,
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"iconUrl": {
|
|
119
|
+
"name": "iconUrl",
|
|
120
|
+
"properties": {
|
|
121
|
+
"animations": {
|
|
122
|
+
"items": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"name": "animations",
|
|
126
|
+
"required": false,
|
|
127
|
+
"type": "array"
|
|
128
|
+
},
|
|
129
|
+
"aspect": {
|
|
130
|
+
"name": "aspect",
|
|
131
|
+
"required": false,
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"category": {
|
|
135
|
+
"name": "category",
|
|
136
|
+
"required": false,
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"dimension": {
|
|
140
|
+
"name": "dimension",
|
|
141
|
+
"required": false,
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"name": {
|
|
145
|
+
"name": "name",
|
|
146
|
+
"required": false,
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"role": {
|
|
150
|
+
"name": "role",
|
|
151
|
+
"required": false,
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"style": {
|
|
155
|
+
"name": "style",
|
|
156
|
+
"required": false,
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
159
|
+
"thumbnailUrl": {
|
|
160
|
+
"name": "thumbnailUrl",
|
|
161
|
+
"required": false,
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"url": {
|
|
165
|
+
"name": "url",
|
|
166
|
+
"required": false,
|
|
167
|
+
"type": "string"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"type": "object"
|
|
172
|
+
},
|
|
173
|
+
"label": {
|
|
174
|
+
"name": "label",
|
|
175
|
+
"required": false,
|
|
176
|
+
"type": "string"
|
|
177
|
+
},
|
|
178
|
+
"slotId": {
|
|
179
|
+
"name": "slotId",
|
|
180
|
+
"required": true,
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"type": "object"
|
|
185
|
+
},
|
|
186
|
+
"name": "options",
|
|
187
|
+
"required": false,
|
|
188
|
+
"type": "array"
|
|
189
|
+
},
|
|
110
190
|
"placedComponentId": {
|
|
111
191
|
"name": "placedComponentId",
|
|
112
192
|
"required": false,
|
|
@@ -397,6 +477,86 @@
|
|
|
397
477
|
"required": true,
|
|
398
478
|
"type": "string"
|
|
399
479
|
},
|
|
480
|
+
"options": {
|
|
481
|
+
"items": {
|
|
482
|
+
"properties": {
|
|
483
|
+
"componentId": {
|
|
484
|
+
"name": "componentId",
|
|
485
|
+
"required": true,
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"iconUrl": {
|
|
489
|
+
"name": "iconUrl",
|
|
490
|
+
"properties": {
|
|
491
|
+
"animations": {
|
|
492
|
+
"items": {
|
|
493
|
+
"type": "string"
|
|
494
|
+
},
|
|
495
|
+
"name": "animations",
|
|
496
|
+
"required": false,
|
|
497
|
+
"type": "array"
|
|
498
|
+
},
|
|
499
|
+
"aspect": {
|
|
500
|
+
"name": "aspect",
|
|
501
|
+
"required": false,
|
|
502
|
+
"type": "string"
|
|
503
|
+
},
|
|
504
|
+
"category": {
|
|
505
|
+
"name": "category",
|
|
506
|
+
"required": false,
|
|
507
|
+
"type": "string"
|
|
508
|
+
},
|
|
509
|
+
"dimension": {
|
|
510
|
+
"name": "dimension",
|
|
511
|
+
"required": false,
|
|
512
|
+
"type": "string"
|
|
513
|
+
},
|
|
514
|
+
"name": {
|
|
515
|
+
"name": "name",
|
|
516
|
+
"required": false,
|
|
517
|
+
"type": "string"
|
|
518
|
+
},
|
|
519
|
+
"role": {
|
|
520
|
+
"name": "role",
|
|
521
|
+
"required": false,
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
"style": {
|
|
525
|
+
"name": "style",
|
|
526
|
+
"required": false,
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
"thumbnailUrl": {
|
|
530
|
+
"name": "thumbnailUrl",
|
|
531
|
+
"required": false,
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"url": {
|
|
535
|
+
"name": "url",
|
|
536
|
+
"required": false,
|
|
537
|
+
"type": "string"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"required": false,
|
|
541
|
+
"type": "object"
|
|
542
|
+
},
|
|
543
|
+
"label": {
|
|
544
|
+
"name": "label",
|
|
545
|
+
"required": false,
|
|
546
|
+
"type": "string"
|
|
547
|
+
},
|
|
548
|
+
"slotId": {
|
|
549
|
+
"name": "slotId",
|
|
550
|
+
"required": true,
|
|
551
|
+
"type": "string"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"type": "object"
|
|
555
|
+
},
|
|
556
|
+
"name": "options",
|
|
557
|
+
"required": false,
|
|
558
|
+
"type": "array"
|
|
559
|
+
},
|
|
400
560
|
"placedComponentId": {
|
|
401
561
|
"name": "placedComponentId",
|
|
402
562
|
"required": false,
|
|
@@ -619,7 +779,50 @@
|
|
|
619
779
|
[
|
|
620
780
|
"set",
|
|
621
781
|
"@entity.slots",
|
|
622
|
-
|
|
782
|
+
[
|
|
783
|
+
"array/map",
|
|
784
|
+
"@config.slots",
|
|
785
|
+
[
|
|
786
|
+
"fn",
|
|
787
|
+
"s",
|
|
788
|
+
[
|
|
789
|
+
"object/merge",
|
|
790
|
+
"@s",
|
|
791
|
+
{
|
|
792
|
+
"options": [
|
|
793
|
+
"array/map",
|
|
794
|
+
"@config.components",
|
|
795
|
+
[
|
|
796
|
+
"fn",
|
|
797
|
+
"c",
|
|
798
|
+
{
|
|
799
|
+
"componentId": [
|
|
800
|
+
"object/get",
|
|
801
|
+
"@c",
|
|
802
|
+
"id"
|
|
803
|
+
],
|
|
804
|
+
"iconUrl": [
|
|
805
|
+
"object/get",
|
|
806
|
+
"@c",
|
|
807
|
+
"iconUrl"
|
|
808
|
+
],
|
|
809
|
+
"label": [
|
|
810
|
+
"object/get",
|
|
811
|
+
"@c",
|
|
812
|
+
"label"
|
|
813
|
+
],
|
|
814
|
+
"slotId": [
|
|
815
|
+
"object/get",
|
|
816
|
+
"@s",
|
|
817
|
+
"id"
|
|
818
|
+
]
|
|
819
|
+
}
|
|
820
|
+
]
|
|
821
|
+
]
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
]
|
|
825
|
+
]
|
|
623
826
|
],
|
|
624
827
|
[
|
|
625
828
|
"set",
|
|
@@ -695,31 +898,22 @@
|
|
|
695
898
|
"type": "stack"
|
|
696
899
|
},
|
|
697
900
|
{
|
|
698
|
-
"entity": "@
|
|
901
|
+
"entity": "@s.options",
|
|
699
902
|
"fields": [],
|
|
700
903
|
"gap": "xs",
|
|
701
904
|
"renderItem": [
|
|
702
905
|
"fn",
|
|
703
|
-
"
|
|
906
|
+
"opt",
|
|
704
907
|
{
|
|
705
908
|
"action": "PLACE",
|
|
706
909
|
"actionPayload": {
|
|
707
|
-
"componentId": "@
|
|
708
|
-
"slotId": "@
|
|
910
|
+
"componentId": "@opt.componentId",
|
|
911
|
+
"slotId": "@opt.slotId"
|
|
709
912
|
},
|
|
710
|
-
"iconAsset": "@
|
|
711
|
-
"label": "@
|
|
913
|
+
"iconAsset": "@opt.iconUrl",
|
|
914
|
+
"label": "@opt.label",
|
|
712
915
|
"type": "button",
|
|
713
|
-
"variant":
|
|
714
|
-
"if",
|
|
715
|
-
[
|
|
716
|
-
"==",
|
|
717
|
-
"@s.placedComponentId",
|
|
718
|
-
"@c.id"
|
|
719
|
-
],
|
|
720
|
-
"success",
|
|
721
|
-
"ghost"
|
|
722
|
-
]
|
|
916
|
+
"variant": "primary"
|
|
723
917
|
}
|
|
724
918
|
],
|
|
725
919
|
"type": "data-list"
|
|
@@ -792,7 +986,50 @@
|
|
|
792
986
|
[
|
|
793
987
|
"set",
|
|
794
988
|
"@entity.slots",
|
|
795
|
-
|
|
989
|
+
[
|
|
990
|
+
"array/map",
|
|
991
|
+
"@config.slots",
|
|
992
|
+
[
|
|
993
|
+
"fn",
|
|
994
|
+
"s",
|
|
995
|
+
[
|
|
996
|
+
"object/merge",
|
|
997
|
+
"@s",
|
|
998
|
+
{
|
|
999
|
+
"options": [
|
|
1000
|
+
"array/map",
|
|
1001
|
+
"@config.components",
|
|
1002
|
+
[
|
|
1003
|
+
"fn",
|
|
1004
|
+
"c",
|
|
1005
|
+
{
|
|
1006
|
+
"componentId": [
|
|
1007
|
+
"object/get",
|
|
1008
|
+
"@c",
|
|
1009
|
+
"id"
|
|
1010
|
+
],
|
|
1011
|
+
"iconUrl": [
|
|
1012
|
+
"object/get",
|
|
1013
|
+
"@c",
|
|
1014
|
+
"iconUrl"
|
|
1015
|
+
],
|
|
1016
|
+
"label": [
|
|
1017
|
+
"object/get",
|
|
1018
|
+
"@c",
|
|
1019
|
+
"label"
|
|
1020
|
+
],
|
|
1021
|
+
"slotId": [
|
|
1022
|
+
"object/get",
|
|
1023
|
+
"@s",
|
|
1024
|
+
"id"
|
|
1025
|
+
]
|
|
1026
|
+
}
|
|
1027
|
+
]
|
|
1028
|
+
]
|
|
1029
|
+
}
|
|
1030
|
+
]
|
|
1031
|
+
]
|
|
1032
|
+
]
|
|
796
1033
|
],
|
|
797
1034
|
[
|
|
798
1035
|
"set",
|
|
@@ -868,31 +1105,22 @@
|
|
|
868
1105
|
"type": "stack"
|
|
869
1106
|
},
|
|
870
1107
|
{
|
|
871
|
-
"entity": "@
|
|
1108
|
+
"entity": "@s.options",
|
|
872
1109
|
"fields": [],
|
|
873
1110
|
"gap": "xs",
|
|
874
1111
|
"renderItem": [
|
|
875
1112
|
"fn",
|
|
876
|
-
"
|
|
1113
|
+
"opt",
|
|
877
1114
|
{
|
|
878
1115
|
"action": "PLACE",
|
|
879
1116
|
"actionPayload": {
|
|
880
|
-
"componentId": "@
|
|
881
|
-
"slotId": "@
|
|
1117
|
+
"componentId": "@opt.componentId",
|
|
1118
|
+
"slotId": "@opt.slotId"
|
|
882
1119
|
},
|
|
883
|
-
"iconAsset": "@
|
|
884
|
-
"label": "@
|
|
1120
|
+
"iconAsset": "@opt.iconUrl",
|
|
1121
|
+
"label": "@opt.label",
|
|
885
1122
|
"type": "button",
|
|
886
|
-
"variant":
|
|
887
|
-
"if",
|
|
888
|
-
[
|
|
889
|
-
"==",
|
|
890
|
-
"@s.placedComponentId",
|
|
891
|
-
"@c.id"
|
|
892
|
-
],
|
|
893
|
-
"success",
|
|
894
|
-
"ghost"
|
|
895
|
-
]
|
|
1123
|
+
"variant": "primary"
|
|
896
1124
|
}
|
|
897
1125
|
],
|
|
898
1126
|
"type": "data-list"
|
|
@@ -1034,31 +1262,22 @@
|
|
|
1034
1262
|
"type": "stack"
|
|
1035
1263
|
},
|
|
1036
1264
|
{
|
|
1037
|
-
"entity": "@
|
|
1265
|
+
"entity": "@s.options",
|
|
1038
1266
|
"fields": [],
|
|
1039
1267
|
"gap": "xs",
|
|
1040
1268
|
"renderItem": [
|
|
1041
1269
|
"fn",
|
|
1042
|
-
"
|
|
1270
|
+
"opt",
|
|
1043
1271
|
{
|
|
1044
1272
|
"action": "PLACE",
|
|
1045
1273
|
"actionPayload": {
|
|
1046
|
-
"componentId": "@
|
|
1047
|
-
"slotId": "@
|
|
1274
|
+
"componentId": "@opt.componentId",
|
|
1275
|
+
"slotId": "@opt.slotId"
|
|
1048
1276
|
},
|
|
1049
|
-
"iconAsset": "@
|
|
1050
|
-
"label": "@
|
|
1277
|
+
"iconAsset": "@opt.iconUrl",
|
|
1278
|
+
"label": "@opt.label",
|
|
1051
1279
|
"type": "button",
|
|
1052
|
-
"variant":
|
|
1053
|
-
"if",
|
|
1054
|
-
[
|
|
1055
|
-
"==",
|
|
1056
|
-
"@s.placedComponentId",
|
|
1057
|
-
"@c.id"
|
|
1058
|
-
],
|
|
1059
|
-
"success",
|
|
1060
|
-
"ghost"
|
|
1061
|
-
]
|
|
1280
|
+
"variant": "primary"
|
|
1062
1281
|
}
|
|
1063
1282
|
],
|
|
1064
1283
|
"type": "data-list"
|
|
@@ -1186,31 +1405,22 @@
|
|
|
1186
1405
|
"type": "stack"
|
|
1187
1406
|
},
|
|
1188
1407
|
{
|
|
1189
|
-
"entity": "@
|
|
1408
|
+
"entity": "@s.options",
|
|
1190
1409
|
"fields": [],
|
|
1191
1410
|
"gap": "xs",
|
|
1192
1411
|
"renderItem": [
|
|
1193
1412
|
"fn",
|
|
1194
|
-
"
|
|
1413
|
+
"opt",
|
|
1195
1414
|
{
|
|
1196
1415
|
"action": "PLACE",
|
|
1197
1416
|
"actionPayload": {
|
|
1198
|
-
"componentId": "@
|
|
1199
|
-
"slotId": "@
|
|
1417
|
+
"componentId": "@opt.componentId",
|
|
1418
|
+
"slotId": "@opt.slotId"
|
|
1200
1419
|
},
|
|
1201
|
-
"iconAsset": "@
|
|
1202
|
-
"label": "@
|
|
1420
|
+
"iconAsset": "@opt.iconUrl",
|
|
1421
|
+
"label": "@opt.label",
|
|
1203
1422
|
"type": "button",
|
|
1204
|
-
"variant":
|
|
1205
|
-
"if",
|
|
1206
|
-
[
|
|
1207
|
-
"==",
|
|
1208
|
-
"@s.placedComponentId",
|
|
1209
|
-
"@c.id"
|
|
1210
|
-
],
|
|
1211
|
-
"success",
|
|
1212
|
-
"ghost"
|
|
1213
|
-
]
|
|
1423
|
+
"variant": "primary"
|
|
1214
1424
|
}
|
|
1215
1425
|
],
|
|
1216
1426
|
"type": "data-list"
|
|
@@ -1361,31 +1571,22 @@
|
|
|
1361
1571
|
"type": "stack"
|
|
1362
1572
|
},
|
|
1363
1573
|
{
|
|
1364
|
-
"entity": "@
|
|
1574
|
+
"entity": "@s.options",
|
|
1365
1575
|
"fields": [],
|
|
1366
1576
|
"gap": "xs",
|
|
1367
1577
|
"renderItem": [
|
|
1368
1578
|
"fn",
|
|
1369
|
-
"
|
|
1579
|
+
"opt",
|
|
1370
1580
|
{
|
|
1371
1581
|
"action": "PLACE",
|
|
1372
1582
|
"actionPayload": {
|
|
1373
|
-
"componentId": "@
|
|
1374
|
-
"slotId": "@
|
|
1583
|
+
"componentId": "@opt.componentId",
|
|
1584
|
+
"slotId": "@opt.slotId"
|
|
1375
1585
|
},
|
|
1376
|
-
"iconAsset": "@
|
|
1377
|
-
"label": "@
|
|
1586
|
+
"iconAsset": "@opt.iconUrl",
|
|
1587
|
+
"label": "@opt.label",
|
|
1378
1588
|
"type": "button",
|
|
1379
|
-
"variant":
|
|
1380
|
-
"if",
|
|
1381
|
-
[
|
|
1382
|
-
"==",
|
|
1383
|
-
"@s.placedComponentId",
|
|
1384
|
-
"@c.id"
|
|
1385
|
-
],
|
|
1386
|
-
"success",
|
|
1387
|
-
"ghost"
|
|
1388
|
-
]
|
|
1589
|
+
"variant": "primary"
|
|
1389
1590
|
}
|
|
1390
1591
|
],
|
|
1391
1592
|
"type": "data-list"
|
|
@@ -1481,7 +1682,50 @@
|
|
|
1481
1682
|
[
|
|
1482
1683
|
"set",
|
|
1483
1684
|
"@entity.slots",
|
|
1484
|
-
|
|
1685
|
+
[
|
|
1686
|
+
"array/map",
|
|
1687
|
+
"@config.slots",
|
|
1688
|
+
[
|
|
1689
|
+
"fn",
|
|
1690
|
+
"s",
|
|
1691
|
+
[
|
|
1692
|
+
"object/merge",
|
|
1693
|
+
"@s",
|
|
1694
|
+
{
|
|
1695
|
+
"options": [
|
|
1696
|
+
"array/map",
|
|
1697
|
+
"@config.components",
|
|
1698
|
+
[
|
|
1699
|
+
"fn",
|
|
1700
|
+
"c",
|
|
1701
|
+
{
|
|
1702
|
+
"componentId": [
|
|
1703
|
+
"object/get",
|
|
1704
|
+
"@c",
|
|
1705
|
+
"id"
|
|
1706
|
+
],
|
|
1707
|
+
"iconUrl": [
|
|
1708
|
+
"object/get",
|
|
1709
|
+
"@c",
|
|
1710
|
+
"iconUrl"
|
|
1711
|
+
],
|
|
1712
|
+
"label": [
|
|
1713
|
+
"object/get",
|
|
1714
|
+
"@c",
|
|
1715
|
+
"label"
|
|
1716
|
+
],
|
|
1717
|
+
"slotId": [
|
|
1718
|
+
"object/get",
|
|
1719
|
+
"@s",
|
|
1720
|
+
"id"
|
|
1721
|
+
]
|
|
1722
|
+
}
|
|
1723
|
+
]
|
|
1724
|
+
]
|
|
1725
|
+
}
|
|
1726
|
+
]
|
|
1727
|
+
]
|
|
1728
|
+
]
|
|
1485
1729
|
],
|
|
1486
1730
|
[
|
|
1487
1731
|
"set",
|
|
@@ -1542,31 +1786,22 @@
|
|
|
1542
1786
|
"type": "stack"
|
|
1543
1787
|
},
|
|
1544
1788
|
{
|
|
1545
|
-
"entity": "@
|
|
1789
|
+
"entity": "@s.options",
|
|
1546
1790
|
"fields": [],
|
|
1547
1791
|
"gap": "xs",
|
|
1548
1792
|
"renderItem": [
|
|
1549
1793
|
"fn",
|
|
1550
|
-
"
|
|
1794
|
+
"opt",
|
|
1551
1795
|
{
|
|
1552
1796
|
"action": "PLACE",
|
|
1553
1797
|
"actionPayload": {
|
|
1554
|
-
"componentId": "@
|
|
1555
|
-
"slotId": "@
|
|
1798
|
+
"componentId": "@opt.componentId",
|
|
1799
|
+
"slotId": "@opt.slotId"
|
|
1556
1800
|
},
|
|
1557
|
-
"iconAsset": "@
|
|
1558
|
-
"label": "@
|
|
1801
|
+
"iconAsset": "@opt.iconUrl",
|
|
1802
|
+
"label": "@opt.label",
|
|
1559
1803
|
"type": "button",
|
|
1560
|
-
"variant":
|
|
1561
|
-
"if",
|
|
1562
|
-
[
|
|
1563
|
-
"==",
|
|
1564
|
-
"@s.placedComponentId",
|
|
1565
|
-
"@c.id"
|
|
1566
|
-
],
|
|
1567
|
-
"success",
|
|
1568
|
-
"ghost"
|
|
1569
|
-
]
|
|
1804
|
+
"variant": "primary"
|
|
1570
1805
|
}
|
|
1571
1806
|
],
|
|
1572
1807
|
"type": "data-list"
|