@genesislcap/foundation-utils 14.199.0 → 14.199.1

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 +357 -357
  2. package/package.json +10 -10
@@ -357,109 +357,6 @@
357
357
  }
358
358
  ]
359
359
  },
360
- {
361
- "kind": "javascript-module",
362
- "path": "src/decorators/index.ts",
363
- "declarations": [],
364
- "exports": [
365
- {
366
- "kind": "js",
367
- "name": "*",
368
- "declaration": {
369
- "name": "*",
370
- "package": "./renderOnChange"
371
- }
372
- }
373
- ]
374
- },
375
- {
376
- "kind": "javascript-module",
377
- "path": "src/decorators/renderOnChange.ts",
378
- "declarations": [
379
- {
380
- "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.",
399
- "privacy": "public"
400
- }
401
- ],
402
- "exports": [
403
- {
404
- "kind": "js",
405
- "name": "renderOnChange",
406
- "declaration": {
407
- "name": "renderOnChange",
408
- "module": "src/decorators/renderOnChange.ts"
409
- }
410
- }
411
- ]
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
- },
463
360
  {
464
361
  "kind": "javascript-module",
465
362
  "path": "src/directives/index.ts",
@@ -483,205 +380,6 @@
483
380
  }
484
381
  ]
485
382
  },
486
- {
487
- "kind": "javascript-module",
488
- "path": "src/error/errorMap.ts",
489
- "declarations": [
490
- {
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>()"
500
- },
501
- {
502
- "kind": "field",
503
- "name": "lastError",
504
- "type": {
505
- "text": "Error"
506
- },
507
- "description": "{@inheritDoc ErrorMap.lastError}"
508
- },
509
- {
510
- "kind": "method",
511
- "name": "set",
512
- "return": {
513
- "type": {
514
- "text": "void"
515
- }
516
- },
517
- "parameters": [
518
- {
519
- "name": "key",
520
- "type": {
521
- "text": "keyof TErrorDetailMap"
522
- }
523
- },
524
- {
525
- "name": "error",
526
- "type": {
527
- "text": "Error"
528
- }
529
- }
530
- ],
531
- "description": "{@inheritDoc ErrorMap.set}"
532
- },
533
- {
534
- "kind": "method",
535
- "name": "get",
536
- "return": {
537
- "type": {
538
- "text": ""
539
- }
540
- },
541
- "parameters": [
542
- {
543
- "name": "key",
544
- "type": {
545
- "text": "keyof TErrorDetailMap"
546
- },
547
- "description": "The key."
548
- }
549
- ],
550
- "description": "Get an error by key.",
551
- "privacy": "public"
552
- },
553
- {
554
- "kind": "method",
555
- "name": "has",
556
- "return": {
557
- "type": {
558
- "text": ""
559
- }
560
- },
561
- "parameters": [
562
- {
563
- "name": "key",
564
- "type": {
565
- "text": "keyof TErrorDetailMap"
566
- },
567
- "description": "The key."
568
- }
569
- ],
570
- "description": "Has an error for key.",
571
- "privacy": "public"
572
- },
573
- {
574
- "kind": "method",
575
- "name": "delete",
576
- "return": {
577
- "type": {
578
- "text": ""
579
- }
580
- },
581
- "parameters": [
582
- {
583
- "name": "key",
584
- "type": {
585
- "text": "keyof TErrorDetailMap"
586
- },
587
- "description": "The key."
588
- }
589
- ],
590
- "description": "Delete an error.",
591
- "privacy": "public"
592
- },
593
- {
594
- "kind": "method",
595
- "name": "clear",
596
- "description": "Clear errors.",
597
- "privacy": "public"
598
- },
599
- {
600
- "kind": "field",
601
- "name": "size",
602
- "type": {
603
- "text": "number"
604
- },
605
- "description": "The size of the error map.",
606
- "return": {
607
- "type": {
608
- "text": ""
609
- }
610
- },
611
- "privacy": "public",
612
- "readonly": true
613
- },
614
- {
615
- "kind": "method",
616
- "name": "values",
617
- "privacy": "public"
618
- },
619
- {
620
- "kind": "field",
621
- "name": "messages",
622
- "type": {
623
- "text": "string"
624
- },
625
- "description": "{@inheritDoc ErrorMap.messages}",
626
- "readonly": true
627
- }
628
- ]
629
- },
630
- {
631
- "kind": "function",
632
- "name": "createErrorMap",
633
- "return": {
634
- "type": {
635
- "text": ""
636
- }
637
- },
638
- "parameters": [
639
- {
640
- "name": "logger",
641
- "type": {
642
- "text": "ErrorMapLogger"
643
- },
644
- "description": "A logger error method reference."
645
- }
646
- ],
647
- "description": "A factory to create the error map.",
648
- "privacy": "public"
649
- }
650
- ],
651
- "exports": [
652
- {
653
- "kind": "js",
654
- "name": "DefaultErrorMap",
655
- "declaration": {
656
- "name": "DefaultErrorMap",
657
- "module": "src/error/errorMap.ts"
658
- }
659
- },
660
- {
661
- "kind": "js",
662
- "name": "createErrorMap",
663
- "declaration": {
664
- "name": "createErrorMap",
665
- "module": "src/error/errorMap.ts"
666
- }
667
- }
668
- ]
669
- },
670
- {
671
- "kind": "javascript-module",
672
- "path": "src/error/index.ts",
673
- "declarations": [],
674
- "exports": [
675
- {
676
- "kind": "js",
677
- "name": "*",
678
- "declaration": {
679
- "name": "*",
680
- "package": "./errorMap"
681
- }
682
- }
683
- ]
684
- },
685
383
  {
686
384
  "kind": "javascript-module",
687
385
  "path": "src/env/index.ts",
@@ -844,78 +542,277 @@
844
542
  }
