@genesislcap/foundation-utils 14.422.2-alpha-0a3f40b.0 → 14.424.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.
@@ -448,6 +448,59 @@
448
448
  }
449
449
  ]
450
450
  },
451
+ {
452
+ "kind": "javascript-module",
453
+ "path": "src/decorators/index.ts",
454
+ "declarations": [],
455
+ "exports": [
456
+ {
457
+ "kind": "js",
458
+ "name": "*",
459
+ "declaration": {
460
+ "name": "*",
461
+ "package": "./renderOnChange"
462
+ }
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "kind": "javascript-module",
468
+ "path": "src/decorators/renderOnChange.ts",
469
+ "declarations": [
470
+ {
471
+ "kind": "function",
472
+ "name": "renderOnChange",
473
+ "parameters": [
474
+ {
475
+ "name": "target",
476
+ "type": {
477
+ "text": "FASTElement & { render(): void }"
478
+ },
479
+ "description": "The target to define the property change handler on."
480
+ },
481
+ {
482
+ "name": "name",
483
+ "type": {
484
+ "text": "string"
485
+ },
486
+ "description": "The property name."
487
+ }
488
+ ],
489
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
490
+ "privacy": "public"
491
+ }
492
+ ],
493
+ "exports": [
494
+ {
495
+ "kind": "js",
496
+ "name": "renderOnChange",
497
+ "declaration": {
498
+ "name": "renderOnChange",
499
+ "module": "src/decorators/renderOnChange.ts"
500
+ }
501
+ }
502
+ ]
503
+ },
451
504
  {
452
505
  "kind": "javascript-module",
453
506
  "path": "src/design-system/design-system.ts",
@@ -553,80 +606,6 @@
553
606
  }
554
607
  ]
555
608
  },
556
- {
557
- "kind": "javascript-module",
558
- "path": "src/design-system/editable-elements.ts",
559
- "declarations": [
560
- {
561
- "kind": "variable",
562
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
563
- "type": {
564
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
565
- },
566
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
567
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
568
- },
569
- {
570
- "kind": "variable",
571
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
572
- "type": {
573
- "text": "Record<\n ShortcutDesignSystemPrefix,\n readonly string[]\n>"
574
- },
575
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
576
- "description": "Design-system specific editable host selectors."
577
- },
578
- {
579
- "kind": "function",
580
- "name": "buildEditableElementSelector",
581
- "return": {
582
- "type": {
583
- "text": "string"
584
- }
585
- },
586
- "parameters": [
587
- {
588
- "name": "designSystems",
589
- "type": {
590
- "text": "readonly ShortcutDesignSystemPrefix[]"
591
- }
592
- },
593
- {
594
- "name": "customEditableSelectors",
595
- "default": "[]",
596
- "type": {
597
- "text": "readonly string[]"
598
- }
599
- }
600
- ]
601
- }
602
- ],
603
- "exports": [
604
- {
605
- "kind": "js",
606
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
607
- "declaration": {
608
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
609
- "module": "src/design-system/editable-elements.ts"
610
- }
611
- },
612
- {
613
- "kind": "js",
614
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
615
- "declaration": {
616
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
617
- "module": "src/design-system/editable-elements.ts"
618
- }
619
- },
620
- {
621
- "kind": "js",
622
- "name": "buildEditableElementSelector",
623
- "declaration": {
624
- "name": "buildEditableElementSelector",
625
- "module": "src/design-system/editable-elements.ts"
626
- }
627
- }
628
- ]
629
- },
630
609
  {
631
610
  "kind": "javascript-module",
632
611
  "path": "src/design-system/index.ts",
@@ -639,90 +618,6 @@
639
618
  "name": "*",
640
619
  "package": "./design-system"
641
620
  }
