@genesislcap/foundation-utils 14.195.0 → 14.195.1-alpha-d2b1b03.0

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +204 -204
  2. package/package.json +10 -10
@@ -435,42 +435,191 @@
435
435
  },
436
436
  {
437
437
  "kind": "javascript-module",
438
- "path": "src/design-system/design-system.ts",
438
+ "path": "src/error/errorMap.ts",
439
439
  "declarations": [
440
+ {
441
+ "kind": "class",
442
+ "description": "",
443
+ "name": "DefaultErrorMap",
444
+ "members": [
445
+ {
446
+ "kind": "field",
447
+ "name": "map",
448
+ "privacy": "private",
449
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
450
+ },
451
+ {
452
+ "kind": "field",
453
+ "name": "lastError",
454
+ "type": {
455
+ "text": "Error"
456
+ },
457
+ "description": "{@inheritDoc ErrorMap.lastError}"
458
+ },
459
+ {
460
+ "kind": "method",
461
+ "name": "set",
462
+ "return": {
463
+ "type": {
464
+ "text": "void"
465
+ }
466
+ },
467
+ "parameters": [
468
+ {
469
+ "name": "key",
470
+ "type": {
471
+ "text": "keyof TErrorDetailMap"
472
+ }
473
+ },
474
+ {
475
+ "name": "error",
476
+ "type": {
477
+ "text": "Error"
478
+ }
479
+ }
480
+ ],
481
+ "description": "{@inheritDoc ErrorMap.set}"
482
+ },
483
+ {
484
+ "kind": "method",
485
+ "name": "get",
486
+ "return": {
487
+ "type": {
488
+ "text": ""
489
+ }
490
+ },
491
+ "parameters": [
492
+ {
493
+ "name": "key",
494
+ "type": {
495
+ "text": "keyof TErrorDetailMap"
496
+ },
497
+ "description": "The key."
498
+ }
499
+ ],
500
+ "description": "Get an error by key.",
501
+ "privacy": "public"
502
+ },
503
+ {
504
+ "kind": "method",
505
+ "name": "has",
506
+ "return": {
507
+ "type": {
508
+ "text": ""
509
+ }
510
+ },
511
+ "parameters": [
512
+ {
513
+ "name": "key",
514
+ "type": {
515
+ "text": "keyof TErrorDetailMap"
516
+ },
517
+ "description": "The key."
518
+ }
519
+ ],
520
+ "description": "Has an error for key.",
521
+ "privacy": "public"
522
+ },
523
+ {
524
+ "kind": "method",
525
+ "name": "delete",
526
+ "return": {
527
+ "type": {
528
+ "text": ""
529
+ }
530
+ },
531
+ "parameters": [
532
+ {
533
+ "name": "key",
534
+ "type": {
535
+ "text": "keyof TErrorDetailMap"
536
+ },
537
+ "description": "The key."
538
+ }
539
+ ],
540
+ "description": "Delete an error.",
541
+ "privacy": "public"
542
+ },
543
+ {
544
+ "kind": "method",
545
+ "name": "clear",
546
+ "description": "Clear errors.",
547
+ "privacy": "public"
548
+ },
549
+ {
550
+ "kind": "field",
551
+ "name": "size",
552
+ "type": {
553
+ "text": "number"
554
+ },
555
+ "description": "The size of the error map.",
556
+ "return": {
557
+ "type": {
558
+ "text": ""
559
+ }
560
+ },
561
+ "privacy": "public",
562
+ "readonly": true
563
+ },
564
+ {
565
+ "kind": "method",
566
+ "name": "values",
567
+ "privacy": "public"
568
+ },
569
+ {
570
+ "kind": "field",
571
+ "name": "messages",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "description": "{@inheritDoc ErrorMap.messages}",
576
+ "readonly": true
577
+ }
578
+ ]
579
+ },
440
580
  {
441
581
  "kind": "function",
442
- "name": "assureDesignSystem",
582
+ "name": "createErrorMap",
443
583
  "return": {
444
584
  "type": {
445
- "text": "DesignSystemModule"
585
+ "text": ""
446
586
  }
447
587
  },
448
588
  "parameters": [
449
589
  {
450
- "name": "module",
590
+ "name": "logger",
451
591
  "type": {
452
- "text": "DesignSystemModule"
453
- }
592
+ "text": "ErrorMapLogger"
593
+ },
594
+ "description": "A logger error method reference."
454
595
  }
455
596
  ],
456
- "description": "assureDesignSystem.",
597
+ "description": "A factory to create the error map.",
457
598
  "privacy": "public"
458
599
  }
459
600
  ],
