@symbiote-native/angular 0.1.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 (372) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +147 -0
  3. package/build/angular/components/activity-indicator/index.android.d.ts +12 -0
  4. package/build/angular/components/activity-indicator/index.android.js +21 -0
  5. package/build/angular/components/activity-indicator/index.android.js.map +1 -0
  6. package/build/angular/components/activity-indicator/index.d.ts +1 -0
  7. package/build/angular/components/activity-indicator/index.ios.d.ts +8 -0
  8. package/build/angular/components/activity-indicator/index.ios.js +21 -0
  9. package/build/angular/components/activity-indicator/index.ios.js.map +1 -0
  10. package/build/angular/components/activity-indicator/index.js +4 -0
  11. package/build/angular/components/activity-indicator/index.js.map +1 -0
  12. package/build/angular/components/activity-indicator/shared.d.ts +67 -0
  13. package/build/angular/components/activity-indicator/shared.js +260 -0
  14. package/build/angular/components/activity-indicator/shared.js.map +1 -0
  15. package/build/angular/components/button.d.ts +63 -0
  16. package/build/angular/components/button.js +332 -0
  17. package/build/angular/components/button.js.map +1 -0
  18. package/build/angular/components/drawer-layout-android/index.android.d.ts +34 -0
  19. package/build/angular/components/drawer-layout-android/index.android.js +291 -0
  20. package/build/angular/components/drawer-layout-android/index.android.js.map +1 -0
  21. package/build/angular/components/drawer-layout-android/index.d.ts +11 -0
  22. package/build/angular/components/drawer-layout-android/index.js +109 -0
  23. package/build/angular/components/drawer-layout-android/index.js.map +1 -0
  24. package/build/angular/components/drawer-layout-android/shared.d.ts +74 -0
  25. package/build/angular/components/drawer-layout-android/shared.js +138 -0
  26. package/build/angular/components/drawer-layout-android/shared.js.map +1 -0
  27. package/build/angular/components/flat-list/index.d.ts +122 -0
  28. package/build/angular/components/flat-list/index.js +689 -0
  29. package/build/angular/components/flat-list/index.js.map +1 -0
  30. package/build/angular/components/image/index.android.d.ts +10 -0
  31. package/build/angular/components/image/index.android.js +59 -0
  32. package/build/angular/components/image/index.android.js.map +1 -0
  33. package/build/angular/components/image/index.d.ts +1 -0
  34. package/build/angular/components/image/index.ios.d.ts +10 -0
  35. package/build/angular/components/image/index.ios.js +59 -0
  36. package/build/angular/components/image/index.ios.js.map +1 -0
  37. package/build/angular/components/image/index.js +3 -0
  38. package/build/angular/components/image/index.js.map +1 -0
  39. package/build/angular/components/image/shared.d.ts +101 -0
  40. package/build/angular/components/image/shared.js +408 -0
  41. package/build/angular/components/image/shared.js.map +1 -0
  42. package/build/angular/components/image-background.d.ts +81 -0
  43. package/build/angular/components/image-background.js +418 -0
  44. package/build/angular/components/image-background.js.map +1 -0
  45. package/build/angular/components/input-accessory-view.d.ts +59 -0
  46. package/build/angular/components/input-accessory-view.js +266 -0
  47. package/build/angular/components/input-accessory-view.js.map +1 -0
  48. package/build/angular/components/keyboard-avoiding-view.d.ts +82 -0
  49. package/build/angular/components/keyboard-avoiding-view.js +363 -0
  50. package/build/angular/components/keyboard-avoiding-view.js.map +1 -0
  51. package/build/angular/components/modal.d.ts +92 -0
  52. package/build/angular/components/modal.js +365 -0
  53. package/build/angular/components/modal.js.map +1 -0
  54. package/build/angular/components/pressable/index.d.ts +123 -0
  55. package/build/angular/components/pressable/index.js +421 -0
  56. package/build/angular/components/pressable/index.js.map +1 -0
  57. package/build/angular/components/refresh-control.d.ts +86 -0
  58. package/build/angular/components/refresh-control.js +347 -0
  59. package/build/angular/components/refresh-control.js.map +1 -0
  60. package/build/angular/components/safe-area-view.d.ts +57 -0
  61. package/build/angular/components/safe-area-view.js +253 -0
  62. package/build/angular/components/safe-area-view.js.map +1 -0
  63. package/build/angular/components/scroll-view/index.android.d.ts +21 -0
  64. package/build/angular/components/scroll-view/index.android.js +235 -0
  65. package/build/angular/components/scroll-view/index.android.js.map +1 -0
  66. package/build/angular/components/scroll-view/index.d.ts +3 -0
  67. package/build/angular/components/scroll-view/index.ios.d.ts +9 -0
  68. package/build/angular/components/scroll-view/index.ios.js +86 -0
  69. package/build/angular/components/scroll-view/index.ios.js.map +1 -0
  70. package/build/angular/components/scroll-view/index.js +6 -0
  71. package/build/angular/components/scroll-view/index.js.map +1 -0
  72. package/build/angular/components/scroll-view/projection.d.ts +32 -0
  73. package/build/angular/components/scroll-view/projection.js +312 -0
  74. package/build/angular/components/scroll-view/projection.js.map +1 -0
  75. package/build/angular/components/scroll-view/shared.d.ts +230 -0
  76. package/build/angular/components/scroll-view/shared.js +679 -0
  77. package/build/angular/components/scroll-view/shared.js.map +1 -0
  78. package/build/angular/components/scroll-view/sticky-header.d.ts +41 -0
  79. package/build/angular/components/scroll-view/sticky-header.js +208 -0
  80. package/build/angular/components/scroll-view/sticky-header.js.map +1 -0
  81. package/build/angular/components/section-list/index.d.ts +116 -0
  82. package/build/angular/components/section-list/index.js +641 -0
  83. package/build/angular/components/section-list/index.js.map +1 -0
  84. package/build/angular/components/switch/index.android.d.ts +20 -0
  85. package/build/angular/components/switch/index.android.js +70 -0
  86. package/build/angular/components/switch/index.android.js.map +1 -0
  87. package/build/angular/components/switch/index.d.ts +1 -0
  88. package/build/angular/components/switch/index.ios.d.ts +19 -0
  89. package/build/angular/components/switch/index.ios.js +69 -0
  90. package/build/angular/components/switch/index.ios.js.map +1 -0
  91. package/build/angular/components/switch/index.js +4 -0
  92. package/build/angular/components/switch/index.js.map +1 -0
  93. package/build/angular/components/switch/shared.d.ts +40 -0
  94. package/build/angular/components/switch/shared.js +127 -0
  95. package/build/angular/components/switch/shared.js.map +1 -0
  96. package/build/angular/components/text-input.d.ts +153 -0
  97. package/build/angular/components/text-input.js +604 -0
  98. package/build/angular/components/text-input.js.map +1 -0
  99. package/build/angular/components/touchable-native-feedback.d.ts +83 -0
  100. package/build/angular/components/touchable-native-feedback.js +376 -0
  101. package/build/angular/components/touchable-native-feedback.js.map +1 -0
  102. package/build/angular/components/touchable.d.ts +248 -0
  103. package/build/angular/components/touchable.js +1206 -0
  104. package/build/angular/components/touchable.js.map +1 -0
  105. package/build/angular/components/virtualized-list/directives.d.ts +54 -0
  106. package/build/angular/components/virtualized-list/directives.js +154 -0
  107. package/build/angular/components/virtualized-list/directives.js.map +1 -0
  108. package/build/angular/components/virtualized-list/index.d.ts +268 -0
  109. package/build/angular/components/virtualized-list/index.js +1162 -0
  110. package/build/angular/components/virtualized-list/index.js.map +1 -0
  111. package/build/angular/components/virtualized-section-list/directives.d.ts +37 -0
  112. package/build/angular/components/virtualized-section-list/directives.js +77 -0
  113. package/build/angular/components/virtualized-section-list/directives.js.map +1 -0
  114. package/build/angular/components/virtualized-section-list/index.d.ts +178 -0
  115. package/build/angular/components/virtualized-section-list/index.js +722 -0
  116. package/build/angular/components/virtualized-section-list/index.js.map +1 -0
  117. package/build/angular/components.d.ts +39 -0
  118. package/build/angular/components.js +38 -0
  119. package/build/angular/components.js.map +1 -0
  120. package/build/angular/create-portal.d.ts +22 -0
  121. package/build/angular/create-portal.js +74 -0
  122. package/build/angular/create-portal.js.map +1 -0
  123. package/build/angular/create-tunnel.d.ts +34 -0
  124. package/build/angular/create-tunnel.js +126 -0
  125. package/build/angular/create-tunnel.js.map +1 -0
  126. package/build/angular/descriptor-to-angular/index.d.ts +22 -0
  127. package/build/angular/descriptor-to-angular/index.js +142 -0
  128. package/build/angular/descriptor-to-angular/index.js.map +1 -0
  129. package/build/angular/host-instance/index.d.ts +2 -0
  130. package/build/angular/host-instance/index.js +37 -0
  131. package/build/angular/host-instance/index.js.map +1 -0
  132. package/build/angular/index.d.ts +21 -0
  133. package/build/angular/index.js +42 -0
  134. package/build/angular/index.js.map +1 -0
  135. package/build/angular/modules/animated/create-animated-component.d.ts +68 -0
  136. package/build/angular/modules/animated/create-animated-component.js +429 -0
  137. package/build/angular/modules/animated/create-animated-component.js.map +1 -0
  138. package/build/angular/modules/animated/index.d.ts +51 -0
  139. package/build/angular/modules/animated/index.js +59 -0
  140. package/build/angular/modules/animated/index.js.map +1 -0
  141. package/build/angular/modules/app-registry/index.d.ts +7 -0
  142. package/build/angular/modules/app-registry/index.js +23 -0
  143. package/build/angular/modules/app-registry/index.js.map +1 -0
  144. package/build/angular/modules/status-bar.d.ts +20 -0
  145. package/build/angular/modules/status-bar.js +59 -0
  146. package/build/angular/modules/status-bar.js.map +1 -0
  147. package/build/angular/primitives/index.d.ts +63 -0
  148. package/build/angular/primitives/index.js +189 -0
  149. package/build/angular/primitives/index.js.map +1 -0
  150. package/build/angular/primitives/shared.d.ts +89 -0
  151. package/build/angular/primitives/shared.js +172 -0
  152. package/build/angular/primitives/shared.js.map +1 -0
  153. package/build/angular/render.d.ts +11 -0
  154. package/build/angular/render.js +161 -0
  155. package/build/angular/render.js.map +1 -0
  156. package/build/angular/renderer.d.ts +38 -0
  157. package/build/angular/renderer.js +360 -0
  158. package/build/angular/renderer.js.map +1 -0
  159. package/build/angular/services/color-scheme.service.d.ts +16 -0
  160. package/build/angular/services/color-scheme.service.js +31 -0
  161. package/build/angular/services/color-scheme.service.js.map +1 -0
  162. package/build/angular/services/index.d.ts +2 -0
  163. package/build/angular/services/index.js +3 -0
  164. package/build/angular/services/index.js.map +1 -0
  165. package/build/angular/services/window-dimensions.service.d.ts +16 -0
  166. package/build/angular/services/window-dimensions.service.js +42 -0
  167. package/build/angular/services/window-dimensions.service.js.map +1 -0
  168. package/build/components/activity-indicator/index.android.d.ts +9 -0
  169. package/build/components/activity-indicator/index.android.js +64 -0
  170. package/build/components/activity-indicator/index.d.ts +1 -0
  171. package/build/components/activity-indicator/index.ios.d.ts +5 -0
  172. package/build/components/activity-indicator/index.ios.js +64 -0
  173. package/build/components/activity-indicator/index.js +3 -0
  174. package/build/components/activity-indicator/shared.d.ts +64 -0
  175. package/build/components/activity-indicator/shared.js +424 -0
  176. package/build/components/button.d.ts +60 -0
  177. package/build/components/button.js +456 -0
  178. package/build/components/drawer-layout-android/index.android.d.ts +29 -0
  179. package/build/components/drawer-layout-android/index.android.js +326 -0
  180. package/build/components/drawer-layout-android/index.d.ts +8 -0
  181. package/build/components/drawer-layout-android/index.js +145 -0
  182. package/build/components/drawer-layout-android/shared.d.ts +71 -0
  183. package/build/components/drawer-layout-android/shared.js +205 -0
  184. package/build/components/flat-list/index.d.ts +119 -0
  185. package/build/components/flat-list/index.js +692 -0
  186. package/build/components/image/index.android.d.ts +7 -0
  187. package/build/components/image/index.android.js +88 -0
  188. package/build/components/image/index.d.ts +1 -0
  189. package/build/components/image/index.ios.d.ts +7 -0
  190. package/build/components/image/index.ios.js +88 -0
  191. package/build/components/image/index.js +2 -0
  192. package/build/components/image/shared.d.ts +101 -0
  193. package/build/components/image/shared.js +407 -0
  194. package/build/components/image-background.d.ts +78 -0
  195. package/build/components/image-background.js +583 -0
  196. package/build/components/input-accessory-view.d.ts +56 -0
  197. package/build/components/input-accessory-view.js +407 -0
  198. package/build/components/keyboard-avoiding-view.d.ts +79 -0
  199. package/build/components/keyboard-avoiding-view.js +509 -0
  200. package/build/components/modal.d.ts +89 -0
  201. package/build/components/modal.js +534 -0
  202. package/build/components/pressable/index.d.ts +120 -0
  203. package/build/components/pressable/index.js +640 -0
  204. package/build/components/refresh-control.d.ts +83 -0
  205. package/build/components/refresh-control.js +514 -0
  206. package/build/components/safe-area-view.d.ts +54 -0
  207. package/build/components/safe-area-view.js +393 -0
  208. package/build/components/scroll-view/index.android.d.ts +16 -0
  209. package/build/components/scroll-view/index.android.js +228 -0
  210. package/build/components/scroll-view/index.d.ts +3 -0
  211. package/build/components/scroll-view/index.ios.d.ts +6 -0
  212. package/build/components/scroll-view/index.ios.js +113 -0
  213. package/build/components/scroll-view/index.js +5 -0
  214. package/build/components/scroll-view/projection.d.ts +32 -0
  215. package/build/components/scroll-view/projection.js +311 -0
  216. package/build/components/scroll-view/shared.d.ts +225 -0
  217. package/build/components/scroll-view/shared.js +757 -0
  218. package/build/components/scroll-view/sticky-header.d.ts +38 -0
  219. package/build/components/scroll-view/sticky-header.js +257 -0
  220. package/build/components/section-list/index.d.ts +113 -0
  221. package/build/components/section-list/index.js +768 -0
  222. package/build/components/switch/index.android.d.ts +17 -0
  223. package/build/components/switch/index.android.js +107 -0
  224. package/build/components/switch/index.d.ts +1 -0
  225. package/build/components/switch/index.ios.d.ts +16 -0
  226. package/build/components/switch/index.ios.js +106 -0
  227. package/build/components/switch/index.js +3 -0
  228. package/build/components/switch/shared.d.ts +37 -0
  229. package/build/components/switch/shared.js +176 -0
  230. package/build/components/text-input.d.ts +150 -0
  231. package/build/components/text-input.js +826 -0
  232. package/build/components/touchable-native-feedback.d.ts +80 -0
  233. package/build/components/touchable-native-feedback.js +550 -0
  234. package/build/components/touchable.d.ts +241 -0
  235. package/build/components/touchable.js +1672 -0
  236. package/build/components/virtualized-list/directives.d.ts +41 -0
  237. package/build/components/virtualized-list/directives.js +250 -0
  238. package/build/components/virtualized-list/index.d.ts +265 -0
  239. package/build/components/virtualized-list/index.js +1344 -0
  240. package/build/components/virtualized-section-list/directives.d.ts +28 -0
  241. package/build/components/virtualized-section-list/directives.js +149 -0
  242. package/build/components/virtualized-section-list/index.d.ts +175 -0
  243. package/build/components/virtualized-section-list/index.js +854 -0
  244. package/build/components.d.ts +39 -0
  245. package/build/components.js +37 -0
  246. package/build/create-portal.d.ts +17 -0
  247. package/build/create-portal.js +128 -0
  248. package/build/create-tunnel.d.ts +29 -0
  249. package/build/create-tunnel.js +181 -0
  250. package/build/descriptor-to-angular/index.d.ts +19 -0
  251. package/build/descriptor-to-angular/index.js +186 -0
  252. package/build/host-instance/index.d.ts +2 -0
  253. package/build/host-instance/index.js +36 -0
  254. package/build/index.d.ts +21 -0
  255. package/build/index.js +41 -0
  256. package/build/modules/animated/create-animated-component.d.ts +57 -0
  257. package/build/modules/animated/create-animated-component.js +490 -0
  258. package/build/modules/animated/index.d.ts +51 -0
  259. package/build/modules/animated/index.js +58 -0
  260. package/build/modules/app-registry/index.d.ts +7 -0
  261. package/build/modules/app-registry/index.js +22 -0
  262. package/build/modules/status-bar.d.ts +17 -0
  263. package/build/modules/status-bar.js +121 -0
  264. package/build/primitives/index.d.ts +32 -0
  265. package/build/primitives/index.js +386 -0
  266. package/build/primitives/shared.d.ts +84 -0
  267. package/build/primitives/shared.js +231 -0
  268. package/build/render.d.ts +11 -0
  269. package/build/render.js +160 -0
  270. package/build/renderer.d.ts +38 -0
  271. package/build/renderer.js +359 -0
  272. package/build/services/color-scheme.service.d.ts +13 -0
  273. package/build/services/color-scheme.service.js +72 -0
  274. package/build/services/index.d.ts +2 -0
  275. package/build/services/index.js +2 -0
  276. package/build/services/window-dimensions.service.d.ts +13 -0
  277. package/build/services/window-dimensions.service.js +83 -0
  278. package/metro-css-parser.cjs +11 -0
  279. package/package.json +57 -0
  280. package/src/__tests__/responder-change-detection.test.ts +102 -0
  281. package/src/__tests__/responder-nested-cd.test.ts +113 -0
  282. package/src/angular-gaps.test.ts +142 -0
  283. package/src/angular-imports.test.ts +100 -0
  284. package/src/components/activity-indicator/activity-indicator-class-style.test.ts +44 -0
  285. package/src/components/activity-indicator/activity-indicator.test.ts +131 -0
  286. package/src/components/activity-indicator/index.android.ts +16 -0
  287. package/src/components/activity-indicator/index.ios.ts +17 -0
  288. package/src/components/activity-indicator/index.ts +4 -0
  289. package/src/components/activity-indicator/shared.ts +206 -0
  290. package/src/components/button.ts +193 -0
  291. package/src/components/flat-list/column-wrapper-style-class.test.ts +116 -0
  292. package/src/components/flat-list/flat-list-array-style.test.ts +131 -0
  293. package/src/components/flat-list/flat-list-class-style.test.ts +74 -0
  294. package/src/components/flat-list/flat-list-scroll-containment.test.ts +107 -0
  295. package/src/components/flat-list/flat-list.test.ts +99 -0
  296. package/src/components/flat-list/index.ts +575 -0
  297. package/src/components/image/image-class-style.test.ts +46 -0
  298. package/src/components/image/index.android.ts +48 -0
  299. package/src/components/image/index.ios.ts +48 -0
  300. package/src/components/image/index.ts +3 -0
  301. package/src/components/image/shared.ts +478 -0
  302. package/src/components/image-background-class-style.test.ts +48 -0
  303. package/src/components/image-background-style-class.test.ts +79 -0
  304. package/src/components/image-background.ts +270 -0
  305. package/src/components/input-accessory-view.test.ts +43 -0
  306. package/src/components/input-accessory-view.ts +191 -0
  307. package/src/components/keyboard-avoiding-view.test.ts +54 -0
  308. package/src/components/keyboard-avoiding-view.ts +308 -0
  309. package/src/components/modal.test.ts +43 -0
  310. package/src/components/modal.ts +304 -0
  311. package/src/components/pressable/index.ts +371 -0
  312. package/src/components/pressable/pressable.test.ts +85 -0
  313. package/src/components/refresh-control.test.ts +41 -0
  314. package/src/components/refresh-control.ts +288 -0
  315. package/src/components/safe-area-view.test.ts +43 -0
  316. package/src/components/safe-area-view.ts +178 -0
  317. package/src/components/scroll-view/android-scroll-view-axis-projection.test.ts +123 -0
  318. package/src/components/scroll-view/content-container-style-class.test.ts +75 -0
  319. package/src/components/scroll-view/index.android.ts +190 -0
  320. package/src/components/scroll-view/index.ios.ts +79 -0
  321. package/src/components/scroll-view/index.ts +7 -0
  322. package/src/components/scroll-view/projection.ts +384 -0
  323. package/src/components/scroll-view/scroll-view-class-style.test.ts +134 -0
  324. package/src/components/scroll-view/scroll-view-projection.test.ts +194 -0
  325. package/src/components/scroll-view/shared.ts +836 -0
  326. package/src/components/scroll-view/sticky-header.ts +230 -0
  327. package/src/components/section-list/index.ts +445 -0
  328. package/src/components/switch/android-switch-class.test.ts +42 -0
  329. package/src/components/switch/index.android.ts +61 -0
  330. package/src/components/switch/index.ios.ts +60 -0
  331. package/src/components/switch/index.ts +4 -0
  332. package/src/components/switch/shared.ts +197 -0
  333. package/src/components/switch/switch.test.ts +92 -0
  334. package/src/components/text-input-class-style.test.ts +54 -0
  335. package/src/components/text-input.ts +536 -0
  336. package/src/components/touchable-native-feedback.test.ts +49 -0
  337. package/src/components/touchable-native-feedback.ts +260 -0
  338. package/src/components/touchable.test.ts +102 -0
  339. package/src/components/touchable.ts +643 -0
  340. package/src/components/virtualized-list/directives.ts +169 -0
  341. package/src/components/virtualized-list/index.ts +1204 -0
  342. package/src/components/virtualized-list/virtualized-list-class-style.test.ts +76 -0
  343. package/src/components/virtualized-section-list/directives.ts +91 -0
  344. package/src/components/virtualized-section-list/index.ts +598 -0
  345. package/src/components/virtualized-section-list/virtualized-section-list-class-style.test.ts +60 -0
  346. package/src/components.ts +149 -0
  347. package/src/create-portal.test.ts +90 -0
  348. package/src/create-portal.ts +74 -0
  349. package/src/create-tunnel.test.ts +120 -0
  350. package/src/create-tunnel.ts +136 -0
  351. package/src/descriptor-to-angular/descriptor-outlet.test.ts +94 -0
  352. package/src/descriptor-to-angular/index.ts +190 -0
  353. package/src/host-instance/host-instance.test.ts +49 -0
  354. package/src/host-instance/index.ts +36 -0
  355. package/src/index.ts +257 -0
  356. package/src/modules/animated/animated-scroll-view.test.ts +85 -0
  357. package/src/modules/animated/create-animated-component.ts +435 -0
  358. package/src/modules/animated/index.ts +105 -0
  359. package/src/modules/app-registry/app-registry.test.ts +106 -0
  360. package/src/modules/app-registry/index.ts +60 -0
  361. package/src/modules/status-bar.test.ts +50 -0
  362. package/src/modules/status-bar.ts +57 -0
  363. package/src/primitives/index.ts +119 -0
  364. package/src/primitives/shared.ts +191 -0
  365. package/src/render.test.ts +147 -0
  366. package/src/render.ts +224 -0
  367. package/src/renderer.test.ts +179 -0
  368. package/src/renderer.ts +407 -0
  369. package/src/services/color-scheme.service.ts +27 -0
  370. package/src/services/index.ts +2 -0
  371. package/src/services/services.test.ts +163 -0
  372. package/src/services/window-dimensions.service.ts +41 -0