642
- },
643
- {
644
- "kind": "js",
645
- "name": "*",
646
- "declaration": {
647
- "name": "*",
648
- "package": "./editable-elements"
649
- }
650
- }
651
- ]
652
- },
653
- {
654
- "kind": "javascript-module",
655
- "path": "src/decorators/index.ts",
656
- "declarations": [],
657
- "exports": [
658
- {
659
- "kind": "js",
660
- "name": "*",
661
- "declaration": {
662
- "name": "*",
663
- "package": "./renderOnChange"
664
- }
665
- }
666
- ]
667
- },
668
- {
669
- "kind": "javascript-module",
670
- "path": "src/decorators/renderOnChange.ts",
671
- "declarations": [
672
- {
673
- "kind": "function",
674
- "name": "renderOnChange",
675
- "parameters": [
676
- {
677
- "name": "target",
678
- "type": {
679
- "text": "FASTElement & { render(): void }"
680
- },
681
- "description": "The target to define the property change handler on."
682
- },
683
- {
684
- "name": "name",
685
- "type": {
686
- "text": "string"
687
- },
688
- "description": "The property name."
689
- }
690
- ],
691
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
692
- "privacy": "public"
693
- }
694
- ],
695
- "exports": [
696
- {
697
- "kind": "js",
698
- "name": "renderOnChange",
699
- "declaration": {
700
- "name": "renderOnChange",
701
- "module": "src/decorators/renderOnChange.ts"
702
- }
703
- }
704
- ]
705
- },
706
- {
707
- "kind": "javascript-module",
708
- "path": "src/directives/index.ts",
709
- "declarations": [],
710
- "exports": [
711
- {
712
- "kind": "js",
713
- "name": "*",
714
- "declaration": {
715
- "name": "*",
716
- "package": "./sync"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./when-else"
725
- }
726
621
  }
727
622
  ]
728
623
  },
@@ -1216,6 +1111,29 @@
1216
1111
  }
1217
1112
  ]
1218
1113
  },
1114
+ {
1115
+ "kind": "javascript-module",
1116
+ "path": "src/directives/index.ts",
1117
+ "declarations": [],
1118
+ "exports": [
1119
+ {
1120
+ "kind": "js",
1121
+ "name": "*",
1122
+ "declaration": {
1123
+ "name": "*",
1124
+ "package": "./sync"
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "js",
1129
+ "name": "*",
1130
+ "declaration": {
1131
+ "name": "*",
1132
+ "package": "./when-else"
1133
+ }
1134
+ }
1135
+ ]
1136
+ },
1219
1137
  {
1220
1138
  "kind": "javascript-module",
1221
1139
  "path": "src/error/errorMap.ts",
@@ -2844,140 +2762,12 @@
2844
2762
  "name": "*",
2845
2763
  "package": "./shortcut-listener"
2846
2764
  }
2847
- },
2848
- {
2849
- "kind": "js",
2850
- "name": "*",
2851
- "declaration": {
2852
- "name": "*",
2853
- "package": "./shortcut-events"
2854
- }
2855
2765
  }
2856
2766
  ]
2857
2767
  },
