@genesislcap/foundation-utils 14.192.0 → 14.192.2-FUI-2127.1

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 +323 -323
  2. package/package.json +10 -10
@@ -159,59 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "kind": "javascript-module",
164
- "path": "src/decorators/index.ts",
165
- "declarations": [],
166
- "exports": [
167
- {
168
- "kind": "js",
169
- "name": "*",
170
- "declaration": {
171
- "name": "*",
172
- "package": "./renderOnChange"
173
- }
174
- }
175
- ]
176
- },
177
- {
178
- "kind": "javascript-module",
179
- "path": "src/decorators/renderOnChange.ts",
180
- "declarations": [
181
- {
182
- "kind": "function",
183
- "name": "renderOnChange",
184
- "parameters": [
185
- {
186
- "name": "target",
187
- "type": {
188
- "text": "FASTElement & { render(): void }"
189
- },
190
- "description": "The target to define the property change handler on."
191
- },
192
- {
193
- "name": "name",
194
- "type": {
195
- "text": "string"
196
- },
197
- "description": "The property name."
198
- }
199
- ],
200
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
201
- "privacy": "public"
202
- }
203
- ],
204
- "exports": [
205
- {
206
- "kind": "js",
207
- "name": "renderOnChange",
208
- "declaration": {
209
- "name": "renderOnChange",
210
- "module": "src/decorators/renderOnChange.ts"
211
- }
212
- }
213
- ]
214
- },
215
162
  {
216
163
  "kind": "javascript-module",
217
164
  "path": "src/data/inMemoryDatabase.ts",
@@ -412,7 +359,42 @@
412
359
  },
