@almadar/patterns 2.0.0 → 2.0.1
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 +45 -35
- package/dist/index.d.ts +3865 -635
- package/dist/index.js +1677 -287
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +1439 -168
- package/dist/registry.json +1439 -168
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-
|
|
3
|
+
"exportedAt": "2026-03-03T11:14:06.592Z",
|
|
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-03T11:14:06.592Z",
|
|
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",
|
|
@@ -154,6 +168,13 @@
|
|
|
154
168
|
"payload": {
|
|
155
169
|
"type": "object"
|
|
156
170
|
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"event": "NAVIGATE",
|
|
174
|
+
"trigger": "action",
|
|
175
|
+
"payload": {
|
|
176
|
+
"type": "object"
|
|
177
|
+
}
|
|
157
178
|
}
|
|
158
179
|
],
|
|
159
180
|
"requires": [],
|
|
@@ -162,6 +183,13 @@
|
|
|
162
183
|
},
|
|
163
184
|
"entity-list": {
|
|
164
185
|
"emits": [
|
|
186
|
+
{
|
|
187
|
+
"event": "NAVIGATE",
|
|
188
|
+
"trigger": "action",
|
|
189
|
+
"payload": {
|
|
190
|
+
"type": "object"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
165
193
|
{
|
|
166
194
|
"event": "SELECT",
|
|
167
195
|
"trigger": "action",
|
|
@@ -190,6 +218,13 @@
|
|
|
190
218
|
},
|
|
191
219
|
"detail-panel": {
|
|
192
220
|
"emits": [
|
|
221
|
+
{
|
|
222
|
+
"event": "NAVIGATE",
|
|
223
|
+
"trigger": "action",
|
|
224
|
+
"payload": {
|
|
225
|
+
"type": "object"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
193
228
|
{
|
|
194
229
|
"event": "CLOSE",
|
|
195
230
|
"trigger": "action",
|
|
@@ -199,17 +234,16 @@
|
|
|
199
234
|
}
|
|
200
235
|
],
|
|
201
236
|
"requires": [],
|
|
202
|
-
"entityAware":
|
|
237
|
+
"entityAware": true
|
|
203
238
|
},
|
|
204
239
|
"page-header": {
|
|
205
240
|
"emits": [
|
|
206
241
|
{
|
|
207
|
-
"event": "
|
|
208
|
-
"trigger": "
|
|
242
|
+
"event": "NAVIGATE",
|
|
243
|
+
"trigger": "action",
|
|
209
244
|
"payload": {
|
|
210
|
-
"type": "
|
|
211
|
-
}
|
|
212
|
-
"optional": true
|
|
245
|
+
"type": "object"
|
|
246
|
+
}
|
|
213
247
|
}
|
|
214
248
|
],
|
|
215
249
|
"requires": [],
|
|
@@ -534,28 +568,11 @@
|
|
|
534
568
|
"game-menu": {
|
|
535
569
|
"emits": [
|
|
536
570
|
{
|
|
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",
|
|
571
|
+
"event": "NAVIGATE",
|
|
572
|
+
"trigger": "action",
|
|
555
573
|
"payload": {
|
|
556
|
-
"type": "
|
|
557
|
-
}
|
|
558
|
-
"optional": true
|
|
574
|
+
"type": "object"
|
|
575
|
+
}
|
|
559
576
|
}
|
|
560
577
|
],
|
|
561
578
|
"requires": [],
|
|
@@ -954,13 +971,6 @@
|
|
|
954
971
|
"payload": {
|
|
955
972
|
"type": "object"
|
|
956
973
|
}
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
"event": "MEDIA_UPLOAD",
|
|
960
|
-
"trigger": "action",
|
|
961
|
-
"payload": {
|
|
962
|
-
"type": "object"
|
|
963
|
-
}
|
|
964
974
|
}
|
|
965
975
|
],
|
|
966
976
|
"requires": [],
|