@genesislcap/foundation-utils 14.209.2-alpha-b930c55.0 → 14.209.3-alpha-6a63026.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +318 -318
  2. package/package.json +10 -10
@@ -367,268 +367,42 @@
367
367
  },
368
368
  {
369
369
  "kind": "javascript-module",
370
- "path": "src/directives/index.ts",
371
- "declarations": [],
372
- "exports": [
373
- {
374
- "kind": "js",
375
- "name": "*",
376
- "declaration": {
377
- "name": "*",
378
- "package": "./sync"
379
- }
380
- },
381
- {
382
- "kind": "js",
383
- "name": "*",
384
- "declaration": {
385
- "name": "*",
386
- "package": "./when-else"
387
- }
388
- }
389
- ]
390
- },
391
- {
392
- "kind": "javascript-module",
393
- "path": "src/env/index.ts",
394
- "declarations": [],
395
- "exports": [
396
- {
397
- "kind": "js",
398
- "name": "*",
399
- "declaration": {
400
- "name": "*",
401
- "package": "./is-dev"
402
- }
403
- },
404
- {
405
- "kind": "js",
406
- "name": "*",
407
- "declaration": {
408
- "name": "*",
409
- "package": "./variables"
410
- }
411
- }
412
- ]
413
- },
414
- {
415
- "kind": "javascript-module",
416
- "path": "src/env/is-dev.ts",
370
+ "path": "src/design-system/design-system.ts",
417
371
  "declarations": [
418
372
  {
419
373
  "kind": "function",
420
- "name": "isDev",
421
- "description": "Determines if the current environment is a development environment.",
422
- "privacy": "public"
423
- }
424
- ],
425
- "exports": [
426
- {
427
- "kind": "js",
428
- "name": "isDev",
429
- "declaration": {
430
- "name": "isDev",
431
- "module": "src/env/is-dev.ts"
432
- }
433
- }
434
- ]
435
- },
436
- {
437
- "kind": "javascript-module",
438
- "path": "src/env/variables.ts",
439
- "declarations": [
440
- {
441
- "kind": "variable",
442
- "name": "SOCKET_EXT",
443
- "type": {
444
- "text": "string"
445
- }
446
- },
447
- {
448
- "kind": "variable",
449
- "name": "_SOCKET_EXT",
450
- "type": {
451
- "text": "string"
452
- },
453
- "default": "'gwf'",
454
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
455
- "privacy": "public"
456
- },
457
- {
458
- "kind": "variable",
459
- "name": "FORCE_HTTP",
460
- "type": {
461
- "text": "string"
462
- }
463
- },
464
- {
465
- "kind": "variable",
466
- "name": "_FORCE_HTTP",
467
- "type": {
468
- "text": "string"
469
- },
470
- "description": "The path to a JSON config file for the HTTP mode.",
471
- "privacy": "public"
472
- },
473
- {
474
- "kind": "variable",
475
- "name": "GENESIS_SOCKET_URL",
476
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
477
- "description": "Genesis Socket URL",
478
- "privacy": "public"
479
- },
480
- {
481
- "kind": "variable",
482
- "name": "API_HOST",
483
- "type": {
484
- "text": "string"
485
- }
486
- },
487
- {
488
- "kind": "variable",
489
- "name": "_API_HOST",
490
- "type": {
491
- "text": "string"
492
- },
493
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
494
- "description": "The Genesis Server URL (WebSocket or HTTP).",
495
- "privacy": "public"
496
- },
497
- {
498
- "kind": "variable",
499
- "name": "HTTP_CONFIG",
500
- "type": {
501
- "text": "string"
502
- }
503
- },
504
- {
505
- "kind": "variable",
506
- "name": "_HTTP_CONFIG",
507
- "type": {
508
- "text": "string"
509
- },
510
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
511
- "privacy": "public"
512
- },
513
- {
514
- "kind": "variable",
515
- "name": "DEFAULT_ORGANISATION",
516
- "type": {
517
- "text": "string"
518
- }
519
- },
520
- {
521
- "kind": "variable",
522
- "name": "_DEFAULT_ORGANISATION",
523
- "type": {
524
- "text": "string"
525
- },
526
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
527
- "privacy": "public"
528
- },
529
- {
530
- "kind": "variable",
531
- "name": "DEFAULT_PASSWORD",
532
- "type": {
533
- "text": "string"
534
- }
535
- },
536
- {
537
- "kind": "variable",
538
- "name": "_DEFAULT_PASSWORD",
539
- "type": {
540
- "text": "string"
541
- },
542
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
543
- "privacy": "public"
544
- },
545
- {
546
- "kind": "variable",
547
- "name": "DEFAULT_USER",
548
- "type": {
549
- "text": "string"
550
- }
551
- },
552
- {
553
- "kind": "variable",
554
- "name": "_DEFAULT_USER",
555
- "type": {
556
- "text": "string"
374
+ "name": "assureDesignSystem",
375
+ "return": {
376
+ "type": {
377
+ "text": "DesignSystemModule"
378
+ }
557
379
  },
558
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
380
+ "parameters": [
381
+ {
382
+ "name": "module",
383
+ "type": {
384
+ "text": "DesignSystemModule"
385
+ }
386
+ }
387
+ ],
388
+ "description": "assureDesignSystem.",
559
389
  "privacy": "public"
560
390
  }
561
391
  ],
562
392
  "exports": [
563
393
  {
564
394
  "kind": "js",
565
- "name": "SOCKET_EXT",
566
- "declaration": {
567
- "name": "_SOCKET_EXT",
568
- "module": "src/env/variables.ts"
569
- }
570
- },
571
- {
572
- "kind": "js",
573
- "name": "FORCE_HTTP",
574
- "declaration": {
575
- "name": "_FORCE_HTTP",
576
- "module": "src/env/variables.ts"
577
- }
578
- },
579
- {
580
- "kind": "js",
581
- "name": "GENESIS_SOCKET_URL",
582
- "declaration": {
583
- "name": "GENESIS_SOCKET_URL",
584
- "module": "src/env/variables.ts"
585
- }
586
- },
587
- {
588
- "kind": "js",
589
- "name": "API_HOST",
590
- "declaration": {
591
- "name": "_API_HOST",
592
- "module": "src/env/variables.ts"
593
- }
594
- },
595
- {
596
- "kind": "js",
597
- "name": "HTTP_CONFIG",
598
- "declaration": {
599
- "name": "_HTTP_CONFIG",
600
- "module": "src/env/variables.ts"
601
- }
602
- },
603
- {
604
- "kind": "js",
605
- "name": "DEFAULT_ORGANISATION",
606
- "declaration": {
607
- "name": "_DEFAULT_ORGANISATION",
608
- "module": "src/env/variables.ts"
609
- }
610
- },
611
- {
612
- "kind": "js",
613
- "name": "DEFAULT_PASSWORD",
614
- "declaration": {
615
- "name": "_DEFAULT_PASSWORD",
616
- "module": "src/env/variables.ts"
617
- }
618
- },
619
- {
620
- "kind": "js",
621
- "name": "DEFAULT_USER",
395
+ "name": "assureDesignSystem",
622
396
  "declaration": {
623
- "name": "_DEFAULT_USER",
624
- "module": "src/env/variables.ts"
397
+ "name": "assureDesignSystem",
398
+ "module": "src/design-system/design-system.ts"
625
399
  }
626
400
  }
627
401
  ]
628
402
  },
629
403
  {
630
404
  "kind": "javascript-module",
631
- "path": "src/decorators/index.ts",
405
+ "path": "src/design-system/index.ts",
632
406
  "declarations": [],
633
407
  "exports": [
634
408
  {
@@ -636,45 +410,7 @@
636
410
  "name": "*",
637
411
  "declaration": {
638
412
  "name": "*",
639
- "package": "./renderOnChange"
640
- }
641
- }
642
- ]
643
- },
644
- {
645
- "kind": "javascript-module",
646
- "path": "src/decorators/renderOnChange.ts",
647
- "declarations": [
648
- {
649
- "kind": "function",
650
- "name": "renderOnChange",
651
- "parameters": [
652
- {
653
- "name": "target",
654
- "type": {
655
- "text": "FASTElement & { render(): void }"
656
- },
657
- "description": "The target to define the property change handler on."
658
- },
659
- {
660
- "name": "name",
661
- "type": {
662
- "text": "string"
663
- },
664
- "description": "The property name."
665
- }
666
- ],
667
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
668
- "privacy": "public"
669
- }
670
- ],
671
- "exports": [
672
- {
673
- "kind": "js",
674
- "name": "renderOnChange",
675
- "declaration": {
676
- "name": "renderOnChange",
677
- "module": "src/decorators/renderOnChange.ts"
413
+ "package": "./design-system"
678
414
  }
679
415
  }
680
416
  ]
@@ -837,35 +573,126 @@
837
573
  "type": {
838
574
  "text": "ErrorMapLogger"
839
575
  },
840
- "description": "A logger error method reference."
576
+ "description": "A logger error method reference."
577
+ }
578
+ ],
579
+ "description": "A factory to create the error map.",
580
+ "privacy": "public"
581
+ }
582
+ ],
583
+ "exports": [
584
+ {
585
+ "kind": "js",
586
+ "name": "DefaultErrorMap",
587
+ "declaration": {
588
+ "name": "DefaultErrorMap",
589
+ "module": "src/error/errorMap.ts"
590
+ }
591
+ },
592
+ {
593
+ "kind": "js",
594
+ "name": "createErrorMap",
595
+ "declaration": {
596
+ "name": "createErrorMap",
597
+ "module": "src/error/errorMap.ts"
598
+ }
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "kind": "javascript-module",
604
+ "path": "src/error/index.ts",
605
+ "declarations": [],
606
+ "exports": [
607
+ {
608
+ "kind": "js",
609
+ "name": "*",
610
+ "declaration": {
611
+ "name": "*",
612
+ "package": "./errorMap"
613
+ }
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "kind": "javascript-module",
619
+ "path": "src/decorators/index.ts",
620
+ "declarations": [],
621
+ "exports": [
622
+ {
623
+ "kind": "js",
624
+ "name": "*",
625
+ "declaration": {
626
+ "name": "*",
627
+ "package": "./renderOnChange"
628
+ }
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "kind": "javascript-module",
634
+ "path": "src/decorators/renderOnChange.ts",
635
+ "declarations": [
636
+ {
637
+ "kind": "function",
638
+ "name": "renderOnChange",
639
+ "parameters": [
640
+ {
641
+ "name": "target",
642
+ "type": {
643
+ "text": "FASTElement & { render(): void }"
644
+ },
645
+ "description": "The target to define the property change handler on."
646
+ },
647
+ {
648
+ "name": "name",
649
+ "type": {
650
+ "text": "string"
651
+ },
652
+ "description": "The property name."
841
653
  }
842
654
  ],
843
- "description": "A factory to create the error map.",
655
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
844
656
  "privacy": "public"
845
657
  }
846
658
  ],
847
659
  "exports": [
848
660
  {
849
661
  "kind": "js",
850
- "name": "DefaultErrorMap",
662
+ "name": "renderOnChange",
851
663
  "declaration": {
852
- "name": "DefaultErrorMap",
853
- "module": "src/error/errorMap.ts"
664
+ "name": "renderOnChange",
665
+ "module": "src/decorators/renderOnChange.ts"
666
+ }
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "kind": "javascript-module",
672
+ "path": "src/directives/index.ts",
673
+ "declarations": [],
674
+ "exports": [
675
+ {
676
+ "kind": "js",
677
+ "name": "*",
678
+ "declaration": {
679
+ "name": "*",
680
+ "package": "./sync"
854
681
  }
855
682
  },
856
683
  {
857
684
  "kind": "js",
858
- "name": "createErrorMap",
685
+ "name": "*",
859
686
  "declaration": {
860
- "name": "createErrorMap",
861
- "module": "src/error/errorMap.ts"
687
+ "name": "*",
688
+ "package": "./when-else"
862
689
  }
863
690
  }
864
691
  ]
865
692
  },
866
693
  {
867
694
  "kind": "javascript-module",
868
- "path": "src/error/index.ts",
695
+ "path": "src/env/index.ts",
869
696
  "declarations": [],
870
697
  "exports": [
871
698
  {
@@ -873,57 +700,230 @@
873
700
  "name": "*",
874
701
  "declaration": {
875
702
  "name": "*",
876
- "package": "./errorMap"
703
+ "package": "./is-dev"
704
+ }
705
+ },
706
+ {
707
+ "kind": "js",
708
+ "name": "*",
709
+ "declaration": {
710
+ "name": "*",
711
+ "package": "./variables"
877
712
  }
878
713
  }
879
714
  ]
880
715
  },
881
716
  {
882
717
  "kind": "javascript-module",
883
- "path": "src/design-system/design-system.ts",
718
+ "path": "src/env/is-dev.ts",
884
719
  "declarations": [
885
720
  {
886
721
  "kind": "function",
887
- "name": "assureDesignSystem",
888
- "return": {
889
- "type": {
890
- "text": "DesignSystemModule"
891
- }
892
- },
893
- "parameters": [
894
- {
895
- "name": "module",
896
- "type": {
897
- "text": "DesignSystemModule"
898
- }
899
- }
900
- ],
901
- "description": "assureDesignSystem.",
722
+ "name": "isDev",
723
+ "description": "Determines if the current environment is a development environment.",
902
724
  "privacy": "public"
903
725
  }
904
726
  ],
905
727
  "exports": [
906
728
  {
907
729
  "kind": "js",
908
- "name": "assureDesignSystem",
730
+ "name": "isDev",
909
731
  "declaration": {
910
- "name": "assureDesignSystem",
911
- "module": "src/design-system/design-system.ts"
732
+ "name": "isDev",
733
+ "module": "src/env/is-dev.ts"
912
734
  }
913
735
  }
914
736
  ]
915
737
  },
916
738
  {
917
739
  "kind": "javascript-module",
918
- "path": "src/design-system/index.ts",
919
- "declarations": [],
740
+ "path": "src/env/variables.ts",
741
+ "declarations": [
742
+ {
743
+ "kind": "variable",
744
+ "name": "SOCKET_EXT",
745
+ "type": {
746
+ "text": "string"
747
+ }
748
+ },
749
+ {
750
+ "kind": "variable",
751
+ "name": "_SOCKET_EXT",
752
+ "type": {
753
+ "text": "string"
754
+ },
755
+ "default": "'gwf'",
756
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
757
+ "privacy": "public"
758
+ },
759
+ {
760
+ "kind": "variable",
761
+ "name": "FORCE_HTTP",
762
+ "type": {
763
+ "text": "string"
764
+ }
765
+ },
766
+ {
767
+ "kind": "variable",
768
+ "name": "_FORCE_HTTP",
769
+ "type": {
770
+ "text": "string"
771
+ },
772
+ "description": "The path to a JSON config file for the HTTP mode.",
773
+ "privacy": "public"
774
+ },
775
+ {
776
+ "kind": "variable",
777
+ "name": "GENESIS_SOCKET_URL",
778
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
779
+ "description": "Genesis Socket URL",
780
+ "privacy": "public"
781
+ },
782
+ {
783
+ "kind": "variable",
784
+ "name": "API_HOST",
785
+ "type": {
786
+ "text": "string"
787
+ }
788
+ },
789
+ {
790
+ "kind": "variable",
791
+ "name": "_API_HOST",
792
+ "type": {
793
+ "text": "string"
794
+ },
795
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
796
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
797
+ "privacy": "public"
798
+ },
799
+ {
800
+ "kind": "variable",
801
+ "name": "HTTP_CONFIG",
802
+ "type": {
803
+ "text": "string"
804
+ }
805
+ },
806
+ {
807
+ "kind": "variable",
808
+ "name": "_HTTP_CONFIG",
809
+ "type": {
810
+ "text": "string"
811
+ },
812
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
813
+ "privacy": "public"
814
+ },
815
+ {
816
+ "kind": "variable",
817
+ "name": "DEFAULT_ORGANISATION",
818
+ "type": {
819
+ "text": "string"
820
+ }
821
+ },
822
+ {
823
+ "kind": "variable",
824
+ "name": "_DEFAULT_ORGANISATION",
825
+ "type": {
826
+ "text": "string"
827
+ },
828
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
829
+ "privacy": "public"
830
+ },
831
+ {
832
+ "kind": "variable",
833
+ "name": "DEFAULT_PASSWORD",
834
+ "type": {
835
+ "text": "string"
836
+ }
837
+ },
838
+ {
839
+ "kind": "variable",
840
+ "name": "_DEFAULT_PASSWORD",
841
+ "type": {
842
+ "text": "string"
843
+ },
844
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
845
+ "privacy": "public"
846
+ },
847
+ {
848
+ "kind": "variable",
849
+ "name": "DEFAULT_USER",
850
+ "type": {
851
+ "text": "string"
852
+ }
853
+ },
854
+ {
855
+ "kind": "variable",
856
+ "name": "_DEFAULT_USER",
857
+ "type": {
858
+ "text": "string"
859
+ },
860
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
861
+ "privacy": "public"
862
+ }
863
+ ],
920
864
  "exports": [
921
865
  {
922
866
  "kind": "js",
923
- "name": "*",
867
+ "name": "SOCKET_EXT",
924
868
  "declaration": {
925
- "name": "*",
926
- "package": "./design-system"
869
+ "name": "_SOCKET_EXT",
870
+ "module": "src/env/variables.ts"
871
+ }
872
+ },
873
+ {
874
+ "kind": "js",
875
+ "name": "FORCE_HTTP",
876
+ "declaration": {
877
+ "name": "_FORCE_HTTP",
878
+ "module": "src/env/variables.ts"
879
+ }
880
+ },
881
+ {
882
+ "kind": "js",
883
+ "name": "GENESIS_SOCKET_URL",
884
+ "declaration": {
885
+ "name": "GENESIS_SOCKET_URL",
886
+ "module": "src/env/variables.ts"
887
+ }
888
+ },
889
+ {
890
+ "kind": "js",
891
+ "name": "API_HOST",
892
+ "declaration": {
893
+ "name": "_API_HOST",
894
+ "module": "src/env/variables.ts"
895
+ }
896
+ },
897
+ {
898
+ "kind": "js",
899
+ "name": "HTTP_CONFIG",
900
+ "declaration": {
901
+ "name": "_HTTP_CONFIG",
902
+ "module": "src/env/variables.ts"
903
+ }
904
+ },
905
+ {
906
+ "kind": "js",
907
+ "name": "DEFAULT_ORGANISATION",
908
+ "declaration": {
909
+ "name": "_DEFAULT_ORGANISATION",
910
+ "module": "src/env/variables.ts"
911
+ }
912
+ },
913
+ {
914
+ "kind": "js",
915
+ "name": "DEFAULT_PASSWORD",
916
+ "declaration": {
917
+ "name": "_DEFAULT_PASSWORD",
918
+ "module": "src/env/variables.ts"
919
+ }
920
+ },
921
+ {
922
+ "kind": "js",
923
+ "name": "DEFAULT_USER",
924
+ "declaration": {
925
+ "name": "_DEFAULT_USER",
926
+ "module": "src/env/variables.ts"
927
927
  }
928
928
  }
929
929
  ]
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.209.2-alpha-b930c55.0",
4
+ "version": "14.209.3-alpha-6a63026.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.209.2-alpha-b930c55.0",
31
- "@genesislcap/genx": "14.209.2-alpha-b930c55.0",
32
- "@genesislcap/rollup-builder": "14.209.2-alpha-b930c55.0",
33
- "@genesislcap/ts-builder": "14.209.2-alpha-b930c55.0",
34
- "@genesislcap/uvu-playwright-builder": "14.209.2-alpha-b930c55.0",
35
- "@genesislcap/vite-builder": "14.209.2-alpha-b930c55.0",
36
- "@genesislcap/webpack-builder": "14.209.2-alpha-b930c55.0",
30
+ "@genesislcap/foundation-testing": "14.209.3-alpha-6a63026.0",
31
+ "@genesislcap/genx": "14.209.3-alpha-6a63026.0",
32
+ "@genesislcap/rollup-builder": "14.209.3-alpha-6a63026.0",
33
+ "@genesislcap/ts-builder": "14.209.3-alpha-6a63026.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.209.3-alpha-6a63026.0",
35
+ "@genesislcap/vite-builder": "14.209.3-alpha-6a63026.0",
36
+ "@genesislcap/webpack-builder": "14.209.3-alpha-6a63026.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.209.2-alpha-b930c55.0",
40
+ "@genesislcap/foundation-logger": "14.209.3-alpha-6a63026.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",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "c807642b5990fd952947fca4c7f027647be19afd"
58
+ "gitHead": "88c5ab1a05697d12dbe0201bd7c7884d8c3b1831"
59
59
  }