one 1.1.298 → 1.1.299

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. package/dist/cjs/vite/replaceLoader.js +7 -1
  2. package/dist/cjs/vite/replaceLoader.js.map +1 -1
  3. package/dist/cjs/vite/replaceLoader.native.js +7 -1
  4. package/dist/cjs/vite/replaceLoader.native.js.map +1 -1
  5. package/dist/esm/Root.native.js +110 -104
  6. package/dist/esm/Root.native.js.map +6 -1
  7. package/dist/esm/Route.native.js +12 -10
  8. package/dist/esm/Route.native.js.map +6 -1
  9. package/dist/esm/cleanUrl.native.js +12 -13
  10. package/dist/esm/cleanUrl.native.js.map +6 -1
  11. package/dist/esm/cli/label-process.native.js +5 -4
  12. package/dist/esm/cli/label-process.native.js.map +6 -1
  13. package/dist/esm/cli/main.native.js +8 -13
  14. package/dist/esm/cli/main.native.js.map +6 -1
  15. package/dist/esm/cli/prebuild.native.js +5 -5
  16. package/dist/esm/cli/prebuild.native.js.map +6 -1
  17. package/dist/esm/cli/run.native.js +21 -28
  18. package/dist/esm/cli/run.native.js.map +6 -1
  19. package/dist/esm/cli.native.js +119 -148
  20. package/dist/esm/cli.native.js.map +6 -1
  21. package/dist/esm/clientLoaderResolver.native.js +9 -6
  22. package/dist/esm/clientLoaderResolver.native.js.map +6 -1
  23. package/dist/esm/config.native.js +12 -11
  24. package/dist/esm/config.native.js.map +6 -1
  25. package/dist/esm/constants.native.js +7 -5
  26. package/dist/esm/constants.native.js.map +6 -1
  27. package/dist/esm/createApp.native.js +13 -9
  28. package/dist/esm/createApp.native.js.map +6 -1
  29. package/dist/esm/createHandleRequest.native.js +55 -64
  30. package/dist/esm/createHandleRequest.native.js.map +6 -1
  31. package/dist/esm/createRoute.native.js +16 -16
  32. package/dist/esm/createRoute.native.js.map +6 -1
  33. package/dist/esm/fallbackViews/Sitemap.native.js +6 -3
  34. package/dist/esm/fallbackViews/Sitemap.native.js.map +6 -1
  35. package/dist/esm/fallbackViews/Unmatched.native.js +5 -3
  36. package/dist/esm/fallbackViews/Unmatched.native.js.map +6 -1
  37. package/dist/esm/fork/NavigationContainer.native.js +24 -31
  38. package/dist/esm/fork/NavigationContainer.native.js.map +6 -1
  39. package/dist/esm/fork/createMemoryHistory.native.js +99 -115
  40. package/dist/esm/fork/createMemoryHistory.native.js.map +6 -1
  41. package/dist/esm/fork/extractPathFromURL.native.js +16 -15
  42. package/dist/esm/fork/extractPathFromURL.native.js.map +6 -1
  43. package/dist/esm/fork/findFocusedRoute.native.js +6 -5
  44. package/dist/esm/fork/findFocusedRoute.native.js.map +6 -1
  45. package/dist/esm/fork/getPathFromState.native.js +127 -140
  46. package/dist/esm/fork/getPathFromState.native.js.map +6 -1
  47. package/dist/esm/fork/getStateFromPath.native.js +292 -288
  48. package/dist/esm/fork/getStateFromPath.native.js.map +6 -1
  49. package/dist/esm/fork/useLinking.native.js +70 -61
  50. package/dist/esm/fork/useLinking.native.js.map +6 -1
  51. package/dist/esm/fork/validatePathConfig.native.js +15 -9
  52. package/dist/esm/fork/validatePathConfig.native.js.map +6 -1
  53. package/dist/esm/getLinkingConfig.native.js +11 -6
  54. package/dist/esm/getLinkingConfig.native.js.map +6 -1
  55. package/dist/esm/getReactNavigationConfig.native.js +28 -20
  56. package/dist/esm/getReactNavigationConfig.native.js.map +6 -1
  57. package/dist/esm/getRoutes.native.js +249 -229
  58. package/dist/esm/getRoutes.native.js.map +6 -1
  59. package/dist/esm/getURL.native.js +4 -4
  60. package/dist/esm/getURL.native.js.map +6 -1
  61. package/dist/esm/head/Head.android.js +5 -3
  62. package/dist/esm/head/Head.android.js.map +6 -1
  63. package/dist/esm/head/Head.ios.js +144 -132
  64. package/dist/esm/head/Head.ios.js.map +6 -1
  65. package/dist/esm/head/Head.native.js +7 -7
  66. package/dist/esm/head/Head.native.js.map +6 -1
  67. package/dist/esm/head/HeadModule.native.js +6 -6
  68. package/dist/esm/head/HeadModule.native.js.map +6 -1
  69. package/dist/esm/head/index.native.js +2 -2
  70. package/dist/esm/head/index.native.js.map +6 -1
  71. package/dist/esm/head/types.native.js +1 -2
  72. package/dist/esm/head/types.native.js.map +6 -1
  73. package/dist/esm/head/url.native.js +10 -8
  74. package/dist/esm/head/url.native.js.map +6 -1
  75. package/dist/esm/hooks.native.js +53 -34
  76. package/dist/esm/hooks.native.js.map +6 -1
  77. package/dist/esm/imperative-api.native.js +9 -6
  78. package/dist/esm/imperative-api.native.js.map +6 -1
  79. package/dist/esm/import-mode/index.android.js +4 -3
  80. package/dist/esm/import-mode/index.android.js.map +6 -1
  81. package/dist/esm/import-mode/index.ios.js +4 -3
  82. package/dist/esm/import-mode/index.ios.js.map +6 -1
  83. package/dist/esm/import-mode/index.native.js +3 -1
  84. package/dist/esm/import-mode/index.native.js.map +6 -1
  85. package/dist/esm/index.native.js +65 -27
  86. package/dist/esm/index.native.js.map +6 -1
  87. package/dist/esm/interfaces/router.native.js +4 -2
  88. package/dist/esm/interfaces/router.native.js.map +6 -1
  89. package/dist/esm/layouts/Drawer.native.js +7 -6
  90. package/dist/esm/layouts/Drawer.native.js.map +6 -1
  91. package/dist/esm/layouts/Stack.native.js +7 -6
  92. package/dist/esm/layouts/Stack.native.js.map +6 -1
  93. package/dist/esm/layouts/Tabs.native.js +42 -39
  94. package/dist/esm/layouts/Tabs.native.js.map +6 -1
  95. package/dist/esm/layouts/withLayoutContext.native.js +51 -48
  96. package/dist/esm/layouts/withLayoutContext.native.js.map +6 -1
  97. package/dist/esm/link/Link.native.js +62 -53
  98. package/dist/esm/link/Link.native.js.map +6 -1
  99. package/dist/esm/link/Redirect.native.js +8 -9
  100. package/dist/esm/link/Redirect.native.js.map +6 -1
  101. package/dist/esm/link/href.native.js +28 -27
  102. package/dist/esm/link/href.native.js.map +6 -1
  103. package/dist/esm/link/linking.native.js +51 -40
  104. package/dist/esm/link/linking.native.js.map +6 -1
  105. package/dist/esm/link/path.native.js +28 -19
  106. package/dist/esm/link/path.native.js.map +6 -1
  107. package/dist/esm/link/useLinkTo.native.js +22 -20
  108. package/dist/esm/link/useLinkTo.native.js.map +6 -1
  109. package/dist/esm/link/useLoadedNavigation.native.js +30 -23
  110. package/dist/esm/link/useLoadedNavigation.native.js.map +6 -1
  111. package/dist/esm/matchers.native.js +16 -3
  112. package/dist/esm/matchers.native.js.map +6 -1
  113. package/dist/esm/platform.native.js +4 -2
  114. package/dist/esm/platform.native.js.map +6 -1
  115. package/dist/esm/polyfills-mobile.native.js +4 -5
  116. package/dist/esm/polyfills-mobile.native.js.map +6 -1
  117. package/dist/esm/polyfills-server.native.js +1 -1
  118. package/dist/esm/polyfills-server.native.js.map +6 -1
  119. package/dist/esm/render.native.js +3 -1
  120. package/dist/esm/render.native.js.map +6 -1
  121. package/dist/esm/router/RouterStore.native.js +1 -2
  122. package/dist/esm/router/RouterStore.native.js.map +6 -1
  123. package/dist/esm/router/constants.native.js +4 -2
  124. package/dist/esm/router/constants.native.js.map +6 -1
  125. package/dist/esm/router/getNormalizedStatePath.native.js +18 -17
  126. package/dist/esm/router/getNormalizedStatePath.native.js.map +6 -1
  127. package/dist/esm/router/lastAction.native.js +10 -9
  128. package/dist/esm/router/lastAction.native.js.map +6 -1
  129. package/dist/esm/router/router.native.js +135 -114
  130. package/dist/esm/router/router.native.js.map +6 -1
  131. package/dist/esm/router/serverLocationContext.native.js +4 -2
  132. package/dist/esm/router/serverLocationContext.native.js.map +6 -1
  133. package/dist/esm/router/useInitializeOneRouter.native.js +8 -5
  134. package/dist/esm/router/useInitializeOneRouter.native.js.map +6 -1
  135. package/dist/esm/serve.native.js +77 -104
  136. package/dist/esm/serve.native.js.map +6 -1
  137. package/dist/esm/server/createRoutesManifest.native.js +14 -11
  138. package/dist/esm/server/createRoutesManifest.native.js.map +6 -1
  139. package/dist/esm/server/getServerManifest.native.js +61 -67
  140. package/dist/esm/server/getServerManifest.native.js.map +6 -1
  141. package/dist/esm/server-render.native.js +9 -10
  142. package/dist/esm/server-render.native.js.map +6 -1
  143. package/dist/esm/sortRoutes.native.js +27 -17
  144. package/dist/esm/sortRoutes.native.js.map +6 -1
  145. package/dist/esm/typed-routes/generateRouteTypes.native.js +10 -11
  146. package/dist/esm/typed-routes/generateRouteTypes.native.js.map +6 -1
  147. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js +38 -37
  148. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js.map +6 -1
  149. package/dist/esm/types.native.js +1 -2
  150. package/dist/esm/types.native.js.map +6 -1
  151. package/dist/esm/useFocusEffect.native.js +25 -22
  152. package/dist/esm/useFocusEffect.native.js.map +6 -1
  153. package/dist/esm/useLoader.native.js +50 -50
  154. package/dist/esm/useLoader.native.js.map +6 -1
  155. package/dist/esm/useNavigation.native.js +23 -19
  156. package/dist/esm/useNavigation.native.js.map +6 -1
  157. package/dist/esm/useScreens.native.js +143 -160
  158. package/dist/esm/useScreens.native.js.map +6 -1
  159. package/dist/esm/useViteRoutes.native.js +25 -28
  160. package/dist/esm/useViteRoutes.native.js.map +6 -1
  161. package/dist/esm/utils/assertIsReady.native.js +6 -3
  162. package/dist/esm/utils/assertIsReady.native.js.map +6 -1
  163. package/dist/esm/utils/dynamicImport.native.js +5 -3
  164. package/dist/esm/utils/dynamicImport.native.js.map +6 -1
  165. package/dist/esm/utils/existsAsync.native.js +6 -4
  166. package/dist/esm/utils/existsAsync.native.js.map +6 -1
  167. package/dist/esm/utils/getPageExport.native.js +12 -11
  168. package/dist/esm/utils/getPageExport.native.js.map +6 -1
  169. package/dist/esm/utils/globDir.native.js +5 -3
  170. package/dist/esm/utils/globDir.native.js.map +6 -1
  171. package/dist/esm/utils/hashString.native.js +4 -2
  172. package/dist/esm/utils/hashString.native.js.map +6 -1
  173. package/dist/esm/utils/isResponse.native.js +4 -2
  174. package/dist/esm/utils/isResponse.native.js.map +6 -1
  175. package/dist/esm/utils/isStatus.native.js +4 -2
  176. package/dist/esm/utils/isStatus.native.js.map +6 -1
  177. package/dist/esm/utils/promiseWithResolvers.native.js +7 -7
  178. package/dist/esm/utils/promiseWithResolvers.native.js.map +6 -1
  179. package/dist/esm/utils/rand.native.js +5 -3
  180. package/dist/esm/utils/rand.native.js.map +6 -1
  181. package/dist/esm/utils/redirect.native.js +7 -5
  182. package/dist/esm/utils/redirect.native.js.map +6 -1
  183. package/dist/esm/utils/removeSearch.native.js +4 -2
  184. package/dist/esm/utils/removeSearch.native.js.map +6 -1
  185. package/dist/esm/utils/removeUndefined.native.js +6 -3
  186. package/dist/esm/utils/removeUndefined.native.js.map +6 -1
  187. package/dist/esm/utils/requireResolve.native.js +4 -2
  188. package/dist/esm/utils/requireResolve.native.js.map +6 -1
  189. package/dist/esm/utils/url.native.js +6 -2
  190. package/dist/esm/utils/url.native.js.map +6 -1
  191. package/dist/esm/utils/weakKey.native.js +11 -10
  192. package/dist/esm/utils/weakKey.native.js.map +6 -1
  193. package/dist/esm/utils/weakMemo.native.js +8 -8
  194. package/dist/esm/utils/weakMemo.native.js.map +6 -1
  195. package/dist/esm/views/EmptyRoute.native.js +5 -3
  196. package/dist/esm/views/EmptyRoute.native.js.map +6 -1
  197. package/dist/esm/views/ErrorBoundary.native.js +5 -8
  198. package/dist/esm/views/ErrorBoundary.native.js.map +6 -1
  199. package/dist/esm/views/LoadProgressBar.native.js +58 -57
  200. package/dist/esm/views/LoadProgressBar.native.js.map +6 -1
  201. package/dist/esm/views/Navigator.native.js +54 -71
  202. package/dist/esm/views/Navigator.native.js.map +6 -1
  203. package/dist/esm/views/PreloadLinks.native.js +3 -1
  204. package/dist/esm/views/PreloadLinks.native.js.map +6 -1
  205. package/dist/esm/views/RootErrorBoundary.native.js +39 -29
  206. package/dist/esm/views/RootErrorBoundary.native.js.map +6 -1
  207. package/dist/esm/views/Screen.native.js +12 -12
  208. package/dist/esm/views/Screen.native.js.map +6 -1
  209. package/dist/esm/views/ScrollRestoration.native.js +27 -27
  210. package/dist/esm/views/ScrollRestoration.native.js.map +6 -1
  211. package/dist/esm/views/Try.native.js +40 -37
  212. package/dist/esm/views/Try.native.js.map +6 -1
  213. package/dist/esm/vite/build.native.js +260 -295
  214. package/dist/esm/vite/build.native.js.map +6 -1
  215. package/dist/esm/vite/clientTreeShakePlugin.native.js +34 -33
  216. package/dist/esm/vite/clientTreeShakePlugin.native.js.map +6 -1
  217. package/dist/esm/vite/constants.native.js +6 -4
  218. package/dist/esm/vite/constants.native.js.map +6 -1
  219. package/dist/esm/vite/createFileSystemRouter.native.js +99 -130
  220. package/dist/esm/vite/createFileSystemRouter.native.js.map +6 -1
  221. package/dist/esm/vite/customNodeExternals.native.js +9 -10
  222. package/dist/esm/vite/customNodeExternals.native.js.map +6 -1
  223. package/dist/esm/vite/ensureTsConfig.native.js +7 -5
  224. package/dist/esm/vite/ensureTsConfig.native.js.map +6 -1
  225. package/dist/esm/vite/findDepsToOptimize.native.js +27 -19
  226. package/dist/esm/vite/findDepsToOptimize.native.js.map +6 -1
  227. package/dist/esm/vite/fixDependenciesPlugin.native.js +5 -3
  228. package/dist/esm/vite/fixDependenciesPlugin.native.js.map +6 -1
  229. package/dist/esm/vite/generateTypesForRoutes.native.js +9 -9
  230. package/dist/esm/vite/generateTypesForRoutes.native.js.map +6 -1
  231. package/dist/esm/vite/getManifest.native.js +6 -4
  232. package/dist/esm/vite/getManifest.native.js.map +6 -1
  233. package/dist/esm/vite/headers.native.js +11 -5
  234. package/dist/esm/vite/headers.native.js.map +6 -1
  235. package/dist/esm/vite/loadEnv.native.js +7 -6
  236. package/dist/esm/vite/loadEnv.native.js.map +6 -1
  237. package/dist/esm/vite/makePluginWebOnly.native.js +9 -5
  238. package/dist/esm/vite/makePluginWebOnly.native.js.map +6 -1
  239. package/dist/esm/vite/one.native.js +142 -127
  240. package/dist/esm/vite/one.native.js.map +6 -1
  241. package/dist/esm/vite/removeReactNativeWebAnimatedPlugin.native.js +14 -11
  242. package/dist/esm/vite/removeReactNativeWebAnimatedPlugin.native.js.map +6 -1
  243. package/dist/esm/vite/replaceLoader.js +7 -1
  244. package/dist/esm/vite/replaceLoader.js.map +1 -1
  245. package/dist/esm/vite/replaceLoader.mjs +5 -1
  246. package/dist/esm/vite/replaceLoader.mjs.map +1 -1
  247. package/dist/esm/vite/replaceLoader.native.js +13 -10
  248. package/dist/esm/vite/replaceLoader.native.js.map +6 -1
  249. package/dist/esm/vite/resolveAPIRequest.native.js +44 -47
  250. package/dist/esm/vite/resolveAPIRequest.native.js.map +6 -1
  251. package/dist/esm/vite/server.native.js +5 -4
  252. package/dist/esm/vite/server.native.js.map +6 -1
  253. package/dist/esm/vite/types.native.js +1 -2
  254. package/dist/esm/vite/types.native.js.map +6 -1
  255. package/dist/esm/vite/virtualEntryPlugin.native.js +21 -16
  256. package/dist/esm/vite/virtualEntryPlugin.native.js.map +6 -1
  257. package/dist/esm/vite/vitePluginSsrCss.native.js +61 -50
  258. package/dist/esm/vite/vitePluginSsrCss.native.js.map +6 -1
  259. package/dist/esm/vite.native.js +19 -10
  260. package/dist/esm/vite.native.js.map +6 -1
  261. package/dist/esm/zero/getQueryKey.native.js +5 -3
  262. package/dist/esm/zero/getQueryKey.native.js.map +6 -1
  263. package/dist/esm/zero/isZeroQuery.native.js +4 -2
  264. package/dist/esm/zero/isZeroQuery.native.js.map +6 -1
  265. package/dist/esm/zero/resolveQuery.native.js +9 -8
  266. package/dist/esm/zero/resolveQuery.native.js.map +6 -1
  267. package/dist/esm/zero/subscribeToQuery.native.js +5 -3
  268. package/dist/esm/zero/subscribeToQuery.native.js.map +6 -1
  269. package/dist/esm/zero/types.native.js +1 -2
  270. package/dist/esm/zero/types.native.js.map +6 -1
  271. package/dist/esm/zero/useQuery.native.js +12 -12
  272. package/dist/esm/zero/useQuery.native.js.map +6 -1
  273. package/dist/esm/zero/useQueryZero.native.js +24 -20
  274. package/dist/esm/zero/useQueryZero.native.js.map +6 -1
  275. package/dist/esm/zero.native.js +9 -5
  276. package/dist/esm/zero.native.js.map +6 -1
  277. package/package.json +7 -7
  278. package/src/vite/replaceLoader.ts +7 -1
  279. package/types/vite/replaceLoader.d.ts.map +1 -1
