@genesislcap/foundation-utils 14.83.5 → 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,82 +143,6 @@
143
143
  }
144
144
  ]
145
145
  },
146
- {
147
- "kind": "javascript-module",
148
- "path": "src/decorators/index.ts",
149
- "declarations": [],
150
- "exports": [
151
- {
152
- "kind": "js",
153
- "name": "*",
154
- "declaration": {
155
- "name": "*",
156
- "package": "./renderOnChange"
157
- }
158
- }
159
- ]
160
- },
161
- {
162
- "kind": "javascript-module",
163
- "path": "src/decorators/renderOnChange.ts",
164
- "declarations": [
165
- {
166
- "kind": "function",
167
- "name": "renderOnChange",
168
- "parameters": [
169
- {
170
- "name": "target",
171
- "type": {
172
- "text": "FASTElement & { render(): void }"
173
- },
174
- "description": "The target to define the property change handler on."
175
- },
176
- {
177
- "name": "name",
178
- "type": {
179
- "text": "string"
180
- },
181
- "description": "The property name."
182
- }
183
- ],
184
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
185
- "privacy": "public"
186
- }
187
- ],
188
- "exports": [
189
- {
190
- "kind": "js",
191
- "name": "renderOnChange",
192
- "declaration": {
193
- "name": "renderOnChange",
194
- "module": "src/decorators/renderOnChange.ts"
195
- }
196
- }
197
- ]
198
- },
199
- {
200
- "kind": "javascript-module",
201
- "path": "src/directives/index.ts",
202
- "declarations": [],
203
- "exports": [
204
- {
205
- "kind": "js",
206
- "name": "*",
207
- "declaration": {
208
- "name": "*",
209
- "package": "./sync"
210
- }
211
- },
212
- {
213
- "kind": "js",
214
- "name": "*",
215
- "declaration": {
216
- "name": "*",
217
- "package": "./when-else"
218
- }
219
- }
220
- ]
221
- },
222
146
  {
223
147
  "kind": "javascript-module",
224
148
  "path": "src/data/inMemoryDatabase.ts",
@@ -394,17 +318,336 @@
394
318
  "exports": [
395
319
  {
396
320
  "kind": "js",
397
- "name": "InMemoryDatabase",
321
+ "name": "InMemoryDatabase",
322
+ "declaration": {
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",
398
641
  "declaration": {
399
- "name": "InMemoryDatabase",
400
- "module": "src/data/inMemoryDatabase.ts"
642
+ "name": "createErrorMap",
643
+ "module": "src/error/errorMap.ts"
401
644
  }
402
645
  }
403
646
  ]
404
647
  },
405
648
  {
406
649
  "kind": "javascript-module",
407
- "path": "src/data/index.ts",
650
+ "path": "src/error/index.ts",
408
651
  "declarations": [],
409
652
  "exports": [
410
653
  {
@@ -412,7 +655,7 @@
412
655
  "name": "*",
413
656
  "declaration": {
414
657
  "name": "*",
415
- "package": "./inMemoryDatabase"
658
+ "package": "./errorMap"
416
659
  }
417
660
  }
418
661
  ]
@@ -640,200 +883,6 @@
640
883
  }
641
884
  ]
642
885
  },
