@genesislcap/foundation-utils 14.200.1-alpha-eb310c6.0 → 14.200.1-alpha-e974201.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,59 +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
360
  {
414
361
  "kind": "javascript-module",
415
362
  "path": "src/design-system/design-system.ts",
@@ -462,7 +409,7 @@
462
409
  },
463
410
  {
464
411
  "kind": "javascript-module",
465
- "path": "src/directives/index.ts",
412
+ "path": "src/decorators/index.ts",
466
413
  "declarations": [],
467
414
  "exports": [
468
415
  {
@@ -470,206 +417,52 @@
470
417
  "name": "*",
471
418
  "declaration": {
472
419
  "name": "*",
473
- "package": "./sync"
474
- }
475
- },
476
- {
477
- "kind": "js",
478
- "name": "*",
479
- "declaration": {
480
- "name": "*",
481
- "package": "./when-else"
420
+ "package": "./renderOnChange"
482
421
  }
483
422
  }
484
423
  ]
485
424
  },
486
425
  {
487
426
  "kind": "javascript-module",
488
- "path": "src/error/errorMap.ts",
427
+ "path": "src/decorators/renderOnChange.ts",
489
428
  "declarations": [
490
429
  {
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
- },
430
+ "kind": "function",
431
+ "name": "renderOnChange",
432
+ "parameters": [
599
433
  {
600
- "kind": "field",
601
- "name": "size",
434
+ "name": "target",
602
435
  "type": {
603
- "text": "number"
604
- },
605
- "description": "The size of the error map.",
606
- "return": {
607
- "type": {
608
- "text": ""
609
- }
436
+ "text": "FASTElement & { render(): void }"
610
437
  },
611
- "privacy": "public",
612
- "readonly": true
613
- },
614
- {
615
- "kind": "method",
616
- "name": "values",
617
- "privacy": "public"
438
+ "description": "The target to define the property change handler on."
618
439
  },
619
440
  {
620
- "kind": "field",
621
- "name": "messages",
441
+ "name": "name",
622
442
  "type": {
623
443
  "text": "string"
624
444
  },
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."
445
+ "description": "The property name."
645
446
  }
646
447
  ],
647
- "description": "A factory to create the error map.",
448
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
648
449
  "privacy": "public"
649
450
  }
650
451
  ],
651
452
  "exports": [
652
453
  {
653
454
  "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",
455
+ "name": "renderOnChange",
663
456
  "declaration": {
664
- "name": "createErrorMap",
665
- "module": "src/error/errorMap.ts"
457
+ "name": "renderOnChange",
458
+ "module": "src/decorators/renderOnChange.ts"
666
459
  }
667
460
  }
668
461
  ]
669
462
  },
670
463
  {
671
464
  "kind": "javascript-module",
672
- "path": "src/error/index.ts",
465
+ "path": "src/directives/index.ts",
673
466
  "declarations": [],
674
467
  "exports": [
675
468
  {
@@ -677,7 +470,15 @@
677
470
  "name": "*",
678
471
  "declaration": {
679
472
  "name": "*",
680
- "package": "./errorMap"
473
+ "package": "./sync"
474
+ }
475
+ },
476
+ {
477
+ "kind": "js",
478
+ "name": "*",
479
+ "declaration": {
480
+ "name": "*",
481
+ "package": "./when-else"
681
482
  }
682
483
  }
683
484
  ]
@@ -920,6 +721,205 @@
920
721
  }
921
722
  ]
922
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.200.1-alpha-eb310c6.0",
4
+ "version": "14.200.1-alpha-e974201.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.200.1-alpha-eb310c6.0",
31
- "@genesislcap/genx": "14.200.1-alpha-eb310c6.0",
32
- "@genesislcap/rollup-builder": "14.200.1-alpha-eb310c6.0",
33
- "@genesislcap/ts-builder": "14.200.1-alpha-eb310c6.0",
34
- "@genesislcap/uvu-playwright-builder": "14.200.1-alpha-eb310c6.0",
35
- "@genesislcap/vite-builder": "14.200.1-alpha-eb310c6.0",
36
- "@genesislcap/webpack-builder": "14.200.1-alpha-eb310c6.0",
30
+ "@genesislcap/foundation-testing": "14.200.1-alpha-e974201.0",
31
+ "@genesislcap/genx": "14.200.1-alpha-e974201.0",
32
+ "@genesislcap/rollup-builder": "14.200.1-alpha-e974201.0",
33
+ "@genesislcap/ts-builder": "14.200.1-alpha-e974201.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.200.1-alpha-e974201.0",
35
+ "@genesislcap/vite-builder": "14.200.1-alpha-e974201.0",
36
+ "@genesislcap/webpack-builder": "14.200.1-alpha-e974201.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.200.1-alpha-eb310c6.0",
40
+ "@genesislcap/foundation-logger": "14.200.1-alpha-e974201.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": "2ec2f6c53709c6491c90111a63134850ca722abd"
58
+ "gitHead": "a42390bcae28079e43be4926f54c6504e42ba8b7"
59
59
  }