@genesislcap/foundation-utils 14.209.0 → 14.209.1-alpha-25a4098.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 +272 -272
  2. package/package.json +10 -10
@@ -167,6 +167,59 @@
167
167
  }
168
168
  ]
169
169
  },
170
+ {
171
+ "kind": "javascript-module",
172
+ "path": "src/decorators/index.ts",
173
+ "declarations": [],
174
+ "exports": [
175
+ {
176
+ "kind": "js",
177
+ "name": "*",
178
+ "declaration": {
179
+ "name": "*",
180
+ "package": "./renderOnChange"
181
+ }
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "kind": "javascript-module",
187
+ "path": "src/decorators/renderOnChange.ts",
188
+ "declarations": [
189
+ {
190
+ "kind": "function",
191
+ "name": "renderOnChange",
192
+ "parameters": [
193
+ {
194
+ "name": "target",
195
+ "type": {
196
+ "text": "FASTElement & { render(): void }"
197
+ },
198
+ "description": "The target to define the property change handler on."
199
+ },
200
+ {
201
+ "name": "name",
202
+ "type": {
203
+ "text": "string"
204
+ },
205
+ "description": "The property name."
206
+ }
207
+ ],
208
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
209
+ "privacy": "public"
210
+ }
211
+ ],
212
+ "exports": [
213
+ {
214
+ "kind": "js",
215
+ "name": "renderOnChange",
216
+ "declaration": {
217
+ "name": "renderOnChange",
218
+ "module": "src/decorators/renderOnChange.ts"
219
+ }
220
+ }
221
+ ]
222
+ },
170
223
  {
171
224
  "kind": "javascript-module",
172
225
  "path": "src/data/inMemoryDatabase.ts",
@@ -365,6 +418,29 @@
365
418
  }
366
419
  ]
367
420
  },
421
+ {
422
+ "kind": "javascript-module",
423
+ "path": "src/directives/index.ts",
424
+ "declarations": [],
425
+ "exports": [
426
+ {
427
+ "kind": "js",
428
+ "name": "*",
429
+ "declaration": {
430
+ "name": "*",
431
+ "package": "./sync"
432
+ }
433
+ },
434
+ {
435
+ "kind": "js",
436
+ "name": "*",
437
+ "declaration": {
438
+ "name": "*",
439
+ "package": "./when-else"
440
+ }
441
+ }
442
+ ]
443
+ },
368
444
  {
369
445
  "kind": "javascript-module",
370
446
  "path": "src/design-system/design-system.ts",
@@ -417,7 +493,7 @@
417
493
  },
418
494
  {
419
495
  "kind": "javascript-module",
420
- "path": "src/decorators/index.ts",
496
+ "path": "src/env/index.ts",
421
497
  "declarations": [],
422
498
  "exports": [
423
499
  {
@@ -425,71 +501,233 @@
425
501
  "name": "*",
426
502
  "declaration": {
427
503
  "name": "*",
428
- "package": "./renderOnChange"
504
+ "package": "./is-dev"
505
+ }
506
+ },
507
+ {
508
+ "kind": "js",
509
+ "name": "*",
510
+ "declaration": {
511
+ "name": "*",
512
+ "package": "./variables"
429
513
  }
430
514
  }
431
515
  ]
432
516
  },
433
517
  {
434
518
  "kind": "javascript-module",
435
- "path": "src/decorators/renderOnChange.ts",
519
+ "path": "src/env/is-dev.ts",
436
520
  "declarations": [
437
521
  {
438
522
  "kind": "function",
439
- "name": "renderOnChange",
440
- "parameters": [
441
- {
442
- "name": "target",
443
- "type": {
444
- "text": "FASTElement & { render(): void }"
445
- },
446
- "description": "The target to define the property change handler on."
447
- },
448
- {
449
- "name": "name",
450
- "type": {
451
- "text": "string"
452
- },
453
- "description": "The property name."
454
- }
455
- ],
456
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
523
+ "name": "isDev",
524
+ "description": "Determines if the current environment is a development environment.",
457
525
  "privacy": "public"
458
526
  }
459
527
  ],
460
528
  "exports": [
461
529
  {
462
530
  "kind": "js",
463
- "name": "renderOnChange",
531
+ "name": "isDev",
464
532
  "declaration": {
465
- "name": "renderOnChange",
466
- "module": "src/decorators/renderOnChange.ts"
533
+ "name": "isDev",
534
+ "module": "src/env/is-dev.ts"
467
535
  }
468
536
  }
469
537
  ]
470
538
  },