2858
2768
  {
2859
2769
  "kind": "javascript-module",
2860
- "path": "src/shortcut-manager/shortcut-events.ts",
2861
- "declarations": [
2862
- {
2863
- "kind": "variable",
2864
- "name": "SHORTCUT_BLOCKED_EVENT",
2865
- "type": {
2866
- "text": "string"
2867
- },
2868
- "default": "'foundation-shortcut-blocked'"
2869
- },
2870
- {
2871
- "kind": "variable",
2872
- "name": "SHORTCUT_BLOCKED_DEFAULT_MESSAGE",
2873
- "type": {
2874
- "text": "string"
2875
- },
2876
- "default": "'This shortcut is currently unavailable in this context.'"
2877
- },
2878
- {
2879
- "kind": "variable",
2880
- "name": "SHORTCUT_BLOCKED_INPUT_MESSAGE",
2881
- "type": {
2882
- "text": "string"
2883
- },
2884
- "default": "'This shortcut is unavailable while typing in an input field.'"
2885
- },
2886
- {
2887
- "kind": "variable",
2888
- "name": "SHORTCUT_BLOCKED_PAUSED_MESSAGE",
2889
- "type": {
2890
- "text": "string"
2891
- },
2892
- "default": "'Shortcuts are paused.'"
2893
- },
2894
- {
2895
- "kind": "variable",
2896
- "name": "SHORTCUT_BLOCKED_ELEMENT_FOCUS_MESSAGE",
2897
- "type": {
2898
- "text": "string"
2899
- },
2900
- "default": "'This shortcut is unavailable in the current focus context.'"
2901
- },
2902
- {
2903
- "kind": "function",
2904
- "name": "emitShortcutBlockedEvent",
2905
- "return": {
2906
- "type": {
2907
- "text": "void"
2908
- }
2909
- },
2910
- "parameters": [
2911
- {
2912
- "name": "detail",
2913
- "type": {
2914
- "text": "Omit<ShortcutBlockedEventDetail, 'message'> & { message?: string }"
2915
- }
2916
- },
2917
- {
2918
- "name": "target",
2919
- "optional": true,
2920
- "type": {
2921
- "text": "EventTarget | null"
2922
- }
2923
- }
2924
- ]
2925
- }
2926
- ],
2927
- "exports": [
2928
- {
2929
- "kind": "js",
2930
- "name": "SHORTCUT_BLOCKED_EVENT",
2931
- "declaration": {
2932
- "name": "SHORTCUT_BLOCKED_EVENT",
2933
- "module": "src/shortcut-manager/shortcut-events.ts"
2934
- }
2935
- },
2936
- {
2937
- "kind": "js",
2938
- "name": "SHORTCUT_BLOCKED_DEFAULT_MESSAGE",
2939
- "declaration": {
2940
- "name": "SHORTCUT_BLOCKED_DEFAULT_MESSAGE",
2941
- "module": "src/shortcut-manager/shortcut-events.ts"
2942
- }
2943
- },
2944
- {
2945
- "kind": "js",
2946
- "name": "SHORTCUT_BLOCKED_INPUT_MESSAGE",
2947
- "declaration": {
2948
- "name": "SHORTCUT_BLOCKED_INPUT_MESSAGE",
2949
- "module": "src/shortcut-manager/shortcut-events.ts"
2950
- }
2951
- },
2952
- {
2953
- "kind": "js",
2954
- "name": "SHORTCUT_BLOCKED_PAUSED_MESSAGE",
2955
- "declaration": {
2956
- "name": "SHORTCUT_BLOCKED_PAUSED_MESSAGE",
2957
- "module": "src/shortcut-manager/shortcut-events.ts"
2958
- }
2959
- },
2960
- {
2961
- "kind": "js",
2962
- "name": "SHORTCUT_BLOCKED_ELEMENT_FOCUS_MESSAGE",
2963
- "declaration": {
2964
- "name": "SHORTCUT_BLOCKED_ELEMENT_FOCUS_MESSAGE",
2965
- "module": "src/shortcut-manager/shortcut-events.ts"
2966
- }
2967
- },
2968
- {
2969
- "kind": "js",
2970
- "name": "emitShortcutBlockedEvent",
2971
- "declaration": {
2972
- "name": "emitShortcutBlockedEvent",
2973
- "module": "src/shortcut-manager/shortcut-events.ts"
2974
- }
2975
- }
2976
- ]
2977
- },
2978
- {
2979
- "kind": "javascript-module",
2980
- "path": "src/shortcut-manager/shortcut-listener.ts",
2770
+ "path": "src/shortcut-manager/shortcut-listener.ts",
2981
2771
  "declarations": [
2982
2772
  {
2983
2773
  "kind": "class",
@@ -3009,6 +2799,11 @@
3009
2799
  "privacy": "private",
3010
2800
  "default": "false"
3011
2801
  },
2802
+ {
2803
+ "kind": "method",
2804
+ "name": "setupStateSubscription",
2805
+ "privacy": "private"
2806
+ },
3012
2807
  {
3013
2808
  "kind": "method",
3014
2809
  "name": "addKeyListener",
@@ -3050,58 +2845,6 @@
3050
2845
  }
3051
2846
  ]
3052
2847
  },
