@genesislcap/foundation-utils 14.186.0 → 14.186.1-alpha-1d915d4.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 +295 -295
  2. package/package.json +10 -10
@@ -410,6 +410,56 @@
410
410
  }
411
411
  ]
412
412
  },
413
+ {
414
+ "kind": "javascript-module",
415
+ "path": "src/design-system/design-system.ts",
416
+ "declarations": [
417
+ {
418
+ "kind": "function",
419
+ "name": "assureDesignSystem",
420
+ "return": {
421
+ "type": {
422
+ "text": "DesignSystemModule"
423
+ }
424
+ },
425
+ "parameters": [
426
+ {
427
+ "name": "module",
428
+ "type": {
429
+ "text": "DesignSystemModule"
430
+ }
431
+ }
432
+ ],
433
+ "description": "assureDesignSystem.",
434
+ "privacy": "public"
435
+ }
436
+ ],
437
+ "exports": [
438
+ {
439
+ "kind": "js",
440
+ "name": "assureDesignSystem",
441
+ "declaration": {
442
+ "name": "assureDesignSystem",
443
+ "module": "src/design-system/design-system.ts"
444
+ }
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "kind": "javascript-module",
450
+ "path": "src/design-system/index.ts",
451
+ "declarations": [],
452
+ "exports": [
453
+ {
454
+ "kind": "js",
455
+ "name": "*",
456
+ "declaration": {
457
+ "name": "*",
458
+ "package": "./design-system"
459
+ }
460
+ }
461
+ ]
462
+ },
413
463
  {
414
464
  "kind": "javascript-module",
415
465
  "path": "src/directives/index.ts",
@@ -433,6 +483,229 @@
433
483
  }
434
484
  ]
435
485
  },
