@genesislcap/foundation-utils 14.173.4 → 14.174.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 +337 -337
- package/package.json +10 -10
|
@@ -357,56 +357,6 @@
|
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
359
|
},
|
|
360
|
-
{
|
|
361
|
-
"kind": "javascript-module",
|
|
362
|
-
"path": "src/design-system/design-system.ts",
|
|
363
|
-
"declarations": [
|
|
364
|
-
{
|
|
365
|
-
"kind": "function",
|
|
366
|
-
"name": "assureDesignSystem",
|
|
367
|
-
"return": {
|
|
368
|
-
"type": {
|
|
369
|
-
"text": "DesignSystemModule"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
"parameters": [
|
|
373
|
-
{
|
|
374
|
-
"name": "module",
|
|
375
|
-
"type": {
|
|
376
|
-
"text": "DesignSystemModule"
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
],
|
|
380
|
-
"description": "assureDesignSystem.",
|
|
381
|
-
"privacy": "public"
|
|
382
|
-
}
|
|
383
|
-
],
|
|
384
|
-
"exports": [
|
|
385
|
-
{
|
|
386
|
-
"kind": "js",
|
|
387
|
-
"name": "assureDesignSystem",
|
|
388
|
-
"declaration": {
|
|
389
|
-
"name": "assureDesignSystem",
|
|
390
|
-
"module": "src/design-system/design-system.ts"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
]
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"kind": "javascript-module",
|
|
397
|
-
"path": "src/design-system/index.ts",
|
|
398
|
-
"declarations": [],
|
|
399
|
-
"exports": [
|
|
400
|
-
{
|
|
401
|
-
"kind": "js",
|
|
402
|
-
"name": "*",
|
|
403
|
-
"declaration": {
|
|
404
|
-
"name": "*",
|
|
405
|
-
"package": "./design-system"
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
]
|
|
409
|
-
},
|
|
410
360
|
{
|
|
411
361
|
"kind": "javascript-module",
|
|
412
362
|
"path": "src/decorators/index.ts",
|
|
@@ -462,214 +412,57 @@
|
|
|
462
412
|
},
|
|
463
413
|
{
|
|
464
414
|
"kind": "javascript-module",
|
|
465
|
-
"path": "src/
|
|
466
|
-
"declarations": [],
|
|
467
|
-
"exports": [
|
|
468
|
-
{
|
|
469
|
-
"kind": "js",
|
|
470
|
-
"name": "*",
|
|
471
|
-
"declaration": {
|
|
472
|
-
"name": "*",
|
|
473
|
-
"package": "./sync"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"kind": "js",
|
|
478
|
-
"name": "*",
|
|
479
|
-
"declaration": {
|
|
480
|
-
"name": "*",
|
|
481
|
-
"package": "./when-else"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "javascript-module",
|
|
488
|
-
"path": "src/error/errorMap.ts",
|
|
415
|
+
"path": "src/design-system/design-system.ts",
|
|
489
416
|
"declarations": [
|
|
490
|
-
{
|
|
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
|
-
},
|
|
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",
|
|
622
|
-
"type": {
|
|
623
|
-
"text": "string"
|
|
624
|
-
},
|
|
625
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
626
|
-
"readonly": true
|
|
627
|
-
}
|
|
628
|
-
]
|
|
629
|
-
},
|
|
630
417
|
{
|
|
631
418
|
"kind": "function",
|
|
632
|
-
"name": "
|
|
419
|
+
"name": "assureDesignSystem",
|
|
633
420
|
"return": {
|
|
634
421
|
"type": {
|
|
635
|
-
"text": ""
|
|
422
|
+
"text": "DesignSystemModule"
|
|
636
423
|
}
|
|
637
424
|
},
|
|
638
425
|
"parameters": [
|
|
639
426
|
{
|
|
640
|
-
"name": "
|
|
427
|
+
"name": "module",
|
|
641
428
|
"type": {
|
|
642
|
-
"text": "
|
|
643
|
-
}
|
|
644
|
-
"description": "A logger error method reference."
|
|
429
|
+
"text": "DesignSystemModule"
|
|
430
|
+
}
|
|
645
431
|
}
|
|
646
432
|
],
|
|
647
|
-
"description": "
|
|
433
|
+
"description": "assureDesignSystem.",
|
|
648
434
|
"privacy": "public"
|
|
649
435
|
}
|
|
650
436
|
],
|
|
651
437
|
"exports": [
|
|
652
438
|
{
|
|
653
439
|
"kind": "js",
|
|
654
|
-
"name": "
|
|
440
|
+
"name": "assureDesignSystem",
|
|
655
441
|
"declaration": {
|
|
656
|
-
"name": "
|
|
657
|
-
"module": "src/
|
|
442
|
+
"name": "assureDesignSystem",
|
|
443
|
+
"module": "src/design-system/design-system.ts"
|
|
658
444
|
}
|
|
659
|
-
}
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"kind": "javascript-module",
|
|
450
|
+
"path": "src/design-system/index.ts",
|
|
451
|
+
"declarations": [],
|
|
452
|
+
"exports": [
|
|
660
453
|
{
|
|
661
454
|
"kind": "js",
|
|
662
|
-
"name": "
|
|
455
|
+
"name": "*",
|
|
663
456
|
"declaration": {
|
|
664
|
-
"name": "
|
|
665
|
-
"
|
|
457
|
+
"name": "*",
|
|
458
|
+
"package": "./design-system"
|
|
666
459
|
}
|
|
667
460
|
}
|
|
668
461
|
]
|
|
669
462
|
},
|
|
670
463
|
{
|
|
671
464
|
"kind": "javascript-module",
|
|
672
|
-
"path": "src/
|
|
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": "./
|
|
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
|
]
|
|
@@ -837,70 +638,269 @@
|
|
|
837
638
|
}
|
|
838
639
|
},
|
|
839
640
|
{
|
|
840
|
-
"kind": "variable",
|
|
841
|
-
"name": "_DEFAULT_USER",
|
|
842
|
-
"type": {
|
|
843
|
-
"text": "string"
|
|
641
|
+
"kind": "variable",
|
|
642
|
+
"name": "_DEFAULT_USER",
|
|
643
|
+
"type": {
|
|
644
|
+
"text": "string"
|
|
645
|
+
},
|
|
646
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
647
|
+
"privacy": "public"
|
|
648
|
+
}
|
|
649
|
+
],
|
|
650
|
+
"exports": [
|
|
651
|
+
{
|
|
652
|
+
"kind": "js",
|
|
653
|
+
"name": "SOCKET_EXT",
|
|
654
|
+
"declaration": {
|
|
655
|
+
"name": "_SOCKET_EXT",
|
|
656
|
+
"module": "src/env/variables.ts"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"kind": "js",
|
|
661
|
+
"name": "FORCE_HTTP",
|
|
662
|
+
"declaration": {
|
|
663
|
+
"name": "_FORCE_HTTP",
|
|
664
|
+
"module": "src/env/variables.ts"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"kind": "js",
|
|
669
|
+
"name": "API_HOST",
|
|
670
|
+
"declaration": {
|
|
671
|
+
"name": "_API_HOST",
|
|
672
|
+
"module": "src/env/variables.ts"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "js",
|
|
677
|
+
"name": "HTTP_CONFIG",
|
|
678
|
+
"declaration": {
|
|
679
|
+
"name": "_HTTP_CONFIG",
|
|
680
|
+
"module": "src/env/variables.ts"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"kind": "js",
|
|
685
|
+
"name": "DEFAULT_ORGANISATION",
|
|
686
|
+
"declaration": {
|
|
687
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
688
|
+
"module": "src/env/variables.ts"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "js",
|
|
693
|
+
"name": "DEFAULT_PASSWORD",
|
|
694
|
+
"declaration": {
|
|
695
|
+
"name": "_DEFAULT_PASSWORD",
|
|
696
|
+
"module": "src/env/variables.ts"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"kind": "js",
|
|
701
|
+
"name": "DEFAULT_USER",
|
|
702
|
+
"declaration": {
|
|
703
|
+
"name": "_DEFAULT_USER",
|
|
704
|
+
"module": "src/env/variables.ts"
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"kind": "javascript-module",
|
|
711
|
+
"path": "src/error/errorMap.ts",
|
|
712
|
+
"declarations": [
|
|
713
|
+
{
|
|
714
|
+
"kind": "class",
|
|
715
|
+
"description": "",
|
|
716
|
+
"name": "DefaultErrorMap",
|
|
717
|
+
"members": [
|
|
718
|
+
{
|
|
719
|
+
"kind": "field",
|
|
720
|
+
"name": "map",
|
|
721
|
+
"privacy": "private",
|
|
722
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"kind": "field",
|
|
726
|
+
"name": "lastError",
|
|
727
|
+
"type": {
|
|
728
|
+
"text": "Error"
|
|
729
|
+
},
|
|
730
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "method",
|
|
734
|
+
"name": "set",
|
|
735
|
+
"return": {
|
|
736
|
+
"type": {
|
|
737
|
+
"text": "void"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"parameters": [
|
|
741
|
+
{
|
|
742
|
+
"name": "key",
|
|
743
|
+
"type": {
|
|
744
|
+
"text": "keyof TErrorDetailMap"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "error",
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "Error"
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
],
|
|
754
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "method",
|
|
758
|
+
"name": "get",
|
|
759
|
+
"return": {
|
|
760
|
+
"type": {
|
|
761
|
+
"text": ""
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"parameters": [
|
|
765
|
+
{
|
|
766
|
+
"name": "key",
|
|
767
|
+
"type": {
|
|
768
|
+
"text": "keyof TErrorDetailMap"
|
|
769
|
+
},
|
|
770
|
+
"description": "The key."
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"description": "Get an error by key.",
|
|
774
|
+
"privacy": "public"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"kind": "method",
|
|
778
|
+
"name": "has",
|
|
779
|
+
"return": {
|
|
780
|
+
"type": {
|
|
781
|
+
"text": ""
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
"parameters": [
|
|
785
|
+
{
|
|
786
|
+
"name": "key",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "keyof TErrorDetailMap"
|
|
789
|
+
},
|
|
790
|
+
"description": "The key."
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"description": "Has an error for key.",
|
|
794
|
+
"privacy": "public"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"kind": "method",
|
|
798
|
+
"name": "delete",
|
|
799
|
+
"return": {
|
|
800
|
+
"type": {
|
|
801
|
+
"text": ""
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"parameters": [
|
|
805
|
+
{
|
|
806
|
+
"name": "key",
|
|
807
|
+
"type": {
|
|
808
|
+
"text": "keyof TErrorDetailMap"
|
|
809
|
+
},
|
|
810
|
+
"description": "The key."
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"description": "Delete an error.",
|
|
814
|
+
"privacy": "public"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"kind": "method",
|
|
818
|
+
"name": "clear",
|
|
819
|
+
"description": "Clear errors.",
|
|
820
|
+
"privacy": "public"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"kind": "field",
|
|
824
|
+
"name": "size",
|
|
825
|
+
"type": {
|
|
826
|
+
"text": "number"
|
|
827
|
+
},
|
|
828
|
+
"description": "The size of the error map.",
|
|
829
|
+
"return": {
|
|
830
|
+
"type": {
|
|
831
|
+
"text": ""
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"privacy": "public",
|
|
835
|
+
"readonly": true
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"kind": "method",
|
|
839
|
+
"name": "values",
|
|
840
|
+
"privacy": "public"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"kind": "field",
|
|
844
|
+
"name": "messages",
|
|
845
|
+
"type": {
|
|
846
|
+
"text": "string"
|
|
847
|
+
},
|
|
848
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
849
|
+
"readonly": true
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"kind": "function",
|
|
855
|
+
"name": "createErrorMap",
|
|
856
|
+
"return": {
|
|
857
|
+
"type": {
|
|
858
|
+
"text": ""
|
|
859
|
+
}
|
|
844
860
|
},
|
|
845
|
-
"
|
|
861
|
+
"parameters": [
|
|
862
|
+
{
|
|
863
|
+
"name": "logger",
|
|
864
|
+
"type": {
|
|
865
|
+
"text": "ErrorMapLogger"
|
|
866
|
+
},
|
|
867
|
+
"description": "A logger error method reference."
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"description": "A factory to create the error map.",
|
|
846
871
|
"privacy": "public"
|
|
847
872
|
}
|
|
848
873
|
],
|
|
849
874
|
"exports": [
|
|
850
875
|
{
|
|
851
876
|
"kind": "js",
|
|
852
|
-
"name": "
|
|
853
|
-
"declaration": {
|
|
854
|
-
"name": "_SOCKET_EXT",
|
|
855
|
-
"module": "src/env/variables.ts"
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"kind": "js",
|
|
860
|
-
"name": "FORCE_HTTP",
|
|
861
|
-
"declaration": {
|
|
862
|
-
"name": "_FORCE_HTTP",
|
|
863
|
-
"module": "src/env/variables.ts"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"kind": "js",
|
|
868
|
-
"name": "API_HOST",
|
|
869
|
-
"declaration": {
|
|
870
|
-
"name": "_API_HOST",
|
|
871
|
-
"module": "src/env/variables.ts"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"kind": "js",
|
|
876
|
-
"name": "HTTP_CONFIG",
|
|
877
|
-
"declaration": {
|
|
878
|
-
"name": "_HTTP_CONFIG",
|
|
879
|
-
"module": "src/env/variables.ts"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"kind": "js",
|
|
884
|
-
"name": "DEFAULT_ORGANISATION",
|
|
877
|
+
"name": "DefaultErrorMap",
|
|
885
878
|
"declaration": {
|
|
886
|
-
"name": "
|
|
887
|
-
"module": "src/
|
|
879
|
+
"name": "DefaultErrorMap",
|
|
880
|
+
"module": "src/error/errorMap.ts"
|
|
888
881
|
}
|
|
889
882
|
},
|
|
890
883
|
{
|
|
891
884
|
"kind": "js",
|
|
892
|
-
"name": "
|
|
885
|
+
"name": "createErrorMap",
|
|
893
886
|
"declaration": {
|
|
894
|
-
"name": "
|
|
895
|
-
"module": "src/
|
|
887
|
+
"name": "createErrorMap",
|
|
888
|
+
"module": "src/error/errorMap.ts"
|
|
896
889
|
}
|
|
897
|
-
}
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"kind": "javascript-module",
|
|
895
|
+
"path": "src/error/index.ts",
|
|
896
|
+
"declarations": [],
|
|
897
|
+
"exports": [
|
|
898
898
|
{
|
|
899
899
|
"kind": "js",
|
|
900
|
-
"name": "
|
|
900
|
+
"name": "*",
|
|
901
901
|
"declaration": {
|
|
902
|
-
"name": "
|
|
903
|
-
"
|
|
902
|
+
"name": "*",
|
|
903
|
+
"package": "./errorMap"
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
906
|
]
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
},
|
|
2121
2121
|
{
|
|
2122
2122
|
"kind": "javascript-module",
|
|
2123
|
-
"path": "src/directives/
|
|
2123
|
+
"path": "src/directives/when-else/index.ts",
|
|
2124
2124
|
"declarations": [],
|
|
2125
2125
|
"exports": [
|
|
2126
2126
|
{
|
|
@@ -2128,28 +2128,18 @@
|
|
|
2128
2128
|
"name": "*",
|
|
2129
2129
|
"declaration": {
|
|
2130
2130
|
"name": "*",
|
|
2131
|
-
"package": "./
|
|
2131
|
+
"package": "./when-else"
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
2134
|
]
|
|
2135
2135
|
},
|
|
2136
2136
|
{
|
|
2137
2137
|
"kind": "javascript-module",
|
|
2138
|
-
"path": "src/directives/
|
|
2138
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2139
2139
|
"declarations": [
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "variable",
|
|
2142
|
-
"name": "defaultEventMap",
|
|
2143
|
-
"type": {
|
|
2144
|
-
"text": "Map<string, EventName>"
|
|
2145
|
-
},
|
|
2146
|
-
"default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
|
|
2147
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2148
|
-
"privacy": "public"
|
|
2149
|
-
},
|
|
2150
2140
|
{
|
|
2151
2141
|
"kind": "function",
|
|
2152
|
-
"name": "
|
|
2142
|
+
"name": "whenElse",
|
|
2153
2143
|
"return": {
|
|
2154
2144
|
"type": {
|
|
2155
2145
|
"text": "CaptureType<TSource>"
|
|
@@ -2160,56 +2150,42 @@
|
|
|
2160
2150
|
"name": "binding",
|
|
2161
2151
|
"type": {
|
|
2162
2152
|
"text": "Binding<TSource, TReturn>"
|
|
2163
|
-
}
|
|
2164
|
-
|
|
2165
|
-
{
|
|
2166
|
-
"name": "conversionType",
|
|
2167
|
-
"default": "'string'",
|
|
2168
|
-
"type": {
|
|
2169
|
-
"text": "ConversionType"
|
|
2170
|
-
}
|
|
2153
|
+
},
|
|
2154
|
+
"description": "The condition to test for rendering."
|
|
2171
2155
|
},
|
|
2172
2156
|
{
|
|
2173
|
-
"name": "
|
|
2174
|
-
"default": "'default'",
|
|
2157
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2175
2158
|
"type": {
|
|
2176
|
-
"text": "
|
|
2177
|
-
}
|
|
2159
|
+
"text": "WhenTemplate<TSource>"
|
|
2160
|
+
},
|
|
2161
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2178
2162
|
},
|
|
2179
2163
|
{
|
|
2180
|
-
"name": "
|
|
2181
|
-
"optional": true,
|
|
2164
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2182
2165
|
"type": {
|
|
2183
|
-
"text": "
|
|
2184
|
-
}
|
|
2166
|
+
"text": "WhenTemplate<TSource>"
|
|
2167
|
+
},
|
|
2168
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2185
2169
|
}
|
|
2186
2170
|
],
|
|
2187
|
-
"description": "
|
|
2171
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2188
2172
|
"privacy": "public"
|
|
2189
2173
|
}
|
|
2190
2174
|
],
|
|
2191
2175
|
"exports": [
|
|
2192
2176
|
{
|
|
2193
2177
|
"kind": "js",
|
|
2194
|
-
"name": "
|
|
2195
|
-
"declaration": {
|
|
2196
|
-
"name": "defaultEventMap",
|
|
2197
|
-
"module": "src/directives/sync/sync.ts"
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
"kind": "js",
|
|
2202
|
-
"name": "sync",
|
|
2178
|
+
"name": "whenElse",
|
|
2203
2179
|
"declaration": {
|
|
2204
|
-
"name": "
|
|
2205
|
-
"module": "src/directives/
|
|
2180
|
+
"name": "whenElse",
|
|
2181
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2206
2182
|
}
|
|
2207
2183
|
}
|
|
2208
2184
|
]
|
|
2209
2185
|
},
|
|
2210
2186
|
{
|
|
2211
2187
|
"kind": "javascript-module",
|
|
2212
|
-
"path": "src/directives/
|
|
2188
|
+
"path": "src/directives/sync/index.ts",
|
|
2213
2189
|
"declarations": [],
|
|
2214
2190
|
"exports": [
|
|
2215
2191
|
{
|
|
@@ -2217,18 +2193,28 @@
|
|
|
2217
2193
|
"name": "*",
|
|
2218
2194
|
"declaration": {
|
|
2219
2195
|
"name": "*",
|
|
2220
|
-
"package": "./
|
|
2196
|
+
"package": "./sync"
|
|
2221
2197
|
}
|
|
2222
2198
|
}
|
|
2223
2199
|
]
|
|
2224
2200
|
},
|
|
2225
2201
|
{
|
|
2226
2202
|
"kind": "javascript-module",
|
|
2227
|
-
"path": "src/directives/
|
|
2203
|
+
"path": "src/directives/sync/sync.ts",
|
|
2228
2204
|
"declarations": [
|
|
2205
|
+
{
|
|
2206
|
+
"kind": "variable",
|
|
2207
|
+
"name": "defaultEventMap",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "Map<string, EventName>"
|
|
2210
|
+
},
|
|
2211
|
+
"default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
|
|
2212
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2213
|
+
"privacy": "public"
|
|
2214
|
+
},
|
|
2229
2215
|
{
|
|
2230
2216
|
"kind": "function",
|
|
2231
|
-
"name": "
|
|
2217
|
+
"name": "sync",
|
|
2232
2218
|
"return": {
|
|
2233
2219
|
"type": {
|
|
2234
2220
|
"text": "CaptureType<TSource>"
|
|
@@ -2239,35 +2225,49 @@
|
|
|
2239
2225
|
"name": "binding",
|
|
2240
2226
|
"type": {
|
|
2241
2227
|
"text": "Binding<TSource, TReturn>"
|
|
2242
|
-
}
|
|
2243
|
-
"description": "The condition to test for rendering."
|
|
2228
|
+
}
|
|
2244
2229
|
},
|
|
2245
2230
|
{
|
|
2246
|
-
"name": "
|
|
2231
|
+
"name": "conversionType",
|
|
2232
|
+
"default": "'string'",
|
|
2247
2233
|
"type": {
|
|
2248
|
-
"text": "
|
|
2249
|
-
}
|
|
2250
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2234
|
+
"text": "ConversionType"
|
|
2235
|
+
}
|
|
2251
2236
|
},
|
|
2252
2237
|
{
|
|
2253
|
-
"name": "
|
|
2238
|
+
"name": "eventName",
|
|
2239
|
+
"default": "'default'",
|
|
2254
2240
|
"type": {
|
|
2255
|
-
"text": "
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2241
|
+
"text": "EventName"
|
|
2242
|
+
}
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"name": "keyAttr",
|
|
2246
|
+
"optional": true,
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "string"
|
|
2249
|
+
}
|
|
2258
2250
|
}
|
|
2259
2251
|
],
|
|
2260
|
-
"description": "
|
|
2252
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2261
2253
|
"privacy": "public"
|
|
2262
2254
|
}
|
|
2263
2255
|
],
|
|
2264
2256
|
"exports": [
|
|
2265
2257
|
{
|
|
2266
2258
|
"kind": "js",
|
|
2267
|
-
"name": "
|
|
2259
|
+
"name": "defaultEventMap",
|
|
2268
2260
|
"declaration": {
|
|
2269
|
-
"name": "
|
|
2270
|
-
"module": "src/directives/
|
|
2261
|
+
"name": "defaultEventMap",
|
|
2262
|
+
"module": "src/directives/sync/sync.ts"
|
|
2263
|
+
}
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"kind": "js",
|
|
2267
|
+
"name": "sync",
|
|
2268
|
+
"declaration": {
|
|
2269
|
+
"name": "sync",
|
|
2270
|
+
"module": "src/directives/sync/sync.ts"
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
2273
|
]
|
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.174.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.
|
|
23
|
-
"@genesislcap/genx": "14.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.
|
|
25
|
-
"@genesislcap/ts-builder": "14.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
27
|
-
"@genesislcap/vite-builder": "14.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.174.0",
|
|
23
|
+
"@genesislcap/genx": "14.174.0",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.174.0",
|
|
25
|
+
"@genesislcap/ts-builder": "14.174.0",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.174.0",
|
|
27
|
+
"@genesislcap/vite-builder": "14.174.0",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.174.0",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.174.0",
|
|
33
33
|
"@microsoft/fast-components": "^2.30.6",
|
|
34
34
|
"@microsoft/fast-element": "^1.12.0",
|
|
35
35
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "1812b2af8a7a6a9c72db973b338c19128d876f93"
|
|
51
51
|
}
|