471
539
  {
472
540
  "kind": "javascript-module",
473
- "path": "src/directives/index.ts",
474
- "declarations": [],
541
+ "path": "src/env/variables.ts",
542
+ "declarations": [
543
+ {
544
+ "kind": "variable",
545
+ "name": "SOCKET_EXT",
546
+ "type": {
547
+ "text": "string"
548
+ }
549
+ },
550
+ {
551
+ "kind": "variable",
552
+ "name": "_SOCKET_EXT",
553
+ "type": {
554
+ "text": "string"
555
+ },
556
+ "default": "'gwf'",
557
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
558
+ "privacy": "public"
559
+ },
560
+ {
561
+ "kind": "variable",
562
+ "name": "FORCE_HTTP",
563
+ "type": {
564
+ "text": "string"
565
+ }
566
+ },
567
+ {
568
+ "kind": "variable",
569
+ "name": "_FORCE_HTTP",
570
+ "type": {
571
+ "text": "string"
572
+ },
573
+ "description": "The path to a JSON config file for the HTTP mode.",
574
+ "privacy": "public"
575
+ },
576
+ {
577
+ "kind": "variable",
578
+ "name": "GENESIS_SOCKET_URL",
579
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
580
+ "description": "Genesis Socket URL",
581
+ "privacy": "public"
582
+ },
583
+ {
584
+ "kind": "variable",
585
+ "name": "API_HOST",
586
+ "type": {
587
+ "text": "string"
588
+ }
589
+ },
590
+ {
591
+ "kind": "variable",
592
+ "name": "_API_HOST",
593
+ "type": {
594
+ "text": "string"
595
+ },
596
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
597
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
598
+ "privacy": "public"
599
+ },
600
+ {
601
+ "kind": "variable",
602
+ "name": "HTTP_CONFIG",
603
+ "type": {
604
+ "text": "string"
605
+ }
606
+ },
607
+ {
608
+ "kind": "variable",
609
+ "name": "_HTTP_CONFIG",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
614
+ "privacy": "public"
615
+ },
616
+ {
617
+ "kind": "variable",
618
+ "name": "DEFAULT_ORGANISATION",
619
+ "type": {
620
+ "text": "string"
621
+ }
622
+ },
623
+ {
624
+ "kind": "variable",
625
+ "name": "_DEFAULT_ORGANISATION",
626
+ "type": {
627
+ "text": "string"
628
+ },
629
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
630
+ "privacy": "public"
631
+ },
632
+ {
633
+ "kind": "variable",
634
+ "name": "DEFAULT_PASSWORD",
635
+ "type": {
636
+ "text": "string"
637
+ }
638
+ },
639
+ {
640
+ "kind": "variable",
641
+ "name": "_DEFAULT_PASSWORD",
642
+ "type": {
643
+ "text": "string"
644
+ },
645
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
646
+ "privacy": "public"
647
+ },
648
+ {
649
+ "kind": "variable",
650
+ "name": "DEFAULT_USER",
651
+ "type": {
652
+ "text": "string"
653
+ }
654
+ },
655
+ {
656
+ "kind": "variable",
657
+ "name": "_DEFAULT_USER",
658
+ "type": {
659
+ "text": "string"
660
+ },
661
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
662
+ "privacy": "public"
663
+ }
664
+ ],
475
665
  "exports": [
476
666
  {
477
667
  "kind": "js",
478
- "name": "*",
668
+ "name": "SOCKET_EXT",
479
669
  "declaration": {
480
- "name": "*",
481
- "package": "./sync"
670
+ "name": "_SOCKET_EXT",
671
+ "module": "src/env/variables.ts"
482
672
  }
483
673
  },
484
674
  {
485
675
  "kind": "js",
486
- "name": "*",
676
+ "name": "FORCE_HTTP",
487
677
  "declaration": {
488
- "name": "*",
489
- "package": "./when-else"
678
+ "name": "_FORCE_HTTP",
679
+ "module": "src/env/variables.ts"
490
680
  }
491
- }
492
- ]
681
+ },
682
+ {
683
+ "kind": "js",
684
+ "name": "GENESIS_SOCKET_URL",
685
+ "declaration": {
686
+ "name": "GENESIS_SOCKET_URL",
687
+ "module": "src/env/variables.ts"
688
+ }
689
+ },
690
+ {
691
+ "kind": "js",
692
+ "name": "API_HOST",
693
+ "declaration": {
694
+ "name": "_API_HOST",
695
+ "module": "src/env/variables.ts"
696
+ }
697
+ },
698
+ {
699
+ "kind": "js",
700
+ "name": "HTTP_CONFIG",
701
+ "declaration": {
702
+ "name": "_HTTP_CONFIG",
703
+ "module": "src/env/variables.ts"
704
+ }
705
+ },
706
+ {
707
+ "kind": "js",
708
+ "name": "DEFAULT_ORGANISATION",
709
+ "declaration": {
710
+ "name": "_DEFAULT_ORGANISATION",
711
+ "module": "src/env/variables.ts"
712
+ }
713
+ },
714
+ {
715
+ "kind": "js",
716
+ "name": "DEFAULT_PASSWORD",
717
+ "declaration": {
718
+ "name": "_DEFAULT_PASSWORD",
719
+ "module": "src/env/variables.ts"
720
+ }
721
+ },
722
+ {
723
+ "kind": "js",
724
+ "name": "DEFAULT_USER",
725
+ "declaration": {
726
+ "name": "_DEFAULT_USER",
727
+ "module": "src/env/variables.ts"
728
+ }
729
+ }
730
+ ]
493
731
  },
