@genesislcap/foundation-utils 14.180.3 → 14.180.5
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.
- package/dist/custom-elements.json +205 -205
- package/package.json +10 -10
|
@@ -410,6 +410,29 @@
|
|
|
410
410
|
}
|
|
411
411
|
]
|
|
412
412
|
},
|
|
413
|
+
{
|
|
414
|
+
"kind": "javascript-module",
|
|
415
|
+
"path": "src/directives/index.ts",
|
|
416
|
+
"declarations": [],
|
|
417
|
+
"exports": [
|
|
418
|
+
{
|
|
419
|
+
"kind": "js",
|
|
420
|
+
"name": "*",
|
|
421
|
+
"declaration": {
|
|
422
|
+
"name": "*",
|
|
423
|
+
"package": "./sync"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"kind": "js",
|
|
428
|
+
"name": "*",
|
|
429
|
+
"declaration": {
|
|
430
|
+
"name": "*",
|
|
431
|
+
"package": "./when-else"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
413
436
|
{
|
|
414
437
|
"kind": "javascript-module",
|
|
415
438
|
"path": "src/design-system/design-system.ts",
|
|
@@ -462,23 +485,199 @@
|
|
|
462
485
|
},
|
|
463
486
|
{
|
|
464
487
|
"kind": "javascript-module",
|
|
465
|
-
"path": "src/
|
|
466
|
-
"declarations": [
|
|
488
|
+
"path": "src/error/errorMap.ts",
|
|
489
|
+
"declarations": [
|
|
490
|
+
{
|
|
491
|
+
"kind": "class",
|
|
492
|
+
"description": "",
|
|
493
|
+
"name": "DefaultErrorMap",
|
|
494
|
+
"members": [
|
|
495
|
+
{
|
|
496
|
+
"kind": "field",
|
|
497
|
+
"name": "map",
|
|
498
|
+
"privacy": "private",
|
|
499
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"kind": "field",
|
|
503
|
+
"name": "lastError",
|
|
504
|
+
"type": {
|
|
505
|
+
"text": "Error"
|
|
506
|
+
},
|
|
507
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"kind": "method",
|
|
511
|
+
"name": "set",
|
|
512
|
+
"return": {
|
|
513
|
+
"type": {
|
|
514
|
+
"text": "void"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"parameters": [
|
|
518
|
+
{
|
|
519
|
+
"name": "key",
|
|
520
|
+
"type": {
|
|
521
|
+
"text": "keyof TErrorDetailMap"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "error",
|
|
526
|
+
"type": {
|
|
527
|
+
"text": "Error"
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"kind": "method",
|
|
535
|
+
"name": "get",
|
|
536
|
+
"return": {
|
|
537
|
+
"type": {
|
|
538
|
+
"text": ""
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"parameters": [
|
|
542
|
+
{
|
|
543
|
+
"name": "key",
|
|
544
|
+
"type": {
|
|
545
|
+
"text": "keyof TErrorDetailMap"
|
|
546
|
+
},
|
|
547
|
+
"description": "The key."
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
"description": "Get an error by key.",
|
|
551
|
+
"privacy": "public"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"kind": "method",
|
|
555
|
+
"name": "has",
|
|
556
|
+
"return": {
|
|
557
|
+
"type": {
|
|
558
|
+
"text": ""
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"parameters": [
|
|
562
|
+
{
|
|
563
|
+
"name": "key",
|
|
564
|
+
"type": {
|
|
565
|
+
"text": "keyof TErrorDetailMap"
|
|
566
|
+
},
|
|
567
|
+
"description": "The key."
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"description": "Has an error for key.",
|
|
571
|
+
"privacy": "public"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"kind": "method",
|
|
575
|
+
"name": "delete",
|
|
576
|
+
"return": {
|
|
577
|
+
"type": {
|
|
578
|
+
"text": ""
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"parameters": [
|
|
582
|
+
{
|
|
583
|
+
"name": "key",
|
|
584
|
+
"type": {
|
|
585
|
+
"text": "keyof TErrorDetailMap"
|
|
586
|
+
},
|
|
587
|
+
"description": "The key."
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"description": "Delete an error.",
|
|
591
|
+
"privacy": "public"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"kind": "method",
|
|
595
|
+
"name": "clear",
|
|
596
|
+
"description": "Clear errors.",
|
|
597
|
+
"privacy": "public"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "field",
|
|
601
|
+
"name": "size",
|
|
602
|
+
"type": {
|
|
603
|
+
"text": "number"
|
|
604
|
+
},
|
|
605
|
+
"description": "The size of the error map.",
|
|
606
|
+
"return": {
|
|
607
|
+
"type": {
|
|
608
|
+
"text": ""
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"privacy": "public",
|
|
612
|
+
"readonly": true
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"kind": "method",
|
|
616
|
+
"name": "values",
|
|
617
|
+
"privacy": "public"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "field",
|
|
621
|
+
"name": "messages",
|
|
622
|
+
"type": {
|
|
623
|
+
"text": "string"
|
|
624
|
+
},
|
|
625
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
626
|
+
"readonly": true
|
|
627
|
+
}
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"kind": "function",
|
|
632
|
+
"name": "createErrorMap",
|
|
633
|
+
"return": {
|
|
634
|
+
"type": {
|
|
635
|
+
"text": ""
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"parameters": [
|
|
639
|
+
{
|
|
640
|
+
"name": "logger",
|
|
641
|
+
"type": {
|
|
642
|
+
"text": "ErrorMapLogger"
|
|
643
|
+
},
|
|
644
|
+
"description": "A logger error method reference."
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"description": "A factory to create the error map.",
|
|
648
|
+
"privacy": "public"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
467
651
|
"exports": [
|
|
468
652
|
{
|
|
469
653
|
"kind": "js",
|
|
470
|
-
"name": "
|
|
654
|
+
"name": "DefaultErrorMap",
|
|
471
655
|
"declaration": {
|
|
472
|
-
"name": "
|
|
473
|
-
"
|
|
656
|
+
"name": "DefaultErrorMap",
|
|
657
|
+
"module": "src/error/errorMap.ts"
|
|
474
658
|
}
|
|
475
659
|
},
|
|
660
|
+
{
|
|
661
|
+
"kind": "js",
|
|
662
|
+
"name": "createErrorMap",
|
|
663
|
+
"declaration": {
|
|
664
|
+
"name": "createErrorMap",
|
|
665
|
+
"module": "src/error/errorMap.ts"
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"kind": "javascript-module",
|
|
672
|
+
"path": "src/error/index.ts",
|
|
673
|
+
"declarations": [],
|
|
674
|
+
"exports": [
|
|
476
675
|
{
|
|
477
676
|
"kind": "js",
|
|
478
677
|
"name": "*",
|
|
479
678
|
"declaration": {
|
|
480
679
|
"name": "*",
|
|
481
|
-
"package": "./
|
|
680
|
+
"package": "./errorMap"
|
|
482
681
|
}
|
|
483
682
|
}
|
|
484
683
|
]
|
|
@@ -706,205 +905,6 @@
|
|
|
706
905
|
}
|
|
707
906
|
]
|
|
708
907
|
},
|
|
709
|
-
{
|
|
710
|
-
"kind": "javascript-module",
|
|
711
|
-
"path": "src/error/errorMap.ts",
|
|
712
|
-
"declarations": [
|
|
713
|
-
{
|
|
714
|
-
"kind": "class",
|
|
715
|
-
"description": "",
|
|
716
|
-
"name": "DefaultErrorMap",
|
|
717
|
-
"members": [
|
|
718
|
-
{
|
|
719
|
-
"kind": "field",
|
|
720
|
-
"name": "map",
|
|
721
|
-
"privacy": "private",
|
|
722
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"kind": "field",
|
|
726
|
-
"name": "lastError",
|
|
727
|
-
"type": {
|
|
728
|
-
"text": "Error"
|
|
729
|
-
},
|
|
730
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"kind": "method",
|
|
734
|
-
"name": "set",
|
|
735
|
-
"return": {
|
|
736
|
-
"type": {
|
|
737
|
-
"text": "void"
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
"parameters": [
|
|
741
|
-
{
|
|
742
|
-
"name": "key",
|
|
743
|
-
"type": {
|
|
744
|
-
"text": "keyof TErrorDetailMap"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"name": "error",
|
|
749
|
-
"type": {
|
|
750
|
-
"text": "Error"
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
],
|
|
754
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"kind": "method",
|
|
758
|
-
"name": "get",
|
|
759
|
-
"return": {
|
|
760
|
-
"type": {
|
|
761
|
-
"text": ""
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"parameters": [
|
|
765
|
-
{
|
|
766
|
-
"name": "key",
|
|
767
|
-
"type": {
|
|
768
|
-
"text": "keyof TErrorDetailMap"
|
|
769
|
-
},
|
|
770
|
-
"description": "The key."
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"description": "Get an error by key.",
|
|
774
|
-
"privacy": "public"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"kind": "method",
|
|
778
|
-
"name": "has",
|
|
779
|
-
"return": {
|
|
780
|
-
"type": {
|
|
781
|
-
"text": ""
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
|
-
"parameters": [
|
|
785
|
-
{
|
|
786
|
-
"name": "key",
|
|
787
|
-
"type": {
|
|
788
|
-
"text": "keyof TErrorDetailMap"
|
|
789
|
-
},
|
|
790
|
-
"description": "The key."
|
|
791
|
-
}
|
|
792
|
-
],
|
|
793
|
-
"description": "Has an error for key.",
|
|
794
|
-
"privacy": "public"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"kind": "method",
|
|
798
|
-
"name": "delete",
|
|
799
|
-
"return": {
|
|
800
|
-
"type": {
|
|
801
|
-
"text": ""
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
"parameters": [
|
|
805
|
-
{
|
|
806
|
-
"name": "key",
|
|
807
|
-
"type": {
|
|
808
|
-
"text": "keyof TErrorDetailMap"
|
|
809
|
-
},
|
|
810
|
-
"description": "The key."
|
|
811
|
-
}
|
|
812
|
-
],
|
|
813
|
-
"description": "Delete an error.",
|
|
814
|
-
"privacy": "public"
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
"kind": "method",
|
|
818
|
-
"name": "clear",
|
|
819
|
-
"description": "Clear errors.",
|
|
820
|
-
"privacy": "public"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"kind": "field",
|
|
824
|
-
"name": "size",
|
|
825
|
-
"type": {
|
|
826
|
-
"text": "number"
|
|
827
|
-
},
|
|
828
|
-
"description": "The size of the error map.",
|
|
829
|
-
"return": {
|
|
830
|
-
"type": {
|
|
831
|
-
"text": ""
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
|
-
"privacy": "public",
|
|
835
|
-
"readonly": true
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"kind": "method",
|
|
839
|
-
"name": "values",
|
|
840
|
-
"privacy": "public"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "field",
|
|
844
|
-
"name": "messages",
|
|
845
|
-
"type": {
|
|
846
|
-
"text": "string"
|
|
847
|
-
},
|
|
848
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
849
|
-
"readonly": true
|
|
850
|
-
}
|
|
851
|
-
]
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"kind": "function",
|
|
855
|
-
"name": "createErrorMap",
|
|
856
|
-
"return": {
|
|
857
|
-
"type": {
|
|
858
|
-
"text": ""
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
"parameters": [
|
|
862
|
-
{
|
|
863
|
-
"name": "logger",
|
|
864
|
-
"type": {
|
|
865
|
-
"text": "ErrorMapLogger"
|
|
866
|
-
},
|
|
867
|
-
"description": "A logger error method reference."
|
|
868
|
-
}
|
|
869
|
-
],
|
|
870
|
-
"description": "A factory to create the error map.",
|
|
871
|
-
"privacy": "public"
|
|
872
|
-
}
|
|
873
|
-
],
|
|
874
|
-
"exports": [
|
|
875
|
-
{
|
|
876
|
-
"kind": "js",
|
|
877
|
-
"name": "DefaultErrorMap",
|
|
878
|
-
"declaration": {
|
|
879
|
-
"name": "DefaultErrorMap",
|
|
880
|
-
"module": "src/error/errorMap.ts"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "js",
|
|
885
|
-
"name": "createErrorMap",
|
|
886
|
-
"declaration": {
|
|
887
|
-
"name": "createErrorMap",
|
|
888
|
-
"module": "src/error/errorMap.ts"
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
]
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"kind": "javascript-module",
|
|
895
|
-
"path": "src/error/index.ts",
|
|
896
|
-
"declarations": [],
|
|
897
|
-
"exports": [
|
|
898
|
-
{
|
|
899
|
-
"kind": "js",
|
|
900
|
-
"name": "*",
|
|
901
|
-
"declaration": {
|
|
902
|
-
"name": "*",
|
|
903
|
-
"package": "./errorMap"
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
908
|
{
|
|
909
909
|
"kind": "javascript-module",
|
|
910
910
|
"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.180.
|
|
4
|
+
"version": "14.180.5",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.180.
|
|
23
|
-
"@genesislcap/genx": "14.180.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.180.
|
|
25
|
-
"@genesislcap/ts-builder": "14.180.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.180.
|
|
27
|
-
"@genesislcap/vite-builder": "14.180.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.180.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.180.5",
|
|
23
|
+
"@genesislcap/genx": "14.180.5",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.180.5",
|
|
25
|
+
"@genesislcap/ts-builder": "14.180.5",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.180.5",
|
|
27
|
+
"@genesislcap/vite-builder": "14.180.5",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.180.5",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.180.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.180.5",
|
|
33
33
|
"@microsoft/fast-components": "^2.30.6",
|
|
34
34
|
"@microsoft/fast-element": "^1.12.0",
|
|
35
35
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "6ecb126c94200e9e7c2735359dc6efe0bc743f9d"
|
|
51
51
|
}
|