@symbiote-native/angular 3.1.3 → 3.3.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 (165) hide show
  1. package/babel-register-composed.cjs +1 -0
  2. package/build/angular/accessibility-events.d.ts +12 -0
  3. package/build/angular/accessibility-events.js +28 -0
  4. package/build/angular/accessibility-events.js.map +1 -0
  5. package/build/angular/accessibility-inputs.d.ts +40 -0
  6. package/build/angular/accessibility-inputs.js +130 -0
  7. package/build/angular/accessibility-inputs.js.map +1 -0
  8. package/build/angular/bootstrap.d.ts +3 -1
  9. package/build/angular/bootstrap.js +4 -1
  10. package/build/angular/bootstrap.js.map +1 -1
  11. package/build/angular/components/checkbox-props.d.ts +2 -0
  12. package/build/angular/components/checkbox-props.js +2 -0
  13. package/build/angular/components/checkbox-props.js.map +1 -0
  14. package/build/angular/components/flat-list/flat-list-template.d.ts +1 -0
  15. package/build/angular/components/flat-list/flat-list-template.js +158 -0
  16. package/build/angular/components/flat-list/flat-list-template.js.map +1 -0
  17. package/build/angular/components/flat-list/index.d.ts +6 -61
  18. package/build/angular/components/flat-list/index.js +26 -463
  19. package/build/angular/components/flat-list/index.js.map +1 -1
  20. package/build/angular/components/keyboard-avoiding-view/index.d.ts +4 -40
  21. package/build/angular/components/keyboard-avoiding-view/index.js +7 -131
  22. package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
  23. package/build/angular/components/modal/index.d.ts +5 -41
  24. package/build/angular/components/modal/index.js +8 -133
  25. package/build/angular/components/modal/index.js.map +1 -1
  26. package/build/angular/components/section-list/index.d.ts +4 -51
  27. package/build/angular/components/section-list/index.js +18 -335
  28. package/build/angular/components/section-list/index.js.map +1 -1
  29. package/build/angular/components/virtualized-list/cell-registry.d.ts +35 -0
  30. package/build/angular/components/virtualized-list/cell-registry.js +133 -0
  31. package/build/angular/components/virtualized-list/cell-registry.js.map +1 -0
  32. package/build/angular/components/virtualized-list/index.d.ts +18 -253
  33. package/build/angular/components/virtualized-list/index.js +112 -1178
  34. package/build/angular/components/virtualized-list/index.js.map +1 -1
  35. package/build/angular/components/virtualized-list/list-a11y-forward.d.ts +1 -0
  36. package/build/angular/components/virtualized-list/list-a11y-forward.js +42 -0
  37. package/build/angular/components/virtualized-list/list-a11y-forward.js.map +1 -0
  38. package/build/angular/components/virtualized-list/list-bags.d.ts +32 -0
  39. package/build/angular/components/virtualized-list/list-bags.js +120 -0
  40. package/build/angular/components/virtualized-list/list-bags.js.map +1 -0
  41. package/build/angular/components/virtualized-list/list-effects.d.ts +31 -0
  42. package/build/angular/components/virtualized-list/list-effects.js +83 -0
  43. package/build/angular/components/virtualized-list/list-effects.js.map +1 -0
  44. package/build/angular/components/virtualized-list/list-events.d.ts +17 -0
  45. package/build/angular/components/virtualized-list/list-events.js +34 -0
  46. package/build/angular/components/virtualized-list/list-events.js.map +1 -0
  47. package/build/angular/components/virtualized-list/list-handle.d.ts +35 -0
  48. package/build/angular/components/virtualized-list/list-handle.js +61 -0
  49. package/build/angular/components/virtualized-list/list-handle.js.map +1 -0
  50. package/build/angular/components/virtualized-list/list-inputs.d.ts +78 -0
  51. package/build/angular/components/virtualized-list/list-inputs.js +150 -0
  52. package/build/angular/components/virtualized-list/list-inputs.js.map +1 -0
  53. package/build/angular/components/virtualized-list/list-props.d.ts +58 -0
  54. package/build/angular/components/virtualized-list/list-props.js +3 -0
  55. package/build/angular/components/virtualized-list/list-props.js.map +1 -0
  56. package/build/angular/components/virtualized-list/list-styles.d.ts +23 -0
  57. package/build/angular/components/virtualized-list/list-styles.js +26 -0
  58. package/build/angular/components/virtualized-list/list-styles.js.map +1 -0
  59. package/build/angular/components/virtualized-list/list-template.d.ts +1 -0
  60. package/build/angular/components/virtualized-list/list-template.js +176 -0
  61. package/build/angular/components/virtualized-list/list-template.js.map +1 -0
  62. package/build/angular/components/virtualized-section-list/index.d.ts +13 -70
  63. package/build/angular/components/virtualized-section-list/index.js +22 -455
  64. package/build/angular/components/virtualized-section-list/index.js.map +1 -1
  65. package/build/angular/components/virtualized-section-list/section-list-template.d.ts +1 -0
  66. package/build/angular/components/virtualized-section-list/section-list-template.js +107 -0
  67. package/build/angular/components/virtualized-section-list/section-list-template.js.map +1 -0
  68. package/build/angular/components.d.ts +1 -0
  69. package/build/angular/components.js.map +1 -1
  70. package/build/angular/descriptor-to-angular/descriptor-host.d.ts +8 -0
  71. package/build/angular/descriptor-to-angular/descriptor-host.js +38 -0
  72. package/build/angular/descriptor-to-angular/descriptor-host.js.map +1 -0
  73. package/build/angular/descriptor-to-angular/index.d.ts +1 -0
  74. package/build/angular/descriptor-to-angular/index.js +4 -0
  75. package/build/angular/descriptor-to-angular/index.js.map +1 -1
  76. package/build/angular/element-base.d.ts +153 -0
  77. package/build/angular/element-base.js +272 -0
  78. package/build/angular/element-base.js.map +1 -0
  79. package/build/angular/elements-controls.d.ts +165 -0
  80. package/build/angular/elements-controls.js +382 -0
  81. package/build/angular/elements-controls.js.map +1 -0
  82. package/build/angular/elements-layout.d.ts +122 -0
  83. package/build/angular/elements-layout.js +242 -0
  84. package/build/angular/elements-layout.js.map +1 -0
  85. package/build/angular/elements-press.d.ts +96 -0
  86. package/build/angular/elements-press.js +227 -0
  87. package/build/angular/elements-press.js.map +1 -0
  88. package/build/angular/elements.d.ts +6 -516
  89. package/build/angular/elements.js +8 -1091
  90. package/build/angular/elements.js.map +1 -1
  91. package/build/angular/finalization-registry.d.ts +4 -0
  92. package/build/angular/finalization-registry.js +17 -0
  93. package/build/angular/finalization-registry.js.map +1 -0
  94. package/build/angular/host-instance/index.d.ts +2 -0
  95. package/build/angular/host-instance/index.js +4 -4
  96. package/build/angular/host-instance/index.js.map +1 -1
  97. package/build/angular/index.d.ts +9 -4
  98. package/build/angular/index.js +8 -3
  99. package/build/angular/index.js.map +1 -1
  100. package/build/angular/native-view-base.d.ts +27 -0
  101. package/build/angular/native-view-base.js +69 -0
  102. package/build/angular/native-view-base.js.map +1 -0
  103. package/build/angular/render/index.d.ts +2 -1
  104. package/build/angular/render/index.js +46 -73
  105. package/build/angular/render/index.js.map +1 -1
  106. package/build/angular/services/connect-watched-signal.d.ts +2 -0
  107. package/build/angular/services/connect-watched-signal.js +9 -0
  108. package/build/angular/services/connect-watched-signal.js.map +1 -0
  109. package/build/angular/services/create-event-value-hook.d.ts +3 -0
  110. package/build/angular/services/create-event-value-hook.js +17 -0
  111. package/build/angular/services/create-event-value-hook.js.map +1 -0
  112. package/build/angular/services/create-resource-hook.d.ts +7 -0
  113. package/build/angular/services/create-resource-hook.js +20 -0
  114. package/build/angular/services/create-resource-hook.js.map +1 -0
  115. package/build/angular/services/index.d.ts +5 -0
  116. package/build/angular/services/index.js +5 -0
  117. package/build/angular/services/index.js.map +1 -1
  118. package/build/angular/services/inject-event.d.ts +6 -0
  119. package/build/angular/services/inject-event.js +24 -0
  120. package/build/angular/services/inject-event.js.map +1 -0
  121. package/build/angular/services/permissions-service-base.d.ts +14 -0
  122. package/build/angular/services/permissions-service-base.js +38 -0
  123. package/build/angular/services/permissions-service-base.js.map +1 -0
  124. package/package.json +6 -6
  125. package/src/accessibility-events.ts +13 -0
  126. package/src/accessibility-inputs.ts +89 -0
  127. package/src/bootstrap.ts +6 -2
  128. package/src/components/checkbox-props.ts +12 -0
  129. package/src/components/flat-list/flat-list-template.ts +159 -0
  130. package/src/components/flat-list/index.ts +30 -307
  131. package/src/components/keyboard-avoiding-view/index.ts +4 -78
  132. package/src/components/modal/index.ts +7 -80
  133. package/src/components/section-list/index.ts +21 -172
  134. package/src/components/virtualized-list/cell-registry.ts +199 -0
  135. package/src/components/virtualized-list/index.ts +145 -1181
  136. package/src/components/virtualized-list/list-a11y-forward.ts +42 -0
  137. package/src/components/virtualized-list/list-bags.ts +142 -0
  138. package/src/components/virtualized-list/list-effects.ts +116 -0
  139. package/src/components/virtualized-list/list-events.ts +31 -0
  140. package/src/components/virtualized-list/list-handle.ts +92 -0
  141. package/src/components/virtualized-list/list-inputs.ts +149 -0
  142. package/src/components/virtualized-list/list-props.ts +81 -0
  143. package/src/components/virtualized-list/list-styles.ts +62 -0
  144. package/src/components/virtualized-list/list-template.ts +175 -0
  145. package/src/components/virtualized-section-list/index.ts +40 -351
  146. package/src/components/virtualized-section-list/section-list-template.ts +108 -0
  147. package/src/components.ts +1 -0
  148. package/src/descriptor-to-angular/descriptor-host.ts +27 -0
  149. package/src/descriptor-to-angular/index.ts +5 -0
  150. package/src/element-base.ts +272 -0
  151. package/src/elements-controls.ts +282 -0
  152. package/src/elements-layout.ts +141 -0
  153. package/src/elements-press.ts +145 -0
  154. package/src/elements.ts +73 -788
  155. package/src/finalization-registry.ts +18 -0
  156. package/src/host-instance/index.ts +4 -4
  157. package/src/index.ts +18 -2
  158. package/src/native-view-base.ts +86 -0
  159. package/src/render/index.ts +76 -77
  160. package/src/services/connect-watched-signal.ts +15 -0
  161. package/src/services/create-event-value-hook.ts +24 -0
  162. package/src/services/create-resource-hook.ts +32 -0
  163. package/src/services/index.ts +5 -0
  164. package/src/services/inject-event.ts +52 -0
  165. package/src/services/permissions-service-base.ts +46 -0
