@prestizni-software/server-dem 0.7.4 → 0.9.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 (517) hide show
  1. package/AutoUpdateClientManagerClass.d.ts +158 -0
  2. package/AutoUpdateClientManagerClass.js +820 -0
  3. package/AutoUpdateClientManagerClass.js.map +1 -0
  4. package/AutoUpdateManagerClass.d.ts +102 -0
  5. package/AutoUpdateManagerClass.js +117 -0
  6. package/AutoUpdateManagerClass.js.map +1 -0
  7. package/AutoUpdateServerManagerClass.d.ts +238 -0
  8. package/AutoUpdateServerManagerClass.js +1087 -0
  9. package/AutoUpdateServerManagerClass.js.map +1 -0
  10. package/AutoUpdatedClientObjectClass.d.ts +244 -0
  11. package/AutoUpdatedClientObjectClass.js +969 -0
  12. package/AutoUpdatedClientObjectClass.js.map +1 -0
  13. package/AutoUpdatedServerObjectClass.d.ts +134 -0
  14. package/AutoUpdatedServerObjectClass.js +346 -0
  15. package/AutoUpdatedServerObjectClass.js.map +1 -0
  16. package/ClientTypes.d.ts +15 -0
  17. package/ClientTypes.js +52 -0
  18. package/ClientTypes.js.map +1 -0
  19. package/CommonTypes.d.ts +296 -0
  20. package/CommonTypes.js +233 -0
  21. package/CommonTypes.js.map +1 -0
  22. package/CommonTypes_server.d.ts +1 -0
  23. package/CommonTypes_server.js +2 -0
  24. package/CommonTypes_server.js.map +1 -0
  25. package/{dist/DEMErrors.js.map → DEMErrors.js.map} +1 -1
  26. package/ServerTypes.d.ts +16 -0
  27. package/ServerTypes.js +60 -0
  28. package/ServerTypes.js.map +1 -0
  29. package/client.d.ts +6 -0
  30. package/client.js +7 -0
  31. package/client.js.map +1 -0
  32. package/coverage/lcov-report/block-navigation.js +71 -0
  33. package/coverage/lcov-report/block-navigation.js.map +1 -0
  34. package/coverage/lcov-report/prettify.js +478 -0
  35. package/coverage/lcov-report/prettify.js.map +1 -0
  36. package/coverage/lcov-report/sorter.js +177 -0
  37. package/coverage/lcov-report/sorter.js.map +1 -0
  38. package/dist/AutoUpdateClientManagerClass.d.ts +20 -0
  39. package/dist/AutoUpdateClientManagerClass.js +283 -0
  40. package/dist/AutoUpdateClientManagerClass.js.map +1 -0
  41. package/dist/AutoUpdateManagerClass.d.ts +17 -96
  42. package/dist/AutoUpdateManagerClass.js +15 -73
  43. package/dist/AutoUpdateManagerClass.js.map +1 -1
  44. package/dist/AutoUpdateServerManagerClass.d.ts +18 -207
  45. package/dist/AutoUpdateServerManagerClass.js +198 -680
  46. package/dist/AutoUpdateServerManagerClass.js.map +1 -1
  47. package/dist/AutoUpdatedClientObjectClass.d.ts +63 -206
  48. package/dist/AutoUpdatedClientObjectClass.js +660 -707
  49. package/dist/AutoUpdatedClientObjectClass.js.map +1 -1
  50. package/dist/AutoUpdatedServerObjectClass.d.ts +13 -126
  51. package/dist/AutoUpdatedServerObjectClass.js +92 -315
  52. package/dist/AutoUpdatedServerObjectClass.js.map +1 -1
  53. package/dist/ClientTypes.d.ts +13 -0
  54. package/dist/ClientTypes.js +70 -0
  55. package/dist/ClientTypes.js.map +1 -0
  56. package/dist/CommonTypes.d.ts +3 -266
  57. package/dist/CommonTypes.js +4 -234
  58. package/dist/CommonTypes.js.map +1 -1
  59. package/dist/CommonTypes_server.d.ts +1 -1
  60. package/dist/CommonTypes_server.js +2 -1
  61. package/dist/CommonTypes_server.js.map +1 -1
  62. package/dist/ServerTypes.d.ts +13 -0
  63. package/dist/ServerTypes.js +78 -0
  64. package/dist/ServerTypes.js.map +1 -0
  65. package/dist/TestTypes.d.ts +1 -0
  66. package/dist/TestTypes.js +7 -0
  67. package/dist/TestTypes.js.map +1 -0
  68. package/dist/client.d.ts +1 -0
  69. package/dist/client.js +12 -0
  70. package/dist/client.js.map +1 -0
  71. package/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
  72. package/dist/coverage/lcov-report/block-navigation.js +71 -0
  73. package/dist/coverage/lcov-report/block-navigation.js.map +1 -0
  74. package/dist/coverage/lcov-report/prettify.d.ts +0 -0
  75. package/dist/coverage/lcov-report/prettify.js +736 -0
  76. package/dist/coverage/lcov-report/prettify.js.map +1 -0
  77. package/dist/coverage/lcov-report/sorter.d.ts +1 -0
  78. package/dist/coverage/lcov-report/sorter.js +177 -0
  79. package/dist/coverage/lcov-report/sorter.js.map +1 -0
  80. package/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
  81. package/dist/dist/AutoUpdateClientManagerClass.js +284 -0
  82. package/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
  83. package/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
  84. package/dist/dist/AutoUpdateManagerClass.js +60 -0
  85. package/dist/dist/AutoUpdateManagerClass.js.map +1 -0
  86. package/dist/dist/AutoUpdateServerManagerClass.d.ts +50 -0
  87. package/dist/dist/AutoUpdateServerManagerClass.js +413 -0
  88. package/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
  89. package/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
  90. package/dist/dist/AutoUpdatedClientObjectClass.js +865 -0
  91. package/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
  92. package/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
  93. package/dist/dist/AutoUpdatedServerObjectClass.js +124 -0
  94. package/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
  95. package/dist/dist/ClientTypes.d.ts +13 -0
  96. package/dist/dist/ClientTypes.js +71 -0
  97. package/dist/dist/ClientTypes.js.map +1 -0
  98. package/dist/dist/CommonTypes.d.ts +3 -0
  99. package/dist/dist/CommonTypes.js +20 -0
  100. package/dist/dist/CommonTypes.js.map +1 -0
  101. package/dist/dist/CommonTypes_server.d.ts +1 -0
  102. package/dist/dist/CommonTypes_server.js +4 -0
  103. package/dist/dist/CommonTypes_server.js.map +1 -0
  104. package/dist/dist/ServerTypes.d.ts +13 -0
  105. package/dist/dist/ServerTypes.js +79 -0
  106. package/dist/dist/ServerTypes.js.map +1 -0
  107. package/dist/dist/TestTypes.d.ts +1 -0
  108. package/dist/dist/TestTypes.js +8 -0
  109. package/dist/dist/TestTypes.js.map +1 -0
  110. package/dist/dist/client.d.ts +1 -0
  111. package/dist/dist/client.js +13 -0
  112. package/dist/dist/client.js.map +1 -0
  113. package/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
  114. package/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
  115. package/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
  116. package/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
  117. package/dist/dist/coverage/lcov-report/prettify.js +736 -0
  118. package/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
  119. package/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
  120. package/dist/dist/coverage/lcov-report/sorter.js +177 -0
  121. package/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
  122. package/dist/dist/dist/AutoUpdateClientManagerClass.d.ts +19 -0
  123. package/dist/dist/dist/AutoUpdateClientManagerClass.js +285 -0
  124. package/dist/dist/dist/AutoUpdateClientManagerClass.js.map +1 -0
  125. package/dist/dist/dist/AutoUpdateManagerClass.d.ts +23 -0
  126. package/dist/dist/dist/AutoUpdateManagerClass.js +61 -0
  127. package/dist/dist/dist/AutoUpdateManagerClass.js.map +1 -0
  128. package/dist/dist/dist/AutoUpdateServerManagerClass.d.ts +158 -0
  129. package/dist/dist/dist/AutoUpdateServerManagerClass.js +414 -0
  130. package/dist/dist/dist/AutoUpdateServerManagerClass.js.map +1 -0
  131. package/dist/dist/dist/AutoUpdatedClientObjectClass.d.ts +72 -0
  132. package/dist/dist/dist/AutoUpdatedClientObjectClass.js +866 -0
  133. package/dist/dist/dist/AutoUpdatedClientObjectClass.js.map +1 -0
  134. package/dist/dist/dist/AutoUpdatedServerObjectClass.d.ts +15 -0
  135. package/dist/dist/dist/AutoUpdatedServerObjectClass.js +125 -0
  136. package/dist/dist/dist/AutoUpdatedServerObjectClass.js.map +1 -0
  137. package/dist/dist/dist/ClientTypes.d.ts +13 -0
  138. package/dist/dist/dist/ClientTypes.js +72 -0
  139. package/dist/dist/dist/ClientTypes.js.map +1 -0
  140. package/dist/dist/dist/CommonTypes.d.ts +3 -0
  141. package/dist/dist/dist/CommonTypes.js +21 -0
  142. package/dist/dist/dist/CommonTypes.js.map +1 -0
  143. package/dist/dist/dist/CommonTypes_server.d.ts +1 -0
  144. package/dist/dist/dist/CommonTypes_server.js +5 -0
  145. package/dist/dist/dist/CommonTypes_server.js.map +1 -0
  146. package/dist/dist/dist/ServerTypes.d.ts +13 -0
  147. package/dist/dist/dist/ServerTypes.js +80 -0
  148. package/dist/dist/dist/ServerTypes.js.map +1 -0
  149. package/dist/dist/dist/TestTypes.d.ts +1 -0
  150. package/dist/dist/dist/TestTypes.js +9 -0
  151. package/dist/dist/dist/TestTypes.js.map +1 -0
  152. package/dist/dist/dist/client.d.ts +1 -0
  153. package/dist/dist/dist/client.js +14 -0
  154. package/dist/dist/dist/client.js.map +1 -0
  155. package/dist/dist/dist/coverage/lcov-report/block-navigation.d.ts +1 -0
  156. package/dist/dist/dist/coverage/lcov-report/block-navigation.js +71 -0
  157. package/dist/dist/dist/coverage/lcov-report/block-navigation.js.map +1 -0
  158. package/dist/dist/dist/coverage/lcov-report/prettify.d.ts +0 -0
  159. package/dist/dist/dist/coverage/lcov-report/prettify.js +736 -0
  160. package/dist/dist/dist/coverage/lcov-report/prettify.js.map +1 -0
  161. package/dist/dist/dist/coverage/lcov-report/sorter.d.ts +1 -0
  162. package/dist/dist/dist/coverage/lcov-report/sorter.js +177 -0
  163. package/dist/dist/dist/coverage/lcov-report/sorter.js.map +1 -0
  164. package/dist/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
  165. package/dist/dist/dist/expo-test/app/(tabs)/_layout.js +27 -0
  166. package/dist/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
  167. package/dist/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
  168. package/dist/dist/dist/expo-test/app/(tabs)/explore.js +95 -0
  169. package/dist/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
  170. package/dist/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
  171. package/dist/dist/dist/expo-test/app/(tabs)/index.js +81 -0
  172. package/dist/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
  173. package/dist/dist/dist/expo-test/app/_layout.d.ts +4 -0
  174. package/dist/dist/dist/expo-test/app/_layout.js +22 -0
  175. package/dist/dist/dist/expo-test/app/_layout.js.map +1 -0
  176. package/dist/dist/dist/expo-test/app/modal.d.ts +1 -0
  177. package/dist/dist/dist/expo-test/app/modal.js +28 -0
  178. package/dist/dist/dist/expo-test/app/modal.js.map +1 -0
  179. package/dist/dist/dist/expo-test/components/external-link.d.ts +4 -0
  180. package/dist/dist/dist/expo-test/components/external-link.js +18 -0
  181. package/dist/dist/dist/expo-test/components/external-link.js.map +1 -0
  182. package/dist/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
  183. package/dist/dist/dist/expo-test/components/haptic-tab.js +15 -0
  184. package/dist/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
  185. package/dist/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
  186. package/dist/dist/dist/expo-test/components/hello-wave.js +19 -0
  187. package/dist/dist/dist/expo-test/components/hello-wave.js.map +1 -0
  188. package/dist/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
  189. package/dist/dist/dist/expo-test/components/parallax-scroll-view.js +53 -0
  190. package/dist/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
  191. package/dist/dist/dist/expo-test/components/themed-text.d.ts +7 -0
  192. package/dist/dist/dist/expo-test/components/themed-text.js +43 -0
  193. package/dist/dist/dist/expo-test/components/themed-text.js.map +1 -0
  194. package/dist/dist/dist/expo-test/components/themed-view.d.ts +6 -0
  195. package/dist/dist/dist/expo-test/components/themed-view.js +10 -0
  196. package/dist/dist/dist/expo-test/components/themed-view.js.map +1 -0
  197. package/dist/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
  198. package/dist/dist/dist/expo-test/components/ui/collapsible.js +34 -0
  199. package/dist/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
  200. package/dist/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
  201. package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
  202. package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js +14 -0
  203. package/dist/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
  204. package/dist/dist/dist/expo-test/components/ui/icon-symbol.js +25 -0
  205. package/dist/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
  206. package/dist/dist/dist/expo-test/constants/theme.d.ts +26 -0
  207. package/dist/dist/dist/expo-test/constants/theme.js +53 -0
  208. package/dist/dist/dist/expo-test/constants/theme.js.map +1 -0
  209. package/dist/dist/dist/expo-test/eslint.config.d.ts +2 -0
  210. package/dist/dist/dist/expo-test/eslint.config.js +11 -0
  211. package/dist/dist/dist/expo-test/eslint.config.js.map +1 -0
  212. package/dist/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
  213. package/dist/dist/dist/expo-test/hooks/use-color-scheme.js +5 -0
  214. package/dist/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
  215. package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
  216. package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js +20 -0
  217. package/dist/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
  218. package/dist/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
  219. package/dist/dist/dist/expo-test/hooks/use-theme-color.js +20 -0
  220. package/dist/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
  221. package/dist/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
  222. package/dist/dist/dist/expo-test/scripts/reset-project.js +98 -0
  223. package/dist/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
  224. package/dist/dist/dist/jest.config.d.ts +21 -0
  225. package/dist/dist/dist/jest.config.js +20 -0
  226. package/dist/dist/dist/jest.config.js.map +1 -0
  227. package/dist/dist/dist/server.d.ts +1 -0
  228. package/dist/dist/dist/server.js +16 -0
  229. package/dist/dist/dist/server.js.map +1 -0
  230. package/dist/dist/dist/socket_test.d.ts +1 -0
  231. package/dist/dist/dist/socket_test.js +24 -0
  232. package/dist/dist/dist/socket_test.js.map +1 -0
  233. package/dist/dist/dist/test.d.ts +1 -0
  234. package/dist/dist/dist/test.js +7 -0
  235. package/dist/dist/dist/test.js.map +1 -0
  236. package/dist/dist/dist/test_client.d.ts +1 -0
  237. package/dist/dist/dist/test_client.js +26 -0
  238. package/dist/dist/dist/test_client.js.map +1 -0
  239. package/dist/dist/dist/test_lib.d.ts +2 -0
  240. package/dist/dist/dist/test_lib.js +85 -0
  241. package/dist/dist/dist/test_lib.js.map +1 -0
  242. package/dist/dist/dist/test_server.d.ts +1 -0
  243. package/dist/dist/dist/test_server.js +54 -0
  244. package/dist/dist/dist/test_server.js.map +1 -0
  245. package/dist/dist/dist/tests/dem.test.d.ts +1 -0
  246. package/dist/dist/dist/tests/dem.test.js +341 -0
  247. package/dist/dist/dist/tests/dem.test.js.map +1 -0
  248. package/dist/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
  249. package/dist/dist/expo-test/app/(tabs)/_layout.js +26 -0
  250. package/dist/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
  251. package/dist/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
  252. package/dist/dist/expo-test/app/(tabs)/explore.js +94 -0
  253. package/dist/dist/expo-test/app/(tabs)/explore.js.map +1 -0
  254. package/dist/dist/expo-test/app/(tabs)/index.d.ts +1 -0
  255. package/dist/dist/expo-test/app/(tabs)/index.js +80 -0
  256. package/dist/dist/expo-test/app/(tabs)/index.js.map +1 -0
  257. package/dist/dist/expo-test/app/_layout.d.ts +4 -0
  258. package/dist/dist/expo-test/app/_layout.js +21 -0
  259. package/dist/dist/expo-test/app/_layout.js.map +1 -0
  260. package/dist/dist/expo-test/app/modal.d.ts +1 -0
  261. package/dist/dist/expo-test/app/modal.js +27 -0
  262. package/dist/dist/expo-test/app/modal.js.map +1 -0
  263. package/dist/dist/expo-test/components/external-link.d.ts +4 -0
  264. package/dist/dist/expo-test/components/external-link.js +17 -0
  265. package/dist/dist/expo-test/components/external-link.js.map +1 -0
  266. package/dist/dist/expo-test/components/haptic-tab.d.ts +1 -0
  267. package/dist/dist/expo-test/components/haptic-tab.js +14 -0
  268. package/dist/dist/expo-test/components/haptic-tab.js.map +1 -0
  269. package/dist/dist/expo-test/components/hello-wave.d.ts +1 -0
  270. package/dist/dist/expo-test/components/hello-wave.js +18 -0
  271. package/dist/dist/expo-test/components/hello-wave.js.map +1 -0
  272. package/dist/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
  273. package/dist/dist/expo-test/components/parallax-scroll-view.js +52 -0
  274. package/dist/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
  275. package/dist/dist/expo-test/components/themed-text.d.ts +7 -0
  276. package/dist/dist/expo-test/components/themed-text.js +42 -0
  277. package/dist/dist/expo-test/components/themed-text.js.map +1 -0
  278. package/dist/dist/expo-test/components/themed-view.d.ts +6 -0
  279. package/dist/dist/expo-test/components/themed-view.js +9 -0
  280. package/dist/dist/expo-test/components/themed-view.js.map +1 -0
  281. package/dist/dist/expo-test/components/ui/collapsible.d.ts +4 -0
  282. package/dist/dist/expo-test/components/ui/collapsible.js +33 -0
  283. package/dist/dist/expo-test/components/ui/collapsible.js.map +1 -0
  284. package/dist/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
  285. package/dist/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
  286. package/dist/dist/expo-test/components/ui/icon-symbol.ios.js +13 -0
  287. package/dist/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
  288. package/dist/dist/expo-test/components/ui/icon-symbol.js +24 -0
  289. package/dist/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
  290. package/dist/dist/expo-test/constants/theme.d.ts +26 -0
  291. package/dist/dist/expo-test/constants/theme.js +52 -0
  292. package/dist/dist/expo-test/constants/theme.js.map +1 -0
  293. package/dist/dist/expo-test/eslint.config.d.ts +2 -0
  294. package/dist/dist/expo-test/eslint.config.js +11 -0
  295. package/dist/dist/expo-test/eslint.config.js.map +1 -0
  296. package/dist/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
  297. package/dist/dist/expo-test/hooks/use-color-scheme.js +4 -0
  298. package/dist/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
  299. package/dist/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
  300. package/dist/dist/expo-test/hooks/use-color-scheme.web.js +19 -0
  301. package/dist/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
  302. package/dist/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
  303. package/dist/dist/expo-test/hooks/use-theme-color.js +19 -0
  304. package/dist/dist/expo-test/hooks/use-theme-color.js.map +1 -0
  305. package/dist/dist/expo-test/scripts/reset-project.d.ts +2 -0
  306. package/dist/dist/expo-test/scripts/reset-project.js +98 -0
  307. package/dist/dist/expo-test/scripts/reset-project.js.map +1 -0
  308. package/dist/dist/jest.config.d.ts +21 -0
  309. package/dist/dist/jest.config.js +19 -0
  310. package/dist/dist/jest.config.js.map +1 -0
  311. package/dist/dist/server.d.ts +1 -0
  312. package/dist/dist/server.js +15 -0
  313. package/dist/dist/server.js.map +1 -0
  314. package/dist/dist/socket_test.d.ts +1 -0
  315. package/dist/dist/socket_test.js +23 -0
  316. package/dist/dist/socket_test.js.map +1 -0
  317. package/dist/dist/test.d.ts +1 -0
  318. package/dist/dist/test.js +6 -0
  319. package/dist/dist/test.js.map +1 -0
  320. package/dist/dist/test_client.d.ts +1 -0
  321. package/dist/dist/test_client.js +25 -0
  322. package/dist/dist/test_client.js.map +1 -0
  323. package/dist/dist/test_lib.d.ts +2 -0
  324. package/dist/dist/test_lib.js +84 -0
  325. package/dist/dist/test_lib.js.map +1 -0
  326. package/dist/dist/test_server.d.ts +1 -0
  327. package/dist/dist/test_server.js +53 -0
  328. package/dist/dist/test_server.js.map +1 -0
  329. package/dist/dist/tests/dem.test.d.ts +1 -0
  330. package/dist/dist/tests/dem.test.js +340 -0
  331. package/dist/dist/tests/dem.test.js.map +1 -0
  332. package/dist/expo-test/app/(tabs)/_layout.d.ts +1 -0
  333. package/dist/expo-test/app/(tabs)/_layout.js +25 -0
  334. package/dist/expo-test/app/(tabs)/_layout.js.map +1 -0
  335. package/dist/expo-test/app/(tabs)/explore.d.ts +1 -0
  336. package/dist/expo-test/app/(tabs)/explore.js +93 -0
  337. package/dist/expo-test/app/(tabs)/explore.js.map +1 -0
  338. package/dist/expo-test/app/(tabs)/index.d.ts +1 -0
  339. package/dist/expo-test/app/(tabs)/index.js +79 -0
  340. package/dist/expo-test/app/(tabs)/index.js.map +1 -0
  341. package/dist/expo-test/app/_layout.d.ts +4 -0
  342. package/dist/expo-test/app/_layout.js +20 -0
  343. package/dist/expo-test/app/_layout.js.map +1 -0
  344. package/dist/expo-test/app/modal.d.ts +1 -0
  345. package/dist/expo-test/app/modal.js +26 -0
  346. package/dist/expo-test/app/modal.js.map +1 -0
  347. package/dist/expo-test/components/external-link.d.ts +4 -0
  348. package/dist/expo-test/components/external-link.js +16 -0
  349. package/dist/expo-test/components/external-link.js.map +1 -0
  350. package/dist/expo-test/components/haptic-tab.d.ts +1 -0
  351. package/dist/expo-test/components/haptic-tab.js +13 -0
  352. package/dist/expo-test/components/haptic-tab.js.map +1 -0
  353. package/dist/expo-test/components/hello-wave.d.ts +1 -0
  354. package/dist/expo-test/components/hello-wave.js +17 -0
  355. package/dist/expo-test/components/hello-wave.js.map +1 -0
  356. package/dist/expo-test/components/parallax-scroll-view.d.ts +5 -0
  357. package/dist/expo-test/components/parallax-scroll-view.js +51 -0
  358. package/dist/expo-test/components/parallax-scroll-view.js.map +1 -0
  359. package/dist/expo-test/components/themed-text.d.ts +7 -0
  360. package/dist/expo-test/components/themed-text.js +41 -0
  361. package/dist/expo-test/components/themed-text.js.map +1 -0
  362. package/dist/expo-test/components/themed-view.d.ts +6 -0
  363. package/dist/expo-test/components/themed-view.js +8 -0
  364. package/dist/expo-test/components/themed-view.js.map +1 -0
  365. package/dist/expo-test/components/ui/collapsible.d.ts +4 -0
  366. package/dist/expo-test/components/ui/collapsible.js +32 -0
  367. package/dist/expo-test/components/ui/collapsible.js.map +1 -0
  368. package/dist/expo-test/components/ui/icon-symbol.d.ts +11 -0
  369. package/dist/expo-test/components/ui/icon-symbol.ios.d.ts +7 -0
  370. package/dist/expo-test/components/ui/icon-symbol.ios.js +12 -0
  371. package/dist/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
  372. package/dist/expo-test/components/ui/icon-symbol.js +23 -0
  373. package/dist/expo-test/components/ui/icon-symbol.js.map +1 -0
  374. package/dist/expo-test/constants/theme.d.ts +26 -0
  375. package/dist/expo-test/constants/theme.js +51 -0
  376. package/dist/expo-test/constants/theme.js.map +1 -0
  377. package/dist/expo-test/eslint.config.d.ts +2 -0
  378. package/dist/expo-test/eslint.config.js +11 -0
  379. package/dist/expo-test/eslint.config.js.map +1 -0
  380. package/dist/expo-test/hooks/use-color-scheme.d.ts +1 -0
  381. package/dist/expo-test/hooks/use-color-scheme.js +3 -0
  382. package/dist/expo-test/hooks/use-color-scheme.js.map +1 -0
  383. package/dist/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
  384. package/dist/expo-test/hooks/use-color-scheme.web.js +18 -0
  385. package/dist/expo-test/hooks/use-color-scheme.web.js.map +1 -0
  386. package/dist/expo-test/hooks/use-theme-color.d.ts +1 -0
  387. package/dist/expo-test/hooks/use-theme-color.js +18 -0
  388. package/dist/expo-test/hooks/use-theme-color.js.map +1 -0
  389. package/dist/expo-test/scripts/reset-project.d.ts +2 -0
  390. package/dist/expo-test/scripts/reset-project.js +98 -0
  391. package/dist/expo-test/scripts/reset-project.js.map +1 -0
  392. package/dist/jest.config.d.ts +21 -0
  393. package/dist/jest.config.js +18 -0
  394. package/dist/jest.config.js.map +1 -0
  395. package/dist/server.d.ts +1 -8
  396. package/dist/server.js +13 -8
  397. package/dist/server.js.map +1 -1
  398. package/dist/socket_test.d.ts +1 -0
  399. package/dist/socket_test.js +22 -0
  400. package/dist/socket_test.js.map +1 -0
  401. package/dist/test.d.ts +1 -0
  402. package/dist/test.js +5 -0
  403. package/dist/test.js.map +1 -0
  404. package/dist/test_client.d.ts +1 -0
  405. package/dist/test_client.js +24 -0
  406. package/dist/test_client.js.map +1 -0
  407. package/dist/test_lib.d.ts +12 -0
  408. package/dist/test_lib.js +83 -0
  409. package/dist/test_lib.js.map +1 -0
  410. package/dist/test_server.d.ts +1 -0
  411. package/dist/test_server.js +52 -0
  412. package/dist/test_server.js.map +1 -0
  413. package/dist/tests/dem.test.d.ts +1 -0
  414. package/dist/tests/dem.test.js +339 -0
  415. package/dist/tests/dem.test.js.map +1 -0
  416. package/expo-test/app/(tabs)/_layout.d.ts +2 -0
  417. package/expo-test/app/(tabs)/_layout.js +24 -0
  418. package/expo-test/app/(tabs)/_layout.js.map +1 -0
  419. package/expo-test/app/(tabs)/explore.d.ts +1 -0
  420. package/expo-test/app/(tabs)/explore.js +92 -0
  421. package/expo-test/app/(tabs)/explore.js.map +1 -0
  422. package/expo-test/app/(tabs)/index.d.ts +1 -0
  423. package/expo-test/app/(tabs)/index.js +78 -0
  424. package/expo-test/app/(tabs)/index.js.map +1 -0
  425. package/expo-test/app/_layout.d.ts +5 -0
  426. package/expo-test/app/_layout.js +19 -0
  427. package/expo-test/app/_layout.js.map +1 -0
  428. package/expo-test/app/modal.d.ts +1 -0
  429. package/expo-test/app/modal.js +25 -0
  430. package/expo-test/app/modal.js.map +1 -0
  431. package/expo-test/components/external-link.d.ts +7 -0
  432. package/expo-test/components/external-link.js +15 -0
  433. package/expo-test/components/external-link.js.map +1 -0
  434. package/expo-test/components/haptic-tab.d.ts +2 -0
  435. package/expo-test/components/haptic-tab.js +12 -0
  436. package/expo-test/components/haptic-tab.js.map +1 -0
  437. package/expo-test/components/hello-wave.d.ts +1 -0
  438. package/expo-test/components/hello-wave.js +16 -0
  439. package/expo-test/components/hello-wave.js.map +1 -0
  440. package/expo-test/components/parallax-scroll-view.d.ts +10 -0
  441. package/expo-test/components/parallax-scroll-view.js +50 -0
  442. package/expo-test/components/parallax-scroll-view.js.map +1 -0
  443. package/expo-test/components/themed-text.d.ts +7 -0
  444. package/expo-test/components/themed-text.js +40 -0
  445. package/expo-test/components/themed-text.js.map +1 -0
  446. package/expo-test/components/themed-view.d.ts +6 -0
  447. package/expo-test/components/themed-view.js +7 -0
  448. package/expo-test/components/themed-view.js.map +1 -0
  449. package/expo-test/components/ui/collapsible.d.ts +4 -0
  450. package/expo-test/components/ui/collapsible.js +31 -0
  451. package/expo-test/components/ui/collapsible.js.map +1 -0
  452. package/expo-test/components/ui/icon-symbol.d.ts +25 -0
  453. package/expo-test/components/ui/icon-symbol.ios.d.ts +9 -0
  454. package/expo-test/components/ui/icon-symbol.ios.js +11 -0
  455. package/expo-test/components/ui/icon-symbol.ios.js.map +1 -0
  456. package/expo-test/components/ui/icon-symbol.js +22 -0
  457. package/expo-test/components/ui/icon-symbol.js.map +1 -0
  458. package/expo-test/constants/theme.d.ts +32 -0
  459. package/expo-test/constants/theme.js +50 -0
  460. package/expo-test/constants/theme.js.map +1 -0
  461. package/expo-test/eslint.config.d.ts +2 -0
  462. package/expo-test/eslint.config.js +11 -0
  463. package/expo-test/eslint.config.js.map +1 -0
  464. package/expo-test/hooks/use-color-scheme.d.ts +1 -0
  465. package/expo-test/hooks/use-color-scheme.js +2 -0
  466. package/expo-test/hooks/use-color-scheme.js.map +1 -0
  467. package/expo-test/hooks/use-color-scheme.web.d.ts +4 -0
  468. package/expo-test/hooks/use-color-scheme.web.js +17 -0
  469. package/expo-test/hooks/use-color-scheme.web.js.map +1 -0
  470. package/expo-test/hooks/use-theme-color.d.ts +9 -0
  471. package/expo-test/hooks/use-theme-color.js +17 -0
  472. package/expo-test/hooks/use-theme-color.js.map +1 -0
  473. package/expo-test/scripts/reset-project.d.ts +2 -0
  474. package/expo-test/scripts/reset-project.js +98 -0
  475. package/expo-test/scripts/reset-project.js.map +1 -0
  476. package/index.d.ts +4 -0
  477. package/index.js +5 -0
  478. package/index.js.map +1 -0
  479. package/jest.config.d.ts +3 -0
  480. package/jest.config.js +17 -0
  481. package/jest.config.js.map +1 -0
  482. package/package.json +23 -42
  483. package/server.d.ts +8 -0
  484. package/server.js +9 -0
  485. package/server.js.map +1 -0
  486. package/sync/ServerChangeTracker.js.map +1 -0
  487. package/version.d.ts +21 -0
  488. package/version.js +22 -0
  489. package/version.js.map +1 -0
  490. package/README.md +0 -18
  491. package/dist/sync/ServerChangeTracker.js.map +0 -1
  492. package/dist/tsconfig.tsbuildinfo +0 -1
  493. /package/{dist/DEMErrors.d.ts → DEMErrors.d.ts} +0 -0
  494. /package/{dist/DEMErrors.js → DEMErrors.js} +0 -0
  495. /package/{dist/sync → sync}/ClientStateReconciler.d.ts +0 -0
  496. /package/{dist/sync → sync}/ClientStateReconciler.js +0 -0
  497. /package/{dist/sync → sync}/ClientStateReconciler.js.map +0 -0
  498. /package/{dist/sync → sync}/ServerChangeTracker.d.ts +0 -0
  499. /package/{dist/sync → sync}/ServerChangeTracker.js +0 -0
  500. /package/{dist/sync → sync}/index.d.ts +0 -0
  501. /package/{dist/sync → sync}/index.js +0 -0
  502. /package/{dist/sync → sync}/index.js.map +0 -0
  503. /package/{dist/sync → sync}/storage/IClientStorageAdapter.d.ts +0 -0
  504. /package/{dist/sync → sync}/storage/IClientStorageAdapter.js +0 -0
  505. /package/{dist/sync → sync}/storage/IClientStorageAdapter.js.map +0 -0
  506. /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.d.ts +0 -0
  507. /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.js +0 -0
  508. /package/{dist/sync → sync}/storage/IndexedDbStorageAdapter.js.map +0 -0
  509. /package/{dist/sync → sync}/storage/LocalStorageAdapter.d.ts +0 -0
  510. /package/{dist/sync → sync}/storage/LocalStorageAdapter.js +0 -0
  511. /package/{dist/sync → sync}/storage/LocalStorageAdapter.js.map +0 -0
  512. /package/{dist/sync → sync}/storage/MemoryStorageAdapter.d.ts +0 -0
  513. /package/{dist/sync → sync}/storage/MemoryStorageAdapter.js +0 -0
  514. /package/{dist/sync → sync}/storage/MemoryStorageAdapter.js.map +0 -0
  515. /package/{dist/sync → sync}/types.d.ts +0 -0
  516. /package/{dist/sync → sync}/types.js +0 -0
  517. /package/{dist/sync → sync}/types.js.map +0 -0
