@genesislcap/foundation-utils 14.83.4-alpha-04e1685.0 → 14.83.4

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.
@@ -143,6 +143,78 @@
143
143
  }
144
144
  ]
145
145
  },
146
+ {
147
+ "kind": "javascript-module",
148
+ "path": "src/design-system/design-system.ts",
149
+ "declarations": [
150
+ {
151
+ "kind": "function",
152
+ "name": "assureDesignSystem",
153
+ "return": {
154
+ "type": {
155
+ "text": "DesignSystemModule"
156
+ }
157
+ },
158
+ "parameters": [
159
+ {
160
+ "name": "module",
161
+ "type": {
162
+ "text": "DesignSystemModule"
163
+ }
164
+ }
165
+ ],
166
+ "privacy": "public"
167
+ }
168
+ ],
169
+ "exports": [
170
+ {
171
+ "kind": "js",
172
+ "name": "assureDesignSystem",
173
+ "declaration": {
174
+ "name": "assureDesignSystem",
175
+ "module": "src/design-system/design-system.ts"
176
+ }
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "kind": "javascript-module",
182
+ "path": "src/design-system/index.ts",
183
+ "declarations": [],
184
+ "exports": [
185
+ {
186
+ "kind": "js",
187
+ "name": "*",
188
+ "declaration": {
189
+ "name": "*",
190
+ "package": "./design-system"
191
+ }
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "kind": "javascript-module",
197
+ "path": "src/directives/index.ts",
198
+ "declarations": [],
199
+ "exports": [
200
+ {
201
+ "kind": "js",
202
+ "name": "*",
203
+ "declaration": {
204
+ "name": "*",
205
+ "package": "./sync"
206
+ }
207
+ },
208
+ {
209
+ "kind": "js",
210
+ "name": "*",
211
+ "declaration": {
212
+ "name": "*",
213
+ "package": "./when-else"
214
+ }
215
+ }
216
+ ]
217
+ },
146
218
  {
147
219
  "kind": "javascript-module",
148
220
  "path": "src/data/inMemoryDatabase.ts",
@@ -341,131 +413,6 @@
341
413
  }
342
414
  ]
343
415
  },
344
- {
345
- "kind": "javascript-module",
346
- "path": "src/design-system/design-system.ts",
347
- "declarations": [
348
- {
349
- "kind": "function",
350
- "name": "assureDesignSystem",
351
- "return": {
352
- "type": {
353
- "text": "DesignSystemModule"
354
- }
355
- },
356
- "parameters": [
357
- {
358
- "name": "module",
359
- "type": {
360
- "text": "DesignSystemModule"
361
- }
362
- }
363
- ],
364
- "privacy": "public"
365
- }
366
- ],
367
- "exports": [
368
- {
369
- "kind": "js",
370
- "name": "assureDesignSystem",
371
- "declaration": {
372
- "name": "assureDesignSystem",
373
- "module": "src/design-system/design-system.ts"
374
- }
375
- }
376
- ]
377
- },
378
- {
379
- "kind": "javascript-module",
380
- "path": "src/design-system/index.ts",
381
- "declarations": [],
382
- "exports": [
383
- {
384
- "kind": "js",
385
- "name": "*",
386
- "declaration": {
387
- "name": "*",
388
- "package": "./design-system"
389
- }
390
- }
391
- ]
392
- },
393
- {
394
- "kind": "javascript-module",
395
- "path": "src/directives/index.ts",
396
- "declarations": [],
397
- "exports": [
398
- {
399
- "kind": "js",
400
- "name": "*",
401
- "declaration": {
402
- "name": "*",
403
- "package": "./sync"
404
- }
405
- },
406
- {
407
- "kind": "js",
408
- "name": "*",
409
- "declaration": {
410
- "name": "*",
411
- "package": "./when-else"
412
- }
413
- }
414
- ]
415
- },
416
- {
417
- "kind": "javascript-module",
418
- "path": "src/decorators/index.ts",
419
- "declarations": [],
420
- "exports": [
421
- {
422
- "kind": "js",
423
- "name": "*",
424
- "declaration": {
425
- "name": "*",
426
- "package": "./renderOnChange"
427
- }
428
- }
429
- ]
430
- },
431
- {
432
- "kind": "javascript-module",
433
- "path": "src/decorators/renderOnChange.ts",
434
- "declarations": [
435
- {
436
- "kind": "function",
437
- "name": "renderOnChange",
438
- "parameters": [
439
- {
440
- "name": "target",
441
- "type": {
442
- "text": "FASTElement & { render(): void }"
443
- },
444
- "description": "The target to define the property change handler on."
445
- },
446
- {
447
- "name": "name",
448
- "type": {
449
- "text": "string"
450
- },
451
- "description": "The property name."
452
- }
453
- ],
454
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
455
- "privacy": "public"
456
- }
457
- ],
458
- "exports": [
459
- {
460
- "kind": "js",
461
- "name": "renderOnChange",
462
- "declaration": {
463
- "name": "renderOnChange",
464
- "module": "src/decorators/renderOnChange.ts"
465
- }
466
- }
467
- ]
468
- },
469
416
  {
470
417
  "kind": "javascript-module",
471
418
  "path": "src/env/index.ts",
@@ -691,194 +638,53 @@
691
638
  },
692
639
  {
693
640
  "kind": "javascript-module",
694
- "path": "src/error/errorMap.ts",
641
+ "path": "src/decorators/index.ts",
642
+ "declarations": [],
643
+ "exports": [
644
+ {
645
+ "kind": "js",
646
+ "name": "*",
647
+ "declaration": {
648
+ "name": "*",
649
+ "package": "./renderOnChange"
650
+ }
651
+ }
652
+ ]
653
+ },
654
+ {
655
+ "kind": "javascript-module",
656
+ "path": "src/decorators/renderOnChange.ts",
695
657
  "declarations": [
696
658
  {
697
- "kind": "class",
698
- "description": "",
699
- "name": "DefaultErrorMap",
700
- "members": [
701
- {
702
- "kind": "field",
703
- "name": "map",
704
- "privacy": "private",
705
- "default": "new Map<keyof TErrorDetailMap, Error>()"
706
- },
659
+ "kind": "function",
660
+ "name": "renderOnChange",
661
+ "parameters": [
707
662
  {
708
- "kind": "field",
709
- "name": "lastError",
663
+ "name": "target",
710
664
  "type": {
711
- "text": "Error"
665
+ "text": "FASTElement & { render(): void }"
712
666
  },
713
- "description": "{@inheritDoc ErrorMap.lastError}"
667
+ "description": "The target to define the property change handler on."
714
668
  },
715
669
  {
716
- "kind": "method",
717
- "name": "set",
718
- "return": {
719
- "type": {
720
- "text": "void"
721
- }
670
+ "name": "name",
671
+ "type": {
672
+ "text": "string"
722
673
  },
723
- "parameters": [
724
- {
725
- "name": "key",
726
- "type": {
727
- "text": "keyof TErrorDetailMap"
728
- }
729
- },
730
- {
731
- "name": "error",
732
- "type": {
733
- "text": "Error"
734
- }
735
- }
736
- ],
737
- "description": "{@inheritDoc ErrorMap.set}"
738
- },
739
- {
740
- "kind": "method",
741
- "name": "get",
742
- "return": {
743
- "type": {
744
- "text": ""
745
- }
746
- },
747
- "parameters": [
748
- {
749
- "name": "key",
750
- "type": {
751
- "text": "keyof TErrorDetailMap"
752
- },
753
- "description": "The key."
754
- }
755
- ],
756
- "description": "Get an error by key.",
757
- "privacy": "public"
758
- },
759
- {
760
- "kind": "method",
761
- "name": "has",
762
- "return": {
763
- "type": {
764
- "text": ""
765
- }
766
- },
767
- "parameters": [
768
- {
769
- "name": "key",
770
- "type": {
771
- "text": "keyof TErrorDetailMap"
772
- },
773
- "description": "The key."
774
- }
775
- ],
776
- "description": "Has an error for key.",
777
- "privacy": "public"
778
- },
779
- {
780
- "kind": "method",
781
- "name": "delete",
782
- "return": {
783
- "type": {
784
- "text": ""
785
- }
786
- },
787
- "parameters": [
788
- {
789
- "name": "key",
790
- "type": {
791
- "text": "keyof TErrorDetailMap"
792
- },
793
- "description": "The key."
794
- }
795
- ],
796
- "description": "Delete an error.",
797
- "privacy": "public"
798
- },
799
- {
800
- "kind": "method",
801
- "name": "clear",
802
- "description": "Clear errors.",
803
- "privacy": "public"
804
- },
805
- {
806
- "kind": "field",
807
- "name": "size",
808
- "type": {
809
- "text": "number"
810
- },
811
- "description": "The size of the error map.",
812
- "return": {
813
- "type": {
814
- "text": ""
815
- }
816
- },
817
- "privacy": "public",
818
- "readonly": true
819
- },
820
- {
821
- "kind": "field",
822
- "name": "messages",
823
- "type": {
824
- "text": "string"
825
- },
826
- "description": "{@inheritDoc ErrorMap.messages}",
827
- "readonly": true
828
- }
829
- ]
830
- },
831
- {
832
- "kind": "function",
833
- "name": "createErrorMap",
834
- "return": {
835
- "type": {
836
- "text": ""
837
- }
838
- },
839
- "parameters": [
840
- {
841
- "name": "logger",
842
- "type": {
843
- "text": "ErrorMapLogger"
844
- },
845
- "description": "A logger error method reference."
674
+ "description": "The property name."
846
675
  }
847
676
  ],
848
- "description": "A factory to create the error map.",
677
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
849
678
  "privacy": "public"
850
679
  }
851
680
  ],
852
681
  "exports": [
853
682
  {
854
683
  "kind": "js",
855
- "name": "DefaultErrorMap",
856
- "declaration": {
857
- "name": "DefaultErrorMap",
858
- "module": "src/error/errorMap.ts"
859
- }
860
- },
861
- {
862
- "kind": "js",
863
- "name": "createErrorMap",
864
- "declaration": {
865
- "name": "createErrorMap",
866
- "module": "src/error/errorMap.ts"
867
- }
868
- }
869
- ]
870
- },
871
- {
872
- "kind": "javascript-module",
873
- "path": "src/error/index.ts",
874
- "declarations": [],
875
- "exports": [
876
- {
877
- "kind": "js",
878
- "name": "*",
684
+ "name": "renderOnChange",
879
685
  "declaration": {
880
- "name": "*",
881
- "package": "./errorMap"
686
+ "name": "renderOnChange",
687
+ "module": "src/decorators/renderOnChange.ts"
882
688
  }
883
689
  }
884
690
  ]
@@ -1095,6 +901,200 @@
1095
901
  }
1096
902
  ]
1097
903
  },
904
+ {
905
+ "kind": "javascript-module",
906
+ "path": "src/error/errorMap.ts",
907
+ "declarations": [
908
+ {
909
+ "kind": "class",
910
+ "description": "",
911
+ "name": "DefaultErrorMap",
912
+ "members": [
913
+ {
914
+ "kind": "field",
915
+ "name": "map",
916
+ "privacy": "private",
917
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
918
+ },
919
+ {
920
+ "kind": "field",
921
+ "name": "lastError",
922
+ "type": {
923
+ "text": "Error"
924
+ },
925
+ "description": "{@inheritDoc ErrorMap.lastError}"
926
+ },
927
+ {
928
+ "kind": "method",
929
+ "name": "set",
930
+ "return": {
931
+ "type": {
932
+ "text": "void"
933
+ }
934
+ },
935
+ "parameters": [
936
+ {
937
+ "name": "key",
938
+ "type": {
939
+ "text": "keyof TErrorDetailMap"
940
+ }
941
+ },
942
+ {
943
+ "name": "error",
944
+ "type": {
945
+ "text": "Error"
946
+ }
947
+ }
948
+ ],
949
+ "description": "{@inheritDoc ErrorMap.set}"
950
+ },
951
+ {
952
+ "kind": "method",
953
+ "name": "get",
954
+ "return": {
955
+ "type": {
956
+ "text": ""
957
+ }
958
+ },
959
+ "parameters": [
960
+ {
961
+ "name": "key",
962
+ "type": {
963
+ "text": "keyof TErrorDetailMap"
964
+ },
965
+ "description": "The key."
966
+ }
967
+ ],
968
+ "description": "Get an error by key.",
969
+ "privacy": "public"
970
+ },
971
+ {
972
+ "kind": "method",
973
+ "name": "has",
974
+ "return": {
975
+ "type": {
976
+ "text": ""
977
+ }
978
+ },
979
+ "parameters": [
980
+ {
981
+ "name": "key",
982
+ "type": {
983
+ "text": "keyof TErrorDetailMap"
984
+ },
985
+ "description": "The key."
986
+ }
987
+ ],
988
+ "description": "Has an error for key.",
989
+ "privacy": "public"
990
+ },
991
+ {
992
+ "kind": "method",
993
+ "name": "delete",
994
+ "return": {
995
+ "type": {
996
+ "text": ""
997
+ }
998
+ },
999
+ "parameters": [
1000
+ {
1001
+ "name": "key",
1002
+ "type": {
1003
+ "text": "keyof TErrorDetailMap"
1004
+ },
1005
+ "description": "The key."
1006
+ }
1007
+ ],
1008
+ "description": "Delete an error.",
1009
+ "privacy": "public"
1010
+ },
1011
+ {
1012
+ "kind": "method",
1013
+ "name": "clear",
1014
+ "description": "Clear errors.",
1015
+ "privacy": "public"
1016
+ },
1017
+ {
1018
+ "kind": "field",
1019
+ "name": "size",
1020
+ "type": {
1021
+ "text": "number"
1022
+ },
1023
+ "description": "The size of the error map.",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": ""
1027
+ }
1028
+ },
1029
+ "privacy": "public",
1030
+ "readonly": true
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "messages",
1035
+ "type": {
1036
+ "text": "string"
1037
+ },
1038
+ "description": "{@inheritDoc ErrorMap.messages}",
1039
+ "readonly": true
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "kind": "function",
1045
+ "name": "createErrorMap",
1046
+ "return": {
1047
+ "type": {
1048
+ "text": ""
1049
+ }
1050
+ },
1051
+ "parameters": [
1052
+ {
1053
+ "name": "logger",
1054
+ "type": {
1055
+ "text": "ErrorMapLogger"
1056
+ },
1057
+ "description": "A logger error method reference."
1058
+ }
1059
+ ],
1060
+ "description": "A factory to create the error map.",
1061
+ "privacy": "public"
1062
+ }
1063
+ ],
1064
+ "exports": [
1065
+ {
1066
+ "kind": "js",
1067
+ "name": "DefaultErrorMap",
1068
+ "declaration": {
1069
+ "name": "DefaultErrorMap",
1070
+ "module": "src/error/errorMap.ts"
1071
+ }
1072
+ },
1073
+ {
1074
+ "kind": "js",
1075
+ "name": "createErrorMap",
1076
+ "declaration": {
1077
+ "name": "createErrorMap",
1078
+ "module": "src/error/errorMap.ts"
1079
+ }
1080
+ }
1081
+ ]
1082
+ },
1083
+ {
1084
+ "kind": "javascript-module",
1085
+ "path": "src/error/index.ts",
1086
+ "declarations": [],
1087
+ "exports": [
1088
+ {
1089
+ "kind": "js",
1090
+ "name": "*",
1091
+ "declaration": {
1092
+ "name": "*",
1093
+ "package": "./errorMap"
1094
+ }
1095
+ }
1096
+ ]
1097
+ },
1098
1098
  {
1099
1099
  "kind": "javascript-module",
1100
1100
  "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.83.4-alpha-04e1685.0",
4
+ "version": "14.83.4",
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.83.4-alpha-04e1685.0",
23
- "@genesislcap/genx": "14.83.4-alpha-04e1685.0",
22
+ "@genesislcap/foundation-testing": "14.83.4",
23
+ "@genesislcap/genx": "14.83.4",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.83.4-alpha-04e1685.0",
27
+ "@genesislcap/foundation-logger": "14.83.4",
28
28
  "@microsoft/fast-components": "^2.21.3",
29
29
  "@microsoft/fast-element": "^1.7.0",
30
30
  "@microsoft/fast-foundation": "^2.33.2",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "02bb3579de874c4444a7dc4a698caa424ea577ac"
45
+ "gitHead": "9660d0aabe48fa3c9bc69fd134c687a4da570009"
46
46
  }