460
601
  "exports": [
461
602
  {
462
603
  "kind": "js",
463
- "name": "assureDesignSystem",
604
+ "name": "DefaultErrorMap",
464
605
  "declaration": {
465
- "name": "assureDesignSystem",
466
- "module": "src/design-system/design-system.ts"
606
+ "name": "DefaultErrorMap",
607
+ "module": "src/error/errorMap.ts"
608
+ }
609
+ },
610
+ {
611
+ "kind": "js",
612
+ "name": "createErrorMap",
613
+ "declaration": {
614
+ "name": "createErrorMap",
615
+ "module": "src/error/errorMap.ts"
467
616
  }
468
617
  }
469
618
  ]
470
619
  },
471
620
  {
472
621
  "kind": "javascript-module",
473
- "path": "src/design-system/index.ts",
622
+ "path": "src/error/index.ts",
474
623
  "declarations": [],
475
624
  "exports": [
476
625
  {
@@ -478,7 +627,7 @@
478
627
  "name": "*",
479
628
  "declaration": {
480
629
  "name": "*",
481
- "package": "./design-system"
630
+ "package": "./errorMap"
482
631
  }
483
632
  }
484
633
  ]
@@ -723,191 +872,42 @@
723
872
  },
724
873
  {
725
874
  "kind": "javascript-module",
726
- "path": "src/error/errorMap.ts",
875
+ "path": "src/design-system/design-system.ts",
727
876
  "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
877
  {
869
878
  "kind": "function",
870
- "name": "createErrorMap",
879
+ "name": "assureDesignSystem",
871
880
  "return": {
872
881
  "type": {
873
- "text": ""
882
+ "text": "DesignSystemModule"
874
883
  }
875
884
  },
876
885
  "parameters": [
877
886
  {
878
- "name": "logger",
887
+ "name": "module",
879
888
  "type": {
880
- "text": "ErrorMapLogger"
881
- },
882
- "description": "A logger error method reference."
889
+ "text": "DesignSystemModule"
890
+ }
883
891
  }
884
892
  ],
885
- "description": "A factory to create the error map.",
893
+ "description": "assureDesignSystem.",
886
894
  "privacy": "public"
887
895
  }
888
896
  ],
889
897
  "exports": [
890
898
  {
891
899
  "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",
900
+ "name": "assureDesignSystem",
901
901
  "declaration": {
902
- "name": "createErrorMap",
903
- "module": "src/error/errorMap.ts"
902
+ "name": "assureDesignSystem",
903
+ "module": "src/design-system/design-system.ts"
904
904
  }
905
905
  }
906
906
  ]
907
907
  },
908
908
  {
909
909
  "kind": "javascript-module",
910
- "path": "src/error/index.ts",
910
+ "path": "src/design-system/index.ts",
911
911
  "declarations": [],
912
912
  "exports": [
913
913
  {
@@ -915,7 +915,7 @@
915
915
  "name": "*",
916
916
  "declaration": {
917
917
  "name": "*",
918
- "package": "./errorMap"
918
+ "package": "./design-system"
919
919
  }
920
920
  }
921
921
  ]
@@ -1384,6 +1384,21 @@
1384
1384
  }
1385
1385
  ]
1386
1386
  },
1387
+ {
1388
+ "kind": "javascript-module",
1389
+ "path": "src/serializers/index.ts",
1390
+ "declarations": [],
1391
+ "exports": [
1392
+ {
1393
+ "kind": "js",
1394
+ "name": "*",
1395
+ "declaration": {
1396
+ "name": "*",
1397
+ "package": "./json"
1398
+ }
1399
+ }
1400
+ ]
1401
+ },
1387
1402
  {
1388
1403
  "kind": "javascript-module",
1389
1404
  "path": "src/resource/index.ts",
@@ -1425,21 +1440,6 @@
1425
1440
  }
1426
1441
  ]
1427
1442
  },
1428
- {
1429
- "kind": "javascript-module",
1430
- "path": "src/serializers/index.ts",
1431
- "declarations": [],
1432
- "exports": [
1433
- {
1434
- "kind": "js",
1435
- "name": "*",
1436
- "declaration": {
1437
- "name": "*",
1438
- "package": "./json"
1439
- }
1440
- }
1441
- ]
1442
- },
1443
1443
  {
1444
1444
  "kind": "javascript-module",
1445
1445
  "path": "src/state/index.ts",
@@ -1915,7 +1915,7 @@
1915
1915
  },
