@genesislcap/foundation-utils 14.103.0-auth-mf.25 → 14.103.0-auth-mf.26

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.
@@ -341,6 +341,56 @@
341
341
  }
342
342
  ]
343
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
+ "description": "assureDesignSystem.",
365
+ "privacy": "public"
366
+ }
367
+ ],
368
+ "exports": [
369
+ {
370
+ "kind": "js",
371
+ "name": "assureDesignSystem",
372
+ "declaration": {
373
+ "name": "assureDesignSystem",
374
+ "module": "src/design-system/design-system.ts"
375
+ }
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "kind": "javascript-module",
381
+ "path": "src/design-system/index.ts",
382
+ "declarations": [],
383
+ "exports": [
384
+ {
385
+ "kind": "js",
386
+ "name": "*",
387
+ "declaration": {
388
+ "name": "*",
389
+ "package": "./design-system"
390
+ }
391
+ }
392
+ ]
393
+ },
344
394
  {
345
395
  "kind": "javascript-module",
346
396
  "path": "src/decorators/index.ts",
@@ -396,57 +446,214 @@
396
446
  },
397
447
  {
398
448
  "kind": "javascript-module",
399
- "path": "src/design-system/design-system.ts",
449
+ "path": "src/directives/index.ts",
450
+ "declarations": [],
451
+ "exports": [
452
+ {
453
+ "kind": "js",
454
+ "name": "*",
455
+ "declaration": {
456
+ "name": "*",
457
+ "package": "./sync"
458
+ }
459
+ },
460
+ {
461
+ "kind": "js",
462
+ "name": "*",
463
+ "declaration": {
464
+ "name": "*",
465
+ "package": "./when-else"
466
+ }
467
+ }
468
+ ]
469
+ },
470
+ {
471
+ "kind": "javascript-module",
472
+ "path": "src/error/errorMap.ts",
400
473
  "declarations": [
474
+ {
475
+ "kind": "class",
476
+ "description": "",
477
+ "name": "DefaultErrorMap",
478
+ "members": [
479
+ {
480
+ "kind": "field",
481
+ "name": "map",
482
+ "privacy": "private",
483
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
484
+ },
485
+ {
486
+ "kind": "field",
487
+ "name": "lastError",
488
+ "type": {
489
+ "text": "Error"
490
+ },
491
+ "description": "{@inheritDoc ErrorMap.lastError}"
492
+ },
493
+ {
494
+ "kind": "method",
495
+ "name": "set",
496
+ "return": {
497
+ "type": {
498
+ "text": "void"
499
+ }
500
+ },
501
+ "parameters": [
502
+ {
503
+ "name": "key",
504
+ "type": {
505
+ "text": "keyof TErrorDetailMap"
506
+ }
507
+ },
508
+ {
509
+ "name": "error",
510
+ "type": {
511
+ "text": "Error"
512
+ }
513
+ }
514
+ ],
515
+ "description": "{@inheritDoc ErrorMap.set}"
516
+ },
517
+ {
518
+ "kind": "method",
519
+ "name": "get",
520
+ "return": {
521
+ "type": {
522
+ "text": ""
523
+ }
524
+ },
525
+ "parameters": [
526
+ {
527
+ "name": "key",
528
+ "type": {
529
+ "text": "keyof TErrorDetailMap"
530
+ },
531
+ "description": "The key."
532
+ }
533
+ ],
534
+ "description": "Get an error by key.",
535
+ "privacy": "public"
536
+ },
537
+ {
538
+ "kind": "method",
539
+ "name": "has",
540
+ "return": {
541
+ "type": {
542
+ "text": ""
543
+ }
544
+ },
545
+ "parameters": [
546
+ {
547
+ "name": "key",
548
+ "type": {
549
+ "text": "keyof TErrorDetailMap"
550
+ },
551
+ "description": "The key."
552
+ }
553
+ ],
554
+ "description": "Has an error for key.",
555
+ "privacy": "public"
556
+ },
557
+ {
558
+ "kind": "method",
559
+ "name": "delete",
560
+ "return": {
561
+ "type": {
562
+ "text": ""
563
+ }
564
+ },
565
+ "parameters": [
566
+ {
567
+ "name": "key",
568
+ "type": {
569
+ "text": "keyof TErrorDetailMap"
570
+ },
571
+ "description": "The key."
572
+ }
573
+ ],
574
+ "description": "Delete an error.",
575
+ "privacy": "public"
576
+ },
577
+ {
578
+ "kind": "method",
579
+ "name": "clear",
580
+ "description": "Clear errors.",
581
+ "privacy": "public"
582
+ },
583
+ {
584
+ "kind": "field",
585
+ "name": "size",
586
+ "type": {
587
+ "text": "number"
588
+ },
589
+ "description": "The size of the error map.",
590
+ "return": {
591
+ "type": {
592
+ "text": ""
593
+ }
594
+ },
595
+ "privacy": "public",
596
+ "readonly": true
597
+ },
598
+ {
599
+ "kind": "method",
600
+ "name": "values",
601
+ "privacy": "public"
602
+ },
603
+ {
604
+ "kind": "field",
605
+ "name": "messages",
606
+ "type": {
607
+ "text": "string"
608
+ },
609
+ "description": "{@inheritDoc ErrorMap.messages}",
610
+ "readonly": true
611
+ }
612
+ ]
613
+ },
401
614
  {
402
615
  "kind": "function",
403
- "name": "assureDesignSystem",
616
+ "name": "createErrorMap",
404
617
  "return": {
405
618
  "type": {
406
- "text": "DesignSystemModule"
619
+ "text": ""
407
620
  }
408
621
  },
409
622
  "parameters": [
410
623
  {
411
- "name": "module",
624
+ "name": "logger",
412
625
  "type": {
413
- "text": "DesignSystemModule"
414
- }
626
+ "text": "ErrorMapLogger"
627
+ },
628
+ "description": "A logger error method reference."
415
629
  }
416
630
  ],
417
- "description": "assureDesignSystem.",
631
+ "description": "A factory to create the error map.",
418
632
  "privacy": "public"
419
633
  }
420
634
  ],
421
635
  "exports": [
422
636
  {
423
637
  "kind": "js",
424
- "name": "assureDesignSystem",
638
+ "name": "DefaultErrorMap",
425
639
  "declaration": {
426
- "name": "assureDesignSystem",
427
- "module": "src/design-system/design-system.ts"
640
+ "name": "DefaultErrorMap",
641
+ "module": "src/error/errorMap.ts"
428
642
  }
429
- }
430
- ]
431
- },
432
- {
433
- "kind": "javascript-module",
434
- "path": "src/design-system/index.ts",
435
- "declarations": [],
436
- "exports": [
643
+ },
437
644
  {
438
645
  "kind": "js",
439
- "name": "*",
646
+ "name": "createErrorMap",
440
647
  "declaration": {
441
- "name": "*",
442
- "package": "./design-system"
648
+ "name": "createErrorMap",
649
+ "module": "src/error/errorMap.ts"
443
650
  }
444
651
  }
445
652
  ]