@@ -0,0 +1,25 @@
1
+ import { Link } from 'expo-router';
2
+ import { StyleSheet } from 'react-native';
3
+ import { ThemedText } from '@/components/themed-text';
4
+ import { ThemedView } from '@/components/themed-view';
5
+ export default function ModalScreen() {
6
+ return (<ThemedView style={styles.container}>
7
+ <ThemedText type="title">This is a modal</ThemedText>
8
+ <Link href="/" dismissTo style={styles.link}>
9
+ <ThemedText type="link">Go to home screen</ThemedText>
10
+ </Link>
11
+ </ThemedView>);
12
+ }
13
+ const styles = StyleSheet.create({
14
+ container: {
15
+ flex: 1,
16
+ alignItems: 'center',
17
+ justifyContent: 'center',
18
+ padding: 20,
19
+ },
20
+ link: {
21
+ marginTop: 15,
22
+ paddingVertical: 15,
23
+ },
24
+ });
25
+ //# sourceMappingURL=modal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../expo-test/app/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO,CACL,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAClC;MAAA,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,UAAU,CACpD;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAC1C;QAAA,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CACvD;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,OAAO,EAAE,EAAE;KACZ;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,EAAE;QACb,eAAe,EAAE,EAAE;KACpB;CACF,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Href, Link } from 'expo-router';
2
+ import { type ComponentProps } from 'react';
3
+ type Props = Omit<ComponentProps<typeof Link>, 'href'> & {
4
+ href: Href & string;
5
+ };
6
+ export declare function ExternalLink({ href, ...rest }: Props): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,15 @@
1
+ import { Link } from 'expo-router';
2
+ import { openBrowserAsync, WebBrowserPresentationStyle } from 'expo-web-browser';
3
+ export function ExternalLink({ href, ...rest }) {
4
+ return (<Link target="_blank" {...rest} href={href} onPress={async (event) => {
5
+ if (process.env.EXPO_OS !== 'web') {
6
+ // Prevent the default behavior of linking to the default browser on native.
7
+ event.preventDefault();
8
+ // Open the link in an in-app browser.
9
+ await openBrowserAsync(href, {
10
+ presentationStyle: WebBrowserPresentationStyle.AUTOMATIC,
11
+ });
12
+ }
13
+ }}/>);
14
+ }
15
+ //# sourceMappingURL=external-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-link.js","sourceRoot":"","sources":["../../../expo-test/components/external-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,IAAI,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAKjF,MAAM,UAAU,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAS;IACnD,OAAO,CACL,CAAC,IAAI,CACH,MAAM,CAAC,QAAQ,CACf,IAAI,IAAI,CAAC,CACT,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACvB,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;gBAClC,4EAA4E;gBAC5E,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,sCAAsC;gBACtC,MAAM,gBAAgB,CAAC,IAAI,EAAE;oBAC3B,iBAAiB,EAAE,2BAA2B,CAAC,SAAS;iBACzD,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { BottomTabBarButtonProps } from '@react-navigation/bottom-tabs';
2
+ export declare function HapticTab(props: BottomTabBarButtonProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { PlatformPressable } from '@react-navigation/elements';
2
+ import * as Haptics from 'expo-haptics';
3
+ export function HapticTab(props) {
4
+ return (<PlatformPressable {...props} onPressIn={(ev) => {
5
+ if (process.env.EXPO_OS === 'ios') {
6
+ // Add a soft haptic feedback when pressing down on the tabs.
7
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
8
+ }
9
+ props.onPressIn?.(ev);
10
+ }}/>);
11
+ }
12
+ //# sourceMappingURL=haptic-tab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"haptic-tab.js","sourceRoot":"","sources":["../../../expo-test/components/haptic-tab.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,MAAM,UAAU,SAAS,CAAC,KAA8B;IACtD,OAAO,CACL,CAAC,iBAAiB,CAChB,IAAI,KAAK,CAAC,CACV,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE;YAChB,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;gBAClC,6DAA6D;gBAC7D,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;YACzD,CAAC;YACD,KAAK,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function HelloWave(): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import Animated from 'react-native-reanimated';
2
+ export function HelloWave() {
3
+ return (<Animated.Text style={{
4
+ fontSize: 28,
5
+ lineHeight: 32,
6
+ marginTop: -6,
7
+ animationName: {
8
+ '50%': { transform: [{ rotate: '25deg' }] },
9
+ },
10
+ animationIterationCount: 4,
11
+ animationDuration: '300ms',
12
+ }}>
13
+ 👋
14
+ </Animated.Text>);
15
+ }
16
+ //# sourceMappingURL=hello-wave.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hello-wave.js","sourceRoot":"","sources":["../../../expo-test/components/hello-wave.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAE/C,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,CAAC,QAAQ,CAAC,IAAI,CACZ,KAAK,CAAC,CAAC;YACL,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,CAAC,CAAC;YACb,aAAa,EAAE;gBACb,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE;aAC5C;YACD,uBAAuB,EAAE,CAAC;YAC1B,iBAAiB,EAAE,OAAO;SAC3B,CAAC,CACF;;IACF,EAAE,QAAQ,CAAC,IAAI,CAAC,CACjB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { PropsWithChildren, ReactElement } from 'react';
2
+ type Props = PropsWithChildren<{
3
+ headerImage: ReactElement;
4
+ headerBackgroundColor: {
5
+ dark: string;
6
+ light: string;
7
+ };
8
+ }>;
9
+ export default function ParallaxScrollView({ children, headerImage, headerBackgroundColor, }: Props): import("react").JSX.Element;
10
+ export {};
@@ -0,0 +1,50 @@
1
+ import { StyleSheet } from 'react-native';
2
+ import Animated, { interpolate, useAnimatedRef, useAnimatedStyle, useScrollOffset, } from 'react-native-reanimated';
3
+ import { ThemedView } from '@/components/themed-view';
4
+ import { useColorScheme } from '@/hooks/use-color-scheme';
5
+ import { useThemeColor } from '@/hooks/use-theme-color';
6
+ const HEADER_HEIGHT = 250;
7
+ export default function ParallaxScrollView({ children, headerImage, headerBackgroundColor, }) {
8
+ const backgroundColor = useThemeColor({}, 'background');
9
+ const colorScheme = useColorScheme() ?? 'light';
10
+ const scrollRef = useAnimatedRef();
11
+ const scrollOffset = useScrollOffset(scrollRef);
12
+ const headerAnimatedStyle = useAnimatedStyle(() => {
13
+ return {
14
+ transform: [
15
+ {
16
+ translateY: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [-HEADER_HEIGHT / 2, 0, HEADER_HEIGHT * 0.75]),
17
+ },
18
+ {
19
+ scale: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [2, 1, 1]),
20
+ },
21
+ ],
22
+ };
23
+ });
24
+ return (<Animated.ScrollView ref={scrollRef} style={{ backgroundColor, flex: 1 }} scrollEventThrottle={16}>
25
+ <Animated.View style={[
26
+ styles.header,
27
+ { backgroundColor: headerBackgroundColor[colorScheme] },
28
+ headerAnimatedStyle,
29
+ ]}>
30
+ {headerImage}
31
+ </Animated.View>
32
+ <ThemedView style={styles.content}>{children}</ThemedView>
33
+ </Animated.ScrollView>);
34
+ }
35
+ const styles = StyleSheet.create({
36
+ container: {
37
+ flex: 1,
38
+ },
39
+ header: {
40
+ height: HEADER_HEIGHT,
41
+ overflow: 'hidden',
42
+ },
43
+ content: {
44
+ flex: 1,
45
+ padding: 32,
46
+ gap: 16,
47
+ overflow: 'hidden',
48
+ },
49
+ });
50
+ //# sourceMappingURL=parallax-scroll-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parallax-scroll-view.js","sourceRoot":"","sources":["../../../expo-test/components/parallax-scroll-view.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,QAAQ,EAAE,EACf,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,aAAa,GAAG,GAAG,CAAC;AAO1B,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,WAAW,EACX,qBAAqB,GACf;IACN,MAAM,eAAe,GAAG,aAAa,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,cAAc,EAAE,IAAI,OAAO,CAAC;IAChD,MAAM,SAAS,GAAG,cAAc,EAAuB,CAAC;IACxD,MAAM,YAAY,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;IAChD,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,GAAG,EAAE;QAChD,OAAO;YACL,SAAS,EAAE;gBACT;oBACE,UAAU,EAAE,WAAW,CACrB,YAAY,CAAC,KAAK,EAClB,CAAC,CAAC,aAAa,EAAE,CAAC,EAAE,aAAa,CAAC,EAClC,CAAC,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC,CAC9C;iBACF;gBACD;oBACE,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,aAAa,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;iBACtF;aACF;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO,CACL,CAAC,QAAQ,CAAC,UAAU,CAClB,GAAG,CAAC,CAAC,SAAS,CAAC,CACf,KAAK,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CACpC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CACxB;MAAA,CAAC,QAAQ,CAAC,IAAI,CACZ,KAAK,CAAC,CAAC;YACL,MAAM,CAAC,MAAM;YACb,EAAE,eAAe,EAAE,qBAAqB,CAAC,WAAW,CAAC,EAAE;YACvD,mBAAmB;SACpB,CAAC,CACF;QAAA,CAAC,WAAW,CACd;MAAA,EAAE,QAAQ,CAAC,IAAI,CACf;MAAA,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,CAC3D;IAAA,EAAE,QAAQ,CAAC,UAAU,CAAC,CACvB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;KACR;IACD,MAAM,EAAE;QACN,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,QAAQ;KACnB;IACD,OAAO,EAAE;QACP,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,EAAE;QACX,GAAG,EAAE,EAAE;QACP,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type TextProps } from 'react-native';
2
+ export type ThemedTextProps = TextProps & {
3
+ lightColor?: string;
4
+ darkColor?: string;
5
+ type?: 'default' | 'title' | 'defaultSemiBold' | 'subtitle' | 'link';
6
+ };
7
+ export declare function ThemedText({ style, lightColor, darkColor, type, ...rest }: ThemedTextProps): import("react").JSX.Element;
@@ -0,0 +1,40 @@
1
+ import { StyleSheet, Text } from 'react-native';
2
+ import { useThemeColor } from '@/hooks/use-theme-color';
3
+ export function ThemedText({ style, lightColor, darkColor, type = 'default', ...rest }) {
4
+ const color = useThemeColor({ light: lightColor, dark: darkColor }, 'text');
5
+ return (<Text style={[
6
+ { color },
7
+ type === 'default' ? styles.default : undefined,
8
+ type === 'title' ? styles.title : undefined,
9
+ type === 'defaultSemiBold' ? styles.defaultSemiBold : undefined,
10
+ type === 'subtitle' ? styles.subtitle : undefined,
11
+ type === 'link' ? styles.link : undefined,
12
+ style,
13
+ ]} {...rest}/>);
14
+ }
15
+ const styles = StyleSheet.create({
16
+ default: {
17
+ fontSize: 16,
18
+ lineHeight: 24,
19
+ },
20
+ defaultSemiBold: {
21
+ fontSize: 16,
22
+ lineHeight: 24,
23
+ fontWeight: '600',
24
+ },
25
+ title: {
26
+ fontSize: 32,
27
+ fontWeight: 'bold',
28
+ lineHeight: 32,
29
+ },
30
+ subtitle: {
31
+ fontSize: 20,
32
+ fontWeight: 'bold',
33
+ },
34
+ link: {
35
+ lineHeight: 30,
36
+ fontSize: 16,
37
+ color: '#0a7ea4',
38
+ },
39
+ });
40
+ //# sourceMappingURL=themed-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themed-text.js","sourceRoot":"","sources":["../../../expo-test/components/themed-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQxD,MAAM,UAAU,UAAU,CAAC,EACzB,KAAK,EACL,UAAU,EACV,SAAS,EACT,IAAI,GAAG,SAAS,EAChB,GAAG,IAAI,EACS;IAChB,MAAM,KAAK,GAAG,aAAa,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;IAE5E,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC;YACL,EAAE,KAAK,EAAE;YACT,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;YAC/C,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;YAC3C,IAAI,KAAK,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;YAC/D,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YACjD,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;YACzC,KAAK;SACN,CAAC,CACF,IAAI,IAAI,CAAC,EACT,CACH,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE;QACP,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;QACd,UAAU,EAAE,KAAK;KAClB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,EAAE;KACf;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;KACnB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,SAAS;KACjB;CACF,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type ViewProps } from 'react-native';
2
+ export type ThemedViewProps = ViewProps & {
3
+ lightColor?: string;
4
+ darkColor?: string;
5
+ };
6
+ export declare function ThemedView({ style, lightColor, darkColor, ...otherProps }: ThemedViewProps): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { View } from 'react-native';
2
+ import { useThemeColor } from '@/hooks/use-theme-color';
3
+ export function ThemedView({ style, lightColor, darkColor, ...otherProps }) {
4
+ const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, 'background');
5
+ return <View style={[{ backgroundColor }, style]} {...otherProps}/>;
6
+ }
7
+ //# sourceMappingURL=themed-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themed-view.js","sourceRoot":"","sources":["../../../expo-test/components/themed-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAOxD,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,UAAU,EAAmB;IACzF,MAAM,eAAe,GAAG,aAAa,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,YAAY,CAAC,CAAC;IAE5F,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,EAAG,CAAC;AACvE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare function Collapsible({ children, title }: PropsWithChildren & {
3
+ title: string;
4
+ }): import("react").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { useState } from 'react';
2
+ import { StyleSheet, TouchableOpacity } from 'react-native';
3
+ import { ThemedText } from '@/components/themed-text';
4
+ import { ThemedView } from '@/components/themed-view';
5
+ import { IconSymbol } from '@/components/ui/icon-symbol';
6
+ import { Colors } from '@/constants/theme';
7
+ import { useColorScheme } from '@/hooks/use-color-scheme';
8
+ export function Collapsible({ children, title }) {
9
+ const [isOpen, setIsOpen] = useState(false);
10
+ const theme = useColorScheme() ?? 'light';
11
+ return (<ThemedView>
12
+ <TouchableOpacity style={styles.heading} onPress={() => setIsOpen((value) => !value)} activeOpacity={0.8}>
13
+ <IconSymbol name="chevron.right" size={18} weight="medium" color={theme === 'light' ? Colors.light.icon : Colors.dark.icon} style={{ transform: [{ rotate: isOpen ? '90deg' : '0deg' }] }}/>
14
+
15
+ <ThemedText type="defaultSemiBold">{title}</ThemedText>
16
+ </TouchableOpacity>
17
+ {isOpen && <ThemedView style={styles.content}>{children}</ThemedView>}
18
+ </ThemedView>);
19
+ }
20
+ const styles = StyleSheet.create({
21
+ heading: {
22
+ flexDirection: 'row',
23
+ alignItems: 'center',
24
+ gap: 6,
25
+ },
26
+ content: {
27
+ marginTop: 6,
28
+ marginLeft: 24,
29
+ },
30
+ });
31
+ //# sourceMappingURL=collapsible.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.js","sourceRoot":"","sources":["../../../../expo-test/components/ui/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAyC;IACpF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,KAAK,GAAG,cAAc,EAAE,IAAI,OAAO,CAAC;IAE1C,OAAO,CACL,CAAC,UAAU,CACT;MAAA,CAAC,gBAAgB,CACf,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CACtB,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAC5C,aAAa,CAAC,CAAC,GAAG,CAAC,CACnB;QAAA,CAAC,UAAU,CACT,IAAI,CAAC,eAAe,CACpB,IAAI,CAAC,CAAC,EAAE,CAAC,CACT,MAAM,CAAC,QAAQ,CACf,KAAK,CAAC,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAChE,KAAK,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAGhE;;QAAA,CAAC,UAAU,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,KAAK,CAAC,EAAE,UAAU,CACxD;MAAA,EAAE,gBAAgB,CAClB;MAAA,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CACvE;IAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE;QACP,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;QACpB,GAAG,EAAE,CAAC;KACP;IACD,OAAO,EAAE;QACP,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;KACf;CACF,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import MaterialIcons from '@expo/vector-icons/MaterialIcons';
2
+ import { SymbolWeight, SymbolViewProps } from 'expo-symbols';
3
+ import { ComponentProps } from 'react';
4
+ import { OpaqueColorValue, type StyleProp, type TextStyle } from 'react-native';
5
+ type IconMapping = Record<SymbolViewProps['name'], ComponentProps<typeof MaterialIcons>['name']>;
6
+ type IconSymbolName = keyof typeof MAPPING;
7
+ /**
8
+ * Add your SF Symbols to Material Icons mappings here.
9
+ * - see Material Icons in the [Icons Directory](https://icons.expo.fyi).
10
+ * - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
11
+ */
12
+ declare const MAPPING: IconMapping;
13
+ /**
14
+ * An icon component that uses native SF Symbols on iOS, and Material Icons on Android and web.
15
+ * This ensures a consistent look across platforms, and optimal resource usage.
16
+ * Icon `name`s are based on SF Symbols and require manual mapping to Material Icons.
17
+ */
18
+ export declare function IconSymbol({ name, size, color, style, }: {
19
+ name: IconSymbolName;
20
+ size?: number;
21
+ color: string | OpaqueColorValue;
22
+ style?: StyleProp<TextStyle>;
23
+ weight?: SymbolWeight;
24
+ }): import("react").JSX.Element;
25
+ export {};
@@ -0,0 +1,9 @@
1
+ import { SymbolViewProps, SymbolWeight } from 'expo-symbols';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ export declare function IconSymbol({ name, size, color, style, weight, }: {
4
+ name: SymbolViewProps['name'];
5
+ size?: number;
6
+ color: string;
7
+ style?: StyleProp<ViewStyle>;
8
+ weight?: SymbolWeight;
9
+ }): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { SymbolView } from 'expo-symbols';
2
+ export function IconSymbol({ name, size = 24, color, style, weight = 'regular', }) {
3
+ return (<SymbolView weight={weight} tintColor={color} resizeMode="scaleAspectFit" name={name} style={[
4
+ {
5
+ width: size,
6
+ height: size,
7
+ },
8
+ style,
9
+ ]}/>);
10
+ }
11
+ //# sourceMappingURL=icon-symbol.ios.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-symbol.ios.js","sourceRoot":"","sources":["../../../../expo-test/components/ui/icon-symbol.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiC,MAAM,cAAc,CAAC;AAGzE,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EACJ,IAAI,GAAG,EAAE,EACT,KAAK,EACL,KAAK,EACL,MAAM,GAAG,SAAS,GAOnB;IACC,OAAO,CACL,CAAC,UAAU,CACT,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,SAAS,CAAC,CAAC,KAAK,CAAC,CACjB,UAAU,CAAC,gBAAgB,CAC3B,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,KAAK,CAAC,CAAC;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb;YACD,KAAK;SACN,CAAC,EACF,CACH,CAAC;AACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ // Fallback for using MaterialIcons on Android and web.
2
+ import MaterialIcons from '@expo/vector-icons/MaterialIcons';
3
+ /**
4
+ * Add your SF Symbols to Material Icons mappings here.
5
+ * - see Material Icons in the [Icons Directory](https://icons.expo.fyi).
6
+ * - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
7
+ */
8
+ const MAPPING = {
9
+ 'house.fill': 'home',
10
+ 'paperplane.fill': 'send',
11
+ 'chevron.left.forwardslash.chevron.right': 'code',
12
+ 'chevron.right': 'chevron-right',
13
+ };
14
+ /**
15
+ * An icon component that uses native SF Symbols on iOS, and Material Icons on Android and web.
16
+ * This ensures a consistent look across platforms, and optimal resource usage.
17
+ * Icon `name`s are based on SF Symbols and require manual mapping to Material Icons.
18
+ */
19
+ export function IconSymbol({ name, size = 24, color, style, }) {
20
+ return <MaterialIcons color={color} size={size} name={MAPPING[name]} style={style}/>;
21
+ }
22
+ //# sourceMappingURL=icon-symbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-symbol.js","sourceRoot":"","sources":["../../../../expo-test/components/ui/icon-symbol.tsx"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,OAAO,GAAG;IACd,YAAY,EAAE,MAAM;IACpB,iBAAiB,EAAE,MAAM;IACzB,yCAAyC,EAAE,MAAM;IACjD,eAAe,EAAE,eAAe;CAClB,CAAC;AAEjB;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EACJ,IAAI,GAAG,EAAE,EACT,KAAK,EACL,KAAK,GAON;IACC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAG,CAAC;AACxF,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
3
+ * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
4
+ */
5
+ export declare const Colors: {
6
+ light: {
7
+ text: string;
8
+ background: string;
9
+ tint: string;
10
+ icon: string;
11
+ tabIconDefault: string;
12
+ tabIconSelected: string;
13
+ };
14
+ dark: {
15
+ text: string;
16
+ background: string;
17
+ tint: string;
18
+ icon: string;
19
+ tabIconDefault: string;
20
+ tabIconSelected: string;
21
+ };
22
+ };
23
+ export declare const Fonts: {
24
+ /** iOS `UIFontDescriptorSystemDesignDefault` */
25
+ sans: string;
26
+ /** iOS `UIFontDescriptorSystemDesignSerif` */
27
+ serif: string;
28
+ /** iOS `UIFontDescriptorSystemDesignRounded` */
29
+ rounded: string;
30
+ /** iOS `UIFontDescriptorSystemDesignMonospaced` */
31
+ mono: string;
32
+ };
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
3
+ * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
4
+ */
5
+ import { Platform } from 'react-native';
6
+ const tintColorLight = '#0a7ea4';
7
+ const tintColorDark = '#fff';
8
+ export const Colors = {
9
+ light: {
10
+ text: '#11181C',
11
+ background: '#fff',
12
+ tint: tintColorLight,
13
+ icon: '#687076',
14
+ tabIconDefault: '#687076',
15
+ tabIconSelected: tintColorLight,
16
+ },
17
+ dark: {
18
+ text: '#ECEDEE',
19
+ background: '#151718',
20
+ tint: tintColorDark,
21
+ icon: '#9BA1A6',
22
+ tabIconDefault: '#9BA1A6',
23
+ tabIconSelected: tintColorDark,
24
+ },
25
+ };
26
+ export const Fonts = Platform.select({
27
+ ios: {
28
+ /** iOS `UIFontDescriptorSystemDesignDefault` */
29
+ sans: 'system-ui',
30
+ /** iOS `UIFontDescriptorSystemDesignSerif` */
31
+ serif: 'ui-serif',
32
+ /** iOS `UIFontDescriptorSystemDesignRounded` */
33
+ rounded: 'ui-rounded',
34
+ /** iOS `UIFontDescriptorSystemDesignMonospaced` */
35
+ mono: 'ui-monospace',
36
+ },
37
+ default: {
38
+ sans: 'normal',
39
+ serif: 'serif',
40
+ rounded: 'normal',
41
+ mono: 'monospace',
42
+ },
43
+ web: {
44
+ sans: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
45
+ serif: "Georgia, 'Times New Roman', serif",
46
+ rounded: "'SF Pro Rounded', 'Hiragino Maru Gothic ProN', Meiryo, 'MS PGothic', sans-serif",
47
+ mono: "SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
48
+ },
49
+ });
50
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../expo-test/constants/theme.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,cAAc,GAAG,SAAS,CAAC;AACjC,MAAM,aAAa,GAAG,MAAM,CAAC;AAE7B,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE;QACL,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,SAAS;QACzB,eAAe,EAAE,cAAc;KAChC;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;QACrB,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,SAAS;QACzB,eAAe,EAAE,aAAa;KAC/B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE;QACH,gDAAgD;QAChD,IAAI,EAAE,WAAW;QACjB,8CAA8C;QAC9C,KAAK,EAAE,UAAU;QACjB,gDAAgD;QAChD,OAAO,EAAE,YAAY;QACrB,mDAAmD;QACnD,IAAI,EAAE,cAAc;KACrB;IACD,OAAO,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,QAAQ;QACjB,IAAI,EAAE,WAAW;KAClB;IACD,GAAG,EAAE;QACH,IAAI,EAAE,gGAAgG;QACtG,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,iFAAiF;QAC1F,IAAI,EAAE,sFAAsF;KAC7F;CACF,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _exports: import("eslint/config").Config[];
2
+ export = _exports;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // https://docs.expo.dev/guides/using-eslint/
3
+ const { defineConfig } = require('eslint/config');
4
+ const expoConfig = require('eslint-config-expo/flat');
5
+ module.exports = defineConfig([
6
+ expoConfig,
7
+ {
8
+ ignores: ['dist/*'],
9
+ },
10
+ ]);
11
+ //# sourceMappingURL=eslint.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../../expo-test/eslint.config.js"],"names":[],"mappings":";AAAA,6CAA6C;AAC7C,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAClD,MAAM,UAAU,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAEtD,MAAM,CAAC,OAAO,GAAG,YAAY,CAAC;IAC5B,UAAU;IACV;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;KACpB;CACF,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export { useColorScheme } from 'react-native';
@@ -0,0 +1,2 @@
1
+ export { useColorScheme } from 'react-native';
2
+ //# sourceMappingURL=use-color-scheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-color-scheme.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-color-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * To support static rendering, this value needs to be re-calculated on the client side for web
3
+ */
4
+ export declare function useColorScheme(): import("react-native").ColorSchemeName;
@@ -0,0 +1,17 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { useColorScheme as useRNColorScheme } from 'react-native';
3
+ /**
4
+ * To support static rendering, this value needs to be re-calculated on the client side for web
5
+ */
6
+ export function useColorScheme() {
7
+ const [hasHydrated, setHasHydrated] = useState(false);
8
+ useEffect(() => {
9
+ setHasHydrated(true);
10
+ }, []);
11
+ const colorScheme = useRNColorScheme();
12
+ if (hasHydrated) {
13
+ return colorScheme;
14
+ }
15
+ return 'light';
16
+ }
17
+ //# sourceMappingURL=use-color-scheme.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-color-scheme.web.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-color-scheme.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAElE;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtD,SAAS,CAAC,GAAG,EAAE;QACb,cAAc,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,gBAAgB,EAAE,CAAC;IAEvC,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Learn more about light and dark modes:
3
+ * https://docs.expo.dev/guides/color-schemes/
4
+ */
5
+ import { Colors } from '@/constants/theme';
6
+ export declare function useThemeColor(props: {
7
+ light?: string;
8
+ dark?: string;
9
+ }, colorName: keyof typeof Colors.light & keyof typeof Colors.dark): any;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Learn more about light and dark modes:
3
+ * https://docs.expo.dev/guides/color-schemes/
4
+ */
5
+ import { Colors } from '@/constants/theme';
6
+ import { useColorScheme } from '@/hooks/use-color-scheme';
7
+ export function useThemeColor(props, colorName) {
8
+ const theme = useColorScheme() ?? 'light';
9
+ const colorFromProps = props[theme];
10
+ if (colorFromProps) {
11
+ return colorFromProps;
12
+ }
13
+ else {
14
+ return Colors[theme][colorName];
15
+ }
16
+ }
17
+ //# sourceMappingURL=use-theme-color.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-theme-color.js","sourceRoot":"","sources":["../../../expo-test/hooks/use-theme-color.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,UAAU,aAAa,CAC3B,KAAwC,EACxC,SAA+D;IAE/D,MAAM,KAAK,GAAG,cAAc,EAAE,IAAI,OAAO,CAAC;IAC1C,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAEpC,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,cAAc,CAAC;IACxB,CAAC;SAAM,CAAC;QACN,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC;AACH,CAAC"}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};