@genesislcap/foundation-utils 14.137.1 → 14.138.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.
- package/dist/custom-elements.json +199 -199
- package/package.json +5 -5
|
@@ -475,205 +475,6 @@
|
|
|
475
475
|
}
|
|
476
476
|
]
|
|
477
477
|
},
|
|
478
|
-
{
|
|
479
|
-
"kind": "javascript-module",
|
|
480
|
-
"path": "src/error/errorMap.ts",
|
|
481
|
-
"declarations": [
|
|
482
|
-
{
|
|
483
|
-
"kind": "class",
|
|
484
|
-
"description": "",
|
|
485
|
-
"name": "DefaultErrorMap",
|
|
486
|
-
"members": [
|
|
487
|
-
{
|
|
488
|
-
"kind": "field",
|
|
489
|
-
"name": "map",
|
|
490
|
-
"privacy": "private",
|
|
491
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"kind": "field",
|
|
495
|
-
"name": "lastError",
|
|
496
|
-
"type": {
|
|
497
|
-
"text": "Error"
|
|
498
|
-
},
|
|
499
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"kind": "method",
|
|
503
|
-
"name": "set",
|
|
504
|
-
"return": {
|
|
505
|
-
"type": {
|
|
506
|
-
"text": "void"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
"parameters": [
|
|
510
|
-
{
|
|
511
|
-
"name": "key",
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "keyof TErrorDetailMap"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "error",
|
|
518
|
-
"type": {
|
|
519
|
-
"text": "Error"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
],
|
|
523
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"kind": "method",
|
|
527
|
-
"name": "get",
|
|
528
|
-
"return": {
|
|
529
|
-
"type": {
|
|
530
|
-
"text": ""
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"parameters": [
|
|
534
|
-
{
|
|
535
|
-
"name": "key",
|
|
536
|
-
"type": {
|
|
537
|
-
"text": "keyof TErrorDetailMap"
|
|
538
|
-
},
|
|
539
|
-
"description": "The key."
|
|
540
|
-
}
|
|
541
|
-
],
|
|
542
|
-
"description": "Get an error by key.",
|
|
543
|
-
"privacy": "public"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "method",
|
|
547
|
-
"name": "has",
|
|
548
|
-
"return": {
|
|
549
|
-
"type": {
|
|
550
|
-
"text": ""
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
"parameters": [
|
|
554
|
-
{
|
|
555
|
-
"name": "key",
|
|
556
|
-
"type": {
|
|
557
|
-
"text": "keyof TErrorDetailMap"
|
|
558
|
-
},
|
|
559
|
-
"description": "The key."
|
|
560
|
-
}
|
|
561
|
-
],
|
|
562
|
-
"description": "Has an error for key.",
|
|
563
|
-
"privacy": "public"
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
"kind": "method",
|
|
567
|
-
"name": "delete",
|
|
568
|
-
"return": {
|
|
569
|
-
"type": {
|
|
570
|
-
"text": ""
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
"parameters": [
|
|
574
|
-
{
|
|
575
|
-
"name": "key",
|
|
576
|
-
"type": {
|
|
577
|
-
"text": "keyof TErrorDetailMap"
|
|
578
|
-
},
|
|
579
|
-
"description": "The key."
|
|
580
|
-
}
|
|
581
|
-
],
|
|
582
|
-
"description": "Delete an error.",
|
|
583
|
-
"privacy": "public"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"kind": "method",
|
|
587
|
-
"name": "clear",
|
|
588
|
-
"description": "Clear errors.",
|
|
589
|
-
"privacy": "public"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"kind": "field",
|
|
593
|
-
"name": "size",
|
|
594
|
-
"type": {
|
|
595
|
-
"text": "number"
|
|
596
|
-
},
|
|
597
|
-
"description": "The size of the error map.",
|
|
598
|
-
"return": {
|
|
599
|
-
"type": {
|
|
600
|
-
"text": ""
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"privacy": "public",
|
|
604
|
-
"readonly": true
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"kind": "method",
|
|
608
|
-
"name": "values",
|
|
609
|
-
"privacy": "public"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"kind": "field",
|
|
613
|
-
"name": "messages",
|
|
614
|
-
"type": {
|
|
615
|
-
"text": "string"
|
|
616
|
-
},
|
|
617
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
618
|
-
"readonly": true
|
|
619
|
-
}
|
|
620
|
-
]
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"kind": "function",
|
|
624
|
-
"name": "createErrorMap",
|
|
625
|
-
"return": {
|
|
626
|
-
"type": {
|
|
627
|
-
"text": ""
|
|
628
|
-
}
|
|
629
|
-
},
|
|
630
|
-
"parameters": [
|
|
631
|
-
{
|
|
632
|
-
"name": "logger",
|
|
633
|
-
"type": {
|
|
634
|
-
"text": "ErrorMapLogger"
|
|
635
|
-
},
|
|
636
|
-
"description": "A logger error method reference."
|
|
637
|
-
}
|
|
638
|
-
],
|
|
639
|
-
"description": "A factory to create the error map.",
|
|
640
|
-
"privacy": "public"
|
|
641
|
-
}
|
|
642
|
-
],
|
|
643
|
-
"exports": [
|
|
644
|
-
{
|
|
645
|
-
"kind": "js",
|
|
646
|
-
"name": "DefaultErrorMap",
|
|
647
|
-
"declaration": {
|
|
648
|
-
"name": "DefaultErrorMap",
|
|
649
|
-
"module": "src/error/errorMap.ts"
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"kind": "js",
|
|
654
|
-
"name": "createErrorMap",
|
|
655
|
-
"declaration": {
|
|
656
|
-
"name": "createErrorMap",
|
|
657
|
-
"module": "src/error/errorMap.ts"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"kind": "javascript-module",
|
|
664
|
-
"path": "src/error/index.ts",
|
|
665
|
-
"declarations": [],
|
|
666
|
-
"exports": [
|
|
667
|
-
{
|
|
668
|
-
"kind": "js",
|
|
669
|
-
"name": "*",
|
|
670
|
-
"declaration": {
|
|
671
|
-
"name": "*",
|
|
672
|
-
"package": "./errorMap"
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
]
|
|
676
|
-
},
|
|
677
478
|
{
|
|
678
479
|
"kind": "javascript-module",
|
|
679
480
|
"path": "src/env/index.ts",
|
|
@@ -897,6 +698,205 @@
|
|
|
897
698
|
}
|
|
898
699
|
]
|
|
899
700
|
},
|
|
701
|
+
{
|
|
702
|
+
"kind": "javascript-module",
|
|
703
|
+
"path": "src/error/errorMap.ts",
|
|
704
|
+
"declarations": [
|
|
705
|
+
{
|
|
706
|
+
"kind": "class",
|
|
707
|
+
"description": "",
|
|
708
|
+
"name": "DefaultErrorMap",
|
|
709
|
+
"members": [
|
|
710
|
+
{
|
|
711
|
+
"kind": "field",
|
|
712
|
+
"name": "map",
|
|
713
|
+
"privacy": "private",
|
|
714
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "field",
|
|
718
|
+
"name": "lastError",
|
|
719
|
+
"type": {
|
|
720
|
+
"text": "Error"
|
|
721
|
+
},
|
|
722
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"kind": "method",
|
|
726
|
+
"name": "set",
|
|
727
|
+
"return": {
|
|
728
|
+
"type": {
|
|
729
|
+
"text": "void"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"parameters": [
|
|
733
|
+
{
|
|
734
|
+
"name": "key",
|
|
735
|
+
"type": {
|
|
736
|
+
"text": "keyof TErrorDetailMap"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "error",
|
|
741
|
+
"type": {
|
|
742
|
+
"text": "Error"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "method",
|
|
750
|
+
"name": "get",
|
|
751
|
+
"return": {
|
|
752
|
+
"type": {
|
|
753
|
+
"text": ""
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"parameters": [
|
|
757
|
+
{
|
|
758
|
+
"name": "key",
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "keyof TErrorDetailMap"
|
|
761
|
+
},
|
|
762
|
+
"description": "The key."
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
"description": "Get an error by key.",
|
|
766
|
+
"privacy": "public"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"kind": "method",
|
|
770
|
+
"name": "has",
|
|
771
|
+
"return": {
|
|
772
|
+
"type": {
|
|
773
|
+
"text": ""
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"parameters": [
|
|
777
|
+
{
|
|
778
|
+
"name": "key",
|
|
779
|
+
"type": {
|
|
780
|
+
"text": "keyof TErrorDetailMap"
|
|
781
|
+
},
|
|
782
|
+
"description": "The key."
|
|
783
|
+
}
|
|
784
|
+
],
|
|
785
|
+
"description": "Has an error for key.",
|
|
786
|
+
"privacy": "public"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"kind": "method",
|
|
790
|
+
"name": "delete",
|
|
791
|
+
"return": {
|
|
792
|
+
"type": {
|
|
793
|
+
"text": ""
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"parameters": [
|
|
797
|
+
{
|
|
798
|
+
"name": "key",
|
|
799
|
+
"type": {
|
|
800
|
+
"text": "keyof TErrorDetailMap"
|
|
801
|
+
},
|
|
802
|
+
"description": "The key."
|
|
803
|
+
}
|
|
804
|
+
],
|
|
805
|
+
"description": "Delete an error.",
|
|
806
|
+
"privacy": "public"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "method",
|
|
810
|
+
"name": "clear",
|
|
811
|
+
"description": "Clear errors.",
|
|
812
|
+
"privacy": "public"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"kind": "field",
|
|
816
|
+
"name": "size",
|
|
817
|
+
"type": {
|
|
818
|
+
"text": "number"
|
|
819
|
+
},
|
|
820
|
+
"description": "The size of the error map.",
|
|
821
|
+
"return": {
|
|
822
|
+
"type": {
|
|
823
|
+
"text": ""
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"privacy": "public",
|
|
827
|
+
"readonly": true
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"kind": "method",
|
|
831
|
+
"name": "values",
|
|
832
|
+
"privacy": "public"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"kind": "field",
|
|
836
|
+
"name": "messages",
|
|
837
|
+
"type": {
|
|
838
|
+
"text": "string"
|
|
839
|
+
},
|
|
840
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
841
|
+
"readonly": true
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"kind": "function",
|
|
847
|
+
"name": "createErrorMap",
|
|
848
|
+
"return": {
|
|
849
|
+
"type": {
|
|
850
|
+
"text": ""
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"parameters": [
|
|
854
|
+
{
|
|
855
|
+
"name": "logger",
|
|
856
|
+
"type": {
|
|
857
|
+
"text": "ErrorMapLogger"
|
|
858
|
+
},
|
|
859
|
+
"description": "A logger error method reference."
|
|
860
|
+
}
|
|
861
|
+
],
|
|
862
|
+
"description": "A factory to create the error map.",
|
|
863
|
+
"privacy": "public"
|
|
864
|
+
}
|
|
865
|
+
],
|
|
866
|
+
"exports": [
|
|
867
|
+
{
|
|
868
|
+
"kind": "js",
|
|
869
|
+
"name": "DefaultErrorMap",
|
|
870
|
+
"declaration": {
|
|
871
|
+
"name": "DefaultErrorMap",
|
|
872
|
+
"module": "src/error/errorMap.ts"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"kind": "js",
|
|
877
|
+
"name": "createErrorMap",
|
|
878
|
+
"declaration": {
|
|
879
|
+
"name": "createErrorMap",
|
|
880
|
+
"module": "src/error/errorMap.ts"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"kind": "javascript-module",
|
|
887
|
+
"path": "src/error/index.ts",
|
|
888
|
+
"declarations": [],
|
|
889
|
+
"exports": [
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "*",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "*",
|
|
895
|
+
"package": "./errorMap"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
]
|
|
899
|
+
},
|
|
900
900
|
{
|
|
901
901
|
"kind": "javascript-module",
|
|
902
902
|
"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.
|
|
4
|
+
"version": "14.138.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.
|
|
23
|
-
"@genesislcap/genx": "14.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.138.0",
|
|
23
|
+
"@genesislcap/genx": "14.138.0",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.
|
|
27
|
+
"@genesislcap/foundation-logger": "14.138.0",
|
|
28
28
|
"@microsoft/fast-components": "^2.30.6",
|
|
29
29
|
"@microsoft/fast-element": "^1.12.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "216927472cee1a5088da5f2442878ece50d398d4"
|
|
46
46
|
}
|