@genesislcap/foundation-utils 14.375.1-FUI-2457.1 → 14.375.1
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 +447 -447
- 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",
|
|
@@ -1166,112 +847,431 @@
|
|
|
1166
847
|
"kind": "js",
|
|
1167
848
|
"name": "DEFAULT_ORGANISATION",
|
|
1168
849
|
"declaration": {
|
|
1169
|
-
"name": "_DEFAULT_ORGANISATION",
|
|
850
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
851
|
+
"module": "src/env/variables.ts"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"kind": "js",
|
|
856
|
+
"name": "DEFAULT_PASSWORD",
|
|
857
|
+
"declaration": {
|
|
858
|
+
"name": "_DEFAULT_PASSWORD",
|
|
859
|
+
"module": "src/env/variables.ts"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"kind": "js",
|
|
864
|
+
"name": "DEFAULT_USER",
|
|
865
|
+
"declaration": {
|
|
866
|
+
"name": "_DEFAULT_USER",
|
|
867
|
+
"module": "src/env/variables.ts"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"kind": "js",
|
|
872
|
+
"name": "LOGIN_URL",
|
|
873
|
+
"declaration": {
|
|
874
|
+
"name": "LOGIN_URL",
|
|
875
|
+
"module": "src/env/variables.ts"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"kind": "js",
|
|
880
|
+
"name": "LOGIN_REFRESH_URL",
|
|
881
|
+
"declaration": {
|
|
882
|
+
"name": "LOGIN_REFRESH_URL",
|
|
883
|
+
"module": "src/env/variables.ts"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"kind": "js",
|
|
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",
|
|
1170
915
|
"module": "src/env/variables.ts"
|
|
1171
916
|
}
|
|
1172
917
|
},
|
|
1173
918
|
{
|
|
1174
919
|
"kind": "js",
|
|
1175
|
-
"name": "
|
|
920
|
+
"name": "RESET_PASSWORD_URL",
|
|
1176
921
|
"declaration": {
|
|
1177
|
-
"name": "
|
|
922
|
+
"name": "RESET_PASSWORD_URL",
|
|
1178
923
|
"module": "src/env/variables.ts"
|
|
1179
924
|
}
|
|
1180
925
|
},
|
|
1181
926
|
{
|
|
1182
927
|
"kind": "js",
|
|
1183
|
-
"name": "
|
|
928
|
+
"name": "SSO_LIST_URL",
|
|
1184
929
|
"declaration": {
|
|
1185
|
-
"name": "
|
|
930
|
+
"name": "SSO_LIST_URL",
|
|
1186
931
|
"module": "src/env/variables.ts"
|
|
1187
932
|
}
|
|
1188
933
|
},
|
|
1189
934
|
{
|
|
1190
935
|
"kind": "js",
|
|
1191
|
-
"name": "
|
|
936
|
+
"name": "SSO_LOGIN_URL",
|
|
1192
937
|
"declaration": {
|
|
1193
|
-
"name": "
|
|
938
|
+
"name": "SSO_LOGIN_URL",
|
|
1194
939
|
"module": "src/env/variables.ts"
|
|
1195
940
|
}
|
|
1196
941
|
},
|
|
1197
942
|
{
|
|
1198
943
|
"kind": "js",
|
|
1199
|
-
"name": "
|
|
944
|
+
"name": "ENVIRONMENT_LEVEL",
|
|
1200
945
|
"declaration": {
|
|
1201
|
-
"name": "
|
|
946
|
+
"name": "ENVIRONMENT_LEVEL",
|
|
1202
947
|
"module": "src/env/variables.ts"
|
|
1203
948
|
}
|
|
1204
949
|
},
|
|
1205
950
|
{
|
|
1206
951
|
"kind": "js",
|
|
1207
|
-
"name": "
|
|
952
|
+
"name": "ACCEPT_TERMS_URL",
|
|
1208
953
|
"declaration": {
|
|
1209
|
-
"name": "
|
|
954
|
+
"name": "ACCEPT_TERMS_URL",
|
|
1210
955
|
"module": "src/env/variables.ts"
|
|
1211
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"
|
|
1212
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": [
|
|
1213
1039
|
{
|
|
1214
1040
|
"kind": "js",
|
|
1215
|
-
"name": "
|
|
1041
|
+
"name": "assureDesignSystem",
|
|
1216
1042
|
"declaration": {
|
|
1217
|
-
"name": "
|
|
1218
|
-
"module": "src/
|
|
1043
|
+
"name": "assureDesignSystem",
|
|
1044
|
+
"module": "src/design-system/design-system.ts"
|
|
1219
1045
|
}
|
|
1220
1046
|
},
|
|
1221
1047
|
{
|
|
1222
1048
|
"kind": "js",
|
|
1223
|
-
"name": "
|
|
1049
|
+
"name": "getCurrentDesignSystem",
|
|
1224
1050
|
"declaration": {
|
|
1225
|
-
"name": "
|
|
1226
|
-
"module": "src/
|
|
1051
|
+
"name": "getCurrentDesignSystem",
|
|
1052
|
+
"module": "src/design-system/design-system.ts"
|
|
1227
1053
|
}
|
|
1228
1054
|
},
|
|
1229
1055
|
{
|
|
1230
1056
|
"kind": "js",
|
|
1231
|
-
"name": "
|
|
1057
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1232
1058
|
"declaration": {
|
|
1233
|
-
"name": "
|
|
1234
|
-
"module": "src/
|
|
1059
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
1060
|
+
"module": "src/design-system/design-system.ts"
|
|
1235
1061
|
}
|
|
1236
|
-
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "javascript-module",
|
|
1067
|
+
"path": "src/design-system/index.ts",
|
|
1068
|
+
"declarations": [],
|
|
1069
|
+
"exports": [
|
|
1237
1070
|
{
|
|
1238
1071
|
"kind": "js",
|
|
1239
|
-
"name": "
|
|
1072
|
+
"name": "*",
|
|
1240
1073
|
"declaration": {
|
|
1241
|
-
"name": "
|
|
1242
|
-
"
|
|
1074
|
+
"name": "*",
|
|
1075
|
+
"package": "./design-system"
|
|
1243
1076
|
}
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "javascript-module",
|
|
1082
|
+
"path": "src/error/errorMap.ts",
|
|
1083
|
+
"declarations": [
|
|
1084
|
+
{
|
|
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
|
]
|
|
@@ -4570,6 +4570,93 @@
|
|
|
4570
4570
|
}
|
|
4571
4571
|
]
|
|
4572
4572
|
},
|
|
4573
|
+
{
|
|
4574
|
+
"kind": "javascript-module",
|
|
4575
|
+
"path": "src/mixins/pendingState/index.ts",
|
|
4576
|
+
"declarations": [],
|
|
4577
|
+
"exports": [
|
|
4578
|
+
{
|
|
4579
|
+
"kind": "js",
|
|
4580
|
+
"name": "*",
|
|
4581
|
+
"declaration": {
|
|
4582
|
+
"name": "*",
|
|
4583
|
+
"package": "./pendingState"
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
]
|
|
4587
|
+
},
|
|
4588
|
+
{
|
|
4589
|
+
"kind": "javascript-module",
|
|
4590
|
+
"path": "src/mixins/pendingState/pendingState.ts",
|
|
4591
|
+
"declarations": [
|
|
4592
|
+
{
|
|
4593
|
+
"kind": "mixin",
|
|
4594
|
+
"description": "The `PendingState` mixin.",
|
|
4595
|
+
"name": "PendingState",
|
|
4596
|
+
"members": [
|
|
4597
|
+
{
|
|
4598
|
+
"kind": "field",
|
|
4599
|
+
"name": "pendingCount",
|
|
4600
|
+
"type": {
|
|
4601
|
+
"text": "number"
|
|
4602
|
+
},
|
|
4603
|
+
"privacy": "public",
|
|
4604
|
+
"default": "0",
|
|
4605
|
+
"description": "The number of promises that are currently pending."
|
|
4606
|
+
},
|
|
4607
|
+
{
|
|
4608
|
+
"kind": "field",
|
|
4609
|
+
"name": "resolvedCount",
|
|
4610
|
+
"type": {
|
|
4611
|
+
"text": "number"
|
|
4612
|
+
},
|
|
4613
|
+
"privacy": "public",
|
|
4614
|
+
"default": "0",
|
|
4615
|
+
"description": "The number of promises that have been resolved."
|
|
4616
|
+
},
|
|
4617
|
+
{
|
|
4618
|
+
"kind": "field",
|
|
4619
|
+
"name": "hasPendingChildren",
|
|
4620
|
+
"type": {
|
|
4621
|
+
"text": "boolean"
|
|
4622
|
+
},
|
|
4623
|
+
"privacy": "public",
|
|
4624
|
+
"default": "false",
|
|
4625
|
+
"description": "A boolean indicating whether there are any pending children."
|
|
4626
|
+
},
|
|
4627
|
+
{
|
|
4628
|
+
"kind": "field",
|
|
4629
|
+
"name": "progress",
|
|
4630
|
+
"type": {
|
|
4631
|
+
"text": "number"
|
|
4632
|
+
},
|
|
4633
|
+
"privacy": "public",
|
|
4634
|
+
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
|
4635
|
+
"readonly": true
|
|
4636
|
+
}
|
|
4637
|
+
],
|
|
4638
|
+
"parameters": [
|
|
4639
|
+
{
|
|
4640
|
+
"name": "Base",
|
|
4641
|
+
"type": {
|
|
4642
|
+
"text": "TBase"
|
|
4643
|
+
}
|
|
4644
|
+
}
|
|
4645
|
+
],
|
|
4646
|
+
"privacy": "public"
|
|
4647
|
+
}
|
|
4648
|
+
],
|
|
4649
|
+
"exports": [
|
|
4650
|
+
{
|
|
4651
|
+
"kind": "js",
|
|
4652
|
+
"name": "PendingState",
|
|
4653
|
+
"declaration": {
|
|
4654
|
+
"name": "PendingState",
|
|
4655
|
+
"module": "src/mixins/pendingState/pendingState.ts"
|
|
4656
|
+
}
|
|
4657
|
+
}
|
|
4658
|
+
]
|
|
4659
|
+
},
|
|
4573
4660
|
{
|
|
4574
4661
|
"kind": "javascript-module",
|
|
4575
4662
|
"path": "src/mixins/lifecycle/index.ts",
|
|
@@ -4694,93 +4781,6 @@
|
|
|
4694
4781
|
}
|
|
4695
4782
|
]
|
|
4696
4783
|
},
|
|
4697
|
-
{
|
|
4698
|
-
"kind": "javascript-module",
|
|
4699
|
-
"path": "src/mixins/pendingState/index.ts",
|
|
4700
|
-
"declarations": [],
|
|
4701
|
-
"exports": [
|
|
4702
|
-
{
|
|
4703
|
-
"kind": "js",
|
|
4704
|
-
"name": "*",
|
|
4705
|
-
"declaration": {
|
|
4706
|
-
"name": "*",
|
|
4707
|
-
"package": "./pendingState"
|
|
4708
|
-
}
|
|
4709
|
-
}
|
|
4710
|
-
]
|
|
4711
|
-
},
|
|
4712
|
-
{
|
|
4713
|
-
"kind": "javascript-module",
|
|
4714
|
-
"path": "src/mixins/pendingState/pendingState.ts",
|
|
4715
|
-
"declarations": [
|
|
4716
|
-
{
|
|
4717
|
-
"kind": "mixin",
|
|
4718
|
-
"description": "The `PendingState` mixin.",
|
|
4719
|
-
"name": "PendingState",
|
|
4720
|
-
"members": [
|
|
4721
|
-
{
|
|
4722
|
-
"kind": "field",
|
|
4723
|
-
"name": "pendingCount",
|
|
4724
|
-
"type": {
|
|
4725
|
-
"text": "number"
|
|
4726
|
-
},
|
|
4727
|
-
"privacy": "public",
|
|
4728
|
-
"default": "0",
|
|
4729
|
-
"description": "The number of promises that are currently pending."
|
|
4730
|
-
},
|
|
4731
|
-
{
|
|
4732
|
-
"kind": "field",
|
|
4733
|
-
"name": "resolvedCount",
|
|
4734
|
-
"type": {
|
|
4735
|
-
"text": "number"
|
|
4736
|
-
},
|
|
4737
|
-
"privacy": "public",
|
|
4738
|
-
"default": "0",
|
|
4739
|
-
"description": "The number of promises that have been resolved."
|
|
4740
|
-
},
|
|
4741
|
-
{
|
|
4742
|
-
"kind": "field",
|
|
4743
|
-
"name": "hasPendingChildren",
|
|
4744
|
-
"type": {
|
|
4745
|
-
"text": "boolean"
|
|
4746
|
-
},
|
|
4747
|
-
"privacy": "public",
|
|
4748
|
-
"default": "false",
|
|
4749
|
-
"description": "A boolean indicating whether there are any pending children."
|
|
4750
|
-
},
|
|
4751
|
-
{
|
|
4752
|
-
"kind": "field",
|
|
4753
|
-
"name": "progress",
|
|
4754
|
-
"type": {
|
|
4755
|
-
"text": "number"
|
|
4756
|
-
},
|
|
4757
|
-
"privacy": "public",
|
|
4758
|
-
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
|
4759
|
-
"readonly": true
|
|
4760
|
-
}
|
|
4761
|
-
],
|
|
4762
|
-
"parameters": [
|
|
4763
|
-
{
|
|
4764
|
-
"name": "Base",
|
|
4765
|
-
"type": {
|
|
4766
|
-
"text": "TBase"
|
|
4767
|
-
}
|
|
4768
|
-
}
|
|
4769
|
-
],
|
|
4770
|
-
"privacy": "public"
|
|
4771
|
-
}
|
|
4772
|
-
],
|
|
4773
|
-
"exports": [
|
|
4774
|
-
{
|
|
4775
|
-
"kind": "js",
|
|
4776
|
-
"name": "PendingState",
|
|
4777
|
-
"declaration": {
|
|
4778
|
-
"name": "PendingState",
|
|
4779
|
-
"module": "src/mixins/pendingState/pendingState.ts"
|
|
4780
|
-
}
|
|
4781
|
-
}
|
|
4782
|
-
]
|
|
4783
|
-
},
|
|
4784
4784
|
{
|
|
4785
4785
|
"kind": "javascript-module",
|
|
4786
4786
|
"path": "src/serializers/json/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.375.1
|
|
4
|
+
"version": "14.375.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@genesislcap/foundation-testing": "14.375.1
|
|
31
|
-
"@genesislcap/genx": "14.375.1
|
|
32
|
-
"@genesislcap/rollup-builder": "14.375.1
|
|
33
|
-
"@genesislcap/ts-builder": "14.375.1
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.375.1
|
|
35
|
-
"@genesislcap/vite-builder": "14.375.1
|
|
36
|
-
"@genesislcap/webpack-builder": "14.375.1
|
|
30
|
+
"@genesislcap/foundation-testing": "14.375.1",
|
|
31
|
+
"@genesislcap/genx": "14.375.1",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.375.1",
|
|
33
|
+
"@genesislcap/ts-builder": "14.375.1",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.375.1",
|
|
35
|
+
"@genesislcap/vite-builder": "14.375.1",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.375.1",
|
|
37
37
|
"@types/json-schema": "^7.0.11"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/expression-builder": "14.375.1
|
|
41
|
-
"@genesislcap/foundation-logger": "14.375.1
|
|
40
|
+
"@genesislcap/expression-builder": "14.375.1",
|
|
41
|
+
"@genesislcap/foundation-logger": "14.375.1",
|
|
42
42
|
"@microsoft/fast-components": "2.30.6",
|
|
43
43
|
"@microsoft/fast-element": "1.14.0",
|
|
44
44
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"customElements": "dist/custom-elements.json",
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "13a943f508a86862442e9a38999e0f0e56b282fa"
|
|
60
60
|
}
|