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