@symbiote-native/angular 0.8.0 → 2.0.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.
Files changed (256) hide show
  1. package/README.md +13 -10
  2. package/babel-register-composed.cjs +58 -18
  3. package/bin/symbiote-angular-dev.cjs +16 -4
  4. package/build/angular/anchor-host-registry.js +1 -15
  5. package/build/angular/anchor-host-registry.js.map +1 -1
  6. package/build/angular/change-detection-flush.d.ts +31 -0
  7. package/build/angular/change-detection-flush.js +110 -0
  8. package/build/angular/change-detection-flush.js.map +1 -0
  9. package/build/angular/components/activity-indicator-props.d.ts +2 -0
  10. package/build/angular/components/activity-indicator-props.js +2 -0
  11. package/build/angular/components/activity-indicator-props.js.map +1 -0
  12. package/build/angular/components/button-props.d.ts +2 -0
  13. package/build/angular/components/button-props.js +2 -0
  14. package/build/angular/components/button-props.js.map +1 -0
  15. package/build/angular/components/flat-list/index.d.ts +2 -1
  16. package/build/angular/components/flat-list/index.js +22 -10
  17. package/build/angular/components/flat-list/index.js.map +1 -1
  18. package/build/angular/components/image-background-props.d.ts +6 -0
  19. package/build/angular/components/image-background-props.js +2 -0
  20. package/build/angular/components/image-background-props.js.map +1 -0
  21. package/build/angular/components/{image/shared.d.ts → image-shared.d.ts} +4 -4
  22. package/build/angular/components/{image/shared.js → image-shared.js} +39 -28
  23. package/build/angular/components/image-shared.js.map +1 -0
  24. package/build/angular/components/input-accessory-view-props.d.ts +7 -0
  25. package/build/angular/components/input-accessory-view-props.js +9 -0
  26. package/build/angular/components/input-accessory-view-props.js.map +1 -0
  27. package/build/angular/components/keyboard-avoiding-view/index.d.ts +2 -1
  28. package/build/angular/components/keyboard-avoiding-view/index.js +28 -27
  29. package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
  30. package/build/angular/components/modal/index.d.ts +2 -0
  31. package/build/angular/components/modal/index.js +33 -20
  32. package/build/angular/components/modal/index.js.map +1 -1
  33. package/build/angular/components/pressable-props.d.ts +32 -0
  34. package/build/angular/components/pressable-props.js +11 -0
  35. package/build/angular/components/pressable-props.js.map +1 -0
  36. package/build/angular/components/refresh-control-props.d.ts +16 -0
  37. package/build/angular/components/refresh-control-props.js +14 -0
  38. package/build/angular/components/refresh-control-props.js.map +1 -0
  39. package/build/angular/components/safe-area-view-props.d.ts +7 -0
  40. package/build/angular/components/safe-area-view-props.js +11 -0
  41. package/build/angular/components/safe-area-view-props.js.map +1 -0
  42. package/build/angular/components/scroll-view-props.d.ts +76 -0
  43. package/build/angular/components/scroll-view-props.js +18 -0
  44. package/build/angular/components/scroll-view-props.js.map +1 -0
  45. package/build/angular/components/section-list/index.d.ts +3 -0
  46. package/build/angular/components/section-list/index.js +10 -1
  47. package/build/angular/components/section-list/index.js.map +1 -1
  48. package/build/angular/components/text-input-props.d.ts +45 -0
  49. package/build/angular/components/text-input-props.js +18 -0
  50. package/build/angular/components/text-input-props.js.map +1 -0
  51. package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.d.ts +6 -0
  52. package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js +2 -0
  53. package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js.map +1 -0
  54. package/build/angular/components/touchable-props.d.ts +14 -0
  55. package/build/angular/components/touchable-props.js +13 -0
  56. package/build/angular/components/touchable-props.js.map +1 -0
  57. package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.d.ts +3 -0
  58. package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js +2 -0
  59. package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js.map +1 -0
  60. package/build/angular/components/virtualized-list/index.d.ts +8 -1
  61. package/build/angular/components/virtualized-list/index.js +373 -278
  62. package/build/angular/components/virtualized-list/index.js.map +1 -1
  63. package/build/angular/components/virtualized-section-list/index.d.ts +3 -0
  64. package/build/angular/components/virtualized-section-list/index.js +10 -1
  65. package/build/angular/components/virtualized-section-list/index.js.map +1 -1
  66. package/build/angular/components.d.ts +21 -27
  67. package/build/angular/components.js +13 -15
  68. package/build/angular/components.js.map +1 -1
  69. package/build/angular/create-portal/index.d.ts +11 -2
  70. package/build/angular/create-portal/index.js +37 -11
  71. package/build/angular/create-portal/index.js.map +1 -1
  72. package/build/angular/create-tunnel/index.js +1 -1
  73. package/build/angular/element-props.d.ts +53 -0
  74. package/build/angular/element-props.js +2 -0
  75. package/build/angular/element-props.js.map +1 -0
  76. package/build/angular/elements.d.ts +528 -0
  77. package/build/angular/elements.js +1444 -0
  78. package/build/angular/elements.js.map +1 -0
  79. package/build/angular/gate-demand.d.ts +37 -0
  80. package/build/angular/gate-demand.js +84 -0
  81. package/build/angular/gate-demand.js.map +1 -0
  82. package/build/angular/host-instance/index.js +1 -1
  83. package/build/angular/index.d.ts +5 -2
  84. package/build/angular/index.js +16 -1
  85. package/build/angular/index.js.map +1 -1
  86. package/build/angular/modules/animated/create-animated-component.d.ts +6 -6
  87. package/build/angular/modules/animated/create-animated-component.js +73 -81
  88. package/build/angular/modules/animated/create-animated-component.js.map +1 -1
  89. package/build/angular/modules/animated/index.js +1 -1
  90. package/build/angular/modules/animated/index.js.map +1 -1
  91. package/build/angular/modules/image/index.d.ts +3 -0
  92. package/build/angular/modules/image/index.js +16 -0
  93. package/build/angular/modules/image/index.js.map +1 -0
  94. package/build/angular/primitives/index.d.ts +28 -16
  95. package/build/angular/primitives/index.js +77 -31
  96. package/build/angular/primitives/index.js.map +1 -1
  97. package/build/angular/primitives/shared.d.ts +2 -3
  98. package/build/angular/primitives/shared.js +8 -53
  99. package/build/angular/primitives/shared.js.map +1 -1
  100. package/build/angular/register.d.ts +1 -0
  101. package/build/angular/register.js +16 -0
  102. package/build/angular/register.js.map +1 -0
  103. package/build/angular/render/index.js +4 -2
  104. package/build/angular/render/index.js.map +1 -1
  105. package/build/angular/renderer/index.js +207 -60
  106. package/build/angular/renderer/index.js.map +1 -1
  107. package/build/angular/renderer/value-change.d.ts +2 -0
  108. package/build/angular/renderer/value-change.js +9 -0
  109. package/build/angular/renderer/value-change.js.map +1 -0
  110. package/metro-config.cjs +23 -5
  111. package/metro-css-parser.cjs +2 -1
  112. package/package.json +17 -7
  113. package/src/anchor-host-registry.ts +1 -15
  114. package/src/change-detection-flush.ts +120 -0
  115. package/src/components/activity-indicator-props.ts +21 -0
  116. package/src/components/button-props.ts +26 -0
  117. package/src/components/flat-list/index.ts +12 -4
  118. package/src/components/image-background-props.ts +24 -0
  119. package/src/components/{image/shared.ts → image-shared.ts} +57 -26
  120. package/src/components/input-accessory-view-props.ts +21 -0
  121. package/src/components/keyboard-avoiding-view/index.ts +27 -16
  122. package/src/components/modal/index.ts +32 -11
  123. package/src/components/pressable-props.ts +73 -0
  124. package/src/components/refresh-control-props.ts +43 -0
  125. package/src/components/safe-area-view-props.ts +28 -0
  126. package/src/components/scroll-view-props.ts +109 -0
  127. package/src/components/section-list/index.ts +18 -0
  128. package/src/components/text-input-props.ts +72 -0
  129. package/src/components/touchable-native-feedback/touchable-native-feedback-props.ts +23 -0
  130. package/src/components/touchable-props.ts +30 -0
  131. package/src/components/touchable-without-feedback/touchable-without-feedback-props.ts +21 -0
  132. package/src/components/virtualized-list/index.ts +254 -153
  133. package/src/components/virtualized-section-list/index.ts +18 -0
  134. package/src/components.ts +86 -35
  135. package/src/create-portal/index.ts +39 -9
  136. package/src/create-tunnel/index.ts +1 -1
  137. package/src/diagnostics.ts +1 -1
  138. package/src/element-props.ts +90 -0
  139. package/src/elements.ts +919 -0
  140. package/src/gate-demand.ts +109 -0
  141. package/src/host-instance/index.ts +1 -1
  142. package/src/index.ts +54 -15
  143. package/src/modules/animated/create-animated-component.ts +73 -59
  144. package/src/modules/animated/index.ts +1 -1
  145. package/src/modules/image/index.ts +18 -0
  146. package/src/primitives/index.ts +47 -16
  147. package/src/primitives/shared.ts +11 -44
  148. package/src/register.ts +15 -0
  149. package/src/render/index.ts +4 -2
  150. package/src/renderer/index.ts +239 -80
  151. package/src/renderer/value-change.ts +8 -0
  152. package/build/angular/components/activity-indicator/index.android.d.ts +0 -13
  153. package/build/angular/components/activity-indicator/index.android.js +0 -29
  154. package/build/angular/components/activity-indicator/index.android.js.map +0 -1
  155. package/build/angular/components/activity-indicator/index.d.ts +0 -1
  156. package/build/angular/components/activity-indicator/index.ios.d.ts +0 -9
  157. package/build/angular/components/activity-indicator/index.ios.js +0 -26
  158. package/build/angular/components/activity-indicator/index.ios.js.map +0 -1
  159. package/build/angular/components/activity-indicator/index.js +0 -4
  160. package/build/angular/components/activity-indicator/index.js.map +0 -1
  161. package/build/angular/components/activity-indicator/shared.d.ts +0 -67
  162. package/build/angular/components/activity-indicator/shared.js +0 -260
  163. package/build/angular/components/activity-indicator/shared.js.map +0 -1
  164. package/build/angular/components/button.d.ts +0 -65
  165. package/build/angular/components/button.js +0 -351
  166. package/build/angular/components/button.js.map +0 -1
  167. package/build/angular/components/image/index.android.d.ts +0 -15
  168. package/build/angular/components/image/index.android.js +0 -91
  169. package/build/angular/components/image/index.android.js.map +0 -1
  170. package/build/angular/components/image/index.d.ts +0 -1
  171. package/build/angular/components/image/index.ios.d.ts +0 -15
  172. package/build/angular/components/image/index.ios.js +0 -91
  173. package/build/angular/components/image/index.ios.js.map +0 -1
  174. package/build/angular/components/image/index.js +0 -3
  175. package/build/angular/components/image/index.js.map +0 -1
  176. package/build/angular/components/image/shared.js.map +0 -1
  177. package/build/angular/components/image-background.d.ts +0 -82
  178. package/build/angular/components/image-background.js +0 -434
  179. package/build/angular/components/image-background.js.map +0 -1
  180. package/build/angular/components/input-accessory-view/index.d.ts +0 -65
  181. package/build/angular/components/input-accessory-view/index.js +0 -290
  182. package/build/angular/components/input-accessory-view/index.js.map +0 -1
  183. package/build/angular/components/pressable/index.d.ts +0 -129
  184. package/build/angular/components/pressable/index.js +0 -473
  185. package/build/angular/components/pressable/index.js.map +0 -1
  186. package/build/angular/components/refresh-control/index.d.ts +0 -90
  187. package/build/angular/components/refresh-control/index.js +0 -380
  188. package/build/angular/components/refresh-control/index.js.map +0 -1
  189. package/build/angular/components/safe-area-view/index.d.ts +0 -62
  190. package/build/angular/components/safe-area-view/index.js +0 -287
  191. package/build/angular/components/safe-area-view/index.js.map +0 -1
  192. package/build/angular/components/scroll-view/index.android.d.ts +0 -20
  193. package/build/angular/components/scroll-view/index.android.js +0 -262
  194. package/build/angular/components/scroll-view/index.android.js.map +0 -1
  195. package/build/angular/components/scroll-view/index.d.ts +0 -3
  196. package/build/angular/components/scroll-view/index.ios.d.ts +0 -8
  197. package/build/angular/components/scroll-view/index.ios.js +0 -92
  198. package/build/angular/components/scroll-view/index.ios.js.map +0 -1
  199. package/build/angular/components/scroll-view/index.js +0 -6
  200. package/build/angular/components/scroll-view/index.js.map +0 -1
  201. package/build/angular/components/scroll-view/projection.d.ts +0 -67
  202. package/build/angular/components/scroll-view/projection.js +0 -560
  203. package/build/angular/components/scroll-view/projection.js.map +0 -1
  204. package/build/angular/components/scroll-view/shared.d.ts +0 -239
  205. package/build/angular/components/scroll-view/shared.js +0 -832
  206. package/build/angular/components/scroll-view/shared.js.map +0 -1
  207. package/build/angular/components/scroll-view/sticky-header.d.ts +0 -40
  208. package/build/angular/components/scroll-view/sticky-header.js +0 -224
  209. package/build/angular/components/scroll-view/sticky-header.js.map +0 -1
  210. package/build/angular/components/switch/index.android.d.ts +0 -24
  211. package/build/angular/components/switch/index.android.js +0 -112
  212. package/build/angular/components/switch/index.android.js.map +0 -1
  213. package/build/angular/components/switch/index.d.ts +0 -1
  214. package/build/angular/components/switch/index.ios.d.ts +0 -23
  215. package/build/angular/components/switch/index.ios.js +0 -111
  216. package/build/angular/components/switch/index.ios.js.map +0 -1
  217. package/build/angular/components/switch/index.js +0 -4
  218. package/build/angular/components/switch/index.js.map +0 -1
  219. package/build/angular/components/switch/shared.d.ts +0 -49
  220. package/build/angular/components/switch/shared.js +0 -191
  221. package/build/angular/components/switch/shared.js.map +0 -1
  222. package/build/angular/components/text-input.d.ts +0 -161
  223. package/build/angular/components/text-input.js +0 -659
  224. package/build/angular/components/text-input.js.map +0 -1
  225. package/build/angular/components/touchable/index.d.ts +0 -276
  226. package/build/angular/components/touchable/index.js +0 -1422
  227. package/build/angular/components/touchable/index.js.map +0 -1
  228. package/build/angular/components/touchable-native-feedback/index.d.ts +0 -86
  229. package/build/angular/components/touchable-native-feedback/index.js +0 -407
  230. package/build/angular/components/touchable-native-feedback/index.js.map +0 -1
  231. package/src/components/activity-indicator/index.android.ts +0 -23
  232. package/src/components/activity-indicator/index.ios.ts +0 -21
  233. package/src/components/activity-indicator/index.ts +0 -4
  234. package/src/components/activity-indicator/shared.ts +0 -225
  235. package/src/components/button.ts +0 -220
  236. package/src/components/image/index.android.ts +0 -99
  237. package/src/components/image/index.ios.ts +0 -99
  238. package/src/components/image/index.ts +0 -3
  239. package/src/components/image-background.ts +0 -290
  240. package/src/components/input-accessory-view/index.ts +0 -240
  241. package/src/components/pressable/index.ts +0 -462
  242. package/src/components/refresh-control/index.ts +0 -340
  243. package/src/components/safe-area-view/index.ts +0 -231
  244. package/src/components/scroll-view/index.android.ts +0 -205
  245. package/src/components/scroll-view/index.ios.ts +0 -81
  246. package/src/components/scroll-view/index.ts +0 -7
  247. package/src/components/scroll-view/projection.ts +0 -713
  248. package/src/components/scroll-view/shared.ts +0 -1066
  249. package/src/components/scroll-view/sticky-header.ts +0 -267
  250. package/src/components/switch/index.android.ts +0 -113
  251. package/src/components/switch/index.ios.ts +0 -112
  252. package/src/components/switch/index.ts +0 -4
  253. package/src/components/switch/shared.ts +0 -284
  254. package/src/components/text-input.ts +0 -613
  255. package/src/components/touchable/index.ts +0 -913
  256. package/src/components/touchable-native-feedback/index.ts +0 -317
