@genesislcap/foundation-utils 14.220.0 → 14.222.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 +241 -241
  2. package/package.json +10 -10
@@ -390,7 +390,42 @@
390
390
  },
391
391
  {
392
392
  "kind": "javascript-module",
393
- "path": "src/decorators/index.ts",
393
+ "path": "src/design-system/design-system.ts",
394
+ "declarations": [
395
+ {
396
+ "kind": "function",
397
+ "name": "assureDesignSystem",
398
+ "return": {
399
+ "type": {
400
+ "text": "DesignSystemModule"
401
+ }
402
+ },
403
+ "parameters": [
404
+ {
405
+ "name": "module",
406
+ "type": {
407
+ "text": "DesignSystemModule"
408
+ }
409
+ }
410
+ ],
411
+ "description": "assureDesignSystem.",
412
+ "privacy": "public"
413
+ }
414
+ ],
415
+ "exports": [
416
+ {
417
+ "kind": "js",
418
+ "name": "assureDesignSystem",
419
+ "declaration": {
420
+ "name": "assureDesignSystem",
421
+ "module": "src/design-system/design-system.ts"
422
+ }
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "kind": "javascript-module",
428
+ "path": "src/design-system/index.ts",
394
429
  "declarations": [],
395
430
  "exports": [
396
431
  {
@@ -398,87 +433,198 @@
398
433
  "name": "*",
399
434
  "declaration": {
400
435
  "name": "*",
401
- "package": "./renderOnChange"
436
+ "package": "./design-system"
402
437
  }
403
438
  }
404
439
  ]
405
440
  },
406
441
  {
407
442
  "kind": "javascript-module",
408
- "path": "src/decorators/renderOnChange.ts",
443
+ "path": "src/error/errorMap.ts",
409
444
  "declarations": [
410
445
  {
411
- "kind": "function",
412
- "name": "renderOnChange",
413
- "parameters": [
446
+ "kind": "class",
447
+ "description": "",
448
+ "name": "DefaultErrorMap",
449
+ "members": [
414
450
  {
415
- "name": "target",
451
+ "kind": "field",
452
+ "name": "map",
453
+ "privacy": "private",
454
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
455
+ },
456
+ {
457
+ "kind": "field",
458
+ "name": "lastError",
416
459
  "type": {
417
- "text": "FASTElement & { render(): void }"
460
+ "text": "Error"
418
461
  },
419
- "description": "The target to define the property change handler on."
462
+ "description": "{@inheritDoc ErrorMap.lastError}"
420
463
  },
421
464
  {
422
- "name": "name",
465
+ "kind": "method",
466
+ "name": "set",
467
+ "return": {
468
+ "type": {
469
+ "text": "void"
470
+ }
471
+ },
472
+ "parameters": [
473
+ {
474
+ "name": "key",
475
+ "type": {
476
+ "text": "keyof TErrorDetailMap"
477
+ }
478
+ },
479
+ {
480
+ "name": "error",
481
+ "type": {
482
+ "text": "Error"
483
+ }
484
+ }
485
+ ],
486
+ "description": "{@inheritDoc ErrorMap.set}"
487
+ },
488
+ {
489
+ "kind": "method",
490
+ "name": "get",
491
+ "return": {
492
+ "type": {
493
+ "text": ""
494
+ }
495
+ },
496
+ "parameters": [
497
+ {
498
+ "name": "key",
499
+ "type": {
500
+ "text": "keyof TErrorDetailMap"
501
+ },
502
+ "description": "The key."
503
+ }
504
+ ],
505
+ "description": "Get an error by key.",
506
+ "privacy": "public"
507
+ },
508
+ {
509
+ "kind": "method",
510
+ "name": "has",
511
+ "return": {
512
+ "type": {
513
+ "text": ""
514
+ }
515
+ },
516
+ "parameters": [
517
+ {
518
+ "name": "key",
519
+ "type": {
520
+ "text": "keyof TErrorDetailMap"
521
+ },
522
+ "description": "The key."
523
+ }
524
+ ],
525
+ "description": "Has an error for key.",
526
+ "privacy": "public"
527
+ },
528
+ {
529
+ "kind": "method",
530
+ "name": "delete",
531
+ "return": {
532
+ "type": {
533
+ "text": ""
534
+ }
535
+ },
536
+ "parameters": [
537
+ {
538
+ "name": "key",
539
+ "type": {
540
+ "text": "keyof TErrorDetailMap"
541
+ },
542
+ "description": "The key."
543
+ }
544
+ ],
545
+ "description": "Delete an error.",
546
+ "privacy": "public"
547
+ },
548
+ {
549
+ "kind": "method",
550
+ "name": "clear",
551
+ "description": "Clear errors.",
552
+ "privacy": "public"
553
+ },
554
+ {
555
+ "kind": "field",
556
+ "name": "size",
557
+ "type": {
558
+ "text": "number"
559
+ },
560
+ "description": "The size of the error map.",
561
+ "return": {
562
+ "type": {
563
+ "text": ""
564
+ }
565
+ },
566
+ "privacy": "public",
567
+ "readonly": true
568
+ },
569
+ {
570
+ "kind": "method",
571
+ "name": "values",
572
+ "privacy": "public"
573
+ },
574
+ {
575
+ "kind": "field",
576
+ "name": "messages",
423
577
  "type": {
424
578
  "text": "string"
425
579
  },
426
- "description": "The property name."
580
+ "description": "{@inheritDoc ErrorMap.messages}",
581
+ "readonly": true
427
582
  }
428
- ],
429
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
430
- "privacy": "public"
431
- }
432
- ],
433
- "exports": [
434
- {
435
- "kind": "js",
436
- "name": "renderOnChange",
437
- "declaration": {
438
- "name": "renderOnChange",
439
- "module": "src/decorators/renderOnChange.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/design-system/design-system.ts",
447
- "declarations": [
583
+ ]
584
+ },
448
585
  {
449
586
  "kind": "function",
450
- "name": "assureDesignSystem",
587
+ "name": "createErrorMap",
451
588
  "return": {
452
589
  "type": {
453
- "text": "DesignSystemModule"
590
+ "text": ""
454
591
  }
455
592
  },
456
593
  "parameters": [
457
594
  {
458
- "name": "module",
595
+ "name": "logger",
459
596
  "type": {
460
- "text": "DesignSystemModule"
461
- }
597
+ "text": "ErrorMapLogger"
598
+ },
599
+ "description": "A logger error method reference."
462
600
  }
463
601
  ],
464
- "description": "assureDesignSystem.",
602
+ "description": "A factory to create the error map.",
465
603
  "privacy": "public"
466
604
  }
467
605
  ],
468
606
  "exports": [
469
607
  {
470
608
  "kind": "js",
471
- "name": "assureDesignSystem",
609
+ "name": "DefaultErrorMap",
472
610
  "declaration": {
473
- "name": "assureDesignSystem",
474
- "module": "src/design-system/design-system.ts"
611
+ "name": "DefaultErrorMap",
612
+ "module": "src/error/errorMap.ts"
613
+ }
614
+ },
615
+ {
616
+ "kind": "js",
617
+ "name": "createErrorMap",
618
+ "declaration": {
619
+ "name": "createErrorMap",
620
+ "module": "src/error/errorMap.ts"
475
621
  }
476
622
  }
477
623
  ]
478
624
  },
479
625
  {
480
626
  "kind": "javascript-module",
481
- "path": "src/design-system/index.ts",
627
+ "path": "src/error/index.ts",
482
628
  "declarations": [],
483
629
  "exports": [
484
630
  {
@@ -486,7 +632,60 @@
486
632
  "name": "*",
487
633
  "declaration": {
488
634
  "name": "*",
489
- "package": "./design-system"
635
+ "package": "./errorMap"
636
+ }
637
+ }
638
+ ]
639
+ },
640
+ {
641
+ "kind": "javascript-module",
642
+ "path": "src/decorators/index.ts",
643
+ "declarations": [],
644
+ "exports": [
645
+ {
646
+ "kind": "js",
647
+ "name": "*",
648
+ "declaration": {
649
+ "name": "*",
650
+ "package": "./renderOnChange"
651
+ }
652
+ }
653
+ ]
654
+ },
655
+ {
656
+ "kind": "javascript-module",
657
+ "path": "src/decorators/renderOnChange.ts",
658
+ "declarations": [
659
+ {
660
+ "kind": "function",
661
+ "name": "renderOnChange",
662
+ "parameters": [
663
+ {
664
+ "name": "target",
665
+ "type": {
666
+ "text": "FASTElement & { render(): void }"
667
+ },
668
+ "description": "The target to define the property change handler on."
669
+ },
670
+ {
671
+ "name": "name",
672
+ "type": {
673
+ "text": "string"
674
+ },
675
+ "description": "The property name."
676
+ }
677
+ ],
678
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
679
+ "privacy": "public"
680
+ }
681
+ ],
682
+ "exports": [
683
+ {
684
+ "kind": "js",
685
+ "name": "renderOnChange",
686
+ "declaration": {
687
+ "name": "renderOnChange",
688
+ "module": "src/decorators/renderOnChange.ts"
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.220.0",
4
+ "version": "14.222.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.220.0",
31
- "@genesislcap/genx": "14.220.0",
32
- "@genesislcap/rollup-builder": "14.220.0",
33
- "@genesislcap/ts-builder": "14.220.0",
34
- "@genesislcap/uvu-playwright-builder": "14.220.0",
35
- "@genesislcap/vite-builder": "14.220.0",
36
- "@genesislcap/webpack-builder": "14.220.0",
30
+ "@genesislcap/foundation-testing": "14.222.0",
31
+ "@genesislcap/genx": "14.222.0",
32
+ "@genesislcap/rollup-builder": "14.222.0",
33
+ "@genesislcap/ts-builder": "14.222.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.222.0",
35
+ "@genesislcap/vite-builder": "14.222.0",
36
+ "@genesislcap/webpack-builder": "14.222.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.220.0",
40
+ "@genesislcap/foundation-logger": "14.222.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "18dcf3cbca18cf957d0bb082cb87c8b677ffe7b6"
58
+ "gitHead": "d123c20ba58c810e8ca64c1be44d349e6db79487"
59
59
  }