@genesislcap/foundation-utils 14.208.3 → 14.208.4-alpha-06fcac4.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 +240 -240
  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",
@@ -367,7 +420,7 @@
367
420
  },
368
421
  {
369
422
  "kind": "javascript-module",
370
- "path": "src/decorators/index.ts",
423
+ "path": "src/directives/index.ts",
371
424
  "declarations": [],
372
425
  "exports": [
373
426
  {
@@ -375,52 +428,57 @@
375
428
  "name": "*",
376
429
  "declaration": {
377
430
  "name": "*",
378
- "package": "./renderOnChange"
431
+ "package": "./sync"
432
+ }
433
+ },
434
+ {
435
+ "kind": "js",
436
+ "name": "*",
437
+ "declaration": {
438
+ "name": "*",
439
+ "package": "./when-else"
379
440
  }
380
441
  }
381
442
  ]
382
443
  },
383
444
  {
384
445
  "kind": "javascript-module",
385
- "path": "src/decorators/renderOnChange.ts",
446
+ "path": "src/design-system/design-system.ts",
386
447
  "declarations": [
387
448
  {
388
449
  "kind": "function",
389
- "name": "renderOnChange",
450
+ "name": "assureDesignSystem",
451
+ "return": {
452
+ "type": {
453
+ "text": "DesignSystemModule"
454
+ }
455
+ },
390
456
  "parameters": [
391
457
  {
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",
458
+ "name": "module",
400
459
  "type": {
401
- "text": "string"
402
- },
403
- "description": "The property name."
460
+ "text": "DesignSystemModule"
461
+ }
404
462
  }
405
463
  ],
406
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
464
+ "description": "assureDesignSystem.",
407
465
  "privacy": "public"
408
466
  }
409
467
  ],
410
468
  "exports": [
411
469
  {
412
470
  "kind": "js",
413
- "name": "renderOnChange",
471
+ "name": "assureDesignSystem",
414
472
  "declaration": {
415
- "name": "renderOnChange",
416
- "module": "src/decorators/renderOnChange.ts"
473
+ "name": "assureDesignSystem",
474
+ "module": "src/design-system/design-system.ts"
417
475
  }
418
476
  }
419
477
  ]
420
478
  },
421
479
  {
422
480
  "kind": "javascript-module",
423
- "path": "src/directives/index.ts",
481
+ "path": "src/design-system/index.ts",
424
482
  "declarations": [],
425
483
  "exports": [
426
484
  {
@@ -428,57 +486,198 @@
428
486
  "name": "*",
429
487
  "declaration": {
430
488
  "name": "*",
431
- "package": "./sync"
432
- }
433
- },
434
- {
435
- "kind": "js",
436
- "name": "*",
437
- "declaration": {
438
- "name": "*",
439
- "package": "./when-else"
489
+ "package": "./design-system"
440
490
  }
441
491
  }
442
492
  ]
443
493
  },