845
543
  },
846
544
  {
847
- "kind": "variable",
848
- "name": "_DEFAULT_USER",
849
- "type": {
850
- "text": "string"
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).",
551
+ "privacy": "public"
552
+ }
553
+ ],
554
+ "exports": [
555
+ {
556
+ "kind": "js",
557
+ "name": "SOCKET_EXT",
558
+ "declaration": {
559
+ "name": "_SOCKET_EXT",
560
+ "module": "src/env/variables.ts"
561
+ }
562
+ },
563
+ {
564
+ "kind": "js",
565
+ "name": "FORCE_HTTP",
566
+ "declaration": {
567
+ "name": "_FORCE_HTTP",
568
+ "module": "src/env/variables.ts"
569
+ }
570
+ },
571
+ {
572
+ "kind": "js",
573
+ "name": "GENESIS_SOCKET_URL",
574
+ "declaration": {
575
+ "name": "GENESIS_SOCKET_URL",
576
+ "module": "src/env/variables.ts"
577
+ }
578
+ },
579
+ {
580
+ "kind": "js",
581
+ "name": "API_HOST",
582
+ "declaration": {
583
+ "name": "_API_HOST",
584
+ "module": "src/env/variables.ts"
585
+ }
586
+ },
587
+ {
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/error/errorMap.ts",
624
+ "declarations": [
625
+ {
626
+ "kind": "class",
627
+ "description": "",
628
+ "name": "DefaultErrorMap",
629
+ "members": [
630
+ {
631
+ "kind": "field",
632
+ "name": "map",
633
+ "privacy": "private",
634
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
635
+ },
636
+ {
637
+ "kind": "field",
638
+ "name": "lastError",
639
+ "type": {
640
+ "text": "Error"
641
+ },
642
+ "description": "{@inheritDoc ErrorMap.lastError}"
643
+ },
644
+ {
645
+ "kind": "method",
646
+ "name": "set",
647
+ "return": {
648
+ "type": {
649
+ "text": "void"
650
+ }
651
+ },
652
+ "parameters": [
653
+ {
654
+ "name": "key",
655
+ "type": {
656
+ "text": "keyof TErrorDetailMap"
657
+ }
658
+ },
659
+ {
660
+ "name": "error",
661
+ "type": {
662
+ "text": "Error"
663
+ }
664
+ }
665
+ ],
666
+ "description": "{@inheritDoc ErrorMap.set}"
667
+ },
668
+ {
669
+ "kind": "method",
670
+ "name": "get",
671
+ "return": {
672
+ "type": {
673
+ "text": ""
674
+ }
675
+ },
676
+ "parameters": [
677
+ {
678
+ "name": "key",
679
+ "type": {
680
+ "text": "keyof TErrorDetailMap"
681
+ },
682
+ "description": "The key."
683
+ }
684
+ ],
685
+ "description": "Get an error by key.",
686
+ "privacy": "public"
687
+ },
688
+ {
689
+ "kind": "method",
690
+ "name": "has",
691
+ "return": {
692
+ "type": {
693
+ "text": ""
694
+ }
695
+ },
696
+ "parameters": [
697
+ {
698
+ "name": "key",
699
+ "type": {
700
+ "text": "keyof TErrorDetailMap"
701
+ },
702
+ "description": "The key."
703
+ }
704
+ ],
705
+ "description": "Has an error for key.",
706
+ "privacy": "public"
707
+ },
708
+ {
709
+ "kind": "method",
710
+ "name": "delete",
711
+ "return": {
712
+ "type": {
713
+ "text": ""
714
+ }
715
+ },
716
+ "parameters": [
717
+ {
718
+ "name": "key",
719
+ "type": {
720
+ "text": "keyof TErrorDetailMap"
721
+ },
722
+ "description": "The key."
723
+ }
724
+ ],
725
+ "description": "Delete an error.",
726
+ "privacy": "public"
727
+ },
728
+ {
729
+ "kind": "method",
730
+ "name": "clear",
731
+ "description": "Clear errors.",
732
+ "privacy": "public"
733
+ },
734
+ {
735
+ "kind": "field",
736
+ "name": "size",
737
+ "type": {
738
+ "text": "number"
739
+ },
740
+ "description": "The size of the error map.",
741
+ "return": {
742
+ "type": {
743
+ "text": ""
744
+ }
745
+ },
746
+ "privacy": "public",
747
+ "readonly": true
748
+ },
749
+ {
750
+ "kind": "method",
751
+ "name": "values",
752
+ "privacy": "public"
753
+ },
754
+ {
755
+ "kind": "field",
756
+ "name": "messages",
757
+ "type": {
758
+ "text": "string"
759
+ },
760
+ "description": "{@inheritDoc ErrorMap.messages}",
761
+ "readonly": true
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "kind": "function",
767
+ "name": "createErrorMap",
768
+ "return": {
769
+ "type": {
770
+ "text": ""
771
+ }
851
772
  },
852
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
773
+ "parameters": [
774
+ {
775
+ "name": "logger",
776
+ "type": {
777
+ "text": "ErrorMapLogger"
778
+ },
779
+ "description": "A logger error method reference."
780
+ }
781
+ ],
782
+ "description": "A factory to create the error map.",
853
783
  "privacy": "public"
854
784
  }
855
785
  ],
856
786
  "exports": [
857
787
  {
858
788
  "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",
789
+ "name": "DefaultErrorMap",
900
790
  "declaration": {
901
- "name": "_DEFAULT_ORGANISATION",
902
- "module": "src/env/variables.ts"
791
+ "name": "DefaultErrorMap",
792
+ "module": "src/error/errorMap.ts"
903
793
  }
904
794
  },
905
795
  {
906
796
  "kind": "js",
907
- "name": "DEFAULT_PASSWORD",
797
+ "name": "createErrorMap",
908
798
  "declaration": {
909
- "name": "_DEFAULT_PASSWORD",
910
- "module": "src/env/variables.ts"
799
+ "name": "createErrorMap",
800
+ "module": "src/error/errorMap.ts"
911
801
  }
912
- },
802
+ }
803
+ ]
804
+ },
805
+ {
806
+ "kind": "javascript-module",
807
+ "path": "src/error/index.ts",
808
+ "declarations": [],
809
+ "exports": [
913
810
  {
914
811
  "kind": "js",
915
- "name": "DEFAULT_USER",
812
+ "name": "*",
916
813
  "declaration": {
917
- "name": "_DEFAULT_USER",
918
- "module": "src/env/variables.ts"
814
+ "name": "*",
815
+ "package": "./errorMap"
919
816
  }
920
817
  }
921
818
  ]
@@ -1205,6 +1102,109 @@
1205
1102
  }
1206
1103
  ]
1207
1104
  },