1916
1916
  {
1917
1917
  "kind": "javascript-module",
1918
- "path": "src/uuid/index.ts",
1918
+ "path": "src/utils/index.ts",
1919
1919
  "declarations": [],
1920
1920
  "exports": [
1921
1921
  {
@@ -1923,36 +1923,34 @@
1923
1923
  "name": "*",
1924
1924
  "declaration": {
1925
1925
  "name": "*",
1926
- "package": "./uuid"
1926
+ "package": "./logger"
1927
1927
  }
1928
1928
  }
1929
1929
  ]
1930
1930
  },
1931
1931
  {
1932
1932
  "kind": "javascript-module",
1933
- "path": "src/uuid/uuid.ts",
1933
+ "path": "src/utils/logger.ts",
1934
1934
  "declarations": [
1935
1935
  {
1936
1936
  "kind": "variable",
1937
- "name": "UUID",
1938
- "description": "A dependency injection token for the UUID interface.",
1939
- "privacy": "public"
1937
+ "name": "logger"
1940
1938
  }
1941
1939
  ],
1942
1940
  "exports": [
1943
1941
  {
1944
1942
  "kind": "js",
1945
- "name": "UUID",
1943
+ "name": "logger",
1946
1944
  "declaration": {
1947
- "name": "UUID",
1948
- "module": "src/uuid/uuid.ts"
1945
+ "name": "logger",
1946
+ "module": "src/utils/logger.ts"
1949
1947
  }
1950
1948
  }
1951
1949
  ]
1952
1950
  },
1953
1951
  {
1954
1952
  "kind": "javascript-module",
1955
- "path": "src/utils/index.ts",
1953
+ "path": "src/uuid/index.ts",
1956
1954
  "declarations": [],
1957
1955
  "exports": [
1958
1956
  {
@@ -1960,27 +1958,29 @@
1960
1958
  "name": "*",
1961
1959
  "declaration": {
1962
1960
  "name": "*",
1963
- "package": "./logger"
1961
+ "package": "./uuid"
1964
1962
  }
1965
1963
  }
1966
1964
  ]
1967
1965
  },
1968
1966
  {
1969
1967
  "kind": "javascript-module",
1970
- "path": "src/utils/logger.ts",
1968
+ "path": "src/uuid/uuid.ts",
1971
1969
  "declarations": [
1972
1970
  {
1973
1971
  "kind": "variable",
1974
- "name": "logger"
1972
+ "name": "UUID",
1973
+ "description": "A dependency injection token for the UUID interface.",
1974
+ "privacy": "public"
1975
1975
  }
1976
1976
  ],
1977
1977
  "exports": [
1978
1978
  {
1979
1979
  "kind": "js",
1980
- "name": "logger",
1980
+ "name": "UUID",
1981
1981
  "declaration": {
1982
- "name": "logger",
1983
- "module": "src/utils/logger.ts"
1982
+ "name": "UUID",
1983
+ "module": "src/uuid/uuid.ts"
1984
1984
  }
1985
1985
  }
1986
1986
  ]
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.195.0",
4
+ "version": "14.195.1-alpha-d2b1b03.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.195.0",
31
- "@genesislcap/genx": "14.195.0",
32
- "@genesislcap/rollup-builder": "14.195.0",
33
- "@genesislcap/ts-builder": "14.195.0",
34
- "@genesislcap/uvu-playwright-builder": "14.195.0",
35
- "@genesislcap/vite-builder": "14.195.0",
36
- "@genesislcap/webpack-builder": "14.195.0",
30
+ "@genesislcap/foundation-testing": "14.195.1-alpha-d2b1b03.0",
31
+ "@genesislcap/genx": "14.195.1-alpha-d2b1b03.0",
32
+ "@genesislcap/rollup-builder": "14.195.1-alpha-d2b1b03.0",
33
+ "@genesislcap/ts-builder": "14.195.1-alpha-d2b1b03.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.195.1-alpha-d2b1b03.0",
35
+ "@genesislcap/vite-builder": "14.195.1-alpha-d2b1b03.0",
36
+ "@genesislcap/webpack-builder": "14.195.1-alpha-d2b1b03.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.195.0",
40
+ "@genesislcap/foundation-logger": "14.195.1-alpha-d2b1b03.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",
@@ -54,5 +54,5 @@
54
54
  "access": "public"
55
55
  },
56
56
  "customElements": "dist/custom-elements.json",
57
- "gitHead": "c2f60f537f6443a78be6237f3c4bc0f5f49f0262"
57
+ "gitHead": "62c7a7303c0cf9e78f0152f8991b99218c56f760"
58
58
  }