486
+ {
487
+ "kind": "javascript-module",
488
+ "path": "src/env/index.ts",
489
+ "declarations": [],
490
+ "exports": [
491
+ {
492
+ "kind": "js",
493
+ "name": "*",
494
+ "declaration": {
495
+ "name": "*",
496
+ "package": "./is-dev"
497
+ }
498
+ },
499
+ {
500
+ "kind": "js",
501
+ "name": "*",
502
+ "declaration": {
503
+ "name": "*",
504
+ "package": "./variables"
505
+ }
506
+ }
507
+ ]
508
+ },
509
+ {
510
+ "kind": "javascript-module",
511
+ "path": "src/env/is-dev.ts",
512
+ "declarations": [
513
+ {
514
+ "kind": "function",
515
+ "name": "isDev",
516
+ "description": "Determines if the current environment is a development environment.",
517
+ "privacy": "public"
518
+ }
519
+ ],
520
+ "exports": [
521
+ {
522
+ "kind": "js",
523
+ "name": "isDev",
524
+ "declaration": {
525
+ "name": "isDev",
526
+ "module": "src/env/is-dev.ts"
527
+ }
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "kind": "javascript-module",
533
+ "path": "src/env/variables.ts",
534
+ "declarations": [
535
+ {
536
+ "kind": "variable",
537
+ "name": "SOCKET_EXT",
538
+ "type": {
539
+ "text": "string"
540
+ }
541
+ },
542
+ {
543
+ "kind": "variable",
544
+ "name": "_SOCKET_EXT",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "default": "'gwf'",
549
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
550
+ "privacy": "public"
551
+ },
552
+ {
553
+ "kind": "variable",
554
+ "name": "FORCE_HTTP",
555
+ "type": {
556
+ "text": "string"
557
+ }
558
+ },
559
+ {
560
+ "kind": "variable",
561
+ "name": "_FORCE_HTTP",
562
+ "type": {
563
+ "text": "string"
564
+ },
565
+ "description": "The path to a JSON config file for the HTTP mode.",
566
+ "privacy": "public"
567
+ },
568
+ {
569
+ "kind": "variable",
570
+ "name": "API_HOST",
571
+ "type": {
572
+ "text": "string"
573
+ }
574
+ },
575
+ {
576
+ "kind": "variable",
577
+ "name": "_API_HOST",
578
+ "type": {
579
+ "text": "string"
580
+ },
581
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
582
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
583
+ "privacy": "public"
584
+ },
585
+ {
586
+ "kind": "variable",
587
+ "name": "HTTP_CONFIG",
588
+ "type": {
589
+ "text": "string"
590
+ }
591
+ },
592
+ {
593
+ "kind": "variable",
594
+ "name": "_HTTP_CONFIG",
595
+ "type": {
596
+ "text": "string"
597
+ },
598
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
599
+ "privacy": "public"
600
+ },
601
+ {
602
+ "kind": "variable",
603
+ "name": "DEFAULT_ORGANISATION",
604
+ "type": {
605
+ "text": "string"
606
+ }
607
+ },
608
+ {
609
+ "kind": "variable",
610
+ "name": "_DEFAULT_ORGANISATION",
611
+ "type": {
612
+ "text": "string"
613
+ },
614
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
615
+ "privacy": "public"
616
+ },
617
+ {
618
+ "kind": "variable",
619
+ "name": "DEFAULT_PASSWORD",
620
+ "type": {
621
+ "text": "string"
622
+ }
623
+ },
624
+ {
625
+ "kind": "variable",
626
+ "name": "_DEFAULT_PASSWORD",
627
+ "type": {
628
+ "text": "string"
629
+ },
630
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
631
+ "privacy": "public"
632
+ },
633
+ {
634
+ "kind": "variable",
635
+ "name": "DEFAULT_USER",
636
+ "type": {
637
+ "text": "string"
638
+ }
639
+ },
640
+ {
641
+ "kind": "variable",
642
+ "name": "_DEFAULT_USER",
643
+ "type": {
644
+ "text": "string"
645
+ },
646
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
647
+ "privacy": "public"
648
+ }
649
+ ],
650
+ "exports": [
651
+ {
652
+ "kind": "js",
653
+ "name": "SOCKET_EXT",
654
+ "declaration": {
655
+ "name": "_SOCKET_EXT",
656
+ "module": "src/env/variables.ts"
657
+ }
658
+ },
659
+ {
660
+ "kind": "js",
661
+ "name": "FORCE_HTTP",
662
+ "declaration": {
663
+ "name": "_FORCE_HTTP",
664
+ "module": "src/env/variables.ts"
665
+ }
666
+ },
667
+ {
668
+ "kind": "js",
669
+ "name": "API_HOST",
670
+ "declaration": {
671
+ "name": "_API_HOST",
672
+ "module": "src/env/variables.ts"
673
+ }
674
+ },
675
+ {
676
+ "kind": "js",
677
+ "name": "HTTP_CONFIG",
678
+ "declaration": {
679
+ "name": "_HTTP_CONFIG",
680
+ "module": "src/env/variables.ts"
681
+ }
682
+ },
683
+ {
684
+ "kind": "js",
685
+ "name": "DEFAULT_ORGANISATION",
686
+ "declaration": {
687
+ "name": "_DEFAULT_ORGANISATION",
688
+ "module": "src/env/variables.ts"
689
+ }
690
+ },
691
+ {
692
+ "kind": "js",
693
+ "name": "DEFAULT_PASSWORD",
694
+ "declaration": {
695
+ "name": "_DEFAULT_PASSWORD",
696
+ "module": "src/env/variables.ts"
697
+ }
698
+ },
699
+ {
700
+ "kind": "js",
701
+ "name": "DEFAULT_USER",
702
+ "declaration": {
703
+ "name": "_DEFAULT_USER",
704
+ "module": "src/env/variables.ts"
705
+ }
706
+ }
707
+ ]
708
+ },
436
709
  {
437
710
  "kind": "javascript-module",
438
711
  "path": "src/error/errorMap.ts",
@@ -575,101 +848,51 @@
575
848
  "description": "{@inheritDoc ErrorMap.messages}",
576
849
  "readonly": true
577
850
  }
578
- ]
579
- },
580
- {
581
- "kind": "function",
582
- "name": "createErrorMap",
583
- "return": {
584
- "type": {
585
- "text": ""
586
- }
587
- },
588
- "parameters": [
589
- {
590
- "name": "logger",
591
- "type": {
592
- "text": "ErrorMapLogger"
593
- },
594
- "description": "A logger error method reference."
595
- }
596
- ],
597
- "description": "A factory to create the error map.",
598
- "privacy": "public"
599
- }
600
- ],
601
- "exports": [
602
- {
603
- "kind": "js",
604
- "name": "DefaultErrorMap",
605
- "declaration": {
606
- "name": "DefaultErrorMap",
607
- "module": "src/error/errorMap.ts"
608
- }
609
- },
610
- {
611
- "kind": "js",
612
- "name": "createErrorMap",
613
- "declaration": {
614
- "name": "createErrorMap",
615
- "module": "src/error/errorMap.ts"
616
- }
617
- }
618
- ]
619
- },
620
- {
621
- "kind": "javascript-module",
622
- "path": "src/error/index.ts",
623
- "declarations": [],
624
- "exports": [
625
- {
626
- "kind": "js",
627
- "name": "*",
628
- "declaration": {
629
- "name": "*",
630
- "package": "./errorMap"
631
- }
632
- }
633
- ]
634
- },
635
- {
636
- "kind": "javascript-module",
637
- "path": "src/design-system/design-system.ts",
638
- "declarations": [
851
+ ]
852
+ },
639
853
  {
640
854
  "kind": "function",
641
- "name": "assureDesignSystem",
855
+ "name": "createErrorMap",
642
856
  "return": {
643
857
  "type": {
644
- "text": "DesignSystemModule"
858
+ "text": ""
645
859
  }
646
860
  },
647
861
  "parameters": [
648
862
  {
649
- "name": "module",
863
+ "name": "logger",
650
864
  "type": {
651
- "text": "DesignSystemModule"
652
- }
865
+ "text": "ErrorMapLogger"
866
+ },
867
+ "description": "A logger error method reference."
653
868
  }
654
869
  ],
