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