413
360
  {
414
361
  "kind": "javascript-module",
415
- "path": "src/directives/index.ts",
362
+ "path": "src/design-system/design-system.ts",
363
+ "declarations": [
364
+ {
365
+ "kind": "function",
366
+ "name": "assureDesignSystem",
367
+ "return": {
368
+ "type": {
369
+ "text": "DesignSystemModule"
370
+ }
371
+ },
372
+ "parameters": [
373
+ {
374
+ "name": "module",
375
+ "type": {
376
+ "text": "DesignSystemModule"
377
+ }
378
+ }
379
+ ],
380
+ "description": "assureDesignSystem.",
381
+ "privacy": "public"
382
+ }
383
+ ],
384
+ "exports": [
385
+ {
386
+ "kind": "js",
387
+ "name": "assureDesignSystem",
388
+ "declaration": {
389
+ "name": "assureDesignSystem",
390
+ "module": "src/design-system/design-system.ts"
391
+ }
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "kind": "javascript-module",
397
+ "path": "src/design-system/index.ts",
416
398
  "declarations": [],
417
399
  "exports": [
418
400
  {
@@ -420,57 +402,67 @@
420
402
  "name": "*",
421
403
  "declaration": {
422
404
  "name": "*",
423
- "package": "./sync"
405
+ "package": "./design-system"
424
406
  }
425
- },
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ "kind": "javascript-module",
412
+ "path": "src/decorators/index.ts",
413
+ "declarations": [],
414
+ "exports": [
426
415
  {
427
416
  "kind": "js",
428
417
  "name": "*",
429
418
  "declaration": {
430
419
  "name": "*",
431
- "package": "./when-else"
420
+ "package": "./renderOnChange"
432
421
  }
433
422
  }
434
423
  ]
435
424
  },
436
425
  {
437
426
  "kind": "javascript-module",
438
- "path": "src/design-system/design-system.ts",
427
+ "path": "src/decorators/renderOnChange.ts",
439
428
  "declarations": [
440
429
  {
441
430
  "kind": "function",
442
- "name": "assureDesignSystem",
443
- "return": {
444
- "type": {
445
- "text": "DesignSystemModule"
446
- }
447
- },
431
+ "name": "renderOnChange",
448
432
  "parameters": [
449
433
  {
450
- "name": "module",
434
+ "name": "target",
451
435
  "type": {
452
- "text": "DesignSystemModule"
453
- }
436
+ "text": "FASTElement & { render(): void }"
437
+ },
438
+ "description": "The target to define the property change handler on."
439
+ },
440
+ {
441
+ "name": "name",
442
+ "type": {
443
+ "text": "string"
444
+ },
445
+ "description": "The property name."
454
446
  }
455
447
  ],
456
- "description": "assureDesignSystem.",
448
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
457
449
  "privacy": "public"
458
450
  }
459
451
  ],
460
452
  "exports": [
461
453
  {
462
454
  "kind": "js",
463
- "name": "assureDesignSystem",
455
+ "name": "renderOnChange",
464
456
  "declaration": {
465
- "name": "assureDesignSystem",
466
- "module": "src/design-system/design-system.ts"
457
+ "name": "renderOnChange",
458
+ "module": "src/decorators/renderOnChange.ts"
467
459
  }
468
460
  }
469
461
  ]
470
462
  },
471
463
  {
472
464
  "kind": "javascript-module",
473
- "path": "src/design-system/index.ts",
465
+ "path": "src/directives/index.ts",
474
466
  "declarations": [],
475
467
  "exports": [
476
468
  {
@@ -478,7 +470,15 @@
478
470
  "name": "*",
479
471
  "declaration": {
480
472
  "name": "*",
481
- "package": "./design-system"
473
+ "package": "./sync"
474
+ }
475
+ },
476
+ {
477
+ "kind": "js",
478
+ "name": "*",
479
+ "declaration": {
480
+ "name": "*",
481
+ "package": "./when-else"
482
482
  }
483
483
  }
484
484
  ]
@@ -723,265 +723,66 @@
723
723
  },
724
724
  {
725
725
  "kind": "javascript-module",
726
- "path": "src/error/errorMap.ts",
726
+ "path": "src/formatters/datetime.ts",
727
727
  "declarations": [
728
728
  {
729
- "kind": "class",
730
- "description": "",
731
- "name": "DefaultErrorMap",
732
- "members": [
729
+ "kind": "function",
730
+ "name": "formatDateTimestamp",
731
+ "return": {
732
+ "type": {
733
+ "text": "string"
734
+ }
735
+ },
736
+ "parameters": [
733
737
  {
734
- "kind": "field",
735
- "name": "map",
736
- "privacy": "private",
737
- "default": "new Map<keyof TErrorDetailMap, Error>()"
738
- },
738
+ "name": "timestamp",
739
+ "type": {
740
+ "text": "number"
741
+ }
742
+ }
743
+ ],
744
+ "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
745
+ "privacy": "public"
746
+ },
747
+ {
748
+ "kind": "function",
749
+ "name": "formatDateTimeTimestamp",
750
+ "return": {
751
+ "type": {
752
+ "text": "string"
753
+ }
754
+ },
755
+ "parameters": [
739
756
  {
740
- "kind": "field",
741
- "name": "lastError",
757
+ "name": "timestamp",
742
758
  "type": {
743
- "text": "Error"
744
- },
745
- "description": "{@inheritDoc ErrorMap.lastError}"
746
- },
759
+ "text": "number"
760
+ }
761
+ }
762
+ ],
763
+ "description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
764
+ "privacy": "public"
765
+ },
766
+ {
767
+ "kind": "function",
768
+ "name": "formatTimestamp",
769
+ "return": {
770
+ "type": {
771
+ "text": "string"
772
+ }
773
+ },
774
+ "parameters": [
747
775
  {
748
- "kind": "method",
749
- "name": "set",
750
- "return": {
751
- "type": {
752
- "text": "void"
753
- }
776
+ "name": "timestamp",
777
+ "type": {
778
+ "text": "number"
754
779
  },
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}"
780
+ "description": "The UNIX Timestamp."
770
781
  },
771
782
  {
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
- {
924
- "kind": "javascript-module",
925
- "path": "src/formatters/datetime.ts",
926
- "declarations": [
927
- {
928
- "kind": "function",
929
- "name": "formatDateTimestamp",
930
- "return": {
931
- "type": {
932
- "text": "string"
933
- }
934
- },
935
- "parameters": [
936
- {
937
- "name": "timestamp",
938
- "type": {
939
- "text": "number"
940
- }
941
- }
942
- ],
943
- "description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
944
- "privacy": "public"
945
- },
946
- {
947
- "kind": "function",
948
- "name": "formatDateTimeTimestamp",
949
- "return": {
950
- "type": {
951
- "text": "string"
952
- }
953
- },
954
- "parameters": [
955
- {
956
- "name": "timestamp",
957
- "type": {
958
- "text": "number"
959
- }
960
- }
961
- ],
962
- "description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
963
- "privacy": "public"
964
- },
965
- {
966
- "kind": "function",
967
- "name": "formatTimestamp",
968
- "return": {
969
- "type": {
970
- "text": "string"
971
- }
972
- },
973
- "parameters": [
974
- {
975
- "name": "timestamp",
976
- "type": {
977
- "text": "number"
978
- },
979
- "description": "The UNIX Timestamp."
980
- },
981
- {
982
- "name": "withTime",
983
- "type": {
984
- "text": "boolean"
783
+ "name": "withTime",
784
+ "type": {
785
+ "text": "boolean"
985
786
  },
986
787
  "description": "The flag to determine if formatted value should contain 'time' info."
987
788
  }
@@ -1132,6 +933,205 @@
1132
933
  }
1133
934
  ]
1134
935
  },
936
+ {
937
+ "kind": "javascript-module",
938
+ "path": "src/error/errorMap.ts",
939
+ "declarations": [
940
+ {
941
+ "kind": "class",
942
+ "description": "",
943
+ "name": "DefaultErrorMap",
944
+ "members": [
945
+ {
946
+ "kind": "field",
947
+ "name": "map",
948
+ "privacy": "private",
949
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
950
+ },
951
+ {
952
+ "kind": "field",
953
+ "name": "lastError",
954
+ "type": {
955
+ "text": "Error"
956
+ },
957
+ "description": "{@inheritDoc ErrorMap.lastError}"
958
+ },
959
+ {
960
+ "kind": "method",
961
+ "name": "set",
962
+ "return": {
963
+ "type": {
964
+ "text": "void"
965
+ }
966
+ },
967
+ "parameters": [
968
+ {
969
+ "name": "key",
970
+ "type": {
971
+ "text": "keyof TErrorDetailMap"
972
+ }
973
+ },
974
+ {
975
+ "name": "error",
976
+ "type": {
977
+ "text": "Error"
978
+ }
979
+ }
980
+ ],
981
+ "description": "{@inheritDoc ErrorMap.set}"
982
+ },
983
+ {
984
+ "kind": "method",
985
+ "name": "get",
986
+ "return": {
987
+ "type": {
988
+ "text": ""
989
+ }
990
+ },
991
+ "parameters": [
992
+ {
993
+ "name": "key",
994
+ "type": {
995
+ "text": "keyof TErrorDetailMap"
996
+ },
997
+ "description": "The key."
998
+ }
999
+ ],
1000
+ "description": "Get an error by key.",
1001
+ "privacy": "public"
1002
+ },
1003
+ {
1004
+ "kind": "method",
1005
+ "name": "has",
1006
+ "return": {
1007
+ "type": {
1008
+ "text": ""
1009
+ }
1010
+ },
1011
+ "parameters": [
1012
+ {
1013
+ "name": "key",
1014
+ "type": {
1015
+ "text": "keyof TErrorDetailMap"
1016
+ },
1017
+ "description": "The key."
1018
+ }
1019
+ ],
1020
+ "description": "Has an error for key.",
1021
+ "privacy": "public"
1022
+ },
1023
+ {
1024
+ "kind": "method",
1025
+ "name": "delete",
1026
+ "return": {
1027
+ "type": {
1028
+ "text": ""
1029
+ }
1030
+ },
1031
+ "parameters": [
1032
+ {
1033
+ "name": "key",
1034
+ "type": {
1035
+ "text": "keyof TErrorDetailMap"
1036
+ },
1037
+ "description": "The key."
1038
+ }
1039
+ ],
1040
+ "description": "Delete an error.",
1041
+ "privacy": "public"
1042
+ },
1043
+ {
1044
+ "kind": "method",
1045
+ "name": "clear",
1046
+ "description": "Clear errors.",
1047
+ "privacy": "public"
1048
+ },
1049
+ {
1050
+ "kind": "field",
1051
+ "name": "size",
1052
+ "type": {
1053
+ "text": "number"
1054
+ },
1055
+ "description": "The size of the error map.",
1056
+ "return": {
1057
+ "type": {
1058
+ "text": ""
1059
+ }
1060
+ },
1061
+ "privacy": "public",
1062
+ "readonly": true
1063
+ },
1064
+ {
1065
+ "kind": "method",
1066
+ "name": "values",
1067
+ "privacy": "public"
1068
+ },
1069
+ {
1070
+ "kind": "field",
1071
+ "name": "messages",
1072
+ "type": {
1073
+ "text": "string"
1074
+ },
1075
+ "description": "{@inheritDoc ErrorMap.messages}",
1076
+ "readonly": true
1077
+ }
1078
+ ]
1079
+ },
1080
+ {
1081
+ "kind": "function",
1082
+ "name": "createErrorMap",
1083
+ "return": {
1084
+ "type": {
1085
+ "text": ""
1086
+ }
1087
+ },
1088
+ "parameters": [
1089
+ {
1090
+ "name": "logger",
1091
+ "type": {
1092
+ "text": "ErrorMapLogger"
1093
+ },
1094
+ "description": "A logger error method reference."
1095
+ }
1096
+ ],
1097
+ "description": "A factory to create the error map.",
1098
+ "privacy": "public"
1099
+ }
1100
+ ],
1101
+ "exports": [
1102
+ {
1103
+ "kind": "js",
1104
+ "name": "DefaultErrorMap",
1105
+ "declaration": {
1106
+ "name": "DefaultErrorMap",
1107
+ "module": "src/error/errorMap.ts"
1108
+ }
1109
+ },
1110
+ {
1111
+ "kind": "js",
1112
+ "name": "createErrorMap",
1113
+ "declaration": {
1114
+ "name": "createErrorMap",
1115
+ "module": "src/error/errorMap.ts"
1116
+ }
1117
+ }
1118
+ ]
1119
+ },
1120
+ {
1121
+ "kind": "javascript-module",
1122
+ "path": "src/error/index.ts",
1123
+ "declarations": [],
1124
+ "exports": [
1125
+ {
1126
+ "kind": "js",
1127
+ "name": "*",
1128
+ "declaration": {
1129
+ "name": "*",
1130
+ "package": "./errorMap"
1131
+ }
1132
+ }
1133
+ ]
1134
+ },
1135
1135
  {
1136
1136
  "kind": "javascript-module",
1137
1137
  "path": "src/logger/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.192.0",
4
+ "version": "14.192.2-FUI-2127.1",
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.192.0",
31
- "@genesislcap/genx": "14.192.0",
32
- "@genesislcap/rollup-builder": "14.192.0",
33
- "@genesislcap/ts-builder": "14.192.0",
34
- "@genesislcap/uvu-playwright-builder": "14.192.0",
35
- "@genesislcap/vite-builder": "14.192.0",
36
- "@genesislcap/webpack-builder": "14.192.0",
30
+ "@genesislcap/foundation-testing": "14.192.2-FUI-2127.1",
31
+ "@genesislcap/genx": "14.192.2-FUI-2127.1",
32
+ "@genesislcap/rollup-builder": "14.192.2-FUI-2127.1",
33
+ "@genesislcap/ts-builder": "14.192.2-FUI-2127.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.192.2-FUI-2127.1",
35
+ "@genesislcap/vite-builder": "14.192.2-FUI-2127.1",
36
+ "@genesislcap/webpack-builder": "14.192.2-FUI-2127.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.192.0",
40
+ "@genesislcap/foundation-logger": "14.192.2-FUI-2127.1",
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": "655e23ada5211eb8986f1bead581ea9d0b772732"
57
+ "gitHead": "cafa4ea375512fe75ce9f71646cf84062ffd1c57"
58
58
  }