@almadar/patterns 2.0.0 → 2.0.3
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/dist/component-mapping.json +111 -1
- package/dist/event-contracts.json +171 -48
- package/dist/index.d.ts +4911 -882
- package/dist/index.js +2005 -239
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +1713 -179
- package/dist/registry.json +1713 -179
- package/package.json +4 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-
|
|
3
|
+
"exportedAt": "2026-03-05T06:51:24.222Z",
|
|
4
4
|
"mappings": {
|
|
5
5
|
"page-header": {
|
|
6
6
|
"component": "PageHeader",
|
|
@@ -830,6 +830,116 @@
|
|
|
830
830
|
"importPath": "@/components/molecules/ScaledDiagram",
|
|
831
831
|
"category": "component"
|
|
832
832
|
},
|
|
833
|
+
"combat-log": {
|
|
834
|
+
"component": "CombatLog",
|
|
835
|
+
"importPath": "@/components/organisms/CombatLog",
|
|
836
|
+
"category": "game"
|
|
837
|
+
},
|
|
838
|
+
"simulation-canvas": {
|
|
839
|
+
"component": "SimulationCanvas",
|
|
840
|
+
"importPath": "@/components/organisms/SimulationCanvas",
|
|
841
|
+
"category": "game"
|
|
842
|
+
},
|
|
843
|
+
"simulation-controls": {
|
|
844
|
+
"component": "SimulationControls",
|
|
845
|
+
"importPath": "@/components/organisms/SimulationControls",
|
|
846
|
+
"category": "display"
|
|
847
|
+
},
|
|
848
|
+
"simulation-graph": {
|
|
849
|
+
"component": "SimulationGraph",
|
|
850
|
+
"importPath": "@/components/organisms/SimulationGraph",
|
|
851
|
+
"category": "display"
|
|
852
|
+
},
|
|
853
|
+
"builder-board": {
|
|
854
|
+
"component": "BuilderBoard",
|
|
855
|
+
"importPath": "@/components/organisms/BuilderBoard",
|
|
856
|
+
"category": "game"
|
|
857
|
+
},
|
|
858
|
+
"classifier-board": {
|
|
859
|
+
"component": "ClassifierBoard",
|
|
860
|
+
"importPath": "@/components/organisms/ClassifierBoard",
|
|
861
|
+
"category": "game"
|
|
862
|
+
},
|
|
863
|
+
"debugger-board": {
|
|
864
|
+
"component": "DebuggerBoard",
|
|
865
|
+
"importPath": "@/components/organisms/DebuggerBoard",
|
|
866
|
+
"category": "game"
|
|
867
|
+
},
|
|
868
|
+
"event-handler-board": {
|
|
869
|
+
"component": "EventHandlerBoard",
|
|
870
|
+
"importPath": "@/components/organisms/EventHandlerBoard",
|
|
871
|
+
"category": "game"
|
|
872
|
+
},
|
|
873
|
+
"event-log": {
|
|
874
|
+
"component": "EventLog",
|
|
875
|
+
"importPath": "@/components/organisms/EventLog",
|
|
876
|
+
"category": "display"
|
|
877
|
+
},
|
|
878
|
+
"object-rule-panel": {
|
|
879
|
+
"component": "ObjectRulePanel",
|
|
880
|
+
"importPath": "@/components/organisms/ObjectRulePanel",
|
|
881
|
+
"category": "display"
|
|
882
|
+
},
|
|
883
|
+
"rule-editor": {
|
|
884
|
+
"component": "RuleEditor",
|
|
885
|
+
"importPath": "@/components/organisms/RuleEditor",
|
|
886
|
+
"category": "display"
|
|
887
|
+
},
|
|
888
|
+
"negotiator-board": {
|
|
889
|
+
"component": "NegotiatorBoard",
|
|
890
|
+
"importPath": "@/components/organisms/NegotiatorBoard",
|
|
891
|
+
"category": "game"
|
|
892
|
+
},
|
|
893
|
+
"action-palette": {
|
|
894
|
+
"component": "ActionPalette",
|
|
895
|
+
"importPath": "@/components/organisms/ActionPalette",
|
|
896
|
+
"category": "display"
|
|
897
|
+
},
|
|
898
|
+
"action-tile": {
|
|
899
|
+
"component": "ActionTile",
|
|
900
|
+
"importPath": "@/components/organisms/ActionTile",
|
|
901
|
+
"category": "game"
|
|
902
|
+
},
|
|
903
|
+
"sequence-bar": {
|
|
904
|
+
"component": "SequenceBar",
|
|
905
|
+
"importPath": "@/components/organisms/SequenceBar",
|
|
906
|
+
"category": "display"
|
|
907
|
+
},
|
|
908
|
+
"sequencer-board": {
|
|
909
|
+
"component": "SequencerBoard",
|
|
910
|
+
"importPath": "@/components/organisms/SequencerBoard",
|
|
911
|
+
"category": "game"
|
|
912
|
+
},
|
|
913
|
+
"simulator-board": {
|
|
914
|
+
"component": "SimulatorBoard",
|
|
915
|
+
"importPath": "@/components/organisms/SimulatorBoard",
|
|
916
|
+
"category": "game"
|
|
917
|
+
},
|
|
918
|
+
"code-view": {
|
|
919
|
+
"component": "CodeView",
|
|
920
|
+
"importPath": "@/components/organisms/CodeView",
|
|
921
|
+
"category": "display"
|
|
922
|
+
},
|
|
923
|
+
"state-architect-board": {
|
|
924
|
+
"component": "StateArchitectBoard",
|
|
925
|
+
"importPath": "@/components/organisms/StateArchitectBoard",
|
|
926
|
+
"category": "display"
|
|
927
|
+
},
|
|
928
|
+
"state-node": {
|
|
929
|
+
"component": "StateNode",
|
|
930
|
+
"importPath": "@/components/organisms/StateNode",
|
|
931
|
+
"category": "display"
|
|
932
|
+
},
|
|
933
|
+
"transition-arrow": {
|
|
934
|
+
"component": "TransitionArrow",
|
|
935
|
+
"importPath": "@/components/organisms/TransitionArrow",
|
|
936
|
+
"category": "display"
|
|
937
|
+
},
|
|
938
|
+
"variable-panel": {
|
|
939
|
+
"component": "VariablePanel",
|
|
940
|
+
"importPath": "@/components/organisms/VariablePanel",
|
|
941
|
+
"category": "display"
|
|
942
|
+
},
|
|
833
943
|
"heading": {
|
|
834
944
|
"component": "Typography",
|
|
835
945
|
"importPath": "@/components/atoms/Typography",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-
|
|
3
|
+
"exportedAt": "2026-03-05T06:51:24.222Z",
|
|
4
4
|
"contracts": {
|
|
5
5
|
"form": {
|
|
6
6
|
"emits": [
|
|
@@ -84,6 +84,13 @@
|
|
|
84
84
|
"payload": {
|
|
85
85
|
"type": "object"
|
|
86
86
|
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"event": "NAVIGATE",
|
|
90
|
+
"trigger": "action",
|
|
91
|
+
"payload": {
|
|
92
|
+
"type": "object"
|
|
93
|
+
}
|
|
87
94
|
}
|
|
88
95
|
],
|
|
89
96
|
"requires": [],
|
|
@@ -92,6 +99,13 @@
|
|
|
92
99
|
},
|
|
93
100
|
"entity-table": {
|
|
94
101
|
"emits": [
|
|
102
|
+
{
|
|
103
|
+
"event": "NAVIGATE",
|
|
104
|
+
"trigger": "action",
|
|
105
|
+
"payload": {
|
|
106
|
+
"type": "object"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
95
109
|
{
|
|
96
110
|
"event": "VIEW",
|
|
97
111
|
"trigger": "action",
|
|
@@ -149,7 +163,7 @@
|
|
|
149
163
|
}
|
|
150
164
|
},
|
|
151
165
|
{
|
|
152
|
-
"event": "
|
|
166
|
+
"event": "NAVIGATE",
|
|
153
167
|
"trigger": "action",
|
|
154
168
|
"payload": {
|
|
155
169
|
"type": "object"
|
|
@@ -163,21 +177,21 @@
|
|
|
163
177
|
"entity-list": {
|
|
164
178
|
"emits": [
|
|
165
179
|
{
|
|
166
|
-
"event": "
|
|
180
|
+
"event": "NAVIGATE",
|
|
167
181
|
"trigger": "action",
|
|
168
182
|
"payload": {
|
|
169
183
|
"type": "object"
|
|
170
184
|
}
|
|
171
185
|
},
|
|
172
186
|
{
|
|
173
|
-
"event": "
|
|
187
|
+
"event": "SELECT",
|
|
174
188
|
"trigger": "action",
|
|
175
189
|
"payload": {
|
|
176
190
|
"type": "object"
|
|
177
191
|
}
|
|
178
192
|
},
|
|
179
193
|
{
|
|
180
|
-
"event": "
|
|
194
|
+
"event": "DESELECT",
|
|
181
195
|
"trigger": "action",
|
|
182
196
|
"payload": {
|
|
183
197
|
"type": "object"
|
|
@@ -190,6 +204,13 @@
|
|
|
190
204
|
},
|
|
191
205
|
"detail-panel": {
|
|
192
206
|
"emits": [
|
|
207
|
+
{
|
|
208
|
+
"event": "NAVIGATE",
|
|
209
|
+
"trigger": "action",
|
|
210
|
+
"payload": {
|
|
211
|
+
"type": "object"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
193
214
|
{
|
|
194
215
|
"event": "CLOSE",
|
|
195
216
|
"trigger": "action",
|
|
@@ -199,17 +220,16 @@
|
|
|
199
220
|
}
|
|
200
221
|
],
|
|
201
222
|
"requires": [],
|
|
202
|
-
"entityAware":
|
|
223
|
+
"entityAware": true
|
|
203
224
|
},
|
|
204
225
|
"page-header": {
|
|
205
226
|
"emits": [
|
|
206
227
|
{
|
|
207
|
-
"event": "
|
|
208
|
-
"trigger": "
|
|
228
|
+
"event": "NAVIGATE",
|
|
229
|
+
"trigger": "action",
|
|
209
230
|
"payload": {
|
|
210
|
-
"type": "
|
|
211
|
-
}
|
|
212
|
-
"optional": true
|
|
231
|
+
"type": "object"
|
|
232
|
+
}
|
|
213
233
|
}
|
|
214
234
|
],
|
|
215
235
|
"requires": [],
|
|
@@ -505,7 +525,7 @@
|
|
|
505
525
|
"dashboard-grid": {
|
|
506
526
|
"emits": [],
|
|
507
527
|
"requires": [],
|
|
508
|
-
"entityAware":
|
|
528
|
+
"entityAware": true
|
|
509
529
|
},
|
|
510
530
|
"stats": {
|
|
511
531
|
"emits": [],
|
|
@@ -534,28 +554,11 @@
|
|
|
534
554
|
"game-menu": {
|
|
535
555
|
"emits": [
|
|
536
556
|
{
|
|
537
|
-
"event": "
|
|
538
|
-
"trigger": "
|
|
539
|
-
"payload": {
|
|
540
|
-
"type": "void"
|
|
541
|
-
},
|
|
542
|
-
"optional": true
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"event": "RESUME",
|
|
546
|
-
"trigger": "click",
|
|
547
|
-
"payload": {
|
|
548
|
-
"type": "void"
|
|
549
|
-
},
|
|
550
|
-
"optional": true
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"event": "RESTART",
|
|
554
|
-
"trigger": "click",
|
|
557
|
+
"event": "NAVIGATE",
|
|
558
|
+
"trigger": "action",
|
|
555
559
|
"payload": {
|
|
556
|
-
"type": "
|
|
557
|
-
}
|
|
558
|
-
"optional": true
|
|
560
|
+
"type": "object"
|
|
561
|
+
}
|
|
559
562
|
}
|
|
560
563
|
],
|
|
561
564
|
"requires": [],
|
|
@@ -610,19 +613,25 @@
|
|
|
610
613
|
"dialogue-box": {
|
|
611
614
|
"emits": [
|
|
612
615
|
{
|
|
613
|
-
"event": "
|
|
614
|
-
"trigger": "
|
|
616
|
+
"event": "COMPLETE",
|
|
617
|
+
"trigger": "action",
|
|
615
618
|
"payload": {
|
|
616
|
-
"type": "
|
|
619
|
+
"type": "object"
|
|
617
620
|
}
|
|
618
621
|
},
|
|
619
622
|
{
|
|
620
|
-
"event": "
|
|
621
|
-
"trigger": "
|
|
623
|
+
"event": "CHOICE",
|
|
624
|
+
"trigger": "action",
|
|
622
625
|
"payload": {
|
|
623
|
-
"type": "
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
+
"type": "object"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"event": "ADVANCE",
|
|
631
|
+
"trigger": "action",
|
|
632
|
+
"payload": {
|
|
633
|
+
"type": "object"
|
|
634
|
+
}
|
|
626
635
|
}
|
|
627
636
|
],
|
|
628
637
|
"requires": [],
|
|
@@ -954,13 +963,6 @@
|
|
|
954
963
|
"payload": {
|
|
955
964
|
"type": "object"
|
|
956
965
|
}
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
"event": "MEDIA_UPLOAD",
|
|
960
|
-
"trigger": "action",
|
|
961
|
-
"payload": {
|
|
962
|
-
"type": "object"
|
|
963
|
-
}
|
|
964
966
|
}
|
|
965
967
|
],
|
|
966
968
|
"requires": [],
|
|
@@ -1071,6 +1073,127 @@
|
|
|
1071
1073
|
],
|
|
1072
1074
|
"requires": [],
|
|
1073
1075
|
"entityAware": true
|
|
1076
|
+
},
|
|
1077
|
+
"action-buttons": {
|
|
1078
|
+
"emits": [
|
|
1079
|
+
{
|
|
1080
|
+
"event": "ACTION",
|
|
1081
|
+
"trigger": "action",
|
|
1082
|
+
"payload": {
|
|
1083
|
+
"type": "object"
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"requires": [],
|
|
1088
|
+
"entityAware": false
|
|
1089
|
+
},
|
|
1090
|
+
"d-pad": {
|
|
1091
|
+
"emits": [
|
|
1092
|
+
{
|
|
1093
|
+
"event": "DIRECTION",
|
|
1094
|
+
"trigger": "action",
|
|
1095
|
+
"payload": {
|
|
1096
|
+
"type": "object"
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"requires": [],
|
|
1101
|
+
"entityAware": false
|
|
1102
|
+
},
|
|
1103
|
+
"isometric-canvas": {
|
|
1104
|
+
"emits": [
|
|
1105
|
+
{
|
|
1106
|
+
"event": "TILE_CLICK",
|
|
1107
|
+
"trigger": "action",
|
|
1108
|
+
"payload": {
|
|
1109
|
+
"type": "object"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"event": "UNIT_CLICK",
|
|
1114
|
+
"trigger": "action",
|
|
1115
|
+
"payload": {
|
|
1116
|
+
"type": "object"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"event": "TILE_HOVER",
|
|
1121
|
+
"trigger": "action",
|
|
1122
|
+
"payload": {
|
|
1123
|
+
"type": "object"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"event": "TILE_LEAVE",
|
|
1128
|
+
"trigger": "action",
|
|
1129
|
+
"payload": {
|
|
1130
|
+
"type": "object"
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"requires": [],
|
|
1135
|
+
"entityAware": true
|
|
1136
|
+
},
|
|
1137
|
+
"trait-slot": {
|
|
1138
|
+
"emits": [
|
|
1139
|
+
{
|
|
1140
|
+
"event": "CLICK",
|
|
1141
|
+
"trigger": "action",
|
|
1142
|
+
"payload": {
|
|
1143
|
+
"type": "object"
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"event": "REMOVE",
|
|
1148
|
+
"trigger": "action",
|
|
1149
|
+
"payload": {
|
|
1150
|
+
"type": "object"
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
],
|
|
1154
|
+
"requires": [],
|
|
1155
|
+
"entityAware": true
|
|
1156
|
+
},
|
|
1157
|
+
"world-map-board": {
|
|
1158
|
+
"emits": [
|
|
1159
|
+
{
|
|
1160
|
+
"event": "HERO_SELECT",
|
|
1161
|
+
"trigger": "action",
|
|
1162
|
+
"payload": {
|
|
1163
|
+
"type": "object"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"event": "HERO_MOVE",
|
|
1168
|
+
"trigger": "action",
|
|
1169
|
+
"payload": {
|
|
1170
|
+
"type": "object"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"event": "BATTLE_ENCOUNTER",
|
|
1175
|
+
"trigger": "action",
|
|
1176
|
+
"payload": {
|
|
1177
|
+
"type": "object"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"event": "FEATURE_ENTER",
|
|
1182
|
+
"trigger": "action",
|
|
1183
|
+
"payload": {
|
|
1184
|
+
"type": "object"
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"event": "TILE_CLICK",
|
|
1189
|
+
"trigger": "action",
|
|
1190
|
+
"payload": {
|
|
1191
|
+
"type": "object"
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
],
|
|
1195
|
+
"requires": [],
|
|
1196
|
+
"entityAware": true
|
|
1074
1197
|
}
|
|
1075
1198
|
}
|
|
1076
1199
|
}
|