@genesislcap/foundation-utils 14.197.1 → 14.198.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 +252 -252
  2. package/package.json +10 -10
@@ -407,6 +407,59 @@
407
407
  }
408
408
  ]
409
409
  },
410
+ {
411
+ "kind": "javascript-module",
412
+ "path": "src/decorators/index.ts",
413
+ "declarations": [],
414
+ "exports": [
415
+ {
416
+ "kind": "js",
417
+ "name": "*",
418
+ "declaration": {
419
+ "name": "*",
420
+ "package": "./renderOnChange"
421
+ }
422
+ }
423
+ ]
424
+ },
425
+ {
426
+ "kind": "javascript-module",
427
+ "path": "src/decorators/renderOnChange.ts",
428
+ "declarations": [
429
+ {
430
+ "kind": "function",
431
+ "name": "renderOnChange",
432
+ "parameters": [
433
+ {
434
+ "name": "target",
435
+ "type": {
436
+ "text": "FASTElement & { render(): void }"
437
+ },
438
+ "description": "The target to define the property change handler on."
439
+ },
440
+ {
441
+ "name": "name",
442
+ "type": {
443
+ "text": "string"
444
+ },
445
+ "description": "The property name."
446
+ }
447
+ ],
448
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
449
+ "privacy": "public"
450
+ }
451
+ ],
452
+ "exports": [
453
+ {
454
+ "kind": "js",
455
+ "name": "renderOnChange",
456
+ "declaration": {
457
+ "name": "renderOnChange",
458
+ "module": "src/decorators/renderOnChange.ts"
459
+ }
460
+ }
461
+ ]
462
+ },
410
463
  {
411
464
  "kind": "javascript-module",
412
465
  "path": "src/directives/index.ts",
@@ -430,6 +483,205 @@
430
483
  }
431
484
  ]
432
485
  },
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
+ },
433
685
  {
434
686
  "kind": "javascript-module",
435
687
  "path": "src/env/index.ts",
@@ -668,258 +920,6 @@
668
920
  }
669
921
  ]
670
922
  },