1105
+ {
1106
+ "kind": "javascript-module",
1107
+ "path": "src/decorators/index.ts",
1108
+ "declarations": [],
1109
+ "exports": [
1110
+ {
1111
+ "kind": "js",
1112
+ "name": "*",
1113
+ "declaration": {
1114
+ "name": "*",
1115
+ "package": "./renderOnChange"
1116
+ }
1117
+ }
1118
+ ]
1119
+ },
1120
+ {
1121
+ "kind": "javascript-module",
1122
+ "path": "src/decorators/renderOnChange.ts",
1123
+ "declarations": [
1124
+ {
1125
+ "kind": "function",
1126
+ "name": "renderOnChange",
1127
+ "parameters": [
1128
+ {
1129
+ "name": "target",
1130
+ "type": {
1131
+ "text": "FASTElement & { render(): void }"
1132
+ },
1133
+ "description": "The target to define the property change handler on."
1134
+ },
1135
+ {
1136
+ "name": "name",
1137
+ "type": {
1138
+ "text": "string"
1139
+ },
1140
+ "description": "The property name."
1141
+ }
1142
+ ],
1143
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1144
+ "privacy": "public"
1145
+ }
1146
+ ],
1147
+ "exports": [
1148
+ {
1149
+ "kind": "js",
1150
+ "name": "renderOnChange",
1151
+ "declaration": {
1152
+ "name": "renderOnChange",
1153
+ "module": "src/decorators/renderOnChange.ts"
1154
+ }
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "javascript-module",
1160
+ "path": "src/design-system/design-system.ts",
1161
+ "declarations": [
1162
+ {
1163
+ "kind": "function",
1164
+ "name": "assureDesignSystem",
1165
+ "return": {
1166
+ "type": {
1167
+ "text": "DesignSystemModule"
1168
+ }
1169
+ },
1170
+ "parameters": [
1171
+ {
1172
+ "name": "module",
1173
+ "type": {
1174
+ "text": "DesignSystemModule"
1175
+ }
1176
+ }
1177
+ ],
1178
+ "description": "assureDesignSystem.",
1179
+ "privacy": "public"
1180
+ }
1181
+ ],
1182
+ "exports": [
1183
+ {
1184
+ "kind": "js",
1185
+ "name": "assureDesignSystem",
1186
+ "declaration": {
1187
+ "name": "assureDesignSystem",
1188
+ "module": "src/design-system/design-system.ts"
1189
+ }
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ "kind": "javascript-module",
1195
+ "path": "src/design-system/index.ts",
1196
+ "declarations": [],
1197
+ "exports": [
1198
+ {
1199
+ "kind": "js",
1200
+ "name": "*",
1201
+ "declaration": {
1202
+ "name": "*",
1203
+ "package": "./design-system"
1204
+ }
1205
+ }
1206
+ ]
1207
+ },
1208
1208
  {
1209
1209
  "kind": "javascript-module",
1210
1210
  "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.199.0",
4
+ "version": "14.199.1",
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.199.0",
31
- "@genesislcap/genx": "14.199.0",
32
- "@genesislcap/rollup-builder": "14.199.0",
33
- "@genesislcap/ts-builder": "14.199.0",
34
- "@genesislcap/uvu-playwright-builder": "14.199.0",
35
- "@genesislcap/vite-builder": "14.199.0",
36
- "@genesislcap/webpack-builder": "14.199.0",
30
+ "@genesislcap/foundation-testing": "14.199.1",
31
+ "@genesislcap/genx": "14.199.1",
32
+ "@genesislcap/rollup-builder": "14.199.1",
33
+ "@genesislcap/ts-builder": "14.199.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.199.1",
35
+ "@genesislcap/vite-builder": "14.199.1",
36
+ "@genesislcap/webpack-builder": "14.199.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.199.0",
40
+ "@genesislcap/foundation-logger": "14.199.1",
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": "efb90b8b6be4bdfe0939d808ba982df570c4c498"
58
+ "gitHead": "c223da3be9e0cbd95235900d837106d45b7feee8"
59
59
  }