655
- "description": "assureDesignSystem.",
870
+ "description": "A factory to create the error map.",
656
871
  "privacy": "public"
657
872
  }
658
873
  ],
659
874
  "exports": [
660
875
  {
661
876
  "kind": "js",
662
- "name": "assureDesignSystem",
877
+ "name": "DefaultErrorMap",
663
878
  "declaration": {
664
- "name": "assureDesignSystem",
665
- "module": "src/design-system/design-system.ts"
879
+ "name": "DefaultErrorMap",
880
+ "module": "src/error/errorMap.ts"
881
+ }
882
+ },
883
+ {
884
+ "kind": "js",
885
+ "name": "createErrorMap",
886
+ "declaration": {
887
+ "name": "createErrorMap",
888
+ "module": "src/error/errorMap.ts"
666
889
  }
667
890
  }
668
891
  ]
669
892
  },
670
893
  {
671
894
  "kind": "javascript-module",
672
- "path": "src/design-system/index.ts",
895
+ "path": "src/error/index.ts",
673
896
  "declarations": [],
674
897
  "exports": [
675
898
  {
@@ -677,7 +900,7 @@
677
900
  "name": "*",
678
901
  "declaration": {
679
902
  "name": "*",
680
- "package": "./design-system"
903
+ "package": "./errorMap"
681
904
  }
682
905
  }
683
906
  ]
@@ -894,229 +1117,6 @@
894
1117
  }
895
1118
  ]
896
1119
  },