643
- {
644
- "kind": "javascript-module",
645
- "path": "src/error/errorMap.ts",
646
- "declarations": [
647
- {
648
- "kind": "class",
649
- "description": "",
650
- "name": "DefaultErrorMap",
651
- "members": [
652
- {
653
- "kind": "field",
654
- "name": "map",
655
- "privacy": "private",
656
- "default": "new Map<keyof TErrorDetailMap, Error>()"
657
- },
658
- {
659
- "kind": "field",
660
- "name": "lastError",
661
- "type": {
662
- "text": "Error"
663
- },
664
- "description": "{@inheritDoc ErrorMap.lastError}"
665
- },
666
- {
667
- "kind": "method",
668
- "name": "set",
669
- "return": {
670
- "type": {
671
- "text": "void"
672
- }
673
- },
674
- "parameters": [
675
- {
676
- "name": "key",
677
- "type": {
678
- "text": "keyof TErrorDetailMap"
679
- }
680
- },
681
- {
682
- "name": "error",
683
- "type": {
684
- "text": "Error"
685
- }
686
- }
687
- ],
688
- "description": "{@inheritDoc ErrorMap.set}"
689
- },
690
- {
691
- "kind": "method",
692
- "name": "get",
693
- "return": {
694
- "type": {
695
- "text": ""
696
- }
697
- },
698
- "parameters": [
699
- {
700
- "name": "key",
701
- "type": {
702
- "text": "keyof TErrorDetailMap"
703
- },
704
- "description": "The key."
705
- }
706
- ],
707
- "description": "Get an error by key.",
708
- "privacy": "public"
709
- },
710
- {
711
- "kind": "method",
712
- "name": "has",
713
- "return": {
714
- "type": {
715
- "text": ""
716
- }
717
- },
718
- "parameters": [
719
- {
720
- "name": "key",
721
- "type": {
722
- "text": "keyof TErrorDetailMap"
723
- },
724
- "description": "The key."
725
- }
726
- ],
727
- "description": "Has an error for key.",
728
- "privacy": "public"
729
- },
730
- {
731
- "kind": "method",
732
- "name": "delete",
733
- "return": {
734
- "type": {
735
- "text": ""
736
- }
737
- },
738
- "parameters": [
739
- {
740
- "name": "key",
741
- "type": {
742
- "text": "keyof TErrorDetailMap"
743
- },
744
- "description": "The key."
745
- }
746
- ],
747
- "description": "Delete an error.",
748
- "privacy": "public"
749
- },
750
- {
751
- "kind": "method",
752
- "name": "clear",
753
- "description": "Clear errors.",
754
- "privacy": "public"
755
- },
756
- {
757
- "kind": "field",
758
- "name": "size",
759
- "type": {
760
- "text": "number"
761
- },
762
- "description": "The size of the error map.",
763
- "return": {
764
- "type": {
765
- "text": ""
766
- }
767
- },
768
- "privacy": "public",
769
- "readonly": true
770
- },
771
- {
772
- "kind": "field",
773
- "name": "messages",
774
- "type": {
775
- "text": "string"
776
- },
777
- "description": "{@inheritDoc ErrorMap.messages}",
778
- "readonly": true
779
- }
780
- ]
781
- },
782
- {
783
- "kind": "function",
784
- "name": "createErrorMap",
785
- "return": {
786
- "type": {
787
- "text": ""
788
- }
789
- },
790
- "parameters": [
791
- {
792
- "name": "logger",
793
- "type": {
794
- "text": "ErrorMapLogger"
795
- },
796
- "description": "A logger error method reference."
797
- }
798
- ],
799
- "description": "A factory to create the error map.",
800
- "privacy": "public"
801
- }
802
- ],
803
- "exports": [
804
- {
805
- "kind": "js",
806
- "name": "DefaultErrorMap",
807
- "declaration": {
808
- "name": "DefaultErrorMap",
809
- "module": "src/error/errorMap.ts"
810
- }
811
- },
812
- {
813
- "kind": "js",
814
- "name": "createErrorMap",
815
- "declaration": {
816
- "name": "createErrorMap",
817
- "module": "src/error/errorMap.ts"
818
- }
819
- }
820
- ]
821
- },
822
- {
823
- "kind": "javascript-module",
824
- "path": "src/error/index.ts",
825
- "declarations": [],
826
- "exports": [
827
- {
828
- "kind": "js",
829
- "name": "*",
830
- "declaration": {
831
- "name": "*",
832
- "package": "./errorMap"
833
- }
834
- }
835
- ]
836
- },
837
886
  {
838
887
  "kind": "javascript-module",
839
888
  "path": "src/formatters/datetime.ts",
@@ -1046,55 +1095,6 @@
1046
1095
  }
1047
1096
  ]
1048
1097
  },
1049
- {
1050
- "kind": "javascript-module",
1051
- "path": "src/design-system/design-system.ts",
1052
- "declarations": [
1053
- {
1054
- "kind": "function",
1055
- "name": "assureDesignSystem",
1056
- "return": {
1057
- "type": {
1058
- "text": "DesignSystemModule"
1059
- }
1060
- },
1061
- "parameters": [
1062
- {
1063
- "name": "module",
1064
- "type": {
1065
- "text": "DesignSystemModule"
1066
- }
1067
- }
1068
- ],
1069
- "privacy": "public"
1070
- }
1071
- ],
1072
- "exports": [
1073
- {
1074
- "kind": "js",
1075
- "name": "assureDesignSystem",
1076
- "declaration": {
1077
- "name": "assureDesignSystem",
1078
- "module": "src/design-system/design-system.ts"
1079
- }
1080
- }
1081
- ]
1082
- },
1083
- {
1084
- "kind": "javascript-module",
1085
- "path": "src/design-system/index.ts",
1086
- "declarations": [],
1087
- "exports": [
1088
- {
1089
- "kind": "js",
1090
- "name": "*",
1091
- "declaration": {
1092
- "name": "*",
1093
- "package": "./design-system"
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.5",
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.5",
23
- "@genesislcap/genx": "14.83.5",
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.5",
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": "bf0fd995b40f8c4437fa26aa7e66deec457a8b00"
45
+ "gitHead": "b894d957705f2fdcf5df38f509790437a597a80f"
46
46
  }