@genesislcap/foundation-utils 14.201.0 → 14.202.1-alpha-34c59e8.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 +224 -224
  2. package/package.json +10 -10
@@ -357,6 +357,59 @@
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
+ },
360
413
  {
361
414
  "kind": "javascript-module",
362
415
  "path": "src/design-system/design-system.ts",
@@ -409,7 +462,7 @@
409
462
  },
410
463
  {
411
464
  "kind": "javascript-module",
412
- "path": "src/decorators/index.ts",
465
+ "path": "src/directives/index.ts",
413
466
  "declarations": [],
414
467
  "exports": [
415
468
  {
@@ -417,52 +470,206 @@
417
470
  "name": "*",
418
471
  "declaration": {
419
472
  "name": "*",
420
- "package": "./renderOnChange"
473
+ "package": "./sync"
474
+ }
475
+ },
476
+ {
477
+ "kind": "js",
478
+ "name": "*",
479
+ "declaration": {
480
+ "name": "*",
481
+ "package": "./when-else"
421
482
  }
422
483
  }
423
484
  ]
424
485
  },
425
486
  {
426
487
  "kind": "javascript-module",
427
- "path": "src/decorators/renderOnChange.ts",
488
+ "path": "src/error/errorMap.ts",
428
489
  "declarations": [
429
490
  {
430
- "kind": "function",
431
- "name": "renderOnChange",
432
- "parameters": [
491
+ "kind": "class",
492
+ "description": "",
493
+ "name": "DefaultErrorMap",
494
+ "members": [
433
495
  {
434
- "name": "target",
496
+ "kind": "field",
497
+ "name": "map",
498
+ "privacy": "private",
499
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
500
+ },
501
+ {
502
+ "kind": "field",
503
+ "name": "lastError",
435
504
  "type": {
436
- "text": "FASTElement & { render(): void }"
505
+ "text": "Error"
437
506
  },
438
- "description": "The target to define the property change handler on."
507
+ "description": "{@inheritDoc ErrorMap.lastError}"
439
508
  },
440
509
  {
441
- "name": "name",
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",
442
622
  "type": {
443
623
  "text": "string"
444
624
  },
445
- "description": "The property name."
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."
446
645
  }
447
646
  ],
448
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
647
+ "description": "A factory to create the error map.",
449
648
  "privacy": "public"
450
649
  }
451
650
  ],
452
651
  "exports": [
453
652
  {
454
653
  "kind": "js",
455
- "name": "renderOnChange",
654
+ "name": "DefaultErrorMap",
456
655
  "declaration": {
457
- "name": "renderOnChange",
458
- "module": "src/decorators/renderOnChange.ts"
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"
459
666
  }
460
667
  }
461
668
  ]
462
669
  },
463
670
  {
464
671
  "kind": "javascript-module",
465
- "path": "src/directives/index.ts",
672
+ "path": "src/error/index.ts",
466
673
  "declarations": [],
467
674
  "exports": [
468
675
  {
@@ -470,15 +677,7 @@
470
677
  "name": "*",
471
678
  "declaration": {
472
679
  "name": "*",
473
- "package": "./sync"
474
- }
475
- },
476
- {
477
- "kind": "js",
478
- "name": "*",
479
- "declaration": {
480
- "name": "*",
481
- "package": "./when-else"
680
+ "package": "./errorMap"
482
681
  }
483
682
  }
484
683
  ]
@@ -721,205 +920,6 @@
721
920
  }
722
921
  ]
723
922
  },
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.201.0",
4
+ "version": "14.202.1-alpha-34c59e8.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.201.0",
31
- "@genesislcap/genx": "14.201.0",
32
- "@genesislcap/rollup-builder": "14.201.0",
33
- "@genesislcap/ts-builder": "14.201.0",
34
- "@genesislcap/uvu-playwright-builder": "14.201.0",
35
- "@genesislcap/vite-builder": "14.201.0",
36
- "@genesislcap/webpack-builder": "14.201.0",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.201.0",
40
+ "@genesislcap/foundation-logger": "14.202.1-alpha-34c59e8.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": "d9585bb0f774fe0193ae3b7306e3b73a69e09f56"
58
+ "gitHead": "f8ccd0ab71ae20e61ce39f02dd1905b2676e2898"
59
59
  }