897
- {
898
- "kind": "javascript-module",
899
- "path": "src/env/index.ts",
900
- "declarations": [],
901
- "exports": [
902
- {
903
- "kind": "js",
904
- "name": "*",
905
- "declaration": {
906
- "name": "*",
907
- "package": "./is-dev"
908
- }
909
- },
910
- {
911
- "kind": "js",
912
- "name": "*",
913
- "declaration": {
914
- "name": "*",
915
- "package": "./variables"
916
- }
917
- }
918
- ]
919
- },
920
- {
921
- "kind": "javascript-module",
922
- "path": "src/env/is-dev.ts",
923
- "declarations": [
924
- {
925
- "kind": "function",
926
- "name": "isDev",
927
- "description": "Determines if the current environment is a development environment.",
928
- "privacy": "public"
929
- }
930
- ],
931
- "exports": [
932
- {
933
- "kind": "js",
934
- "name": "isDev",
935
- "declaration": {
936
- "name": "isDev",
937
- "module": "src/env/is-dev.ts"
938
- }
939
- }
940
- ]
941
- },
942
- {
943
- "kind": "javascript-module",
944
- "path": "src/env/variables.ts",
945
- "declarations": [
946
- {
947
- "kind": "variable",
948
- "name": "SOCKET_EXT",
949
- "type": {
950
- "text": "string"
951
- }
952
- },
953
- {
954
- "kind": "variable",
955
- "name": "_SOCKET_EXT",
956
- "type": {
957
- "text": "string"
958
- },
959
- "default": "'gwf'",
960
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
961
- "privacy": "public"
962
- },
963
- {
964
- "kind": "variable",
965
- "name": "FORCE_HTTP",
966
- "type": {
967
- "text": "string"
968
- }
969
- },
970
- {
971
- "kind": "variable",
972
- "name": "_FORCE_HTTP",
973
- "type": {
974
- "text": "string"
975
- },
976
- "description": "The path to a JSON config file for the HTTP mode.",
977
- "privacy": "public"
978
- },
979
- {
980
- "kind": "variable",
981
- "name": "API_HOST",
982
- "type": {
983
- "text": "string"
984
- }
985
- },
986
- {
987
- "kind": "variable",
988
- "name": "_API_HOST",
989
- "type": {
990
- "text": "string"
991
- },
992
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
993
- "description": "The Genesis Server URL (WebSocket or HTTP).",
994
- "privacy": "public"
995
- },
996
- {
997
- "kind": "variable",
998
- "name": "HTTP_CONFIG",
999
- "type": {
1000
- "text": "string"
1001
- }
1002
- },
1003
- {
1004
- "kind": "variable",
1005
- "name": "_HTTP_CONFIG",
1006
- "type": {
1007
- "text": "string"
1008
- },
1009
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
1010
- "privacy": "public"
1011
- },
1012
- {
1013
- "kind": "variable",
1014
- "name": "DEFAULT_ORGANISATION",
1015
- "type": {
1016
- "text": "string"
1017
- }
1018
- },
1019
- {
1020
- "kind": "variable",
1021
- "name": "_DEFAULT_ORGANISATION",
1022
- "type": {
1023
- "text": "string"
1024
- },
1025
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1026
- "privacy": "public"
1027
- },
1028
- {
1029
- "kind": "variable",
1030
- "name": "DEFAULT_PASSWORD",
1031
- "type": {
1032
- "text": "string"
1033
- }
1034
- },
1035
- {
1036
- "kind": "variable",
1037
- "name": "_DEFAULT_PASSWORD",
1038
- "type": {
1039
- "text": "string"
1040
- },
1041
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1042
- "privacy": "public"
1043
- },
1044
- {
1045
- "kind": "variable",
1046
- "name": "DEFAULT_USER",
1047
- "type": {
1048
- "text": "string"
1049
- }
1050
- },
1051
- {
1052
- "kind": "variable",
1053
- "name": "_DEFAULT_USER",
1054
- "type": {
1055
- "text": "string"
1056
- },
1057
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1058
- "privacy": "public"
1059
- }
1060
- ],
1061
- "exports": [
1062
- {
1063
- "kind": "js",
1064
- "name": "SOCKET_EXT",
1065
- "declaration": {
1066
- "name": "_SOCKET_EXT",
1067
- "module": "src/env/variables.ts"
1068
- }
1069
- },
1070
- {
1071
- "kind": "js",
1072
- "name": "FORCE_HTTP",
1073
- "declaration": {
1074
- "name": "_FORCE_HTTP",
1075
- "module": "src/env/variables.ts"
1076
- }
1077
- },
1078
- {
1079
- "kind": "js",
1080
- "name": "API_HOST",
1081
- "declaration": {
1082
- "name": "_API_HOST",
1083
- "module": "src/env/variables.ts"
1084
- }
1085
- },
1086
- {
1087
- "kind": "js",
1088
- "name": "HTTP_CONFIG",
1089
- "declaration": {
1090
- "name": "_HTTP_CONFIG",
1091
- "module": "src/env/variables.ts"
1092
- }
1093
- },
1094
- {
1095
- "kind": "js",
1096
- "name": "DEFAULT_ORGANISATION",
1097
- "declaration": {
1098
- "name": "_DEFAULT_ORGANISATION",
1099
- "module": "src/env/variables.ts"
1100
- }
1101
- },
1102
- {
1103
- "kind": "js",
1104
- "name": "DEFAULT_PASSWORD",
1105
- "declaration": {
1106
- "name": "_DEFAULT_PASSWORD",
1107
- "module": "src/env/variables.ts"
1108
- }
1109
- },
1110
- {
1111
- "kind": "js",
1112
- "name": "DEFAULT_USER",
1113
- "declaration": {
1114
- "name": "_DEFAULT_USER",
1115
- "module": "src/env/variables.ts"
1116
- }
1117
- }
1118
- ]
1119
- },
1120
1120
  {
1121
1121
  "kind": "javascript-module",
1122
1122
  "path": "src/logger/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.186.0",
4
+ "version": "14.186.1-alpha-1d915d4.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.186.0",
31
- "@genesislcap/genx": "14.186.0",
32
- "@genesislcap/rollup-builder": "14.186.0",
33
- "@genesislcap/ts-builder": "14.186.0",
34
- "@genesislcap/uvu-playwright-builder": "14.186.0",
35
- "@genesislcap/vite-builder": "14.186.0",
36
- "@genesislcap/webpack-builder": "14.186.0",
30
+ "@genesislcap/foundation-testing": "14.186.1-alpha-1d915d4.0",
31
+ "@genesislcap/genx": "14.186.1-alpha-1d915d4.0",
32
+ "@genesislcap/rollup-builder": "14.186.1-alpha-1d915d4.0",
33
+ "@genesislcap/ts-builder": "14.186.1-alpha-1d915d4.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.186.1-alpha-1d915d4.0",
35
+ "@genesislcap/vite-builder": "14.186.1-alpha-1d915d4.0",
36
+ "@genesislcap/webpack-builder": "14.186.1-alpha-1d915d4.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.186.0",
40
+ "@genesislcap/foundation-logger": "14.186.1-alpha-1d915d4.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -54,5 +54,5 @@
54
54
  "access": "public"
55
55
  },
56
56
  "customElements": "dist/custom-elements.json",
57
- "gitHead": "1ebc5549ab49ef3a3e6c08c8aab0886dbebb3400"
57
+ "gitHead": "e4b12d06812bdfbb2b66c61c89ae7bccebbfcdeb"
58
58
  }