@genesislcap/foundation-utils 14.209.1 → 14.209.2-alpha-b930c55.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 +270 -270
  2. package/package.json +10 -10
@@ -367,7 +367,7 @@
367
367
  },
368
368
  {
369
369
  "kind": "javascript-module",
370
- "path": "src/decorators/index.ts",
370
+ "path": "src/directives/index.ts",
371
371
  "declarations": [],
372
372
  "exports": [
373
373
  {
@@ -375,87 +375,260 @@
375
375
  "name": "*",
376
376
  "declaration": {
377
377
  "name": "*",
378
- "package": "./renderOnChange"
378
+ "package": "./sync"
379
+ }
380
+ },
381
+ {
382
+ "kind": "js",
383
+ "name": "*",
384
+ "declaration": {
385
+ "name": "*",
386
+ "package": "./when-else"
379
387
  }
380
388
  }
381
389
  ]
382
390
  },
383
391
  {
384
392
  "kind": "javascript-module",
385
- "path": "src/decorators/renderOnChange.ts",
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",
386
417
  "declarations": [
387
418
  {
388
419
  "kind": "function",
389
- "name": "renderOnChange",
390
- "parameters": [
391
- {
392
- "name": "target",
393
- "type": {
394
- "text": "FASTElement & { render(): void }"
395
- },
396
- "description": "The target to define the property change handler on."
397
- },
398
- {
399
- "name": "name",
400
- "type": {
401
- "text": "string"
402
- },
403
- "description": "The property name."
404
- }
405
- ],
406
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
420
+ "name": "isDev",
421
+ "description": "Determines if the current environment is a development environment.",
407
422
  "privacy": "public"
408
423
  }
409
424
  ],
410
425
  "exports": [
411
426
  {
412
427
  "kind": "js",
413
- "name": "renderOnChange",
428
+ "name": "isDev",
414
429
  "declaration": {
415
- "name": "renderOnChange",
416
- "module": "src/decorators/renderOnChange.ts"
430
+ "name": "isDev",
431
+ "module": "src/env/is-dev.ts"
417
432
  }
418
433
  }
419
434
  ]
420
435
  },
421
436
  {
422
437
  "kind": "javascript-module",
423
- "path": "src/design-system/design-system.ts",
438
+ "path": "src/env/variables.ts",
424
439
  "declarations": [
425
440
  {
426
- "kind": "function",
427
- "name": "assureDesignSystem",
428
- "return": {
429
- "type": {
430
- "text": "DesignSystemModule"
431
- }
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"
432
452
  },
433
- "parameters": [
434
- {
435
- "name": "module",
436
- "type": {
437
- "text": "DesignSystemModule"
438
- }
439
- }
440
- ],
441
- "description": "assureDesignSystem.",
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"
557
+ },
558
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
442
559
  "privacy": "public"
443
560
  }
444
561
  ],
445
562
  "exports": [
446
563
  {
447
564
  "kind": "js",
448
- "name": "assureDesignSystem",
565
+ "name": "SOCKET_EXT",
449
566
  "declaration": {
450
- "name": "assureDesignSystem",
451
- "module": "src/design-system/design-system.ts"
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",
622
+ "declaration": {
623
+ "name": "_DEFAULT_USER",
624
+ "module": "src/env/variables.ts"
452
625
  }
453
626
  }
454
627
  ]
455
628
  },
456
629
  {
457
630
  "kind": "javascript-module",
458
- "path": "src/design-system/index.ts",
631
+ "path": "src/decorators/index.ts",
459
632
  "declarations": [],
460
633
  "exports": [
461
634
  {
@@ -463,30 +636,45 @@
463
636
  "name": "*",
464
637
  "declaration": {
465
638
  "name": "*",
466
- "package": "./design-system"
639
+ "package": "./renderOnChange"
467
640
  }
468
641
  }
469
642
  ]
470
643
  },
471
644
  {
472
645
  "kind": "javascript-module",
473
- "path": "src/directives/index.ts",
474
- "declarations": [],
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
+ ],
475
671
  "exports": [
476
672
  {
477
673
  "kind": "js",
478
- "name": "*",
479
- "declaration": {
480
- "name": "*",
481
- "package": "./sync"
482
- }
483
- },
484
- {
485
- "kind": "js",
486
- "name": "*",
674
+ "name": "renderOnChange",
487
675
  "declaration": {
488
- "name": "*",
489
- "package": "./when-else"
676
+ "name": "renderOnChange",
677
+ "module": "src/decorators/renderOnChange.ts"
490
678
  }
491
679
  }
492
680
  ]
@@ -692,238 +880,50 @@
692
880
  },
693
881
  {
694
882
  "kind": "javascript-module",
695
- "path": "src/env/index.ts",
696
- "declarations": [],
697
- "exports": [
698
- {
699
- "kind": "js",
700
- "name": "*",
701
- "declaration": {
702
- "name": "*",
703
- "package": "./is-dev"
704
- }
705
- },
706
- {
707
- "kind": "js",
708
- "name": "*",
709
- "declaration": {
710
- "name": "*",
711
- "package": "./variables"
712
- }
713
- }
714
- ]
715
- },
716
- {
717
- "kind": "javascript-module",
718
- "path": "src/env/is-dev.ts",
883
+ "path": "src/design-system/design-system.ts",
719
884
  "declarations": [
720
885
  {
721
886
  "kind": "function",
722
- "name": "isDev",
723
- "description": "Determines if the current environment is a development environment.",
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.",
724
902
  "privacy": "public"
725
903
  }
726
904
  ],
727
905
  "exports": [
728
906
  {
729
907
  "kind": "js",
730
- "name": "isDev",
908
+ "name": "assureDesignSystem",
731
909
  "declaration": {
732
- "name": "isDev",
733
- "module": "src/env/is-dev.ts"
910
+ "name": "assureDesignSystem",
911
+ "module": "src/design-system/design-system.ts"
734
912
  }
735
913
  }
736
914
  ]
737
915
  },
738
916
  {
739
917
  "kind": "javascript-module",
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
- ],
918
+ "path": "src/design-system/index.ts",
919
+ "declarations": [],
864
920
  "exports": [
865
921
  {
866
922
  "kind": "js",
867
- "name": "SOCKET_EXT",
868
- "declaration": {
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",
923
+ "name": "*",
924
924
  "declaration": {
925
- "name": "_DEFAULT_USER",
926
- "module": "src/env/variables.ts"
925
+ "name": "*",
926
+ "package": "./design-system"
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.1",
4
+ "version": "14.209.2-alpha-b930c55.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.1",
31
- "@genesislcap/genx": "14.209.1",
32
- "@genesislcap/rollup-builder": "14.209.1",
33
- "@genesislcap/ts-builder": "14.209.1",
34
- "@genesislcap/uvu-playwright-builder": "14.209.1",
35
- "@genesislcap/vite-builder": "14.209.1",
36
- "@genesislcap/webpack-builder": "14.209.1",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.209.1",
40
+ "@genesislcap/foundation-logger": "14.209.2-alpha-b930c55.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": "50e14162423dae95ab839b37a298050d10f9e9a6"
58
+ "gitHead": "c807642b5990fd952947fca4c7f027647be19afd"
59
59
  }