@@ -0,0 +1,51 @@
1
+ import { AnimatedValue, AnimatedValueXY, AnimatedColor, timing, spring, decay, parallel, sequence, stagger, loop, delay, add, subtract, multiply, divide, modulo, diffClamp, event, forkEvent, unforkEvent } from '@symbiote-native/engine';
2
+ import { AnimatedImage, AnimatedScrollView, AnimatedText, AnimatedView, createAnimatedComponent } from './create-animated-component';
3
+ export { AnimatedComponentBase, AnimatedFlatList, AnimatedImage, AnimatedScrollView, AnimatedSectionList, AnimatedText, AnimatedView, createAnimatedComponent, } from './create-animated-component';
4
+ export declare const Animated: {
5
+ Value: typeof AnimatedValue;
6
+ ValueXY: typeof AnimatedValueXY;
7
+ Color: typeof AnimatedColor;
8
+ Easing: {
9
+ step0(n: number): number;
10
+ step1(n: number): number;
11
+ linear(t: number): number;
12
+ ease(t: number): number;
13
+ quad(t: number): number;
14
+ cubic(t: number): number;
15
+ poly(n: number): import("@symbiote-native/engine").IEasingFunction;
16
+ sin(t: number): number;
17
+ circle(t: number): number;
18
+ exp(t: number): number;
19
+ elastic(bounciness?: number): import("@symbiote-native/engine").IEasingFunction;
20
+ back(s?: number): import("@symbiote-native/engine").IEasingFunction;
21
+ bounce(t: number): number;
22
+ bezier(x1: number, y1: number, x2: number, y2: number): import("@symbiote-native/engine").IEasingFunction;
23
+ in(easing: import("@symbiote-native/engine").IEasingFunction): import("@symbiote-native/engine").IEasingFunction;
24
+ out(easing: import("@symbiote-native/engine").IEasingFunction): import("@symbiote-native/engine").IEasingFunction;
25
+ inOut(easing: import("@symbiote-native/engine").IEasingFunction): import("@symbiote-native/engine").IEasingFunction;
26
+ };
27
+ timing: typeof timing;
28
+ spring: typeof spring;
29
+ decay: typeof decay;
30
+ parallel: typeof parallel;
31
+ sequence: typeof sequence;
32
+ stagger: typeof stagger;
33
+ loop: typeof loop;
34
+ delay: typeof delay;
35
+ add: typeof add;
36
+ subtract: typeof subtract;
37
+ multiply: typeof multiply;
38
+ divide: typeof divide;
39
+ modulo: typeof modulo;
40
+ diffClamp: typeof diffClamp;
41
+ event: typeof event;
42
+ forkEvent: typeof forkEvent;
43
+ unforkEvent: typeof unforkEvent;
44
+ View: typeof AnimatedView;
45
+ Text: typeof AnimatedText;
46
+ Image: typeof AnimatedImage;
47
+ ScrollView: typeof AnimatedScrollView;
48
+ FlatList: typeof import("../..").FlatList;
49
+ SectionList: typeof import("../..").SectionList;
50
+ createAnimatedComponent: typeof createAnimatedComponent;
51
+ };
@@ -0,0 +1,59 @@
1
+ // The Animated namespace for @symbiote-native/angular: the Angular twin of adapters/vue/src/modules/
2
+ // animated/index.ts. The animated COMPONENTS (View / Text / Image / ScrollView) are explicit
3
+ // standalone components (Angular has no runtime HOC — see create-animated-component.ts); the
4
+ // value graph, easing and imperative drivers come from @symbiote-native/engine (framework-agnostic,
5
+ // JS-driven, ADR 0016), spread in verbatim. Both halves meet here so the familiar surface,
6
+ // `Animated.timing(new Animated.Value(0), …).start()`, works against the Angular-driven engine.
7
+ import { AnimatedValue, AnimatedValueXY, AnimatedColor, AnimatedMock, Easing, Platform, timing, spring, decay, parallel, sequence, stagger, loop, delay, add, subtract, multiply, divide, modulo, diffClamp, event, forkEvent, unforkEvent, } from '@symbiote-native/engine';
8
+ import { AnimatedFlatList, AnimatedImage, AnimatedScrollView, AnimatedSectionList, AnimatedText, AnimatedView, createAnimatedComponent, } from './create-animated-component';
9
+ export { AnimatedComponentBase, AnimatedFlatList, AnimatedImage, AnimatedScrollView, AnimatedSectionList, AnimatedText, AnimatedView, createAnimatedComponent, } from './create-animated-component';
10
+ // ScrollView is exposed DIRECTLY, not behind the lazy getter the React/Vue modules use: that
11
+ // getter only exists to defer a RUNTIME createAnimatedComponent(ScrollView) past module init so
12
+ // it cannot read ScrollView inside its own TDZ during an import cycle. AnimatedScrollView here is
13
+ // a statically-declared component that never reads the ScrollView class at init (it targets the
14
+ // `symbiote-scroll-view` host by string), so there is no cycle to defer.
15
+ //
16
+ // FlatList / SectionList are exposed as explicit AOT-safe list entries now that the Angular list
17
+ // components exist. Angular still cannot synthesize arbitrary animated wrappers at runtime; custom
18
+ // animated components remain explicit standalone components over AnimatedComponentBase.
19
+ // The live, JS-driven driver namespace (real frames). RN's AnimatedImplementation.
20
+ const liveDrivers = {
21
+ Value: AnimatedValue,
22
+ ValueXY: AnimatedValueXY,
23
+ Color: AnimatedColor,
24
+ Easing,
25
+ timing,
26
+ spring,
27
+ decay,
28
+ parallel,
29
+ sequence,
30
+ stagger,
31
+ loop,
32
+ delay,
33
+ add,
34
+ subtract,
35
+ multiply,
36
+ divide,
37
+ modulo,
38
+ diffClamp,
39
+ event,
40
+ forkEvent,
41
+ unforkEvent,
42
+ };
43
+ // RN swaps the WHOLE driver namespace for the mock when the host reports isDisableAnimations
44
+ // (reduced motion / test env): the mock keeps the same surface but jumps each animation to its
45
+ // final value synchronously, no frames. The animated COMPONENTS are live in both branches; only
46
+ // the drivers/value/operators/events half is swapped, exactly like RN spreading `...Animated`
47
+ // (impl or mock) over the same components.
48
+ const drivers = Platform.isDisableAnimations ? AnimatedMock : liveDrivers;
49
+ export const Animated = {
50
+ View: AnimatedView,
51
+ Text: AnimatedText,
52
+ Image: AnimatedImage,
53
+ ScrollView: AnimatedScrollView,
54
+ FlatList: AnimatedFlatList,
55
+ SectionList: AnimatedSectionList,
56
+ createAnimatedComponent,
57
+ ...drivers,
58
+ };
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/animated/index.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,6FAA6F;AAC7F,6FAA6F;AAC7F,oGAAoG;AACpG,2FAA2F;AAC3F,gGAAgG;AAEhG,OAAO,EACL,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,KAAK,EACL,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,GACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,6FAA6F;AAC7F,gGAAgG;AAChG,kGAAkG;AAClG,gGAAgG;AAChG,yEAAyE;AACzE,EAAE;AACF,iGAAiG;AACjG,mGAAmG;AACnG,wFAAwF;AAExF,mFAAmF;AACnF,MAAM,WAAW,GAAG;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,aAAa;IACpB,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,IAAI;IACJ,KAAK;IACL,GAAG;IACH,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,SAAS;IACT,KAAK;IACL,SAAS;IACT,WAAW;CACZ,CAAC;AAEF,6FAA6F;AAC7F,+FAA+F;AAC/F,gGAAgG;AAChG,8FAA8F;AAC9F,2CAA2C;AAC3C,MAAM,OAAO,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAE1E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,UAAU,EAAE,kBAAkB;IAC9B,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,mBAAmB;IAChC,uBAAuB;IACvB,GAAG,OAAO;CACX,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Type } from '@angular/core';
2
+ import { type IAppParameters } from '@symbiote-native/engine';
3
+ export type IComponentProvider = () => Type<unknown>;
4
+ export type IWrapperComponentProvider = (appParameters: IAppParameters) => Type<unknown>;
5
+ declare const AppRegistry: import("@symbiote-native/engine").IAppRegistry<IComponentProvider, IWrapperComponentProvider>, setHostRegistrar: (registrar: import("@symbiote-native/engine").IHostRegistrar) => void;
6
+ export { AppRegistry, setHostRegistrar };
7
+ export type { IAppParameters, IRunnable, IHostRegistrar, IRegistry, IHeadlessTask, ITaskProvider, ITaskCanceller, ITaskCancelProvider, } from '@symbiote-native/engine';
@@ -0,0 +1,23 @@
1
+ // AppRegistry: the JS entry point RN apps already use:
2
+ // AppRegistry.registerComponent(appKey, () => App)
3
+ // The registry bookkeeping (sections, host-registrar bridge, headless tasks) is
4
+ // framework-agnostic and lives in @symbiote-native/engine's createAppRegistry; this file supplies
5
+ // only the one Angular-specific seam — building a runnable from a component provider via
6
+ // `mount`'s wrapper/initialProps support (render.ts) — so examples/angular's own
7
+ // registerRunnable + mount call can move onto the same entry point React/Vue already have.
8
+ import { createAppRegistry, dlog, } from '@symbiote-native/engine';
9
+ import { mount } from '../../render';
10
+ function runnableFor(componentProvider, getWrapperComponentProvider) {
11
+ return appParameters => {
12
+ dlog(`AppRegistry: mounting on rootTag ${String(appParameters.rootTag)}`);
13
+ // Read live (not at registration time) so setWrapperComponentProvider affects every
14
+ // runnable's next run, not just future ones.
15
+ mount(appParameters.rootTag, componentProvider(), {
16
+ initialProps: appParameters.initialProps,
17
+ wrapperComponent: getWrapperComponentProvider()?.(appParameters),
18
+ });
19
+ };
20
+ }
21
+ const { AppRegistry, setHostRegistrar } = createAppRegistry(runnableFor);
22
+ export { AppRegistry, setHostRegistrar };
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/app-registry/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qDAAqD;AACrD,gFAAgF;AAChF,kGAAkG;AAClG,yFAAyF;AACzF,iFAAiF;AACjF,2FAA2F;AAG3F,OAAO,EACL,iBAAiB,EACjB,IAAI,GAGL,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAcrC,SAAS,WAAW,CAClB,iBAAqC,EACrC,2BAAwE;IAExE,OAAO,aAAa,CAAC,EAAE;QACrB,IAAI,CAAC,oCAAoC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC1E,oFAAoF;QACpF,6CAA6C;QAC7C,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE;YAChD,YAAY,EAAE,aAAa,CAAC,YAAY;YACxC,gBAAgB,EAAE,2BAA2B,EAAE,EAAE,CAAC,aAAa,CAAC;SACjE,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,iBAAiB,CAGzD,WAAW,CAAC,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import { type IColorValue, type IStatusBarStyle } from '@symbiote-native/engine';
3
+ import * as i0 from "@angular/core";
4
+ export type { IStatusBarProps, IStatusBarStyle } from '@symbiote-native/engine';
5
+ declare class StatusBarComponent implements OnChanges {
6
+ barStyle?: IStatusBarStyle;
7
+ hidden?: boolean;
8
+ animated?: boolean;
9
+ networkActivityIndicatorVisible?: boolean;
10
+ backgroundColor?: IColorValue;
11
+ translucent?: boolean;
12
+ ngOnChanges(_changes: SimpleChanges): void;
13
+ private buildProps;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "StatusBar", never, { "barStyle": { "alias": "barStyle"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "networkActivityIndicatorVisible": { "alias": "networkActivityIndicatorVisible"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
17
+ declare const StatusBarWithStatics: typeof StatusBarComponent & import("@symbiote-native/engine").IStatusBarImperative;
18
+ export declare const StatusBar: typeof StatusBarWithStatics & {
19
+ readonly currentHeight?: number;
20
+ };
@@ -0,0 +1,59 @@
1
+ // StatusBar, the Angular lifecycle half. The native StatusBarManager driving, the imperative
2
+ // statics, and the Android bar-height constant all live in @symbiote-native/engine, shared verbatim with
3
+ // React and Vue; Metro selects the engine's platform variant. Angular supplies only the
4
+ // declarative shape: a component that renders nothing and re-applies the props through
5
+ // ngOnChanges on mount + every prop change. Imperative statics are attached to the component
6
+ // object the same way RN does.
7
+ import { Component, Input } from '@angular/core';
8
+ import { applyStatusBarProps, statusBarImperative, statusBarCurrentHeight, } from '@symbiote-native/engine';
9
+ import * as i0 from "@angular/core";
10
+ class StatusBarComponent {
11
+ barStyle;
12
+ hidden;
13
+ animated;
14
+ networkActivityIndicatorVisible;
15
+ backgroundColor;
16
+ translucent;
17
+ ngOnChanges(_changes) {
18
+ applyStatusBarProps(this.buildProps());
19
+ }
20
+ buildProps() {
21
+ return {
22
+ barStyle: this.barStyle,
23
+ hidden: this.hidden,
24
+ animated: this.animated,
25
+ networkActivityIndicatorVisible: this.networkActivityIndicatorVisible,
26
+ backgroundColor: this.backgroundColor,
27
+ translucent: this.translucent,
28
+ };
29
+ }
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: StatusBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: StatusBarComponent, isStandalone: true, selector: "StatusBar", inputs: { barStyle: "barStyle", hidden: "hidden", animated: "animated", networkActivityIndicatorVisible: "networkActivityIndicatorVisible", backgroundColor: "backgroundColor", translucent: "translucent" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: StatusBarComponent, decorators: [{
34
+ type: Component,
35
+ args: [{
36
+ selector: 'StatusBar',
37
+ standalone: true,
38
+ template: '',
39
+ }]
40
+ }], propDecorators: { barStyle: [{
41
+ type: Input
42
+ }], hidden: [{
43
+ type: Input
44
+ }], animated: [{
45
+ type: Input
46
+ }], networkActivityIndicatorVisible: [{
47
+ type: Input
48
+ }], backgroundColor: [{
49
+ type: Input
50
+ }], translucent: [{
51
+ type: Input
52
+ }] } });
53
+ const StatusBarWithStatics = Object.assign(StatusBarComponent, statusBarImperative);
54
+ Object.defineProperty(StatusBarWithStatics, 'currentHeight', {
55
+ get: statusBarCurrentHeight,
56
+ enumerable: true,
57
+ });
58
+ export const StatusBar = StatusBarWithStatics;
59
+ //# sourceMappingURL=status-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-bar.js","sourceRoot":"","sources":["../../../src/modules/status-bar.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,yGAAyG;AACzG,wFAAwF;AACxF,uFAAuF;AACvF,6FAA6F;AAC7F,+BAA+B;AAE/B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAsC,MAAM,eAAe,CAAC;AACrF,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,GAIvB,MAAM,yBAAyB,CAAC;;AAIjC,MAKM,kBAAkB;IACb,QAAQ,CAAmB;IAC3B,MAAM,CAAW;IACjB,QAAQ,CAAW;IACnB,+BAA+B,CAAW;IAC1C,eAAe,CAAe;IAC9B,WAAW,CAAW;IAE/B,WAAW,CAAC,QAAuB;QACjC,mBAAmB,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACzC,CAAC;IAEO,UAAU;QAChB,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,+BAA+B,EAAE,IAAI,CAAC,+BAA+B;YACrE,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;uGArBG,kBAAkB;2FAAlB,kBAAkB,wSAFZ,EAAE;;2FAER,kBAAkB;kBALvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,UAAU,EAAE,IAAI;oBAChB,QAAQ,EAAE,EAAE;iBACb;;sBAEE,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;AAkBR,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;AAEpF,MAAM,CAAC,cAAc,CAAC,oBAAoB,EAAE,eAAe,EAAE;IAC3D,GAAG,EAAE,sBAAsB;IAC3B,UAAU,EAAE,IAAI;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GACpB,oBAAoB,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { SymbiotePrimitiveHost } from './shared';
2
+ import * as i0 from "@angular/core";
3
+ export { anchorHostStyle, anchorStyleProp, stableAnchorStyle, SymbioteHostPropsDirective, } from './shared';
4
+ export declare class ViewHost extends SymbiotePrimitiveHost {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewHost, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewHost, "symbiote-view, View", never, {}, {}, never, ["*"], true, never>;
7
+ }
8
+ export declare class TextHost extends SymbiotePrimitiveHost {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextHost, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextHost, "symbiote-text, Text", never, {}, {}, never, ["*"], true, never>;
11
+ }
12
+ export declare class ImageHost extends SymbiotePrimitiveHost {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageHost, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageHost, "symbiote-image", never, {}, {}, never, ["*"], true, never>;
15
+ }
16
+ export declare class ScrollViewHost extends SymbiotePrimitiveHost {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollViewHost, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScrollViewHost, "symbiote-scroll-view", never, {}, {}, never, ["*"], true, never>;
19
+ }
20
+ export declare class ScrollContentView extends SymbiotePrimitiveHost {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollContentView, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScrollContentView, "symbiote-scroll-content", never, {}, {}, never, ["*"], true, never>;
23
+ }
24
+ export declare class HorizontalScrollView extends SymbiotePrimitiveHost {
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollView, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollView, "symbiote-horizontal-scroll-view", never, {}, {}, never, ["*"], true, never>;
27
+ }
28
+ export declare class HorizontalScrollContentView extends SymbiotePrimitiveHost {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollContentView, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<HorizontalScrollContentView, "symbiote-horizontal-scroll-content", never, {}, {}, never, ["*"], true, never>;
31
+ }
32
+ export declare class TextInputHost extends SymbiotePrimitiveHost {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextInputHost, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextInputHost, "symbiote-text-input", never, {}, {}, never, ["*"], true, never>;
35
+ }
36
+ export declare class MultilineTextInputHost extends SymbiotePrimitiveHost {
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultilineTextInputHost, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultilineTextInputHost, "symbiote-text-input-multiline", never, {}, {}, never, ["*"], true, never>;
39
+ }
40
+ export declare class SwitchHost extends SymbiotePrimitiveHost {
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchHost, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchHost, "symbiote-switch", never, {}, {}, never, ["*"], true, never>;
43
+ }
44
+ export declare class ActivityIndicatorHost extends SymbiotePrimitiveHost {
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIndicatorHost, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIndicatorHost, "symbiote-activity-indicator", never, {}, {}, never, ["*"], true, never>;
47
+ }
48
+ export declare class SafeAreaViewHost extends SymbiotePrimitiveHost {
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaViewHost, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<SafeAreaViewHost, "symbiote-safe-area-view", never, {}, {}, never, ["*"], true, never>;
51
+ }
52
+ export declare class ModalHost extends SymbiotePrimitiveHost {
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalHost, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalHost, "symbiote-modal", never, {}, {}, never, ["*"], true, never>;
55
+ }
56
+ export declare class RefreshControlHost extends SymbiotePrimitiveHost {
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefreshControlHost, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<RefreshControlHost, "symbiote-refresh-control", never, {}, {}, never, ["*"], true, never>;
59
+ }
60
+ export declare class InputAccessoryViewHost extends SymbiotePrimitiveHost {
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAccessoryViewHost, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryViewHost, "symbiote-input-accessory-view", never, {}, {}, never, ["*"], true, never>;
63
+ }
@@ -0,0 +1,189 @@
1
+ // Angular primitive host components over Symbiote engine intrinsics. These are the only
2
+ // components that directly own the `symbiote-*` selectors; every composed adapter
3
+ // component imports them and renders them in its template. Declaring `style` as a real
4
+ // Angular input prevents Angular's CSS style engine from decomposing RN `StyleProp` arrays.
5
+ import { Component } from '@angular/core';
6
+ import { SymbiotePrimitiveHost } from './shared';
7
+ import * as i0 from "@angular/core";
8
+ export { anchorHostStyle, anchorStyleProp, stableAnchorStyle, SymbioteHostPropsDirective, } from './shared';
9
+ export class ViewHost extends SymbiotePrimitiveHost {
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ViewHost, isStandalone: true, selector: "symbiote-view, View", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ViewHost, decorators: [{
14
+ type: Component,
15
+ args: [{
16
+ selector: 'symbiote-view, View',
17
+ standalone: true,
18
+ template: '<ng-content></ng-content>',
19
+ }]
20
+ }] });
21
+ export class TextHost extends SymbiotePrimitiveHost {
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: TextHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: TextHost, isStandalone: true, selector: "symbiote-text, Text", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: TextHost, decorators: [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'symbiote-text, Text',
29
+ standalone: true,
30
+ template: '<ng-content></ng-content>',
31
+ }]
32
+ }] });
33
+ export class ImageHost extends SymbiotePrimitiveHost {
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ImageHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
35
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ImageHost, isStandalone: true, selector: "symbiote-image", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ImageHost, decorators: [{
38
+ type: Component,
39
+ args: [{
40
+ selector: 'symbiote-image',
41
+ standalone: true,
42
+ template: '<ng-content></ng-content>',
43
+ }]
44
+ }] });
45
+ export class ScrollViewHost extends SymbiotePrimitiveHost {
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ScrollViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ScrollViewHost, isStandalone: true, selector: "symbiote-scroll-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ScrollViewHost, decorators: [{
50
+ type: Component,
51
+ args: [{
52
+ selector: 'symbiote-scroll-view',
53
+ standalone: true,
54
+ template: '<ng-content></ng-content>',
55
+ }]
56
+ }] });
57
+ export class ScrollContentView extends SymbiotePrimitiveHost {
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ScrollContentView, deps: null, target: i0.ɵɵFactoryTarget.Component });
59
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ScrollContentView, isStandalone: true, selector: "symbiote-scroll-content", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ScrollContentView, decorators: [{
62
+ type: Component,
63
+ args: [{
64
+ selector: 'symbiote-scroll-content',
65
+ standalone: true,
66
+ template: '<ng-content></ng-content>',
67
+ }]
68
+ }] });
69
+ export class HorizontalScrollView extends SymbiotePrimitiveHost {
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: HorizontalScrollView, deps: null, target: i0.ɵɵFactoryTarget.Component });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: HorizontalScrollView, isStandalone: true, selector: "symbiote-horizontal-scroll-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: HorizontalScrollView, decorators: [{
74
+ type: Component,
75
+ args: [{
76
+ selector: 'symbiote-horizontal-scroll-view',
77
+ standalone: true,
78
+ template: '<ng-content></ng-content>',
79
+ }]
80
+ }] });
81
+ export class HorizontalScrollContentView extends SymbiotePrimitiveHost {
82
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: HorizontalScrollContentView, deps: null, target: i0.ɵɵFactoryTarget.Component });
83
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: HorizontalScrollContentView, isStandalone: true, selector: "symbiote-horizontal-scroll-content", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
84
+ }
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: HorizontalScrollContentView, decorators: [{
86
+ type: Component,
87
+ args: [{
88
+ selector: 'symbiote-horizontal-scroll-content',
89
+ standalone: true,
90
+ template: '<ng-content></ng-content>',
91
+ }]
92
+ }] });
93
+ export class TextInputHost extends SymbiotePrimitiveHost {
94
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: TextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
95
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: TextInputHost, isStandalone: true, selector: "symbiote-text-input", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
96
+ }
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: TextInputHost, decorators: [{
98
+ type: Component,
99
+ args: [{
100
+ selector: 'symbiote-text-input',
101
+ standalone: true,
102
+ template: '<ng-content></ng-content>',
103
+ }]
104
+ }] });
105
+ export class MultilineTextInputHost extends SymbiotePrimitiveHost {
106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: MultilineTextInputHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
107
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: MultilineTextInputHost, isStandalone: true, selector: "symbiote-text-input-multiline", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
108
+ }
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: MultilineTextInputHost, decorators: [{
110
+ type: Component,
111
+ args: [{
112
+ selector: 'symbiote-text-input-multiline',
113
+ standalone: true,
114
+ template: '<ng-content></ng-content>',
115
+ }]
116
+ }] });
117
+ export class SwitchHost extends SymbiotePrimitiveHost {
118
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: SwitchHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
119
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: SwitchHost, isStandalone: true, selector: "symbiote-switch", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
120
+ }
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: SwitchHost, decorators: [{
122
+ type: Component,
123
+ args: [{
124
+ selector: 'symbiote-switch',
125
+ standalone: true,
126
+ template: '<ng-content></ng-content>',
127
+ }]
128
+ }] });
129
+ export class ActivityIndicatorHost extends SymbiotePrimitiveHost {
130
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ActivityIndicatorHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
131
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ActivityIndicatorHost, isStandalone: true, selector: "symbiote-activity-indicator", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
132
+ }
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ActivityIndicatorHost, decorators: [{
134
+ type: Component,
135
+ args: [{
136
+ selector: 'symbiote-activity-indicator',
137
+ standalone: true,
138
+ template: '<ng-content></ng-content>',
139
+ }]
140
+ }] });
141
+ export class SafeAreaViewHost extends SymbiotePrimitiveHost {
142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: SafeAreaViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
143
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: SafeAreaViewHost, isStandalone: true, selector: "symbiote-safe-area-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
144
+ }
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: SafeAreaViewHost, decorators: [{
146
+ type: Component,
147
+ args: [{
148
+ selector: 'symbiote-safe-area-view',
149
+ standalone: true,
150
+ template: '<ng-content></ng-content>',
151
+ }]
152
+ }] });
153
+ export class ModalHost extends SymbiotePrimitiveHost {
154
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ModalHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
155
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: ModalHost, isStandalone: true, selector: "symbiote-modal", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
156
+ }
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: ModalHost, decorators: [{
158
+ type: Component,
159
+ args: [{
160
+ selector: 'symbiote-modal',
161
+ standalone: true,
162
+ template: '<ng-content></ng-content>',
163
+ }]
164
+ }] });
165
+ export class RefreshControlHost extends SymbiotePrimitiveHost {
166
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: RefreshControlHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
167
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: RefreshControlHost, isStandalone: true, selector: "symbiote-refresh-control", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
168
+ }
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: RefreshControlHost, decorators: [{
170
+ type: Component,
171
+ args: [{
172
+ selector: 'symbiote-refresh-control',
173
+ standalone: true,
174
+ template: '<ng-content></ng-content>',
175
+ }]
176
+ }] });
177
+ export class InputAccessoryViewHost extends SymbiotePrimitiveHost {
178
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: InputAccessoryViewHost, deps: null, target: i0.ɵɵFactoryTarget.Component });
179
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.4", type: InputAccessoryViewHost, isStandalone: true, selector: "symbiote-input-accessory-view", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
180
+ }
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: InputAccessoryViewHost, decorators: [{
182
+ type: Component,
183
+ args: [{
184
+ selector: 'symbiote-input-accessory-view',
185
+ standalone: true,
186
+ template: '<ng-content></ng-content>',
187
+ }]
188
+ }] });
189
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/primitives/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,89 @@
1
+ import { ElementRef, type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import { type IHostInstance, type IStyleProp } from '@symbiote-native/engine';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A composed Angular component (Pressable, SafeAreaView, ScrollView, ...) is created as a
6
+ * non-painting ANCHOR host (`ANCHOR_HOST_COMPONENTS` in renderer.ts) so it doesn't paint an
7
+ * extra native view over its own template's real content. `class="..."`/`[class.x]`/`[ngClass]`
8
+ * at the component's use site ALWAYS resolves through the renderer's addClass/removeClass onto
9
+ * that anchor — Angular gives no `@Input()` interception hook for `class` the way it does for
10
+ * `[style]` (which is why `style` alone was declared as an `@Input()` in the first place, see
11
+ * `SymbiotePrimitiveHost` above) — so the anchor ends up holding the fully-resolved class-derived
12
+ * style (`routeProp`'s `commitClassStyle` already wrote it to `anchor.props.style`) while the
13
+ * REAL native node the component's own template creates never sees it.
14
+ *
15
+ * Call this from a composed component's own `hostProps`/style getter and merge the result AHEAD
16
+ * of its own explicit `style` @Input, e.g. `style: [anchorHostStyle(this.elementRef),
17
+ * this.resolvedStyle]` — array order matters: `flattenStyle`'s later-wins collapse is what makes
18
+ * an explicit `[style]` on the component still beat its ambient class, mirroring the
19
+ * class-loses-to-explicit-style cascade `commitClassStyle` already enforces for a direct
20
+ * primitive. `this.elementRef` must be this component's OWN injected `ElementRef` (its anchor
21
+ * host), not a `@ViewChild` into its template's inner primitive.
22
+ *
23
+ * Skipping this call for a new `ANCHOR_HOST_COMPONENTS` entry compiles clean under `tsc` AND a
24
+ * real `ngc` AOT build — no type error, no template error — it just silently drops `class="..."`
25
+ * forever; only a device/simulator render (or a committed-node style assertion) catches it. See
26
+ * the `angular-adapter` skill §21 for the device-confirmed incident and the full checklist.
27
+ */
28
+ export declare function anchorHostStyle(elementRef: ElementRef<unknown>): unknown;
29
+ export declare function anchorStyleProp<T>(elementRef: ElementRef<unknown>): IStyleProp<T> | undefined;
30
+ /**
31
+ * `anchorHostStyle` must be re-read on every check (a bare `class="x"` with no matching
32
+ * `[style]` binding never appears in Angular's `SimpleChanges`/dirty-check inputs, so nothing
33
+ * else signals "the anchor's class-derived style may have changed"). But `flattenStyle([...])`
34
+ * always allocates a FRESH object, even when its content is byte-for-byte identical to last
35
+ * time — and a windowed list component (FlatList/VirtualizedList/SectionList/
36
+ * VirtualizedSectionList) binds its resolved style into a structural-directive-bound `@Input()`
37
+ * chain where a fresh reference on an UNRELATED CD pass is mistaken for a real change, which
38
+ * reschedules ANOTHER CD tick (`VListOutletDirective`'s `context` `@Input()` calling
39
+ * `markForCheck()`) — free-running forever. See the `flat-list-array-style.test.ts` regression
40
+ * this fixes (and the near-identical `lastRecompute` dedup guard in `virtualized-list/index.ts`,
41
+ * which this mirrors at the style-merge call site instead of a whole recompute step). Returns
42
+ * `previous` unchanged when the freshly-flattened merge is shallow-equal to it, so a downstream
43
+ * `@Input() style` binding sees NO change and skips its own update on an unrelated tick.
44
+ */
45
+ export declare function stableAnchorStyle(elementRef: ElementRef<unknown>, explicitStyle: unknown, previous: unknown): Record<string, unknown>;
46
+ /**
47
+ * Base for all Angular primitive host components (`symbiote-view`, `symbiote-text`, ...).
48
+ * RN's `StyleProp` can be an object, an array, nested arrays, falsy entries, and Animated
49
+ * values. Angular's raw `[style]` binding on a custom element routes through the CSS style
50
+ * engine (`setStyle` per key), which crashes on numeric array keys. By declaring `style` as
51
+ * an Angular `@Input()` on a known component, we intercept it here and forward a flattened
52
+ * style object through `Renderer2.setProperty`, bypassing Angular's CSS styling path.
53
+ *
54
+ * Other props (source, pointerEvents, ...) are intentionally *not* declared as inputs.
55
+ * Angular then treats them as host property bindings and still dispatches them through the
56
+ * custom renderer's `setProperty`, so the engine's `routeProp` handles them as usual.
57
+ */
58
+ export declare abstract class SymbiotePrimitiveHost implements OnChanges {
59
+ private readonly renderer;
60
+ private readonly elementRef;
61
+ style?: IStyleProp<unknown>;
62
+ /**
63
+ * The underlying engine host node (public instance). Exposed so `findNodeHandle` can resolve
64
+ * an Angular template ref (`#ref`) on a primitive host to its native reactTag.
65
+ */
66
+ get nativeElement(): IHostInstance;
67
+ ngOnChanges(changes: SimpleChanges): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<SymbiotePrimitiveHost, never>;
69
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SymbiotePrimitiveHost, never, never, { "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
70
+ }
71
+ /**
72
+ * Applies a whole resolved props record (a shared `renderX(...).props` bag) onto a host
73
+ * element via `Renderer2.setProperty`, one call per key. Angular templates compile bindings
74
+ * ahead of time — there is no `v-bind="obj"` equivalent for a custom element — so a component
75
+ * whose props come from a shared render function would otherwise have to declare every key as
76
+ * its own static `[prop]="hostProps['x']"` binding. This generalizes the pattern
77
+ * `SwitchHostPropsDirective` proved first: `<symbiote-x [symbioteHostProps]="hostProps" #ref="symbioteHost">`,
78
+ * with `ref.node` exposing the native element for any imperative follow-up call.
79
+ */
80
+ export declare class SymbioteHostPropsDirective {
81
+ private readonly renderer;
82
+ private readonly elementRef;
83
+ private readonly cdr;
84
+ get node(): unknown;
85
+ set symbioteHostProps(props: Record<string, unknown>);
86
+ private wrapCallback;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<SymbioteHostPropsDirective, never>;
88
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteHostPropsDirective, "[symbioteHostProps]", ["symbioteHost"], { "symbioteHostProps": { "alias": "symbioteHostProps"; "required": false; }; }, {}, never, never, true, never>;
89
+ }