@genesislcap/foundation-utils 14.83.4 → 14.83.6

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,78 +143,6 @@
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
- },
218
146
  {
219
147
  "kind": "javascript-module",
220
148
  "path": "src/data/inMemoryDatabase.ts",
@@ -392,15 +320,334 @@
392
320
  "kind": "js",
393
321
  "name": "InMemoryDatabase",
394
322
  "declaration": {
395
- "name": "InMemoryDatabase",
396
- "module": "src/data/inMemoryDatabase.ts"
323
+ "name": "InMemoryDatabase",
324
+ "module": "src/data/inMemoryDatabase.ts"
325
+ }
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "kind": "javascript-module",
331
+ "path": "src/data/index.ts",
332
+ "declarations": [],
333
+ "exports": [
334
+ {
335
+ "kind": "js",
336
+ "name": "*",
337
+ "declaration": {
338
+ "name": "*",
339
+ "package": "./inMemoryDatabase"
340
+ }
341
+ }
342
+ ]
343
+ },
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/decorators/index.ts",
396
+ "declarations": [],
397
+ "exports": [
398
+ {
399
+ "kind": "js",
400
+ "name": "*",
401
+ "declaration": {
402
+ "name": "*",
403
+ "package": "./renderOnChange"
404
+ }
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "kind": "javascript-module",
410
+ "path": "src/decorators/renderOnChange.ts",
411
+ "declarations": [
412
+ {
413
+ "kind": "function",
414
+ "name": "renderOnChange",
415
+ "parameters": [
416
+ {
417
+ "name": "target",
418
+ "type": {
419
+ "text": "FASTElement & { render(): void }"
420
+ },
421
+ "description": "The target to define the property change handler on."
422
+ },
423
+ {
424
+ "name": "name",
425
+ "type": {
426
+ "text": "string"
427
+ },
428
+ "description": "The property name."
429
+ }
430
+ ],
431
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
432
+ "privacy": "public"
433
+ }
434
+ ],
435
+ "exports": [
436
+ {
437
+ "kind": "js",
438
+ "name": "renderOnChange",
439
+ "declaration": {
440
+ "name": "renderOnChange",
441
+ "module": "src/decorators/renderOnChange.ts"
442
+ }
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "kind": "javascript-module",
448
+ "path": "src/directives/index.ts",
449
+ "declarations": [],
450
+ "exports": [
451
+ {
452
+ "kind": "js",
453
+ "name": "*",
454
+ "declaration": {
455
+ "name": "*",
456
+ "package": "./sync"
457
+ }
458
+ },
459
+ {
460
+ "kind": "js",
461
+ "name": "*",
462
+ "declaration": {
463
+ "name": "*",
464
+ "package": "./when-else"
465
+ }
466
+ }
467
+ ]
468
+ },
469
+ {
470
+ "kind": "javascript-module",
471
+ "path": "src/error/errorMap.ts",
472
+ "declarations": [
473
+ {
474
+ "kind": "class",
475
+ "description": "",
476
+ "name": "DefaultErrorMap",
477
+ "members": [
478
+ {
479
+ "kind": "field",
480
+ "name": "map",
481
+ "privacy": "private",
482
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
483
+ },
484
+ {
485
+ "kind": "field",
486
+ "name": "lastError",
487
+ "type": {
488
+ "text": "Error"
489
+ },
490
+ "description": "{@inheritDoc ErrorMap.lastError}"
491
+ },
492
+ {
493
+ "kind": "method",
494
+ "name": "set",
495
+ "return": {
496
+ "type": {
497
+ "text": "void"
498
+ }
499
+ },
500
+ "parameters": [
501
+ {
502
+ "name": "key",
503
+ "type": {
504
+ "text": "keyof TErrorDetailMap"
505
+ }
506
+ },
507
+ {
508
+ "name": "error",
509
+ "type": {
510
+ "text": "Error"
511
+ }
512
+ }
513
+ ],
514
+ "description": "{@inheritDoc ErrorMap.set}"
515
+ },
516
+ {
517
+ "kind": "method",
518
+ "name": "get",
519
+ "return": {
520
+ "type": {
521
+ "text": ""
522
+ }
523
+ },
524
+ "parameters": [
525
+ {
526
+ "name": "key",
527
+ "type": {
528
+ "text": "keyof TErrorDetailMap"
529
+ },
530
+ "description": "The key."
531
+ }
532
+ ],
533
+ "description": "Get an error by key.",
534
+ "privacy": "public"
535
+ },
536
+ {
537
+ "kind": "method",
538
+ "name": "has",
539
+ "return": {
540
+ "type": {
541
+ "text": ""
542
+ }
543
+ },
544
+ "parameters": [
545
+ {
546
+ "name": "key",
547
+ "type": {
548
+ "text": "keyof TErrorDetailMap"
549
+ },
550
+ "description": "The key."
551
+ }
552
+ ],
553
+ "description": "Has an error for key.",
554
+ "privacy": "public"
555
+ },
556
+ {
557
+ "kind": "method",
558
+ "name": "delete",
559
+ "return": {
560
+ "type": {
561
+ "text": ""
562
+ }
563
+ },
564
+ "parameters": [
565
+ {
566
+ "name": "key",
567
+ "type": {
568
+ "text": "keyof TErrorDetailMap"
569
+ },
570
+ "description": "The key."
571
+ }
572
+ ],
573
+ "description": "Delete an error.",
574
+ "privacy": "public"
575
+ },
576
+ {
577
+ "kind": "method",
578
+ "name": "clear",
579
+ "description": "Clear errors.",
580
+ "privacy": "public"
581
+ },
582
+ {
583
+ "kind": "field",
584
+ "name": "size",
585
+ "type": {
586
+ "text": "number"
587
+ },
588
+ "description": "The size of the error map.",
589
+ "return": {
590
+ "type": {
591
+ "text": ""
592
+ }
593
+ },
594
+ "privacy": "public",
595
+ "readonly": true
596
+ },
597
+ {
598
+ "kind": "field",
599
+ "name": "messages",
600
+ "type": {
601
+ "text": "string"
602
+ },
603
+ "description": "{@inheritDoc ErrorMap.messages}",
604
+ "readonly": true
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "kind": "function",
610
+ "name": "createErrorMap",
611
+ "return": {
612
+ "type": {
613
+ "text": ""
614
+ }
615
+ },
616
+ "parameters": [
617
+ {
618
+ "name": "logger",
619
+ "type": {
620
+ "text": "ErrorMapLogger"
621
+ },
622
+ "description": "A logger error method reference."
623
+ }
624
+ ],
625
+ "description": "A factory to create the error map.",
626
+ "privacy": "public"
627
+ }
628
+ ],
629
+ "exports": [
630
+ {
631
+ "kind": "js",
632
+ "name": "DefaultErrorMap",
633
+ "declaration": {
634
+ "name": "DefaultErrorMap",
635
+ "module": "src/error/errorMap.ts"
636
+ }
637
+ },
638
+ {
639
+ "kind": "js",
640
+ "name": "createErrorMap",
641
+ "declaration": {
642
+ "name": "createErrorMap",
643
+ "module": "src/error/errorMap.ts"
397
644
  }
398
645
  }
399
646
  ]
400
647
  },
401
648
  {
402
649
  "kind": "javascript-module",
403
- "path": "src/data/index.ts",
650
+ "path": "src/error/index.ts",
404
651
  "declarations": [],
405
652
  "exports": [
406
653
  {
@@ -408,7 +655,7 @@
408
655
  "name": "*",
409
656
  "declaration": {
410
657
  "name": "*",
411
- "package": "./inMemoryDatabase"
658
+ "package": "./errorMap"
412
659
  }
413
660
  }
414
661
  ]
@@ -636,59 +883,6 @@
636
883
  }
637
884
  ]
638
885
  },
639
- {
640
- "kind": "javascript-module",
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",
657
- "declarations": [
658
- {
659
- "kind": "function",
660
- "name": "renderOnChange",
661
- "parameters": [
662
- {
663
- "name": "target",
664
- "type": {
665
- "text": "FASTElement & { render(): void }"
666
- },
667
- "description": "The target to define the property change handler on."
668
- },
669
- {
670
- "name": "name",
671
- "type": {
672
- "text": "string"
673
- },
674
- "description": "The property name."
675
- }
676
- ],
677
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
678
- "privacy": "public"
679
- }
680
- ],
681
- "exports": [
682
- {
683
- "kind": "js",
684
- "name": "renderOnChange",
685
- "declaration": {
686
- "name": "renderOnChange",
687
- "module": "src/decorators/renderOnChange.ts"
688
- }
689
- }
690
- ]
691
- },
692
886
  {
693
887
  "kind": "javascript-module",
694
888
  "path": "src/formatters/datetime.ts",
@@ -901,200 +1095,6 @@
901
1095
  }
902
1096
  ]
903
1097
  },
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",
4
+ "version": "14.83.6",
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",
23
- "@genesislcap/genx": "14.83.4",
22
+ "@genesislcap/foundation-testing": "14.83.6",
23
+ "@genesislcap/genx": "14.83.6",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.83.4",
27
+ "@genesislcap/foundation-logger": "14.83.6",
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": "9660d0aabe48fa3c9bc69fd134c687a4da570009"
45
+ "gitHead": "b894d957705f2fdcf5df38f509790437a597a80f"
46
46
  }