@genesislcap/foundation-utils 14.251.2 → 14.251.3-alpha-335acc7.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.
@@ -367,6 +367,59 @@
367
367
  }
368
368
  ]
369
369
  },
370
+ {
371
+ "kind": "javascript-module",
372
+ "path": "src/decorators/index.ts",
373
+ "declarations": [],
374
+ "exports": [
375
+ {
376
+ "kind": "js",
377
+ "name": "*",
378
+ "declaration": {
379
+ "name": "*",
380
+ "package": "./renderOnChange"
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "kind": "javascript-module",
387
+ "path": "src/decorators/renderOnChange.ts",
388
+ "declarations": [
389
+ {
390
+ "kind": "function",
391
+ "name": "renderOnChange",
392
+ "parameters": [
393
+ {
394
+ "name": "target",
395
+ "type": {
396
+ "text": "FASTElement & { render(): void }"
397
+ },
398
+ "description": "The target to define the property change handler on."
399
+ },
400
+ {
401
+ "name": "name",
402
+ "type": {
403
+ "text": "string"
404
+ },
405
+ "description": "The property name."
406
+ }
407
+ ],
408
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
409
+ "privacy": "public"
410
+ }
411
+ ],
412
+ "exports": [
413
+ {
414
+ "kind": "js",
415
+ "name": "renderOnChange",
416
+ "declaration": {
417
+ "name": "renderOnChange",
418
+ "module": "src/decorators/renderOnChange.ts"
419
+ }
420
+ }
421
+ ]
422
+ },
370
423
  {
371
424
  "kind": "javascript-module",
372
425
  "path": "src/design-system/design-system.ts",
@@ -457,7 +510,7 @@
457
510
  },
458
511
  {
459
512
  "kind": "javascript-module",
460
- "path": "src/decorators/index.ts",
513
+ "path": "src/env/index.ts",
461
514
  "declarations": [],
462
515
  "exports": [
463
516
  {
@@ -465,309 +518,57 @@
465
518
  "name": "*",
466
519
  "declaration": {
467
520
  "name": "*",
468
- "package": "./renderOnChange"
521
+ "package": "./is-dev"
522
+ }
523
+ },
524
+ {
525
+ "kind": "js",
526
+ "name": "*",
527
+ "declaration": {
528
+ "name": "*",
529
+ "package": "./variables"
469
530
  }
470
531
  }
471
532
  ]
472
533
  },
473
534
  {
474
535
  "kind": "javascript-module",
475
- "path": "src/decorators/renderOnChange.ts",
536
+ "path": "src/env/is-dev.ts",
476
537
  "declarations": [
477
538
  {
478
539
  "kind": "function",
479
- "name": "renderOnChange",
480
- "parameters": [
481
- {
482
- "name": "target",
483
- "type": {
484
- "text": "FASTElement & { render(): void }"
485
- },
486
- "description": "The target to define the property change handler on."
487
- },
488
- {
489
- "name": "name",
490
- "type": {
491
- "text": "string"
492
- },
493
- "description": "The property name."
494
- }
495
- ],
496
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
540
+ "name": "isDev",
541
+ "description": "Determines if the current environment is a development environment.",
497
542
  "privacy": "public"
498
543
  }
499
544
  ],
500
545
  "exports": [
501
546
  {
502
547
  "kind": "js",
503
- "name": "renderOnChange",
548
+ "name": "isDev",
504
549
  "declaration": {
505
- "name": "renderOnChange",
506
- "module": "src/decorators/renderOnChange.ts"
550
+ "name": "isDev",
551
+ "module": "src/env/is-dev.ts"
507
552
  }
508
553
  }
509
554
  ]
510
555
  },
511
556
  {
512
557
  "kind": "javascript-module",
513
- "path": "src/error/errorMap.ts",
558
+ "path": "src/env/variables.ts",
514
559
  "declarations": [
515
560
  {
516
- "kind": "class",
517
- "description": "",
518
- "name": "DefaultErrorMap",
519
- "members": [
520
- {
521
- "kind": "field",
522
- "name": "map",
523
- "privacy": "private",
524
- "default": "new Map<keyof TErrorDetailMap, Error>()"
525
- },
526
- {
527
- "kind": "field",
528
- "name": "lastError",
529
- "type": {
530
- "text": "Error"
531
- },
532
- "description": "{@inheritDoc ErrorMap.lastError}"
533
- },
534
- {
535
- "kind": "method",
536
- "name": "set",
537
- "return": {
538
- "type": {
539
- "text": "void"
540
- }
541
- },
542
- "parameters": [
543
- {
544
- "name": "key",
545
- "type": {
546
- "text": "keyof TErrorDetailMap"
547
- }
548
- },
549
- {
550
- "name": "error",
551
- "type": {
552
- "text": "Error"
553
- }
554
- }
555
- ],
556
- "description": "{@inheritDoc ErrorMap.set}"
557
- },
558
- {
559
- "kind": "method",
560
- "name": "get",
561
- "return": {
562
- "type": {
563
- "text": ""
564
- }
565
- },
566
- "parameters": [
567
- {
568
- "name": "key",
569
- "type": {
570
- "text": "keyof TErrorDetailMap"
571
- },
572
- "description": "The key."
573
- }
574
- ],
575
- "description": "Get an error by key.",
576
- "privacy": "public"
577
- },
578
- {
579
- "kind": "method",
580
- "name": "has",
581
- "return": {
582
- "type": {
583
- "text": ""
584
- }
585
- },
586
- "parameters": [
587
- {
588
- "name": "key",
589
- "type": {
590
- "text": "keyof TErrorDetailMap"
591
- },
592
- "description": "The key."
593
- }
594
- ],
595
- "description": "Has an error for key.",
596
- "privacy": "public"
597
- },
598
- {
599
- "kind": "method",
600
- "name": "delete",
601
- "return": {
602
- "type": {
603
- "text": ""
604
- }
605
- },
606
- "parameters": [
607
- {
608
- "name": "key",
609
- "type": {
610
- "text": "keyof TErrorDetailMap"
611
- },
612
- "description": "The key."
613
- }
614
- ],
615
- "description": "Delete an error.",
616
- "privacy": "public"
617
- },
618
- {
619
- "kind": "method",
620
- "name": "clear",
621
- "description": "Clear errors.",
622
- "privacy": "public"
623
- },
624
- {
625
- "kind": "field",
626
- "name": "size",
627
- "type": {
628
- "text": "number"
629
- },
630
- "description": "The size of the error map.",
631
- "return": {
632
- "type": {
633
- "text": ""
634
- }
635
- },
636
- "privacy": "public",
637
- "readonly": true
638
- },
639
- {
640
- "kind": "method",
641
- "name": "values",
642
- "privacy": "public"
643
- },
644
- {
645
- "kind": "field",
646
- "name": "messages",
647
- "type": {
648
- "text": "string"
649
- },
650
- "description": "{@inheritDoc ErrorMap.messages}",
651
- "readonly": true
652
- }
653
- ]
561
+ "kind": "variable",
562
+ "name": "BUILDER",
563
+ "type": {
564
+ "text": "string"
565
+ }
654
566
  },
655
567
  {
656
- "kind": "function",
657
- "name": "createErrorMap",
658
- "return": {
659
- "type": {
660
- "text": ""
661
- }
662
- },
663
- "parameters": [
664
- {
665
- "name": "logger",
666
- "type": {
667
- "text": "ErrorMapLogger"
668
- },
669
- "description": "A logger error method reference."
670
- }
671
- ],
672
- "description": "A factory to create the error map.",
673
- "privacy": "public"
674
- }
675
- ],
676
- "exports": [
677
- {
678
- "kind": "js",
679
- "name": "DefaultErrorMap",
680
- "declaration": {
681
- "name": "DefaultErrorMap",
682
- "module": "src/error/errorMap.ts"
683
- }
684
- },
685
- {
686
- "kind": "js",
687
- "name": "createErrorMap",
688
- "declaration": {
689
- "name": "createErrorMap",
690
- "module": "src/error/errorMap.ts"
691
- }
692
- }
693
- ]
694
- },
695
- {
696
- "kind": "javascript-module",
697
- "path": "src/error/index.ts",
698
- "declarations": [],
699
- "exports": [
700
- {
701
- "kind": "js",
702
- "name": "*",
703
- "declaration": {
704
- "name": "*",
705
- "package": "./errorMap"
706
- }
707
- }
708
- ]
709
- },
710
- {
711
- "kind": "javascript-module",
712
- "path": "src/env/index.ts",
713
- "declarations": [],
714
- "exports": [
715
- {
716
- "kind": "js",
717
- "name": "*",
718
- "declaration": {
719
- "name": "*",
720
- "package": "./is-dev"
721
- }
722
- },
723
- {
724
- "kind": "js",
725
- "name": "*",
726
- "declaration": {
727
- "name": "*",
728
- "package": "./variables"
729
- }
730
- }
731
- ]
732
- },
733
- {
734
- "kind": "javascript-module",
735
- "path": "src/env/is-dev.ts",
736
- "declarations": [
737
- {
738
- "kind": "function",
739
- "name": "isDev",
740
- "description": "Determines if the current environment is a development environment.",
741
- "privacy": "public"
742
- }
743
- ],
744
- "exports": [
745
- {
746
- "kind": "js",
747
- "name": "isDev",
748
- "declaration": {
749
- "name": "isDev",
750
- "module": "src/env/is-dev.ts"
751
- }
752
- }
753
- ]
754
- },
755
- {
756
- "kind": "javascript-module",
757
- "path": "src/env/variables.ts",
758
- "declarations": [
759
- {
760
- "kind": "variable",
761
- "name": "BUILDER",
762
- "type": {
763
- "text": "string"
764
- }
765
- },
766
- {
767
- "kind": "variable",
768
- "name": "_BUILDER",
769
- "type": {
770
- "text": "string"
568
+ "kind": "variable",
569
+ "name": "_BUILDER",
570
+ "type": {
571
+ "text": "string"
771
572
  },
772
573
  "default": "'webpack'",
773
574
  "description": "The builder aka file bundler.",
@@ -826,7 +627,7 @@
826
627
  {
827
628
  "kind": "variable",
828
629
  "name": "GENESIS_SOCKET_URL",
829
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
630
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
830
631
  "description": "Genesis Socket URL",
831
632
  "privacy": "public"
832
633
  },
@@ -984,166 +785,365 @@
984
785
  "privacy": "public"
985
786
  },
986
787
  {
987
- "kind": "variable",
988
- "name": "SSO_LOGIN_URL",
989
- "type": {
990
- "text": "string"
788
+ "kind": "variable",
789
+ "name": "SSO_LOGIN_URL",
790
+ "type": {
791
+ "text": "string"
792
+ },
793
+ "default": "'/sm/{type}/login?idp={id}'",
794
+ "privacy": "public"
795
+ }
796
+ ],
797
+ "exports": [
798
+ {
799
+ "kind": "js",
800
+ "name": "BUILDER",
801
+ "declaration": {
802
+ "name": "_BUILDER",
803
+ "module": "src/env/variables.ts"
804
+ }
805
+ },
806
+ {
807
+ "kind": "js",
808
+ "name": "PUBLIC_PATH",
809
+ "declaration": {
810
+ "name": "_PUBLIC_PATH",
811
+ "module": "src/env/variables.ts"
812
+ }
813
+ },
814
+ {
815
+ "kind": "js",
816
+ "name": "SOCKET_EXT",
817
+ "declaration": {
818
+ "name": "_SOCKET_EXT",
819
+ "module": "src/env/variables.ts"
820
+ }
821
+ },
822
+ {
823
+ "kind": "js",
824
+ "name": "FORCE_HTTP",
825
+ "declaration": {
826
+ "name": "_FORCE_HTTP",
827
+ "module": "src/env/variables.ts"
828
+ }
829
+ },
830
+ {
831
+ "kind": "js",
832
+ "name": "GENESIS_SOCKET_URL",
833
+ "declaration": {
834
+ "name": "GENESIS_SOCKET_URL",
835
+ "module": "src/env/variables.ts"
836
+ }
837
+ },
838
+ {
839
+ "kind": "js",
840
+ "name": "API_HOST",
841
+ "declaration": {
842
+ "name": "_API_HOST",
843
+ "module": "src/env/variables.ts"
844
+ }
845
+ },
846
+ {
847
+ "kind": "js",
848
+ "name": "HTTP_CONFIG",
849
+ "declaration": {
850
+ "name": "_HTTP_CONFIG",
851
+ "module": "src/env/variables.ts"
852
+ }
853
+ },
854
+ {
855
+ "kind": "js",
856
+ "name": "DEFAULT_ORGANISATION",
857
+ "declaration": {
858
+ "name": "_DEFAULT_ORGANISATION",
859
+ "module": "src/env/variables.ts"
860
+ }
861
+ },
862
+ {
863
+ "kind": "js",
864
+ "name": "DEFAULT_PASSWORD",
865
+ "declaration": {
866
+ "name": "_DEFAULT_PASSWORD",
867
+ "module": "src/env/variables.ts"
868
+ }
869
+ },
870
+ {
871
+ "kind": "js",
872
+ "name": "DEFAULT_USER",
873
+ "declaration": {
874
+ "name": "_DEFAULT_USER",
875
+ "module": "src/env/variables.ts"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "LOGIN_URL",
881
+ "declaration": {
882
+ "name": "LOGIN_URL",
883
+ "module": "src/env/variables.ts"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "LOGIN_REFRESH_URL",
889
+ "declaration": {
890
+ "name": "LOGIN_REFRESH_URL",
891
+ "module": "src/env/variables.ts"
892
+ }
893
+ },
894
+ {
895
+ "kind": "js",
896
+ "name": "LOGIN_DETAILS_URL",
897
+ "declaration": {
898
+ "name": "LOGIN_DETAILS_URL",
899
+ "module": "src/env/variables.ts"
900
+ }
901
+ },
902
+ {
903
+ "kind": "js",
904
+ "name": "LOGOUT_URL",
905
+ "declaration": {
906
+ "name": "LOGOUT_URL",
907
+ "module": "src/env/variables.ts"
908
+ }
909
+ },
910
+ {
911
+ "kind": "js",
912
+ "name": "CHANGE_PASSWORD_URL",
913
+ "declaration": {
914
+ "name": "CHANGE_PASSWORD_URL",
915
+ "module": "src/env/variables.ts"
916
+ }
917
+ },
918
+ {
919
+ "kind": "js",
920
+ "name": "FORGOT_PASSWORD_URL",
921
+ "declaration": {
922
+ "name": "FORGOT_PASSWORD_URL",
923
+ "module": "src/env/variables.ts"
924
+ }
925
+ },
926
+ {
927
+ "kind": "js",
928
+ "name": "RESET_PASSWORD_URL",
929
+ "declaration": {
930
+ "name": "RESET_PASSWORD_URL",
931
+ "module": "src/env/variables.ts"
932
+ }
933
+ },
934
+ {
935
+ "kind": "js",
936
+ "name": "SSO_LIST_URL",
937
+ "declaration": {
938
+ "name": "SSO_LIST_URL",
939
+ "module": "src/env/variables.ts"
940
+ }
941
+ },
942
+ {
943
+ "kind": "js",
944
+ "name": "SSO_LOGIN_URL",
945
+ "declaration": {
946
+ "name": "SSO_LOGIN_URL",
947
+ "module": "src/env/variables.ts"
948
+ }
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "kind": "javascript-module",
954
+ "path": "src/error/errorMap.ts",
955
+ "declarations": [
956
+ {
957
+ "kind": "class",
958
+ "description": "",
959
+ "name": "DefaultErrorMap",
960
+ "members": [
961
+ {
962
+ "kind": "field",
963
+ "name": "map",
964
+ "privacy": "private",
965
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
966
+ },
967
+ {
968
+ "kind": "field",
969
+ "name": "lastError",
970
+ "type": {
971
+ "text": "Error"
972
+ },
973
+ "description": "{@inheritDoc ErrorMap.lastError}"
974
+ },
975
+ {
976
+ "kind": "method",
977
+ "name": "set",
978
+ "return": {
979
+ "type": {
980
+ "text": "void"
981
+ }
982
+ },
983
+ "parameters": [
984
+ {
985
+ "name": "key",
986
+ "type": {
987
+ "text": "keyof TErrorDetailMap"
988
+ }
989
+ },
990
+ {
991
+ "name": "error",
992
+ "type": {
993
+ "text": "Error"
994
+ }
995
+ }
996
+ ],
997
+ "description": "{@inheritDoc ErrorMap.set}"
998
+ },
999
+ {
1000
+ "kind": "method",
1001
+ "name": "get",
1002
+ "return": {
1003
+ "type": {
1004
+ "text": ""
1005
+ }
1006
+ },
1007
+ "parameters": [
1008
+ {
1009
+ "name": "key",
1010
+ "type": {
1011
+ "text": "keyof TErrorDetailMap"
1012
+ },
1013
+ "description": "The key."
1014
+ }
1015
+ ],
1016
+ "description": "Get an error by key.",
1017
+ "privacy": "public"
1018
+ },
1019
+ {
1020
+ "kind": "method",
1021
+ "name": "has",
1022
+ "return": {
1023
+ "type": {
1024
+ "text": ""
1025
+ }
1026
+ },
1027
+ "parameters": [
1028
+ {
1029
+ "name": "key",
1030
+ "type": {
1031
+ "text": "keyof TErrorDetailMap"
1032
+ },
1033
+ "description": "The key."
1034
+ }
1035
+ ],
1036
+ "description": "Has an error for key.",
1037
+ "privacy": "public"
1038
+ },
1039
+ {
1040
+ "kind": "method",
1041
+ "name": "delete",
1042
+ "return": {
1043
+ "type": {
1044
+ "text": ""
1045
+ }
1046
+ },
1047
+ "parameters": [
1048
+ {
1049
+ "name": "key",
1050
+ "type": {
1051
+ "text": "keyof TErrorDetailMap"
1052
+ },
1053
+ "description": "The key."
1054
+ }
1055
+ ],
1056
+ "description": "Delete an error.",
1057
+ "privacy": "public"
1058
+ },
1059
+ {
1060
+ "kind": "method",
1061
+ "name": "clear",
1062
+ "description": "Clear errors.",
1063
+ "privacy": "public"
1064
+ },
1065
+ {
1066
+ "kind": "field",
1067
+ "name": "size",
1068
+ "type": {
1069
+ "text": "number"
1070
+ },
1071
+ "description": "The size of the error map.",
1072
+ "return": {
1073
+ "type": {
1074
+ "text": ""
1075
+ }
1076
+ },
1077
+ "privacy": "public",
1078
+ "readonly": true
1079
+ },
1080
+ {
1081
+ "kind": "method",
1082
+ "name": "values",
1083
+ "privacy": "public"
1084
+ },
1085
+ {
1086
+ "kind": "field",
1087
+ "name": "messages",
1088
+ "type": {
1089
+ "text": "string"
1090
+ },
1091
+ "description": "{@inheritDoc ErrorMap.messages}",
1092
+ "readonly": true
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "kind": "function",
1098
+ "name": "createErrorMap",
1099
+ "return": {
1100
+ "type": {
1101
+ "text": ""
1102
+ }
991
1103
  },
992
- "default": "'/sm/{type}/login?idp={id}'",
1104
+ "parameters": [
1105
+ {
1106
+ "name": "logger",
1107
+ "type": {
1108
+ "text": "ErrorMapLogger"
1109
+ },
1110
+ "description": "A logger error method reference."
1111
+ }
1112
+ ],
1113
+ "description": "A factory to create the error map.",
993
1114
  "privacy": "public"
994
1115
  }
995
1116
  ],
996
1117
  "exports": [
997
1118
  {
998
1119
  "kind": "js",
999
- "name": "BUILDER",
1000
- "declaration": {
1001
- "name": "_BUILDER",
1002
- "module": "src/env/variables.ts"
1003
- }
1004
- },
1005
- {
1006
- "kind": "js",
1007
- "name": "PUBLIC_PATH",
1008
- "declaration": {
1009
- "name": "_PUBLIC_PATH",
1010
- "module": "src/env/variables.ts"
1011
- }
1012
- },
1013
- {
1014
- "kind": "js",
1015
- "name": "SOCKET_EXT",
1016
- "declaration": {
1017
- "name": "_SOCKET_EXT",
1018
- "module": "src/env/variables.ts"
1019
- }
1020
- },
1021
- {
1022
- "kind": "js",
1023
- "name": "FORCE_HTTP",
1024
- "declaration": {
1025
- "name": "_FORCE_HTTP",
1026
- "module": "src/env/variables.ts"
1027
- }
1028
- },
1029
- {
1030
- "kind": "js",
1031
- "name": "GENESIS_SOCKET_URL",
1032
- "declaration": {
1033
- "name": "GENESIS_SOCKET_URL",
1034
- "module": "src/env/variables.ts"
1035
- }
1036
- },
1037
- {
1038
- "kind": "js",
1039
- "name": "API_HOST",
1040
- "declaration": {
1041
- "name": "_API_HOST",
1042
- "module": "src/env/variables.ts"
1043
- }
1044
- },
1045
- {
1046
- "kind": "js",
1047
- "name": "HTTP_CONFIG",
1048
- "declaration": {
1049
- "name": "_HTTP_CONFIG",
1050
- "module": "src/env/variables.ts"
1051
- }
1052
- },
1053
- {
1054
- "kind": "js",
1055
- "name": "DEFAULT_ORGANISATION",
1056
- "declaration": {
1057
- "name": "_DEFAULT_ORGANISATION",
1058
- "module": "src/env/variables.ts"
1059
- }
1060
- },
1061
- {
1062
- "kind": "js",
1063
- "name": "DEFAULT_PASSWORD",
1064
- "declaration": {
1065
- "name": "_DEFAULT_PASSWORD",
1066
- "module": "src/env/variables.ts"
1067
- }
1068
- },
1069
- {
1070
- "kind": "js",
1071
- "name": "DEFAULT_USER",
1072
- "declaration": {
1073
- "name": "_DEFAULT_USER",
1074
- "module": "src/env/variables.ts"
1075
- }
1076
- },
1077
- {
1078
- "kind": "js",
1079
- "name": "LOGIN_URL",
1080
- "declaration": {
1081
- "name": "LOGIN_URL",
1082
- "module": "src/env/variables.ts"
1083
- }
1084
- },
1085
- {
1086
- "kind": "js",
1087
- "name": "LOGIN_REFRESH_URL",
1088
- "declaration": {
1089
- "name": "LOGIN_REFRESH_URL",
1090
- "module": "src/env/variables.ts"
1091
- }
1092
- },
1093
- {
1094
- "kind": "js",
1095
- "name": "LOGIN_DETAILS_URL",
1096
- "declaration": {
1097
- "name": "LOGIN_DETAILS_URL",
1098
- "module": "src/env/variables.ts"
1099
- }
1100
- },
1101
- {
1102
- "kind": "js",
1103
- "name": "LOGOUT_URL",
1104
- "declaration": {
1105
- "name": "LOGOUT_URL",
1106
- "module": "src/env/variables.ts"
1107
- }
1108
- },
1109
- {
1110
- "kind": "js",
1111
- "name": "CHANGE_PASSWORD_URL",
1112
- "declaration": {
1113
- "name": "CHANGE_PASSWORD_URL",
1114
- "module": "src/env/variables.ts"
1115
- }
1116
- },
1117
- {
1118
- "kind": "js",
1119
- "name": "FORGOT_PASSWORD_URL",
1120
- "declaration": {
1121
- "name": "FORGOT_PASSWORD_URL",
1122
- "module": "src/env/variables.ts"
1123
- }
1124
- },
1125
- {
1126
- "kind": "js",
1127
- "name": "RESET_PASSWORD_URL",
1120
+ "name": "DefaultErrorMap",
1128
1121
  "declaration": {
1129
- "name": "RESET_PASSWORD_URL",
1130
- "module": "src/env/variables.ts"
1122
+ "name": "DefaultErrorMap",
1123
+ "module": "src/error/errorMap.ts"
1131
1124
  }
1132
1125
  },
1133
1126
  {
1134
1127
  "kind": "js",
1135
- "name": "SSO_LIST_URL",
1128
+ "name": "createErrorMap",
1136
1129
  "declaration": {
1137
- "name": "SSO_LIST_URL",
1138
- "module": "src/env/variables.ts"
1130
+ "name": "createErrorMap",
1131
+ "module": "src/error/errorMap.ts"
1139
1132
  }
1140
- },
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "kind": "javascript-module",
1138
+ "path": "src/error/index.ts",
1139
+ "declarations": [],
1140
+ "exports": [
1141
1141
  {
1142
1142
  "kind": "js",
1143
- "name": "SSO_LOGIN_URL",
1143
+ "name": "*",
1144
1144
  "declaration": {
1145
- "name": "SSO_LOGIN_URL",
1146
- "module": "src/env/variables.ts"
1145
+ "name": "*",
1146
+ "package": "./errorMap"
1147
1147
  }
1148
1148
  }
1149
1149
  ]
@@ -1867,43 +1867,6 @@
1867
1867
  }
1868
1868
  ]
1869
1869
  },
1870
- {
1871
- "kind": "javascript-module",
1872
- "path": "src/utils/index.ts",
1873
- "declarations": [],
1874
- "exports": [
1875
- {
1876
- "kind": "js",
1877
- "name": "*",
1878
- "declaration": {
1879
- "name": "*",
1880
- "package": "./logger"
1881
- }
1882
- }
1883
- ]
1884
- },
1885
- {
1886
- "kind": "javascript-module",
1887
- "path": "src/utils/logger.ts",
1888
- "declarations": [
1889
- {
1890
- "kind": "variable",
1891
- "name": "logger",
1892
- "description": "Logger for the foundation-utils package",
1893
- "privacy": "public"
1894
- }
1895
- ],
1896
- "exports": [
1897
- {
1898
- "kind": "js",
1899
- "name": "logger",
1900
- "declaration": {
1901
- "name": "logger",
1902
- "module": "src/utils/logger.ts"
1903
- }
1904
- }
1905
- ]
1906
- },
1907
1870
  {
1908
1871
  "kind": "javascript-module",
1909
1872
  "path": "src/styles/color.ts",
@@ -2251,6 +2214,43 @@
2251
2214
  }
2252
2215
  ]
2253
2216
  },
2217
+ {
2218
+ "kind": "javascript-module",
2219
+ "path": "src/utils/index.ts",
2220
+ "declarations": [],
2221
+ "exports": [
2222
+ {
2223
+ "kind": "js",
2224
+ "name": "*",
2225
+ "declaration": {
2226
+ "name": "*",
2227
+ "package": "./logger"
2228
+ }
2229
+ }
2230
+ ]
2231
+ },
2232
+ {
2233
+ "kind": "javascript-module",
2234
+ "path": "src/utils/logger.ts",
2235
+ "declarations": [
2236
+ {
2237
+ "kind": "variable",
2238
+ "name": "logger",
2239
+ "description": "Logger for the foundation-utils package",
2240
+ "privacy": "public"
2241
+ }
2242
+ ],
2243
+ "exports": [
2244
+ {
2245
+ "kind": "js",
2246
+ "name": "logger",
2247
+ "declaration": {
2248
+ "name": "logger",
2249
+ "module": "src/utils/logger.ts"
2250
+ }
2251
+ }
2252
+ ]
2253
+ },
2254
2254
  {
2255
2255
  "kind": "javascript-module",
2256
2256
  "path": "src/uuid/index.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/env/variables.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,QAAA,IAAI,QAAQ,EAAE,MAAkB,CAAC;AAQjC,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,CAAC;AAG/B;;;;;;;GAOG;AACH,QAAA,IAAI,YAAY,EAAE,MAAY,CAAC;AAS/B,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,CAAC;AAGvC;;;;;;;;GAQG;AACH,QAAA,IAAI,WAAW,EAAE,MAAc,CAAC;AAQhC,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;AAGrC;;;;GAIG;AACH,QAAA,IAAI,WAAW,EAAE,MAAM,CAAC;AAMxB,OAAO,EAAE,WAAW,IAAI,UAAU,EAAE,CAAC;AAErC;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,QAAiF,CAAC;AAOjH;;;;;;GAMG;AACH,QAAA,IAAI,SAAS,EAAE,MAAwD,CAAC;AAQxE,OAAO,EAAE,SAA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CAAC;AAGzC;;GAEG;AACH,QAAA,IAAI,SAAS,EAAE,MAA+B,CAAC;AAM/C,OAAO,EAAE,SAAS,EAAE,CAAC;AAGrB;;GAEG;AACH,QAAA,IAAI,iBAAiB,EAAE,MAA+B,CAAC;AAMvD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAG7B;;GAEG;AACH,QAAA,IAAI,iBAAiB,EAAE,MAAkC,CAAC;AAM1D,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAG7B;;GAEG;AACH,QAAA,IAAI,UAAU,EAAE,MAA2B,CAAC;AAM5C,OAAO,EAAE,UAAU,EAAE,CAAC;AAGtB;;GAEG;AACH,QAAA,IAAI,mBAAmB,EAAE,MAAyC,CAAC;AAMnE,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAG/B;;GAEG;AACH,QAAA,IAAI,mBAAmB,EAAE,MAAgD,CAAC;AAM1E,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAG/B;;GAEG;AACH,QAAA,IAAI,kBAAkB,EAAE,MAA0C,CAAC;AAMnE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAG9B;;GAEG;AACH,QAAA,IAAI,YAAY,EAAE,MAAuB,CAAC;AAM1C,OAAO,EAAE,YAAY,EAAE,CAAC;AAGxB;;GAEG;AACH,QAAA,IAAI,aAAa,EAAE,MAAoC,CAAC;AAMxD,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -70,7 +70,7 @@ export { _FORCE_HTTP as FORCE_HTTP };
70
70
  * ```
71
71
  * @public
72
72
  */
73
- export const GENESIS_SOCKET_URL = `${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`;
73
+ export const GENESIS_SOCKET_URL = `${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`;
74
74
  const PROTOCOL = _FORCE_HTTP === 'true' ? location.protocol : location.protocol.replace('http', 'ws');
75
75
  /**
76
76
  * The Genesis Server URL (WebSocket or HTTP).
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.251.2",
4
+ "version": "14.251.3-alpha-335acc7.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,17 +27,17 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.251.2",
31
- "@genesislcap/genx": "14.251.2",
32
- "@genesislcap/rollup-builder": "14.251.2",
33
- "@genesislcap/ts-builder": "14.251.2",
34
- "@genesislcap/uvu-playwright-builder": "14.251.2",
35
- "@genesislcap/vite-builder": "14.251.2",
36
- "@genesislcap/webpack-builder": "14.251.2",
30
+ "@genesislcap/foundation-testing": "14.251.3-alpha-335acc7.0",
31
+ "@genesislcap/genx": "14.251.3-alpha-335acc7.0",
32
+ "@genesislcap/rollup-builder": "14.251.3-alpha-335acc7.0",
33
+ "@genesislcap/ts-builder": "14.251.3-alpha-335acc7.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.251.3-alpha-335acc7.0",
35
+ "@genesislcap/vite-builder": "14.251.3-alpha-335acc7.0",
36
+ "@genesislcap/webpack-builder": "14.251.3-alpha-335acc7.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.251.2",
40
+ "@genesislcap/foundation-logger": "14.251.3-alpha-335acc7.0",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "328275e4c0bc2bf60422f750f9a0dc4e081a81b4"
58
+ "gitHead": "b0dd4a5da085c5739b7a711dc86c7e07e012dfd3"
59
59
  }