671
- {
672
- "kind": "javascript-module",
673
- "path": "src/decorators/index.ts",
674
- "declarations": [],
675
- "exports": [
676
- {
677
- "kind": "js",
678
- "name": "*",
679
- "declaration": {
680
- "name": "*",
681
- "package": "./renderOnChange"
682
- }
683
- }
684
- ]
685
- },
686
- {
687
- "kind": "javascript-module",
688
- "path": "src/decorators/renderOnChange.ts",
689
- "declarations": [
690
- {
691
- "kind": "function",
692
- "name": "renderOnChange",
693
- "parameters": [
694
- {
695
- "name": "target",
696
- "type": {
697
- "text": "FASTElement & { render(): void }"
698
- },
699
- "description": "The target to define the property change handler on."
700
- },
701
- {
702
- "name": "name",
703
- "type": {
704
- "text": "string"
705
- },
706
- "description": "The property name."
707
- }
708
- ],
709
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
710
- "privacy": "public"
711
- }
712
- ],
713
- "exports": [
714
- {
715
- "kind": "js",
716
- "name": "renderOnChange",
717
- "declaration": {
718
- "name": "renderOnChange",
719
- "module": "src/decorators/renderOnChange.ts"
720
- }
721
- }
722
- ]
723
- },
724
- {
725
- "kind": "javascript-module",
726
- "path": "src/error/errorMap.ts",
727
- "declarations": [
728
- {
729
- "kind": "class",
730
- "description": "",
731
- "name": "DefaultErrorMap",
732
- "members": [
733
- {
734
- "kind": "field",
735
- "name": "map",
736
- "privacy": "private",
737
- "default": "new Map<keyof TErrorDetailMap, Error>()"
738
- },
739
- {
740
- "kind": "field",
741
- "name": "lastError",
742
- "type": {
743
- "text": "Error"
744
- },
745
- "description": "{@inheritDoc ErrorMap.lastError}"
746
- },
747
- {
748
- "kind": "method",
749
- "name": "set",
750
- "return": {
751
- "type": {
752
- "text": "void"
753
- }
754
- },
755
- "parameters": [
756
- {
757
- "name": "key",
758
- "type": {
759
- "text": "keyof TErrorDetailMap"
760
- }
761
- },
762
- {
763
- "name": "error",
764
- "type": {
765
- "text": "Error"
766
- }
767
- }
768
- ],
769
- "description": "{@inheritDoc ErrorMap.set}"
770
- },
771
- {
772
- "kind": "method",
773
- "name": "get",
774
- "return": {
775
- "type": {
776
- "text": ""
777
- }
778
- },
779
- "parameters": [
780
- {
781
- "name": "key",
782
- "type": {
783
- "text": "keyof TErrorDetailMap"
784
- },
785
- "description": "The key."
786
- }
787
- ],
788
- "description": "Get an error by key.",
789
- "privacy": "public"
790
- },
791
- {
792
- "kind": "method",
793
- "name": "has",
794
- "return": {
795
- "type": {
796
- "text": ""
797
- }
798
- },
799
- "parameters": [
800
- {
801
- "name": "key",
802
- "type": {
803
- "text": "keyof TErrorDetailMap"
804
- },
805
- "description": "The key."
806
- }
807
- ],
808
- "description": "Has an error for key.",
809
- "privacy": "public"
810
- },
811
- {
812
- "kind": "method",
813
- "name": "delete",
814
- "return": {
815
- "type": {
816
- "text": ""
817
- }
818
- },
819
- "parameters": [
820
- {
821
- "name": "key",
822
- "type": {
823
- "text": "keyof TErrorDetailMap"
824
- },
825
- "description": "The key."
826
- }
827
- ],
828
- "description": "Delete an error.",
829
- "privacy": "public"
830
- },
831
- {
832
- "kind": "method",
833
- "name": "clear",
834
- "description": "Clear errors.",
835
- "privacy": "public"
836
- },
837
- {
838
- "kind": "field",
839
- "name": "size",
840
- "type": {
841
- "text": "number"
842
- },
843
- "description": "The size of the error map.",
844
- "return": {
845
- "type": {
846
- "text": ""
847
- }
848
- },
849
- "privacy": "public",
850
- "readonly": true
851
- },
852
- {
853
- "kind": "method",
854
- "name": "values",
855
- "privacy": "public"
856
- },
857
- {
858
- "kind": "field",
859
- "name": "messages",
860
- "type": {
861
- "text": "string"
862
- },
863
- "description": "{@inheritDoc ErrorMap.messages}",
864
- "readonly": true
865
- }
866
- ]
867
- },
868
- {
869
- "kind": "function",
870
- "name": "createErrorMap",
871
- "return": {
872
- "type": {
873
- "text": ""
874
- }
875
- },
876
- "parameters": [
877
- {
878
- "name": "logger",
879
- "type": {
880
- "text": "ErrorMapLogger"
881
- },
882
- "description": "A logger error method reference."
883
- }
884
- ],
885
- "description": "A factory to create the error map.",
886
- "privacy": "public"
887
- }
888
- ],
889
- "exports": [
890
- {
891
- "kind": "js",
892
- "name": "DefaultErrorMap",
893
- "declaration": {
894
- "name": "DefaultErrorMap",
895
- "module": "src/error/errorMap.ts"
896
- }
897
- },
898
- {
899
- "kind": "js",
900
- "name": "createErrorMap",
901
- "declaration": {
902
- "name": "createErrorMap",
903
- "module": "src/error/errorMap.ts"
904
- }
905
- }
906
- ]
907
- },
908
- {
909
- "kind": "javascript-module",
910
- "path": "src/error/index.ts",
911
- "declarations": [],
912
- "exports": [
913
- {
914
- "kind": "js",
915
- "name": "*",
916
- "declaration": {
917
- "name": "*",
918
- "package": "./errorMap"
919
- }
920
- }
921
- ]
922
- },
923
923
  {
924
924
  "kind": "javascript-module",
925
925
  "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.197.1",
4
+ "version": "14.198.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.197.1",
31
- "@genesislcap/genx": "14.197.1",
32
- "@genesislcap/rollup-builder": "14.197.1",
33
- "@genesislcap/ts-builder": "14.197.1",
34
- "@genesislcap/uvu-playwright-builder": "14.197.1",
35
- "@genesislcap/vite-builder": "14.197.1",
36
- "@genesislcap/webpack-builder": "14.197.1",
30
+ "@genesislcap/foundation-testing": "14.198.0",
31
+ "@genesislcap/genx": "14.198.0",
32
+ "@genesislcap/rollup-builder": "14.198.0",
33
+ "@genesislcap/ts-builder": "14.198.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.198.0",
35
+ "@genesislcap/vite-builder": "14.198.0",
36
+ "@genesislcap/webpack-builder": "14.198.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.197.1",
40
+ "@genesislcap/foundation-logger": "14.198.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": "1da096e68875cde07e1c683bc75d6676b48d8093"
58
+ "gitHead": "8d2006b1960c1d59640357a6cf0f42341b13cb00"
59
59
  }