444
494
  {
445
495
  "kind": "javascript-module",
446
- "path": "src/design-system/design-system.ts",
496
+ "path": "src/error/errorMap.ts",
447
497
  "declarations": [
498
+ {
499
+ "kind": "class",
500
+ "description": "",
501
+ "name": "DefaultErrorMap",
502
+ "members": [
503
+ {
504
+ "kind": "field",
505
+ "name": "map",
506
+ "privacy": "private",
507
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
508
+ },
509
+ {
510
+ "kind": "field",
511
+ "name": "lastError",
512
+ "type": {
513
+ "text": "Error"
514
+ },
515
+ "description": "{@inheritDoc ErrorMap.lastError}"
516
+ },
517
+ {
518
+ "kind": "method",
519
+ "name": "set",
520
+ "return": {
521
+ "type": {
522
+ "text": "void"
523
+ }
524
+ },
525
+ "parameters": [
526
+ {
527
+ "name": "key",
528
+ "type": {
529
+ "text": "keyof TErrorDetailMap"
530
+ }
531
+ },
532
+ {
533
+ "name": "error",
534
+ "type": {
535
+ "text": "Error"
536
+ }
537
+ }
538
+ ],
539
+ "description": "{@inheritDoc ErrorMap.set}"
540
+ },
541
+ {
542
+ "kind": "method",
543
+ "name": "get",
544
+ "return": {
545
+ "type": {
546
+ "text": ""
547
+ }
548
+ },
549
+ "parameters": [
550
+ {
551
+ "name": "key",
552
+ "type": {
553
+ "text": "keyof TErrorDetailMap"
554
+ },
555
+ "description": "The key."
556
+ }
557
+ ],
558
+ "description": "Get an error by key.",
559
+ "privacy": "public"
560
+ },
561
+ {
562
+ "kind": "method",
563
+ "name": "has",
564
+ "return": {
565
+ "type": {
566
+ "text": ""
567
+ }
568
+ },
569
+ "parameters": [
570
+ {
571
+ "name": "key",
572
+ "type": {
573
+ "text": "keyof TErrorDetailMap"
574
+ },
575
+ "description": "The key."
576
+ }
577
+ ],
578
+ "description": "Has an error for key.",
579
+ "privacy": "public"
580
+ },
581
+ {
582
+ "kind": "method",
583
+ "name": "delete",
584
+ "return": {
585
+ "type": {
586
+ "text": ""
587
+ }
588
+ },
589
+ "parameters": [
590
+ {
591
+ "name": "key",
592
+ "type": {
593
+ "text": "keyof TErrorDetailMap"
594
+ },
595
+ "description": "The key."
596
+ }
597
+ ],
598
+ "description": "Delete an error.",
599
+ "privacy": "public"
600
+ },
601
+ {
602
+ "kind": "method",
603
+ "name": "clear",
604
+ "description": "Clear errors.",
605
+ "privacy": "public"
606
+ },
607
+ {
608
+ "kind": "field",
609
+ "name": "size",
610
+ "type": {
611
+ "text": "number"
612
+ },
613
+ "description": "The size of the error map.",
614
+ "return": {
615
+ "type": {
616
+ "text": ""
617
+ }
618
+ },
619
+ "privacy": "public",
620
+ "readonly": true
621
+ },
622
+ {
623
+ "kind": "method",
624
+ "name": "values",
625
+ "privacy": "public"
626
+ },
627
+ {
628
+ "kind": "field",
629
+ "name": "messages",
630
+ "type": {
631
+ "text": "string"
632
+ },
633
+ "description": "{@inheritDoc ErrorMap.messages}",
634
+ "readonly": true
635
+ }
636
+ ]
637
+ },
448
638
  {
449
639
  "kind": "function",
450
- "name": "assureDesignSystem",
640
+ "name": "createErrorMap",
451
641
  "return": {
452
642
  "type": {
453
- "text": "DesignSystemModule"
643
+ "text": ""
454
644
  }
455
645
  },
456
646
  "parameters": [
457
647
  {
458
- "name": "module",
648
+ "name": "logger",
459
649
  "type": {
460
- "text": "DesignSystemModule"
461
- }
650
+ "text": "ErrorMapLogger"
651
+ },
652
+ "description": "A logger error method reference."
462
653
  }
463
654
  ],
464
- "description": "assureDesignSystem.",
655
+ "description": "A factory to create the error map.",
465
656
  "privacy": "public"
466
657
  }
467
658
  ],
468
659
  "exports": [
469
660
  {
470
661
  "kind": "js",
471
- "name": "assureDesignSystem",
662
+ "name": "DefaultErrorMap",
472
663
  "declaration": {
473
- "name": "assureDesignSystem",
474
- "module": "src/design-system/design-system.ts"
664
+ "name": "DefaultErrorMap",
665
+ "module": "src/error/errorMap.ts"
666
+ }
667
+ },
668
+ {
669
+ "kind": "js",
670
+ "name": "createErrorMap",
671
+ "declaration": {
672
+ "name": "createErrorMap",
673
+ "module": "src/error/errorMap.ts"
475
674
  }
476
675
  }
477
676
  ]
478
677
  },
479
678
  {
480
679
  "kind": "javascript-module",
481
- "path": "src/design-system/index.ts",
680
+ "path": "src/error/index.ts",
482
681
  "declarations": [],
483
682
  "exports": [
484
683
  {
@@ -486,7 +685,7 @@
486
685
  "name": "*",
487
686
  "declaration": {
488
687
  "name": "*",
489
- "package": "./design-system"
688
+ "package": "./errorMap"
490
689
  }
491
690
  }
492
691
  ]
@@ -729,205 +928,6 @@
729
928
  }
730
929
  ]
731
930
  },