3053
- {
3054
- "kind": "method",
3055
- "name": "getDeepActiveElement",
3056
- "privacy": "private",
3057
- "return": {
3058
- "type": {
3059
- "text": "Element | null"
3060
- }
3061
- }
3062
- },
3063
- {
3064
- "kind": "method",
3065
- "name": "getEventElement",
3066
- "privacy": "private",
3067
- "return": {
3068
- "type": {
3069
- "text": "Element | null"
3070
- }
3071
- },
3072
- "parameters": [
3073
- {
3074
- "name": "event",
3075
- "type": {
3076
- "text": "KeyboardEvent"
3077
- }
3078
- }
3079
- ]
3080
- },
3081
- {
3082
- "kind": "method",
3083
- "name": "isEditableContext",
3084
- "privacy": "private",
3085
- "return": {
3086
- "type": {
3087
- "text": "boolean"
3088
- }
3089
- },
3090
- "parameters": [
3091
- {
3092
- "name": "event",
3093
- "type": {
3094
- "text": "KeyboardEvent"
3095
- }
3096
- },
3097
- {
3098
- "name": "editableSelector",
3099
- "type": {
3100
- "text": "string"
3101
- }
3102
- }
3103
- ]
3104
- },
3105
2848
  {
3106
2849
  "kind": "method",
3107
2850
  "name": "isInputElement",
@@ -3117,12 +2860,6 @@
3117
2860
  "type": {
3118
2861
  "text": "HTMLElement | null"
3119
2862
  }
3120
- },
3121
- {
3122
- "name": "editableSelector",
3123
- "type": {
3124
- "text": "string"
3125
- }
3126
2863
  }
3127
2864
  ]
3128
2865
  }
@@ -3195,35 +2932,6 @@
3195
2932
  },
3196
2933
  "privacy": "private"
3197
2934
  },
3198
- {
3199
- "kind": "field",
3200
- "name": "executionGuards",
3201
- "privacy": "private",
3202
- "default": "new Map<string, () => ShortcutExecutionStatus | boolean>()"
3203
- },
3204
- {
3205
- "kind": "field",
3206
- "name": "editableContextConfig",
3207
- "type": {
3208
- "text": "Required<ShortcutEditableContextConfig>"
3209
- },
3210
- "privacy": "private",
3211
- "default": "{\n ...DEFAULT_SHORTCUT_EDITABLE_CONTEXT_CONFIG,\n }"
3212
- },
3213
- {
3214
- "kind": "field",
3215
- "name": "editableSelector",
3216
- "privacy": "private"
3217
- },
3218
- {
3219
- "kind": "field",
3220
- "name": "blockedMessageConfig",
3221
- "type": {
3222
- "text": "Required<ShortcutBlockedMessageConfig>"
3223
- },
3224
- "privacy": "private",
3225
- "default": "{\n ...DEFAULT_SHORTCUT_BLOCKED_MESSAGE_CONFIG,\n }"
3226
- },
3227
2935
  {
3228
2936
  "kind": "field",
3229
2937
  "name": "isPaused",
@@ -3336,13 +3044,6 @@
3336
3044
  "type": {
3337
3045
  "text": "string"
3338
3046
  }
3339
- },
3340
- {
3341
- "name": "eventTarget",
3342
- "optional": true,
3343
- "type": {
3344
- "text": "EventTarget | null"
3345
- }
3346
3047
  }
3347
3048
  ]
3348
3049
  },
@@ -3366,13 +3067,6 @@
3366
3067
  "type": {
3367
3068
  "text": "string"
3368
3069
  }
3369
- },
3370
- {
3371
- "name": "eventTarget",
3372
- "optional": true,
3373
- "type": {
3374
- "text": "EventTarget | null"
3375
- }
3376
3070
  }
3377
3071
  ]
3378
3072
  },
@@ -3505,118 +3199,6 @@
3505
3199
  }
3506
3200
  }
3507
3201
  },