@@ -1 +1,6 @@
1
- {"version":3,"names":["getPathFromLoaderPath","isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","import","meta","env","Error","manifest","apiRoutesMap","apiRoutes","reduce","acc","cur","page","compiledRegex","RegExp","namedRegex","apiRoutesList","Object","values","activeRequests","pageRoutes","map","route","workingRegex","handler","request","urlString","url","URL","headers","get","pathname","search","process","NODE_ENV","startsWith","handleAPI","apiRoute","find","route2","regex","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","isClientRequestingNewRoute","endsWith","originalUrl","finalUrl","origin","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","value","Headers","set","loaderResponse","getLoaderParams","Response","return","console","error","routes","handleSSR","promise","reject","resolve","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route1","ssrResponse"],"sources":["../../src/createHandleRequest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,qBAAA,QAA6B;AAEtC,SAASC,UAAA,QAAkB;AAC3B,SAASC,oBAAA,QAA4B;AACrC,SAASC,WAAA,QAAmB;AAYrB,SAASC,oBACdC,OAAA,EACAC,QAAA,EAKA;EACA,IAAIC,MAAA,CAAAC,IAAA,CAAYC,GAAA,EACd,MAAM,IAAIC,KAAA,CAAM,mDAAmD;EAGrE,IAAAC,QAAM,GAAAR,WAAW;EACjB,IAAI,CAACQ,QAAA,EACH,MAAM,IAAID,KAAA,CAAM,oBAAoB;EAGtC,IAAAE,YAAM,GAAAD,QACJ,CAAAE,SAAS,CAAAC,MAAU,WAAaC,GAAA,EAAAC,GAC9B;MAaF,OAAGD,GAAA,CAAAC,GAAA,CAAAC,IAAA;QACH,GAAAD,GAAA;QACAE,aAAA,MAAAC,MAAA,CAAAH,GAAA,CAAAI,UAAA;MAEF,GAAAL,GAAO;IAAA,GACL;IAAAM,aAAA,GAAAC,MAAA,CAAAC,MAAA,CAAAX,YAAA;IAAAY,cAAA;IAAAC,UAAA,GAAAd,QAAA,CAAAc,UAAA,C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;AAChE,MAAMiB,QAAQ,IAAIzB,OAAOQ,MAAMP,UAAU,GACnCoD,QAAQ5B,MAAM6B,KAAKrC,QAAAA;AACzB,SAAKoC,QACElD,OAAO0D,YACZ1D,OAAOqD,QAAQhD,MAAMoD,SAAS,EAAErD,IAAI,SAAA,OAAA;QAAC,CAACkD,KAAKC,KAAAA,IAAM,OAAaL;WAAR;MAACK;OAAOL,gBAAAA,MAAME,YAAM,QAAZF,kBAAAA,SAAAA,SAAAA,cAAeI,GAAAA;;QAF5D,CAAC;AAItB;",
5
+ "names": ["getPathFromLoaderPath", "isResponse", "promiseWithResolvers", "getManifest", "createHandleRequest", "options", "handlers", "env", "Error", "manifest", "apiRoutesMap", "apiRoutes", "reduce", "acc", "cur", "page", "compiledRegex", "RegExp", "namedRegex", "apiRoutesList", "Object", "values", "activeRequests", "pageRoutes", "map", "route", "workingRegex", "handler", "request", "urlString", "url", "URL", "headers", "get", "pathname", "search", "process", "NODE_ENV", "startsWith", "handleAPI", "apiRoute", "find", "regex", "test", "params", "getRouteParams", "loaderProps", "path", "err", "method", "handleLoader", "isClientRequestingNewRoute", "endsWith", "originalUrl", "finalUrl", "origin", "Headers", "set", "loaderResponse", "getLoaderParams", "Response", "console", "error", "routes", "handleSSR", "promise", "reject", "resolve", "ssrResponse", "config", "match", "exec", "groups", "entries", "key", "value", "namedKey", "routeKeys", "fromEntries"]
6
+ }
@@ -1,26 +1,26 @@
1
- import { useActiveParams, useParams } from "./hooks.native.js";
1
+ import { useActiveParams, useParams } from "./hooks";
2
2
  function createRoute() {
3
3
  return {
4
- useParams: function () {
4
+ useParams: function() {
5
5
  return useParams();
6
6
  },
7
- useActiveParams: function () {
7
+ useActiveParams: function() {
8
8
  return useActiveParams();
9
9
  },
10
- createLoader: function (a) {
10
+ createLoader: function(a) {
11
11
  return a;
12
12
  }
13
13
  };
14
14
  }
15
- var defaults = createRoute(),
16
- getProxy = function () {
17
- return new Proxy({}, {
18
- get(target, key) {
19
- return Reflect.has(defaults, key) ? Reflect.get(defaults, key) : getProxy();
20
- }
21
- });
22
- },
23
- postIdRoute = createRoute(),
24
- route = getProxy();
25
- export { createRoute, route };
26
- //# sourceMappingURL=createRoute.native.js.map
15
+ var defaults = createRoute(), getProxy = function() {
16
+ return new Proxy({}, {
17
+ get(target, key) {
18
+ return Reflect.has(defaults, key) ? Reflect.get(defaults, key) : getProxy();
19
+ }
20
+ });
21
+ }, postIdRoute = createRoute(), route = getProxy();
22
+ export {
23
+ createRoute,
24
+ route
25
+ };
26
+ //# sourceMappingURL=createRoute.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["useActiveParams","useParams","createRoute","createLoader","a","defaults","getProxy","Proxy"],"sources":["../../src/createRoute.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,eAAA,EAAiBC,SAAA,QAA8B;AAGjD,SAASC,YAAA,EAAoB;EAIlC,OAAO;IACLD,SAAA,EAAW,SAAAA,CAAA,EAAM;MACjB,OAAAA,SAAiB;IACjB;IACFD,eAAA,WAAAA,CAAA;MACF,OAAAA,eAAA;IAEA;IAIKG,YAAA,WAAAA,CAAAC,CAAA;MACD,OAAAA,CAAA;IACE;EACE;AAIgB;AAClB,IACFC,QAAA,GAAAH,WAAA;EAAAI,QAAA,YAAAA,CAAA;IACF,OAEI,IAAAC,KAAc","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/one/packages/one/src/createRoute.ts"],
4
+ "mappings": "AAAA,SAASA,iBAAiBC,iBAA8B;AAGjD,SAASC,cAAAA;AAId,SAAO;IACLD,WAAW,WAAA;aAAMA,UAAAA;;IACjBD,iBAAiB,WAAA;aAAMA,gBAAAA;;IACvBG,cAAc,SAACC,GAAAA;aAAuBA;;EACxC;AACF;AAEA,IAAMC,WAAWH,YAAAA,GAEXI,WAAW,WAAA;SACf,IAAIC,MACF,CAAC,GACD;IACEC,IAAIC,QAAQC,KAAG;AACb,aAAIC,QAAQC,IAAIP,UAAUK,GAAAA,IACjBC,QAAQH,IAAIH,UAAUK,GAAAA,IAGxBJ,SAAAA;IACT;EACF,CAAA;GAGEO,cAAcX,YAAAA,GAEPY,QAAQR,SAAAA;",
5
+ "names": ["useActiveParams", "useParams", "createRoute", "createLoader", "a", "defaults", "getProxy", "Proxy", "get", "target", "key", "Reflect", "has", "postIdRoute", "route"]
6
+ }
@@ -23,7 +23,7 @@ function getNavOptions() {
23
23
  };
24
24
  }
25
25
  function Sitemap() {
26
- return /* @__PURE__ */_jsx(Text, {
26
+ return /* @__PURE__ */ _jsx(Text, {
27
27
  children: "sitemap!!!!!!!!!"
28
28
  });
29
29
  }
@@ -73,5 +73,8 @@ var styles = StyleSheet.create({
73
73
  resizeMode: "contain"
74
74
  }
75
75
  });
76
- export { Sitemap, getNavOptions };
77
- //# sourceMappingURL=Sitemap.native.js.map
76
+ export {
77
+ Sitemap,
78
+ getNavOptions
79
+ };
80
+ //# sourceMappingURL=Sitemap.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["jsx","_jsx","StyleSheet","Text","INDENT","getNavOptions","title","headerShown","presentation","animation","headerLargeTitle","headerTitleStyle","color","headerTintColor","headerLargeTitleStyle","headerStyle","backgroundColor","borderBottomColor","Sitemap","children","styles","create","container","flex","alignItems","main","marginHorizontal","scroll","paddingHorizontal","itemContainer","borderWidth","borderColor","borderRadius","marginBottom","overflow","itemPressable","paddingVertical","flexDirection","justifyContent","filename"],"sources":["../../../src/fallbackViews/Sitemap.tsx"],"sourcesContent":[null],"mappings":"AACA,SAA2BA,GAAA,IAAAC,IAAA,QAAY,mBAAkB;AAoChD,SAAAC,UAAA,EAAAC,IAAA;AAzBT,IAAAC,MAAM,KAAS;AAER,SAASC,cAAA,EAA8C;EAC5D,OAAO;IACLC,KAAA,EAAO;IACPC,WAAA,EAAa;IACbC,YAAA,EAAc;IACdC,SAAA,EAAW;IACXC,gBAAA,EAAkB;IAClBC,gBAAA,EAAkB;MAChBC,KAAA,EAAO;IACT;IACAC,eAAA,EAAiB;IACjBC,qBAAA,EAAuB;MACrBF,KAAA,EAAO;IACT;IACAG,WAAA,EAAa;MACXC,eAAA,EAAiB;MAAA;MAEjBC,iBAAA,EAAmB;IACrB;EACF;AACF;AAEO,SAASC,QAAA,EAAU;EACxB,OAAO,eAAAjB,IAAC,CAAAE,IAAA;IA4JVgB,QAAA;EAcA;AAAiC;AACpB,IACTC,MAAA,GAAAlB,UAAiB,CAAAmB,MAAA;EAAAC,SACX;IACNN,eAAY;IACdO,IAAA;IACAC,UAAM;EAAA;EACcC,IAClB;IAEAC,gBAAY;IACdH,IAAA;IACAC,UAAQ;EAAA;EACaG,MAAA;IAAAC,iBAAA;IAGnB;IACF;IACAJ,UAAA;EAAe;EACAK,aACb,EAAa;IACbC,WAAA,GAAc;IACdC,WAAA,WAAc;IACdC,YAAU;IACZC,YAAA;IACAC,QAAA;EAAe;EACMC,aACnB;IACAP,iBAAe,EAAAxB,MAAA;IACfgC,eAAA,EAAgB;IAChBC,aAAY;IACdC,cAAA;IACAd,UAAY;EACZ;EACAe,QAAO,EAAE;IACV3B,KAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/fallbackViews/Users/n8/one/packages/one/src/fallbackViews/Sitemap.tsx"],
4
+ "mappings": ";AACA,SAA2BA,YAAYC,YAAkB;AAWzD,IAAMC,SAAS;AAER,SAASC,gBAAAA;AACd,SAAO;IACLC,OAAO;IACPC,aAAa;IACbC,cAAc;IACdC,WAAW;IACXC,kBAAkB;IAClBC,kBAAkB;MAChBC,OAAO;IACT;IACAC,iBAAiB;IACjBC,uBAAuB;MACrBF,OAAO;IACT;IACAG,aAAa;MACXC,iBAAiB;;MAEjBC,mBAAmB;IACrB;EACF;AACF;AAEO,SAASC,UAAAA;AACd,SAAO,qBAACf,MAAAA;cAAK;;AA4Jf;AAcA,IAAMgB,SAASjB,WAAWkB,OAAO;EAC/BC,WAAW;IACTL,iBAAiB;IACjBM,MAAM;IACNC,YAAY;EACd;EACAC,MAAM;IACJC,kBAAkB;IAClBH,MAAM;IAENC,YAAY;EACd;EACAG,QAAQ;IACNC,mBAAmB;;;IAGnBJ,YAAY;EACd;EACAK,eAAe;IACbC,aAAa;IACbC,aAAa;IACbC,cAAc;IACdC,cAAc;IACdC,UAAU;EACZ;EACAC,eAAe;IACbP,mBAAmBvB;IACnB+B,iBAAiB;IACjBC,eAAe;IACfC,gBAAgB;IAChBd,YAAY;EACd;EACAe,UAAU;IAAE1B,OAAO;IAAS2B,UAAU;IAAIC,YAAY;EAAG;EACzDC,SAAS;IAAEC,WAAW;IAAS9B,OAAO;EAAQ;EAC9C+B,OAAO;IAAEC,OAAO;IAAIC,QAAQ;IAAIC,YAAY;EAAU;AACxD,CAAA;",
5
+ "names": ["StyleSheet", "Text", "INDENT", "getNavOptions", "title", "headerShown", "presentation", "animation", "headerLargeTitle", "headerTitleStyle", "color", "headerTintColor", "headerLargeTitleStyle", "headerStyle", "backgroundColor", "borderBottomColor", "Sitemap", "styles", "create", "container", "flex", "alignItems", "main", "marginHorizontal", "scroll", "paddingHorizontal", "itemContainer", "borderWidth", "borderColor", "borderRadius", "marginBottom", "overflow", "itemPressable", "paddingVertical", "flexDirection", "justifyContent", "filename", "fontSize", "marginLeft", "virtual", "textAlign", "image", "width", "height", "resizeMode"]
6
+ }
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { StyleSheet, Text } from "react-native";
4
4
  function Unmatched() {
5
- return /* @__PURE__ */_jsx(Text, {
5
+ return /* @__PURE__ */ _jsx(Text, {
6
6
  children: "unmmatched!!!!!!!!!"
7
7
  });
8
8
  }
@@ -35,5 +35,7 @@ var styles = StyleSheet.create({
35
35
  textAlign: "center"
36
36
  }
37
37
  });
38
- export { Unmatched };
39
- //# sourceMappingURL=Unmatched.native.js.map
38
+ export {
39
+ Unmatched
40
+ };
41
+ //# sourceMappingURL=Unmatched.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["jsx","_jsx","Fragment","_Fragment","React","StyleSheet","Text","Unmatched","children","styles","create","container","flex","backgroundColor","padding","alignItems","justifyContent","title","color","fontSize","paddingBottom","marginBottom","borderBottomColor","borderBottomWidth","textAlign","fontWeight","subtitle"],"sources":["../../../src/fallbackViews/Unmatched.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAAOA,GAAA,IAAAC,IAAW,EAAAC,QAAA,IAAAC,SAAA;AAClB,OAAAC,KAAS,aAAY;AAYZ,SAAAC,UAAA,EAAAC,IAAA;AAIF,SAASC,UAAA,EAAY;EAC1B,OAAO,eAAAN,IAAC,CAAAK,IAAA;IA4CVE,QAAA;EAEA;AAAiC;AACpB,IACTC,MAAM,GAAAJ,UAAA,CAAAK,MAAA;EAAAC,SACN;IACAC,IAAA;IACAC,eAAY;IACZC,OAAA;IACFC,UAAA;IACAC,cAAO;EAAA;EACEC,KACP;IACAC,KAAA;IACAC,QAAA;IACAC,aAAA;IACAC,YAAA;IACAC,iBAAW;IACXC,iBAAY;IACdC,SAAA;IACAC,UAAU;EAAA;EACDC,QACP;IACAR,KAAA,SAAc;IACdC,QAAA,IAAW;IACbE,YAAA;IACAG,SAAQ;EACT","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/fallbackViews/Users/n8/one/packages/one/src/fallbackViews/Unmatched.tsx"],
4
+ "mappings": ";AAAA,OAAOA,WAAW;AAClB,SAASC,YAAYC,YAAY;AAgB1B,SAASC,YAAAA;AACd,SAAO,qBAACC,MAAAA;cAAK;;AA4Cf;AAEA,IAAMC,SAASC,WAAWC,OAAO;EAC/BC,WAAW;IACTC,MAAM;IACNC,iBAAiB;IACjBC,SAAS;IACTC,YAAY;IACZC,gBAAgB;EAClB;EACAC,OAAO;IACLC,OAAO;IACPC,UAAU;IACVC,eAAe;IACfC,cAAc;IACdC,mBAAmB;IACnBC,mBAAmB;IACnBC,WAAW;IACXC,YAAY;EACd;EACAC,UAAU;IACRR,OAAO;IACPC,UAAU;IACVE,cAAc;IACdG,WAAW;EACb;EACAG,MAAM;IAAET,OAAO;IAAyBM,WAAW;EAAS;AAC9D,CAAA;",
5
+ "names": ["React", "StyleSheet", "Text", "Unmatched", "Text", "styles", "StyleSheet", "create", "container", "flex", "backgroundColor", "padding", "alignItems", "justifyContent", "title", "color", "fontSize", "paddingBottom", "marginBottom", "borderBottomColor", "borderBottomWidth", "textAlign", "fontWeight", "subtitle", "link"]
6
+ }
@@ -4,30 +4,20 @@ import { DefaultTheme, LinkingContext, ThemeProvider } from "@react-navigation/n
4
4
  import useDocumentTitle from "@react-navigation/native/lib/module/useDocumentTitle.native.js";
5
5
  import useThenable from "@react-navigation/native/lib/module/useThenable.js";
6
6
  import * as React from "react";
7
- import useLinking from "./useLinking.native.js";
8
- global.REACT_NAVIGATION_DEVTOOLS = /* @__PURE__ */new WeakMap();
7
+ import useLinking from "./useLinking";
8
+ global.REACT_NAVIGATION_DEVTOOLS = /* @__PURE__ */ new WeakMap();
9
9
  function NavigationContainerInner(param, ref) {
10
- var {
11
- theme = DefaultTheme,
12
- linking,
13
- fallback = null,
14
- documentTitle,
15
- onReady,
16
- ...rest
17
- } = param,
18
- isLinkingEnabled = linking ? linking.enabled !== !1 : !1;
10
+ var { theme = DefaultTheme, linking, fallback = null, documentTitle, onReady, ...rest } = param, isLinkingEnabled = linking ? linking.enabled !== !1 : !1;
19
11
  linking?.config && validatePathConfig(linking.config);
20
12
  var refContainer = React.useRef(null);
21
13
  useDocumentTitle(refContainer, documentTitle);
22
- var {
23
- getInitialState
24
- } = useLinking(refContainer, {
14
+ var { getInitialState } = useLinking(refContainer, {
25
15
  // independent: rest.independent,
26
16
  enabled: isLinkingEnabled,
27
17
  prefixes: [],
28
18
  ...linking
29
19
  });
30
- React.useEffect(function () {
20
+ React.useEffect(function() {
31
21
  refContainer.current && global.REACT_NAVIGATION_DEVTOOLS.set(refContainer.current, {
32
22
  get linking() {
33
23
  var _linking_prefixes, _linking_getStateFromPath, _linking_getPathFromState, _linking_getActionFromState;
@@ -43,28 +33,30 @@ function NavigationContainerInner(param, ref) {
43
33
  });
44
34
  });
45
35
  var [isResolved, initialState] = useThenable(getInitialState);
46
- React.useImperativeHandle(ref, function () {
36
+ React.useImperativeHandle(ref, function() {
47
37
  return refContainer.current;
48
38
  });
49
- var linkingContext = React.useMemo(function () {
50
- return {
51
- options: linking
52
- };
53
- }, [linking]),
54
- isReady = rest.initialState != null || !isLinkingEnabled || isResolved,
55
- onReadyRef = React.useRef(onReady);
56
- return React.useEffect(function () {
39
+ var linkingContext = React.useMemo(function() {
40
+ return {
41
+ options: linking
42
+ };
43
+ }, [
44
+ linking
45
+ ]), isReady = rest.initialState != null || !isLinkingEnabled || isResolved, onReadyRef = React.useRef(onReady);
46
+ return React.useEffect(function() {
57
47
  onReadyRef.current = onReady;
58
- }), React.useEffect(function () {
48
+ }), React.useEffect(function() {
59
49
  if (isReady) {
60
50
  var _onReadyRef_current;
61
51
  (_onReadyRef_current = onReadyRef.current) === null || _onReadyRef_current === void 0 || _onReadyRef_current.call(onReadyRef);
62
52
  }
63
- }, [isReady]), isReady ? /* @__PURE__ */_jsx(LinkingContext.Provider, {
53
+ }, [
54
+ isReady
55
+ ]), isReady ? /* @__PURE__ */ _jsx(LinkingContext.Provider, {
64
56
  value: linkingContext,
65
- children: /* @__PURE__ */_jsx(ThemeProvider, {
57
+ children: /* @__PURE__ */ _jsx(ThemeProvider, {
66
58
  value: theme,
67
- children: /* @__PURE__ */_jsx(BaseNavigationContainer, {
59
+ children: /* @__PURE__ */ _jsx(BaseNavigationContainer, {
68
60
  ...rest,
69
61
  initialState: rest.initialState == null ? initialState : rest.initialState,
70
62
  ref: refContainer
@@ -72,7 +64,8 @@ function NavigationContainerInner(param, ref) {
72
64
  })
73
65
  }) : fallback;
74
66
  }
75
- var NavigationContainer = /* @__PURE__ */React.forwardRef(NavigationContainerInner),
76
- NavigationContainer_native_default = NavigationContainer;
77
- export { NavigationContainer_native_default as default };
67
+ var NavigationContainer = /* @__PURE__ */ React.forwardRef(NavigationContainerInner), NavigationContainer_native_default = NavigationContainer;
68
+ export {
69
+ NavigationContainer_native_default as default
70
+ };
78
71
  //# sourceMappingURL=NavigationContainer.native.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["BaseNavigationContainer","getActionFromState","getPathFromState","getStateFromPath","validatePathConfig","DefaultTheme","LinkingContext","ThemeProvider","useDocumentTitle","useThenable","React","useLinking","global","REACT_NAVIGATION_DEVTOOLS","WeakMap","NavigationContainerInner","param","ref","theme","linking","fallback","documentTitle","onReady","rest","isLinkingEnabled","enabled","config","refContainer","useRef","getInitialState","prefixes","useEffect","current","set","_linking_prefixes","_linking_getStateFromPath","_linking_getPathFromState","_linking_getActionFromState","isResolved","initialState","useImperativeHandle","linkingContext","useMemo","options","isReady","onReadyRef","_onReadyRef_current","call","_jsx","Provider","value","NavigationContainer","forwardRef","NavigationContainer_native_default"],"sources":["../../../src/fork/Users/n8/one/packages/one/src/fork/NavigationContainer.native.tsx"],"sourcesContent":[null],"mappings":";AAEA,SACEA,uBAAA,EAIAC,kBAAA,EACAC,gBAAA,EACAC,gBAAA,EACAC,kBAAA,QACK;AACP,SACEC,YAAA,EAEAC,cAAA,EAGAC,aAAA,QACK;AAEP,OAAOC,gBAAA,MAAsB;AAC7B,OAAOC,WAAA,MAAiB;AACxB,YAAYC,KAAA,MAAW;AAEvB,OAAOC,UAAA,MAAgB;AAEvBC,MAAA,CAAOC,yBAAA,GAA4B,mBAAIC,OAAA;AAwBvC,SAASC,yBACPC,KAAA,EAQAC,GAAA,EAA6D;MAR7D;MACEC,KAAA,GAAQb,YAAA;MACRc,OAAA;MACAC,QAAA,GAAW;MACXC,aAAA;MACAC,OAAA;MACA,GAAGC;IAAA,IANLP,KAAA;IAUMQ,gBAAA,GAAmBL,OAAA,GAAUA,OAAA,CAAQM,OAAA,KAAY,KAAQ;EAE3DN,OAAA,EAASO,MAAA,IACXtB,kBAAA,CAAmBe,OAAA,CAAQO,MAAM;EAGn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;EACvB,CAAA,GAEAX,MAAMoB,UAAU,WAAA;AACd,QAAIS,SAAS;UACXC;OAAAA,sBAAAA,WAAWT,aAAO,QAAlBS,wBAAAA,UAAAA,oBAAAA,KAAAA,UAAAA;IACF;EACF,GAAG;IAACD;GAAQ,GAEPA,UAOH,qBAACjC,eAAemC,UAAQ;IAACC,OAAON;cAC9B,qBAAC7B,eAAAA;MAAcmC,OAAOzB;gBACpB,qBAACjB,yBAAAA;QACE,GAAGsB;QACJY,cAAcZ,KAAKY,gBAAgB,OAAOA,eAAeZ,KAAKY;QAC9DlB,KAAKU;;;OATJP;AAcX;AAEA,IAAMwB,sBAAsBjC,sBAAMkC,WAAW7B,wBAAAA,GAQ7C,qCAAe4B;",
5
+ "names": ["BaseNavigationContainer", "getActionFromState", "getPathFromState", "getStateFromPath", "validatePathConfig", "DefaultTheme", "LinkingContext", "ThemeProvider", "useDocumentTitle", "useThenable", "React", "useLinking", "global", "REACT_NAVIGATION_DEVTOOLS", "WeakMap", "NavigationContainerInner", "ref", "theme", "linking", "fallback", "documentTitle", "onReady", "rest", "isLinkingEnabled", "enabled", "config", "refContainer", "useRef", "getInitialState", "prefixes", "useEffect", "current", "set", "isResolved", "initialState", "useImperativeHandle", "linkingContext", "useMemo", "options", "isReady", "onReadyRef", "Provider", "value", "NavigationContainer", "forwardRef"]
6
+ }
@@ -1,135 +1,119 @@
1
1
  import { nanoid } from "nanoid/non-secure";
2
2
  function createMemoryHistory() {
3
- var index = 0,
4
- items = [],
5
- pending = [],
6
- interrupt = function () {
7
- pending.forEach(function (it) {
8
- var cb = it.cb;
9
- it.cb = function () {
10
- return cb(!0);
11
- };
12
- });
13
- },
14
- history = {
15
- get index() {
16
- var _window_history_state,
17
- id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id;
18
- if (id) {
19
- var index1 = items.findIndex(function (item) {
20
- return item.id === id;
21
- });
22
- return index1 > -1 ? index1 : 0;
23
- }
24
- return 0;
25
- },
26
- get(index2) {
27
- return items[index2];
28
- },
29
- backIndex(param) {
30
- for (var {
31
- path
32
- } = param, i = index - 1; i >= 0; i--) {
33
- var item = items[i];
34
- if (item.path === path) return i;
35
- }
36
- return -1;
37
- },
38
- push(param) {
39
- var {
40
- path,
41
- state
42
- } = param;
43
- interrupt();
44
- var id = nanoid();
45
- items = items.slice(0, index + 1), items.push({
46
- path,
47
- state,
48
- id
49
- }), index = items.length - 1, window.history.pushState({
50
- id
51
- }, "", path);
52
- },
53
- replace(param) {
54
- var {
55
- path,
56
- state
57
- } = param,
58
- _window_history_state;
59
- interrupt();
60
- var _window_history_state_id,
61
- id = (_window_history_state_id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id) !== null && _window_history_state_id !== void 0 ? _window_history_state_id : nanoid(),
62
- pathWithHash = path;
63
- !items.length || items.findIndex(function (item) {
3
+ var index = 0, items = [], pending = [], interrupt = function() {
4
+ pending.forEach(function(it) {
5
+ var cb = it.cb;
6
+ it.cb = function() {
7
+ return cb(!0);
8
+ };
9
+ });
10
+ }, history = {
11
+ get index() {
12
+ var _window_history_state, id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id;
13
+ if (id) {
14
+ var index1 = items.findIndex(function(item) {
64
15
  return item.id === id;
65
- }) < 0 ? (pathWithHash = pathWithHash + location.hash, items = [{
16
+ });
17
+ return index1 > -1 ? index1 : 0;
18
+ }
19
+ return 0;
20
+ },
21
+ get(index2) {
22
+ return items[index2];
23
+ },
24
+ backIndex(param) {
25
+ for (var { path } = param, i = index - 1; i >= 0; i--) {
26
+ var item = items[i];
27
+ if (item.path === path)
28
+ return i;
29
+ }
30
+ return -1;
31
+ },
32
+ push(param) {
33
+ var { path, state } = param;
34
+ interrupt();
35
+ var id = nanoid();
36
+ items = items.slice(0, index + 1), items.push({
37
+ path,
38
+ state,
39
+ id
40
+ }), index = items.length - 1, window.history.pushState({
41
+ id
42
+ }, "", path);
43
+ },
44
+ replace(param) {
45
+ var { path, state } = param, _window_history_state;
46
+ interrupt();
47
+ var _window_history_state_id, id = (_window_history_state_id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id) !== null && _window_history_state_id !== void 0 ? _window_history_state_id : nanoid(), pathWithHash = path;
48
+ !items.length || items.findIndex(function(item) {
49
+ return item.id === id;
50
+ }) < 0 ? (pathWithHash = pathWithHash + location.hash, items = [
51
+ {
66
52
  path: pathWithHash,
67
53
  state,
68
54
  id
69
- }], index = 0) : (items[index].path === path && (pathWithHash = pathWithHash + location.hash), items[index] = {
70
- path,
71
- state,
72
- id
73
- }), window.history.replaceState({
74
- id
75
- }, "", pathWithHash);
76
- },
77
- // `history.go(n)` is asynchronous, there are couple of things to keep in mind:
78
- // - it won't do anything if we can't go `n` steps, the `popstate` event won't fire.
79
- // - each `history.go(n)` call will trigger a separate `popstate` event with correct location.
80
- // - the `popstate` event fires before the next frame after calling `history.go(n)`.
81
- // This method differs from `history.go(n)` in the sense that it'll go back as many steps it can.
82
- go(n) {
83
- interrupt();
84
- var nextIndex = index + n,
85
- lastItemIndex = items.length - 1;
86
- if (n < 0 && !items[nextIndex] ? (n = -index, index = 0) : n > 0 && nextIndex > lastItemIndex ? (n = lastItemIndex - index, index = lastItemIndex) : index = nextIndex, n !== 0) return new Promise(function (resolve, reject) {
87
- var done = function (interrupted) {
55
+ }
56
+ ], index = 0) : (items[index].path === path && (pathWithHash = pathWithHash + location.hash), items[index] = {
57
+ path,
58
+ state,
59
+ id
60
+ }), window.history.replaceState({
61
+ id
62
+ }, "", pathWithHash);
63
+ },
64
+ // `history.go(n)` is asynchronous, there are couple of things to keep in mind:
65
+ // - it won't do anything if we can't go `n` steps, the `popstate` event won't fire.
66
+ // - each `history.go(n)` call will trigger a separate `popstate` event with correct location.
67
+ // - the `popstate` event fires before the next frame after calling `history.go(n)`.
68
+ // This method differs from `history.go(n)` in the sense that it'll go back as many steps it can.
69
+ go(n) {
70
+ interrupt();
71
+ var nextIndex = index + n, lastItemIndex = items.length - 1;
72
+ if (n < 0 && !items[nextIndex] ? (n = -index, index = 0) : n > 0 && nextIndex > lastItemIndex ? (n = lastItemIndex - index, index = lastItemIndex) : index = nextIndex, n !== 0)
73
+ return new Promise(function(resolve, reject) {
74
+ var done = function(interrupted) {
88
75
  if (clearTimeout(timer), interrupted) {
89
76
  reject(new Error("History was changed during navigation."));
90
77
  return;
91
78
  }
92
- var {
93
- title
94
- } = window.document;
79
+ var { title } = window.document;
95
80
  window.document.title = "", window.document.title = title, resolve();
96
81
  };
97
82
  pending.push({
98
83
  ref: done,
99
84
  cb: done
100
85
  });
101
- var timer = setTimeout(function () {
102
- var index2 = pending.findIndex(function (it) {
103
- return it.ref === done;
104
- });
105
- index2 > -1 && (pending[index2].cb(), pending.splice(index2, 1));
106
- }, 100),
107
- onPopState = function () {
108
- var _window_history_state,
109
- id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id,
110
- currentIndex = items.findIndex(function (item) {
111
- return item.id === id;
112
- });
113
- index = Math.max(currentIndex, 0);
114
- var last = pending.pop();
115
- window.removeEventListener("popstate", onPopState), last?.cb();
116
- };
86
+ var timer = setTimeout(function() {
87
+ var index2 = pending.findIndex(function(it) {
88
+ return it.ref === done;
89
+ });
90
+ index2 > -1 && (pending[index2].cb(), pending.splice(index2, 1));
91
+ }, 100), onPopState = function() {
92
+ var _window_history_state, id = (_window_history_state = window.history.state) === null || _window_history_state === void 0 ? void 0 : _window_history_state.id, currentIndex = items.findIndex(function(item) {
93
+ return item.id === id;
94
+ });
95
+ index = Math.max(currentIndex, 0);
96
+ var last = pending.pop();
97
+ window.removeEventListener("popstate", onPopState), last?.cb();
98
+ };
117
99
  window.addEventListener("popstate", onPopState), window.history.go(n);
118
100
  });
119
- },
120
- // The `popstate` event is triggered when history changes, except `pushState` and `replaceState`
121
- // If we call `history.go(n)` ourselves, we don't want it to trigger the listener
122
- // Here we normalize it so that only external changes (e.g. user pressing back/forward) trigger the listener
123
- listen(listener) {
124
- var onPopState = function () {
125
- pending.length || listener();
126
- };
127
- return window.addEventListener("popstate", onPopState), function () {
128
- return window.removeEventListener("popstate", onPopState);
129
- };
130
- }
131
- };
101
+ },
102
+ // The `popstate` event is triggered when history changes, except `pushState` and `replaceState`
103
+ // If we call `history.go(n)` ourselves, we don't want it to trigger the listener
104
+ // Here we normalize it so that only external changes (e.g. user pressing back/forward) trigger the listener
105
+ listen(listener) {
106
+ var onPopState = function() {
107
+ pending.length || listener();
108
+ };
109
+ return window.addEventListener("popstate", onPopState), function() {
110
+ return window.removeEventListener("popstate", onPopState);
111
+ };
112
+ }
113
+ };
132
114
  return history;
133
115
  }
134
- export { createMemoryHistory as default };
135
- //# sourceMappingURL=createMemoryHistory.native.js.map
116
+ export {
117
+ createMemoryHistory as default
118
+ };
119
+ //# sourceMappingURL=createMemoryHistory.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["nanoid","createMemoryHistory","index","items","pending","interrupt","forEach","it","cb","history","_window_history_state","id","window","state","index1","findIndex","item","get","index2","backIndex","param","path","i","push","slice","length","pushState","replace","_window_history_state_id","pathWithHash","location","hash","replaceState","go","n","nextIndex","lastItemIndex","Promise","resolve","reject","done","interrupted","clearTimeout","timer","Error","title","document"],"sources":["../../../src/fork/createMemoryHistory.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAeR,SAARC,oBAAA,EAAuC;EAC5C,IAAIC,KAAA,GAAQ;IACRC,KAAA,GAAyB,EAAC;IAAAC,OAAA;IAAAC,SAAA,YAAAA,CAAA;MAI9BD,OAAM,CAAAE,OAAoE,WAEpEC,EAAA;QAIJ,IAAAC,EAAQ,GAAAD,EAAA,CAAAC,EAAQ;QACdD,EAAA,CAAAC,EAAA,GAAM,YAAQ;UACd,OAAQA,EAAA,GAAM;QACf;MACH;IAwMA;IAAAC,OAtMgB;MACd,IAAIP,MAAA,EAAgB;QAGlB,IAAAQ,qBAAkB;UAAQC,EAAA,I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AO+B,SAASD,QAAQA,OAExBP,QAAAA;UACF;AAEA7B,kBAAQe,KAAK;YAAEuB,KAAKP;YAAM3B,IAAI2B;UAAK,CAAA;AAOnC,cAAMG,QAAQK,WAAW,WAAA;AACvB,gBAAMzC,SAAQE,QAAQS,UAAU,SAACN,IAAAA;qBAAOA,GAAGmC,QAAQP;;AAEnD,YAAIjC,SAAQ,OACVE,QAAQF,MAAAA,EAAOM,GAAE,GACjBJ,QAAQwC,OAAO1C,QAAO,CAAA;UAE1B,GAAG,GAAA,GAEG2C,aAAa,WAAA;gBACNnC,uBAALC,MAAKD,wBAAAA,OAAOD,QAAQG,WAAK,QAApBF,0BAAAA,SAAAA,SAAAA,sBAAsBC,IAC3BmC,eAAe3C,MAAMU,UAAU,SAACC,MAAAA;qBAASA,KAAKH,OAAOA;;AAI3DT,oBAAQ6C,KAAKC,IAAIF,cAAc,CAAA;AAE/B,gBAAMG,OAAO7C,QAAQ8C,IAAG;AAExBxC,mBAAOyC,oBAAoB,YAAYN,UAAAA,GACvCI,MAAMzC,GAAE;UACV;AAEAE,iBAAO0C,iBAAiB,YAAYP,UAAAA,GACpCnC,OAAOD,QAAQmB,GAAGC,CAAAA;QACpB,CAAA;IACF;;;;IAKAwB,OAAOC,UAAoB;AACzB,UAAMT,aAAa,WAAA;AACjB,QAAIzC,QAAQiB,UAKZiC,SAAAA;MACF;AAEA5C,oBAAO0C,iBAAiB,YAAYP,UAAAA,GAE7B,WAAA;eAAMnC,OAAOyC,oBAAoB,YAAYN,UAAAA;;IACtD;EACF;AAEA,SAAOpC;AACT;",
5
+ "names": ["nanoid", "createMemoryHistory", "index", "items", "pending", "interrupt", "forEach", "it", "cb", "history", "window", "id", "state", "findIndex", "item", "get", "backIndex", "path", "i", "push", "slice", "length", "pushState", "replace", "pathWithHash", "location", "hash", "replaceState", "go", "n", "nextIndex", "lastItemIndex", "Promise", "resolve", "reject", "done", "interrupted", "clearTimeout", "timer", "Error", "title", "document", "ref", "setTimeout", "splice", "onPopState", "currentIndex", "Math", "max", "last", "pop", "removeEventListener", "addEventListener", "listen", "listener"]
6
+ }
@@ -1,13 +1,11 @@
1
1
  import URL from "url-parse";
2
2
  function extractExactPathFromURL(url) {
3
3
  if (
4
- // If a universal link / app link / web URL is used, we should use the path
5
- // from the URL, while stripping the origin.
6
- url.match(/^https?:\/\//)) {
7
- var {
8
- origin,
9
- href
10
- } = new URL(url);
4
+ // If a universal link / app link / web URL is used, we should use the path
5
+ // from the URL, while stripping the origin.
6
+ url.match(/^https?:\/\//)
7
+ ) {
8
+ var { origin, href } = new URL(url);
11
9
  return href.replace(origin, "");
12
10
  }
13
11
  return fromDeepLink(url);
@@ -18,15 +16,15 @@ function isExpoDevelopmentClient(url) {
18
16
  function fromDeepLink(url) {
19
17
  var res = new URL(url, !0);
20
18
  if (isExpoDevelopmentClient(res)) {
21
- if (!res.query || !res.query.url) return "";
19
+ if (!res.query || !res.query.url)
20
+ return "";
22
21
  var incomingUrl = res.query.url;
23
22
  return extractExactPathFromURL(decodeURI(incomingUrl));
24
23
  }
25
- var qs = res.query ? Object.entries(res.query).map(function (param) {
26
- var [k, v] = param;
27
- return `${k}=${decodeURIComponent(v)}`;
28
- }).join("&") : "",
29
- results = "";
24
+ var qs = res.query ? Object.entries(res.query).map(function(param) {
25
+ var [k, v] = param;
26
+ return `${k}=${decodeURIComponent(v)}`;
27
+ }).join("&") : "", results = "";
30
28
  return res.host && (results += res.host), res.pathname && (results += res.pathname), qs && (results += "?" + qs), results;
31
29
  }
32
30
  function extractExpoPathFromURL() {
@@ -36,5 +34,8 @@ function extractExpoPathFromURL() {
36
34
  function adjustPathname(url) {
37
35
  return url.hostname === "exp.host" || url.hostname === "u.expo.dev" ? url.pathname.split("/").slice(2).join("/") : url.pathname;
38
36
  }
39
- export { adjustPathname, extractExpoPathFromURL };
40
- //# sourceMappingURL=extractPathFromURL.native.js.map
37
+ export {
38
+ adjustPathname,
39
+ extractExpoPathFromURL
40
+ };
41
+ //# sourceMappingURL=extractPathFromURL.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["URL","extractExactPathFromURL","url","match","origin","href","replace","fromDeepLink","isExpoDevelopmentClient","hostname","res","query","incomingUrl","decodeURI","qs","Object","entries","map","param","k","v","decodeURIComponent","join","results","host","pathname","extractExpoPathFromURL","arguments","length"],"sources":["../../../src/fork/extractPathFromURL.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,GAAA,MAAS;AAGhB,SAASC,wBAAwBC,GAAA,EAAqB;EACpD;EAAA;EAAA;EAGEA,GAAA,CAAIC,KAAA,CAAM,cAAc,GACxB;IACA;MAAMC,MAAE;MAAAC;IAAQ,IAAK,IAAIL,GAAI,CAAAE,GAAI;IACjC,OAAOG,IAAA,CAAKC,OAAA,CAAQF,MAAA,EAAQ,EAAE;EAChC;EA4BA,OAAOG,YAAA,CAAaL,GAAG;AACzB;AAGA,SAASM,wBAAwBN,GAAA,EAAuD;EACtF,OAAO,CAAC,CAACA,GAAA,CAAIO,QAAA,CAASN,KAAA,CAAM,2BAA2B;AACzD;AAEA,SAASI,aAAaL,GAAA,EAAqB;EAGzC,IAAAQ,GAAM,OAAMV,GAAI,CAAAE,GAAI,IAAK;EAEzB,IAAIM,uBAAA,CAAwBE,GAAG,GAAG;IAChC,IAAI,CAACA,GAAA,CAAIC,KAAA,IAAS,CAACD,GAAA,CAAIC,KAAA,CAAMT,GAAA,EAC3B,OAAO;IAET,IAAAU,WAAM,GAAAF,GAAc,CAAAC,KAAI,CAAAT,GAAM;IAC9B,OAAOD,uBAAA,CAAwBY,SAAA,CAAUD,WAAW,CAAC;EACvD;EAEA,IAAAE,EAAM,GAAAJ,GAAM,CAAAC,KAAI,GAAAI,MAEZ,CAAAC,OAAO,CAAAN,GAAQ,CAAAC,KAAI,EAA+BM,GAC/C,WAAUC,KAAM;MAGvB,IAAI,CAAAC,CAAA,EAAAC,CAAA,IAAUF,KAAA;MAEd,OAAI,GAAIC,CAAA,IAAAE,kBACS,CAAAD,CAAA;I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BAAmBD,CAAAA,CAAAA;KAC3CE,KAAK,GAAA,IAHR,IAKAC,UAAU;AAEd,SAAIZ,IAAIa,SACND,WAAWZ,IAAIa,OAGbb,IAAIc,aACNF,WAAWZ,IAAIc,WAGbV,OACFQ,WAAW,MAAMR,KAGZQ;AACT;AAEO,SAASG,yBAAAA;MAAuBvB,MAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAM;AAE3C,SAAOD,wBAAwBC,GAAAA,EAAKI,QAAQ,OAAO,EAAA;AACrD;AAEO,SAASoB,eAAexB,KAAmD;AAChF,SAAIA,IAAIO,aAAa,cAAcP,IAAIO,aAAa,eAE3CP,IAAIsB,SAASG,MAAM,GAAA,EAAKC,MAAM,CAAA,EAAGP,KAAK,GAAA,IAExCnB,IAAIsB;AACb;",
5
+ "names": ["URL", "extractExactPathFromURL", "url", "match", "origin", "href", "replace", "fromDeepLink", "isExpoDevelopmentClient", "hostname", "res", "query", "incomingUrl", "decodeURI", "qs", "Object", "entries", "map", "k", "v", "decodeURIComponent", "join", "results", "host", "pathname", "extractExpoPathFromURL", "adjustPathname", "split", "slice"]
6
+ }
@@ -1,11 +1,12 @@
1
1
  function findFocusedRoute(state) {
2
- for (var current = state, _current_index; current?.routes[(_current_index = current.index) !== null && _current_index !== void 0 ? _current_index : 0].state != null;) {
2
+ for (var current = state, _current_index; current?.routes[(_current_index = current.index) !== null && _current_index !== void 0 ? _current_index : 0].state != null; ) {
3
3
  var _current_index1;
4
4
  current = current.routes[(_current_index1 = current.index) !== null && _current_index1 !== void 0 ? _current_index1 : 0].state;
5
5
  }
6
- var _current_index2,
7
- route = current?.routes[(_current_index2 = current?.index) !== null && _current_index2 !== void 0 ? _current_index2 : 0];
6
+ var _current_index2, route = current?.routes[(_current_index2 = current?.index) !== null && _current_index2 !== void 0 ? _current_index2 : 0];
8
7
  return route;
9
8
  }
10
- export { findFocusedRoute };
11
- //# sourceMappingURL=findFocusedRoute.native.js.map
9
+ export {
10
+ findFocusedRoute
11
+ };
12
+ //# sourceMappingURL=findFocusedRoute.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["findFocusedRoute","state","current","_current_index","routes","index","_current_index1","_current_index2","route"],"sources":["../../../src/fork/findFocusedRoute.tsx"],"sourcesContent":[null],"mappings":"AAIO,SAASA,iBAAiBC,KAAA,EAAqB;EACpD,KAAI,IAAAC,OAAoC,GAAAD,KAAA,EAAAE,cAAA,EAAAD,OAAA,EAAAE,MAAA,EAAAD,cAAA,GAAAD,OAAA,CAAAG,KAAA,cAAAF,cAAA,cAAAA,cAAA,MAAAF,KAAA;IAExC,IAAAK,eAAgB;IACdJ,OAAA,GAAUA,OAAA,CAAQE,MAAA,CAAO,CAAAE,eAAQ,GAAUJ,OAAE,CAAAG,KAAA,cAAAC,eAAA,cAAAA,eAAA,MAAAL,KAAA;EAK/C;EACF,IAAAM,eAAA;IAAAC,KAAA,GAAAN,OAAA,EAAAE,MAAA,EAAAG,eAAA,GAAAL,OAAA,EAAAG,KAAA,cAAAE,eAAA,cAAAA,eAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/fork/Users/n8/one/packages/one/src/fork/findFocusedRoute.tsx"],
4
+ "mappings": "AAIO,SAASA,iBAAiBC,OAAmB;AAGlD,WAFIC,UAAoCD,OAEjBC,gBAAhBA,SAASC,QAAOD,iBAAAA,QAAQE,WAAK,QAAbF,mBAAAA,SAAAA,iBAAiB,CAAA,EAAGD,SAAS,QAAM;QAC/BC;AAAzBA,cAAUA,QAAQC,QAAOD,kBAAAA,QAAQE,WAAK,QAAbF,oBAAAA,SAAAA,kBAAiB,CAAA,EAAGD;EAC/C;MAE8BC,iBAAxBG,QAAQH,SAASC,QAAOD,kBAAAA,SAASE,WAAK,QAAdF,oBAAAA,SAAAA,kBAAkB,CAAA;AAEhD,SAAOG;AACT;",
5
+ "names": ["findFocusedRoute", "state", "current", "routes", "index", "route"]
6
+ }