@genesislcap/foundation-utils 14.251.0 → 14.251.2
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 +238 -238
- package/package.json +10 -10
|
@@ -440,6 +440,21 @@
|
|
|
440
440
|
}
|
|
441
441
|
]
|
|
442
442
|
},
|
|
443
|
+
{
|
|
444
|
+
"kind": "javascript-module",
|
|
445
|
+
"path": "src/encoding/index.ts",
|
|
446
|
+
"declarations": [],
|
|
447
|
+
"exports": [
|
|
448
|
+
{
|
|
449
|
+
"kind": "js",
|
|
450
|
+
"name": "*",
|
|
451
|
+
"declaration": {
|
|
452
|
+
"name": "*",
|
|
453
|
+
"package": "./base64"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
},
|
|
443
458
|
{
|
|
444
459
|
"kind": "javascript-module",
|
|
445
460
|
"path": "src/decorators/index.ts",
|
|
@@ -495,7 +510,191 @@
|
|
|
495
510
|
},
|
|
496
511
|
{
|
|
497
512
|
"kind": "javascript-module",
|
|
498
|
-
"path": "src/
|
|
513
|
+
"path": "src/error/errorMap.ts",
|
|
514
|
+
"declarations": [
|
|
515
|
+
{
|
|
516
|
+
"kind": "class",
|
|
517
|
+
"description": "",
|
|
518
|
+
"name": "DefaultErrorMap",
|
|
519
|
+
"members": [
|
|
520
|
+
{
|
|
521
|
+
"kind": "field",
|
|
522
|
+
"name": "map",
|
|
523
|
+
"privacy": "private",
|
|
524
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "field",
|
|
528
|
+
"name": "lastError",
|
|
529
|
+
"type": {
|
|
530
|
+
"text": "Error"
|
|
531
|
+
},
|
|
532
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"kind": "method",
|
|
536
|
+
"name": "set",
|
|
537
|
+
"return": {
|
|
538
|
+
"type": {
|
|
539
|
+
"text": "void"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"parameters": [
|
|
543
|
+
{
|
|
544
|
+
"name": "key",
|
|
545
|
+
"type": {
|
|
546
|
+
"text": "keyof TErrorDetailMap"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "error",
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "Error"
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "method",
|
|
560
|
+
"name": "get",
|
|
561
|
+
"return": {
|
|
562
|
+
"type": {
|
|
563
|
+
"text": ""
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"parameters": [
|
|
567
|
+
{
|
|
568
|
+
"name": "key",
|
|
569
|
+
"type": {
|
|
570
|
+
"text": "keyof TErrorDetailMap"
|
|
571
|
+
},
|
|
572
|
+
"description": "The key."
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"description": "Get an error by key.",
|
|
576
|
+
"privacy": "public"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"kind": "method",
|
|
580
|
+
"name": "has",
|
|
581
|
+
"return": {
|
|
582
|
+
"type": {
|
|
583
|
+
"text": ""
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"parameters": [
|
|
587
|
+
{
|
|
588
|
+
"name": "key",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "keyof TErrorDetailMap"
|
|
591
|
+
},
|
|
592
|
+
"description": "The key."
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"description": "Has an error for key.",
|
|
596
|
+
"privacy": "public"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "method",
|
|
600
|
+
"name": "delete",
|
|
601
|
+
"return": {
|
|
602
|
+
"type": {
|
|
603
|
+
"text": ""
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"parameters": [
|
|
607
|
+
{
|
|
608
|
+
"name": "key",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "keyof TErrorDetailMap"
|
|
611
|
+
},
|
|
612
|
+
"description": "The key."
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"description": "Delete an error.",
|
|
616
|
+
"privacy": "public"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"kind": "method",
|
|
620
|
+
"name": "clear",
|
|
621
|
+
"description": "Clear errors.",
|
|
622
|
+
"privacy": "public"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "field",
|
|
626
|
+
"name": "size",
|
|
627
|
+
"type": {
|
|
628
|
+
"text": "number"
|
|
629
|
+
},
|
|
630
|
+
"description": "The size of the error map.",
|
|
631
|
+
"return": {
|
|
632
|
+
"type": {
|
|
633
|
+
"text": ""
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"privacy": "public",
|
|
637
|
+
"readonly": true
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"kind": "method",
|
|
641
|
+
"name": "values",
|
|
642
|
+
"privacy": "public"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "field",
|
|
646
|
+
"name": "messages",
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "string"
|
|
649
|
+
},
|
|
650
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
651
|
+
"readonly": true
|
|
652
|
+
}
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"kind": "function",
|
|
657
|
+
"name": "createErrorMap",
|
|
658
|
+
"return": {
|
|
659
|
+
"type": {
|
|
660
|
+
"text": ""
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"parameters": [
|
|
664
|
+
{
|
|
665
|
+
"name": "logger",
|
|
666
|
+
"type": {
|
|
667
|
+
"text": "ErrorMapLogger"
|
|
668
|
+
},
|
|
669
|
+
"description": "A logger error method reference."
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"description": "A factory to create the error map.",
|
|
673
|
+
"privacy": "public"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"exports": [
|
|
677
|
+
{
|
|
678
|
+
"kind": "js",
|
|
679
|
+
"name": "DefaultErrorMap",
|
|
680
|
+
"declaration": {
|
|
681
|
+
"name": "DefaultErrorMap",
|
|
682
|
+
"module": "src/error/errorMap.ts"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"kind": "js",
|
|
687
|
+
"name": "createErrorMap",
|
|
688
|
+
"declaration": {
|
|
689
|
+
"name": "createErrorMap",
|
|
690
|
+
"module": "src/error/errorMap.ts"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"kind": "javascript-module",
|
|
697
|
+
"path": "src/error/index.ts",
|
|
499
698
|
"declarations": [],
|
|
500
699
|
"exports": [
|
|
501
700
|
{
|
|
@@ -503,7 +702,7 @@
|
|
|
503
702
|
"name": "*",
|
|
504
703
|
"declaration": {
|
|
505
704
|
"name": "*",
|
|
506
|
-
"package": "./
|
|
705
|
+
"package": "./errorMap"
|
|
507
706
|
}
|
|
508
707
|
}
|
|
509
708
|
]
|
|
@@ -949,205 +1148,6 @@
|
|
|
949
1148
|
}
|
|
950
1149
|
]
|
|
951
1150
|
},
|
|
952
|
-
{
|
|
953
|
-
"kind": "javascript-module",
|
|
954
|
-
"path": "src/error/errorMap.ts",
|
|
955
|
-
"declarations": [
|
|
956
|
-
{
|
|
957
|
-
"kind": "class",
|
|
958
|
-
"description": "",
|
|
959
|
-
"name": "DefaultErrorMap",
|
|
960
|
-
"members": [
|
|
961
|
-
{
|
|
962
|
-
"kind": "field",
|
|
963
|
-
"name": "map",
|
|
964
|
-
"privacy": "private",
|
|
965
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"kind": "field",
|
|
969
|
-
"name": "lastError",
|
|
970
|
-
"type": {
|
|
971
|
-
"text": "Error"
|
|
972
|
-
},
|
|
973
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"kind": "method",
|
|
977
|
-
"name": "set",
|
|
978
|
-
"return": {
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "void"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
"parameters": [
|
|
984
|
-
{
|
|
985
|
-
"name": "key",
|
|
986
|
-
"type": {
|
|
987
|
-
"text": "keyof TErrorDetailMap"
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "error",
|
|
992
|
-
"type": {
|
|
993
|
-
"text": "Error"
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
],
|
|
997
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
"kind": "method",
|
|
1001
|
-
"name": "get",
|
|
1002
|
-
"return": {
|
|
1003
|
-
"type": {
|
|
1004
|
-
"text": ""
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
"parameters": [
|
|
1008
|
-
{
|
|
1009
|
-
"name": "key",
|
|
1010
|
-
"type": {
|
|
1011
|
-
"text": "keyof TErrorDetailMap"
|
|
1012
|
-
},
|
|
1013
|
-
"description": "The key."
|
|
1014
|
-
}
|
|
1015
|
-
],
|
|
1016
|
-
"description": "Get an error by key.",
|
|
1017
|
-
"privacy": "public"
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "method",
|
|
1021
|
-
"name": "has",
|
|
1022
|
-
"return": {
|
|
1023
|
-
"type": {
|
|
1024
|
-
"text": ""
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
"parameters": [
|
|
1028
|
-
{
|
|
1029
|
-
"name": "key",
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "keyof TErrorDetailMap"
|
|
1032
|
-
},
|
|
1033
|
-
"description": "The key."
|
|
1034
|
-
}
|
|
1035
|
-
],
|
|
1036
|
-
"description": "Has an error for key.",
|
|
1037
|
-
"privacy": "public"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "method",
|
|
1041
|
-
"name": "delete",
|
|
1042
|
-
"return": {
|
|
1043
|
-
"type": {
|
|
1044
|
-
"text": ""
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
"parameters": [
|
|
1048
|
-
{
|
|
1049
|
-
"name": "key",
|
|
1050
|
-
"type": {
|
|
1051
|
-
"text": "keyof TErrorDetailMap"
|
|
1052
|
-
},
|
|
1053
|
-
"description": "The key."
|
|
1054
|
-
}
|
|
1055
|
-
],
|
|
1056
|
-
"description": "Delete an error.",
|
|
1057
|
-
"privacy": "public"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"kind": "method",
|
|
1061
|
-
"name": "clear",
|
|
1062
|
-
"description": "Clear errors.",
|
|
1063
|
-
"privacy": "public"
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"kind": "field",
|
|
1067
|
-
"name": "size",
|
|
1068
|
-
"type": {
|
|
1069
|
-
"text": "number"
|
|
1070
|
-
},
|
|
1071
|
-
"description": "The size of the error map.",
|
|
1072
|
-
"return": {
|
|
1073
|
-
"type": {
|
|
1074
|
-
"text": ""
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
"privacy": "public",
|
|
1078
|
-
"readonly": true
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "method",
|
|
1082
|
-
"name": "values",
|
|
1083
|
-
"privacy": "public"
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
"kind": "field",
|
|
1087
|
-
"name": "messages",
|
|
1088
|
-
"type": {
|
|
1089
|
-
"text": "string"
|
|
1090
|
-
},
|
|
1091
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
1092
|
-
"readonly": true
|
|
1093
|
-
}
|
|
1094
|
-
]
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"kind": "function",
|
|
1098
|
-
"name": "createErrorMap",
|
|
1099
|
-
"return": {
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": ""
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
"parameters": [
|
|
1105
|
-
{
|
|
1106
|
-
"name": "logger",
|
|
1107
|
-
"type": {
|
|
1108
|
-
"text": "ErrorMapLogger"
|
|
1109
|
-
},
|
|
1110
|
-
"description": "A logger error method reference."
|
|
1111
|
-
}
|
|
1112
|
-
],
|
|
1113
|
-
"description": "A factory to create the error map.",
|
|
1114
|
-
"privacy": "public"
|
|
1115
|
-
}
|
|
1116
|
-
],
|
|
1117
|
-
"exports": [
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "js",
|
|
1120
|
-
"name": "DefaultErrorMap",
|
|
1121
|
-
"declaration": {
|
|
1122
|
-
"name": "DefaultErrorMap",
|
|
1123
|
-
"module": "src/error/errorMap.ts"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "js",
|
|
1128
|
-
"name": "createErrorMap",
|
|
1129
|
-
"declaration": {
|
|
1130
|
-
"name": "createErrorMap",
|
|
1131
|
-
"module": "src/error/errorMap.ts"
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
]
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
"kind": "javascript-module",
|
|
1138
|
-
"path": "src/error/index.ts",
|
|
1139
|
-
"declarations": [],
|
|
1140
|
-
"exports": [
|
|
1141
|
-
{
|
|
1142
|
-
"kind": "js",
|
|
1143
|
-
"name": "*",
|
|
1144
|
-
"declaration": {
|
|
1145
|
-
"name": "*",
|
|
1146
|
-
"package": "./errorMap"
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
]
|
|
1150
|
-
},
|
|
1151
1151
|
{
|
|
1152
1152
|
"kind": "javascript-module",
|
|
1153
1153
|
"path": "src/formatters/datetime.ts",
|
|
@@ -1867,6 +1867,43 @@
|
|
|
1867
1867
|
}
|
|
1868
1868
|
]
|
|
1869
1869
|
},
|
|
1870
|
+
{
|
|
1871
|
+
"kind": "javascript-module",
|
|
1872
|
+
"path": "src/utils/index.ts",
|
|
1873
|
+
"declarations": [],
|
|
1874
|
+
"exports": [
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "js",
|
|
1877
|
+
"name": "*",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "*",
|
|
1880
|
+
"package": "./logger"
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
]
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "javascript-module",
|
|
1887
|
+
"path": "src/utils/logger.ts",
|
|
1888
|
+
"declarations": [
|
|
1889
|
+
{
|
|
1890
|
+
"kind": "variable",
|
|
1891
|
+
"name": "logger",
|
|
1892
|
+
"description": "Logger for the foundation-utils package",
|
|
1893
|
+
"privacy": "public"
|
|
1894
|
+
}
|
|
1895
|
+
],
|
|
1896
|
+
"exports": [
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "js",
|
|
1899
|
+
"name": "logger",
|
|
1900
|
+
"declaration": {
|
|
1901
|
+
"name": "logger",
|
|
1902
|
+
"module": "src/utils/logger.ts"
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
]
|
|
1906
|
+
},
|
|
1870
1907
|
{
|
|
1871
1908
|
"kind": "javascript-module",
|
|
1872
1909
|
"path": "src/styles/color.ts",
|
|
@@ -2214,43 +2251,6 @@
|
|
|
2214
2251
|
}
|
|
2215
2252
|
]
|
|
2216
2253
|
},
|
|
2217
|
-
{
|
|
2218
|
-
"kind": "javascript-module",
|
|
2219
|
-
"path": "src/utils/index.ts",
|
|
2220
|
-
"declarations": [],
|
|
2221
|
-
"exports": [
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "js",
|
|
2224
|
-
"name": "*",
|
|
2225
|
-
"declaration": {
|
|
2226
|
-
"name": "*",
|
|
2227
|
-
"package": "./logger"
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
|
-
]
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"kind": "javascript-module",
|
|
2234
|
-
"path": "src/utils/logger.ts",
|
|
2235
|
-
"declarations": [
|
|
2236
|
-
{
|
|
2237
|
-
"kind": "variable",
|
|
2238
|
-
"name": "logger",
|
|
2239
|
-
"description": "Logger for the foundation-utils package",
|
|
2240
|
-
"privacy": "public"
|
|
2241
|
-
}
|
|
2242
|
-
],
|
|
2243
|
-
"exports": [
|
|
2244
|
-
{
|
|
2245
|
-
"kind": "js",
|
|
2246
|
-
"name": "logger",
|
|
2247
|
-
"declaration": {
|
|
2248
|
-
"name": "logger",
|
|
2249
|
-
"module": "src/utils/logger.ts"
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
]
|
|
2253
|
-
},
|
|
2254
2254
|
{
|
|
2255
2255
|
"kind": "javascript-module",
|
|
2256
2256
|
"path": "src/uuid/index.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.251.
|
|
4
|
+
"version": "14.251.2",
|
|
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.251.
|
|
31
|
-
"@genesislcap/genx": "14.251.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.251.
|
|
33
|
-
"@genesislcap/ts-builder": "14.251.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.251.
|
|
35
|
-
"@genesislcap/vite-builder": "14.251.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.251.
|
|
30
|
+
"@genesislcap/foundation-testing": "14.251.2",
|
|
31
|
+
"@genesislcap/genx": "14.251.2",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.251.2",
|
|
33
|
+
"@genesislcap/ts-builder": "14.251.2",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.251.2",
|
|
35
|
+
"@genesislcap/vite-builder": "14.251.2",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.251.2",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.251.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.251.2",
|
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"customElements": "dist/custom-elements.json",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "328275e4c0bc2bf60422f750f9a0dc4e081a81b4"
|
|
59
59
|
}
|