3508
- {
3509
- "kind": "method",
3510
- "name": "registerExecutionGuard",
3511
- "return": {
3512
- "type": {
3513
- "text": "void"
3514
- }
3515
- },
3516
- "parameters": [
3517
- {
3518
- "name": "id",
3519
- "type": {
3520
- "text": "string"
3521
- }
3522
- },
3523
- {
3524
- "name": "guard",
3525
- "type": {
3526
- "text": "() => ShortcutExecutionStatus | boolean"
3527
- }
3528
- }
3529
- ]
3530
- },
3531
- {
3532
- "kind": "method",
3533
- "name": "unregisterExecutionGuard",
3534
- "return": {
3535
- "type": {
3536
- "text": "void"
3537
- }
3538
- },
3539
- "parameters": [
3540
- {
3541
- "name": "id",
3542
- "type": {
3543
- "text": "string"
3544
- }
3545
- }
3546
- ]
3547
- },
3548
- {
3549
- "kind": "method",
3550
- "name": "clearExecutionGuards",
3551
- "return": {
3552
- "type": {
3553
- "text": "void"
3554
- }
3555
- }
3556
- },
3557
- {
3558
- "kind": "method",
3559
- "name": "configureEditableContext",
3560
- "return": {
3561
- "type": {
3562
- "text": "void"
3563
- }
3564
- },
3565
- "parameters": [
3566
- {
3567
- "name": "config",
3568
- "default": "{}",
3569
- "type": {
3570
- "text": "ShortcutEditableContextConfig"
3571
- }
3572
- }
3573
- ]
3574
- },
3575
- {
3576
- "kind": "method",
3577
- "name": "getEditableContextConfig",
3578
- "return": {
3579
- "type": {
3580
- "text": "Required<ShortcutEditableContextConfig>"
3581
- }
3582
- }
3583
- },
3584
- {
3585
- "kind": "method",
3586
- "name": "getEditableSelector",
3587
- "return": {
3588
- "type": {
3589
- "text": "string"
3590
- }
3591
- }
3592
- },
3593
- {
3594
- "kind": "method",
3595
- "name": "configureBlockedMessages",
3596
- "return": {
3597
- "type": {
3598
- "text": "void"
3599
- }
3600
- },
3601
- "parameters": [
3602
- {
3603
- "name": "config",
3604
- "default": "{}",
3605
- "type": {
3606
- "text": "ShortcutBlockedMessageConfig"
3607
- }
3608
- }
3609
- ]
3610
- },
3611
- {
3612
- "kind": "method",
3613
- "name": "getBlockedMessages",
3614
- "return": {
3615
- "type": {
3616
- "text": "Required<ShortcutBlockedMessageConfig>"
3617
- }
3618
- }
3619
- },
3620
3202
  {
3621
3203
  "kind": "method",
3622
3204
  "name": "pause",
@@ -3705,44 +3287,6 @@
3705
3287
  }
3706
3288
  }
3707
3289
  ]
3708
- },
3709
- {
3710
- "kind": "method",
3711
- "name": "getExecutionStatus",
3712
- "privacy": "private",
3713
- "return": {
3714
- "type": {
3715
- "text": "ShortcutExecutionStatus"
3716
- }
3717
- },
3718
- "parameters": [
3719
- {
3720
- "name": "shortcut",
3721
- "type": {
3722
- "text": "ShortcutDefinition"
3723
- }
3724
- }
3725
- ]
3726
- },
3727
- {
3728
- "kind": "method",
3729
- "name": "getExecutionGuardStatus",
3730
- "privacy": "private",
3731
- "return": {
3732
- "type": {
3733
- "text": "ShortcutExecutionStatus"
3734
- }
3735
- }
3736
- },
3737
- {
3738
- "kind": "method",
3739
- "name": "refreshEditableSelector",
3740
- "privacy": "private",
3741
- "return": {
3742
- "type": {
3743
- "text": "void"
3744
- }
3745
- }
3746
3290
  }
3747
3291
  ]
3748
3292
  },
@@ -4764,160 +4308,6 @@
4764
4308
  }
4765
4309
  ]
4766
4310
  },
