@almadar/patterns 1.0.13 → 1.0.14
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 +61 -36
- package/dist/event-contracts.json +61 -128
- package/dist/index.d.ts +8712 -8023
- package/dist/index.js +1366 -886
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +1144 -524
- package/dist/registry.json +1144 -524
- 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-10T05:45:36.769Z",
|
|
4
4
|
"mappings": {
|
|
5
5
|
"page-header": {
|
|
6
6
|
"component": "PageHeader",
|
|
@@ -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,56 @@
|
|
|
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"
|
|
617
642
|
}
|
|
618
643
|
}
|
|
619
644
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-02-
|
|
3
|
+
"exportedAt": "2026-02-10T05:45:36.769Z",
|
|
4
4
|
"contracts": {
|
|
5
5
|
"form": {
|
|
6
6
|
"emits": [
|
|
@@ -473,56 +473,11 @@
|
|
|
473
473
|
"requires": [],
|
|
474
474
|
"entityAware": false
|
|
475
475
|
},
|
|
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
476
|
"game-hud": {
|
|
516
477
|
"emits": [],
|
|
517
478
|
"requires": [],
|
|
518
479
|
"entityAware": false
|
|
519
480
|
},
|
|
520
|
-
"game-controls": {
|
|
521
|
-
"emits": [],
|
|
522
|
-
"requires": [],
|
|
523
|
-
"entityAware": false,
|
|
524
|
-
"configDriven": true
|
|
525
|
-
},
|
|
526
481
|
"game-menu": {
|
|
527
482
|
"emits": [
|
|
528
483
|
{
|
|
@@ -554,21 +509,6 @@
|
|
|
554
509
|
"entityAware": false,
|
|
555
510
|
"configDriven": true
|
|
556
511
|
},
|
|
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
512
|
"game-over-screen": {
|
|
573
513
|
"emits": [
|
|
574
514
|
{
|
|
@@ -592,24 +532,6 @@
|
|
|
592
532
|
],
|
|
593
533
|
"entityAware": false
|
|
594
534
|
},
|
|
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
535
|
"inventory-panel": {
|
|
614
536
|
"emits": [
|
|
615
537
|
{
|
|
@@ -653,55 +575,6 @@
|
|
|
653
575
|
"requires": [],
|
|
654
576
|
"entityAware": false
|
|
655
577
|
},
|
|
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
578
|
"runtime-debugger": {
|
|
706
579
|
"emits": [],
|
|
707
580
|
"requires": [],
|
|
@@ -979,6 +852,66 @@
|
|
|
979
852
|
],
|
|
980
853
|
"requires": [],
|
|
981
854
|
"entityAware": false
|
|
855
|
+
},
|
|
856
|
+
"code-viewer": {
|
|
857
|
+
"emits": [
|
|
858
|
+
{
|
|
859
|
+
"event": "CODE_COPY",
|
|
860
|
+
"trigger": "action",
|
|
861
|
+
"payload": {
|
|
862
|
+
"type": "object"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
],
|
|
866
|
+
"requires": [],
|
|
867
|
+
"entityAware": true
|
|
868
|
+
},
|
|
869
|
+
"document-viewer": {
|
|
870
|
+
"emits": [
|
|
871
|
+
{
|
|
872
|
+
"event": "DOCUMENT_DOWNLOAD",
|
|
873
|
+
"trigger": "action",
|
|
874
|
+
"payload": {
|
|
875
|
+
"type": "object"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"event": "DOCUMENT_PRINT",
|
|
880
|
+
"trigger": "action",
|
|
881
|
+
"payload": {
|
|
882
|
+
"type": "object"
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"event": "DOCUMENT_PAGE_CHANGE",
|
|
887
|
+
"trigger": "action",
|
|
888
|
+
"payload": {
|
|
889
|
+
"type": "object"
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"requires": [],
|
|
894
|
+
"entityAware": true
|
|
895
|
+
},
|
|
896
|
+
"media-gallery": {
|
|
897
|
+
"emits": [
|
|
898
|
+
{
|
|
899
|
+
"event": "MEDIA_SELECT",
|
|
900
|
+
"trigger": "action",
|
|
901
|
+
"payload": {
|
|
902
|
+
"type": "object"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"event": "MEDIA_UPLOAD",
|
|
907
|
+
"trigger": "action",
|
|
908
|
+
"payload": {
|
|
909
|
+
"type": "object"
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
],
|
|
913
|
+
"requires": [],
|
|
914
|
+
"entityAware": true
|
|
982
915
|
}
|
|
983
916
|
}
|
|
984
917
|
}
|