@genesislcap/foundation-utils 14.390.1 → 14.392.0
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 +356 -356
- package/package.json +11 -11
|
@@ -482,325 +482,6 @@
|
|
|
482
482
|
}
|
|
483
483
|
]
|
|
484
484
|
},
|
|
485
|
-
{
|
|
486
|
-
"kind": "javascript-module",
|
|
487
|
-
"path": "src/design-system/design-system.ts",
|
|
488
|
-
"declarations": [
|
|
489
|
-
{
|
|
490
|
-
"kind": "function",
|
|
491
|
-
"name": "assureDesignSystem",
|
|
492
|
-
"return": {
|
|
493
|
-
"type": {
|
|
494
|
-
"text": "DesignSystemModule"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
"parameters": [
|
|
498
|
-
{
|
|
499
|
-
"name": "module",
|
|
500
|
-
"type": {
|
|
501
|
-
"text": "DesignSystemModule"
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
],
|
|
505
|
-
"description": "assureDesignSystem.",
|
|
506
|
-
"privacy": "public"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"kind": "function",
|
|
510
|
-
"name": "getCurrentDesignSystem",
|
|
511
|
-
"return": {
|
|
512
|
-
"type": {
|
|
513
|
-
"text": ""
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"parameters": [
|
|
517
|
-
{
|
|
518
|
-
"name": "element",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "HTMLElement"
|
|
521
|
-
},
|
|
522
|
-
"description": "The starting HTML element"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"name": "fallbackPrefix",
|
|
526
|
-
"type": {
|
|
527
|
-
"text": "string"
|
|
528
|
-
},
|
|
529
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
533
|
-
"privacy": "public"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"kind": "function",
|
|
537
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
538
|
-
"return": {
|
|
539
|
-
"type": {
|
|
540
|
-
"text": ""
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
|
-
"parameters": [
|
|
544
|
-
{
|
|
545
|
-
"name": "element",
|
|
546
|
-
"type": {
|
|
547
|
-
"text": "HTMLElement"
|
|
548
|
-
},
|
|
549
|
-
"description": "The starting HTML element"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"name": "fallbackPrefix",
|
|
553
|
-
"type": {
|
|
554
|
-
"text": "string"
|
|
555
|
-
},
|
|
556
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
557
|
-
}
|
|
558
|
-
],
|
|
559
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
560
|
-
"privacy": "public"
|
|
561
|
-
}
|
|
562
|
-
],
|
|
563
|
-
"exports": [
|
|
564
|
-
{
|
|
565
|
-
"kind": "js",
|
|
566
|
-
"name": "assureDesignSystem",
|
|
567
|
-
"declaration": {
|
|
568
|
-
"name": "assureDesignSystem",
|
|
569
|
-
"module": "src/design-system/design-system.ts"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"kind": "js",
|
|
574
|
-
"name": "getCurrentDesignSystem",
|
|
575
|
-
"declaration": {
|
|
576
|
-
"name": "getCurrentDesignSystem",
|
|
577
|
-
"module": "src/design-system/design-system.ts"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"kind": "js",
|
|
582
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
583
|
-
"declaration": {
|
|
584
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
585
|
-
"module": "src/design-system/design-system.ts"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"kind": "javascript-module",
|
|
592
|
-
"path": "src/design-system/index.ts",
|
|
593
|
-
"declarations": [],
|
|
594
|
-
"exports": [
|
|
595
|
-
{
|
|
596
|
-
"kind": "js",
|
|
597
|
-
"name": "*",
|
|
598
|
-
"declaration": {
|
|
599
|
-
"name": "*",
|
|
600
|
-
"package": "./design-system"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
]
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"kind": "javascript-module",
|
|
607
|
-
"path": "src/error/errorMap.ts",
|
|
608
|
-
"declarations": [
|
|
609
|
-
{
|
|
610
|
-
"kind": "class",
|
|
611
|
-
"description": "",
|
|
612
|
-
"name": "DefaultErrorMap",
|
|
613
|
-
"members": [
|
|
614
|
-
{
|
|
615
|
-
"kind": "field",
|
|
616
|
-
"name": "map",
|
|
617
|
-
"privacy": "private",
|
|
618
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"kind": "field",
|
|
622
|
-
"name": "lastError",
|
|
623
|
-
"type": {
|
|
624
|
-
"text": "Error"
|
|
625
|
-
},
|
|
626
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"kind": "method",
|
|
630
|
-
"name": "set",
|
|
631
|
-
"return": {
|
|
632
|
-
"type": {
|
|
633
|
-
"text": "void"
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
"parameters": [
|
|
637
|
-
{
|
|
638
|
-
"name": "key",
|
|
639
|
-
"type": {
|
|
640
|
-
"text": "keyof TErrorDetailMap"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "error",
|
|
645
|
-
"type": {
|
|
646
|
-
"text": "Error"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
],
|
|
650
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"kind": "method",
|
|
654
|
-
"name": "get",
|
|
655
|
-
"return": {
|
|
656
|
-
"type": {
|
|
657
|
-
"text": ""
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
"parameters": [
|
|
661
|
-
{
|
|
662
|
-
"name": "key",
|
|
663
|
-
"type": {
|
|
664
|
-
"text": "keyof TErrorDetailMap"
|
|
665
|
-
},
|
|
666
|
-
"description": "The key."
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
"description": "Get an error by key.",
|
|
670
|
-
"privacy": "public"
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
"kind": "method",
|
|
674
|
-
"name": "has",
|
|
675
|
-
"return": {
|
|
676
|
-
"type": {
|
|
677
|
-
"text": ""
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
"parameters": [
|
|
681
|
-
{
|
|
682
|
-
"name": "key",
|
|
683
|
-
"type": {
|
|
684
|
-
"text": "keyof TErrorDetailMap"
|
|
685
|
-
},
|
|
686
|
-
"description": "The key."
|
|
687
|
-
}
|
|
688
|
-
],
|
|
689
|
-
"description": "Has an error for key.",
|
|
690
|
-
"privacy": "public"
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"kind": "method",
|
|
694
|
-
"name": "delete",
|
|
695
|
-
"return": {
|
|
696
|
-
"type": {
|
|
697
|
-
"text": ""
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
"parameters": [
|
|
701
|
-
{
|
|
702
|
-
"name": "key",
|
|
703
|
-
"type": {
|
|
704
|
-
"text": "keyof TErrorDetailMap"
|
|
705
|
-
},
|
|
706
|
-
"description": "The key."
|
|
707
|
-
}
|
|
708
|
-
],
|
|
709
|
-
"description": "Delete an error.",
|
|
710
|
-
"privacy": "public"
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"kind": "method",
|
|
714
|
-
"name": "clear",
|
|
715
|
-
"description": "Clear errors.",
|
|
716
|
-
"privacy": "public"
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"kind": "field",
|
|
720
|
-
"name": "size",
|
|
721
|
-
"type": {
|
|
722
|
-
"text": "number"
|
|
723
|
-
},
|
|
724
|
-
"description": "The size of the error map.",
|
|
725
|
-
"return": {
|
|
726
|
-
"type": {
|
|
727
|
-
"text": ""
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"privacy": "public",
|
|
731
|
-
"readonly": true
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"kind": "method",
|
|
735
|
-
"name": "values",
|
|
736
|
-
"privacy": "public"
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"kind": "field",
|
|
740
|
-
"name": "messages",
|
|
741
|
-
"type": {
|
|
742
|
-
"text": "string"
|
|
743
|
-
},
|
|
744
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
745
|
-
"readonly": true
|
|
746
|
-
}
|
|
747
|
-
]
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"kind": "function",
|
|
751
|
-
"name": "createErrorMap",
|
|
752
|
-
"return": {
|
|
753
|
-
"type": {
|
|
754
|
-
"text": ""
|
|
755
|
-
}
|
|
756
|
-
},
|
|
757
|
-
"parameters": [
|
|
758
|
-
{
|
|
759
|
-
"name": "logger",
|
|
760
|
-
"type": {
|
|
761
|
-
"text": "ErrorMapLogger"
|
|
762
|
-
},
|
|
763
|
-
"description": "A logger error method reference."
|
|
764
|
-
}
|
|
765
|
-
],
|
|
766
|
-
"description": "A factory to create the error map.",
|
|
767
|
-
"privacy": "public"
|
|
768
|
-
}
|
|
769
|
-
],
|
|
770
|
-
"exports": [
|
|
771
|
-
{
|
|
772
|
-
"kind": "js",
|
|
773
|
-
"name": "DefaultErrorMap",
|
|
774
|
-
"declaration": {
|
|
775
|
-
"name": "DefaultErrorMap",
|
|
776
|
-
"module": "src/error/errorMap.ts"
|
|
777
|
-
}
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
"kind": "js",
|
|
781
|
-
"name": "createErrorMap",
|
|
782
|
-
"declaration": {
|
|
783
|
-
"name": "createErrorMap",
|
|
784
|
-
"module": "src/error/errorMap.ts"
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
]
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"kind": "javascript-module",
|
|
791
|
-
"path": "src/error/index.ts",
|
|
792
|
-
"declarations": [],
|
|
793
|
-
"exports": [
|
|
794
|
-
{
|
|
795
|
-
"kind": "js",
|
|
796
|
-
"name": "*",
|
|
797
|
-
"declaration": {
|
|
798
|
-
"name": "*",
|
|
799
|
-
"package": "./errorMap"
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
]
|
|
803
|
-
},
|
|
804
485
|
{
|
|
805
486
|
"kind": "javascript-module",
|
|
806
487
|
"path": "src/env/index.ts",
|
|
@@ -1204,74 +885,393 @@
|
|
|
1204
885
|
},
|
|
1205
886
|
{
|
|
1206
887
|
"kind": "js",
|
|
1207
|
-
"name": "LOGIN_DETAILS_URL",
|
|
888
|
+
"name": "LOGIN_DETAILS_URL",
|
|
889
|
+
"declaration": {
|
|
890
|
+
"name": "LOGIN_DETAILS_URL",
|
|
891
|
+
"module": "src/env/variables.ts"
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"kind": "js",
|
|
896
|
+
"name": "LOGOUT_URL",
|
|
897
|
+
"declaration": {
|
|
898
|
+
"name": "LOGOUT_URL",
|
|
899
|
+
"module": "src/env/variables.ts"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"kind": "js",
|
|
904
|
+
"name": "CHANGE_PASSWORD_URL",
|
|
905
|
+
"declaration": {
|
|
906
|
+
"name": "CHANGE_PASSWORD_URL",
|
|
907
|
+
"module": "src/env/variables.ts"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"kind": "js",
|
|
912
|
+
"name": "FORGOT_PASSWORD_URL",
|
|
913
|
+
"declaration": {
|
|
914
|
+
"name": "FORGOT_PASSWORD_URL",
|
|
915
|
+
"module": "src/env/variables.ts"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"kind": "js",
|
|
920
|
+
"name": "RESET_PASSWORD_URL",
|
|
921
|
+
"declaration": {
|
|
922
|
+
"name": "RESET_PASSWORD_URL",
|
|
923
|
+
"module": "src/env/variables.ts"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"kind": "js",
|
|
928
|
+
"name": "SSO_LIST_URL",
|
|
929
|
+
"declaration": {
|
|
930
|
+
"name": "SSO_LIST_URL",
|
|
931
|
+
"module": "src/env/variables.ts"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"kind": "js",
|
|
936
|
+
"name": "SSO_LOGIN_URL",
|
|
937
|
+
"declaration": {
|
|
938
|
+
"name": "SSO_LOGIN_URL",
|
|
939
|
+
"module": "src/env/variables.ts"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"kind": "js",
|
|
944
|
+
"name": "ENVIRONMENT_LEVEL",
|
|
945
|
+
"declaration": {
|
|
946
|
+
"name": "ENVIRONMENT_LEVEL",
|
|
947
|
+
"module": "src/env/variables.ts"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"kind": "js",
|
|
952
|
+
"name": "ACCEPT_TERMS_URL",
|
|
953
|
+
"declaration": {
|
|
954
|
+
"name": "ACCEPT_TERMS_URL",
|
|
955
|
+
"module": "src/env/variables.ts"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"kind": "javascript-module",
|
|
962
|
+
"path": "src/design-system/design-system.ts",
|
|
963
|
+
"declarations": [
|
|
964
|
+
{
|
|
965
|
+
"kind": "function",
|
|
966
|
+
"name": "assureDesignSystem",
|
|
967
|
+
"return": {
|
|
968
|
+
"type": {
|
|
969
|
+
"text": "DesignSystemModule"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"parameters": [
|
|
973
|
+
{
|
|
974
|
+
"name": "module",
|
|
975
|
+
"type": {
|
|
976
|
+
"text": "DesignSystemModule"
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"description": "assureDesignSystem.",
|
|
981
|
+
"privacy": "public"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "function",
|
|
985
|
+
"name": "getCurrentDesignSystem",
|
|
986
|
+
"return": {
|
|
987
|
+
"type": {
|
|
988
|
+
"text": ""
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"parameters": [
|
|
992
|
+
{
|
|
993
|
+
"name": "element",
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "HTMLElement"
|
|
996
|
+
},
|
|
997
|
+
"description": "The starting HTML element"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "fallbackPrefix",
|
|
1001
|
+
"type": {
|
|
1002
|
+
"text": "string"
|
|
1003
|
+
},
|
|
1004
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1005
|
+
}
|
|
1006
|
+
],
|
|
1007
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1008
|
+
"privacy": "public"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "function",
|
|
1012
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1013
|
+
"return": {
|
|
1014
|
+
"type": {
|
|
1015
|
+
"text": ""
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"parameters": [
|
|
1019
|
+
{
|
|
1020
|
+
"name": "element",
|
|
1021
|
+
"type": {
|
|
1022
|
+
"text": "HTMLElement"
|
|
1023
|
+
},
|
|
1024
|
+
"description": "The starting HTML element"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "fallbackPrefix",
|
|
1028
|
+
"type": {
|
|
1029
|
+
"text": "string"
|
|
1030
|
+
},
|
|
1031
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
1035
|
+
"privacy": "public"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"exports": [
|
|
1039
|
+
{
|
|
1040
|
+
"kind": "js",
|
|
1041
|
+
"name": "assureDesignSystem",
|
|
1208
1042
|
"declaration": {
|
|
1209
|
-
"name": "
|
|
1210
|
-
"module": "src/
|
|
1043
|
+
"name": "assureDesignSystem",
|
|
1044
|
+
"module": "src/design-system/design-system.ts"
|
|
1211
1045
|
}
|
|
1212
1046
|
},
|
|
1213
1047
|
{
|
|
1214
1048
|
"kind": "js",
|
|
1215
|
-
"name": "
|
|
1049
|
+
"name": "getCurrentDesignSystem",
|
|
1216
1050
|
"declaration": {
|
|
1217
|
-
"name": "
|
|
1218
|
-
"module": "src/
|
|
1051
|
+
"name": "getCurrentDesignSystem",
|
|
1052
|
+
"module": "src/design-system/design-system.ts"
|
|
1219
1053
|
}
|
|
1220
1054
|
},
|
|
1221
1055
|
{
|
|
1222
1056
|
"kind": "js",
|
|
1223
|
-
"name": "
|
|
1057
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1224
1058
|
"declaration": {
|
|
1225
|
-
"name": "
|
|
1226
|
-
"module": "src/
|
|
1059
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1060
|
+
"module": "src/design-system/design-system.ts"
|
|
1227
1061
|
}
|
|
1228
|
-
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "javascript-module",
|
|
1067
|
+
"path": "src/design-system/index.ts",
|
|
1068
|
+
"declarations": [],
|
|
1069
|
+
"exports": [
|
|
1229
1070
|
{
|
|
1230
1071
|
"kind": "js",
|
|
1231
|
-
"name": "
|
|
1072
|
+
"name": "*",
|
|
1232
1073
|
"declaration": {
|
|
1233
|
-
"name": "
|
|
1234
|
-
"
|
|
1074
|
+
"name": "*",
|
|
1075
|
+
"package": "./design-system"
|
|
1235
1076
|
}
|
|
1236
|
-
}
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "javascript-module",
|
|
1082
|
+
"path": "src/error/errorMap.ts",
|
|
1083
|
+
"declarations": [
|
|
1237
1084
|
{
|
|
1238
|
-
"kind": "
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1085
|
+
"kind": "class",
|
|
1086
|
+
"description": "",
|
|
1087
|
+
"name": "DefaultErrorMap",
|
|
1088
|
+
"members": [
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "field",
|
|
1091
|
+
"name": "map",
|
|
1092
|
+
"privacy": "private",
|
|
1093
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"kind": "field",
|
|
1097
|
+
"name": "lastError",
|
|
1098
|
+
"type": {
|
|
1099
|
+
"text": "Error"
|
|
1100
|
+
},
|
|
1101
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "method",
|
|
1105
|
+
"name": "set",
|
|
1106
|
+
"return": {
|
|
1107
|
+
"type": {
|
|
1108
|
+
"text": "void"
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"parameters": [
|
|
1112
|
+
{
|
|
1113
|
+
"name": "key",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "keyof TErrorDetailMap"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "error",
|
|
1120
|
+
"type": {
|
|
1121
|
+
"text": "Error"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"kind": "method",
|
|
1129
|
+
"name": "get",
|
|
1130
|
+
"return": {
|
|
1131
|
+
"type": {
|
|
1132
|
+
"text": ""
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
"parameters": [
|
|
1136
|
+
{
|
|
1137
|
+
"name": "key",
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "keyof TErrorDetailMap"
|
|
1140
|
+
},
|
|
1141
|
+
"description": "The key."
|
|
1142
|
+
}
|
|
1143
|
+
],
|
|
1144
|
+
"description": "Get an error by key.",
|
|
1145
|
+
"privacy": "public"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"kind": "method",
|
|
1149
|
+
"name": "has",
|
|
1150
|
+
"return": {
|
|
1151
|
+
"type": {
|
|
1152
|
+
"text": ""
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"parameters": [
|
|
1156
|
+
{
|
|
1157
|
+
"name": "key",
|
|
1158
|
+
"type": {
|
|
1159
|
+
"text": "keyof TErrorDetailMap"
|
|
1160
|
+
},
|
|
1161
|
+
"description": "The key."
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"description": "Has an error for key.",
|
|
1165
|
+
"privacy": "public"
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"kind": "method",
|
|
1169
|
+
"name": "delete",
|
|
1170
|
+
"return": {
|
|
1171
|
+
"type": {
|
|
1172
|
+
"text": ""
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"parameters": [
|
|
1176
|
+
{
|
|
1177
|
+
"name": "key",
|
|
1178
|
+
"type": {
|
|
1179
|
+
"text": "keyof TErrorDetailMap"
|
|
1180
|
+
},
|
|
1181
|
+
"description": "The key."
|
|
1182
|
+
}
|
|
1183
|
+
],
|
|
1184
|
+
"description": "Delete an error.",
|
|
1185
|
+
"privacy": "public"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "method",
|
|
1189
|
+
"name": "clear",
|
|
1190
|
+
"description": "Clear errors.",
|
|
1191
|
+
"privacy": "public"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"kind": "field",
|
|
1195
|
+
"name": "size",
|
|
1196
|
+
"type": {
|
|
1197
|
+
"text": "number"
|
|
1198
|
+
},
|
|
1199
|
+
"description": "The size of the error map.",
|
|
1200
|
+
"return": {
|
|
1201
|
+
"type": {
|
|
1202
|
+
"text": ""
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
"privacy": "public",
|
|
1206
|
+
"readonly": true
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "method",
|
|
1210
|
+
"name": "values",
|
|
1211
|
+
"privacy": "public"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"kind": "field",
|
|
1215
|
+
"name": "messages",
|
|
1216
|
+
"type": {
|
|
1217
|
+
"text": "string"
|
|
1218
|
+
},
|
|
1219
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
1220
|
+
"readonly": true
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1244
1223
|
},
|
|
1245
1224
|
{
|
|
1246
|
-
"kind": "
|
|
1247
|
-
"name": "
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1225
|
+
"kind": "function",
|
|
1226
|
+
"name": "createErrorMap",
|
|
1227
|
+
"return": {
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": ""
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"parameters": [
|
|
1233
|
+
{
|
|
1234
|
+
"name": "logger",
|
|
1235
|
+
"type": {
|
|
1236
|
+
"text": "ErrorMapLogger"
|
|
1237
|
+
},
|
|
1238
|
+
"description": "A logger error method reference."
|
|
1239
|
+
}
|
|
1240
|
+
],
|
|
1241
|
+
"description": "A factory to create the error map.",
|
|
1242
|
+
"privacy": "public"
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
"exports": [
|
|
1253
1246
|
{
|
|
1254
1247
|
"kind": "js",
|
|
1255
|
-
"name": "
|
|
1248
|
+
"name": "DefaultErrorMap",
|
|
1256
1249
|
"declaration": {
|
|
1257
|
-
"name": "
|
|
1258
|
-
"module": "src/
|
|
1250
|
+
"name": "DefaultErrorMap",
|
|
1251
|
+
"module": "src/error/errorMap.ts"
|
|
1259
1252
|
}
|
|
1260
1253
|
},
|
|
1261
1254
|
{
|
|
1262
1255
|
"kind": "js",
|
|
1263
|
-
"name": "
|
|
1256
|
+
"name": "createErrorMap",
|
|
1264
1257
|
"declaration": {
|
|
1265
|
-
"name": "
|
|
1266
|
-
"module": "src/
|
|
1258
|
+
"name": "createErrorMap",
|
|
1259
|
+
"module": "src/error/errorMap.ts"
|
|
1267
1260
|
}
|
|
1268
|
-
}
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "javascript-module",
|
|
1266
|
+
"path": "src/error/index.ts",
|
|
1267
|
+
"declarations": [],
|
|
1268
|
+
"exports": [
|
|
1269
1269
|
{
|
|
1270
1270
|
"kind": "js",
|
|
1271
|
-
"name": "
|
|
1271
|
+
"name": "*",
|
|
1272
1272
|
"declaration": {
|
|
1273
|
-
"name": "
|
|
1274
|
-
"
|
|
1273
|
+
"name": "*",
|
|
1274
|
+
"package": "./errorMap"
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
]
|
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.
|
|
4
|
+
"version": "14.392.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.392.0",
|
|
33
|
+
"@genesislcap/genx": "14.392.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.392.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.392.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.392.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.392.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.392.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.392.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.392.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "3737d3ce26db3413e4473aa3487eaa1955ea27b5"
|
|
62
62
|
}
|