@almadar/patterns 1.0.13 → 1.0.15
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 +87 -37
- package/dist/event-contracts.json +82 -135
- package/dist/index.d.ts +11259 -8630
- package/dist/index.js +2123 -874
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +1882 -535
- package/dist/registry.json +1882 -535
- package/package.json +10 -9
- package/LICENSE +0 -72
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-02-
|
|
3
|
+
"exportedAt": "2026-02-10T15:35:56.769Z",
|
|
4
4
|
"mappings": {
|
|
5
5
|
"page-header": {
|
|
6
6
|
"component": "PageHeader",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"category": "form"
|
|
39
39
|
},
|
|
40
40
|
"form-section": {
|
|
41
|
-
"component": "
|
|
41
|
+
"component": "Form",
|
|
42
42
|
"importPath": "@/components/organisms/Form",
|
|
43
43
|
"category": "form"
|
|
44
44
|
},
|
|
@@ -137,46 +137,21 @@
|
|
|
137
137
|
"importPath": "@/components/organisms/layout/DashboardGrid",
|
|
138
138
|
"category": "layout"
|
|
139
139
|
},
|
|
140
|
-
"game-canvas": {
|
|
141
|
-
"component": "GameCanvas",
|
|
142
|
-
"importPath": "@/components/organisms/game/GameCanvas",
|
|
143
|
-
"category": "game"
|
|
144
|
-
},
|
|
145
140
|
"game-hud": {
|
|
146
141
|
"component": "GameHud",
|
|
147
142
|
"importPath": "@/components/organisms/game/GameHud",
|
|
148
143
|
"category": "game"
|
|
149
144
|
},
|
|
150
|
-
"game-controls": {
|
|
151
|
-
"component": "GameControls",
|
|
152
|
-
"importPath": "@/components/organisms/game/GameControls",
|
|
153
|
-
"category": "game"
|
|
154
|
-
},
|
|
155
145
|
"game-menu": {
|
|
156
146
|
"component": "GameMenu",
|
|
157
147
|
"importPath": "@/components/organisms/game/GameMenu",
|
|
158
148
|
"category": "game"
|
|
159
149
|
},
|
|
160
|
-
"game-pause-overlay": {
|
|
161
|
-
"component": "GamePauseOverlay",
|
|
162
|
-
"importPath": "@/components/organisms/game/GamePauseOverlay",
|
|
163
|
-
"category": "game"
|
|
164
|
-
},
|
|
165
150
|
"game-over-screen": {
|
|
166
151
|
"component": "GameOverScreen",
|
|
167
152
|
"importPath": "@/components/organisms/game/GameOverScreen",
|
|
168
153
|
"category": "game"
|
|
169
154
|
},
|
|
170
|
-
"level-select": {
|
|
171
|
-
"component": "LevelSelect",
|
|
172
|
-
"importPath": "@/components/organisms/game/LevelSelect",
|
|
173
|
-
"category": "game"
|
|
174
|
-
},
|
|
175
|
-
"tilemap-renderer": {
|
|
176
|
-
"component": "TilemapRenderer",
|
|
177
|
-
"importPath": "@/components/organisms/game/TilemapRenderer",
|
|
178
|
-
"category": "game"
|
|
179
|
-
},
|
|
180
155
|
"inventory-panel": {
|
|
181
156
|
"component": "InventoryPanel",
|
|
182
157
|
"importPath": "@/components/organisms/game/InventoryPanel",
|
|
@@ -187,16 +162,6 @@
|
|
|
187
162
|
"importPath": "@/components/organisms/game/DialogueBox",
|
|
188
163
|
"category": "game"
|
|
189
164
|
},
|
|
190
|
-
"input-listener": {
|
|
191
|
-
"component": "InputListener",
|
|
192
|
-
"importPath": "@/components/organisms/game/InputListener",
|
|
193
|
-
"category": "game"
|
|
194
|
-
},
|
|
195
|
-
"collision-detector": {
|
|
196
|
-
"component": "CollisionDetector",
|
|
197
|
-
"importPath": "@/components/organisms/game/CollisionDetector",
|
|
198
|
-
"category": "game"
|
|
199
|
-
},
|
|
200
165
|
"runtime-debugger": {
|
|
201
166
|
"component": "RuntimeDebugger",
|
|
202
167
|
"importPath": "@/components/organisms/debug/RuntimeDebugger",
|
|
@@ -395,6 +360,16 @@
|
|
|
395
360
|
"importPath": "@/components/atoms/Stack",
|
|
396
361
|
"category": "component"
|
|
397
362
|
},
|
|
363
|
+
"vstack": {
|
|
364
|
+
"component": "VStack",
|
|
365
|
+
"importPath": "@/components/atoms/Stack",
|
|
366
|
+
"category": "component"
|
|
367
|
+
},
|
|
368
|
+
"hstack": {
|
|
369
|
+
"component": "HStack",
|
|
370
|
+
"importPath": "@/components/atoms/Stack",
|
|
371
|
+
"category": "component"
|
|
372
|
+
},
|
|
398
373
|
"text-highlight": {
|
|
399
374
|
"component": "TextHighlight",
|
|
400
375
|
"importPath": "@/components/atoms/TextHighlight",
|
|
@@ -614,6 +589,81 @@
|
|
|
614
589
|
"component": "GameShell",
|
|
615
590
|
"importPath": "@/components/templates/GameShell",
|
|
616
591
|
"category": "template"
|
|
592
|
+
},
|
|
593
|
+
"chart": {
|
|
594
|
+
"component": "Chart",
|
|
595
|
+
"importPath": "@almadar/ui",
|
|
596
|
+
"category": "visualization"
|
|
597
|
+
},
|
|
598
|
+
"meter": {
|
|
599
|
+
"component": "Meter",
|
|
600
|
+
"importPath": "@almadar/ui",
|
|
601
|
+
"category": "visualization"
|
|
602
|
+
},
|
|
603
|
+
"timeline": {
|
|
604
|
+
"component": "Timeline",
|
|
605
|
+
"importPath": "@almadar/ui",
|
|
606
|
+
"category": "display"
|
|
607
|
+
},
|
|
608
|
+
"media-gallery": {
|
|
609
|
+
"component": "MediaGallery",
|
|
610
|
+
"importPath": "@almadar/ui",
|
|
611
|
+
"category": "media"
|
|
612
|
+
},
|
|
613
|
+
"signature-pad": {
|
|
614
|
+
"component": "SignaturePad",
|
|
615
|
+
"importPath": "@almadar/ui",
|
|
616
|
+
"category": "form"
|
|
617
|
+
},
|
|
618
|
+
"document-viewer": {
|
|
619
|
+
"component": "DocumentViewer",
|
|
620
|
+
"importPath": "@almadar/ui",
|
|
621
|
+
"category": "display"
|
|
622
|
+
},
|
|
623
|
+
"graph-canvas": {
|
|
624
|
+
"component": "GraphCanvas",
|
|
625
|
+
"importPath": "@almadar/ui",
|
|
626
|
+
"category": "visualization"
|
|
627
|
+
},
|
|
628
|
+
"code-viewer": {
|
|
629
|
+
"component": "CodeViewer",
|
|
630
|
+
"importPath": "@almadar/ui",
|
|
631
|
+
"category": "display"
|
|
632
|
+
},
|
|
633
|
+
"canvas-effect": {
|
|
634
|
+
"component": "CanvasEffect",
|
|
635
|
+
"importPath": "@/components/organisms/CanvasEffect",
|
|
636
|
+
"category": "game"
|
|
637
|
+
},
|
|
638
|
+
"isometric-canvas": {
|
|
639
|
+
"component": "IsometricCanvas",
|
|
640
|
+
"importPath": "@/components/organisms/IsometricCanvas",
|
|
641
|
+
"category": "game"
|
|
642
|
+
},
|
|
643
|
+
"battle-template": {
|
|
644
|
+
"component": "BattleTemplate",
|
|
645
|
+
"importPath": "@/components/templates/BattleTemplate",
|
|
646
|
+
"category": "template"
|
|
647
|
+
},
|
|
648
|
+
"castle-template": {
|
|
649
|
+
"component": "CastleTemplate",
|
|
650
|
+
"importPath": "@/components/templates/CastleTemplate",
|
|
651
|
+
"category": "template"
|
|
652
|
+
},
|
|
653
|
+
"world-map-template": {
|
|
654
|
+
"component": "WorldMapTemplate",
|
|
655
|
+
"importPath": "@/components/templates/WorldMapTemplate",
|
|
656
|
+
"category": "template"
|
|
657
|
+
},
|
|
658
|
+
"heading": {
|
|
659
|
+
"component": "Typography",
|
|
660
|
+
"importPath": "@/components/atoms/Typography",
|
|
661
|
+
"category": "component"
|
|
662
|
+
},
|
|
663
|
+
"text": {
|
|
664
|
+
"component": "Typography",
|
|
665
|
+
"importPath": "@/components/atoms/Typography",
|
|
666
|
+
"category": "component"
|
|
617
667
|
}
|
|
618
668
|
}
|
|
619
669
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-02-
|
|
3
|
+
"exportedAt": "2026-02-10T15:35:56.769Z",
|
|
4
4
|
"contracts": {
|
|
5
5
|
"form": {
|
|
6
6
|
"emits": [
|
|
@@ -42,17 +42,31 @@
|
|
|
42
42
|
"form-section": {
|
|
43
43
|
"emits": [
|
|
44
44
|
{
|
|
45
|
-
"event": "
|
|
46
|
-
"trigger": "
|
|
45
|
+
"event": "GLOBAL_VARIABLE_SET",
|
|
46
|
+
"trigger": "action",
|
|
47
47
|
"payload": {
|
|
48
|
-
"type": "
|
|
48
|
+
"type": "object"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"event": "
|
|
53
|
-
"trigger": "
|
|
52
|
+
"event": "VIOLATION_DETECTED",
|
|
53
|
+
"trigger": "action",
|
|
54
54
|
"payload": {
|
|
55
|
-
"type": "
|
|
55
|
+
"type": "object"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"event": "FIELD_CHANGED",
|
|
60
|
+
"trigger": "action",
|
|
61
|
+
"payload": {
|
|
62
|
+
"type": "object"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"event": "CLOSE",
|
|
67
|
+
"trigger": "action",
|
|
68
|
+
"payload": {
|
|
69
|
+
"type": "object"
|
|
56
70
|
}
|
|
57
71
|
}
|
|
58
72
|
],
|
|
@@ -60,7 +74,7 @@
|
|
|
60
74
|
"SAVE",
|
|
61
75
|
"CANCEL"
|
|
62
76
|
],
|
|
63
|
-
"entityAware":
|
|
77
|
+
"entityAware": true
|
|
64
78
|
},
|
|
65
79
|
"form-actions": {
|
|
66
80
|
"emits": [
|
|
@@ -473,56 +487,11 @@
|
|
|
473
487
|
"requires": [],
|
|
474
488
|
"entityAware": false
|
|
475
489
|
},
|
|
476
|
-
"game-canvas": {
|
|
477
|
-
"emits": [
|
|
478
|
-
{
|
|
479
|
-
"event": "MOVE_LEFT",
|
|
480
|
-
"trigger": "keydown",
|
|
481
|
-
"payload": {
|
|
482
|
-
"type": "void"
|
|
483
|
-
},
|
|
484
|
-
"optional": true
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"event": "MOVE_RIGHT",
|
|
488
|
-
"trigger": "keydown",
|
|
489
|
-
"payload": {
|
|
490
|
-
"type": "void"
|
|
491
|
-
},
|
|
492
|
-
"optional": true
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"event": "JUMP",
|
|
496
|
-
"trigger": "keydown",
|
|
497
|
-
"payload": {
|
|
498
|
-
"type": "void"
|
|
499
|
-
},
|
|
500
|
-
"optional": true
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"event": "PAUSE",
|
|
504
|
-
"trigger": "keydown",
|
|
505
|
-
"payload": {
|
|
506
|
-
"type": "void"
|
|
507
|
-
},
|
|
508
|
-
"optional": true
|
|
509
|
-
}
|
|
510
|
-
],
|
|
511
|
-
"requires": [],
|
|
512
|
-
"entityAware": false,
|
|
513
|
-
"configDriven": true
|
|
514
|
-
},
|
|
515
490
|
"game-hud": {
|
|
516
491
|
"emits": [],
|
|
517
492
|
"requires": [],
|
|
518
493
|
"entityAware": false
|
|
519
494
|
},
|
|
520
|
-
"game-controls": {
|
|
521
|
-
"emits": [],
|
|
522
|
-
"requires": [],
|
|
523
|
-
"entityAware": false,
|
|
524
|
-
"configDriven": true
|
|
525
|
-
},
|
|
526
495
|
"game-menu": {
|
|
527
496
|
"emits": [
|
|
528
497
|
{
|
|
@@ -554,21 +523,6 @@
|
|
|
554
523
|
"entityAware": false,
|
|
555
524
|
"configDriven": true
|
|
556
525
|
},
|
|
557
|
-
"game-pause-overlay": {
|
|
558
|
-
"emits": [
|
|
559
|
-
{
|
|
560
|
-
"event": "RESUME",
|
|
561
|
-
"trigger": "action",
|
|
562
|
-
"payload": {
|
|
563
|
-
"type": "object"
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
],
|
|
567
|
-
"requires": [
|
|
568
|
-
"RESUME"
|
|
569
|
-
],
|
|
570
|
-
"entityAware": false
|
|
571
|
-
},
|
|
572
526
|
"game-over-screen": {
|
|
573
527
|
"emits": [
|
|
574
528
|
{
|
|
@@ -592,24 +546,6 @@
|
|
|
592
546
|
],
|
|
593
547
|
"entityAware": false
|
|
594
548
|
},
|
|
595
|
-
"level-select": {
|
|
596
|
-
"emits": [
|
|
597
|
-
{
|
|
598
|
-
"event": "SELECT_LEVEL",
|
|
599
|
-
"trigger": "click",
|
|
600
|
-
"payload": {
|
|
601
|
-
"type": "EntityRow"
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
],
|
|
605
|
-
"requires": [],
|
|
606
|
-
"entityAware": true
|
|
607
|
-
},
|
|
608
|
-
"tilemap-renderer": {
|
|
609
|
-
"emits": [],
|
|
610
|
-
"requires": [],
|
|
611
|
-
"entityAware": false
|
|
612
|
-
},
|
|
613
549
|
"inventory-panel": {
|
|
614
550
|
"emits": [
|
|
615
551
|
{
|
|
@@ -653,55 +589,6 @@
|
|
|
653
589
|
"requires": [],
|
|
654
590
|
"entityAware": false
|
|
655
591
|
},
|
|
656
|
-
"input-listener": {
|
|
657
|
-
"emits": [
|
|
658
|
-
{
|
|
659
|
-
"event": "KEY_DOWN",
|
|
660
|
-
"trigger": "keydown",
|
|
661
|
-
"payload": {
|
|
662
|
-
"type": "void"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"event": "KEY_UP",
|
|
667
|
-
"trigger": "keydown",
|
|
668
|
-
"payload": {
|
|
669
|
-
"type": "void"
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
],
|
|
673
|
-
"requires": [],
|
|
674
|
-
"entityAware": false,
|
|
675
|
-
"configDriven": true
|
|
676
|
-
},
|
|
677
|
-
"collision-detector": {
|
|
678
|
-
"emits": [
|
|
679
|
-
{
|
|
680
|
-
"event": "COLLISION_ENTER",
|
|
681
|
-
"trigger": "action",
|
|
682
|
-
"payload": {
|
|
683
|
-
"type": "EntityRow"
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"event": "COLLISION_EXIT",
|
|
688
|
-
"trigger": "action",
|
|
689
|
-
"payload": {
|
|
690
|
-
"type": "EntityRow"
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"event": "TRIGGER_ENTER",
|
|
695
|
-
"trigger": "action",
|
|
696
|
-
"payload": {
|
|
697
|
-
"type": "EntityRow"
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
],
|
|
701
|
-
"requires": [],
|
|
702
|
-
"entityAware": false,
|
|
703
|
-
"configDriven": true
|
|
704
|
-
},
|
|
705
592
|
"runtime-debugger": {
|
|
706
593
|
"emits": [],
|
|
707
594
|
"requires": [],
|
|
@@ -979,6 +866,66 @@
|
|
|
979
866
|
],
|
|
980
867
|
"requires": [],
|
|
981
868
|
"entityAware": false
|
|
869
|
+
},
|
|
870
|
+
"code-viewer": {
|
|
871
|
+
"emits": [
|
|
872
|
+
{
|
|
873
|
+
"event": "CODE_COPY",
|
|
874
|
+
"trigger": "action",
|
|
875
|
+
"payload": {
|
|
876
|
+
"type": "object"
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"requires": [],
|
|
881
|
+
"entityAware": true
|
|
882
|
+
},
|
|
883
|
+
"document-viewer": {
|
|
884
|
+
"emits": [
|
|
885
|
+
{
|
|
886
|
+
"event": "DOCUMENT_DOWNLOAD",
|
|
887
|
+
"trigger": "action",
|
|
888
|
+
"payload": {
|
|
889
|
+
"type": "object"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"event": "DOCUMENT_PRINT",
|
|
894
|
+
"trigger": "action",
|
|
895
|
+
"payload": {
|
|
896
|
+
"type": "object"
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"event": "DOCUMENT_PAGE_CHANGE",
|
|
901
|
+
"trigger": "action",
|
|
902
|
+
"payload": {
|
|
903
|
+
"type": "object"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
"requires": [],
|
|
908
|
+
"entityAware": true
|
|
909
|
+
},
|
|
910
|
+
"media-gallery": {
|
|
911
|
+
"emits": [
|
|
912
|
+
{
|
|
913
|
+
"event": "MEDIA_SELECT",
|
|
914
|
+
"trigger": "action",
|
|
915
|
+
"payload": {
|
|
916
|
+
"type": "object"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"event": "MEDIA_UPLOAD",
|
|
921
|
+
"trigger": "action",
|
|
922
|
+
"payload": {
|
|
923
|
+
"type": "object"
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"requires": [],
|
|
928
|
+
"entityAware": true
|
|
982
929
|
}
|
|
983
930
|
}
|
|
984
931
|
}
|