@genesislcap/foundation-utils 14.136.0 → 14.137.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.
- package/dist/custom-elements.json +199 -199
- package/package.json +5 -5
|
@@ -401,60 +401,191 @@
|
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
403
|
"kind": "javascript-module",
|
|
404
|
-
"path": "src/
|
|
405
|
-
"declarations": [],
|
|
406
|
-
"exports": [
|
|
407
|
-
{
|
|
408
|
-
"kind": "js",
|
|
409
|
-
"name": "*",
|
|
410
|
-
"declaration": {
|
|
411
|
-
"name": "*",
|
|
412
|
-
"package": "./renderOnChange"
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
]
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"kind": "javascript-module",
|
|
419
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
404
|
+
"path": "src/error/errorMap.ts",
|
|
420
405
|
"declarations": [
|
|
421
406
|
{
|
|
422
|
-
"kind": "
|
|
423
|
-
"
|
|
424
|
-
"
|
|
407
|
+
"kind": "class",
|
|
408
|
+
"description": "",
|
|
409
|
+
"name": "DefaultErrorMap",
|
|
410
|
+
"members": [
|
|
425
411
|
{
|
|
426
|
-
"
|
|
412
|
+
"kind": "field",
|
|
413
|
+
"name": "map",
|
|
414
|
+
"privacy": "private",
|
|
415
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"kind": "field",
|
|
419
|
+
"name": "lastError",
|
|
427
420
|
"type": {
|
|
428
|
-
"text": "
|
|
421
|
+
"text": "Error"
|
|
429
422
|
},
|
|
430
|
-
"description": "
|
|
423
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
431
424
|
},
|
|
432
425
|
{
|
|
433
|
-
"
|
|
426
|
+
"kind": "method",
|
|
427
|
+
"name": "set",
|
|
428
|
+
"return": {
|
|
429
|
+
"type": {
|
|
430
|
+
"text": "void"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"parameters": [
|
|
434
|
+
{
|
|
435
|
+
"name": "key",
|
|
436
|
+
"type": {
|
|
437
|
+
"text": "keyof TErrorDetailMap"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "error",
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "Error"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "method",
|
|
451
|
+
"name": "get",
|
|
452
|
+
"return": {
|
|
453
|
+
"type": {
|
|
454
|
+
"text": ""
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"parameters": [
|
|
458
|
+
{
|
|
459
|
+
"name": "key",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "keyof TErrorDetailMap"
|
|
462
|
+
},
|
|
463
|
+
"description": "The key."
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"description": "Get an error by key.",
|
|
467
|
+
"privacy": "public"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "method",
|
|
471
|
+
"name": "has",
|
|
472
|
+
"return": {
|
|
473
|
+
"type": {
|
|
474
|
+
"text": ""
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"parameters": [
|
|
478
|
+
{
|
|
479
|
+
"name": "key",
|
|
480
|
+
"type": {
|
|
481
|
+
"text": "keyof TErrorDetailMap"
|
|
482
|
+
},
|
|
483
|
+
"description": "The key."
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"description": "Has an error for key.",
|
|
487
|
+
"privacy": "public"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"kind": "method",
|
|
491
|
+
"name": "delete",
|
|
492
|
+
"return": {
|
|
493
|
+
"type": {
|
|
494
|
+
"text": ""
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"parameters": [
|
|
498
|
+
{
|
|
499
|
+
"name": "key",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "keyof TErrorDetailMap"
|
|
502
|
+
},
|
|
503
|
+
"description": "The key."
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"description": "Delete an error.",
|
|
507
|
+
"privacy": "public"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"kind": "method",
|
|
511
|
+
"name": "clear",
|
|
512
|
+
"description": "Clear errors.",
|
|
513
|
+
"privacy": "public"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"kind": "field",
|
|
517
|
+
"name": "size",
|
|
518
|
+
"type": {
|
|
519
|
+
"text": "number"
|
|
520
|
+
},
|
|
521
|
+
"description": "The size of the error map.",
|
|
522
|
+
"return": {
|
|
523
|
+
"type": {
|
|
524
|
+
"text": ""
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"privacy": "public",
|
|
528
|
+
"readonly": true
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"kind": "method",
|
|
532
|
+
"name": "values",
|
|
533
|
+
"privacy": "public"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"kind": "field",
|
|
537
|
+
"name": "messages",
|
|
434
538
|
"type": {
|
|
435
539
|
"text": "string"
|
|
436
540
|
},
|
|
437
|
-
"description": "
|
|
541
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
542
|
+
"readonly": true
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"kind": "function",
|
|
548
|
+
"name": "createErrorMap",
|
|
549
|
+
"return": {
|
|
550
|
+
"type": {
|
|
551
|
+
"text": ""
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"parameters": [
|
|
555
|
+
{
|
|
556
|
+
"name": "logger",
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "ErrorMapLogger"
|
|
559
|
+
},
|
|
560
|
+
"description": "A logger error method reference."
|
|
438
561
|
}
|
|
439
562
|
],
|
|
440
|
-
"description": "
|
|
563
|
+
"description": "A factory to create the error map.",
|
|
441
564
|
"privacy": "public"
|
|
442
565
|
}
|
|
443
566
|
],
|
|
444
567
|
"exports": [
|
|
445
568
|
{
|
|
446
569
|
"kind": "js",
|
|
447
|
-
"name": "
|
|
570
|
+
"name": "DefaultErrorMap",
|
|
448
571
|
"declaration": {
|
|
449
|
-
"name": "
|
|
450
|
-
"module": "src/
|
|
572
|
+
"name": "DefaultErrorMap",
|
|
573
|
+
"module": "src/error/errorMap.ts"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"kind": "js",
|
|
578
|
+
"name": "createErrorMap",
|
|
579
|
+
"declaration": {
|
|
580
|
+
"name": "createErrorMap",
|
|
581
|
+
"module": "src/error/errorMap.ts"
|
|
451
582
|
}
|
|
452
583
|
}
|
|
453
584
|
]
|
|
454
585
|
},
|
|
455
586
|
{
|
|
456
587
|
"kind": "javascript-module",
|
|
457
|
-
"path": "src/
|
|
588
|
+
"path": "src/error/index.ts",
|
|
458
589
|
"declarations": [],
|
|
459
590
|
"exports": [
|
|
460
591
|
{
|
|
@@ -462,15 +593,7 @@
|
|
|
462
593
|
"name": "*",
|
|
463
594
|
"declaration": {
|
|
464
595
|
"name": "*",
|
|
465
|
-
"package": "./
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"kind": "js",
|
|
470
|
-
"name": "*",
|
|
471
|
-
"declaration": {
|
|
472
|
-
"name": "*",
|
|
473
|
-
"package": "./when-else"
|
|
596
|
+
"package": "./errorMap"
|
|
474
597
|
}
|
|
475
598
|
}
|
|
476
599
|
]
|
|
@@ -700,191 +823,60 @@
|
|
|
700
823
|
},
|
|
701
824
|
{
|
|
702
825
|
"kind": "javascript-module",
|
|
703
|
-
"path": "src/
|
|
826
|
+
"path": "src/decorators/index.ts",
|
|
827
|
+
"declarations": [],
|
|
828
|
+
"exports": [
|
|
829
|
+
{
|
|
830
|
+
"kind": "js",
|
|
831
|
+
"name": "*",
|
|
832
|
+
"declaration": {
|
|
833
|
+
"name": "*",
|
|
834
|
+
"package": "./renderOnChange"
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "javascript-module",
|
|
841
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
704
842
|
"declarations": [
|
|
705
843
|
{
|
|
706
|
-
"kind": "
|
|
707
|
-
"
|
|
708
|
-
"
|
|
709
|
-
"members": [
|
|
710
|
-
{
|
|
711
|
-
"kind": "field",
|
|
712
|
-
"name": "map",
|
|
713
|
-
"privacy": "private",
|
|
714
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"kind": "field",
|
|
718
|
-
"name": "lastError",
|
|
719
|
-
"type": {
|
|
720
|
-
"text": "Error"
|
|
721
|
-
},
|
|
722
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"kind": "method",
|
|
726
|
-
"name": "set",
|
|
727
|
-
"return": {
|
|
728
|
-
"type": {
|
|
729
|
-
"text": "void"
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
"parameters": [
|
|
733
|
-
{
|
|
734
|
-
"name": "key",
|
|
735
|
-
"type": {
|
|
736
|
-
"text": "keyof TErrorDetailMap"
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"name": "error",
|
|
741
|
-
"type": {
|
|
742
|
-
"text": "Error"
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
],
|
|
746
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"kind": "method",
|
|
750
|
-
"name": "get",
|
|
751
|
-
"return": {
|
|
752
|
-
"type": {
|
|
753
|
-
"text": ""
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
"parameters": [
|
|
757
|
-
{
|
|
758
|
-
"name": "key",
|
|
759
|
-
"type": {
|
|
760
|
-
"text": "keyof TErrorDetailMap"
|
|
761
|
-
},
|
|
762
|
-
"description": "The key."
|
|
763
|
-
}
|
|
764
|
-
],
|
|
765
|
-
"description": "Get an error by key.",
|
|
766
|
-
"privacy": "public"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"kind": "method",
|
|
770
|
-
"name": "has",
|
|
771
|
-
"return": {
|
|
772
|
-
"type": {
|
|
773
|
-
"text": ""
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"parameters": [
|
|
777
|
-
{
|
|
778
|
-
"name": "key",
|
|
779
|
-
"type": {
|
|
780
|
-
"text": "keyof TErrorDetailMap"
|
|
781
|
-
},
|
|
782
|
-
"description": "The key."
|
|
783
|
-
}
|
|
784
|
-
],
|
|
785
|
-
"description": "Has an error for key.",
|
|
786
|
-
"privacy": "public"
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
"kind": "method",
|
|
790
|
-
"name": "delete",
|
|
791
|
-
"return": {
|
|
792
|
-
"type": {
|
|
793
|
-
"text": ""
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
"parameters": [
|
|
797
|
-
{
|
|
798
|
-
"name": "key",
|
|
799
|
-
"type": {
|
|
800
|
-
"text": "keyof TErrorDetailMap"
|
|
801
|
-
},
|
|
802
|
-
"description": "The key."
|
|
803
|
-
}
|
|
804
|
-
],
|
|
805
|
-
"description": "Delete an error.",
|
|
806
|
-
"privacy": "public"
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"kind": "method",
|
|
810
|
-
"name": "clear",
|
|
811
|
-
"description": "Clear errors.",
|
|
812
|
-
"privacy": "public"
|
|
813
|
-
},
|
|
844
|
+
"kind": "function",
|
|
845
|
+
"name": "renderOnChange",
|
|
846
|
+
"parameters": [
|
|
814
847
|
{
|
|
815
|
-
"
|
|
816
|
-
"name": "size",
|
|
848
|
+
"name": "target",
|
|
817
849
|
"type": {
|
|
818
|
-
"text": "
|
|
819
|
-
},
|
|
820
|
-
"description": "The size of the error map.",
|
|
821
|
-
"return": {
|
|
822
|
-
"type": {
|
|
823
|
-
"text": ""
|
|
824
|
-
}
|
|
850
|
+
"text": "FASTElement & { render(): void }"
|
|
825
851
|
},
|
|
826
|
-
"
|
|
827
|
-
"readonly": true
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "method",
|
|
831
|
-
"name": "values",
|
|
832
|
-
"privacy": "public"
|
|
852
|
+
"description": "The target to define the property change handler on."
|
|
833
853
|
},
|
|
834
854
|
{
|
|
835
|
-
"
|
|
836
|
-
"name": "messages",
|
|
855
|
+
"name": "name",
|
|
837
856
|
"type": {
|
|
838
857
|
"text": "string"
|
|
839
858
|
},
|
|
840
|
-
"description": "
|
|
841
|
-
"readonly": true
|
|
842
|
-
}
|
|
843
|
-
]
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
"kind": "function",
|
|
847
|
-
"name": "createErrorMap",
|
|
848
|
-
"return": {
|
|
849
|
-
"type": {
|
|
850
|
-
"text": ""
|
|
851
|
-
}
|
|
852
|
-
},
|
|
853
|
-
"parameters": [
|
|
854
|
-
{
|
|
855
|
-
"name": "logger",
|
|
856
|
-
"type": {
|
|
857
|
-
"text": "ErrorMapLogger"
|
|
858
|
-
},
|
|
859
|
-
"description": "A logger error method reference."
|
|
859
|
+
"description": "The property name."
|
|
860
860
|
}
|
|
861
861
|
],
|
|
862
|
-
"description": "
|
|
862
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
863
863
|
"privacy": "public"
|
|
864
864
|
}
|
|
865
865
|
],
|
|
866
866
|
"exports": [
|
|
867
867
|
{
|
|
868
868
|
"kind": "js",
|
|
869
|
-
"name": "
|
|
870
|
-
"declaration": {
|
|
871
|
-
"name": "DefaultErrorMap",
|
|
872
|
-
"module": "src/error/errorMap.ts"
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
"kind": "js",
|
|
877
|
-
"name": "createErrorMap",
|
|
869
|
+
"name": "renderOnChange",
|
|
878
870
|
"declaration": {
|
|
879
|
-
"name": "
|
|
880
|
-
"module": "src/
|
|
871
|
+
"name": "renderOnChange",
|
|
872
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
881
873
|
}
|
|
882
874
|
}
|
|
883
875
|
]
|
|
884
876
|
},
|
|
885
877
|
{
|
|
886
878
|
"kind": "javascript-module",
|
|
887
|
-
"path": "src/
|
|
879
|
+
"path": "src/directives/index.ts",
|
|
888
880
|
"declarations": [],
|
|
889
881
|
"exports": [
|
|
890
882
|
{
|
|
@@ -892,7 +884,15 @@
|
|
|
892
884
|
"name": "*",
|
|
893
885
|
"declaration": {
|
|
894
886
|
"name": "*",
|
|
895
|
-
"package": "./
|
|
887
|
+
"package": "./sync"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "*",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "*",
|
|
895
|
+
"package": "./when-else"
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
898
|
]
|
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.
|
|
4
|
+
"version": "14.137.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.
|
|
23
|
-
"@genesislcap/genx": "14.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.137.0",
|
|
23
|
+
"@genesislcap/genx": "14.137.0",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.
|
|
27
|
+
"@genesislcap/foundation-logger": "14.137.0",
|
|
28
28
|
"@microsoft/fast-components": "^2.30.6",
|
|
29
29
|
"@microsoft/fast-element": "^1.12.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "e858204084c3ab29fa83c92dd9532c539e113f16"
|
|
46
46
|
}
|