@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,380 +0,0 @@
1
- // RefreshControl, the Angular lifecycle half. On iOS this is the PullToRefreshView Fabric node that
2
- // lives INSIDE a ScrollView (a childless sibling before the content container); on Android it is
3
- // AndroidSwipeRefreshLayout and WRAPS the scroll view, receiving it through <ng-content>. There is
4
- // no JS-side platform renaming and no shared render fn — every prop forwards straight to the
5
- // native node, which reads what it understands and ignores the rest, so Android-only and iOS-only
6
- // prop families ride down harmlessly on both. This folds aria/role through the shared
7
- // resolveAccessibilityProps and maps the native props + a11y + onRefresh onto the
8
- // symbiote-refresh-control host, children via <ng-content>. One composed component covers both
9
- // platforms, so this stays a flat single file.
10
- //
11
- // `refreshing` is a controlled prop: the parent owns it and pushes it down each commit; native
12
- // reports the gesture via the direct `topRefresh` event, which the engine routes to the host's
13
- // `refresh` listener (Angular blocks [onX] property bindings; events flow through (event) only).
14
- import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, computed, ElementRef, EventEmitter, inject, Input, Output, signal, ViewChild, } from '@angular/core';
15
- import { resolveAccessibilityProps, } from '@symbiote-native/components';
16
- import { dispatchViewCommand, dlog, isSymbioteEvent, isSymbioteNode, } from '@symbiote-native/engine';
17
- import { anchorHostStyle, RefreshControlHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from '../../primitives';
18
- import * as i0 from "@angular/core";
19
- import * as i1 from "../../primitives/shared";
20
- export class RefreshControl {
21
- // Controlled prop the parent owns; required to match the React reference surface.
22
- refreshing;
23
- // RN's onRefresh is `() => void | Promise<void>`, so the callback shape allows an async handler;
24
- // the @Output() itself only signals the gesture (fire-and-forget, native already starts refreshing).
25
- refresh = new EventEmitter();
26
- tintColor;
27
- title;
28
- titleColor;
29
- progressViewOffset;
30
- colors;
31
- progressBackgroundColor;
32
- size;
33
- enabled;
34
- style;
35
- testID;
36
- nativeID;
37
- accessible;
38
- accessibilityLabel;
39
- accessibilityHint;
40
- accessibilityRole;
41
- accessibilityState;
42
- accessibilityValue;
43
- accessibilityActions;
44
- accessibilityLabelledBy;
45
- importantForAccessibility;
46
- accessibilityLiveRegion;
47
- screenReaderFocusable;
48
- accessibilityViewIsModal;
49
- accessibilityElementsHidden;
50
- accessibilityIgnoresInvertColors;
51
- accessibilityLanguage;
52
- accessibilityRespondsToUserInteraction;
53
- accessibilityShowsLargeContentViewer;
54
- accessibilityLargeContentTitle;
55
- accessibilityAction = new EventEmitter();
56
- accessibilityTap = new EventEmitter();
57
- magicTap = new EventEmitter();
58
- accessibilityEscape = new EventEmitter();
59
- role;
60
- ariaLabel;
61
- ariaLabelledBy;
62
- ariaLive;
63
- ariaHidden;
64
- ariaBusy;
65
- ariaChecked;
66
- ariaDisabled;
67
- ariaExpanded;
68
- ariaSelected;
69
- ariaModal;
70
- ariaValueMax;
71
- ariaValueMin;
72
- ariaValueNow;
73
- ariaValueText;
74
- // The inner symbiote-refresh-control primitive — NOT this component's own anchor host. Used for
75
- // the imperative dispatchViewCommand calls below.
76
- host;
77
- // This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
78
- // onto (see anchorHostStyle's doc comment) — distinct from `host` above, which targets the real
79
- // inner `symbiote-refresh-control` primitive one level down.
80
- elementRef = inject(ElementRef);
81
- lastNativeRefreshing = false;
82
- refreshNativeNode;
83
- // Bridges the non-reactive @Input fields `hostProps` reads into the reactive graph, so it can
84
- // memoize. Plain fields read inside a computed() are UNTRACKED - something must signal "a
85
- // dependency changed" or the bag goes stale. Signal inputs would do this natively, but `input()`
86
- // is visible only to the AOT compiler and this package's unit suite runs on JIT (see the
87
- // `angular-adapter-change-detection` skill, §6); `signal()`/`computed()` are plain runtime APIs.
88
- // Safe here because `refreshing` is a CONTROLLED @Input - the parent owns it, nothing in this
89
- // class assigns it. The internal `lastNativeRefreshing` / `refreshNativeNode` fields drive the
90
- // native handshake only; neither is read by the bag, so neither may bump this.
91
- hostPropsRevision = signal(0, /* @ts-ignore */
92
- ...(ngDevMode ? [{ debugName: "hostPropsRevision" }] : /* istanbul ignore next */ []));
93
- // What the anchor's class-derived style was when the bag was last built (identity, not value).
94
- lastAnchorStyle;
95
- ngOnInit() {
96
- dlog('RefreshControl -> PullToRefreshView');
97
- dlog(`RefreshControl refreshing=${String(this.refreshing)}`);
98
- if (this.enabled !== undefined)
99
- dlog(`RefreshControl enabled=${String(this.enabled)} (Android-only)`);
100
- if (this.refresh.observed)
101
- dlog('RefreshControl refresh listener wired');
102
- }
103
- ngAfterViewInit() {
104
- this.lastNativeRefreshing = this.refreshing;
105
- }
106
- ngOnChanges(changes) {
107
- // Before the `refreshing`-only early-return below: this is the single moment Angular has
108
- // finished writing every changed @Input, and `hostProps` depends on the whole input surface.
109
- this.hostPropsRevision.update(revision => revision + 1);
110
- const refreshing = changes.refreshing;
111
- if (refreshing === undefined)
112
- return;
113
- if (refreshing.firstChange) {
114
- this.lastNativeRefreshing = this.refreshing;
115
- return;
116
- }
117
- this.syncNativeRefreshing(this.refreshNativeNode ?? this.host?.nativeElement);
118
- }
119
- // Native starts the spinner before JS runs. Mirror RN's RefreshControl controlled-component
120
- // handshake: remember that native is refreshing, call the user's callback, then after Angular has
121
- // had a chance to propagate `[refreshing]`, force native back to the JS value if it stayed false.
122
- handleRefresh(nativeNode = this.host?.nativeElement) {
123
- this.refreshNativeNode = nativeNode;
124
- this.lastNativeRefreshing = true;
125
- this.refresh.emit();
126
- queueMicrotask(() => this.syncNativeRefreshing(nativeNode));
127
- }
128
- syncNativeRefreshing(nativeNode) {
129
- if (this.refreshing === this.lastNativeRefreshing)
130
- return;
131
- if (!isSymbioteNode(nativeNode))
132
- return;
133
- dispatchViewCommand(nativeNode, 'setNativeRefreshing', [this.refreshing]);
134
- this.lastNativeRefreshing = this.refreshing;
135
- }
136
- // Forward an engine event to the matching @Output(), narrowing the template's untyped $event
137
- // first. The accessibility* events arrive on the engine's structural event channel.
138
- emit(emitter, event) {
139
- if (isSymbioteEvent(event))
140
- emitter.emit(event);
141
- }
142
- // The anchor's class-derived style is NOT an @Input: `class="..."`/`[ngClass]` at the use site
143
- // resolves through the renderer's addClass onto this component's anchor host (see
144
- // anchorHostStyle's doc comment), so it never shows up in SimpleChanges and ngOnChanges alone
145
- // would leave a later class toggle stranded. ngDoCheck runs at exactly the cadence the old
146
- // getter was re-read, and bumps only on a real identity change.
147
- ngDoCheck() {
148
- const anchorStyle = anchorHostStyle(this.elementRef);
149
- if (anchorStyle === this.lastAnchorStyle)
150
- return;
151
- this.lastAnchorStyle = anchorStyle;
152
- this.hostPropsRevision.update(revision => revision + 1);
153
- }
154
- // The full native + a11y prop bag applied onto the host in one shot via
155
- // [symbioteHostProps], instead of enumerating each key as its own template binding. The
156
- // anchor's class-derived style goes FIRST, this component's own explicit `style` @Input SECOND
157
- // — flattenStyle's later-wins collapse keeps an explicit [style] winning over its ambient class.
158
- //
159
- // A computed(), not a getter: Angular re-reads a template getter on every refresh of this view
160
- // and `[symbioteHostProps]` compares by REFERENCE, so a freshly rebuilt (but identical) bag
161
- // re-pushes every key through renderer.setProperty -> the engine's prop routing. A pull gesture
162
- // dirties this view through its own `(refresh)` binding, which is exactly when that waste hit.
163
- hostProps = computed(() => {
164
- this.hostPropsRevision();
165
- return {
166
- refreshing: this.refreshing,
167
- tintColor: this.tintColor,
168
- title: this.title,
169
- titleColor: this.titleColor,
170
- progressViewOffset: this.progressViewOffset,
171
- colors: this.colors,
172
- progressBackgroundColor: this.progressBackgroundColor,
173
- size: this.size,
174
- enabled: this.enabled,
175
- style: [anchorHostStyle(this.elementRef), this.style],
176
- testID: this.testID,
177
- nativeID: this.nativeID,
178
- accessible: this.accessible,
179
- ...this.folded,
180
- };
181
- }, /* @ts-ignore */
182
- ...(ngDevMode ? [{ debugName: "hostProps" }] : /* istanbul ignore next */ []));
183
- // Fold the web aria-*/role aliases into the canonical accessibility* props once per render, so the
184
- // host node never sees an aria-* key (native ignores them) — the shared transform every adapter runs.
185
- get folded() {
186
- return resolveAccessibilityProps({
187
- accessibilityLabel: this.accessibilityLabel,
188
- accessibilityHint: this.accessibilityHint,
189
- accessibilityRole: this.accessibilityRole,
190
- accessibilityState: this.accessibilityState,
191
- accessibilityValue: this.accessibilityValue,
192
- accessibilityActions: this.accessibilityActions,
193
- accessibilityLabelledBy: this.accessibilityLabelledBy,
194
- importantForAccessibility: this.importantForAccessibility,
195
- accessibilityLiveRegion: this.accessibilityLiveRegion,
196
- screenReaderFocusable: this.screenReaderFocusable,
197
- accessibilityViewIsModal: this.accessibilityViewIsModal,
198
- accessibilityElementsHidden: this.accessibilityElementsHidden,
199
- accessibilityIgnoresInvertColors: this.accessibilityIgnoresInvertColors,
200
- accessibilityLanguage: this.accessibilityLanguage,
201
- accessibilityRespondsToUserInteraction: this.accessibilityRespondsToUserInteraction,
202
- accessibilityShowsLargeContentViewer: this.accessibilityShowsLargeContentViewer,
203
- accessibilityLargeContentTitle: this.accessibilityLargeContentTitle,
204
- role: this.role,
205
- 'aria-label': this.ariaLabel,
206
- 'aria-labelledby': this.ariaLabelledBy,
207
- 'aria-live': this.ariaLive,
208
- 'aria-hidden': this.ariaHidden,
209
- 'aria-busy': this.ariaBusy,
210
- 'aria-checked': this.ariaChecked,
211
- 'aria-disabled': this.ariaDisabled,
212
- 'aria-expanded': this.ariaExpanded,
213
- 'aria-selected': this.ariaSelected,
214
- 'aria-modal': this.ariaModal,
215
- 'aria-valuemax': this.ariaValueMax,
216
- 'aria-valuemin': this.ariaValueMin,
217
- 'aria-valuenow': this.ariaValueNow,
218
- 'aria-valuetext': this.ariaValueText,
219
- });
220
- }
221
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControl, deps: [], target: i0.ɵɵFactoryTarget.Component });
222
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: RefreshControl, isStandalone: true, selector: "RefreshControl", inputs: { refreshing: "refreshing", tintColor: "tintColor", title: "title", titleColor: "titleColor", progressViewOffset: "progressViewOffset", colors: "colors", progressBackgroundColor: "progressBackgroundColor", size: "size", enabled: "enabled", 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"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { refresh: "refresh", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, viewQueries: [{ propertyName: "host", first: true, predicate: ["host"], descendants: true }], usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
223
- <symbiote-refresh-control
224
- #host
225
- [symbioteHostProps]="hostProps()"
226
- (refresh)="handleRefresh()"
227
- (accessibilityAction)="emit(accessibilityAction, $event)"
228
- (accessibilityTap)="emit(accessibilityTap, $event)"
229
- (magicTap)="emit(magicTap, $event)"
230
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
231
- >
232
- <ng-content></ng-content>
233
- </symbiote-refresh-control>
234
- `, isInline: true, dependencies: [{ kind: "component", type: RefreshControlHost, selector: "symbiote-refresh-control" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
235
- }
236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControl, decorators: [{
237
- type: Component,
238
- args: [{
239
- selector: 'RefreshControl',
240
- standalone: true,
241
- hostDirectives: [
242
- { directive: SymbioteStyleInputDirective, inputs: ['style'] },
243
- ],
244
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
245
- imports: [RefreshControlHost, SymbioteHostPropsDirective],
246
- changeDetection: ChangeDetectionStrategy.OnPush,
247
- template: `
248
- <symbiote-refresh-control
249
- #host
250
- [symbioteHostProps]="hostProps()"
251
- (refresh)="handleRefresh()"
252
- (accessibilityAction)="emit(accessibilityAction, $event)"
253
- (accessibilityTap)="emit(accessibilityTap, $event)"
254
- (magicTap)="emit(magicTap, $event)"
255
- (accessibilityEscape)="emit(accessibilityEscape, $event)"
256
- >
257
- <ng-content></ng-content>
258
- </symbiote-refresh-control>
259
- `,
260
- }]
261
- }], propDecorators: { refreshing: [{
262
- type: Input,
263
- args: [{ required: true }]
264
- }], refresh: [{
265
- type: Output
266
- }], tintColor: [{
267
- type: Input
268
- }], title: [{
269
- type: Input
270
- }], titleColor: [{
271
- type: Input
272
- }], progressViewOffset: [{
273
- type: Input
274
- }], colors: [{
275
- type: Input
276
- }], progressBackgroundColor: [{
277
- type: Input
278
- }], size: [{
279
- type: Input
280
- }], enabled: [{
281
- type: Input
282
- }], style: [{
283
- type: Input
284
- }], testID: [{
285
- type: Input
286
- }], nativeID: [{
287
- type: Input
288
- }], accessible: [{
289
- type: Input
290
- }], accessibilityLabel: [{
291
- type: Input
292
- }], accessibilityHint: [{
293
- type: Input
294
- }], accessibilityRole: [{
295
- type: Input
296
- }], accessibilityState: [{
297
- type: Input
298
- }], accessibilityValue: [{
299
- type: Input
300
- }], accessibilityActions: [{
301
- type: Input
302
- }], accessibilityLabelledBy: [{
303
- type: Input
304
- }], importantForAccessibility: [{
305
- type: Input
306
- }], accessibilityLiveRegion: [{
307
- type: Input
308
- }], screenReaderFocusable: [{
309
- type: Input
310
- }], accessibilityViewIsModal: [{
311
- type: Input
312
- }], accessibilityElementsHidden: [{
313
- type: Input
314
- }], accessibilityIgnoresInvertColors: [{
315
- type: Input
316
- }], accessibilityLanguage: [{
317
- type: Input
318
- }], accessibilityRespondsToUserInteraction: [{
319
- type: Input
320
- }], accessibilityShowsLargeContentViewer: [{
321
- type: Input
322
- }], accessibilityLargeContentTitle: [{
323
- type: Input
324
- }], accessibilityAction: [{
325
- type: Output
326
- }], accessibilityTap: [{
327
- type: Output
328
- }], magicTap: [{
329
- type: Output
330
- }], accessibilityEscape: [{
331
- type: Output
332
- }], role: [{
333
- type: Input
334
- }], ariaLabel: [{
335
- type: Input,
336
- args: ['aria-label']
337
- }], ariaLabelledBy: [{
338
- type: Input,
339
- args: ['aria-labelledby']
340
- }], ariaLive: [{
341
- type: Input,
342
- args: ['aria-live']
343
- }], ariaHidden: [{
344
- type: Input,
345
- args: ['aria-hidden']
346
- }], ariaBusy: [{
347
- type: Input,
348
- args: ['aria-busy']
349
- }], ariaChecked: [{
350
- type: Input,
351
- args: ['aria-checked']
352
- }], ariaDisabled: [{
353
- type: Input,
354
- args: ['aria-disabled']
355
- }], ariaExpanded: [{
356
- type: Input,
357
- args: ['aria-expanded']
358
- }], ariaSelected: [{
359
- type: Input,
360
- args: ['aria-selected']
361
- }], ariaModal: [{
362
- type: Input,
363
- args: ['aria-modal']
364
- }], ariaValueMax: [{
365
- type: Input,
366
- args: ['aria-valuemax']
367
- }], ariaValueMin: [{
368
- type: Input,
369
- args: ['aria-valuemin']
370
- }], ariaValueNow: [{
371
- type: Input,
372
- args: ['aria-valuenow']
373
- }], ariaValueText: [{
374
- type: Input,
375
- args: ['aria-valuetext']
376
- }], host: [{
377
- type: ViewChild,
378
- args: ['host']
379
- }] } });
380
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/refresh-control/index.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,iGAAiG;AACjG,mGAAmG;AACnG,6FAA6F;AAC7F,kGAAkG;AAClG,sFAAsF;AACtF,kFAAkF;AAClF,+FAA+F;AAC/F,+CAA+C;AAC/C,EAAE;AACF,+FAA+F;AAC/F,+FAA+F;AAC/F,iGAAiG;AAEjG,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAS,GAMV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,yBAAyB,GAI1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mBAAmB,EACnB,IAAI,EACJ,eAAe,EACf,cAAc,GAIf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;;;AAoE1B,MAAM,OAAO,cAAc;IAQzB,kFAAkF;IACvD,UAAU,CAAW;IAChD,iGAAiG;IACjG,qGAAqG;IAClF,OAAO,GAAG,IAAI,YAAY,EAAQ,CAAC;IAC7C,SAAS,CAAU;IACnB,KAAK,CAAU;IACf,UAAU,CAAU;IACpB,kBAAkB,CAAU;IAC5B,MAAM,CAAqB;IAC3B,uBAAuB,CAAU;IACjC,IAAI,CAAuB;IAC3B,OAAO,CAAW;IAClB,KAAK,CAA0B;IAC/B,MAAM,CAAU;IAChB,QAAQ,CAAU;IAClB,UAAU,CAAW;IACrB,kBAAkB,CAAU;IAC5B,iBAAiB,CAAU;IAC3B,iBAAiB,CAA4C;IAC7D,kBAAkB,CAA4B;IAC9C,kBAAkB,CAA6C;IAC/D,o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AK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB;;sBAItB,SAAS;uBAAC,MAAM"}
@@ -1,62 +0,0 @@
1
- import { EventEmitter, type DoCheck, type OnChanges } from '@angular/core';
2
- import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps } from '@symbiote-native/components';
3
- import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../primitives/shared";
6
- export interface IAngularSafeAreaViewProps extends IAccessibilityProps, IAriaProps {
7
- style?: IStyleProp<IViewStyle>;
8
- onLayout?: (event: ISymbioteEvent) => void;
9
- }
10
- export type IAngularSafeAreaViewInputs = Omit<IAngularSafeAreaViewProps, 'onLayout' | 'onAccessibilityAction' | 'onAccessibilityTap' | 'onMagicTap' | 'onAccessibilityEscape'>;
11
- export declare class SafeAreaView implements IAngularSafeAreaViewInputs, OnChanges, DoCheck {
12
- style?: IStyleProp<IViewStyle>;
13
- readonly layout: EventEmitter<ISymbioteEvent>;
14
- readonly accessibilityAction: EventEmitter<ISymbioteEvent>;
15
- readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
16
- readonly magicTap: EventEmitter<ISymbioteEvent>;
17
- readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
18
- testID?: string;
19
- nativeID?: string;
20
- accessible?: boolean;
21
- accessibilityLabel?: string;
22
- accessibilityHint?: string;
23
- accessibilityRole?: IAccessibilityProps['accessibilityRole'];
24
- accessibilityState?: IAccessibilityStateValue;
25
- accessibilityValue?: IAccessibilityProps['accessibilityValue'];
26
- accessibilityActions?: IAccessibilityProps['accessibilityActions'];
27
- accessibilityLabelledBy?: string | string[];
28
- importantForAccessibility?: IAccessibilityProps['importantForAccessibility'];
29
- accessibilityLiveRegion?: IAccessibilityProps['accessibilityLiveRegion'];
30
- screenReaderFocusable?: boolean;
31
- accessibilityViewIsModal?: boolean;
32
- accessibilityElementsHidden?: boolean;
33
- accessibilityIgnoresInvertColors?: boolean;
34
- accessibilityLanguage?: string;
35
- accessibilityRespondsToUserInteraction?: boolean;
36
- accessibilityShowsLargeContentViewer?: boolean;
37
- accessibilityLargeContentTitle?: string;
38
- role?: IAriaProps['role'];
39
- ariaLabel?: string;
40
- ariaLabelledBy?: string;
41
- ariaLive?: IAriaProps['aria-live'];
42
- ariaHidden?: boolean;
43
- ariaBusy?: boolean;
44
- ariaChecked?: boolean | 'mixed';
45
- ariaDisabled?: boolean;
46
- ariaExpanded?: boolean;
47
- ariaSelected?: boolean;
48
- ariaModal?: boolean;
49
- ariaValueMax?: number;
50
- ariaValueMin?: number;
51
- ariaValueNow?: number;
52
- ariaValueText?: string;
53
- private readonly elementRef;
54
- emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
55
- private readonly hostPropsRevision;
56
- private lastAnchorStyle;
57
- ngOnChanges(): void;
58
- ngDoCheck(): void;
59
- readonly hostProps: import("@angular/core").Signal<Record<string, unknown>>;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaView, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaView, "SafeAreaView", never, { "style": { "alias": "style"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLive": { "alias": "aria-live"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; "ariaBusy": { "alias": "aria-busy"; "required": false; }; "ariaChecked": { "alias": "aria-checked"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaSelected": { "alias": "aria-selected"; "required": false; }; "ariaModal": { "alias": "aria-modal"; "required": false; }; "ariaValueMax": { "alias": "aria-valuemax"; "required": false; }; "ariaValueMin": { "alias": "aria-valuemin"; "required": false; }; "ariaValueNow": { "alias": "aria-valuenow"; "required": false; }; "ariaValueText": { "alias": "aria-valuetext"; "required": false; }; }, { "layout": "layout"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
62
- }