494
732
  {
495
733
  "kind": "javascript-module",
@@ -690,244 +928,6 @@
690
928
  }
691
929
  ]
692
930
  },
693
- {
694
- "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",
719
- "declarations": [
720
- {
721
- "kind": "function",
722
- "name": "isDev",
723
- "description": "Determines if the current environment is a development environment.",
724
- "privacy": "public"
725
- }
726
- ],
727
- "exports": [
728
- {
729
- "kind": "js",
730
- "name": "isDev",
731
- "declaration": {
732
- "name": "isDev",
733
- "module": "src/env/is-dev.ts"
734
- }
735
- }
736
- ]
737
- },
738
- {
739
- "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
- ],
864
- "exports": [
865
- {
866
- "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",
924
- "declaration": {
925
- "name": "_DEFAULT_USER",
926
- "module": "src/env/variables.ts"
927
- }
928
- }
929
- ]
930
- },
931
931
  {
932
932
  "kind": "javascript-module",
933
933
  "path": "src/formatters/datetime.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.209.0",
4
+ "version": "14.209.1-alpha-25a4098.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.0",
31
- "@genesislcap/genx": "14.209.0",
32
- "@genesislcap/rollup-builder": "14.209.0",
33
- "@genesislcap/ts-builder": "14.209.0",
34
- "@genesislcap/uvu-playwright-builder": "14.209.0",
35
- "@genesislcap/vite-builder": "14.209.0",
36
- "@genesislcap/webpack-builder": "14.209.0",
30
+ "@genesislcap/foundation-testing": "14.209.1-alpha-25a4098.0",
31
+ "@genesislcap/genx": "14.209.1-alpha-25a4098.0",
32
+ "@genesislcap/rollup-builder": "14.209.1-alpha-25a4098.0",
33
+ "@genesislcap/ts-builder": "14.209.1-alpha-25a4098.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.209.1-alpha-25a4098.0",
35
+ "@genesislcap/vite-builder": "14.209.1-alpha-25a4098.0",
36
+ "@genesislcap/webpack-builder": "14.209.1-alpha-25a4098.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.209.0",
40
+ "@genesislcap/foundation-logger": "14.209.1-alpha-25a4098.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": "d14797ed4a8a13cdd03e42204458fb4f174be806"
58
+ "gitHead": "7977219a55669328288a7f63cea9c2c492d6e72b"
59
59
  }