@genesislcap/foundation-utils 14.374.0 → 14.374.2-alpha-2b5362b.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +594 -594
  2. package/package.json +11 -11
@@ -393,30 +393,127 @@
393
393
  },
394
394
  {
395
395
  "kind": "javascript-module",
396
- "path": "src/directives/index.ts",
397
- "declarations": [],
396
+ "path": "src/design-system/design-system.ts",
397
+ "declarations": [
398
+ {
399
+ "kind": "function",
400
+ "name": "assureDesignSystem",
401
+ "return": {
402
+ "type": {
403
+ "text": "DesignSystemModule"
404
+ }
405
+ },
406
+ "parameters": [
407
+ {
408
+ "name": "module",
409
+ "type": {
410
+ "text": "DesignSystemModule"
411
+ }
412
+ }
413
+ ],
414
+ "description": "assureDesignSystem.",
415
+ "privacy": "public"
416
+ },
417
+ {
418
+ "kind": "function",
419
+ "name": "getCurrentDesignSystem",
420
+ "return": {
421
+ "type": {
422
+ "text": ""
423
+ }
424
+ },
425
+ "parameters": [
426
+ {
427
+ "name": "element",
428
+ "type": {
429
+ "text": "HTMLElement"
430
+ },
431
+ "description": "The starting HTML element"
432
+ },
433
+ {
434
+ "name": "fallbackPrefix",
435
+ "type": {
436
+ "text": "string"
437
+ },
438
+ "description": "The prefix to fallback to if the provider is not available"
439
+ }
440
+ ],
441
+ "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.",
442
+ "privacy": "public"
443
+ },
444
+ {
445
+ "kind": "function",
446
+ "name": "getCurrentDesignSystemPrefix",
447
+ "return": {
448
+ "type": {
449
+ "text": ""
450
+ }
451
+ },
452
+ "parameters": [
453
+ {
454
+ "name": "element",
455
+ "type": {
456
+ "text": "HTMLElement"
457
+ },
458
+ "description": "The starting HTML element"
459
+ },
460
+ {
461
+ "name": "fallbackPrefix",
462
+ "type": {
463
+ "text": "string"
464
+ },
465
+ "description": "The prefix to fallback to if the provider is not available"
466
+ }
467
+ ],
468
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
469
+ "privacy": "public"
470
+ }
471
+ ],
398
472
  "exports": [
399
473
  {
400
474
  "kind": "js",
401
- "name": "*",
475
+ "name": "assureDesignSystem",
402
476
  "declaration": {
403
- "name": "*",
404
- "package": "./sync"
477
+ "name": "assureDesignSystem",
478
+ "module": "src/design-system/design-system.ts"
479
+ }
480
+ },
481
+ {
482
+ "kind": "js",
483
+ "name": "getCurrentDesignSystem",
484
+ "declaration": {
485
+ "name": "getCurrentDesignSystem",
486
+ "module": "src/design-system/design-system.ts"
405
487
  }
406
488
  },
489
+ {
490
+ "kind": "js",
491
+ "name": "getCurrentDesignSystemPrefix",
492
+ "declaration": {
493
+ "name": "getCurrentDesignSystemPrefix",
494
+ "module": "src/design-system/design-system.ts"
495
+ }
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "kind": "javascript-module",
501
+ "path": "src/design-system/index.ts",
502
+ "declarations": [],
503
+ "exports": [
407
504
  {
408
505
  "kind": "js",
409
506
  "name": "*",
410
507
  "declaration": {
411
508
  "name": "*",
412
- "package": "./when-else"
509
+ "package": "./design-system"
413
510
  }
414
511
  }
415
512
  ]
416
513
  },
417
514
  {
418
515
  "kind": "javascript-module",
419
- "path": "src/encoding/index.ts",
516
+ "path": "src/directives/index.ts",
420
517
  "declarations": [],
421
518
  "exports": [
422
519
  {
@@ -424,7 +521,15 @@
424
521
  "name": "*",
425
522
  "declaration": {
426
523
  "name": "*",
427
- "package": "./base64"
524
+ "package": "./sync"
525
+ }
526
+ },
527
+ {
528
+ "kind": "js",
529
+ "name": "*",
530
+ "declaration": {
531
+ "name": "*",
532
+ "package": "./when-else"
428
533
  }
429
534
  }
430
535
  ]
@@ -484,179 +589,378 @@
484
589
  },
485
590
  {
486
591
  "kind": "javascript-module",
487
- "path": "src/env/index.ts",
488
- "declarations": [],
489
- "exports": [
490
- {
491
- "kind": "js",
492
- "name": "*",
493
- "declaration": {
494
- "name": "*",
495
- "package": "./is-dev"
496
- }
497
- },
498
- {
499
- "kind": "js",
500
- "name": "*",
501
- "declaration": {
502
- "name": "*",
503
- "package": "./variables"
504
- }
505
- }
506
- ]
507
- },
508
- {
509
- "kind": "javascript-module",
510
- "path": "src/env/is-dev.ts",
511
- "declarations": [
512
- {
513
- "kind": "function",
514
- "name": "isDev",
515
- "description": "Determines if the current environment is a development environment.",
516
- "privacy": "public"
517
- }
518
- ],
519
- "exports": [
520
- {
521
- "kind": "js",
522
- "name": "isDev",
523
- "declaration": {
524
- "name": "isDev",
525
- "module": "src/env/is-dev.ts"
526
- }
527
- }
528
- ]
529
- },
530
- {
531
- "kind": "javascript-module",
532
- "path": "src/env/variables.ts",
592
+ "path": "src/error/errorMap.ts",
533
593
  "declarations": [
534
594
  {
535
- "kind": "variable",
536
- "name": "BUILDER",
537
- "type": {
538
- "text": "string"
539
- }
540
- },
541
- {
542
- "kind": "variable",
543
- "name": "_BUILDER",
544
- "type": {
545
- "text": "string"
546
- },
547
- "default": "'webpack'",
548
- "description": "The builder aka file bundler.",
549
- "privacy": "public"
550
- },
551
- {
552
- "kind": "variable",
553
- "name": "PUBLIC_PATH",
554
- "type": {
555
- "text": "string"
556
- }
557
- },
558
- {
559
- "kind": "variable",
560
- "name": "_PUBLIC_PATH",
561
- "type": {
562
- "text": "string"
563
- },
564
- "default": "'/'",
565
- "description": "The public path.",
566
- "privacy": "public"
567
- },
568
- {
569
- "kind": "variable",
570
- "name": "SOCKET_EXT",
571
- "type": {
572
- "text": "string"
573
- }
574
- },
575
- {
576
- "kind": "variable",
577
- "name": "_SOCKET_EXT",
578
- "type": {
579
- "text": "string"
580
- },
581
- "default": "'gwf'",
582
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
583
- "privacy": "public"
584
- },
585
- {
586
- "kind": "variable",
587
- "name": "FORCE_HTTP",
588
- "type": {
589
- "text": "string"
590
- }
591
- },
592
- {
593
- "kind": "variable",
594
- "name": "_FORCE_HTTP",
595
- "type": {
596
- "text": "string"
597
- },
598
- "description": "The path to a JSON config file for the HTTP mode.",
599
- "privacy": "public"
600
- },
601
- {
602
- "kind": "variable",
603
- "name": "GENESIS_SOCKET_URL",
604
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
605
- "description": "Genesis Socket URL",
606
- "privacy": "public"
607
- },
608
- {
609
- "kind": "variable",
610
- "name": "API_HOST",
611
- "type": {
612
- "text": "string"
613
- }
614
- },
615
- {
616
- "kind": "variable",
617
- "name": "_API_HOST",
618
- "type": {
619
- "text": "string"
620
- },
621
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
622
- "description": "The Genesis Server URL (WebSocket or HTTP).",
595
+ "kind": "class",
596
+ "description": "",
597
+ "name": "DefaultErrorMap",
598
+ "members": [
599
+ {
600
+ "kind": "field",
601
+ "name": "map",
602
+ "privacy": "private",
603
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
604
+ },
605
+ {
606
+ "kind": "field",
607
+ "name": "lastError",
608
+ "type": {
609
+ "text": "Error"
610
+ },
611
+ "description": "{@inheritDoc ErrorMap.lastError}"
612
+ },
613
+ {
614
+ "kind": "method",
615
+ "name": "set",
616
+ "return": {
617
+ "type": {
618
+ "text": "void"
619
+ }
620
+ },
621
+ "parameters": [
622
+ {
623
+ "name": "key",
624
+ "type": {
625
+ "text": "keyof TErrorDetailMap"
626
+ }
627
+ },
628
+ {
629
+ "name": "error",
630
+ "type": {
631
+ "text": "Error"
632
+ }
633
+ }
634
+ ],
635
+ "description": "{@inheritDoc ErrorMap.set}"
636
+ },
637
+ {
638
+ "kind": "method",
639
+ "name": "get",
640
+ "return": {
641
+ "type": {
642
+ "text": ""
643
+ }
644
+ },
645
+ "parameters": [
646
+ {
647
+ "name": "key",
648
+ "type": {
649
+ "text": "keyof TErrorDetailMap"
650
+ },
651
+ "description": "The key."
652
+ }
653
+ ],
654
+ "description": "Get an error by key.",
655
+ "privacy": "public"
656
+ },
657
+ {
658
+ "kind": "method",
659
+ "name": "has",
660
+ "return": {
661
+ "type": {
662
+ "text": ""
663
+ }
664
+ },
665
+ "parameters": [
666
+ {
667
+ "name": "key",
668
+ "type": {
669
+ "text": "keyof TErrorDetailMap"
670
+ },
671
+ "description": "The key."
672
+ }
673
+ ],
674
+ "description": "Has an error for key.",
675
+ "privacy": "public"
676
+ },
677
+ {
678
+ "kind": "method",
679
+ "name": "delete",
680
+ "return": {
681
+ "type": {
682
+ "text": ""
683
+ }
684
+ },
685
+ "parameters": [
686
+ {
687
+ "name": "key",
688
+ "type": {
689
+ "text": "keyof TErrorDetailMap"
690
+ },
691
+ "description": "The key."
692
+ }
693
+ ],
694
+ "description": "Delete an error.",
695
+ "privacy": "public"
696
+ },
697
+ {
698
+ "kind": "method",
699
+ "name": "clear",
700
+ "description": "Clear errors.",
701
+ "privacy": "public"
702
+ },
703
+ {
704
+ "kind": "field",
705
+ "name": "size",
706
+ "type": {
707
+ "text": "number"
708
+ },
709
+ "description": "The size of the error map.",
710
+ "return": {
711
+ "type": {
712
+ "text": ""
713
+ }
714
+ },
715
+ "privacy": "public",
716
+ "readonly": true
717
+ },
718
+ {
719
+ "kind": "method",
720
+ "name": "values",
721
+ "privacy": "public"
722
+ },
723
+ {
724
+ "kind": "field",
725
+ "name": "messages",
726
+ "type": {
727
+ "text": "string"
728
+ },
729
+ "description": "{@inheritDoc ErrorMap.messages}",
730
+ "readonly": true
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "kind": "function",
736
+ "name": "createErrorMap",
737
+ "return": {
738
+ "type": {
739
+ "text": ""
740
+ }
741
+ },
742
+ "parameters": [
743
+ {
744
+ "name": "logger",
745
+ "type": {
746
+ "text": "ErrorMapLogger"
747
+ },
748
+ "description": "A logger error method reference."
749
+ }
750
+ ],
751
+ "description": "A factory to create the error map.",
623
752
  "privacy": "public"
753
+ }
754
+ ],
755
+ "exports": [
756
+ {
757
+ "kind": "js",
758
+ "name": "DefaultErrorMap",
759
+ "declaration": {
760
+ "name": "DefaultErrorMap",
761
+ "module": "src/error/errorMap.ts"
762
+ }
763
+ },
764
+ {
765
+ "kind": "js",
766
+ "name": "createErrorMap",
767
+ "declaration": {
768
+ "name": "createErrorMap",
769
+ "module": "src/error/errorMap.ts"
770
+ }
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "kind": "javascript-module",
776
+ "path": "src/error/index.ts",
777
+ "declarations": [],
778
+ "exports": [
779
+ {
780
+ "kind": "js",
781
+ "name": "*",
782
+ "declaration": {
783
+ "name": "*",
784
+ "package": "./errorMap"
785
+ }
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ "kind": "javascript-module",
791
+ "path": "src/env/index.ts",
792
+ "declarations": [],
793
+ "exports": [
794
+ {
795
+ "kind": "js",
796
+ "name": "*",
797
+ "declaration": {
798
+ "name": "*",
799
+ "package": "./is-dev"
800
+ }
624
801
  },
802
+ {
803
+ "kind": "js",
804
+ "name": "*",
805
+ "declaration": {
806
+ "name": "*",
807
+ "package": "./variables"
808
+ }
809
+ }
810
+ ]
811
+ },
812
+ {
813
+ "kind": "javascript-module",
814
+ "path": "src/env/is-dev.ts",
815
+ "declarations": [
816
+ {
817
+ "kind": "function",
818
+ "name": "isDev",
819
+ "description": "Determines if the current environment is a development environment.",
820
+ "privacy": "public"
821
+ }
822
+ ],
823
+ "exports": [
824
+ {
825
+ "kind": "js",
826
+ "name": "isDev",
827
+ "declaration": {
828
+ "name": "isDev",
829
+ "module": "src/env/is-dev.ts"
830
+ }
831
+ }
832
+ ]
833
+ },
834
+ {
835
+ "kind": "javascript-module",
836
+ "path": "src/env/variables.ts",
837
+ "declarations": [
625
838
  {
626
839
  "kind": "variable",
627
- "name": "HTTP_CONFIG",
840
+ "name": "BUILDER",
628
841
  "type": {
629
842
  "text": "string"
630
843
  }
631
844
  },
632
845
  {
633
846
  "kind": "variable",
634
- "name": "_HTTP_CONFIG",
847
+ "name": "_BUILDER",
635
848
  "type": {
636
849
  "text": "string"
637
850
  },
638
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
851
+ "default": "'webpack'",
852
+ "description": "The builder aka file bundler.",
639
853
  "privacy": "public"
640
854
  },
641
855
  {
642
856
  "kind": "variable",
643
- "name": "DEFAULT_ORGANISATION",
857
+ "name": "PUBLIC_PATH",
644
858
  "type": {
645
859
  "text": "string"
646
860
  }
647
861
  },
648
862
  {
649
863
  "kind": "variable",
650
- "name": "_DEFAULT_ORGANISATION",
864
+ "name": "_PUBLIC_PATH",
651
865
  "type": {
652
866
  "text": "string"
653
867
  },
654
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
868
+ "default": "'/'",
869
+ "description": "The public path.",
655
870
  "privacy": "public"
656
871
  },
657
872
  {
658
873
  "kind": "variable",
659
- "name": "DEFAULT_PASSWORD",
874
+ "name": "SOCKET_EXT",
875
+ "type": {
876
+ "text": "string"
877
+ }
878
+ },
879
+ {
880
+ "kind": "variable",
881
+ "name": "_SOCKET_EXT",
882
+ "type": {
883
+ "text": "string"
884
+ },
885
+ "default": "'gwf'",
886
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
887
+ "privacy": "public"
888
+ },
889
+ {
890
+ "kind": "variable",
891
+ "name": "FORCE_HTTP",
892
+ "type": {
893
+ "text": "string"
894
+ }
895
+ },
896
+ {
897
+ "kind": "variable",
898
+ "name": "_FORCE_HTTP",
899
+ "type": {
900
+ "text": "string"
901
+ },
902
+ "description": "The path to a JSON config file for the HTTP mode.",
903
+ "privacy": "public"
904
+ },
905
+ {
906
+ "kind": "variable",
907
+ "name": "GENESIS_SOCKET_URL",
908
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
909
+ "description": "Genesis Socket URL",
910
+ "privacy": "public"
911
+ },
912
+ {
913
+ "kind": "variable",
914
+ "name": "API_HOST",
915
+ "type": {
916
+ "text": "string"
917
+ }
918
+ },
919
+ {
920
+ "kind": "variable",
921
+ "name": "_API_HOST",
922
+ "type": {
923
+ "text": "string"
924
+ },
925
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
926
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
927
+ "privacy": "public"
928
+ },
929
+ {
930
+ "kind": "variable",
931
+ "name": "HTTP_CONFIG",
932
+ "type": {
933
+ "text": "string"
934
+ }
935
+ },
936
+ {
937
+ "kind": "variable",
938
+ "name": "_HTTP_CONFIG",
939
+ "type": {
940
+ "text": "string"
941
+ },
942
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
943
+ "privacy": "public"
944
+ },
945
+ {
946
+ "kind": "variable",
947
+ "name": "DEFAULT_ORGANISATION",
948
+ "type": {
949
+ "text": "string"
950
+ }
951
+ },
952
+ {
953
+ "kind": "variable",
954
+ "name": "_DEFAULT_ORGANISATION",
955
+ "type": {
956
+ "text": "string"
957
+ },
958
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
959
+ "privacy": "public"
960
+ },
961
+ {
962
+ "kind": "variable",
963
+ "name": "DEFAULT_PASSWORD",
660
964
  "type": {
661
965
  "text": "string"
662
966
  }
@@ -778,492 +1082,188 @@
778
1082
  },
779
1083
  {
780
1084
  "kind": "variable",
781
- "name": "ACCEPT_TERMS_URL",
782
- "type": {
783
- "text": "string"
784
- },
785
- "default": "'gwf/auth/accept-terms'",
786
- "privacy": "public"
787
- }
788
- ],
789
- "exports": [
790
- {
791
- "kind": "js",
792
- "name": "BUILDER",
793
- "declaration": {
794
- "name": "_BUILDER",
795
- "module": "src/env/variables.ts"
796
- }
797
- },
798
- {
799
- "kind": "js",
800
- "name": "PUBLIC_PATH",
801
- "declaration": {
802
- "name": "_PUBLIC_PATH",
803
- "module": "src/env/variables.ts"
804
- }
805
- },
806
- {
807
- "kind": "js",
808
- "name": "SOCKET_EXT",
809
- "declaration": {
810
- "name": "_SOCKET_EXT",
811
- "module": "src/env/variables.ts"
812
- }
813
- },
814
- {
815
- "kind": "js",
816
- "name": "FORCE_HTTP",
817
- "declaration": {
818
- "name": "_FORCE_HTTP",
819
- "module": "src/env/variables.ts"
820
- }
821
- },
822
- {
823
- "kind": "js",
824
- "name": "GENESIS_SOCKET_URL",
825
- "declaration": {
826
- "name": "GENESIS_SOCKET_URL",
827
- "module": "src/env/variables.ts"
828
- }
829
- },
830
- {
831
- "kind": "js",
832
- "name": "API_HOST",
833
- "declaration": {
834
- "name": "_API_HOST",
835
- "module": "src/env/variables.ts"
836
- }
837
- },
838
- {
839
- "kind": "js",
840
- "name": "HTTP_CONFIG",
841
- "declaration": {
842
- "name": "_HTTP_CONFIG",
843
- "module": "src/env/variables.ts"
844
- }
845
- },
846
- {
847
- "kind": "js",
848
- "name": "DEFAULT_ORGANISATION",
849
- "declaration": {
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",
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/error/errorMap.ts",
963
- "declarations": [
964
- {
965
- "kind": "class",
966
- "description": "",
967
- "name": "DefaultErrorMap",
968
- "members": [
969
- {
970
- "kind": "field",
971
- "name": "map",
972
- "privacy": "private",
973
- "default": "new Map<keyof TErrorDetailMap, Error>()"
974
- },
975
- {
976
- "kind": "field",
977
- "name": "lastError",
978
- "type": {
979
- "text": "Error"
980
- },
981
- "description": "{@inheritDoc ErrorMap.lastError}"
982
- },
983
- {
984
- "kind": "method",
985
- "name": "set",
986
- "return": {
987
- "type": {
988
- "text": "void"
989
- }
990
- },
991
- "parameters": [
992
- {
993
- "name": "key",
994
- "type": {
995
- "text": "keyof TErrorDetailMap"
996
- }
997
- },
998
- {
999
- "name": "error",
1000
- "type": {
1001
- "text": "Error"
1002
- }
1003
- }
1004
- ],
1005
- "description": "{@inheritDoc ErrorMap.set}"
1006
- },
1007
- {
1008
- "kind": "method",
1009
- "name": "get",
1010
- "return": {
1011
- "type": {
1012
- "text": ""
1013
- }
1014
- },
1015
- "parameters": [
1016
- {
1017
- "name": "key",
1018
- "type": {
1019
- "text": "keyof TErrorDetailMap"
1020
- },
1021
- "description": "The key."
1022
- }
1023
- ],
1024
- "description": "Get an error by key.",
1025
- "privacy": "public"
1026
- },
1027
- {
1028
- "kind": "method",
1029
- "name": "has",
1030
- "return": {
1031
- "type": {
1032
- "text": ""
1033
- }
1034
- },
1035
- "parameters": [
1036
- {
1037
- "name": "key",
1038
- "type": {
1039
- "text": "keyof TErrorDetailMap"
1040
- },
1041
- "description": "The key."
1042
- }
1043
- ],
1044
- "description": "Has an error for key.",
1045
- "privacy": "public"
1046
- },
1047
- {
1048
- "kind": "method",
1049
- "name": "delete",
1050
- "return": {
1051
- "type": {
1052
- "text": ""
1053
- }
1054
- },
1055
- "parameters": [
1056
- {
1057
- "name": "key",
1058
- "type": {
1059
- "text": "keyof TErrorDetailMap"
1060
- },
1061
- "description": "The key."
1062
- }
1063
- ],
1064
- "description": "Delete an error.",
1065
- "privacy": "public"
1066
- },
1067
- {
1068
- "kind": "method",
1069
- "name": "clear",
1070
- "description": "Clear errors.",
1071
- "privacy": "public"
1072
- },
1073
- {
1074
- "kind": "field",
1075
- "name": "size",
1076
- "type": {
1077
- "text": "number"
1078
- },
1079
- "description": "The size of the error map.",
1080
- "return": {
1081
- "type": {
1082
- "text": ""
1083
- }
1084
- },
1085
- "privacy": "public",
1086
- "readonly": true
1087
- },
1088
- {
1089
- "kind": "method",
1090
- "name": "values",
1091
- "privacy": "public"
1092
- },
1093
- {
1094
- "kind": "field",
1095
- "name": "messages",
1096
- "type": {
1097
- "text": "string"
1098
- },
1099
- "description": "{@inheritDoc ErrorMap.messages}",
1100
- "readonly": true
1101
- }
1102
- ]
1103
- },
1104
- {
1105
- "kind": "function",
1106
- "name": "createErrorMap",
1107
- "return": {
1108
- "type": {
1109
- "text": ""
1110
- }
1085
+ "name": "ACCEPT_TERMS_URL",
1086
+ "type": {
1087
+ "text": "string"
1111
1088
  },
1112
- "parameters": [
1113
- {
1114
- "name": "logger",
1115
- "type": {
1116
- "text": "ErrorMapLogger"
1117
- },
1118
- "description": "A logger error method reference."
1119
- }
1120
- ],
1121
- "description": "A factory to create the error map.",
1089
+ "default": "'gwf/auth/accept-terms'",
1122
1090
  "privacy": "public"
1123
1091
  }
1124
1092
  ],
1125
1093
  "exports": [
1126
1094
  {
1127
1095
  "kind": "js",
1128
- "name": "DefaultErrorMap",
1096
+ "name": "BUILDER",
1129
1097
  "declaration": {
1130
- "name": "DefaultErrorMap",
1131
- "module": "src/error/errorMap.ts"
1098
+ "name": "_BUILDER",
1099
+ "module": "src/env/variables.ts"
1132
1100
  }
1133
1101
  },
1134
1102
  {
1135
1103
  "kind": "js",
1136
- "name": "createErrorMap",
1104
+ "name": "PUBLIC_PATH",
1137
1105
  "declaration": {
1138
- "name": "createErrorMap",
1139
- "module": "src/error/errorMap.ts"
1106
+ "name": "_PUBLIC_PATH",
1107
+ "module": "src/env/variables.ts"
1140
1108
  }
1141
- }
1142
- ]
1143
- },
1144
- {
1145
- "kind": "javascript-module",
1146
- "path": "src/error/index.ts",
1147
- "declarations": [],
1148
- "exports": [
1109
+ },
1149
1110
  {
1150
1111
  "kind": "js",
1151
- "name": "*",
1112
+ "name": "SOCKET_EXT",
1152
1113
  "declaration": {
1153
- "name": "*",
1154
- "package": "./errorMap"
1114
+ "name": "_SOCKET_EXT",
1115
+ "module": "src/env/variables.ts"
1155
1116
  }
1156
- }
1157
- ]
1158
- },
1159
- {
1160
- "kind": "javascript-module",
1161
- "path": "src/design-system/design-system.ts",
1162
- "declarations": [
1117
+ },
1163
1118
  {
1164
- "kind": "function",
1165
- "name": "assureDesignSystem",
1166
- "return": {
1167
- "type": {
1168
- "text": "DesignSystemModule"
1169
- }
1170
- },
1171
- "parameters": [
1172
- {
1173
- "name": "module",
1174
- "type": {
1175
- "text": "DesignSystemModule"
1176
- }
1177
- }
1178
- ],
1179
- "description": "assureDesignSystem.",
1180
- "privacy": "public"
1119
+ "kind": "js",
1120
+ "name": "FORCE_HTTP",
1121
+ "declaration": {
1122
+ "name": "_FORCE_HTTP",
1123
+ "module": "src/env/variables.ts"
1124
+ }
1181
1125
  },
1182
1126
  {
1183
- "kind": "function",
1184
- "name": "getCurrentDesignSystem",
1185
- "return": {
1186
- "type": {
1187
- "text": ""
1188
- }
1189
- },
1190
- "parameters": [
1191
- {
1192
- "name": "element",
1193
- "type": {
1194
- "text": "HTMLElement"
1195
- },
1196
- "description": "The starting HTML element"
1197
- },
1198
- {
1199
- "name": "fallbackPrefix",
1200
- "type": {
1201
- "text": "string"
1202
- },
1203
- "description": "The prefix to fallback to if the provider is not available"
1204
- }
1205
- ],
1206
- "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.",
1207
- "privacy": "public"
1127
+ "kind": "js",
1128
+ "name": "GENESIS_SOCKET_URL",
1129
+ "declaration": {
1130
+ "name": "GENESIS_SOCKET_URL",
1131
+ "module": "src/env/variables.ts"
1132
+ }
1208
1133
  },
1209
1134
  {
1210
- "kind": "function",
1211
- "name": "getCurrentDesignSystemPrefix",
1212
- "return": {
1213
- "type": {
1214
- "text": ""
1215
- }
1216
- },
1217
- "parameters": [
1218
- {
1219
- "name": "element",
1220
- "type": {
1221
- "text": "HTMLElement"
1222
- },
1223
- "description": "The starting HTML element"
1224
- },
1225
- {
1226
- "name": "fallbackPrefix",
1227
- "type": {
1228
- "text": "string"
1229
- },
1230
- "description": "The prefix to fallback to if the provider is not available"
1231
- }
1232
- ],
1233
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1234
- "privacy": "public"
1235
- }
1236
- ],
1237
- "exports": [
1135
+ "kind": "js",
1136
+ "name": "API_HOST",
1137
+ "declaration": {
1138
+ "name": "_API_HOST",
1139
+ "module": "src/env/variables.ts"
1140
+ }
1141
+ },
1238
1142
  {
1239
1143
  "kind": "js",
1240
- "name": "assureDesignSystem",
1144
+ "name": "HTTP_CONFIG",
1241
1145
  "declaration": {
1242
- "name": "assureDesignSystem",
1243
- "module": "src/design-system/design-system.ts"
1146
+ "name": "_HTTP_CONFIG",
1147
+ "module": "src/env/variables.ts"
1244
1148
  }
1245
1149
  },
1246
1150
  {
1247
1151
  "kind": "js",
1248
- "name": "getCurrentDesignSystem",
1152
+ "name": "DEFAULT_ORGANISATION",
1249
1153
  "declaration": {
1250
- "name": "getCurrentDesignSystem",
1251
- "module": "src/design-system/design-system.ts"
1154
+ "name": "_DEFAULT_ORGANISATION",
1155
+ "module": "src/env/variables.ts"
1252
1156
  }
1253
1157
  },
1254
1158
  {
1255
1159
  "kind": "js",
1256
- "name": "getCurrentDesignSystemPrefix",
1160
+ "name": "DEFAULT_PASSWORD",
1257
1161
  "declaration": {
1258
- "name": "getCurrentDesignSystemPrefix",
1259
- "module": "src/design-system/design-system.ts"
1162
+ "name": "_DEFAULT_PASSWORD",
1163
+ "module": "src/env/variables.ts"
1164
+ }
1165
+ },
1166
+ {
1167
+ "kind": "js",
1168
+ "name": "DEFAULT_USER",
1169
+ "declaration": {
1170
+ "name": "_DEFAULT_USER",
1171
+ "module": "src/env/variables.ts"
1172
+ }
1173
+ },
1174
+ {
1175
+ "kind": "js",
1176
+ "name": "LOGIN_URL",
1177
+ "declaration": {
1178
+ "name": "LOGIN_URL",
1179
+ "module": "src/env/variables.ts"
1180
+ }
1181
+ },
1182
+ {
1183
+ "kind": "js",
1184
+ "name": "LOGIN_REFRESH_URL",
1185
+ "declaration": {
1186
+ "name": "LOGIN_REFRESH_URL",
1187
+ "module": "src/env/variables.ts"
1188
+ }
1189
+ },
1190
+ {
1191
+ "kind": "js",
1192
+ "name": "LOGIN_DETAILS_URL",
1193
+ "declaration": {
1194
+ "name": "LOGIN_DETAILS_URL",
1195
+ "module": "src/env/variables.ts"
1196
+ }
1197
+ },
1198
+ {
1199
+ "kind": "js",
1200
+ "name": "LOGOUT_URL",
1201
+ "declaration": {
1202
+ "name": "LOGOUT_URL",
1203
+ "module": "src/env/variables.ts"
1204
+ }
1205
+ },
1206
+ {
1207
+ "kind": "js",
1208
+ "name": "CHANGE_PASSWORD_URL",
1209
+ "declaration": {
1210
+ "name": "CHANGE_PASSWORD_URL",
1211
+ "module": "src/env/variables.ts"
1212
+ }
1213
+ },
1214
+ {
1215
+ "kind": "js",
1216
+ "name": "FORGOT_PASSWORD_URL",
1217
+ "declaration": {
1218
+ "name": "FORGOT_PASSWORD_URL",
1219
+ "module": "src/env/variables.ts"
1220
+ }
1221
+ },
1222
+ {
1223
+ "kind": "js",
1224
+ "name": "RESET_PASSWORD_URL",
1225
+ "declaration": {
1226
+ "name": "RESET_PASSWORD_URL",
1227
+ "module": "src/env/variables.ts"
1228
+ }
1229
+ },
1230
+ {
1231
+ "kind": "js",
1232
+ "name": "SSO_LIST_URL",
1233
+ "declaration": {
1234
+ "name": "SSO_LIST_URL",
1235
+ "module": "src/env/variables.ts"
1236
+ }
1237
+ },
1238
+ {
1239
+ "kind": "js",
1240
+ "name": "SSO_LOGIN_URL",
1241
+ "declaration": {
1242
+ "name": "SSO_LOGIN_URL",
1243
+ "module": "src/env/variables.ts"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "js",
1248
+ "name": "ENVIRONMENT_LEVEL",
1249
+ "declaration": {
1250
+ "name": "ENVIRONMENT_LEVEL",
1251
+ "module": "src/env/variables.ts"
1252
+ }
1253
+ },
1254
+ {
1255
+ "kind": "js",
1256
+ "name": "ACCEPT_TERMS_URL",
1257
+ "declaration": {
1258
+ "name": "ACCEPT_TERMS_URL",
1259
+ "module": "src/env/variables.ts"
1260
1260
  }
1261
1261
  }
1262
1262
  ]
1263
1263
  },
1264
1264
  {
1265
1265
  "kind": "javascript-module",
1266
- "path": "src/design-system/index.ts",
1266
+ "path": "src/encoding/index.ts",
1267
1267
  "declarations": [],
1268
1268
  "exports": [
1269
1269
  {
@@ -1271,7 +1271,7 @@
1271
1271
  "name": "*",
1272
1272
  "declaration": {
1273
1273
  "name": "*",
1274
- "package": "./design-system"
1274
+ "package": "./base64"
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.374.0",
4
+ "version": "14.374.2-alpha-2b5362b.0",
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.374.0",
31
- "@genesislcap/genx": "14.374.0",
32
- "@genesislcap/rollup-builder": "14.374.0",
33
- "@genesislcap/ts-builder": "14.374.0",
34
- "@genesislcap/uvu-playwright-builder": "14.374.0",
35
- "@genesislcap/vite-builder": "14.374.0",
36
- "@genesislcap/webpack-builder": "14.374.0",
30
+ "@genesislcap/foundation-testing": "14.374.2-alpha-2b5362b.0",
31
+ "@genesislcap/genx": "14.374.2-alpha-2b5362b.0",
32
+ "@genesislcap/rollup-builder": "14.374.2-alpha-2b5362b.0",
33
+ "@genesislcap/ts-builder": "14.374.2-alpha-2b5362b.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.374.2-alpha-2b5362b.0",
35
+ "@genesislcap/vite-builder": "14.374.2-alpha-2b5362b.0",
36
+ "@genesislcap/webpack-builder": "14.374.2-alpha-2b5362b.0",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.374.0",
41
- "@genesislcap/foundation-logger": "14.374.0",
40
+ "@genesislcap/expression-builder": "14.374.2-alpha-2b5362b.0",
41
+ "@genesislcap/foundation-logger": "14.374.2-alpha-2b5362b.0",
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": "5b1d9974d57522806b773f291d40355a6dbff83a"
59
+ "gitHead": "2a38a730604c2d06125ebbdc8b5f8ca80027fefc"
60
60
  }