@@ -0,0 +1,272 @@
1
+ import { ChangeDetectorRef, Directive, ElementRef, ErrorHandler, Input, Renderer2, inject, } from '@angular/core';
2
+ import { VALUE_CHANGE_EVENT } from './renderer/value-change';
3
+ import { registerViewFlush, unregisterViewFlush, } from './change-detection-flush';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * The shared half of every element directive: the prop surface all tags accept, and the ONE
7
+ * generic forward that puts a claimed binding back on the engine node.
8
+ *
9
+ * The forward is the deciding fact of this whole route. A binding claimed by a directive input
10
+ * never reaches `Renderer2.setProperty` on its own — Angular writes it to the directive instance
11
+ * — so without this loop a bare tag commits nothing at all. It stays generic on purpose: per-prop
12
+ * forwarding code is a component wrapper by another name, which is what this migration removes.
13
+ * `renderer.setProperty` lands in the adapter's own renderer, which routes the value through the
14
+ * engine's `routeProp` and applies the `id` -> `nativeID` alias.
15
+ */
16
+ export class SymbioteElement {
17
+ constructor() {
18
+ this.renderer = inject(Renderer2);
19
+ this.host = inject(ElementRef);
20
+ }
21
+ ngOnChanges(changes) {
22
+ for (const name of Object.keys(changes)) {
23
+ this.renderer.setProperty(this.host.nativeElement, name,
24
+ // Unwrapped on purpose: `SymbioteRenderer.setProperty` is where an `on*` value is wrapped
25
+ // now, and it is the call this line makes.
26
+ changes[name]?.currentValue);
27
+ }
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteElement, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
30
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SymbioteElement, isStandalone: true, inputs: { testID: "testID", nativeID: "nativeID", id: "id", 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", onAccessibilityAction: "onAccessibilityAction", onAccessibilityTap: "onAccessibilityTap", onMagicTap: "onMagicTap", onAccessibilityEscape: "onAccessibilityEscape", role: "role", "aria-label": "aria-label", "aria-labelledby": "aria-labelledby", "aria-live": "aria-live", "aria-hidden": "aria-hidden", "aria-busy": "aria-busy", "aria-checked": "aria-checked", "aria-disabled": "aria-disabled", "aria-expanded": "aria-expanded", "aria-selected": "aria-selected", "aria-modal": "aria-modal", "aria-valuemax": "aria-valuemax", "aria-valuemin": "aria-valuemin", "aria-valuenow": "aria-valuenow", "aria-valuetext": "aria-valuetext", onStartShouldSetResponder: "onStartShouldSetResponder", onStartShouldSetResponderCapture: "onStartShouldSetResponderCapture", onMoveShouldSetResponder: "onMoveShouldSetResponder", onMoveShouldSetResponderCapture: "onMoveShouldSetResponderCapture", onResponderGrant: "onResponderGrant", onResponderReject: "onResponderReject", onResponderStart: "onResponderStart", onResponderMove: "onResponderMove", onResponderEnd: "onResponderEnd", onResponderRelease: "onResponderRelease", onResponderTerminate: "onResponderTerminate", onResponderTerminationRequest: "onResponderTerminationRequest", pointerEvents: "pointerEvents", hitSlop: "hitSlop", focusable: "focusable", collapsable: "collapsable", removeClippedSubviews: "removeClippedSubviews", renderToHardwareTextureAndroid: "renderToHardwareTextureAndroid", shouldRasterizeIOS: "shouldRasterizeIOS", needsOffscreenAlphaCompositing: "needsOffscreenAlphaCompositing", style: "style", styleProp: "styleProp", class: "class", onPress: "onPress", onPressIn: "onPressIn", onPressOut: "onPressOut", onPressMove: "onPressMove", onLongPress: "onLongPress", onLayout: "onLayout", onFocus: "onFocus", onBlur: "onBlur" }, usesOnChanges: true, ngImport: i0 }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteElement, decorators: [{
33
+ type: Directive
34
+ }], propDecorators: { testID: [{
35
+ type: Input
36
+ }], nativeID: [{
37
+ type: Input
38
+ }], id: [{
39
+ type: Input
40
+ }], accessible: [{
41
+ type: Input
42
+ }], accessibilityLabel: [{
43
+ type: Input
44
+ }], accessibilityHint: [{
45
+ type: Input
46
+ }], accessibilityRole: [{
47
+ type: Input
48
+ }], accessibilityState: [{
49
+ type: Input
50
+ }], accessibilityValue: [{
51
+ type: Input
52
+ }], accessibilityActions: [{
53
+ type: Input
54
+ }], accessibilityLabelledBy: [{
55
+ type: Input
56
+ }], importantForAccessibility: [{
57
+ type: Input
58
+ }], accessibilityLiveRegion: [{
59
+ type: Input
60
+ }], screenReaderFocusable: [{
61
+ type: Input
62
+ }], accessibilityViewIsModal: [{
63
+ type: Input
64
+ }], accessibilityElementsHidden: [{
65
+ type: Input
66
+ }], accessibilityIgnoresInvertColors: [{
67
+ type: Input
68
+ }], accessibilityLanguage: [{
69
+ type: Input
70
+ }], accessibilityRespondsToUserInteraction: [{
71
+ type: Input
72
+ }], accessibilityShowsLargeContentViewer: [{
73
+ type: Input
74
+ }], accessibilityLargeContentTitle: [{
75
+ type: Input
76
+ }], onAccessibilityAction: [{
77
+ type: Input
78
+ }], onAccessibilityTap: [{
79
+ type: Input
80
+ }], onMagicTap: [{
81
+ type: Input
82
+ }], onAccessibilityEscape: [{
83
+ type: Input
84
+ }], role: [{
85
+ type: Input
86
+ }], "aria-label": [{
87
+ type: Input
88
+ }], "aria-labelledby": [{
89
+ type: Input
90
+ }], "aria-live": [{
91
+ type: Input
92
+ }], "aria-hidden": [{
93
+ type: Input
94
+ }], "aria-busy": [{
95
+ type: Input
96
+ }], "aria-checked": [{
97
+ type: Input
98
+ }], "aria-disabled": [{
99
+ type: Input
100
+ }], "aria-expanded": [{
101
+ type: Input
102
+ }], "aria-selected": [{
103
+ type: Input
104
+ }], "aria-modal": [{
105
+ type: Input
106
+ }], "aria-valuemax": [{
107
+ type: Input
108
+ }], "aria-valuemin": [{
109
+ type: Input
110
+ }], "aria-valuenow": [{
111
+ type: Input
112
+ }], "aria-valuetext": [{
113
+ type: Input
114
+ }], onStartShouldSetResponder: [{
115
+ type: Input
116
+ }], onStartShouldSetResponderCapture: [{
117
+ type: Input
118
+ }], onMoveShouldSetResponder: [{
119
+ type: Input
120
+ }], onMoveShouldSetResponderCapture: [{
121
+ type: Input
122
+ }], onResponderGrant: [{
123
+ type: Input
124
+ }], onResponderReject: [{
125
+ type: Input
126
+ }], onResponderStart: [{
127
+ type: Input
128
+ }], onResponderMove: [{
129
+ type: Input
130
+ }], onResponderEnd: [{
131
+ type: Input
132
+ }], onResponderRelease: [{
133
+ type: Input
134
+ }], onResponderTerminate: [{
135
+ type: Input
136
+ }], onResponderTerminationRequest: [{
137
+ type: Input
138
+ }], pointerEvents: [{
139
+ type: Input
140
+ }], hitSlop: [{
141
+ type: Input
142
+ }], focusable: [{
143
+ type: Input
144
+ }], collapsable: [{
145
+ type: Input
146
+ }], removeClippedSubviews: [{
147
+ type: Input
148
+ }], renderToHardwareTextureAndroid: [{
149
+ type: Input
150
+ }], shouldRasterizeIOS: [{
151
+ type: Input
152
+ }], needsOffscreenAlphaCompositing: [{
153
+ type: Input
154
+ }], style: [{
155
+ type: Input
156
+ }], styleProp: [{
157
+ type: Input
158
+ }], class: [{
159
+ type: Input
160
+ }], onPress: [{
161
+ type: Input
162
+ }], onPressIn: [{
163
+ type: Input
164
+ }], onPressOut: [{
165
+ type: Input
166
+ }], onPressMove: [{
167
+ type: Input
168
+ }], onLongPress: [{
169
+ type: Input
170
+ }], onLayout: [{
171
+ type: Input
172
+ }], onFocus: [{
173
+ type: Input
174
+ }], onBlur: [{
175
+ type: Input
176
+ }] } });
177
+ /**
178
+ * The base for a tag whose app callback an engine behavior READS BACK inside the same microtask
179
+ * turn — `<text-input>`, `<switch>`, `<refresh-control>`. Zoneless change detection is a macrotask,
180
+ * so without this the behavior sees the PRE-event value and undoes the user; the full mechanism,
181
+ * and why this is `detectChanges()` on one view rather than `ApplicationRef.tick()`, is in
182
+ * `./change-detection-flush`.
183
+ *
184
+ * The directive is the only thing in the adapter that owns a `ChangeDetectorRef` for the view
185
+ * holding the binding, so it hands one to the renderer keyed on its own node.
186
+ */
187
+ export class ReadBackElement extends SymbioteElement {
188
+ constructor() {
189
+ super();
190
+ // ITS OWN, now that the base has none. Three tags reach this class, so the injection is paid where
191
+ // it is read instead of on every element of a screen.
192
+ this.detector = inject(ChangeDetectorRef);
193
+ this.errorHandler = inject(ErrorHandler);
194
+ const node = this.host.nativeElement;
195
+ if (typeof node === 'object' && node !== null) {
196
+ registerViewFlush(node, () => this.flush());
197
+ }
198
+ }
199
+ // REPORTED, NOT RETHROWN — Angular's own contract. Every other change detection runs inside
200
+ // `ApplicationRef.tick()`, caught by `ErrorHandler` (`SymbioteErrorHandler`); this flush instead
201
+ // runs from a native event dispatch, where an uncaught throw has nowhere to go but `RCTFatal`.
202
+ flush() {
203
+ try {
204
+ this.detector.detectChanges();
205
+ }
206
+ catch (error) {
207
+ this.errorHandler.handleError(error);
208
+ }
209
+ }
210
+ ngOnDestroy() {
211
+ const node = this.host.nativeElement;
212
+ if (typeof node === 'object' && node !== null)
213
+ unregisterViewFlush(node);
214
+ }
215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ReadBackElement, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
216
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: ReadBackElement, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
217
+ }
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ReadBackElement, decorators: [{
219
+ type: Directive
220
+ }], ctorParameters: () => [] });
221
+ /**
222
+ * The `[(value)]` half of a controlled tag — `<switch>` and `<text-input>`.
223
+ *
224
+ * The one `@Output` in this file, and it is FORCED rather than chosen. `[(value)]` desugars to
225
+ * `[value]` + `(valueChange)`, and ngtsc requires both halves to resolve to the SAME target: a
226
+ * declared `value` input beside an event no directive claims is NG8007, "the property and event
227
+ * halves are not bound to the same target". So the sugar this adapter documents cannot work without
228
+ * the output existing, whatever the file header says about events in general.
229
+ *
230
+ * The bridge below is NOT what makes the binding work today, and the comment says so because the
231
+ * obvious reading is wrong: the file header's "an `@Output` CONSUMES the binding" holds for a
232
+ * COMPONENT, and an element is the other case — Angular attaches the renderer listener for the
233
+ * event as well, so `Renderer2.listen` still runs and the engine still hears the change. Measured
234
+ * under JIT by deleting this whole hook: every case in `renderer/two-way-value.test.ts` stayed
235
+ * green, delivery included, and exactly ONCE (nothing double-fires when both paths exist).
236
+ *
237
+ * It is kept because the measurement is JIT-only and this adapter has a recorded case of JIT and
238
+ * AOT resolving a binding differently (`test-harness-false-greens.md` §21). If AOT routes the event
239
+ * exclusively to the output, this hook is the only thing keeping `[(value)]` alive; if it routes to
240
+ * both, it is one extra listener on a control an app explicitly bound. Delete it once something
241
+ * executes the LINKED artifact and shows the renderer listener is attached there too.
242
+ *
243
+ * Opened only when something is SUBSCRIBED: the prop's PRESENCE is what a behavior reads to decide
244
+ * it is controlled, so a `<switch>` given a handler nobody asked for changes how it snaps back.
245
+ * `.observed` is readable from `ngOnInit` because Angular subscribes outputs in the creation pass,
246
+ * before the update pass runs the hook — observed directly (true for the two bound tags, false for
247
+ * an unbound one), not assumed.
248
+ */
249
+ export class ValueChangeElement extends ReadBackElement {
250
+ constructor() {
251
+ super(...arguments);
252
+ this.valueRenderer = inject(Renderer2);
253
+ this.valueHost = inject(ElementRef);
254
+ }
255
+ ngOnInit() {
256
+ if (!this.hasValueSubscriber())
257
+ return;
258
+ this.unlistenValue = this.valueRenderer.listen(this.valueHost.nativeElement, VALUE_CHANGE_EVENT, (value) => {
259
+ this.emitValue(value);
260
+ });
261
+ }
262
+ ngOnDestroy() {
263
+ super.ngOnDestroy();
264
+ this.unlistenValue?.();
265
+ }
266
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ValueChangeElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
267
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: ValueChangeElement, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
268
+ }
269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ValueChangeElement, decorators: [{
270
+ type: Directive
271
+ }] });
272
+ //# sourceMappingURL=element-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-base.js","sourceRoot":"","sources":["../../src/element-base.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,165 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { OnDestroy } from '@angular/core';
3
+ import { type ControlValueAccessor } from '@angular/forms';
4
+ import type { IActivityIndicatorProps, IInputAccessoryViewViewProps, IModalViewProps, ISwitchProps, ITextInputProps } from '@symbiote-native/components';
5
+ import type { IStickyHeaderElementProps } from './element-props';
6
+ import type { IAngularRefreshControlProps } from './components/refresh-control-props';
7
+ import { ReadBackElement, SymbioteElement, ValueChangeElement } from './element-base';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TextInputElement extends ValueChangeElement {
10
+ value?: ITextInputProps['value'];
11
+ defaultValue?: ITextInputProps['defaultValue'];
12
+ placeholder?: ITextInputProps['placeholder'];
13
+ placeholderTextColor?: ITextInputProps['placeholderTextColor'];
14
+ multiline?: ITextInputProps['multiline'];
15
+ numberOfLines?: ITextInputProps['numberOfLines'];
16
+ maxLength?: ITextInputProps['maxLength'];
17
+ editable?: ITextInputProps['editable'];
18
+ readOnly?: ITextInputProps['readOnly'];
19
+ autoFocus?: ITextInputProps['autoFocus'];
20
+ autoCapitalize?: ITextInputProps['autoCapitalize'];
21
+ autoComplete?: ITextInputProps['autoComplete'];
22
+ autoCorrect?: ITextInputProps['autoCorrect'];
23
+ blurOnSubmit?: ITextInputProps['blurOnSubmit'];
24
+ submitBehavior?: ITextInputProps['submitBehavior'];
25
+ cursorColor?: ITextInputProps['cursorColor'];
26
+ enterKeyHint?: ITextInputProps['enterKeyHint'];
27
+ returnKeyType?: ITextInputProps['returnKeyType'];
28
+ inputMode?: ITextInputProps['inputMode'];
29
+ keyboardType?: ITextInputProps['keyboardType'];
30
+ inputAccessoryViewID?: ITextInputProps['inputAccessoryViewID'];
31
+ scrollEnabled?: ITextInputProps['scrollEnabled'];
32
+ secureTextEntry?: ITextInputProps['secureTextEntry'];
33
+ selectTextOnFocus?: ITextInputProps['selectTextOnFocus'];
34
+ selection?: ITextInputProps['selection'];
35
+ selectionColor?: ITextInputProps['selectionColor'];
36
+ selectionHandleColor?: ITextInputProps['selectionHandleColor'];
37
+ showSoftInputOnFocus?: ITextInputProps['showSoftInputOnFocus'];
38
+ textAlign?: ITextInputProps['textAlign'];
39
+ textContentType?: ITextInputProps['textContentType'];
40
+ underlineColorAndroid?: ITextInputProps['underlineColorAndroid'];
41
+ onValueChange?: ITextInputProps['onValueChange'];
42
+ onChangeText?: ITextInputProps['onChangeText'];
43
+ onContentSizeChange?: ITextInputProps['onContentSizeChange'];
44
+ onEndEditing?: ITextInputProps['onEndEditing'];
45
+ onKeyPress?: ITextInputProps['onKeyPress'];
46
+ onSelectionChange?: ITextInputProps['onSelectionChange'];
47
+ onSubmitEditing?: ITextInputProps['onSubmitEditing'];
48
+ readonly valueChange: EventEmitter<string>;
49
+ protected hasValueSubscriber(): boolean;
50
+ protected emitValue(value: unknown): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextInputElement, never>;
52
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputElement, "text-input", never, { "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placeholderTextColor": { "alias": "placeholderTextColor"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "numberOfLines": { "alias": "numberOfLines"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "autoCorrect": { "alias": "autoCorrect"; "required": false; }; "blurOnSubmit": { "alias": "blurOnSubmit"; "required": false; }; "submitBehavior": { "alias": "submitBehavior"; "required": false; }; "cursorColor": { "alias": "cursorColor"; "required": false; }; "enterKeyHint": { "alias": "enterKeyHint"; "required": false; }; "returnKeyType": { "alias": "returnKeyType"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "keyboardType": { "alias": "keyboardType"; "required": false; }; "inputAccessoryViewID": { "alias": "inputAccessoryViewID"; "required": false; }; "scrollEnabled": { "alias": "scrollEnabled"; "required": false; }; "secureTextEntry": { "alias": "secureTextEntry"; "required": false; }; "selectTextOnFocus": { "alias": "selectTextOnFocus"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectionColor": { "alias": "selectionColor"; "required": false; }; "selectionHandleColor": { "alias": "selectionHandleColor"; "required": false; }; "showSoftInputOnFocus": { "alias": "showSoftInputOnFocus"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "textContentType": { "alias": "textContentType"; "required": false; }; "underlineColorAndroid": { "alias": "underlineColorAndroid"; "required": false; }; "onValueChange": { "alias": "onValueChange"; "required": false; }; "onChangeText": { "alias": "onChangeText"; "required": false; }; "onContentSizeChange": { "alias": "onContentSizeChange"; "required": false; }; "onEndEditing": { "alias": "onEndEditing"; "required": false; }; "onKeyPress": { "alias": "onKeyPress"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; "onSubmitEditing": { "alias": "onSubmitEditing"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
53
+ }
54
+ export declare class MultilineTextInputElement extends TextInputElement {
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultilineTextInputElement, never>;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MultilineTextInputElement, "text-input-multiline", never, {}, {}, never, never, true, never>;
57
+ }
58
+ export declare class SwitchElement extends ValueChangeElement {
59
+ value?: ISwitchProps['value'];
60
+ disabled?: ISwitchProps['disabled'];
61
+ trackColor?: ISwitchProps['trackColor'];
62
+ thumbColor?: ISwitchProps['thumbColor'];
63
+ ios_backgroundColor?: ISwitchProps['ios_backgroundColor'];
64
+ onValueChange?: ISwitchProps['onValueChange'];
65
+ readonly valueChange: EventEmitter<NonNullable<boolean | undefined>>;
66
+ protected hasValueSubscriber(): boolean;
67
+ protected emitValue(value: unknown): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchElement, never>;
69
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchElement, "switch, symbiote-switch", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "trackColor": { "alias": "trackColor"; "required": false; }; "thumbColor": { "alias": "thumbColor"; "required": false; }; "ios_backgroundColor": { "alias": "ios_backgroundColor"; "required": false; }; "onValueChange": { "alias": "onValueChange"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
70
+ }
71
+ /**
72
+ * `[(ngModel)]` / `formControlName` on a `<text-input>` or a `<switch>`.
73
+ *
74
+ * The wrappers provided `NG_VALUE_ACCESSOR` themselves; a tag has no class for @angular/forms to
75
+ * call into, so the accessor moves onto a directive of its own rather than being dropped — the
76
+ * shape Angular's own `DefaultValueAccessor` takes for `<input>`. Providing it unconditionally is
77
+ * safe: @angular/forms looks the accessor up only when an `ngModel` / `formControl*` directive sits
78
+ * on the SAME element, so a plain `<switch [(value)]>` never reaches it.
79
+ *
80
+ * Everything below goes through `Renderer2`, which is the adapter's own — `setProperty` lands in
81
+ * `routeProp` and `listen('valueChange')` is already unwrapped to a bare value there, so this
82
+ * directive holds no fold of its own.
83
+ */
84
+ declare abstract class SymbioteValueAccessor implements ControlValueAccessor, OnDestroy {
85
+ private readonly renderer;
86
+ private readonly host;
87
+ private unlisten?;
88
+ protected abstract writeDisabled(isDisabled: boolean): void;
89
+ protected setProp(name: string, value: unknown): void;
90
+ writeValue(value: unknown): void;
91
+ registerOnChange(fn: (value: unknown) => void): void;
92
+ registerOnTouched(fn: () => void): void;
93
+ setDisabledState(isDisabled: boolean): void;
94
+ ngOnDestroy(): void;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<SymbioteValueAccessor, never>;
96
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteValueAccessor, never, never, {}, {}, never, never, true, never>;
97
+ }
98
+ export declare class TextInputValueAccessor extends SymbioteValueAccessor {
99
+ protected writeDisabled(isDisabled: boolean): void;
100
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextInputValueAccessor, never>;
101
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputValueAccessor, "text-input[ngModel], text-input[formControl], text-input[formControlName], text-input-multiline[ngModel], text-input-multiline[formControl], text-input-multiline[formControlName]", never, {}, {}, never, never, true, never>;
102
+ }
103
+ export declare class SwitchValueAccessor extends SymbioteValueAccessor {
104
+ protected writeDisabled(isDisabled: boolean): void;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchValueAccessor, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchValueAccessor, "switch[ngModel], switch[formControl], switch[formControlName]", never, {}, {}, never, never, true, never>;
107
+ }
108
+ export declare class ActivityIndicatorElement extends SymbioteElement {
109
+ animating?: IActivityIndicatorProps['animating'];
110
+ color?: IActivityIndicatorProps['color'];
111
+ size?: IActivityIndicatorProps['size'];
112
+ hidesWhenStopped?: IActivityIndicatorProps['hidesWhenStopped'];
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIndicatorElement, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActivityIndicatorElement, "activity-indicator", never, { "animating": { "alias": "animating"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "hidesWhenStopped": { "alias": "hidesWhenStopped"; "required": false; }; }, {}, never, never, true, never>;
115
+ }
116
+ export declare class ActivityIndicatorSpinnerElement extends ActivityIndicatorElement {
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIndicatorSpinnerElement, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActivityIndicatorSpinnerElement, "activity-indicator-spinner", never, {}, {}, never, never, true, never>;
119
+ }
120
+ export declare class SafeAreaViewElement extends SymbioteElement {
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaViewElement, never>;
122
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SafeAreaViewElement, "safe-area-view", never, {}, {}, never, never, true, never>;
123
+ }
124
+ export declare class ModalElement extends SymbioteElement {
125
+ visible?: IModalViewProps['visible'];
126
+ transparent?: IModalViewProps['transparent'];
127
+ animationType?: IModalViewProps['animationType'];
128
+ presentationStyle?: IModalViewProps['presentationStyle'];
129
+ supportedOrientations?: IModalViewProps['supportedOrientations'];
130
+ hardwareAccelerated?: IModalViewProps['hardwareAccelerated'];
131
+ statusBarTranslucent?: IModalViewProps['statusBarTranslucent'];
132
+ navigationBarTranslucent?: IModalViewProps['navigationBarTranslucent'];
133
+ allowSwipeDismissal?: IModalViewProps['allowSwipeDismissal'];
134
+ backdropColor?: IModalViewProps['backdropColor'];
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalElement, never>;
136
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalElement, "modal, symbiote-modal", never, { "visible": { "alias": "visible"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "animationType": { "alias": "animationType"; "required": false; }; "presentationStyle": { "alias": "presentationStyle"; "required": false; }; "supportedOrientations": { "alias": "supportedOrientations"; "required": false; }; "hardwareAccelerated": { "alias": "hardwareAccelerated"; "required": false; }; "statusBarTranslucent": { "alias": "statusBarTranslucent"; "required": false; }; "navigationBarTranslucent": { "alias": "navigationBarTranslucent"; "required": false; }; "allowSwipeDismissal": { "alias": "allowSwipeDismissal"; "required": false; }; "backdropColor": { "alias": "backdropColor"; "required": false; }; }, {}, never, never, true, never>;
137
+ }
138
+ export declare class RefreshControlElement extends ReadBackElement {
139
+ refreshing?: IAngularRefreshControlProps['refreshing'];
140
+ enabled?: IAngularRefreshControlProps['enabled'];
141
+ colors?: IAngularRefreshControlProps['colors'];
142
+ tintColor?: IAngularRefreshControlProps['tintColor'];
143
+ title?: IAngularRefreshControlProps['title'];
144
+ titleColor?: IAngularRefreshControlProps['titleColor'];
145
+ size?: IAngularRefreshControlProps['size'];
146
+ progressBackgroundColor?: IAngularRefreshControlProps['progressBackgroundColor'];
147
+ progressViewOffset?: IAngularRefreshControlProps['progressViewOffset'];
148
+ onRefresh?: IAngularRefreshControlProps['onRefresh'];
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefreshControlElement, never>;
150
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RefreshControlElement, "refresh-control", never, { "refreshing": { "alias": "refreshing"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleColor": { "alias": "titleColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "progressBackgroundColor": { "alias": "progressBackgroundColor"; "required": false; }; "progressViewOffset": { "alias": "progressViewOffset"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, true, never>;
151
+ }
152
+ export declare class StickyHeaderElement extends SymbioteElement {
153
+ inverted?: IStickyHeaderElementProps['inverted'];
154
+ nextHeaderLayoutY?: IStickyHeaderElementProps['nextHeaderLayoutY'];
155
+ scrollAnimatedValue?: IStickyHeaderElementProps['scrollAnimatedValue'];
156
+ scrollViewHeight?: IStickyHeaderElementProps['scrollViewHeight'];
157
+ static ɵfac: i0.ɵɵFactoryDeclaration<StickyHeaderElement, never>;
158
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StickyHeaderElement, "sticky-header", never, { "inverted": { "alias": "inverted"; "required": false; }; "nextHeaderLayoutY": { "alias": "nextHeaderLayoutY"; "required": false; }; "scrollAnimatedValue": { "alias": "scrollAnimatedValue"; "required": false; }; "scrollViewHeight": { "alias": "scrollViewHeight"; "required": false; }; }, {}, never, never, true, never>;
159
+ }
160
+ export declare class InputAccessoryViewElement extends SymbioteElement {
161
+ backgroundColor?: IInputAccessoryViewViewProps['backgroundColor'];
162
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAccessoryViewElement, never>;
163
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputAccessoryViewElement, "input-accessory-view", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, {}, never, never, true, never>;
164
+ }
165
+ export {};