@genesislcap/foundation-utils 14.202.0 → 14.202.1-alpha-34c59e8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +211 -211
  2. package/package.json +10 -10
@@ -410,6 +410,56 @@
410
410
  }
411
411
  ]
412
412
  },
413
+ {
414
+ "kind": "javascript-module",
415
+ "path": "src/design-system/design-system.ts",
416
+ "declarations": [
417
+ {
418
+ "kind": "function",
419
+ "name": "assureDesignSystem",
420
+ "return": {
421
+ "type": {
422
+ "text": "DesignSystemModule"
423
+ }
424
+ },
425
+ "parameters": [
426
+ {
427
+ "name": "module",
428
+ "type": {
429
+ "text": "DesignSystemModule"
430
+ }
431
+ }
432
+ ],
433
+ "description": "assureDesignSystem.",
434
+ "privacy": "public"
435
+ }
436
+ ],
437
+ "exports": [
438
+ {
439
+ "kind": "js",
440
+ "name": "assureDesignSystem",
441
+ "declaration": {
442
+ "name": "assureDesignSystem",
443
+ "module": "src/design-system/design-system.ts"
444
+ }
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "kind": "javascript-module",
450
+ "path": "src/design-system/index.ts",
451
+ "declarations": [],
452
+ "exports": [
453
+ {
454
+ "kind": "js",
455
+ "name": "*",
456
+ "declaration": {
457
+ "name": "*",
458
+ "package": "./design-system"
459
+ }
460
+ }
461
+ ]
462
+ },
413
463
  {
414
464
  "kind": "javascript-module",
415
465
  "path": "src/directives/index.ts",
@@ -435,42 +485,191 @@
435
485
  },
436
486
  {
437
487
  "kind": "javascript-module",
438
- "path": "src/design-system/design-system.ts",
488
+ "path": "src/error/errorMap.ts",
439
489
  "declarations": [
490
+ {
491
+ "kind": "class",
492
+ "description": "",
493
+ "name": "DefaultErrorMap",
494
+ "members": [
495
+ {
496
+ "kind": "field",
497
+ "name": "map",
498
+ "privacy": "private",
499
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
500
+ },
501
+ {
502
+ "kind": "field",
503
+ "name": "lastError",
504
+ "type": {
505
+ "text": "Error"
506
+ },
507
+ "description": "{@inheritDoc ErrorMap.lastError}"
508
+ },
509
+ {
510
+ "kind": "method",
511
+ "name": "set",
512
+ "return": {
513
+ "type": {
514
+ "text": "void"
515
+ }
516
+ },
517
+ "parameters": [
518
+ {
519
+ "name": "key",
520
+ "type": {
521
+ "text": "keyof TErrorDetailMap"
522
+ }
523
+ },
524
+ {
525
+ "name": "error",
526
+ "type": {
527
+ "text": "Error"
528
+ }
529
+ }
530
+ ],
531
+ "description": "{@inheritDoc ErrorMap.set}"
532
+ },
533
+ {
534
+ "kind": "method",
535
+ "name": "get",
536
+ "return": {
537
+ "type": {
538
+ "text": ""
539
+ }
540
+ },
541
+ "parameters": [
542
+ {
543
+ "name": "key",
544
+ "type": {
545
+ "text": "keyof TErrorDetailMap"
546
+ },
547
+ "description": "The key."
548
+ }
549
+ ],
550
+ "description": "Get an error by key.",
551
+ "privacy": "public"
552
+ },
553
+ {
554
+ "kind": "method",
555
+ "name": "has",
556
+ "return": {
557
+ "type": {
558
+ "text": ""
559
+ }
560
+ },
561
+ "parameters": [
562
+ {
563
+ "name": "key",
564
+ "type": {
565
+ "text": "keyof TErrorDetailMap"
566
+ },
567
+ "description": "The key."
568
+ }
569
+ ],
570
+ "description": "Has an error for key.",
571
+ "privacy": "public"
572
+ },
573
+ {
574
+ "kind": "method",
575
+ "name": "delete",
576
+ "return": {
577
+ "type": {
578
+ "text": ""
579
+ }
580
+ },
581
+ "parameters": [
582
+ {
583
+ "name": "key",
584
+ "type": {
585
+ "text": "keyof TErrorDetailMap"
586
+ },
587
+ "description": "The key."
588
+ }
589
+ ],
590
+ "description": "Delete an error.",
591
+ "privacy": "public"
592
+ },
593
+ {
594
+ "kind": "method",
595
+ "name": "clear",
596
+ "description": "Clear errors.",
597
+ "privacy": "public"
598
+ },
599
+ {
600
+ "kind": "field",
601
+ "name": "size",
602
+ "type": {
603
+ "text": "number"
604
+ },
605
+ "description": "The size of the error map.",
606
+ "return": {
607
+ "type": {
608
+ "text": ""
609
+ }
610
+ },
611
+ "privacy": "public",
612
+ "readonly": true
613
+ },
614
+ {
615
+ "kind": "method",
616
+ "name": "values",
617
+ "privacy": "public"
618
+ },
619
+ {
620
+ "kind": "field",
621
+ "name": "messages",
622
+ "type": {
623
+ "text": "string"
624
+ },
625
+ "description": "{@inheritDoc ErrorMap.messages}",
626
+ "readonly": true
627
+ }
628
+ ]
629
+ },
440
630
  {
441
631
  "kind": "function",
442
- "name": "assureDesignSystem",
632
+ "name": "createErrorMap",
443
633
  "return": {
444
634
  "type": {
445
- "text": "DesignSystemModule"
635
+ "text": ""
446
636
  }
447
637
  },
448
638
  "parameters": [
449
639
  {
450
- "name": "module",
640
+ "name": "logger",
451
641
  "type": {
452
- "text": "DesignSystemModule"
453
- }
642
+ "text": "ErrorMapLogger"
643
+ },
644
+ "description": "A logger error method reference."
454
645
  }
455
646
  ],
456
- "description": "assureDesignSystem.",
647
+ "description": "A factory to create the error map.",
457
648
  "privacy": "public"
458
649
  }
459
650
  ],
460
651
  "exports": [
461
652
  {
462
653
  "kind": "js",
463
- "name": "assureDesignSystem",
654
+ "name": "DefaultErrorMap",
464
655
  "declaration": {
465
- "name": "assureDesignSystem",
466
- "module": "src/design-system/design-system.ts"
656
+ "name": "DefaultErrorMap",
657
+ "module": "src/error/errorMap.ts"
658
+ }
659
+ },
660
+ {
661
+ "kind": "js",
662
+ "name": "createErrorMap",
663
+ "declaration": {
664
+ "name": "createErrorMap",
665
+ "module": "src/error/errorMap.ts"
467
666
  }
468
667
  }
469
668
  ]
470
669
  },
471
670
  {
472
671
  "kind": "javascript-module",
473
- "path": "src/design-system/index.ts",
672
+ "path": "src/error/index.ts",
474
673
  "declarations": [],
475
674
  "exports": [
476
675
  {
@@ -478,7 +677,7 @@
478
677
  "name": "*",
479
678
  "declaration": {
480
679
  "name": "*",
481
- "package": "./design-system"
680
+ "package": "./errorMap"
482
681
  }
483
682
  }
484
683
  ]
@@ -721,205 +920,6 @@
721
920
  }
722
921
  ]
