one 1.1.320 → 1.1.322
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/Root.js +182 -0
- package/dist/cjs/Route.js +45 -0
- package/dist/cjs/cleanUrl.js +41 -0
- package/dist/cjs/cli/label-process.js +25 -0
- package/dist/cjs/cli/main.js +46 -0
- package/dist/cjs/cli/patch.js +34 -0
- package/dist/cjs/cli/prebuild.js +34 -0
- package/dist/cjs/cli/run.js +52 -0
- package/dist/cjs/cli/runAndroid.js +34 -0
- package/dist/cjs/cli/runIos.js +34 -0
- package/dist/cjs/cli.js +220 -0
- package/dist/cjs/clientLoaderResolver.js +32 -0
- package/dist/cjs/config.js +27 -0
- package/dist/cjs/constants.js +28 -0
- package/dist/cjs/createApp.js +46 -0
- package/dist/cjs/createHandleRequest.js +138 -0
- package/dist/cjs/createRoute.js +37 -0
- package/dist/cjs/fallbackViews/Sitemap.js +82 -0
- package/dist/cjs/fallbackViews/Unmatched.js +58 -0
- package/dist/cjs/fork/NavigationContainer.js +85 -0
- package/dist/cjs/fork/createMemoryHistory.js +100 -0
- package/dist/cjs/fork/extractPathFromURL.js +62 -0
- package/dist/cjs/fork/findFocusedRoute.js +26 -0
- package/dist/cjs/fork/getPathFromState.js +265 -0
- package/dist/cjs/fork/getStateFromPath.js +381 -0
- package/dist/cjs/fork/useLinking.js +182 -0
- package/dist/cjs/fork/validatePathConfig.js +46 -0
- package/dist/cjs/getLinkingConfig.js +59 -0
- package/dist/cjs/getReactNavigationConfig.js +69 -0
- package/dist/cjs/getRoutes.js +294 -0
- package/dist/cjs/getURL.js +24 -0
- package/dist/cjs/head/Head.js +23 -0
- package/dist/cjs/head/HeadModule.js +22 -0
- package/dist/cjs/head/index.js +15 -0
- package/dist/cjs/head/types.js +14 -0
- package/dist/cjs/head/url.js +52 -0
- package/dist/cjs/hooks.js +99 -0
- package/dist/cjs/imperative-api.js +45 -0
- package/dist/cjs/import-mode/index.js +21 -0
- package/dist/cjs/import-mode/index.web.js +21 -0
- package/dist/cjs/index.js +65 -0
- package/dist/cjs/interfaces/router.js +23 -0
- package/dist/cjs/layouts/Drawer.js +24 -0
- package/dist/cjs/layouts/Stack.js +24 -0
- package/dist/cjs/layouts/Tabs.js +52 -0
- package/dist/cjs/layouts/withLayoutContext.js +77 -0
- package/dist/cjs/link/Link.js +98 -0
- package/dist/cjs/link/Redirect.js +31 -0
- package/dist/cjs/link/href.js +50 -0
- package/dist/cjs/link/linking.js +82 -0
- package/dist/cjs/link/path.js +65 -0
- package/dist/cjs/link/useLinkTo.js +42 -0
- package/dist/cjs/link/useLoadedNavigation.js +50 -0
- package/dist/cjs/matchers.js +68 -0
- package/dist/cjs/platform.js +21 -0
- package/dist/cjs/polyfills-mobile.js +26 -0
- package/dist/cjs/polyfills-server.js +23 -0
- package/dist/cjs/render.js +44 -0
- package/dist/cjs/router/RouterStore.js +14 -0
- package/dist/cjs/router/getNormalizedStatePath.js +50 -0
- package/dist/cjs/router/lastAction.js +25 -0
- package/dist/cjs/router/router.js +345 -0
- package/dist/cjs/router/serverLocationContext.js +22 -0
- package/dist/cjs/router/useInitializeOneRouter.js +43 -0
- package/dist/cjs/serve.js +184 -0
- package/dist/cjs/server/createRoutesManifest.js +40 -0
- package/dist/cjs/server/getServerManifest.js +109 -0
- package/dist/cjs/server-render.js +42 -0
- package/dist/cjs/sortRoutes.js +64 -0
- package/dist/cjs/typed-routes/generateRouteTypes.js +33 -0
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.js +83 -0
- package/dist/cjs/types.js +14 -0
- package/dist/cjs/useFocusEffect.js +79 -0
- package/dist/cjs/useLoader.js +97 -0
- package/dist/cjs/useNavigation.js +60 -0
- package/dist/cjs/useScreens.js +176 -0
- package/dist/cjs/useViteRoutes.js +77 -0
- package/dist/cjs/utils/assertIsReady.js +26 -0
- package/dist/cjs/utils/dynamicImport.js +24 -0
- package/dist/cjs/utils/existsAsync.js +28 -0
- package/dist/cjs/utils/getPageExport.js +38 -0
- package/dist/cjs/utils/globDir.js +37 -0
- package/dist/cjs/utils/hashString.js +32 -0
- package/dist/cjs/utils/isResponse.js +23 -0
- package/dist/cjs/utils/isStatus.js +23 -0
- package/dist/cjs/utils/promiseWithResolvers.js +26 -0
- package/dist/cjs/utils/rand.js +21 -0
- package/dist/cjs/utils/redirect.js +28 -0
- package/dist/cjs/utils/removeSearch.js +23 -0
- package/dist/cjs/utils/removeUndefined.js +26 -0
- package/dist/cjs/utils/url.js +31 -0
- package/dist/cjs/utils/weakKey.js +24 -0
- package/dist/cjs/utils/weakMemo.js +30 -0
- package/dist/cjs/views/EmptyRoute.js +25 -0
- package/dist/cjs/views/ErrorBoundary.js +33 -0
- package/dist/cjs/views/LoadProgressBar.js +83 -0
- package/dist/cjs/views/Navigator.js +101 -0
- package/dist/cjs/views/PreloadLinks.js +42 -0
- package/dist/cjs/views/RootErrorBoundary.js +47 -0
- package/dist/cjs/views/Screen.js +29 -0
- package/dist/cjs/views/ScrollRestoration.js +70 -0
- package/dist/cjs/views/Try.js +44 -0
- package/dist/cjs/vite/build.js +377 -0
- package/dist/cjs/vite/clientTreeShakePlugin.js +76 -0
- package/dist/cjs/vite/constants.js +22 -0
- package/dist/cjs/vite/createFileSystemRouter.cjs +2 -1
- package/dist/cjs/vite/createFileSystemRouter.js +244 -0
- package/dist/cjs/vite/createFileSystemRouter.js.map +6 -0
- package/dist/cjs/vite/createFileSystemRouter.native.js +2 -1
- package/dist/cjs/vite/createFileSystemRouter.native.js.map +2 -2
- package/dist/cjs/vite/customNodeExternals.js +52 -0
- package/dist/cjs/vite/ensureTsConfig.js +66 -0
- package/dist/cjs/vite/findDepsToOptimize.js +66 -0
- package/dist/cjs/vite/fixDependenciesPlugin.js +43 -0
- package/dist/cjs/vite/generateTypesForRoutes.js +36 -0
- package/dist/cjs/vite/getManifest.js +27 -0
- package/dist/cjs/vite/headers.js +39 -0
- package/dist/cjs/vite/makePluginWebOnly.js +27 -0
- package/dist/cjs/vite/one.js +290 -0
- package/dist/cjs/vite/removeReactNativeWebAnimatedPlugin.js +50 -0
- package/dist/cjs/vite/replaceLoader.js +34 -0
- package/dist/cjs/vite/resolveAPIRequest.js +71 -0
- package/dist/cjs/vite/server.js +16 -0
- package/dist/cjs/vite/types.js +14 -0
- package/dist/cjs/vite/virtualEntryPlugin.js +67 -0
- package/dist/cjs/vite/vitePluginSsrCss.js +130 -0
- package/dist/cjs/vite.cjs +2 -0
- package/dist/cjs/vite.js +29 -0
- package/dist/cjs/vite.js.map +6 -0
- package/dist/cjs/vite.native.js +3 -1
- package/dist/cjs/vite.native.js.map +1 -1
- package/dist/cjs/zero/getQueryKey.js +24 -0
- package/dist/cjs/zero/isZeroQuery.js +23 -0
- package/dist/cjs/zero/resolveQuery.js +38 -0
- package/dist/cjs/zero/subscribeToQuery.js +28 -0
- package/dist/cjs/zero/types.js +14 -0
- package/dist/cjs/zero/useQuery.js +47 -0
- package/dist/cjs/zero/useQueryZero.js +38 -0
- package/dist/cjs/zero.js +23 -0
- package/dist/esm/vite/createFileSystemRouter.js +2 -1
- package/dist/esm/vite/createFileSystemRouter.js.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.mjs +2 -1
- package/dist/esm/vite/createFileSystemRouter.mjs.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.native.js +2 -1
- package/dist/esm/vite/createFileSystemRouter.native.js.map +2 -2
- package/dist/esm/vite.js +2 -0
- package/dist/esm/vite.js.map +1 -1
- package/dist/esm/vite.mjs +2 -1
- package/dist/esm/vite.mjs.map +1 -1
- package/dist/esm/vite.native.js +2 -0
- package/dist/esm/vite.native.js.map +2 -2
- package/package.json +8 -8
- package/src/vite/createFileSystemRouter.tsx +1 -1
- package/src/vite.ts +1 -0
- package/types/vite.d.ts +1 -0
- package/types/vite.d.ts.map +1 -1
- package/dist/cjs/createApp.native.cjs +0 -38
- package/dist/cjs/createApp.native.cjs.map +0 -6
- package/dist/cjs/fork/NavigationContainer.native.cjs +0 -103
- package/dist/cjs/fork/NavigationContainer.native.cjs.map +0 -6
- package/dist/cjs/fork/useLinking.native.cjs +0 -126
- package/dist/cjs/fork/useLinking.native.cjs.map +0 -6
- package/dist/cjs/getURL.native.cjs +0 -48
- package/dist/cjs/getURL.native.cjs.map +0 -6
- package/dist/cjs/head/Head.android.cjs +0 -28
- package/dist/cjs/head/Head.android.cjs.map +0 -6
- package/dist/cjs/head/Head.ios.cjs +0 -210
- package/dist/cjs/head/Head.ios.cjs.map +0 -6
- package/dist/cjs/import-mode/index.android.cjs +0 -26
- package/dist/cjs/import-mode/index.android.cjs.map +0 -6
- package/dist/cjs/import-mode/index.ios.cjs +0 -26
- package/dist/cjs/import-mode/index.ios.cjs.map +0 -6
- package/dist/cjs/import-mode/index.native.cjs +0 -26
- package/dist/cjs/import-mode/index.native.cjs.map +0 -6
- package/dist/cjs/render.native.cjs +0 -28
- package/dist/cjs/render.native.cjs.map +0 -6
- package/dist/cjs/views/PreloadLinks.native.cjs +0 -28
- package/dist/cjs/views/PreloadLinks.native.cjs.map +0 -6
- package/dist/cjs/vite/createFileSystemRouter.cjs.map +0 -6
- package/dist/cjs/vite/headers.native.cjs +0 -32
- package/dist/cjs/vite/headers.native.cjs.map +0 -6
- package/dist/cjs/vite.cjs.map +0 -6
- /package/dist/cjs/{Root.cjs.map → Root.js.map} +0 -0
- /package/dist/cjs/{Route.cjs.map → Route.js.map} +0 -0
- /package/dist/cjs/{cleanUrl.cjs.map → cleanUrl.js.map} +0 -0
- /package/dist/cjs/cli/{label-process.cjs.map → label-process.js.map} +0 -0
- /package/dist/cjs/cli/{main.cjs.map → main.js.map} +0 -0
- /package/dist/cjs/cli/{patch.cjs.map → patch.js.map} +0 -0
- /package/dist/cjs/cli/{prebuild.cjs.map → prebuild.js.map} +0 -0
- /package/dist/cjs/cli/{run.cjs.map → run.js.map} +0 -0
- /package/dist/cjs/cli/{runAndroid.cjs.map → runAndroid.js.map} +0 -0
- /package/dist/cjs/cli/{runIos.cjs.map → runIos.js.map} +0 -0
- /package/dist/cjs/{cli.cjs.map → cli.js.map} +0 -0
- /package/dist/cjs/{clientLoaderResolver.cjs.map → clientLoaderResolver.js.map} +0 -0
- /package/dist/cjs/{config.cjs.map → config.js.map} +0 -0
- /package/dist/cjs/{constants.cjs.map → constants.js.map} +0 -0
- /package/dist/cjs/{createApp.cjs.map → createApp.js.map} +0 -0
- /package/dist/cjs/{createHandleRequest.cjs.map → createHandleRequest.js.map} +0 -0
- /package/dist/cjs/{createRoute.cjs.map → createRoute.js.map} +0 -0
- /package/dist/cjs/fallbackViews/{Sitemap.cjs.map → Sitemap.js.map} +0 -0
- /package/dist/cjs/fallbackViews/{Unmatched.cjs.map → Unmatched.js.map} +0 -0
- /package/dist/cjs/fork/{NavigationContainer.cjs.map → NavigationContainer.js.map} +0 -0
- /package/dist/cjs/fork/{createMemoryHistory.cjs.map → createMemoryHistory.js.map} +0 -0
- /package/dist/cjs/fork/{extractPathFromURL.cjs.map → extractPathFromURL.js.map} +0 -0
- /package/dist/cjs/fork/{findFocusedRoute.cjs.map → findFocusedRoute.js.map} +0 -0
- /package/dist/cjs/fork/{getPathFromState.cjs.map → getPathFromState.js.map} +0 -0
- /package/dist/cjs/fork/{getStateFromPath.cjs.map → getStateFromPath.js.map} +0 -0
- /package/dist/cjs/fork/{useLinking.cjs.map → useLinking.js.map} +0 -0
- /package/dist/cjs/fork/{validatePathConfig.cjs.map → validatePathConfig.js.map} +0 -0
- /package/dist/cjs/{getLinkingConfig.cjs.map → getLinkingConfig.js.map} +0 -0
- /package/dist/cjs/{getReactNavigationConfig.cjs.map → getReactNavigationConfig.js.map} +0 -0
- /package/dist/cjs/{getRoutes.cjs.map → getRoutes.js.map} +0 -0
- /package/dist/cjs/{getURL.cjs.map → getURL.js.map} +0 -0
- /package/dist/cjs/head/{Head.cjs.map → Head.js.map} +0 -0
- /package/dist/cjs/head/{HeadModule.cjs.map → HeadModule.js.map} +0 -0
- /package/dist/cjs/head/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/head/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/head/{url.cjs.map → url.js.map} +0 -0
- /package/dist/cjs/{hooks.cjs.map → hooks.js.map} +0 -0
- /package/dist/cjs/{imperative-api.cjs.map → imperative-api.js.map} +0 -0
- /package/dist/cjs/import-mode/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/import-mode/{index.web.cjs.map → index.web.js.map} +0 -0
- /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/interfaces/{router.cjs.map → router.js.map} +0 -0
- /package/dist/cjs/layouts/{Drawer.cjs.map → Drawer.js.map} +0 -0
- /package/dist/cjs/layouts/{Stack.cjs.map → Stack.js.map} +0 -0
- /package/dist/cjs/layouts/{Tabs.cjs.map → Tabs.js.map} +0 -0
- /package/dist/cjs/layouts/{withLayoutContext.cjs.map → withLayoutContext.js.map} +0 -0
- /package/dist/cjs/link/{Link.cjs.map → Link.js.map} +0 -0
- /package/dist/cjs/link/{Redirect.cjs.map → Redirect.js.map} +0 -0
- /package/dist/cjs/link/{href.cjs.map → href.js.map} +0 -0
- /package/dist/cjs/link/{linking.cjs.map → linking.js.map} +0 -0
- /package/dist/cjs/link/{path.cjs.map → path.js.map} +0 -0
- /package/dist/cjs/link/{useLinkTo.cjs.map → useLinkTo.js.map} +0 -0
- /package/dist/cjs/link/{useLoadedNavigation.cjs.map → useLoadedNavigation.js.map} +0 -0
- /package/dist/cjs/{matchers.cjs.map → matchers.js.map} +0 -0
- /package/dist/cjs/{platform.cjs.map → platform.js.map} +0 -0
- /package/dist/cjs/{polyfills-mobile.cjs.map → polyfills-mobile.js.map} +0 -0
- /package/dist/cjs/{polyfills-server.cjs.map → polyfills-server.js.map} +0 -0
- /package/dist/cjs/{render.cjs.map → render.js.map} +0 -0
- /package/dist/cjs/router/{RouterStore.cjs.map → RouterStore.js.map} +0 -0
- /package/dist/cjs/router/{getNormalizedStatePath.cjs.map → getNormalizedStatePath.js.map} +0 -0
- /package/dist/cjs/router/{lastAction.cjs.map → lastAction.js.map} +0 -0
- /package/dist/cjs/router/{router.cjs.map → router.js.map} +0 -0
- /package/dist/cjs/router/{serverLocationContext.cjs.map → serverLocationContext.js.map} +0 -0
- /package/dist/cjs/router/{useInitializeOneRouter.cjs.map → useInitializeOneRouter.js.map} +0 -0
- /package/dist/cjs/{serve.cjs.map → serve.js.map} +0 -0
- /package/dist/cjs/server/{createRoutesManifest.cjs.map → createRoutesManifest.js.map} +0 -0
- /package/dist/cjs/server/{getServerManifest.cjs.map → getServerManifest.js.map} +0 -0
- /package/dist/cjs/{server-render.cjs.map → server-render.js.map} +0 -0
- /package/dist/cjs/{sortRoutes.cjs.map → sortRoutes.js.map} +0 -0
- /package/dist/cjs/typed-routes/{generateRouteTypes.cjs.map → generateRouteTypes.js.map} +0 -0
- /package/dist/cjs/typed-routes/{getTypedRoutesDeclarationFile.cjs.map → getTypedRoutesDeclarationFile.js.map} +0 -0
- /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/{useFocusEffect.cjs.map → useFocusEffect.js.map} +0 -0
- /package/dist/cjs/{useLoader.cjs.map → useLoader.js.map} +0 -0
- /package/dist/cjs/{useNavigation.cjs.map → useNavigation.js.map} +0 -0
- /package/dist/cjs/{useScreens.cjs.map → useScreens.js.map} +0 -0
- /package/dist/cjs/{useViteRoutes.cjs.map → useViteRoutes.js.map} +0 -0
- /package/dist/cjs/utils/{assertIsReady.cjs.map → assertIsReady.js.map} +0 -0
- /package/dist/cjs/utils/{dynamicImport.cjs.map → dynamicImport.js.map} +0 -0
- /package/dist/cjs/utils/{existsAsync.cjs.map → existsAsync.js.map} +0 -0
- /package/dist/cjs/utils/{getPageExport.cjs.map → getPageExport.js.map} +0 -0
- /package/dist/cjs/utils/{globDir.cjs.map → globDir.js.map} +0 -0
- /package/dist/cjs/utils/{hashString.cjs.map → hashString.js.map} +0 -0
- /package/dist/cjs/utils/{isResponse.cjs.map → isResponse.js.map} +0 -0
- /package/dist/cjs/utils/{isStatus.cjs.map → isStatus.js.map} +0 -0
- /package/dist/cjs/utils/{promiseWithResolvers.cjs.map → promiseWithResolvers.js.map} +0 -0
- /package/dist/cjs/utils/{rand.cjs.map → rand.js.map} +0 -0
- /package/dist/cjs/utils/{redirect.cjs.map → redirect.js.map} +0 -0
- /package/dist/cjs/utils/{removeSearch.cjs.map → removeSearch.js.map} +0 -0
- /package/dist/cjs/utils/{removeUndefined.cjs.map → removeUndefined.js.map} +0 -0
- /package/dist/cjs/utils/{url.cjs.map → url.js.map} +0 -0
- /package/dist/cjs/utils/{weakKey.cjs.map → weakKey.js.map} +0 -0
- /package/dist/cjs/utils/{weakMemo.cjs.map → weakMemo.js.map} +0 -0
- /package/dist/cjs/views/{EmptyRoute.cjs.map → EmptyRoute.js.map} +0 -0
- /package/dist/cjs/views/{ErrorBoundary.cjs.map → ErrorBoundary.js.map} +0 -0
- /package/dist/cjs/views/{LoadProgressBar.cjs.map → LoadProgressBar.js.map} +0 -0
- /package/dist/cjs/views/{Navigator.cjs.map → Navigator.js.map} +0 -0
- /package/dist/cjs/views/{PreloadLinks.cjs.map → PreloadLinks.js.map} +0 -0
- /package/dist/cjs/views/{RootErrorBoundary.cjs.map → RootErrorBoundary.js.map} +0 -0
- /package/dist/cjs/views/{Screen.cjs.map → Screen.js.map} +0 -0
- /package/dist/cjs/views/{ScrollRestoration.cjs.map → ScrollRestoration.js.map} +0 -0
- /package/dist/cjs/views/{Try.cjs.map → Try.js.map} +0 -0
- /package/dist/cjs/vite/{build.cjs.map → build.js.map} +0 -0
- /package/dist/cjs/vite/{clientTreeShakePlugin.cjs.map → clientTreeShakePlugin.js.map} +0 -0
- /package/dist/cjs/vite/{constants.cjs.map → constants.js.map} +0 -0
- /package/dist/cjs/vite/{customNodeExternals.cjs.map → customNodeExternals.js.map} +0 -0
- /package/dist/cjs/vite/{ensureTsConfig.cjs.map → ensureTsConfig.js.map} +0 -0
- /package/dist/cjs/vite/{findDepsToOptimize.cjs.map → findDepsToOptimize.js.map} +0 -0
- /package/dist/cjs/vite/{fixDependenciesPlugin.cjs.map → fixDependenciesPlugin.js.map} +0 -0
- /package/dist/cjs/vite/{generateTypesForRoutes.cjs.map → generateTypesForRoutes.js.map} +0 -0
- /package/dist/cjs/vite/{getManifest.cjs.map → getManifest.js.map} +0 -0
- /package/dist/cjs/vite/{headers.cjs.map → headers.js.map} +0 -0
- /package/dist/cjs/vite/{makePluginWebOnly.cjs.map → makePluginWebOnly.js.map} +0 -0
- /package/dist/cjs/vite/{one.cjs.map → one.js.map} +0 -0
- /package/dist/cjs/vite/{removeReactNativeWebAnimatedPlugin.cjs.map → removeReactNativeWebAnimatedPlugin.js.map} +0 -0
- /package/dist/cjs/vite/{replaceLoader.cjs.map → replaceLoader.js.map} +0 -0
- /package/dist/cjs/vite/{resolveAPIRequest.cjs.map → resolveAPIRequest.js.map} +0 -0
- /package/dist/cjs/vite/{server.cjs.map → server.js.map} +0 -0
- /package/dist/cjs/vite/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/vite/{virtualEntryPlugin.cjs.map → virtualEntryPlugin.js.map} +0 -0
- /package/dist/cjs/vite/{vitePluginSsrCss.cjs.map → vitePluginSsrCss.js.map} +0 -0
- /package/dist/cjs/zero/{getQueryKey.cjs.map → getQueryKey.js.map} +0 -0
- /package/dist/cjs/zero/{isZeroQuery.cjs.map → isZeroQuery.js.map} +0 -0
- /package/dist/cjs/zero/{resolveQuery.cjs.map → resolveQuery.js.map} +0 -0
- /package/dist/cjs/zero/{subscribeToQuery.cjs.map → subscribeToQuery.js.map} +0 -0
- /package/dist/cjs/zero/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/zero/{useQuery.cjs.map → useQuery.js.map} +0 -0
- /package/dist/cjs/zero/{useQueryZero.cjs.map → useQueryZero.js.map} +0 -0
- /package/dist/cjs/{zero.cjs.map → zero.js.map} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/v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A,GAE5B6B,SAASD,MAAME,QAAQD;AAE7BT,qBAAW,qBAAwBK,YACnCL,WAAW,sBAAyBP,aAEpCjB,gBAAgBe,MAAMM,IAAI,IAAIQ;AAE9B,cAAMM,QAAQpB,MAAMqB,cAAc,CAACX,SAASS,SAEtCG,OAAO,MAAMJ,OAAO;YACxBJ;YACAZ;YACAqB,MAAMrB,aAAaqB,QAAQ;YAC3B9B;UACF,CAAA;AAEA,iBAAI2B,QACK,IAAII,SAASF,MAAM;YACxBG,QAAQ;YACRC,SAAS;cAAE,gBAAgB;YAAY;UACzC,CAAA,IAGKJ;QACT,SAASK,KAAK;AACZxB,kBAAQyB,MAAM,
|
5
|
-
"names": ["join", "debounce", "createServerModuleRunner", "createHandleRequest", "isResponse", "isStatusRedirect", "promiseWithResolvers", "LoaderDataCache", "replaceLoader", "resolveAPIRequest", "virtalEntryIdClient", "virtualEntryId", "USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "globalThis", "exported", "routeFile", "clearCache", "import", "loaderData", "loader", "eval", "entry", "render", "default", "is404", "isNotFound", "html", "path", "Response", "status", "headers", "err", "error", "title", "pathname", "message", "Error", "stack", "handleLoader", "param", "request", "transformedJS", "transformRequest", "code", "platform", "searchParams", "get", "environment", "environments", "nativeTransformedJS", "JSON", "stringify", "handleAPI", "result", "params", "name", "enforce", "apply", "config", "userConfig", "manifest", "pageRoutes", "routesAndLayouts", "Set", "flatMap", "layouts", "map", "layout", "contextKey", "optimizeDeps", "entries", "configureServer", "serverIn", "ssr", "appDir", "process", "cwd", "fileWatcherChangeListener", "startsWith", "watcher", "addListener", "middlewares", "use", "req", "res", "next", "redirects", "web", "URL", "host", "redirect", "regexStr", "source", "replace", "match", "RegExp", "destination", "forEach", "index", "warn", "writeHead", "permanent", "Location", "end", "reply", "handler", "convertIncomingMessageToRequest", "value", "key", "cookies", "split", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "cookie", "appendHeader", "setHeader", "location", "statusCode", "statusMessage", "statusText", "outString", "body", "locked", "streamToString", "write", "stream", "reader", "getReader", "decoder", "TextDecoder", "done", "read", "decode", "releaseLock", "originalUrl", "urlBase", "urlString", "Headers", "append", "Request", "method", "includes", "readStream", "Promise", "reject", "chunks", "on", "chunk", "push", "Buffer", "concat"]
|
4
|
+
"mappings": "AAAA,SAASA,YAAY;AACrB,SAASC,gBAAgB;AAEzB,SAASC,gCAAgC;AAEzC,SAASC,2BAA2B;AAEpC,SAASC,kBAAkB;AAC3B,SAASC,wBAAwB;AACjC,SAASC,4BAA4B;AACrC,SAASC,uBAAuB;AAChC,SAASC,qBAAqB;AAC9B,SAASC,yBAAyB;AAElC,SAASC,qBAAqBC,sBAAsB;;;;;AAGpD,IAAMC,iBAAiB;AAAM;AAEtB,SAASC,uBAAuBC,SAA0B;AAC/D,MAAMC,WAAW;IAAC;IAAiBL;KAE/BM,QACAC,QAEAC,gBAAgBC,qBAAAA,GAEhBC,gBAAsC;AAE1C,WAASD,uBAAAA;AACP,WAAOhB,oBAAoBW,SAAS;MAClC,MAAMO,UAAU,OAA2B;YAA3B,EAAEC,OAAOC,KAAKC,YAAW,IAAzB;AAGd,YAFAC,QAAQC,KAAK,aAAQJ,MAAMK,IAAI,KAAKJ,GAAAA,gBAAmBD,MAAMM,IAAI,EAAE,GAE/DN,MAAMK,SAAS;AAEjB,iBAAO;;;;;;;;;;;;AAcT,QAAIP,iBACF,MAAMA;AAGR,YAAM,EAAES,SAASC,QAAO,IAAKxB,qBAAAA;AAC7Bc,wBAAgBS;AAEhB,YAAI;cAIFE,8BAAAA,aAGyBC,kBANnBC,YAAYjC,KAAK,OAAOsB,MAAMM,IAAI;AACxCZ,iBAAOkB,WAAU,IAEjBH,gCAAAA,cAAAA,YAAW,sBAAmB,QAA9BA,iCAAAA,UAAAA,6BAAAA,KAAAA,WAAAA;AAEA,cA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"names": ["join", "debounce", "createServerModuleRunner", "createHandleRequest", "isResponse", "isStatusRedirect", "promiseWithResolvers", "LoaderDataCache", "replaceLoader", "resolveAPIRequest", "virtalEntryIdClient", "virtualEntryId", "USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "globalThis", "exported", "routeFile", "clearCache", "import", "loaderData", "loader", "eval", "entry", "render", "default", "is404", "isNotFound", "html", "path", "Response", "status", "headers", "err", "error", "href", "title", "pathname", "message", "Error", "stack", "handleLoader", "param", "request", "transformedJS", "transformRequest", "code", "platform", "searchParams", "get", "environment", "environments", "nativeTransformedJS", "JSON", "stringify", "handleAPI", "result", "params", "name", "enforce", "apply", "config", "userConfig", "manifest", "pageRoutes", "routesAndLayouts", "Set", "flatMap", "layouts", "map", "layout", "contextKey", "optimizeDeps", "entries", "configureServer", "serverIn", "ssr", "appDir", "process", "cwd", "fileWatcherChangeListener", "startsWith", "watcher", "addListener", "middlewares", "use", "req", "res", "next", "redirects", "web", "URL", "host", "redirect", "regexStr", "source", "replace", "match", "RegExp", "destination", "forEach", "index", "warn", "writeHead", "permanent", "Location", "end", "reply", "handler", "convertIncomingMessageToRequest", "value", "key", "cookies", "split", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "cookie", "appendHeader", "setHeader", "location", "statusCode", "statusMessage", "statusText", "outString", "body", "locked", "streamToString", "write", "stream", "reader", "getReader", "decoder", "TextDecoder", "done", "read", "decode", "releaseLock", "originalUrl", "urlBase", "urlString", "Headers", "append", "Request", "method", "includes", "readStream", "Promise", "reject", "chunks", "on", "chunk", "push", "Buffer", "concat"]
|
6
6
|
}
|
package/dist/esm/vite.js
CHANGED
@@ -3,6 +3,7 @@ import { createFileSystemRouter } from "./vite/createFileSystemRouter";
|
|
3
3
|
import { vitePluginSsrCss } from "./vite/vitePluginSsrCss";
|
4
4
|
import { removeReactNativeWebAnimatedPlugin } from "./vite/removeReactNativeWebAnimatedPlugin";
|
5
5
|
import { makePluginWebOnly } from "./vite/makePluginWebOnly";
|
6
|
+
import { resolvePath } from "@vxrn/resolve";
|
6
7
|
import { setCurrentRequestHeaders } from "./vite/headers";
|
7
8
|
import { build } from "./vite/build";
|
8
9
|
import { one } from "./vite/one";
|
@@ -13,6 +14,7 @@ export {
|
|
13
14
|
makePluginWebOnly,
|
14
15
|
one,
|
15
16
|
removeReactNativeWebAnimatedPlugin,
|
17
|
+
resolvePath,
|
16
18
|
setCurrentRequestHeaders,
|
17
19
|
vitePluginSsrCss
|
18
20
|
};
|
package/dist/esm/vite.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/vite.ts"],
|
4
|
-
"mappings": "AACA,SAAS,6BAA6B;AACtC,SAAS,8BAA8B;AACvC,SAAS,wBAAwB;AACjC,SAAS,0CAA0C;AACnD,SAAS,yBAAyB;
|
4
|
+
"mappings": "AACA,SAAS,6BAA6B;AACtC,SAAS,8BAA8B;AACvC,SAAS,wBAAwB;AACjC,SAAS,0CAA0C;AACnD,SAAS,yBAAyB;AAClC,SAAS,mBAAmB;AAE5B,SAAS,gCAAgC;AAEzC,SAAS,aAAa;AACtB,SAAS,WAAW;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/vite.mjs
CHANGED
@@ -3,8 +3,9 @@ import { createFileSystemRouter } from "./vite/createFileSystemRouter.mjs";
|
|
3
3
|
import { vitePluginSsrCss } from "./vite/vitePluginSsrCss.mjs";
|
4
4
|
import { removeReactNativeWebAnimatedPlugin } from "./vite/removeReactNativeWebAnimatedPlugin.mjs";
|
5
5
|
import { makePluginWebOnly } from "./vite/makePluginWebOnly.mjs";
|
6
|
+
import { resolvePath } from "@vxrn/resolve";
|
6
7
|
import { setCurrentRequestHeaders } from "./vite/headers.mjs";
|
7
8
|
import { build } from "./vite/build.mjs";
|
8
9
|
import { one } from "./vite/one.mjs";
|
9
|
-
export { build, clientTreeShakePlugin, createFileSystemRouter, makePluginWebOnly, one, removeReactNativeWebAnimatedPlugin, setCurrentRequestHeaders, vitePluginSsrCss };
|
10
|
+
export { build, clientTreeShakePlugin, createFileSystemRouter, makePluginWebOnly, one, removeReactNativeWebAnimatedPlugin, resolvePath, setCurrentRequestHeaders, vitePluginSsrCss };
|
10
11
|
//# sourceMappingURL=vite.mjs.map
|
package/dist/esm/vite.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["clientTreeShakePlugin","createFileSystemRouter","vitePluginSsrCss","removeReactNativeWebAnimatedPlugin","makePluginWebOnly","setCurrentRequestHeaders","build","one"],"sources":["../../src/vite.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,gBAAA,QAAwB;AACjC,SAASC,kCAAA,QAA0C;AACnD,SAASC,iBAAA,QAAyB;
|
1
|
+
{"version":3,"names":["clientTreeShakePlugin","createFileSystemRouter","vitePluginSsrCss","removeReactNativeWebAnimatedPlugin","makePluginWebOnly","resolvePath","setCurrentRequestHeaders","build","one"],"sources":["../../src/vite.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,gBAAA,QAAwB;AACjC,SAASC,kCAAA,QAA0C;AACnD,SAASC,iBAAA,QAAyB;AAClC,SAASC,WAAA,QAAmB;AAE5B,SAASC,wBAAA,QAAgC;AAEzC,SAASC,KAAA,QAAa;AACtB,SAASC,GAAA,QAAW","ignoreList":[]}
|
package/dist/esm/vite.native.js
CHANGED
@@ -3,6 +3,7 @@ import { createFileSystemRouter } from "./vite/createFileSystemRouter";
|
|
3
3
|
import { vitePluginSsrCss } from "./vite/vitePluginSsrCss";
|
4
4
|
import { removeReactNativeWebAnimatedPlugin } from "./vite/removeReactNativeWebAnimatedPlugin";
|
5
5
|
import { makePluginWebOnly } from "./vite/makePluginWebOnly";
|
6
|
+
import { resolvePath } from "@vxrn/resolve";
|
6
7
|
import { setCurrentRequestHeaders } from "./vite/headers";
|
7
8
|
import { build } from "./vite/build";
|
8
9
|
import { one } from "./vite/one";
|
@@ -13,6 +14,7 @@ export {
|
|
13
14
|
makePluginWebOnly,
|
14
15
|
one,
|
15
16
|
removeReactNativeWebAnimatedPlugin,
|
17
|
+
resolvePath,
|
16
18
|
setCurrentRequestHeaders,
|
17
19
|
vitePluginSsrCss
|
18
20
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/vite.ts"],
|
4
|
-
"mappings": "AACA,SAASA,6BAA6B;AACtC,SAASC,8BAA8B;AACvC,SAASC,wBAAwB;AACjC,SAASC,0CAA0C;AACnD,SAASC,yBAAyB;
|
5
|
-
"names": ["clientTreeShakePlugin", "createFileSystemRouter", "vitePluginSsrCss", "removeReactNativeWebAnimatedPlugin", "makePluginWebOnly", "setCurrentRequestHeaders", "build", "one"]
|
4
|
+
"mappings": "AACA,SAASA,6BAA6B;AACtC,SAASC,8BAA8B;AACvC,SAASC,wBAAwB;AACjC,SAASC,0CAA0C;AACnD,SAASC,yBAAyB;AAClC,SAASC,mBAAmB;AAE5B,SAASC,gCAAgC;AAEzC,SAASC,aAAa;AACtB,SAASC,WAAW;",
|
5
|
+
"names": ["clientTreeShakePlugin", "createFileSystemRouter", "vitePluginSsrCss", "removeReactNativeWebAnimatedPlugin", "makePluginWebOnly", "resolvePath", "setCurrentRequestHeaders", "build", "one"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.322",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"sideEffects": false,
|
@@ -91,14 +91,14 @@
|
|
91
91
|
"@react-navigation/native-stack": "~6.9.13",
|
92
92
|
"@react-navigation/routers": "~6.1.9",
|
93
93
|
"@ungap/structured-clone": "^1.2.0",
|
94
|
-
"@vxrn/resolve": "1.1.
|
95
|
-
"@vxrn/tslib-lite": "1.1.
|
96
|
-
"@vxrn/universal-color-scheme": "1.1.
|
97
|
-
"@vxrn/use-isomorphic-layout-effect": "1.1.
|
94
|
+
"@vxrn/resolve": "1.1.322",
|
95
|
+
"@vxrn/tslib-lite": "1.1.322",
|
96
|
+
"@vxrn/universal-color-scheme": "1.1.322",
|
97
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.322",
|
98
98
|
"babel-dead-code-elimination": "^1.0.6",
|
99
99
|
"citty": "^0.1.6",
|
100
100
|
"core-js": "^3.38.1",
|
101
|
-
"create-vxrn": "1.1.
|
101
|
+
"create-vxrn": "1.1.322",
|
102
102
|
"escape-string-regexp": "^5.0.0",
|
103
103
|
"expo-linking": "~6.3.1",
|
104
104
|
"expo-modules-core": "^1.12.24",
|
@@ -120,7 +120,7 @@
|
|
120
120
|
"url-parse": "^1.5.10",
|
121
121
|
"vite": "6.0.0-beta.1",
|
122
122
|
"vite-tsconfig-paths": "^5.0.1",
|
123
|
-
"vxrn": "1.1.
|
123
|
+
"vxrn": "1.1.322",
|
124
124
|
"ws": "^8.18.0",
|
125
125
|
"xxhashjs": "^0.2.2"
|
126
126
|
},
|
@@ -128,7 +128,7 @@
|
|
128
128
|
"react-native": "*"
|
129
129
|
},
|
130
130
|
"devDependencies": {
|
131
|
-
"@tamagui/build": "^1.
|
131
|
+
"@tamagui/build": "^1.116.4",
|
132
132
|
"@types/node": "^22.1.0",
|
133
133
|
"@types/react-dom": "^18.2.25",
|
134
134
|
"@types/url-parse": "^1.4.11",
|
@@ -94,7 +94,7 @@ export function createFileSystemRouter(options: One.PluginOptions): Plugin {
|
|
94
94
|
|
95
95
|
return html
|
96
96
|
} catch (err) {
|
97
|
-
console.error(`
|
97
|
+
console.error(`SSR error while loading file ${route.file} from URL ${url.href}\n`, err)
|
98
98
|
const title = `Error rendering ${url.pathname} on server`
|
99
99
|
const message = err instanceof Error ? err.message : `${err}`
|
100
100
|
const stack = err instanceof Error ? err.stack : ''
|
package/src/vite.ts
CHANGED
@@ -4,6 +4,7 @@ export { createFileSystemRouter } from './vite/createFileSystemRouter'
|
|
4
4
|
export { vitePluginSsrCss } from './vite/vitePluginSsrCss'
|
5
5
|
export { removeReactNativeWebAnimatedPlugin } from './vite/removeReactNativeWebAnimatedPlugin'
|
6
6
|
export { makePluginWebOnly } from './vite/makePluginWebOnly'
|
7
|
+
export { resolvePath } from '@vxrn/resolve'
|
7
8
|
|
8
9
|
export { setCurrentRequestHeaders } from './vite/headers'
|
9
10
|
|
package/types/vite.d.ts
CHANGED
@@ -3,6 +3,7 @@ export { createFileSystemRouter } from './vite/createFileSystemRouter';
|
|
3
3
|
export { vitePluginSsrCss } from './vite/vitePluginSsrCss';
|
4
4
|
export { removeReactNativeWebAnimatedPlugin } from './vite/removeReactNativeWebAnimatedPlugin';
|
5
5
|
export { makePluginWebOnly } from './vite/makePluginWebOnly';
|
6
|
+
export { resolvePath } from '@vxrn/resolve';
|
6
7
|
export { setCurrentRequestHeaders } from './vite/headers';
|
7
8
|
export { build } from './vite/build';
|
8
9
|
export { one } from './vite/one';
|
package/types/vite.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;
|
1
|
+
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAA"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __export = (target, all) => {
|
6
|
-
for (var name in all) __defProp(target, name, {
|
7
|
-
get: all[name],
|
8
|
-
enumerable: !0
|
9
|
-
});
|
10
|
-
},
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
13
|
-
get: () => from[key],
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
15
|
-
});
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
19
|
-
value: !0
|
20
|
-
}), mod);
|
21
|
-
var createApp_native_exports = {};
|
22
|
-
__export(createApp_native_exports, {
|
23
|
-
createApp: () => createApp
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(createApp_native_exports);
|
26
|
-
var import_polyfills_mobile = require("./polyfills-mobile.cjs"),
|
27
|
-
import_Root = require("./Root.cjs"),
|
28
|
-
import_react_native = require("react-native-web"),
|
29
|
-
import_jsx_runtime = require("react/jsx-runtime");
|
30
|
-
import_react_native.LogBox.ignoreLogs([/Sending .* with no listeners registered/]);
|
31
|
-
function createApp(options) {
|
32
|
-
const App = () => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Root.Root, {
|
33
|
-
isClient: !0,
|
34
|
-
routes: options.routes,
|
35
|
-
path: "/"
|
36
|
-
});
|
37
|
-
import_react_native.AppRegistry.registerComponent("main", () => App), import_react_native.AppRegistry.registerComponent("tamaguikitchensink", () => App), process.env.ONE_APP_NAME && import_react_native.AppRegistry.registerComponent(process.env.ONE_APP_NAME, () => App);
|
38
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../src/createApp.native.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAO,+BACP,cAAqB,mBACrB,sBAAoC,yBAQhB;AAHpB,2BAAO,WAAW,CAAC,yCAAyC,CAAC;AAEtD,SAAS,UAAU,SAA+B;AACvD,QAAM,MAAM,MAAM,4CAAC,oBAAK,UAAQ,IAAC,QAAQ,QAAQ,QAAQ,MAAK,KAAI;AAElE,kCAAY,kBAAkB,QAAQ,MAAM,GAAG,GAG/C,gCAAY,kBAAkB,sBAAsB,MAAM,GAAG,GAEzD,QAAQ,IAAI,gBACd,gCAAY,kBAAkB,QAAQ,IAAI,cAAc,MAAM,GAAG;AAErE;",
|
5
|
-
"names": []
|
6
|
-
}
|
@@ -1,103 +0,0 @@
|
|
1
|
-
var __create = Object.create;
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf,
|
6
|
-
__hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __export = (target, all) => {
|
8
|
-
for (var name in all) __defProp(target, name, {
|
9
|
-
get: all[name],
|
10
|
-
enumerable: !0
|
11
|
-
});
|
12
|
-
},
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
15
|
-
get: () => from[key],
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
17
|
-
});
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
26
|
-
value: mod,
|
27
|
-
enumerable: !0
|
28
|
-
}) : target, mod)),
|
29
|
-
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
30
|
-
value: !0
|
31
|
-
}), mod);
|
32
|
-
var NavigationContainer_native_exports = {};
|
33
|
-
__export(NavigationContainer_native_exports, {
|
34
|
-
default: () => NavigationContainer_native_default
|
35
|
-
});
|
36
|
-
module.exports = __toCommonJS(NavigationContainer_native_exports);
|
37
|
-
var import_core = require("@react-navigation/core"),
|
38
|
-
import_native = require("@react-navigation/native"),
|
39
|
-
import_useDocumentTitle_native = __toESM(require("@react-navigation/native/lib/module/useDocumentTitle.native.js"), 1),
|
40
|
-
import_useThenable = __toESM(require("@react-navigation/native/lib/module/useThenable.js"), 1),
|
41
|
-
React = __toESM(require("react"), 1),
|
42
|
-
import_useLinking = __toESM(require("./useLinking.cjs"), 1),
|
43
|
-
import_jsx_runtime = require("react/jsx-runtime");
|
44
|
-
global.REACT_NAVIGATION_DEVTOOLS = /* @__PURE__ */new WeakMap();
|
45
|
-
function NavigationContainerInner({
|
46
|
-
theme = import_native.DefaultTheme,
|
47
|
-
linking,
|
48
|
-
fallback = null,
|
49
|
-
documentTitle,
|
50
|
-
onReady,
|
51
|
-
...rest
|
52
|
-
}, ref) {
|
53
|
-
const isLinkingEnabled = linking ? linking.enabled !== !1 : !1;
|
54
|
-
linking?.config && (0, import_core.validatePathConfig)(linking.config);
|
55
|
-
const refContainer = React.useRef(null);
|
56
|
-
(0, import_useDocumentTitle_native.default)(refContainer, documentTitle);
|
57
|
-
const {
|
58
|
-
getInitialState
|
59
|
-
} = (0, import_useLinking.default)(refContainer, {
|
60
|
-
// independent: rest.independent,
|
61
|
-
enabled: isLinkingEnabled,
|
62
|
-
prefixes: [],
|
63
|
-
...linking
|
64
|
-
});
|
65
|
-
React.useEffect(() => {
|
66
|
-
refContainer.current && global.REACT_NAVIGATION_DEVTOOLS.set(refContainer.current, {
|
67
|
-
get linking() {
|
68
|
-
return {
|
69
|
-
...linking,
|
70
|
-
enabled: isLinkingEnabled,
|
71
|
-
prefixes: linking?.prefixes ?? [],
|
72
|
-
getStateFromPath: linking?.getStateFromPath ?? import_core.getStateFromPath,
|
73
|
-
getPathFromState: linking?.getPathFromState ?? import_core.getPathFromState,
|
74
|
-
getActionFromState: linking?.getActionFromState ?? import_core.getActionFromState
|
75
|
-
};
|
76
|
-
}
|
77
|
-
});
|
78
|
-
});
|
79
|
-
const [isResolved, initialState] = (0, import_useThenable.default)(getInitialState);
|
80
|
-
React.useImperativeHandle(ref, () => refContainer.current);
|
81
|
-
const linkingContext = React.useMemo(() => ({
|
82
|
-
options: linking
|
83
|
-
}), [linking]),
|
84
|
-
isReady = rest.initialState != null || !isLinkingEnabled || isResolved,
|
85
|
-
onReadyRef = React.useRef(onReady);
|
86
|
-
return React.useEffect(() => {
|
87
|
-
onReadyRef.current = onReady;
|
88
|
-
}), React.useEffect(() => {
|
89
|
-
isReady && onReadyRef.current?.();
|
90
|
-
}, [isReady]), isReady ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_native.LinkingContext.Provider, {
|
91
|
-
value: linkingContext,
|
92
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_native.ThemeProvider, {
|
93
|
-
value: theme,
|
94
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.BaseNavigationContainer, {
|
95
|
-
...rest,
|
96
|
-
initialState: rest.initialState == null ? initialState : rest.initialState,
|
97
|
-
ref: refContainer
|
98
|
-
})
|
99
|
-
})
|
100
|
-
}) : fallback;
|
101
|
-
}
|
102
|
-
const NavigationContainer = React.forwardRef(NavigationContainerInner);
|
103
|
-
var NavigationContainer_native_default = NavigationContainer;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/fork/NavigationContainer.native.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,kBASO,mCACP,gBAOO,qCAEP,iCAA6B,uFAC7B,qBAAwB,2EACxB,QAAuB,8BAEvB,oBAAuB,qCAuGf;AArGR,OAAO,4BAA4B,oBAAI,QAAQ;AAwB/C,SAAS,yBACP;AAAA,EACE,QAAQ;AAAA,EACR;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,mBAAmB,UAAU,QAAQ,YAAY,KAAQ;AAE/D,EAAI,SAAS,cACX,gCAAmB,QAAQ,MAAM;AAGnC,QAAM,eAAe,MAAM,OAA8C,IAAI;AAG7E,qCAAAA,SAAiB,cAAc,aAAa;AAE5C,QAAM,EAAE,gBAAgB,QAAI,kBAAAC,SAAW,cAAc;AAAA;AAAA,IAEnD,SAAS;AAAA,IACT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ty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf,
|
6
|
-
__hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __export = (target, all) => {
|
8
|
-
for (var name in all) __defProp(target, name, {
|
9
|
-
get: all[name],
|
10
|
-
enumerable: !0
|
11
|
-
});
|
12
|
-
},
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
15
|
-
get: () => from[key],
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
17
|
-
});
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
26
|
-
value: mod,
|
27
|
-
enumerable: !0
|
28
|
-
}) : target, mod)),
|
29
|
-
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
30
|
-
value: !0
|
31
|
-
}), mod);
|
32
|
-
var useLinking_native_exports = {};
|
33
|
-
__export(useLinking_native_exports, {
|
34
|
-
default: () => useLinking
|
35
|
-
});
|
36
|
-
module.exports = __toCommonJS(useLinking_native_exports);
|
37
|
-
var import_core = require("@react-navigation/core"),
|
38
|
-
React = __toESM(require("react"), 1),
|
39
|
-
import_react_native = require("react-native-web"),
|
40
|
-
import_extractPathFromURL = require("./extractPathFromURL.cjs");
|
41
|
-
const linkingHandlers = [];
|
42
|
-
function useLinking(ref, {
|
43
|
-
// enabled = true,
|
44
|
-
// prefixes,
|
45
|
-
filter,
|
46
|
-
config,
|
47
|
-
getInitialURL = () => Promise.race([import_react_native.Linking.getInitialURL(), new Promise(resolve =>
|
48
|
-
// Timeout in 150ms if `getInitialState` doesn't resolve
|
49
|
-
// Workaround for https://github.com/facebook/react-native/issues/25675
|
50
|
-
setTimeout(resolve, 150))]),
|
51
|
-
subscribe = listener => {
|
52
|
-
const callback = ({
|
53
|
-
url
|
54
|
-
}) => listener(url),
|
55
|
-
subscription = import_react_native.Linking.addEventListener("url", callback);
|
56
|
-
return () => {
|
57
|
-
subscription?.remove();
|
58
|
-
};
|
59
|
-
},
|
60
|
-
getStateFromPath = import_core.getStateFromPath,
|
61
|
-
getActionFromState = import_core.getActionFromState
|
62
|
-
}) {
|
63
|
-
React.useEffect(() => {
|
64
|
-
if (process.env.NODE_ENV === "production") return;
|
65
|
-
// enabled !== false &&
|
66
|
-
linkingHandlers.length && console.error(["Looks like you have configured linking in multiple places. This is likely an error since deep links should only be handled in one place to avoid conflicts. Make sure that:", "- You don't have multiple NavigationContainers in the app each with 'linking' enabled", "- Only a single instance of the root component is rendered", import_react_native.Platform.OS === "android" ? "- You have set 'android:launchMode=singleTask' in the '<activity />' section of the 'AndroidManifest.xml' file to avoid launching multiple instances" : ""].join(`
|
67
|
-
`).trim());
|
68
|
-
const handler = Symbol();
|
69
|
-
return linkingHandlers.push(handler), () => {
|
70
|
-
const index = linkingHandlers.indexOf(handler);
|
71
|
-
index > -1 && linkingHandlers.splice(index, 1);
|
72
|
-
};
|
73
|
-
}, [
|
74
|
-
// enabled,
|
75
|
-
// independent
|
76
|
-
]);
|
77
|
-
const filterRef = React.useRef(filter),
|
78
|
-
configRef = React.useRef(config),
|
79
|
-
getInitialURLRef = React.useRef(getInitialURL),
|
80
|
-
getStateFromPathRef = React.useRef(getStateFromPath),
|
81
|
-
getActionFromStateRef = React.useRef(getActionFromState);
|
82
|
-
React.useEffect(() => {
|
83
|
-
filterRef.current = filter, configRef.current = config, getInitialURLRef.current = getInitialURL, getStateFromPathRef.current = getStateFromPath, getActionFromStateRef.current = getActionFromState;
|
84
|
-
});
|
85
|
-
const getStateFromURL = React.useCallback(url => {
|
86
|
-
if (!url || filterRef.current && !filterRef.current(url)) return;
|
87
|
-
const path = (0, import_extractPathFromURL.extractExpoPathFromURL)(url);
|
88
|
-
return path !== void 0 ? getStateFromPathRef.current(path, configRef.current) : void 0;
|
89
|
-
}, []),
|
90
|
-
getInitialState = React.useCallback(() => {
|
91
|
-
const url = getInitialURLRef.current();
|
92
|
-
if (url != null && typeof url != "string") return url.then(url2 => getStateFromURL(url2));
|
93
|
-
const state = getStateFromURL(url),
|
94
|
-
thenable = {
|
95
|
-
// biome-ignore lint/suspicious/noThenProperty: <explanation>
|
96
|
-
then(onfulfilled) {
|
97
|
-
return onfulfilled?.(state), thenable;
|
98
|
-
},
|
99
|
-
catch() {
|
100
|
-
return thenable;
|
101
|
-
}
|
102
|
-
};
|
103
|
-
return thenable;
|
104
|
-
}, [getStateFromURL]);
|
105
|
-
return React.useEffect(() => subscribe(url => {
|
106
|
-
const navigation = ref.current,
|
107
|
-
state = navigation ? getStateFromURL(url) : void 0;
|
108
|
-
if (navigation && state) {
|
109
|
-
const rootState = navigation.getRootState();
|
110
|
-
if (state.routes.some(r => !rootState?.routeNames.includes(r.name))) {
|
111
|
-
console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");
|
112
|
-
return;
|
113
|
-
}
|
114
|
-
const action = getActionFromStateRef.current(state, configRef.current);
|
115
|
-
if (action !== void 0) try {
|
116
|
-
navigation.dispatch(action);
|
117
|
-
} catch (e) {
|
118
|
-
console.warn(`An error occurred when trying to handle the link '${url}': ${typeof e == "object" && e != null && "message" in e ? e.message : e}`);
|
119
|
-
} else navigation.resetRoot(state);
|
120
|
-
}
|
121
|
-
}), [
|
122
|
-
// enabled,
|
123
|
-
getStateFromURL, ref, subscribe]), {
|
124
|
-
getInitialState
|
125
|
-
};
|
126
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/fork/useLinking.native.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,kBAKO,mCAEP,QAAuB,8BACvB,sBAAkC,yBAElC,4BAAuC;AAMvC,MAAM,kBAA4B,CAAC;AAEpB,SAAR,WACL,KACA;AAAA;AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA,gBAAgB,MACd,QAAQ,KAAK;AAAA,IACX,4BAAQ,cAAc;AAAA,IACtB,IAAI;AAAA,MAAmB,CAAC;AAAA;AAAA;AAAA,QAGtB,WAAW,SAAS,GAAG;AAAA;AAAA,IACzB;AAAA,EACF,CAAC;AAAA,EACH,YAAY,CAAC,aAAa;AACxB,UAAM,WAAW,CAAC,EAAE,IAAI,MAAuB,SAAS,GAAG,GAErD,eAAe,4BAAQ,iBAAiB,OAAO,QAAQ;AAI7D,WAAO,MAAM;AACX,oBAAc,OAAO;AAAA,IACvB;AAAA,EACF;AAAA,EACA,mBAAmB,YAAAA;AAAA,EACnB,qBAAqB,YAAAC;AACvB,GACA;AAGA,QAAM;AAAA,IACJ,MAAM;AACJ,UAAI,QAAQ,IAAI,aAAa;AAC3B;AAOF;AAAA,MAEE,gBAAgB,UAEhB,QAAQ;AAAA,QACN;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA,6BAAS,OAAO,YACZ,yJACA;AAAA,QACN,EACG,KAAK;AAAA,CAAI,EACT,KAAK;AAAA,MACV;AAGF,YAAM,UAAU,OAAO;AAGvB,6BAAgB,KAAK,OAAO,GAGrB,MAAM;AACX,cAAM,QAAQ,gBAAgB,QAAQ,OAAO;AAE7C,QAAI,QAAQ,MACV,gBAAgB,OAAO,OAAO,CAAC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AW,SAAS,EAAE,IAAI,CAAC,GAAG;AACrE,gBAAQ;AAAA,UACN;AAAA,QACF;AACA;AAAA,MACF;AAEA,YAAM,SAAS,sBAAsB,QAAQ,OAAO,UAAU,OAAO;AAErE,UAAI,WAAW;AACb,YAAI;AACF,qBAAW,SAAS,MAAM;AAAA,QAC5B,SAAS,GAAG;AAGV,kBAAQ;AAAA,YACN,qDAAqD,GAAG,MACtD,OAAO,KAAM,YAAY,KAAK,QAAQ,aAAa,IAAI,EAAE,UAAU,CACrE;AAAA,UACF;AAAA,QACF;AAAA;AAEA,mBAAW,UAAU,KAAK;AAAA,IAE9B;AAAA,EACF,CAEyB,GACxB;AAAA;AAAA,IAED;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC,GAEM;AAAA,IACL;AAAA,EACF;AACF;",
|
5
|
-
"names": ["getStateFromPathDefault", "getActionFromStateDefault", "url"]
|
6
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
var __create = Object.create;
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf,
|
6
|
-
__hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __export = (target, all) => {
|
8
|
-
for (var name in all) __defProp(target, name, {
|
9
|
-
get: all[name],
|
10
|
-
enumerable: !0
|
11
|
-
});
|
12
|
-
},
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
15
|
-
get: () => from[key],
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
17
|
-
});
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
26
|
-
value: mod,
|
27
|
-
enumerable: !0
|
28
|
-
}) : target, mod)),
|
29
|
-
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
30
|
-
value: !0
|
31
|
-
}), mod);
|
32
|
-
var getURL_native_exports = {};
|
33
|
-
__export(getURL_native_exports, {
|
34
|
-
getURL: () => getURL
|
35
|
-
});
|
36
|
-
module.exports = __toCommonJS(getURL_native_exports);
|
37
|
-
var import_getDevServer = __toESM(require("react-native/Libraries/Core/Devtools/getDevServer"), 1);
|
38
|
-
function getURL() {
|
39
|
-
let url = process.env.ONE_SERVER_URL;
|
40
|
-
if (__DEV__) {
|
41
|
-
url || console.warn("The ONE_SERVER_URL environment variable is not set. While things will work in development mode as we'll be using your development server, you should still set ONE_SERVER_URL in your .env file for your production builds to work.");
|
42
|
-
const {
|
43
|
-
url: devServerUrl
|
44
|
-
} = (0, import_getDevServer.default)();
|
45
|
-
url = devServerUrl;
|
46
|
-
}
|
47
|
-
return url || (url = "http://one-server.example.com"), url.replace(/\/+$/, "");
|
48
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../src/getURL.native.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAyB;AAElB,SAAS,SAAS;AACvB,MAAI,MAAM,QAAQ,IAAI;AAEtB,MAAI,SAAS;AAEX,IAAK,OACH,QAAQ;AAAA,MACN;AAAA,IACF;AAGF,UAAM,EAAE,KAAK,aAAa,QAAI,oBAAAA,SAAa;AAC3C,UAAM;AAAA,EACR;AAEA,SAAK,QAEH,MAAM,kCAGD,IAAI,QAAQ,QAAQ,EAAE;AAC/B;",
|
5
|
-
"names": ["getDevServer"]
|
6
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __export = (target, all) => {
|
6
|
-
for (var name in all) __defProp(target, name, {
|
7
|
-
get: all[name],
|
8
|
-
enumerable: !0
|
9
|
-
});
|
10
|
-
},
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
13
|
-
get: () => from[key],
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
15
|
-
});
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
19
|
-
value: !0
|
20
|
-
}), mod);
|
21
|
-
var Head_android_exports = {};
|
22
|
-
__export(Head_android_exports, {
|
23
|
-
Head: () => Head
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(Head_android_exports);
|
26
|
-
var import_HeadModule = require("./HeadModule.cjs");
|
27
|
-
const Head = props => null;
|
28
|
-
Object.assign(Head, import_HeadModule.HeadModule);
|