@genesislcap/foundation-utils 14.83.3-alpha-a2fb0a3.0 → 14.83.3
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 +219 -219
- package/package.json +5 -5
|
@@ -341,59 +341,6 @@
|
|
|
341
341
|
}
|
|
342
342
|
]
|
|
343
343
|
},
|
|
344
|
-
{
|
|
345
|
-
"kind": "javascript-module",
|
|
346
|
-
"path": "src/decorators/index.ts",
|
|
347
|
-
"declarations": [],
|
|
348
|
-
"exports": [
|
|
349
|
-
{
|
|
350
|
-
"kind": "js",
|
|
351
|
-
"name": "*",
|
|
352
|
-
"declaration": {
|
|
353
|
-
"name": "*",
|
|
354
|
-
"package": "./renderOnChange"
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"kind": "javascript-module",
|
|
361
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
362
|
-
"declarations": [
|
|
363
|
-
{
|
|
364
|
-
"kind": "function",
|
|
365
|
-
"name": "renderOnChange",
|
|
366
|
-
"parameters": [
|
|
367
|
-
{
|
|
368
|
-
"name": "target",
|
|
369
|
-
"type": {
|
|
370
|
-
"text": "FASTElement & { render(): void }"
|
|
371
|
-
},
|
|
372
|
-
"description": "The target to define the property change handler on."
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"name": "name",
|
|
376
|
-
"type": {
|
|
377
|
-
"text": "string"
|
|
378
|
-
},
|
|
379
|
-
"description": "The property name."
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
383
|
-
"privacy": "public"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
"exports": [
|
|
387
|
-
{
|
|
388
|
-
"kind": "js",
|
|
389
|
-
"name": "renderOnChange",
|
|
390
|
-
"declaration": {
|
|
391
|
-
"name": "renderOnChange",
|
|
392
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
344
|
{
|
|
398
345
|
"kind": "javascript-module",
|
|
399
346
|
"path": "src/design-system/design-system.ts",
|
|
@@ -445,7 +392,7 @@
|
|
|
445
392
|
},
|
|
446
393
|
{
|
|
447
394
|
"kind": "javascript-module",
|
|
448
|
-
"path": "src/
|
|
395
|
+
"path": "src/decorators/index.ts",
|
|
449
396
|
"declarations": [],
|
|
450
397
|
"exports": [
|
|
451
398
|
{
|
|
@@ -453,201 +400,52 @@
|
|
|
453
400
|
"name": "*",
|
|
454
401
|
"declaration": {
|
|
455
402
|
"name": "*",
|
|
456
|
-
"package": "./
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"kind": "js",
|
|
461
|
-
"name": "*",
|
|
462
|
-
"declaration": {
|
|
463
|
-
"name": "*",
|
|
464
|
-
"package": "./when-else"
|
|
403
|
+
"package": "./renderOnChange"
|
|
465
404
|
}
|
|
466
405
|
}
|
|
467
406
|
]
|
|
468
407
|
},
|
|
469
408
|
{
|
|
470
409
|
"kind": "javascript-module",
|
|
471
|
-
"path": "src/
|
|
410
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
472
411
|
"declarations": [
|
|
473
412
|
{
|
|
474
|
-
"kind": "
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"members": [
|
|
478
|
-
{
|
|
479
|
-
"kind": "field",
|
|
480
|
-
"name": "map",
|
|
481
|
-
"privacy": "private",
|
|
482
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"kind": "field",
|
|
486
|
-
"name": "lastError",
|
|
487
|
-
"type": {
|
|
488
|
-
"text": "Error"
|
|
489
|
-
},
|
|
490
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"kind": "method",
|
|
494
|
-
"name": "set",
|
|
495
|
-
"return": {
|
|
496
|
-
"type": {
|
|
497
|
-
"text": "void"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"parameters": [
|
|
501
|
-
{
|
|
502
|
-
"name": "key",
|
|
503
|
-
"type": {
|
|
504
|
-
"text": "keyof TErrorDetailMap"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"name": "error",
|
|
509
|
-
"type": {
|
|
510
|
-
"text": "Error"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
],
|
|
514
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"kind": "method",
|
|
518
|
-
"name": "get",
|
|
519
|
-
"return": {
|
|
520
|
-
"type": {
|
|
521
|
-
"text": ""
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
"parameters": [
|
|
525
|
-
{
|
|
526
|
-
"name": "key",
|
|
527
|
-
"type": {
|
|
528
|
-
"text": "keyof TErrorDetailMap"
|
|
529
|
-
},
|
|
530
|
-
"description": "The key."
|
|
531
|
-
}
|
|
532
|
-
],
|
|
533
|
-
"description": "Get an error by key.",
|
|
534
|
-
"privacy": "public"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"kind": "method",
|
|
538
|
-
"name": "has",
|
|
539
|
-
"return": {
|
|
540
|
-
"type": {
|
|
541
|
-
"text": ""
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
"parameters": [
|
|
545
|
-
{
|
|
546
|
-
"name": "key",
|
|
547
|
-
"type": {
|
|
548
|
-
"text": "keyof TErrorDetailMap"
|
|
549
|
-
},
|
|
550
|
-
"description": "The key."
|
|
551
|
-
}
|
|
552
|
-
],
|
|
553
|
-
"description": "Has an error for key.",
|
|
554
|
-
"privacy": "public"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"kind": "method",
|
|
558
|
-
"name": "delete",
|
|
559
|
-
"return": {
|
|
560
|
-
"type": {
|
|
561
|
-
"text": ""
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
"parameters": [
|
|
565
|
-
{
|
|
566
|
-
"name": "key",
|
|
567
|
-
"type": {
|
|
568
|
-
"text": "keyof TErrorDetailMap"
|
|
569
|
-
},
|
|
570
|
-
"description": "The key."
|
|
571
|
-
}
|
|
572
|
-
],
|
|
573
|
-
"description": "Delete an error.",
|
|
574
|
-
"privacy": "public"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"kind": "method",
|
|
578
|
-
"name": "clear",
|
|
579
|
-
"description": "Clear errors.",
|
|
580
|
-
"privacy": "public"
|
|
581
|
-
},
|
|
413
|
+
"kind": "function",
|
|
414
|
+
"name": "renderOnChange",
|
|
415
|
+
"parameters": [
|
|
582
416
|
{
|
|
583
|
-
"
|
|
584
|
-
"name": "size",
|
|
417
|
+
"name": "target",
|
|
585
418
|
"type": {
|
|
586
|
-
"text": "
|
|
587
|
-
},
|
|
588
|
-
"description": "The size of the error map.",
|
|
589
|
-
"return": {
|
|
590
|
-
"type": {
|
|
591
|
-
"text": ""
|
|
592
|
-
}
|
|
419
|
+
"text": "FASTElement & { render(): void }"
|
|
593
420
|
},
|
|
594
|
-
"
|
|
595
|
-
"readonly": true
|
|
421
|
+
"description": "The target to define the property change handler on."
|
|
596
422
|
},
|
|
597
423
|
{
|
|
598
|
-
"
|
|
599
|
-
"name": "messages",
|
|
424
|
+
"name": "name",
|
|
600
425
|
"type": {
|
|
601
426
|
"text": "string"
|
|
602
427
|
},
|
|
603
|
-
"description": "
|
|
604
|
-
"readonly": true
|
|
605
|
-
}
|
|
606
|
-
]
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"kind": "function",
|
|
610
|
-
"name": "createErrorMap",
|
|
611
|
-
"return": {
|
|
612
|
-
"type": {
|
|
613
|
-
"text": ""
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
"parameters": [
|
|
617
|
-
{
|
|
618
|
-
"name": "logger",
|
|
619
|
-
"type": {
|
|
620
|
-
"text": "ErrorMapLogger"
|
|
621
|
-
},
|
|
622
|
-
"description": "A logger error method reference."
|
|
428
|
+
"description": "The property name."
|
|
623
429
|
}
|
|
624
430
|
],
|
|
625
|
-
"description": "
|
|
431
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
626
432
|
"privacy": "public"
|
|
627
433
|
}
|
|
628
434
|
],
|
|
629
435
|
"exports": [
|
|
630
436
|
{
|
|
631
437
|
"kind": "js",
|
|
632
|
-
"name": "
|
|
633
|
-
"declaration": {
|
|
634
|
-
"name": "DefaultErrorMap",
|
|
635
|
-
"module": "src/error/errorMap.ts"
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"kind": "js",
|
|
640
|
-
"name": "createErrorMap",
|
|
438
|
+
"name": "renderOnChange",
|
|
641
439
|
"declaration": {
|
|
642
|
-
"name": "
|
|
643
|
-
"module": "src/
|
|
440
|
+
"name": "renderOnChange",
|
|
441
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
644
442
|
}
|
|
645
443
|
}
|
|
646
444
|
]
|
|
647
445
|
},
|
|
648
446
|
{
|
|
649
447
|
"kind": "javascript-module",
|
|
650
|
-
"path": "src/
|
|
448
|
+
"path": "src/directives/index.ts",
|
|
651
449
|
"declarations": [],
|
|
652
450
|
"exports": [
|
|
653
451
|
{
|
|
@@ -655,7 +453,15 @@
|
|
|
655
453
|
"name": "*",
|
|
656
454
|
"declaration": {
|
|
657
455
|
"name": "*",
|
|
658
|
-
"package": "./
|
|
456
|
+
"package": "./sync"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"kind": "js",
|
|
461
|
+
"name": "*",
|
|
462
|
+
"declaration": {
|
|
463
|
+
"name": "*",
|
|
464
|
+
"package": "./when-else"
|
|
659
465
|
}
|
|
660
466
|
}
|
|
661
467
|
]
|
|
@@ -883,6 +689,200 @@
|
|
|
883
689
|
}
|
|
884
690
|
]
|
|
885
691
|
},
|
|
692
|
+
{
|
|
693
|
+
"kind": "javascript-module",
|
|
694
|
+
"path": "src/error/errorMap.ts",
|
|
695
|
+
"declarations": [
|
|
696
|
+
{
|
|
697
|
+
"kind": "class",
|
|
698
|
+
"description": "",
|
|
699
|
+
"name": "DefaultErrorMap",
|
|
700
|
+
"members": [
|
|
701
|
+
{
|
|
702
|
+
"kind": "field",
|
|
703
|
+
"name": "map",
|
|
704
|
+
"privacy": "private",
|
|
705
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "field",
|
|
709
|
+
"name": "lastError",
|
|
710
|
+
"type": {
|
|
711
|
+
"text": "Error"
|
|
712
|
+
},
|
|
713
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"kind": "method",
|
|
717
|
+
"name": "set",
|
|
718
|
+
"return": {
|
|
719
|
+
"type": {
|
|
720
|
+
"text": "void"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"parameters": [
|
|
724
|
+
{
|
|
725
|
+
"name": "key",
|
|
726
|
+
"type": {
|
|
727
|
+
"text": "keyof TErrorDetailMap"
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "error",
|
|
732
|
+
"type": {
|
|
733
|
+
"text": "Error"
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "method",
|
|
741
|
+
"name": "get",
|
|
742
|
+
"return": {
|
|
743
|
+
"type": {
|
|
744
|
+
"text": ""
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"parameters": [
|
|
748
|
+
{
|
|
749
|
+
"name": "key",
|
|
750
|
+
"type": {
|
|
751
|
+
"text": "keyof TErrorDetailMap"
|
|
752
|
+
},
|
|
753
|
+
"description": "The key."
|
|
754
|
+
}
|
|
755
|
+
],
|
|
756
|
+
"description": "Get an error by key.",
|
|
757
|
+
"privacy": "public"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "method",
|
|
761
|
+
"name": "has",
|
|
762
|
+
"return": {
|
|
763
|
+
"type": {
|
|
764
|
+
"text": ""
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"parameters": [
|
|
768
|
+
{
|
|
769
|
+
"name": "key",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "keyof TErrorDetailMap"
|
|
772
|
+
},
|
|
773
|
+
"description": "The key."
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"description": "Has an error for key.",
|
|
777
|
+
"privacy": "public"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"kind": "method",
|
|
781
|
+
"name": "delete",
|
|
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": "Delete an error.",
|
|
797
|
+
"privacy": "public"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"kind": "method",
|
|
801
|
+
"name": "clear",
|
|
802
|
+
"description": "Clear errors.",
|
|
803
|
+
"privacy": "public"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"kind": "field",
|
|
807
|
+
"name": "size",
|
|
808
|
+
"type": {
|
|
809
|
+
"text": "number"
|
|
810
|
+
},
|
|
811
|
+
"description": "The size of the error map.",
|
|
812
|
+
"return": {
|
|
813
|
+
"type": {
|
|
814
|
+
"text": ""
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"privacy": "public",
|
|
818
|
+
"readonly": true
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"kind": "field",
|
|
822
|
+
"name": "messages",
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "string"
|
|
825
|
+
},
|
|
826
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
827
|
+
"readonly": true
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"kind": "function",
|
|
833
|
+
"name": "createErrorMap",
|
|
834
|
+
"return": {
|
|
835
|
+
"type": {
|
|
836
|
+
"text": ""
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"parameters": [
|
|
840
|
+
{
|
|
841
|
+
"name": "logger",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "ErrorMapLogger"
|
|
844
|
+
},
|
|
845
|
+
"description": "A logger error method reference."
|
|
846
|
+
}
|
|
847
|
+
],
|
|
848
|
+
"description": "A factory to create the error map.",
|
|
849
|
+
"privacy": "public"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"exports": [
|
|
853
|
+
{
|
|
854
|
+
"kind": "js",
|
|
855
|
+
"name": "DefaultErrorMap",
|
|
856
|
+
"declaration": {
|
|
857
|
+
"name": "DefaultErrorMap",
|
|
858
|
+
"module": "src/error/errorMap.ts"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"kind": "js",
|
|
863
|
+
"name": "createErrorMap",
|
|
864
|
+
"declaration": {
|
|
865
|
+
"name": "createErrorMap",
|
|
866
|
+
"module": "src/error/errorMap.ts"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"kind": "javascript-module",
|
|
873
|
+
"path": "src/error/index.ts",
|
|
874
|
+
"declarations": [],
|
|
875
|
+
"exports": [
|
|
876
|
+
{
|
|
877
|
+
"kind": "js",
|
|
878
|
+
"name": "*",
|
|
879
|
+
"declaration": {
|
|
880
|
+
"name": "*",
|
|
881
|
+
"package": "./errorMap"
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
886
|
{
|
|
887
887
|
"kind": "javascript-module",
|
|
888
888
|
"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.83.3
|
|
4
|
+
"version": "14.83.3",
|
|
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.83.3
|
|
23
|
-
"@genesislcap/genx": "14.83.3
|
|
22
|
+
"@genesislcap/foundation-testing": "14.83.3",
|
|
23
|
+
"@genesislcap/genx": "14.83.3",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.83.3
|
|
27
|
+
"@genesislcap/foundation-logger": "14.83.3",
|
|
28
28
|
"@microsoft/fast-components": "^2.21.3",
|
|
29
29
|
"@microsoft/fast-element": "^1.7.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "d8127570c94dbf4dca2f260a4155bf89206e9c2e"
|
|
46
46
|
}
|