723
922
  },
724
- {
725
- "kind": "javascript-module",
726
- "path": "src/error/errorMap.ts",
727
- "declarations": [
728
- {
729
- "kind": "class",
730
- "description": "",
731
- "name": "DefaultErrorMap",
732
- "members": [
733
- {
734
- "kind": "field",
735
- "name": "map",
736
- "privacy": "private",
737
- "default": "new Map<keyof TErrorDetailMap, Error>()"
738
- },
739
- {
740
- "kind": "field",
741
- "name": "lastError",
742
- "type": {
743
- "text": "Error"
744
- },
745
- "description": "{@inheritDoc ErrorMap.lastError}"
746
- },
747
- {
748
- "kind": "method",
749
- "name": "set",
750
- "return": {
751
- "type": {
752
- "text": "void"
753
- }
754
- },
755
- "parameters": [
756
- {
757
- "name": "key",
758
- "type": {
759
- "text": "keyof TErrorDetailMap"
760
- }
761
- },
762
- {
763
- "name": "error",
764
- "type": {
765
- "text": "Error"
766
- }
767
- }
768
- ],
769
- "description": "{@inheritDoc ErrorMap.set}"
770
- },
771
- {
772
- "kind": "method",
773
- "name": "get",
774
- "return": {
775
- "type": {
776
- "text": ""
777
- }
778
- },
779
- "parameters": [
780
- {
781
- "name": "key",
782
- "type": {
783
- "text": "keyof TErrorDetailMap"
784
- },
785
- "description": "The key."
786
- }
787
- ],
788
- "description": "Get an error by key.",
789
- "privacy": "public"
790
- },
791
- {
792
- "kind": "method",
793
- "name": "has",
794
- "return": {
795
- "type": {
796
- "text": ""
797
- }
798
- },
799
- "parameters": [
800
- {
801
- "name": "key",
802
- "type": {
803
- "text": "keyof TErrorDetailMap"
804
- },
805
- "description": "The key."
806
- }
807
- ],
808
- "description": "Has an error for key.",
809
- "privacy": "public"
810
- },
811
- {
812
- "kind": "method",
813
- "name": "delete",
814
- "return": {
815
- "type": {
816
- "text": ""
817
- }
818
- },
819
- "parameters": [
820
- {
821
- "name": "key",
822
- "type": {
823
- "text": "keyof TErrorDetailMap"
824
- },
825
- "description": "The key."
826
- }
827
- ],
828
- "description": "Delete an error.",
829
- "privacy": "public"
830
- },
831
- {
832
- "kind": "method",
833
- "name": "clear",
834
- "description": "Clear errors.",
835
- "privacy": "public"
836
- },
837
- {
838
- "kind": "field",
839
- "name": "size",
840
- "type": {
841
- "text": "number"
842
- },
843
- "description": "The size of the error map.",
844
- "return": {
845
- "type": {
846
- "text": ""
847
- }
848
- },
849
- "privacy": "public",
850
- "readonly": true
851
- },
852
- {
853
- "kind": "method",
854
- "name": "values",
855
- "privacy": "public"
856
- },
857
- {
858
- "kind": "field",
859
- "name": "messages",
860
- "type": {
861
- "text": "string"
862
- },
863
- "description": "{@inheritDoc ErrorMap.messages}",
864
- "readonly": true
865
- }
866
- ]
867
- },
868
- {
869
- "kind": "function",
870
- "name": "createErrorMap",
871
- "return": {
872
- "type": {
873
- "text": ""
874
- }
875
- },
876
- "parameters": [
877
- {
878
- "name": "logger",
879
- "type": {
880
- "text": "ErrorMapLogger"
881
- },
882
- "description": "A logger error method reference."
883
- }
884
- ],
885
- "description": "A factory to create the error map.",
886
- "privacy": "public"
887
- }
888
- ],
889
- "exports": [
890
- {
891
- "kind": "js",
892
- "name": "DefaultErrorMap",
893
- "declaration": {
894
- "name": "DefaultErrorMap",
895
- "module": "src/error/errorMap.ts"
896
- }
897
- },
898
- {
899
- "kind": "js",
900
- "name": "createErrorMap",
901
- "declaration": {
902
- "name": "createErrorMap",
903
- "module": "src/error/errorMap.ts"
904
- }
905
- }
906
- ]
907
- },
908
- {
909
- "kind": "javascript-module",
910
- "path": "src/error/index.ts",
911
- "declarations": [],
912
- "exports": [
913
- {
914
- "kind": "js",
915
- "name": "*",
916
- "declaration": {
917
- "name": "*",
918
- "package": "./errorMap"
919
- }
920
- }
921
- ]
922
- },
923
923
  {
924
924
  "kind": "javascript-module",
925
925
  "path": "src/formatters/datetime.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.202.0",
4
+ "version": "14.202.1-alpha-34c59e8.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,17 +27,17 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.202.0",
31
- "@genesislcap/genx": "14.202.0",
32
- "@genesislcap/rollup-builder": "14.202.0",
33
- "@genesislcap/ts-builder": "14.202.0",
34
- "@genesislcap/uvu-playwright-builder": "14.202.0",
35
- "@genesislcap/vite-builder": "14.202.0",
36
- "@genesislcap/webpack-builder": "14.202.0",
30
+ "@genesislcap/foundation-testing": "14.202.1-alpha-34c59e8.0",
31
+ "@genesislcap/genx": "14.202.1-alpha-34c59e8.0",
32
+ "@genesislcap/rollup-builder": "14.202.1-alpha-34c59e8.0",
33
+ "@genesislcap/ts-builder": "14.202.1-alpha-34c59e8.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.202.1-alpha-34c59e8.0",
35
+ "@genesislcap/vite-builder": "14.202.1-alpha-34c59e8.0",
36
+ "@genesislcap/webpack-builder": "14.202.1-alpha-34c59e8.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.202.0",
40
+ "@genesislcap/foundation-logger": "14.202.1-alpha-34c59e8.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "73a2550f84344266438432d5c18a567885de548e"
58
+ "gitHead": "f8ccd0ab71ae20e61ce39f02dd1905b2676e2898"
59
59
  }