446
653
  },
447
654
  {
448
655
  "kind": "javascript-module",
449
- "path": "src/directives/index.ts",
656
+ "path": "src/error/index.ts",
450
657
  "declarations": [],
451
658
  "exports": [
452
659
  {
@@ -454,15 +661,7 @@
454
661
  "name": "*",
455
662
  "declaration": {
456
663
  "name": "*",
457
- "package": "./sync"
458
- }
459
- },
460
- {
461
- "kind": "js",
462
- "name": "*",
463
- "declaration": {
464
- "name": "*",
465
- "package": "./when-else"
664
+ "package": "./errorMap"
466
665
  }
467
666
  }
468
667
  ]
@@ -690,205 +889,6 @@
690
889
  }
691
890
  ]
692
891
  },
693
- {
694
- "kind": "javascript-module",
695
- "path": "src/error/errorMap.ts",
696
- "declarations": [
697
- {
698
- "kind": "class",
699
- "description": "",
700
- "name": "DefaultErrorMap",
701
- "members": [
702
- {
703
- "kind": "field",
704
- "name": "map",
705
- "privacy": "private",
706
- "default": "new Map<keyof TErrorDetailMap, Error>()"
707
- },
708
- {
709
- "kind": "field",
710
- "name": "lastError",
711
- "type": {
712
- "text": "Error"
713
- },
714
- "description": "{@inheritDoc ErrorMap.lastError}"
715
- },
716
- {
717
- "kind": "method",
718
- "name": "set",
719
- "return": {
720
- "type": {
721
- "text": "void"
722
- }
723
- },
724
- "parameters": [
725
- {
726
- "name": "key",
727
- "type": {
728
- "text": "keyof TErrorDetailMap"
729
- }
730
- },
731
- {
732
- "name": "error",
733
- "type": {
734
- "text": "Error"
735
- }
736
- }
737
- ],
738
- "description": "{@inheritDoc ErrorMap.set}"
739
- },
740
- {
741
- "kind": "method",
742
- "name": "get",
743
- "return": {
744
- "type": {
745
- "text": ""
746
- }
747
- },
748
- "parameters": [
749
- {
750
- "name": "key",
751
- "type": {
752
- "text": "keyof TErrorDetailMap"
753
- },
754
- "description": "The key."
755
- }
756
- ],
757
- "description": "Get an error by key.",
758
- "privacy": "public"
759
- },
760
- {
761
- "kind": "method",
762
- "name": "has",
763
- "return": {
764
- "type": {
765
- "text": ""
766
- }
767
- },
768
- "parameters": [
769
- {
770
- "name": "key",
771
- "type": {
772
- "text": "keyof TErrorDetailMap"
773
- },
774
- "description": "The key."
775
- }
776
- ],
777
- "description": "Has an error for key.",
778
- "privacy": "public"
779
- },
780
- {
781
- "kind": "method",
782
- "name": "delete",
783
- "return": {
784
- "type": {
785
- "text": ""
786
- }
787
- },
788
- "parameters": [
789
- {
790
- "name": "key",
791
- "type": {
792
- "text": "keyof TErrorDetailMap"
793
- },
794
- "description": "The key."
795
- }
796
- ],
797
- "description": "Delete an error.",
798
- "privacy": "public"
799
- },
800
- {
801
- "kind": "method",
802
- "name": "clear",
803
- "description": "Clear errors.",
804
- "privacy": "public"
805
- },
806
- {
807
- "kind": "field",
808
- "name": "size",
809
- "type": {
810
- "text": "number"
811
- },
812
- "description": "The size of the error map.",
813
- "return": {
814
- "type": {
815
- "text": ""
816
- }
817
- },
818
- "privacy": "public",
819
- "readonly": true
820
- },
821
- {
822
- "kind": "method",
823
- "name": "values",
824
- "privacy": "public"
825
- },
826
- {
827
- "kind": "field",
828
- "name": "messages",
829
- "type": {
830
- "text": "string"
831
- },
832
- "description": "{@inheritDoc ErrorMap.messages}",
833
- "readonly": true
834
- }
835
- ]
836
- },
837
- {
838
- "kind": "function",
839
- "name": "createErrorMap",
840
- "return": {
841
- "type": {
842
- "text": ""
843
- }
844
- },
845
- "parameters": [
846
- {
847
- "name": "logger",
848
- "type": {
849
- "text": "ErrorMapLogger"
850
- },
851
- "description": "A logger error method reference."
852
- }
853
- ],
854
- "description": "A factory to create the error map.",
855
- "privacy": "public"
856
- }
857
- ],
858
- "exports": [
859
- {
860
- "kind": "js",
861
- "name": "DefaultErrorMap",
862
- "declaration": {
863
- "name": "DefaultErrorMap",
864
- "module": "src/error/errorMap.ts"
865
- }
866
- },
867
- {
868
- "kind": "js",
869
- "name": "createErrorMap",
870
- "declaration": {
871
- "name": "createErrorMap",
872
- "module": "src/error/errorMap.ts"
873
- }
874
- }
875
- ]
876
- },
877
- {
878
- "kind": "javascript-module",
879
- "path": "src/error/index.ts",
880
- "declarations": [],
881
- "exports": [
882
- {
883
- "kind": "js",
884
- "name": "*",
885
- "declaration": {
886
- "name": "*",
887
- "package": "./errorMap"
888
- }
889
- }
890
- ]
891
- },
892
892
  {
893
893
  "kind": "javascript-module",
894
894
  "path": "src/formatters/datetime.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.103.0-auth-mf.25",
4
+ "version": "14.103.0-auth-mf.26",
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.103.0-auth-mf.25",
23
- "@genesislcap/genx": "14.103.0-auth-mf.25",
22
+ "@genesislcap/foundation-testing": "14.103.0-auth-mf.26",
23
+ "@genesislcap/genx": "14.103.0-auth-mf.26",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.103.0-auth-mf.25",
27
+ "@genesislcap/foundation-logger": "14.103.0-auth-mf.26",
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": "607a0700963e9592ec66a2c7eb8544c940660d3d"
45
+ "gitHead": "dad32cd82242af68918774e9559904ba1089eadc"
46
46
  }