4767
- {
4768
- "kind": "javascript-module",
4769
- "path": "src/directives/sync/index.ts",
4770
- "declarations": [],
4771
- "exports": [
4772
- {
4773
- "kind": "js",
4774
- "name": "*",
4775
- "declaration": {
4776
- "name": "*",
4777
- "package": "./sync"
4778
- }
4779
- }
4780
- ]
4781
- },
4782
- {
4783
- "kind": "javascript-module",
4784
- "path": "src/directives/sync/sync.ts",
4785
- "declarations": [
4786
- {
4787
- "kind": "variable",
4788
- "name": "defaultEventMap",
4789
- "type": {
4790
- "text": "Map<string, EventName>"
4791
- },
4792
- "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])",
4793
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4794
- "privacy": "public"
4795
- },
4796
- {
4797
- "kind": "function",
4798
- "name": "sync",
4799
- "return": {
4800
- "type": {
4801
- "text": "CaptureType<TSource>"
4802
- }
4803
- },
4804
- "parameters": [
4805
- {
4806
- "name": "binding",
4807
- "type": {
4808
- "text": "Binding<TSource, TReturn>"
4809
- }
4810
- },
4811
- {
4812
- "name": "conversionType",
4813
- "default": "'string'",
4814
- "type": {
4815
- "text": "ConversionType"
4816
- }
4817
- },
4818
- {
4819
- "name": "eventName",
4820
- "default": "'default'",
4821
- "type": {
4822
- "text": "EventName"
4823
- }
4824
- },
4825
- {
4826
- "name": "keyAttr",
4827
- "optional": true,
4828
- "type": {
4829
- "text": "string"
4830
- }
4831
- }
4832
- ],
4833
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4834
- "privacy": "public"
4835
- }
4836
- ],
4837
- "exports": [
4838
- {
4839
- "kind": "js",
4840
- "name": "defaultEventMap",
4841
- "declaration": {
4842
- "name": "defaultEventMap",
4843
- "module": "src/directives/sync/sync.ts"
4844
- }
4845
- },
4846
- {
4847
- "kind": "js",
4848
- "name": "sync",
4849
- "declaration": {
4850
- "name": "sync",
4851
- "module": "src/directives/sync/sync.ts"
4852
- }
4853
- }
4854
- ]
4855
- },
4856
- {
4857
- "kind": "javascript-module",
4858
- "path": "src/directives/when-else/index.ts",
4859
- "declarations": [],
4860
- "exports": [
4861
- {
4862
- "kind": "js",
4863
- "name": "*",
4864
- "declaration": {
4865
- "name": "*",
4866
- "package": "./when-else"
4867
- }
4868
- }
4869
- ]
4870
- },
4871
- {
4872
- "kind": "javascript-module",
4873
- "path": "src/directives/when-else/when-else.ts",
4874
- "declarations": [
4875
- {
4876
- "kind": "function",
4877
- "name": "whenElse",
4878
- "return": {
4879
- "type": {
4880
- "text": "CaptureType<TSource>"
4881
- }
4882
- },
4883
- "parameters": [
4884
- {
4885
- "name": "binding",
4886
- "type": {
4887
- "text": "Binding<TSource, TReturn>"
4888
- },
4889
- "description": "The condition to test for rendering."
4890
- },
4891
- {
4892
- "name": "trueTemplateOrTemplateBinding",
4893
- "type": {
4894
- "text": "WhenTemplate<TSource>"
4895
- },
4896
- "description": "The template or a binding that gets the template to render when the condition is true."
4897
- },
4898
- {
4899
- "name": "falseTemplateOrTemplateBinding",
4900
- "type": {
4901
- "text": "WhenTemplate<TSource>"
4902
- },
4903
- "description": "The template or a binding that gets the template to render when the condition is false."
4904
- }
4905
- ],
4906
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4907
- "privacy": "public"
4908
- }
4909
- ],
4910
- "exports": [
4911
- {
4912
- "kind": "js",
4913
- "name": "whenElse",
4914
- "declaration": {
4915
- "name": "whenElse",
4916
- "module": "src/directives/when-else/when-else.ts"
4917
- }
4918
- }
4919
- ]
4920
- },
4921
4311
  {
4922
4312
  "kind": "javascript-module",
4923
4313
  "path": "src/encoding/base64/decode.ts",
@@ -5072,6 +4462,160 @@
5072
4462
  }
5073
4463
  ]
5074
4464
  },