732
- {
733
- "kind": "javascript-module",
734
- "path": "src/error/errorMap.ts",
735
- "declarations": [
736
- {
737
- "kind": "class",
738
- "description": "",
739
- "name": "DefaultErrorMap",
740
- "members": [
741
- {
742
- "kind": "field",
743
- "name": "map",
744
- "privacy": "private",
745
- "default": "new Map<keyof TErrorDetailMap, Error>()"
746
- },
747
- {
748
- "kind": "field",
749
- "name": "lastError",
750
- "type": {
751
- "text": "Error"
752
- },
753
- "description": "{@inheritDoc ErrorMap.lastError}"
754
- },
755
- {
756
- "kind": "method",
757
- "name": "set",
758
- "return": {
759
- "type": {
760
- "text": "void"
761
- }
762
- },
763
- "parameters": [
764
- {
765
- "name": "key",
766
- "type": {
767
- "text": "keyof TErrorDetailMap"
768
- }
769
- },
770
- {
771
- "name": "error",
772
- "type": {
773
- "text": "Error"
774
- }
775
- }
776
- ],
777
- "description": "{@inheritDoc ErrorMap.set}"
778
- },
779
- {
780
- "kind": "method",
781
- "name": "get",
782
- "return": {
783
- "type": {
784
- "text": ""
785
- }
786
- },
787
- "parameters": [
788
- {
789
- "name": "key",
790
- "type": {
791
- "text": "keyof TErrorDetailMap"
792
- },
793
- "description": "The key."
794
- }
795
- ],
796
- "description": "Get an error by key.",
797
- "privacy": "public"
798
- },
799
- {
800
- "kind": "method",
801
- "name": "has",
802
- "return": {
803
- "type": {
804
- "text": ""
805
- }
806
- },
807
- "parameters": [
808
- {
809
- "name": "key",
810
- "type": {
811
- "text": "keyof TErrorDetailMap"
812
- },
813
- "description": "The key."
814
- }
815
- ],
816
- "description": "Has an error for key.",
817
- "privacy": "public"
818
- },
819
- {
820
- "kind": "method",
821
- "name": "delete",
822
- "return": {
823
- "type": {
824
- "text": ""
825
- }
826
- },
827
- "parameters": [
828
- {
829
- "name": "key",
830
- "type": {
831
- "text": "keyof TErrorDetailMap"
832
- },
833
- "description": "The key."
834
- }
835
- ],
836
- "description": "Delete an error.",
837
- "privacy": "public"
838
- },
839
- {
840
- "kind": "method",
841
- "name": "clear",
842
- "description": "Clear errors.",
843
- "privacy": "public"
844
- },
845
- {
846
- "kind": "field",
847
- "name": "size",
848
- "type": {
849
- "text": "number"
850
- },
851
- "description": "The size of the error map.",
852
- "return": {
853
- "type": {
854
- "text": ""
855
- }
856
- },
857
- "privacy": "public",
858
- "readonly": true
859
- },
860
- {
861
- "kind": "method",
862
- "name": "values",
863
- "privacy": "public"
864
- },
865
- {
866
- "kind": "field",
867
- "name": "messages",
868
- "type": {
869
- "text": "string"
870
- },
871
- "description": "{@inheritDoc ErrorMap.messages}",
872
- "readonly": true
873
- }
874
- ]
875
- },
876
- {
877
- "kind": "function",
878
- "name": "createErrorMap",
879
- "return": {
880
- "type": {
881
- "text": ""
882
- }
883
- },
884
- "parameters": [
885
- {
886
- "name": "logger",
887
- "type": {
888
- "text": "ErrorMapLogger"
889
- },
890
- "description": "A logger error method reference."
891
- }
892
- ],
893
- "description": "A factory to create the error map.",
894
- "privacy": "public"
895
- }
896
- ],
897
- "exports": [
898
- {
899
- "kind": "js",
900
- "name": "DefaultErrorMap",
901
- "declaration": {
902
- "name": "DefaultErrorMap",
903
- "module": "src/error/errorMap.ts"
904
- }
905
- },
906
- {
907
- "kind": "js",
908
- "name": "createErrorMap",
909
- "declaration": {
910
- "name": "createErrorMap",
911
- "module": "src/error/errorMap.ts"
912
- }
913
- }
914
- ]
915
- },
916
- {
917
- "kind": "javascript-module",
918
- "path": "src/error/index.ts",
919
- "declarations": [],
920
- "exports": [
921
- {
922
- "kind": "js",
923
- "name": "*",
924
- "declaration": {
925
- "name": "*",
926
- "package": "./errorMap"
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.208.3",
4
+ "version": "14.208.4-alpha-06fcac4.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.208.3",
31
- "@genesislcap/genx": "14.208.3",
32
- "@genesislcap/rollup-builder": "14.208.3",
33
- "@genesislcap/ts-builder": "14.208.3",
34
- "@genesislcap/uvu-playwright-builder": "14.208.3",
35
- "@genesislcap/vite-builder": "14.208.3",
36
- "@genesislcap/webpack-builder": "14.208.3",
30
+ "@genesislcap/foundation-testing": "14.208.4-alpha-06fcac4.0",
31
+ "@genesislcap/genx": "14.208.4-alpha-06fcac4.0",
32
+ "@genesislcap/rollup-builder": "14.208.4-alpha-06fcac4.0",
33
+ "@genesislcap/ts-builder": "14.208.4-alpha-06fcac4.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.208.4-alpha-06fcac4.0",
35
+ "@genesislcap/vite-builder": "14.208.4-alpha-06fcac4.0",
36
+ "@genesislcap/webpack-builder": "14.208.4-alpha-06fcac4.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.208.3",
40
+ "@genesislcap/foundation-logger": "14.208.4-alpha-06fcac4.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": "9a3b2919d34357d89791809bcf7ac11e4f23b75b"
58
+ "gitHead": "323cc2168ea53fd336262f28ad330147c42e2240"
59
59
  }