@@ -1,659 +0,0 @@
1
- // TextInput, the Angular lifecycle half. The folds/maps (value->text, the W3C/alias resolution)
2
- // and the controlled-write predicate live in @symbiote-native/components/state, the render (intrinsic
3
- // + native-prop mapping) in @symbiote-native/components/view, both shared verbatim with the React and
4
- // Vue adapters. Here Angular supplies only the lifecycle: renderTextInput picks ONE of two host
5
- // intrinsics at runtime (symbiote-text-input / symbiote-text-input-multiline) via `@if`/`@else`,
6
- // each wired through the shared `SymbioteHostPropsDirective` (`[symbioteHostProps]="hostProps"`,
7
- // `../primitives/shared.ts`) so the flat resolved prop bag doesn't need enumerating as individual
8
- // `[prop]` bindings; a @ViewChild reading that directive (by its `#host` template ref, across
9
- // either branch) exposes `.node` — the host BY IDENTITY (so imperative commands hit the engine's
10
- // WeakMap mirror). A plain field holds the acknowledged event count, ngOnChanges runs the
11
- // controlled-write command, ngAfterViewInit drives the mount autoFocus, and the class itself is
12
- // the imperative handle (ITextInputHandle). The Angular twin of React's useRef/useState +
13
- // useLayoutEffect + useImperativeHandle and Vue's shallowRef + watch(flush:'post') + expose().
14
- //
15
- // Two Angular-specific seams. (1) Events: Angular forbids [onX] property bindings, so the host's
16
- // change/focus/blur + the remaining native events ride the structural (event) channel and route
17
- // to real @Output() EventEmitters (valueChange is DERIVED from change, never a native event —
18
- // React/Vue fold both into one onValueChange(text, event) callback, but Angular's EventEmitter
19
- // only carries one value, so valueChange stays text-only to keep [(value)] banana-in-a-box
20
- // working; `change` stays a second, separate @Output() for the raw event). The
21
- // non-function props travel the flat-bag path via the host-props directive. (2) Commit timing:
22
- // Angular's change detection is async/batched (zoneless), so a native command wired at lifecycle
23
- // time has no Fabric tag yet; the controlled write + autoFocus defer through whenCommitted, the
24
- // same gotcha Vue hits. The controlled handshake hinges on commanding native back with the
25
- // ACKNOWLEDGED event count (setTextAndSelection), never a plain prop re-push — see
26
- // @symbiote-native/components/state/text-input.
27
- import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, inject, Input, Output, ViewChild, } from '@angular/core';
28
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
29
- import { foldText, eventCountFromChange, textFromChange, shouldCommandText, renderTextInput, resolveAccessibilityProps, resolveTextInputProps, INITIAL_EVENT_COUNT, SELECTION_NONE, } from '@symbiote-native/components';
30
- import { blurTextInput, dispatchViewCommand, dlog, isSymbioteEvent, isSymbioteNode, setInputBlurred, setInputFocused, whenCommitted, } from '@symbiote-native/engine';
31
- import { anchorHostStyle, MultilineTextInputHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, TextInputHost, } from '../primitives';
32
- import * as i0 from "@angular/core";
33
- import * as i1 from "../primitives/shared";
34
- export class TextInput {
35
- value;
36
- defaultValue;
37
- placeholder;
38
- placeholderTextColor;
39
- editable;
40
- keyboardType;
41
- secureTextEntry;
42
- maxLength;
43
- multiline;
44
- selection;
45
- autoCapitalize;
46
- autoCorrect;
47
- autoComplete;
48
- textContentType;
49
- autoFocus;
50
- showSoftInputOnFocus;
51
- returnKeyType;
52
- selectTextOnFocus;
53
- scrollEnabled;
54
- numberOfLines;
55
- textAlign;
56
- blurOnSubmit;
57
- inputMode;
58
- enterKeyHint;
59
- readOnly;
60
- submitBehavior;
61
- cursorColor;
62
- selectionColor;
63
- selectionHandleColor;
64
- underlineColorAndroid;
65
- inputAccessoryViewID;
66
- style;
67
- testID;
68
- nativeID;
69
- // The event lifecycle as real Angular events: `(valueChange)="onText($event)"`, not
70
- // `[onValueChange]="onText"`. `focus`/`blur` collide with this same class's OWN imperative
71
- // `focus()`/`blur()` handle methods (ITextInputHandle — the RN ref API a parent calls via
72
- // `@ViewChild(TextInput)`), so those two alias their public @Output() binding name back to
73
- // `focus`/`blur` while the class member itself is named `focusEvent`/`blurEvent` — the same
74
- // `@Output(bindingName) memberName` alias this file already uses for `@Input('aria-label')`.
75
- // `value`/`valueChange` names match Switch/Slider exactly, so `[(value)]="text"` (banana-in-a-box)
76
- // works here too — see `valueChange`'s single-arg (text-only) signature above.
77
- valueChange = new EventEmitter();
78
- change = new EventEmitter();
79
- focusEvent = new EventEmitter();
80
- blurEvent = new EventEmitter();
81
- endEditing = new EventEmitter();
82
- submitEditing = new EventEmitter();
83
- keyPress = new EventEmitter();
84
- selectionChange = new EventEmitter();
85
- contentSizeChange = new EventEmitter();
86
- accessibilityAction = new EventEmitter();
87
- accessibilityTap = new EventEmitter();
88
- magicTap = new EventEmitter();
89
- accessibilityEscape = new EventEmitter();
90
- accessible;
91
- accessibilityLabel;
92
- accessibilityHint;
93
- accessibilityRole;
94
- accessibilityState;
95
- accessibilityValue;
96
- accessibilityActions;
97
- accessibilityLabelledBy;
98
- importantForAccessibility;
99
- accessibilityLiveRegion;
100
- screenReaderFocusable;
101
- accessibilityViewIsModal;
102
- accessibilityElementsHidden;
103
- accessibilityIgnoresInvertColors;
104
- accessibilityLanguage;
105
- accessibilityRespondsToUserInteraction;
106
- accessibilityShowsLargeContentViewer;
107
- accessibilityLargeContentTitle;
108
- role;
109
- ariaLabel;
110
- ariaLabelledBy;
111
- ariaLive;
112
- ariaHidden;
113
- ariaBusy;
114
- ariaChecked;
115
- ariaDisabled;
116
- ariaExpanded;
117
- ariaSelected;
118
- hostRef;
119
- // This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
120
- // onto (see anchorHostStyle's doc comment) — NOT `hostRef` above, which targets the real inner
121
- // symbiote-text-input(-multiline) one level down.
122
- elementRef = inject(ElementRef);
123
- // Only setDisabledState() needs this: it mutates `editable` from OUTSIDE Angular's own binding
124
- // path (@angular/forms calling in directly), which doesn't itself schedule a tick under zoneless CD.
125
- changeDetector = inject(ChangeDetectorRef);
126
- // The count native last acknowledged; the controlled write / clear / setSelection echo it so
127
- // native's eventLag lands on 0 and the write applies. A plain field (read live by the imperative
128
- // handle), the Angular twin of React's useState / Vue's ref.
129
- mostRecentEventCount = INITIAL_EVENT_COUNT;
130
- // The last text native holds, as far as JS knows. Seeded on the first `value` change (the `text`
131
- // prop already carries the mount value down via createNode, so the FIRST controlled value is not
132
- // a divergence and must NOT re-command); later divergences flow through setTextAndSelection.
133
- lastNativeText;
134
- // JS-side focus state, mirrored from the focus/blur events for isFocused(): native exposes no
135
- // synchronous focus getter (RN's TextInputState holds the same).
136
- focused = false;
137
- cancelAutoFocus;
138
- // Mirrors SimpleChange.firstChange for the writeValue() path below (@angular/forms' own initial
139
- // write, distinct from ngOnChanges' firstChange, which never fires for a forms-driven write).
140
- isFirstFormWrite = true;
141
- get isMultiline() {
142
- return this.multiline === true;
143
- }
144
- get hostProps() {
145
- return renderTextInput({
146
- multiline: this.isMultiline,
147
- text: foldText(this.value, this.defaultValue),
148
- mostRecentEventCount: this.mostRecentEventCount,
149
- selection: this.selection,
150
- folded: this.foldedNativeProps,
151
- passthrough: this.buildPassthrough(),
152
- }).props;
153
- }
154
- ngOnChanges(changes) {
155
- const valueChange = changes['value'];
156
- if (valueChange === undefined)
157
- return;
158
- if (valueChange.firstChange) {
159
- // The initial value already reached native via createNode's hostProps — seed
160
- // lastNativeText instead of re-commanding it (see commitControlledValue's own comment on
161
- // why a redundant re-push isn't just wasteful — it can race a keystroke).
162
- this.lastNativeText = foldText(this.value, this.defaultValue);
163
- return;
164
- }
165
- this.commitControlledValue();
166
- }
167
- // ControlValueAccessor — @angular/forms calls these straight into this component, bypassing
168
- // template bindings/ngOnChanges entirely. `isFirstFormWrite` mirrors SimpleChange.firstChange:
169
- // the initial value already reached native via createNode's hostProps, so it must seed
170
- // lastNativeText, not re-command (see commitControlledValue's own comment on why a redundant
171
- // re-push isn't just wasteful — it can race a keystroke).
172
- writeValue(value) {
173
- this.value = value ?? undefined;
174
- if (this.isFirstFormWrite) {
175
- this.isFirstFormWrite = false;
176
- this.lastNativeText = foldText(this.value, this.defaultValue);
177
- return;
178
- }
179
- this.commitControlledValue();
180
- }
181
- registerOnChange(fn) {
182
- this.valueChange.subscribe(fn);
183
- }
184
- registerOnTouched(fn) {
185
- this.blurEvent.subscribe(() => fn());
186
- }
187
- setDisabledState(isDisabled) {
188
- this.editable = !isDisabled;
189
- this.changeDetector.markForCheck();
190
- }
191
- // autoFocus is driven in JS, not as a native prop: once the node is committed, command `focus`
192
- // down once (RN does the same via TextInputState.focusInput). Under Angular's async-batched
193
- // commit the node has no Fabric tag at ngAfterViewInit, so whenCommitted defers the command to
194
- // the commit that assigns the tag; cancelled on destroy so an un-committed pending focus leaks.
195
- ngAfterViewInit() {
196
- if (this.autoFocus !== true)
197
- return;
198
- const node = this.hostNode;
199
- if (node === undefined)
200
- return;
201
- dlog('TextInput autoFocus -> focus command');
202
- this.cancelAutoFocus = whenCommitted(node, () => dispatchViewCommand(node, 'focus', []));
203
- }
204
- ngOnDestroy() {
205
- this.cancelAutoFocus?.();
206
- }
207
- handleChange(event) {
208
- if (!isSymbioteEvent(event))
209
- return;
210
- // Event seam: the controlled handshake hinges on the change payload carrying `text`
211
- // (+ `eventCount`). iOS and Android Fabric can key these differently, so log the actual shape.
212
- dlog(`TextInput change keys=[${Object.keys(event.nativeEvent).join(',')}] ` +
213
- `text=${JSON.stringify(event.nativeEvent.text)} count=${JSON.stringify(event.nativeEvent.eventCount)}`);
214
- const text = textFromChange(event);
215
- if (text !== undefined) {
216
- // Record the text first, then the count, so the count never runs ahead of the text it
217
- // stands for. The host re-pushes the count on the parent's value-driven CD, never here:
218
- // pushing the stale `text` prop now (eventLag 0) would revert the keystroke.
219
- this.lastNativeText = text;
220
- this.valueChange.emit(text);
221
- }
222
- const count = eventCountFromChange(event);
223
- if (count !== undefined)
224
- this.mostRecentEventCount = count;
225
- this.change.emit(event);
226
- }
227
- handleFocus(event) {
228
- if (!isSymbioteEvent(event))
229
- return;
230
- this.focused = true;
231
- // Track focus app-wide so Keyboard.dismiss can blur this input without a ref.
232
- const node = this.hostNode;
233
- if (node !== undefined)
234
- setInputFocused(node);
235
- this.focusEvent.emit(event);
236
- }
237
- handleBlur(event) {
238
- if (!isSymbioteEvent(event))
239
- return;
240
- this.focused = false;
241
- const node = this.hostNode;
242
- if (node !== undefined)
243
- setInputBlurred(node);
244
- this.blurEvent.emit(event);
245
- }
246
- // Forward an engine event onto the matching @Output(), narrowing the template's untyped $event
247
- // first. Angular blocks [onX] property bindings, so every native event flows through (event).
248
- emit(emitter, event) {
249
- if (isSymbioteEvent(event))
250
- emitter.emit(event);
251
- }
252
- // The imperative API RN exposes on a TextInput ref; in Angular the component instance IS the
253
- // handle (a parent reads it via @ViewChild(TextInput) and calls these). focus/blur drive native
254
- // view commands; clear and setSelection reuse setTextAndSelection (the same stale-safe path as a
255
- // controlled write) echoing the acknowledged event count.
256
- focus() {
257
- const node = this.hostNode;
258
- if (node !== undefined)
259
- dispatchViewCommand(node, 'focus', []);
260
- }
261
- blur() {
262
- // Routes through TextInputState so the app-wide focus tracking clears too.
263
- blurTextInput(this.hostNode ?? null);
264
- }
265
- clear() {
266
- const node = this.hostNode;
267
- if (node === undefined)
268
- return;
269
- dispatchViewCommand(node, 'setTextAndSelection', [
270
- this.mostRecentEventCount,
271
- '',
272
- 0,
273
- 0,
274
- ]);
275
- this.lastNativeText = '';
276
- }
277
- isFocused() {
278
- return this.focused;
279
- }
280
- setSelection(start, end) {
281
- const node = this.hostNode;
282
- if (node === undefined)
283
- return;
284
- const current = this.lastNativeText ?? '';
285
- dispatchViewCommand(node, 'setTextAndSelection', [
286
- this.mostRecentEventCount,
287
- current,
288
- start,
289
- end,
290
- ]);
291
- }
292
- // Controlled write: when JS-side `value` diverges from what native reported, command the new
293
- // text down with the acknowledged count; a plain prop re-push would race the user's keystrokes.
294
- // whenCommitted defers it past the async commit so the node's Fabric tag exists; the predicate
295
- // narrows `value` to string and makes the call a no-op unless the text diverged.
296
- commitControlledValue() {
297
- const node = this.hostNode;
298
- if (node === undefined)
299
- return;
300
- const value = this.value;
301
- if (!shouldCommandText(this.lastNativeText, value))
302
- return;
303
- const selStart = this.selection?.start ?? SELECTION_NONE;
304
- const selEnd = this.selection?.end ?? this.selection?.start ?? SELECTION_NONE;
305
- const count = this.mostRecentEventCount;
306
- dlog(`TextInput setTextAndSelection count=${count} text=${JSON.stringify(value)}`);
307
- this.lastNativeText = value;
308
- whenCommitted(node, () => dispatchViewCommand(node, 'setTextAndSelection', [
309
- count,
310
- value,
311
- selStart,
312
- selEnd,
313
- ]));
314
- }
315
- buildPassthrough() {
316
- return {
317
- ...this.foldedAccessibility,
318
- accessible: this.accessible,
319
- testID: this.testID,
320
- nativeID: this.nativeID,
321
- placeholder: this.placeholder,
322
- placeholderTextColor: this.placeholderTextColor,
323
- maxLength: this.maxLength,
324
- secureTextEntry: this.secureTextEntry,
325
- autoCapitalize: this.autoCapitalize,
326
- autoCorrect: this.autoCorrect,
327
- selectTextOnFocus: this.selectTextOnFocus,
328
- scrollEnabled: this.scrollEnabled,
329
- numberOfLines: this.numberOfLines,
330
- textAlign: this.textAlign,
331
- inputAccessoryViewID: this.inputAccessoryViewID,
332
- style: [anchorHostStyle(this.elementRef), this.style],
333
- };
334
- }
335
- get foldedNativeProps() {
336
- return resolveTextInputProps({
337
- inputMode: this.inputMode,
338
- keyboardType: this.keyboardType,
339
- enterKeyHint: this.enterKeyHint,
340
- returnKeyType: this.returnKeyType,
341
- readOnly: this.readOnly,
342
- editable: this.editable,
343
- submitBehavior: this.submitBehavior,
344
- blurOnSubmit: this.blurOnSubmit,
345
- multiline: this.isMultiline,
346
- cursorColor: this.cursorColor,
347
- selectionColor: this.selectionColor,
348
- selectionHandleColor: this.selectionHandleColor,
349
- autoComplete: this.autoComplete,
350
- textContentType: this.textContentType,
351
- showSoftInputOnFocus: this.showSoftInputOnFocus,
352
- underlineColorAndroid: this.underlineColorAndroid,
353
- });
354
- }
355
- // Fold the web aria-*/role aliases into the canonical accessibility* props once per render, so
356
- // the host node never sees an aria-* key (native ignores them) — the shared transform every
357
- // adapter runs. TextInput is its own host element (not a View wrapper), so it folds a11y here.
358
- get foldedAccessibility() {
359
- return resolveAccessibilityProps({
360
- accessibilityLabel: this.accessibilityLabel,
361
- accessibilityHint: this.accessibilityHint,
362
- accessibilityRole: this.accessibilityRole,
363
- accessibilityState: this.accessibilityState,
364
- accessibilityValue: this.accessibilityValue,
365
- accessibilityActions: this.accessibilityActions,
366
- accessibilityLabelledBy: this.accessibilityLabelledBy,
367
- importantForAccessibility: this.importantForAccessibility,
368
- accessibilityLiveRegion: this.accessibilityLiveRegion,
369
- screenReaderFocusable: this.screenReaderFocusable,
370
- accessibilityViewIsModal: this.accessibilityViewIsModal,
371
- accessibilityElementsHidden: this.accessibilityElementsHidden,
372
- accessibilityIgnoresInvertColors: this.accessibilityIgnoresInvertColors,
373
- accessibilityLanguage: this.accessibilityLanguage,
374
- accessibilityRespondsToUserInteraction: this.accessibilityRespondsToUserInteraction,
375
- accessibilityShowsLargeContentViewer: this.accessibilityShowsLargeContentViewer,
376
- accessibilityLargeContentTitle: this.accessibilityLargeContentTitle,
377
- role: this.role,
378
- 'aria-label': this.ariaLabel,
379
- 'aria-labelledby': this.ariaLabelledBy,
380
- 'aria-live': this.ariaLive,
381
- 'aria-hidden': this.ariaHidden,
382
- 'aria-busy': this.ariaBusy,
383
- 'aria-checked': this.ariaChecked,
384
- 'aria-disabled': this.ariaDisabled,
385
- 'aria-expanded': this.ariaExpanded,
386
- 'aria-selected': this.ariaSelected,
387
- });
388
- }
389
- get hostNode() {
390
- const native = this.hostRef?.node;
391
- return isSymbioteNode(native) ? native : undefined;
392
- }
393
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
394
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: TextInput, isStandalone: true, selector: "TextInput", inputs: { value: "value", defaultValue: "defaultValue", placeholder: "placeholder", placeholderTextColor: "placeholderTextColor", editable: "editable", keyboardType: "keyboardType", secureTextEntry: "secureTextEntry", maxLength: "maxLength", multiline: "multiline", selection: "selection", autoCapitalize: "autoCapitalize", autoCorrect: "autoCorrect", autoComplete: "autoComplete", textContentType: "textContentType", autoFocus: "autoFocus", showSoftInputOnFocus: "showSoftInputOnFocus", returnKeyType: "returnKeyType", selectTextOnFocus: "selectTextOnFocus", scrollEnabled: "scrollEnabled", numberOfLines: "numberOfLines", textAlign: "textAlign", blurOnSubmit: "blurOnSubmit", inputMode: "inputMode", enterKeyHint: "enterKeyHint", readOnly: "readOnly", submitBehavior: "submitBehavior", cursorColor: "cursorColor", selectionColor: "selectionColor", selectionHandleColor: "selectionHandleColor", underlineColorAndroid: "underlineColorAndroid", inputAccessoryViewID: "inputAccessoryViewID", style: "style", testID: "testID", nativeID: "nativeID", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"] }, outputs: { valueChange: "valueChange", change: "change", focusEvent: "focus", blurEvent: "blur", endEditing: "endEditing", submitEditing: "submitEditing", keyPress: "keyPress", selectionChange: "selectionChange", contentSizeChange: "contentSizeChange", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, providers: [
395
- {
396
- provide: NG_VALUE_ACCESSOR,
397
- useExisting: forwardRef(() => TextInput),
398
- multi: true,
399
- },
400
- ], viewQueries: [{ propertyName: "hostRef", first: true, predicate: ["host"], descendants: true, read: SymbioteHostPropsDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
401
- @if (isMultiline) {
402
- <symbiote-text-input-multiline
403
- #host
404
- [symbioteHostProps]="hostProps"
405
- (change)="handleChange($event)"
406
- (focus)="handleFocus($event)"
407
- (blur)="handleBlur($event)"
408
- (selectionChange)="emit(selectionChange, $event)"
409
- (submitEditing)="emit(submitEditing, $event)"
410
- (keyPress)="emit(keyPress, $event)"
411
- (endEditing)="emit(endEditing, $event)"
412
- (contentSizeChange)="emit(contentSizeChange, $event)"
413
- (accessibilityAction)="emit(accessibilityAction, $event)"
414
- (accessibilityTap)="emit(accessibilityTap, $event)"
415
- (magicTap)="emit(magicTap, $event)"
416
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
417
- ></symbiote-text-input-multiline>
418
- } @else {
419
- <symbiote-text-input
420
- #host
421
- [symbioteHostProps]="hostProps"
422
- (change)="handleChange($event)"
423
- (focus)="handleFocus($event)"
424
- (blur)="handleBlur($event)"
425
- (selectionChange)="emit(selectionChange, $event)"
426
- (submitEditing)="emit(submitEditing, $event)"
427
- (keyPress)="emit(keyPress, $event)"
428
- (endEditing)="emit(endEditing, $event)"
429
- (contentSizeChange)="emit(contentSizeChange, $event)"
430
- (accessibilityAction)="emit(accessibilityAction, $event)"
431
- (accessibilityTap)="emit(accessibilityTap, $event)"
432
- (magicTap)="emit(magicTap, $event)"
433
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
434
- ></symbiote-text-input>
435
- }
436
- `, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: TextInputHost, selector: "symbiote-text-input" }, { kind: "component", type: MultilineTextInputHost, selector: "symbiote-text-input-multiline" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
437
- }
438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInput, decorators: [{
439
- type: Component,
440
- args: [{
441
- selector: 'TextInput',
442
- standalone: true,
443
- hostDirectives: [
444
- { directive: SymbioteStyleInputDirective, inputs: ['style'] },
445
- ],
446
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
447
- imports: [SymbioteHostPropsDirective, TextInputHost, MultilineTextInputHost],
448
- changeDetection: ChangeDetectionStrategy.OnPush,
449
- providers: [
450
- {
451
- provide: NG_VALUE_ACCESSOR,
452
- useExisting: forwardRef(() => TextInput),
453
- multi: true,
454
- },
455
- ],
456
- template: `
457
- @if (isMultiline) {
458
- <symbiote-text-input-multiline
459
- #host
460
- [symbioteHostProps]="hostProps"
461
- (change)="handleChange($event)"
462
- (focus)="handleFocus($event)"
463
- (blur)="handleBlur($event)"
464
- (selectionChange)="emit(selectionChange, $event)"
465
- (submitEditing)="emit(submitEditing, $event)"
466
- (keyPress)="emit(keyPress, $event)"
467
- (endEditing)="emit(endEditing, $event)"
468
- (contentSizeChange)="emit(contentSizeChange, $event)"
469
- (accessibilityAction)="emit(accessibilityAction, $event)"
470
- (accessibilityTap)="emit(accessibilityTap, $event)"
471
- (magicTap)="emit(magicTap, $event)"
472
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
473
- ></symbiote-text-input-multiline>
474
- } @else {
475
- <symbiote-text-input
476
- #host
477
- [symbioteHostProps]="hostProps"
478
- (change)="handleChange($event)"
479
- (focus)="handleFocus($event)"
480
- (blur)="handleBlur($event)"
481
- (selectionChange)="emit(selectionChange, $event)"
482
- (submitEditing)="emit(submitEditing, $event)"
483
- (keyPress)="emit(keyPress, $event)"
484
- (endEditing)="emit(endEditing, $event)"
485
- (contentSizeChange)="emit(contentSizeChange, $event)"
486
- (accessibilityAction)="emit(accessibilityAction, $event)"
487
- (accessibilityTap)="emit(accessibilityTap, $event)"
488
- (magicTap)="emit(magicTap, $event)"
489
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
490
- ></symbiote-text-input>
491
- }
492
- `,
493
- }]
494
- }], propDecorators: { value: [{
495
- type: Input
496
- }], defaultValue: [{
497
- type: Input
498
- }], placeholder: [{
499
- type: Input
500
- }], placeholderTextColor: [{
501
- type: Input
502
- }], editable: [{
503
- type: Input
504
- }], keyboardType: [{
505
- type: Input
506
- }], secureTextEntry: [{
507
- type: Input
508
- }], maxLength: [{
509
- type: Input
510
- }], multiline: [{
511
- type: Input
512
- }], selection: [{
513
- type: Input
514
- }], autoCapitalize: [{
515
- type: Input
516
- }], autoCorrect: [{
517
- type: Input
518
- }], autoComplete: [{
519
- type: Input
520
- }], textContentType: [{
521
- type: Input
522
- }], autoFocus: [{
523
- type: Input
524
- }], showSoftInputOnFocus: [{
525
- type: Input
526
- }], returnKeyType: [{
527
- type: Input
528
- }], selectTextOnFocus: [{
529
- type: Input
530
- }], scrollEnabled: [{
531
- type: Input
532
- }], numberOfLines: [{
533
- type: Input
534
- }], textAlign: [{
535
- type: Input
536
- }], blurOnSubmit: [{
537
- type: Input
538
- }], inputMode: [{
539
- type: Input
540
- }], enterKeyHint: [{
541
- type: Input
542
- }], readOnly: [{
543
- type: Input
544
- }], submitBehavior: [{
545
- type: Input
546
- }], cursorColor: [{
547
- type: Input
548
- }], selectionColor: [{
549
- type: Input
550
- }], selectionHandleColor: [{
551
- type: Input
552
- }], underlineColorAndroid: [{
553
- type: Input
554
- }], inputAccessoryViewID: [{
555
- type: Input
556
- }], style: [{
557
- type: Input
558
- }], testID: [{
559
- type: Input
560
- }], nativeID: [{
561
- type: Input
562
- }], valueChange: [{
563
- type: Output
564
- }], change: [{
565
- type: Output
566
- }], focusEvent: [{
567
- type: Output,
568
- args: ['focus']
569
- }], blurEvent: [{
570
- type: Output,
571
- args: ['blur']
572
- }], endEditing: [{
573
- type: Output
574
- }], submitEditing: [{
575
- type: Output
576
- }], keyPress: [{
577
- type: Output
578
- }], selectionChange: [{
579
- type: Output
580
- }], contentSizeChange: [{
581
- type: Output
582
- }], accessibilityAction: [{
583
- type: Output
584
- }], accessibilityTap: [{
585
- type: Output
586
- }], magicTap: [{
587
- type: Output
588
- }], accessibilityEscape: [{
589
- type: Output
590
- }], accessible: [{
591
- type: Input
592
- }], accessibilityLabel: [{
593
- type: Input
594
- }], accessibilityHint: [{
595
- type: Input
596
- }], accessibilityRole: [{
597
- type: Input
598
- }], accessibilityState: [{
599
- type: Input
600
- }], accessibilityValue: [{
601
- type: Input
602
- }], accessibilityActions: [{
603
- type: Input
604
- }], accessibilityLabelledBy: [{
605
- type: Input
606
- }], importantForAccessibility: [{
607
- type: Input
608
- }], accessibilityLiveRegion: [{
609
- type: Input
610
- }], screenReaderFocusable: [{
611
- type: Input
612
- }], accessibilityViewIsModal: [{
613
- type: Input
614
- }], accessibilityElementsHidden: [{
615
- type: Input
616
- }], accessibilityIgnoresInvertColors: [{
617
- type: Input
618
- }], accessibilityLanguage: [{
619
- type: Input
620
- }], accessibilityRespondsToUserInteraction: [{
621
- type: Input
622
- }], accessibilityShowsLargeContentViewer: [{
623
- type: Input
624
- }], accessibilityLargeContentTitle: [{
625
- type: Input
626
- }], role: [{
627
- type: Input
628
- }], ariaLabel: [{
629
- type: Input,
630
- args: ['aria-label']
631
- }], ariaLabelledBy: [{
632
- type: Input,
633
- args: ['aria-labelledby']
634
- }], ariaLive: [{
635
- type: Input,
636
- args: ['aria-live']
637
- }], ariaHidden: [{
638
- type: Input,
639
- args: ['aria-hidden']
640
- }], ariaBusy: [{
641
- type: Input,
642
- args: ['aria-busy']
643
- }], ariaChecked: [{
644
- type: Input,
645
- args: ['aria-checked']
646
- }], ariaDisabled: [{
647
- type: Input,
648
- args: ['aria-disabled']
649
- }], ariaExpanded: [{
650
- type: Input,
651
- args: ['aria-expanded']
652
- }], ariaSelected: [{
653
- type: Input,
654
- args: ['aria-selected']
655
- }], hostRef: [{
656
- type: ViewChild,
657
- args: ['host', { read: SymbioteHostPropsDirective }]
658
- }] } });
659
- //# sourceMappingURL=text-input.js.map