4465
+ {
4466
+ "kind": "javascript-module",
4467
+ "path": "src/directives/sync/index.ts",
4468
+ "declarations": [],
4469
+ "exports": [
4470
+ {
4471
+ "kind": "js",
4472
+ "name": "*",
4473
+ "declaration": {
4474
+ "name": "*",
4475
+ "package": "./sync"
4476
+ }
4477
+ }
4478
+ ]
4479
+ },
4480
+ {
4481
+ "kind": "javascript-module",
4482
+ "path": "src/directives/sync/sync.ts",
4483
+ "declarations": [
4484
+ {
4485
+ "kind": "variable",
4486
+ "name": "defaultEventMap",
4487
+ "type": {
4488
+ "text": "Map<string, EventName>"
4489
+ },
4490
+ "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])",
4491
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4492
+ "privacy": "public"
4493
+ },
4494
+ {
4495
+ "kind": "function",
4496
+ "name": "sync",
4497
+ "return": {
4498
+ "type": {
4499
+ "text": "CaptureType<TSource>"
4500
+ }
4501
+ },
4502
+ "parameters": [
4503
+ {
4504
+ "name": "binding",
4505
+ "type": {
4506
+ "text": "Binding<TSource, TReturn>"
4507
+ }
4508
+ },
4509
+ {
4510
+ "name": "conversionType",
4511
+ "default": "'string'",
4512
+ "type": {
4513
+ "text": "ConversionType"
4514
+ }
4515
+ },
4516
+ {
4517
+ "name": "eventName",
4518
+ "default": "'default'",
4519
+ "type": {
4520
+ "text": "EventName"
4521
+ }
4522
+ },
4523
+ {
4524
+ "name": "keyAttr",
4525
+ "optional": true,
4526
+ "type": {
4527
+ "text": "string"
4528
+ }
4529
+ }
4530
+ ],
4531
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4532
+ "privacy": "public"
4533
+ }
4534
+ ],
4535
+ "exports": [
4536
+ {
4537
+ "kind": "js",
4538
+ "name": "defaultEventMap",
4539
+ "declaration": {
4540
+ "name": "defaultEventMap",
4541
+ "module": "src/directives/sync/sync.ts"
4542
+ }
4543
+ },
4544
+ {
4545
+ "kind": "js",
4546
+ "name": "sync",
4547
+ "declaration": {
4548
+ "name": "sync",
4549
+ "module": "src/directives/sync/sync.ts"
4550
+ }
4551
+ }
4552
+ ]
4553
+ },
4554
+ {
4555
+ "kind": "javascript-module",
4556
+ "path": "src/directives/when-else/index.ts",
4557
+ "declarations": [],
4558
+ "exports": [
4559
+ {
4560
+ "kind": "js",
4561
+ "name": "*",
4562
+ "declaration": {
4563
+ "name": "*",
4564
+ "package": "./when-else"
4565
+ }
4566
+ }
4567
+ ]
4568
+ },
4569
+ {
4570
+ "kind": "javascript-module",
4571
+ "path": "src/directives/when-else/when-else.ts",
4572
+ "declarations": [
4573
+ {
4574
+ "kind": "function",
4575
+ "name": "whenElse",
4576
+ "return": {
4577
+ "type": {
4578
+ "text": "CaptureType<TSource>"
4579
+ }
4580
+ },
4581
+ "parameters": [
4582
+ {
4583
+ "name": "binding",
4584
+ "type": {
4585
+ "text": "Binding<TSource, TReturn>"
4586
+ },
4587
+ "description": "The condition to test for rendering."
4588
+ },
4589
+ {
4590
+ "name": "trueTemplateOrTemplateBinding",
4591
+ "type": {
4592
+ "text": "WhenTemplate<TSource>"
4593
+ },
4594
+ "description": "The template or a binding that gets the template to render when the condition is true."
4595
+ },
4596
+ {
4597
+ "name": "falseTemplateOrTemplateBinding",
4598
+ "type": {
4599
+ "text": "WhenTemplate<TSource>"
4600
+ },
4601
+ "description": "The template or a binding that gets the template to render when the condition is false."
4602
+ }
4603
+ ],
4604
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4605
+ "privacy": "public"
4606
+ }
4607
+ ],
4608
+ "exports": [
4609
+ {
4610
+ "kind": "js",
4611
+ "name": "whenElse",
4612
+ "declaration": {
4613
+ "name": "whenElse",
4614
+ "module": "src/directives/when-else/when-else.ts"
4615
+ }
4616
+ }
4617
+ ]
4618
+ },
5075
4619
  {
5076
4620
  "kind": "javascript-module",
5077
4621
  "path": "src/mappers/dto/index.ts",