one 1.1.297 → 1.1.299
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/Root.js.map +1 -1
- package/dist/cjs/Root.native.js.map +1 -1
- package/dist/cjs/cleanUrl.js +9 -2
- package/dist/cjs/cleanUrl.js.map +1 -1
- package/dist/cjs/cleanUrl.native.js +5 -2
- package/dist/cjs/cleanUrl.native.js.map +2 -2
- package/dist/cjs/vite/replaceLoader.js +7 -1
- package/dist/cjs/vite/replaceLoader.js.map +1 -1
- package/dist/cjs/vite/replaceLoader.native.js +7 -1
- package/dist/cjs/vite/replaceLoader.native.js.map +1 -1
- package/dist/esm/Root.js.map +1 -1
- package/dist/esm/Root.mjs.map +1 -1
- package/dist/esm/Root.native.js +110 -104
- package/dist/esm/Root.native.js.map +6 -1
- package/dist/esm/Route.native.js +12 -10
- package/dist/esm/Route.native.js.map +6 -1
- package/dist/esm/cleanUrl.js +9 -2
- package/dist/esm/cleanUrl.js.map +1 -1
- package/dist/esm/cleanUrl.mjs +7 -2
- package/dist/esm/cleanUrl.mjs.map +1 -1
- package/dist/esm/cleanUrl.native.js +16 -13
- package/dist/esm/cleanUrl.native.js.map +6 -1
- package/dist/esm/cli/label-process.native.js +5 -4
- package/dist/esm/cli/label-process.native.js.map +6 -1
- package/dist/esm/cli/main.native.js +8 -13
- package/dist/esm/cli/main.native.js.map +6 -1
- package/dist/esm/cli/prebuild.native.js +5 -5
- package/dist/esm/cli/prebuild.native.js.map +6 -1
- package/dist/esm/cli/run.native.js +21 -28
- package/dist/esm/cli/run.native.js.map +6 -1
- package/dist/esm/cli.native.js +119 -148
- package/dist/esm/cli.native.js.map +6 -1
- package/dist/esm/clientLoaderResolver.native.js +9 -6
- package/dist/esm/clientLoaderResolver.native.js.map +6 -1
- package/dist/esm/config.native.js +12 -11
- package/dist/esm/config.native.js.map +6 -1
- package/dist/esm/constants.native.js +7 -5
- package/dist/esm/constants.native.js.map +6 -1
- package/dist/esm/createApp.native.js +13 -9
- package/dist/esm/createApp.native.js.map +6 -1
- package/dist/esm/createHandleRequest.native.js +55 -64
- package/dist/esm/createHandleRequest.native.js.map +6 -1
- package/dist/esm/createRoute.native.js +16 -16
- package/dist/esm/createRoute.native.js.map +6 -1
- package/dist/esm/fallbackViews/Sitemap.native.js +6 -3
- package/dist/esm/fallbackViews/Sitemap.native.js.map +6 -1
- package/dist/esm/fallbackViews/Unmatched.native.js +5 -3
- package/dist/esm/fallbackViews/Unmatched.native.js.map +6 -1
- package/dist/esm/fork/NavigationContainer.native.js +24 -31
- package/dist/esm/fork/NavigationContainer.native.js.map +6 -1
- package/dist/esm/fork/createMemoryHistory.native.js +99 -115
- package/dist/esm/fork/createMemoryHistory.native.js.map +6 -1
- package/dist/esm/fork/extractPathFromURL.native.js +16 -15
- package/dist/esm/fork/extractPathFromURL.native.js.map +6 -1
- package/dist/esm/fork/findFocusedRoute.native.js +6 -5
- package/dist/esm/fork/findFocusedRoute.native.js.map +6 -1
- package/dist/esm/fork/getPathFromState.native.js +127 -140
- package/dist/esm/fork/getPathFromState.native.js.map +6 -1
- package/dist/esm/fork/getStateFromPath.native.js +292 -288
- package/dist/esm/fork/getStateFromPath.native.js.map +6 -1
- package/dist/esm/fork/useLinking.native.js +70 -61
- package/dist/esm/fork/useLinking.native.js.map +6 -1
- package/dist/esm/fork/validatePathConfig.native.js +15 -9
- package/dist/esm/fork/validatePathConfig.native.js.map +6 -1
- package/dist/esm/getLinkingConfig.native.js +11 -6
- package/dist/esm/getLinkingConfig.native.js.map +6 -1
- package/dist/esm/getReactNavigationConfig.native.js +28 -20
- package/dist/esm/getReactNavigationConfig.native.js.map +6 -1
- package/dist/esm/getRoutes.native.js +249 -229
- package/dist/esm/getRoutes.native.js.map +6 -1
- package/dist/esm/getURL.native.js +4 -4
- package/dist/esm/getURL.native.js.map +6 -1
- package/dist/esm/head/Head.android.js +5 -3
- package/dist/esm/head/Head.android.js.map +6 -1
- package/dist/esm/head/Head.ios.js +144 -132
- package/dist/esm/head/Head.ios.js.map +6 -1
- package/dist/esm/head/Head.native.js +7 -7
- package/dist/esm/head/Head.native.js.map +6 -1
- package/dist/esm/head/HeadModule.native.js +6 -6
- package/dist/esm/head/HeadModule.native.js.map +6 -1
- package/dist/esm/head/index.native.js +2 -2
- package/dist/esm/head/index.native.js.map +6 -1
- package/dist/esm/head/types.native.js +1 -2
- package/dist/esm/head/types.native.js.map +6 -1
- package/dist/esm/head/url.native.js +10 -8
- package/dist/esm/head/url.native.js.map +6 -1
- package/dist/esm/hooks.native.js +53 -34
- package/dist/esm/hooks.native.js.map +6 -1
- package/dist/esm/imperative-api.native.js +9 -6
- package/dist/esm/imperative-api.native.js.map +6 -1
- package/dist/esm/import-mode/index.android.js +4 -3
- package/dist/esm/import-mode/index.android.js.map +6 -1
- package/dist/esm/import-mode/index.ios.js +4 -3
- package/dist/esm/import-mode/index.ios.js.map +6 -1
- package/dist/esm/import-mode/index.native.js +3 -1
- package/dist/esm/import-mode/index.native.js.map +6 -1
- package/dist/esm/index.native.js +65 -27
- package/dist/esm/index.native.js.map +6 -1
- package/dist/esm/interfaces/router.native.js +4 -2
- package/dist/esm/interfaces/router.native.js.map +6 -1
- package/dist/esm/layouts/Drawer.native.js +7 -6
- package/dist/esm/layouts/Drawer.native.js.map +6 -1
- package/dist/esm/layouts/Stack.native.js +7 -6
- package/dist/esm/layouts/Stack.native.js.map +6 -1
- package/dist/esm/layouts/Tabs.native.js +42 -39
- package/dist/esm/layouts/Tabs.native.js.map +6 -1
- package/dist/esm/layouts/withLayoutContext.native.js +51 -48
- package/dist/esm/layouts/withLayoutContext.native.js.map +6 -1
- package/dist/esm/link/Link.native.js +62 -53
- package/dist/esm/link/Link.native.js.map +6 -1
- package/dist/esm/link/Redirect.native.js +8 -9
- package/dist/esm/link/Redirect.native.js.map +6 -1
- package/dist/esm/link/href.native.js +28 -27
- package/dist/esm/link/href.native.js.map +6 -1
- package/dist/esm/link/linking.native.js +51 -40
- package/dist/esm/link/linking.native.js.map +6 -1
- package/dist/esm/link/path.native.js +28 -19
- package/dist/esm/link/path.native.js.map +6 -1
- package/dist/esm/link/useLinkTo.native.js +22 -20
- package/dist/esm/link/useLinkTo.native.js.map +6 -1
- package/dist/esm/link/useLoadedNavigation.native.js +30 -23
- package/dist/esm/link/useLoadedNavigation.native.js.map +6 -1
- package/dist/esm/matchers.native.js +16 -3
- package/dist/esm/matchers.native.js.map +6 -1
- package/dist/esm/platform.native.js +4 -2
- package/dist/esm/platform.native.js.map +6 -1
- package/dist/esm/polyfills-mobile.native.js +4 -5
- package/dist/esm/polyfills-mobile.native.js.map +6 -1
- package/dist/esm/polyfills-server.native.js +1 -1
- package/dist/esm/polyfills-server.native.js.map +6 -1
- package/dist/esm/render.native.js +3 -1
- package/dist/esm/render.native.js.map +6 -1
- package/dist/esm/router/RouterStore.native.js +1 -2
- package/dist/esm/router/RouterStore.native.js.map +6 -1
- package/dist/esm/router/constants.native.js +4 -2
- package/dist/esm/router/constants.native.js.map +6 -1
- package/dist/esm/router/getNormalizedStatePath.native.js +18 -17
- package/dist/esm/router/getNormalizedStatePath.native.js.map +6 -1
- package/dist/esm/router/lastAction.native.js +10 -9
- package/dist/esm/router/lastAction.native.js.map +6 -1
- package/dist/esm/router/router.native.js +135 -114
- package/dist/esm/router/router.native.js.map +6 -1
- package/dist/esm/router/serverLocationContext.native.js +4 -2
- package/dist/esm/router/serverLocationContext.native.js.map +6 -1
- package/dist/esm/router/useInitializeOneRouter.native.js +8 -5
- package/dist/esm/router/useInitializeOneRouter.native.js.map +6 -1
- package/dist/esm/serve.native.js +77 -104
- package/dist/esm/serve.native.js.map +6 -1
- package/dist/esm/server/createRoutesManifest.native.js +14 -11
- package/dist/esm/server/createRoutesManifest.native.js.map +6 -1
- package/dist/esm/server/getServerManifest.native.js +61 -67
- package/dist/esm/server/getServerManifest.native.js.map +6 -1
- package/dist/esm/server-render.native.js +9 -10
- package/dist/esm/server-render.native.js.map +6 -1
- package/dist/esm/sortRoutes.native.js +27 -17
- package/dist/esm/sortRoutes.native.js.map +6 -1
- package/dist/esm/typed-routes/generateRouteTypes.native.js +10 -11
- package/dist/esm/typed-routes/generateRouteTypes.native.js.map +6 -1
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js +38 -37
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js.map +6 -1
- package/dist/esm/types.native.js +1 -2
- package/dist/esm/types.native.js.map +6 -1
- package/dist/esm/useFocusEffect.native.js +25 -22
- package/dist/esm/useFocusEffect.native.js.map +6 -1
- package/dist/esm/useLoader.native.js +50 -50
- package/dist/esm/useLoader.native.js.map +6 -1
- package/dist/esm/useNavigation.native.js +23 -19
- package/dist/esm/useNavigation.native.js.map +6 -1
- package/dist/esm/useScreens.native.js +143 -160
- package/dist/esm/useScreens.native.js.map +6 -1
- package/dist/esm/useViteRoutes.native.js +25 -28
- package/dist/esm/useViteRoutes.native.js.map +6 -1
- package/dist/esm/utils/assertIsReady.native.js +6 -3
- package/dist/esm/utils/assertIsReady.native.js.map +6 -1
- package/dist/esm/utils/dynamicImport.native.js +5 -3
- package/dist/esm/utils/dynamicImport.native.js.map +6 -1
- package/dist/esm/utils/existsAsync.native.js +6 -4
- package/dist/esm/utils/existsAsync.native.js.map +6 -1
- package/dist/esm/utils/getPageExport.native.js +12 -11
- package/dist/esm/utils/getPageExport.native.js.map +6 -1
- package/dist/esm/utils/globDir.native.js +5 -3
- package/dist/esm/utils/globDir.native.js.map +6 -1
- package/dist/esm/utils/hashString.native.js +4 -2
- package/dist/esm/utils/hashString.native.js.map +6 -1
- package/dist/esm/utils/isResponse.native.js +4 -2
- package/dist/esm/utils/isResponse.native.js.map +6 -1
- package/dist/esm/utils/isStatus.native.js +4 -2
- package/dist/esm/utils/isStatus.native.js.map +6 -1
- package/dist/esm/utils/promiseWithResolvers.native.js +7 -7
- package/dist/esm/utils/promiseWithResolvers.native.js.map +6 -1
- package/dist/esm/utils/rand.native.js +5 -3
- package/dist/esm/utils/rand.native.js.map +6 -1
- package/dist/esm/utils/redirect.native.js +7 -5
- package/dist/esm/utils/redirect.native.js.map +6 -1
- package/dist/esm/utils/removeSearch.native.js +4 -2
- package/dist/esm/utils/removeSearch.native.js.map +6 -1
- package/dist/esm/utils/removeUndefined.native.js +6 -3
- package/dist/esm/utils/removeUndefined.native.js.map +6 -1
- package/dist/esm/utils/requireResolve.native.js +4 -2
- package/dist/esm/utils/requireResolve.native.js.map +6 -1
- package/dist/esm/utils/url.native.js +6 -2
- package/dist/esm/utils/url.native.js.map +6 -1
- package/dist/esm/utils/weakKey.native.js +11 -10
- package/dist/esm/utils/weakKey.native.js.map +6 -1
- package/dist/esm/utils/weakMemo.native.js +8 -8
- package/dist/esm/utils/weakMemo.native.js.map +6 -1
- package/dist/esm/views/EmptyRoute.native.js +5 -3
- package/dist/esm/views/EmptyRoute.native.js.map +6 -1
- package/dist/esm/views/ErrorBoundary.native.js +5 -8
- package/dist/esm/views/ErrorBoundary.native.js.map +6 -1
- package/dist/esm/views/LoadProgressBar.native.js +58 -57
- package/dist/esm/views/LoadProgressBar.native.js.map +6 -1
- package/dist/esm/views/Navigator.native.js +54 -71
- package/dist/esm/views/Navigator.native.js.map +6 -1
- package/dist/esm/views/PreloadLinks.native.js +3 -1
- package/dist/esm/views/PreloadLinks.native.js.map +6 -1
- package/dist/esm/views/RootErrorBoundary.native.js +39 -29
- package/dist/esm/views/RootErrorBoundary.native.js.map +6 -1
- package/dist/esm/views/Screen.native.js +12 -12
- package/dist/esm/views/Screen.native.js.map +6 -1
- package/dist/esm/views/ScrollRestoration.native.js +27 -27
- package/dist/esm/views/ScrollRestoration.native.js.map +6 -1
- package/dist/esm/views/Try.native.js +40 -37
- package/dist/esm/views/Try.native.js.map +6 -1
- package/dist/esm/vite/build.native.js +260 -295
- package/dist/esm/vite/build.native.js.map +6 -1
- package/dist/esm/vite/clientTreeShakePlugin.native.js +34 -33
- package/dist/esm/vite/clientTreeShakePlugin.native.js.map +6 -1
- package/dist/esm/vite/constants.native.js +6 -4
- package/dist/esm/vite/constants.native.js.map +6 -1
- package/dist/esm/vite/createFileSystemRouter.native.js +99 -130
- package/dist/esm/vite/createFileSystemRouter.native.js.map +6 -1
- package/dist/esm/vite/customNodeExternals.native.js +9 -10
- package/dist/esm/vite/customNodeExternals.native.js.map +6 -1
- package/dist/esm/vite/ensureTsConfig.native.js +7 -5
- package/dist/esm/vite/ensureTsConfig.native.js.map +6 -1
- package/dist/esm/vite/findDepsToOptimize.native.js +27 -19
- package/dist/esm/vite/findDepsToOptimize.native.js.map +6 -1
- package/dist/esm/vite/fixDependenciesPlugin.native.js +5 -3
- package/dist/esm/vite/fixDependenciesPlugin.native.js.map +6 -1
- package/dist/esm/vite/generateTypesForRoutes.native.js +9 -9
- package/dist/esm/vite/generateTypesForRoutes.native.js.map +6 -1
- package/dist/esm/vite/getManifest.native.js +6 -4
- package/dist/esm/vite/getManifest.native.js.map +6 -1
- package/dist/esm/vite/headers.native.js +11 -5
- package/dist/esm/vite/headers.native.js.map +6 -1
- package/dist/esm/vite/loadEnv.native.js +7 -6
- package/dist/esm/vite/loadEnv.native.js.map +6 -1
- package/dist/esm/vite/makePluginWebOnly.native.js +9 -5
- package/dist/esm/vite/makePluginWebOnly.native.js.map +6 -1
- package/dist/esm/vite/one.native.js +142 -127
- package/dist/esm/vite/one.native.js.map +6 -1
- package/dist/esm/vite/removeReactNativeWebAnimatedPlugin.native.js +14 -11
- package/dist/esm/vite/removeReactNativeWebAnimatedPlugin.native.js.map +6 -1
- package/dist/esm/vite/replaceLoader.js +7 -1
- package/dist/esm/vite/replaceLoader.js.map +1 -1
- package/dist/esm/vite/replaceLoader.mjs +5 -1
- package/dist/esm/vite/replaceLoader.mjs.map +1 -1
- package/dist/esm/vite/replaceLoader.native.js +13 -10
- package/dist/esm/vite/replaceLoader.native.js.map +6 -1
- package/dist/esm/vite/resolveAPIRequest.native.js +44 -47
- package/dist/esm/vite/resolveAPIRequest.native.js.map +6 -1
- package/dist/esm/vite/server.native.js +5 -4
- package/dist/esm/vite/server.native.js.map +6 -1
- package/dist/esm/vite/types.native.js +1 -2
- package/dist/esm/vite/types.native.js.map +6 -1
- package/dist/esm/vite/virtualEntryPlugin.native.js +21 -16
- package/dist/esm/vite/virtualEntryPlugin.native.js.map +6 -1
- package/dist/esm/vite/vitePluginSsrCss.native.js +61 -50
- package/dist/esm/vite/vitePluginSsrCss.native.js.map +6 -1
- package/dist/esm/vite.native.js +19 -10
- package/dist/esm/vite.native.js.map +6 -1
- package/dist/esm/zero/getQueryKey.native.js +5 -3
- package/dist/esm/zero/getQueryKey.native.js.map +6 -1
- package/dist/esm/zero/isZeroQuery.native.js +4 -2
- package/dist/esm/zero/isZeroQuery.native.js.map +6 -1
- package/dist/esm/zero/resolveQuery.native.js +9 -8
- package/dist/esm/zero/resolveQuery.native.js.map +6 -1
- package/dist/esm/zero/subscribeToQuery.native.js +5 -3
- package/dist/esm/zero/subscribeToQuery.native.js.map +6 -1
- package/dist/esm/zero/types.native.js +1 -2
- package/dist/esm/zero/types.native.js.map +6 -1
- package/dist/esm/zero/useQuery.native.js +12 -12
- package/dist/esm/zero/useQuery.native.js.map +6 -1
- package/dist/esm/zero/useQueryZero.native.js +24 -20
- package/dist/esm/zero/useQueryZero.native.js.map +6 -1
- package/dist/esm/zero.native.js +9 -5
- package/dist/esm/zero.native.js.map +6 -1
- package/package.json +7 -7
- package/src/Root.tsx +20 -16
- package/src/cleanUrl.ts +15 -1
- package/src/vite/replaceLoader.ts +7 -1
- package/types/cleanUrl.d.ts.map +1 -1
- package/types/vite/replaceLoader.d.ts.map +1 -1
package/dist/cjs/Root.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Root.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAsF,kBAEtF,uBAA8B,4BAC9B,2BAAkC,sCAElC,gBAKO,qCACP,kBAAuC,uCACvC,gCAA+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AAIE,MAAM,yBAAyB;AAG3C,SACE,uCAAA9D,KAAC+D,2BAAAA,SAAAA;IACCC,KAAKX,MAAMY;IACXC,cAAcb,MAAMa;IACpBC,SAASd,MAAMc;IACfC;IACAC,OAAOd,gBAAgB,SAASe,0BAAYC;IAC5CC,eAAe;MACbC,SAAS;IACX;IACC,GAAGrB;cAEJ,uCAAApD,KAAC0E,mDAAsBC,UAAQ;MAACC,OAAOzB;gBACpCT,QAAQ,uCAAA1C,KAAC4D,WAAAA,CAAAA,CAAAA,CAAAA;;;AAIlB;AAEA,IAAIQ;AAEArD,QAAQC,IAAIC,aAAa,eAC3BmD,oBAAoB,SAACS,QAAAA;AACnB,MAAMC,UAA2CD,OAAOC,SAEpDC,UAAU,eAAeF,OAAOtC,IAAI,IACtCuC,UAAU,iBAAiBhD,KAAKC,UAAU8C,OAAOC,OAAO,CAAA,KAAM,EAAA;AAGhE,UAAQD,OAAOtC,MAAI;IACjB,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;AACH,MAAIuC,WAAAA,QAAAA,QAASpE,OACXqE,WAAW;;6BAAkCD,QAAQpE,IAAI,OAEzDqE,WAAW;;;AAGb;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;EACJ;AAIA,MAFAA,WAAW;;uEAEPhE,QAAQC,IAAIC,aAAa;AAC3B,UAAM,IAAI6C,MAAMiB,OAAAA;AAElBC,UAAQC,MAAMF,OAAAA;AAChB,IAEAX,oBAAoB,WAAA;AAAO;",
|
5
5
|
"names": ["window", "__getReactRefreshIgnoredExports", "Root", "props", "loaderData", "contents", "_jsxs", "RootErrorBoundary", "_jsx", "Contents", "PreloadLinks", "isClient", "globalThis", "show", "setShow", "useState", "useEffect", "constructor", "name", "undefined", "html", "lang", "head", "process", "env", "NODE_ENV", "DevHead", "script", "dangerouslySetInnerHTML", "__html", "css", "map", "file", "link", "rel", "href", "body", "async", "JSON", "stringify", "loaderProps", "mode", "ssrCSSID", "rand", "_Fragment", "as", "data-ssr-css", "type", "routes", "path", "wrapper", "Fragment", "routeOptions", "context", "useViteRoutes", "location", "URL", "ContextNavigator", "ParentWrapper", "initialLocation", "navigationContainerProps", "store", "useInitializeOneRouter", "colorScheme", "useColorScheme", "children", "ScrollRestoration", "SafeAreaProviderCompat", "Component", "rootComponent", "Error", "UpstreamNavigationContainer", "ref", "navigationRef", "initialState", "linking", "onUnhandledAction", "theme", "DarkTheme", "DefaultTheme", "documentTitle", "enabled", "ServerLocationContext", "Provider", "value", "action", "payload", "message", "console", "error"]
|
6
6
|
}
|
package/dist/cjs/cleanUrl.js
CHANGED
@@ -28,10 +28,17 @@ function getPreloadPath(currentPath) {
|
|
28
28
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
29
29
|
}
|
30
30
|
function getLoaderPath(currentPath, includeUrl = import_constants.isNative) {
|
31
|
-
const baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
32
|
-
|
31
|
+
const baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(
|
32
|
+
currentPath,
|
33
|
+
"http://example.com"
|
34
|
+
/* not important, just for `new URL()` to work */
|
35
|
+
);
|
36
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
33
37
|
}
|
34
38
|
function getPathFromLoaderPath(loaderPath) {
|
35
39
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
36
40
|
}
|
41
|
+
function getSearchParams(searchParams) {
|
42
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
43
|
+
}
|
37
44
|
//# sourceMappingURL=cleanUrl.js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AAO,IAAI,IAClC,UAAU,QAAQ,IAAI,aAAa,gBAAgB,UAAU,IAE7D,iBAAiB,IAAI;AAAA,IACzB;AAAA,IACA;AAAA;AAAA,EACF;AAEA,SAAO,GAAG,OAAO,GAAG,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,CAAC,CAAC,CAAC,kBAAkB,gBAAgB,eAAe,MAAM,CAAC;AAC1I;AAEO,SAAS,sBAAsB,YAAoB;AACxD,SAAO,WACJ,QAAQ,mBAAmB,EAAE,EAC7B,QAAQ,sBAAsB,EAAE,EAChC,QAAQ,KAAK,GAAG;AACrB;AAEA,SAAS,gBAAgB,cAAc;AACrC,SAAK,eAIE,GAAG,YAAY,IAAI,iBAAiB,MAAM,CAAC,CAA8B,KAHvE;AAIX;",
|
5
5
|
"names": ["import_constants"]
|
6
6
|
}
|
@@ -29,12 +29,15 @@ function getPreloadPath(currentPath) {
|
|
29
29
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
30
30
|
}
|
31
31
|
function getLoaderPath(currentPath) {
|
32
|
-
var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : import_constants.isNative, baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "";
|
33
|
-
return `${baseURL}${devPath}/assets/${cleanUrl(
|
32
|
+
var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : import_constants.isNative, baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(currentPath, "http://example.com");
|
33
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
34
34
|
}
|
35
35
|
function getPathFromLoaderPath(loaderPath) {
|
36
36
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
37
37
|
}
|
38
|
+
function getSearchParams(searchParams) {
|
39
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
40
|
+
}
|
38
41
|
// Annotate the CommonJS export names for ESM import in node:
|
39
42
|
0 && (module.exports = {
|
40
43
|
getLoaderPath,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/cleanUrl.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;uBAAyB,wBACzB,gBAAuB,qBACvBA,oBAA0B,+BAC1B,sBAA6B;AAE7B,SAASC,SAASC,MAAY;AAC5B,aACEC,kCAAaD,IAAAA,EACVE,WAAW,KAAK,GAAA,EAEhBC,QAAQ,MAAM,EAAA;AAErB;AAEA,IAAMC,WAAW,OAAOC,SAAW,KAC7BC,mBAAmBF,WAAW,UAAUG,2BAAAA,KAAc,IACtDC,gBAAgBJ,eAAWK,sBAAAA,IAAW;AAErC,SAASC,eAAeC,aAAmB;AAChD,SAAO,GAAGH,aAAAA,WAAwBT,SAASY,YAAYC,MAAM,CAAA,CAAA,CAAA,cAAiBN,gBAAAA;AAChF;AAEO,SAASO,cACdF,aAAmB;MAEnBG,aAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAaC,2BAEPC,UAAUF,iBAAaL,sBAAAA,IAAW,IAClCQ,UAAUC,QAAQC,IAAIC,aAAa,gBAAgB,UAAU;
|
5
|
-
"names": ["import_constants", "cleanUrl", "path", "removeSearch", "replaceAll", "replace", "isClient", "window", "clientSideSearch", "CACHE_KEY", "clientSideURL", "getURL", "getPreloadPath", "currentPath", "slice", "getLoaderPath", "includeUrl", "isNative", "baseURL", "devPath", "process", "env", "NODE_ENV", "getPathFromLoaderPath", "loaderPath"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;uBAAyB,wBACzB,gBAAuB,qBACvBA,oBAA0B,+BAC1B,sBAA6B;AAE7B,SAASC,SAASC,MAAY;AAC5B,aACEC,kCAAaD,IAAAA,EACVE,WAAW,KAAK,GAAA,EAEhBC,QAAQ,MAAM,EAAA;AAErB;AAEA,IAAMC,WAAW,OAAOC,SAAW,KAC7BC,mBAAmBF,WAAW,UAAUG,2BAAAA,KAAc,IACtDC,gBAAgBJ,eAAWK,sBAAAA,IAAW;AAErC,SAASC,eAAeC,aAAmB;AAChD,SAAO,GAAGH,aAAAA,WAAwBT,SAASY,YAAYC,MAAM,CAAA,CAAA,CAAA,cAAiBN,gBAAAA;AAChF;AAEO,SAASO,cACdF,aAAmB;MAEnBG,aAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAaC,2BAEPC,UAAUF,iBAAaL,sBAAAA,IAAW,IAClCQ,UAAUC,QAAQC,IAAIC,aAAa,gBAAgB,UAAU,IAE7DC,iBAAiB,IAAIC,IACzBX,aACA,oBAAA;AAGF,SAAO,GAAGK,OAAAA,GAAUC,OAAAA,WAAkBlB,SAASsB,eAAeE,SAASX,MAAM,CAAA,CAAA,CAAA,kBAAqBY,gBAAgBH,eAAeI,MAAM,CAAA;AACzI;AAEO,SAASC,sBAAsBC,YAAkB;AACtD,SAAOA,WACJxB,QAAQ,mBAAmB,EAAA,EAC3BA,QAAQ,sBAAsB,EAAA,EAC9BA,QAAQ,KAAK,GAAA;AAClB;AAEA,SAASqB,gBAAgBI,cAAY;AACnC,SAAKA,eAIE,GAAGA,YAAAA,IAAgBtB,iBAAiBM,MAAM,CAAA,CAAA,KAHxCN;AAIX;",
|
5
|
+
"names": ["import_constants", "cleanUrl", "path", "removeSearch", "replaceAll", "replace", "isClient", "window", "clientSideSearch", "CACHE_KEY", "clientSideURL", "getURL", "getPreloadPath", "currentPath", "slice", "getLoaderPath", "includeUrl", "isNative", "baseURL", "devPath", "process", "env", "NODE_ENV", "currentPathUrl", "URL", "pathname", "getSearchParams", "search", "getPathFromLoaderPath", "loaderPath", "searchParams"]
|
6
6
|
}
|
@@ -22,7 +22,13 @@ function replaceLoader({
|
|
22
22
|
loaderData
|
23
23
|
}) {
|
24
24
|
const stringifiedData = JSON.stringify(loaderData);
|
25
|
-
return code.includes("__vxrn__loader__") ? code.replace(
|
25
|
+
return code.includes("__vxrn__loader__") ? code.replace(
|
26
|
+
/["']__vxrn__loader__['"]/,
|
27
|
+
// make sure this ' ' is added in front,
|
28
|
+
// minifiers will do `return"something"
|
29
|
+
// but if its null then it becomes returnnull
|
30
|
+
" " + stringifiedData
|
31
|
+
) : code + `
|
26
32
|
export const loader = () => (${stringifiedData})`;
|
27
33
|
}
|
28
34
|
//# sourceMappingURL=replaceLoader.js.map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/replaceLoader.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AACF,GAGG;AACD,QAAM,kBAAkB,KAAK,UAAU,UAAU;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AACF,GAGG;AACD,QAAM,kBAAkB,KAAK,UAAU,UAAU;AAejD,SAZO,KAAK,SAAS,kBAAkB,IAG9B,KAAK;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAIA,MAAM;AAAA,EACR,IARS,OAAO;AAAA,+BAAkC,eAAe;AAYrE;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -20,7 +20,13 @@ __export(replaceLoader_exports, {
|
|
20
20
|
module.exports = __toCommonJS(replaceLoader_exports);
|
21
21
|
function replaceLoader(param) {
|
22
22
|
var { code, loaderData } = param, stringifiedData = JSON.stringify(loaderData), out = function() {
|
23
|
-
return code.includes("__vxrn__loader__") ? code.replace(
|
23
|
+
return code.includes("__vxrn__loader__") ? code.replace(
|
24
|
+
/["']__vxrn__loader__['"]/,
|
25
|
+
// make sure this ' ' is added in front,
|
26
|
+
// minifiers will do `return"something"
|
27
|
+
// but if its null then it becomes returnnull
|
28
|
+
" " + stringifiedData
|
29
|
+
) : code + `
|
24
30
|
export const loader = () => (${stringifiedData})`;
|
25
31
|
}();
|
26
32
|
return out;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/replaceLoader.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,SAASA,cAAc,OAM7B;MAN6B,EAC5BC,MACAC,WAAU,IAFkB,OAOtBC,kBAAkBC,KAAKC,UAAUH,UAAAA,GAEjCI,MAAO,WAAA;AACX,WAAKL,KAAKM,SAAS,kBAAA,IAGZN,KAAKO,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,SAASA,cAAc,OAM7B;MAN6B,EAC5BC,MACAC,WAAU,IAFkB,OAOtBC,kBAAkBC,KAAKC,UAAUH,UAAAA,GAEjCI,MAAO,WAAA;AACX,WAAKL,KAAKM,SAAS,kBAAA,IAGZN,KAAKO;MACV;;;;MAIA,MAAML;IAAAA,IAPCF,OAAO;+BAAkCE,eAAAA;EASpD,EAAA;AAEA,SAAOG;AACT;",
|
5
5
|
"names": ["replaceLoader", "code", "loaderData", "stringifiedData", "JSON", "stringify", "out", "includes", "replace"]
|
6
6
|
}
|
package/dist/esm/Root.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Root.tsx"],
|
4
|
-
"mappings": "AAAA,SAAS,UAAU,WAAW,gBAAwD;AAEtF,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAElC;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,S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AAAA,MACC,KAAK,MAAM;AAAA,MACX,cAAc,MAAM;AAAA,MACpB,SAAS,MAAM;AAAA,MACf;AAAA,MACA,OAAO,gBAAgB,SAAS,YAAY;AAAA,MAC5C,eAAe;AAAA,QACb,SAAS;AAAA,MACX;AAAA,MACC,GAAG;AAAA,MAEJ,8BAAC,sBAAsB,UAAtB,EAA+B,OAAO,iBACpC,kBAAQ,oBAAC,aAAU,CAAE,GACxB;AAAA;AAAA,EACF;AAEJ;AAEA,IAAI;AAEA,QAAQ,IAAI,aAAa,eAC3B,oBAAoB,CAAC,WAA6B;AAChD,QAAM,UAA2C,OAAO;AAExD,MAAI,UAAU,eAAe,OAAO,IAAI,IACtC,UAAU,iBAAiB,KAAK,UAAU,OAAO,OAAO,CAAC,KAAK,EAChE;AAEA,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,MAAI,SAAS,OACX,WAAW;AAAA;AAAA,6BAAkC,QAAQ,IAAI,OAEzD,WAAW;AAAA;AAAA;AAGb;AAAA,IACF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,iBAAW;AAAA;AAAA;AACX;AAAA,IACF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,iBAAW;AAAA;AAAA;AACX;AAAA,EACJ;AAIA,MAFA,WAAW;AAAA;AAAA,uEAEP,QAAQ,IAAI,aAAa;AAC3B,UAAM,IAAI,MAAM,OAAO;AAEzB,UAAQ,MAAM,OAAO;AACvB,IAEA,oBAAoB,MAAM;AAAC;",
|
5
5
|
"names": ["Fragment"]
|
6
6
|
}
|
package/dist/esm/Root.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","Fragment2","jsx","jsxs","window","__getReactRefreshIgnoredExports","Root","props","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message","console","error"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,EAAUC,SAAA,EAAWC,QAAA,QAAwD;AAEtF,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SACEC,SAAA,EACAC,YAAA,QAGK;AACP,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,OAAOC,2BAAA,MAAiC;AACxC,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,YAAA,QAAoB;AAC7B,SAASC,iBAAA,QAAyB;AAElC,SAASC,IAAA,QAAY;AAwCjB,SAoEAd,QAAA,IAAAe,SAAA,EAlEEC,GAAA,EAFFC,IAAA;AArCA,OAAOC,MAAA,GAAW,QAEpBA,MAAA,CAAOC,+BAAA,GAAkC,MAAM,CAAC,iBAAiB,sBAAsB,QAAQ;AA8B1F,SAASC,KAAKC,KAAA,EAAkB;EAGrC,MAAMC,QAAA;EAAA;EAEJ;EAAAL,IAAA,CAACb,iBAAA;IAECmB,QAAA,kBAAAP,GAAA,CAACQ,QAAA;MAAyB,GAAGH;IAAA,GAAf,UAAsB,GACpC,eAAAL,GAAA,CAACJ,YAAA,MAAiB,eAAgB;EAAA,CACpC;EAIF,IAAIS,KAAA,CAAMI,QAAA,EAAU;IAClB,IAAIC,UAAA,CAAWC,mBAAA,KAA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AU;EACjB,OACE,eAAApB,IAAA,CAAAF,SAAA;IACEQ,QAAA,kBAAAP,GAAA,CAAC;MAAK2B,GAAA,EAAI;MAAUC,IAAA,EAAMM,QAAA;MAAUC,EAAA,EAAG;IAAA,CAAQ,GAC/C,eAAAnC,GAAA,CAAC;MAAK2B,GAAA,EAAI;MAAaC,IAAA,EAAMM,QAAA;MAAU,gBAAY;IAAA,CAAC,GACpD,eAAAlC,GAAA,CAAC;MACCoC,IAAA,EAAK;MACLd,uBAAA,EAAyB;QACvBC,MAAA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;MAOV;IAAA,CACF,GACA,eAAAvB,GAAA,CAAC;MACCoC,IAAA,EAAK;MACLd,uBAAA,EAAyB;QACvBC,MAAA,EAAQ;AAAA;AAAA;AAAA;MAIV;IAAA,CACF;EAAA,CACF;AAEJ;AAEA,SAASf,SAAS;EAAE6B,MAAA;EAAQC,IAAA;EAAMC,OAAA,GAAUvD,QAAA;EAAUwD,YAAA;EAAc,GAAGnC;AAAM,GAAc;EACzF,MAAMoC,OAAA,GAAUtD,aAAA,CAAckD,MAAA,EAAQG,YAAA,EAAc9B,UAAA,CAAWgC,aAAgB;IAGzEC,QAAA,GACJ,OAAOzC,MAAA,GAAW,OAAeA,MAAA,CAAOyC,QAAA,GACpC,IAAIC,GAAA,CAAIN,IAAA,IAAQpC,MAAA,CAAOyC,QAAA,CAASf,IAAA,IAAQ,KAAK1B,MAAA,CAAOyC,QAAA,CAASf,IAAI,IACjE,IAAIgB,GAAA,CAAIN,IAAA,IAAQ,KAAK,kBAAkB;EAE7C,OAAO,eAAAtC,GAAA,CAAC6C,gBAAA;IAAkB,GAAGxC,KAAA;IAAOsC,QAAA;IAAoBF,OAAA;IAAkBF;EAAA,CAAkB;AAC9F;
|
1
|
+
{"version":3,"names":["Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","Fragment2","jsx","jsxs","window","__getReactRefreshIgnoredExports","Root","props","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message","console","error"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,EAAUC,SAAA,EAAWC,QAAA,QAAwD;AAEtF,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SACEC,SAAA,EACAC,YAAA,QAGK;AACP,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,OAAOC,2BAAA,MAAiC;AACxC,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,YAAA,QAAoB;AAC7B,SAASC,iBAAA,QAAyB;AAElC,SAASC,IAAA,QAAY;AAwCjB,SAoEAd,QAAA,IAAAe,SAAA,EAlEEC,GAAA,EAFFC,IAAA;AArCA,OAAOC,MAAA,GAAW,QAEpBA,MAAA,CAAOC,+BAAA,GAAkC,MAAM,CAAC,iBAAiB,sBAAsB,QAAQ;AA8B1F,SAASC,KAAKC,KAAA,EAAkB;EAGrC,MAAMC,QAAA;EAAA;EAEJ;EAAAL,IAAA,CAACb,iBAAA;IAECmB,QAAA,kBAAAP,GAAA,CAACQ,QAAA;MAAyB,GAAGH;IAAA,GAAf,UAAsB,GACpC,eAAAL,GAAA,CAACJ,YAAA,MAAiB,eAAgB;EAAA,CACpC;EAIF,IAAIS,KAAA,CAAMI,QAAA,EAAU;IAClB,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IACb,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;MACC6B,OAAA,EAASjD,IAAA,GACXkD,OAAA,IAAW;AAAA;AAAA,6BAAkCD,OAAA,CAAQjD,IAAI,OAEzDkD,OAAA,IAAW;AAAA;AAAA;MAGb;IACF,KAAK;IACL,KAAK;IACL,KAAK;MACHA,OAAA,IAAW;AAAA;AAAA;MACX;IACF,KAAK;IACL,KAAK;IACL,KAAK;MACHA,OAAA,IAAW;AAAA;AAAA;MACX;EACJ;EAIA,IAFAA,OAAA,IAAW;AAAA;AAAA,uEAEPhD,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,QAC3B,MAAM,IAAIiC,KAAA,CAAMa,OAAO;EAEzBC,OAAA,CAAQC,KAAA,CAAMF,OAAO;AACvB,IAEAR,iBAAA,GAAoBA,CAAA,KAAM,CAAC","ignoreList":[]}
|
package/dist/esm/Root.native.js
CHANGED
@@ -1,118 +1,126 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
2
|
import { Fragment, useEffect, useState } from "react";
|
3
|
-
import { useViteRoutes } from "./useViteRoutes
|
4
|
-
import { RootErrorBoundary } from "./views/RootErrorBoundary
|
3
|
+
import { useViteRoutes } from "./useViteRoutes";
|
4
|
+
import { RootErrorBoundary } from "./views/RootErrorBoundary";
|
5
5
|
import { DarkTheme, DefaultTheme } from "@react-navigation/native";
|
6
6
|
import { SafeAreaProviderCompat } from "@react-navigation/elements";
|
7
7
|
import { useColorScheme } from "@vxrn/universal-color-scheme";
|
8
|
-
import UpstreamNavigationContainer from "./fork/NavigationContainer
|
9
|
-
import { ServerLocationContext } from "./router/serverLocationContext
|
10
|
-
import { useInitializeOneRouter } from "./router/useInitializeOneRouter
|
11
|
-
import { PreloadLinks } from "./views/PreloadLinks
|
12
|
-
import { ScrollRestoration } from "./views/ScrollRestoration
|
13
|
-
import { rand } from "./utils/rand
|
14
|
-
typeof window < "u" && (window.__getReactRefreshIgnoredExports = function
|
15
|
-
return [
|
8
|
+
import UpstreamNavigationContainer from "./fork/NavigationContainer";
|
9
|
+
import { ServerLocationContext } from "./router/serverLocationContext";
|
10
|
+
import { useInitializeOneRouter } from "./router/useInitializeOneRouter";
|
11
|
+
import { PreloadLinks } from "./views/PreloadLinks";
|
12
|
+
import { ScrollRestoration } from "./views/ScrollRestoration";
|
13
|
+
import { rand } from "./utils/rand";
|
14
|
+
typeof window < "u" && (window.__getReactRefreshIgnoredExports = function() {
|
15
|
+
return [
|
16
|
+
"feedCardQuery",
|
17
|
+
"feedCardReplyQuery",
|
18
|
+
"loader"
|
19
|
+
];
|
16
20
|
});
|
17
21
|
function Root(props) {
|
18
|
-
var _loaderData_constructor,
|
19
|
-
_props_css,
|
20
|
-
contents =
|
22
|
+
var _loaderData_constructor, _props_css, contents = (
|
21
23
|
// <StrictMode>
|
22
|
-
/* @__PURE__ */
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
24
|
+
/* @__PURE__ */ _jsxs(RootErrorBoundary, {
|
25
|
+
children: [
|
26
|
+
/* for some reason warning if no key here */
|
27
|
+
/* @__PURE__ */ _jsx(Contents, {
|
28
|
+
...props
|
29
|
+
}, "contents"),
|
30
|
+
/* @__PURE__ */ _jsx(PreloadLinks, {}, "preload-links")
|
31
|
+
]
|
32
|
+
})
|
33
|
+
);
|
29
34
|
if (props.isClient) {
|
30
35
|
if (globalThis.__vxrnHydrateMode__ === "spa") {
|
31
36
|
var [show, setShow] = useState(!1);
|
32
|
-
return useEffect(function
|
37
|
+
return useEffect(function() {
|
33
38
|
setShow(!0);
|
34
39
|
}, []), show ? contents : null;
|
35
40
|
}
|
36
41
|
return contents;
|
37
42
|
}
|
38
|
-
var {
|
39
|
-
|
40
|
-
} = props;
|
41
|
-
return (loaderData == null || (_loaderData_constructor = loaderData.constructor) === null || _loaderData_constructor === void 0 ? void 0 : _loaderData_constructor.name) === "QueryImpl" && (loaderData = void 0), /* @__PURE__ */_jsxs("html", {
|
43
|
+
var { loaderData } = props;
|
44
|
+
return (loaderData == null || (_loaderData_constructor = loaderData.constructor) === null || _loaderData_constructor === void 0 ? void 0 : _loaderData_constructor.name) === "QueryImpl" && (loaderData = void 0), /* @__PURE__ */ _jsxs("html", {
|
42
45
|
lang: "en-US",
|
43
|
-
children: [
|
44
|
-
|
46
|
+
children: [
|
47
|
+
/* @__PURE__ */ _jsxs("head", {
|
48
|
+
children: [
|
49
|
+
process.env.NODE_ENV === "development" ? /* @__PURE__ */ _jsx(DevHead, {}) : null,
|
50
|
+
/* @__PURE__ */ _jsx("script", {
|
51
|
+
dangerouslySetInnerHTML: {
|
52
|
+
__html: "globalThis['global'] = globalThis"
|
53
|
+
}
|
54
|
+
}),
|
55
|
+
(_props_css = props.css) === null || _props_css === void 0 ? void 0 : _props_css.map(function(file) {
|
56
|
+
return /* @__PURE__ */ _jsx("link", {
|
57
|
+
rel: "stylesheet",
|
58
|
+
href: file
|
59
|
+
}, file);
|
60
|
+
})
|
61
|
+
]
|
62
|
+
}),
|
63
|
+
/* @__PURE__ */ _jsx("body", {
|
64
|
+
children: contents
|
65
|
+
}),
|
66
|
+
/* could this just be loaded via the same loader.js? as a preload? i think so... */
|
67
|
+
/* @__PURE__ */ _jsx("script", {
|
68
|
+
async: !0,
|
69
|
+
// @ts-ignore
|
70
|
+
href: "one-loader-data",
|
45
71
|
dangerouslySetInnerHTML: {
|
46
|
-
__html:
|
47
|
-
}
|
48
|
-
}), (_props_css = props.css) === null || _props_css === void 0 ? void 0 : _props_css.map(function (file) {
|
49
|
-
return /* @__PURE__ */_jsx("link", {
|
50
|
-
rel: "stylesheet",
|
51
|
-
href: file
|
52
|
-
}, file);
|
53
|
-
})]
|
54
|
-
}), /* @__PURE__ */_jsx("body", {
|
55
|
-
children: contents
|
56
|
-
}), /* could this just be loaded via the same loader.js? as a preload? i think so... */
|
57
|
-
/* @__PURE__ */_jsx("script", {
|
58
|
-
async: !0,
|
59
|
-
// @ts-ignore
|
60
|
-
href: "one-loader-data",
|
61
|
-
dangerouslySetInnerHTML: {
|
62
|
-
__html: `
|
72
|
+
__html: `
|
63
73
|
globalThis['__vxrnPostRenderData__'] = { __vxrn__: 'post-render' };
|
64
74
|
globalThis['__vxrnLoaderData__'] = ${JSON.stringify(loaderData)};
|
65
75
|
globalThis['__vxrnLoaderProps__'] = ${JSON.stringify(props.loaderProps)};
|
66
76
|
globalThis['__vxrnHydrateMode__'] = ${JSON.stringify(props.mode)};
|
67
77
|
`
|
68
|
-
|
69
|
-
|
78
|
+
}
|
79
|
+
})
|
80
|
+
]
|
70
81
|
});
|
71
82
|
}
|
72
83
|
var ssrCSSID = `/@id/__x00__virtual:ssr-css.css?t=${rand()}`;
|
73
84
|
function DevHead() {
|
74
|
-
return /* @__PURE__ */_jsxs(_Fragment, {
|
75
|
-
children: [
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
85
|
+
return /* @__PURE__ */ _jsxs(_Fragment, {
|
86
|
+
children: [
|
87
|
+
/* @__PURE__ */ _jsx("link", {
|
88
|
+
rel: "preload",
|
89
|
+
href: ssrCSSID,
|
90
|
+
as: "style"
|
91
|
+
}),
|
92
|
+
/* @__PURE__ */ _jsx("link", {
|
93
|
+
rel: "stylesheet",
|
94
|
+
href: ssrCSSID,
|
95
|
+
"data-ssr-css": !0
|
96
|
+
}),
|
97
|
+
/* @__PURE__ */ _jsx("script", {
|
98
|
+
type: "module",
|
99
|
+
dangerouslySetInnerHTML: {
|
100
|
+
__html: `import { createHotContext } from "/@vite/client";
|
87
101
|
const hot = createHotContext("/__clear_ssr_css");
|
88
102
|
hot.on("vite:afterUpdate", () => {
|
89
103
|
document
|
90
104
|
.querySelectorAll("[data-ssr-css]")
|
91
105
|
.forEach(node => node.remove());
|
92
106
|
});`
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
107
|
+
}
|
108
|
+
}),
|
109
|
+
/* @__PURE__ */ _jsx("script", {
|
110
|
+
type: "module",
|
111
|
+
dangerouslySetInnerHTML: {
|
112
|
+
__html: `import { injectIntoGlobalHook } from "/@react-refresh";
|
98
113
|
injectIntoGlobalHook(window);
|
99
114
|
window.$RefreshReg$ = () => {};
|
100
115
|
window.$RefreshSig$ = () => (type) => type;`
|
101
|
-
|
102
|
-
|
116
|
+
}
|
117
|
+
})
|
118
|
+
]
|
103
119
|
});
|
104
120
|
}
|
105
121
|
function Contents(param) {
|
106
|
-
var {
|
107
|
-
|
108
|
-
path,
|
109
|
-
wrapper = Fragment,
|
110
|
-
routeOptions,
|
111
|
-
...props
|
112
|
-
} = param,
|
113
|
-
context = useViteRoutes(routes, routeOptions, globalThis.__vxrnVersion),
|
114
|
-
location = typeof window < "u" && window.location ? new URL(path || window.location.href || "/", window.location.href) : new URL(path || "/", "http://localhost");
|
115
|
-
return /* @__PURE__ */_jsx(ContextNavigator, {
|
122
|
+
var { routes, path, wrapper = Fragment, routeOptions, ...props } = param, context = useViteRoutes(routes, routeOptions, globalThis.__vxrnVersion), location = typeof window < "u" && window.location ? new URL(path || window.location.href || "/", window.location.href) : new URL(path || "/", "http://localhost");
|
123
|
+
return /* @__PURE__ */ _jsx(ContextNavigator, {
|
116
124
|
...props,
|
117
125
|
location,
|
118
126
|
context,
|
@@ -120,26 +128,21 @@ function Contents(param) {
|
|
120
128
|
});
|
121
129
|
}
|
122
130
|
function ContextNavigator(param) {
|
123
|
-
var {
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
[colorScheme] = useColorScheme(),
|
131
|
-
wrapper = function (children) {
|
132
|
-
return /* @__PURE__ */_jsxs(ParentWrapper, {
|
133
|
-
children: [/* default scroll restoration to on, but users can configure it by importing and using themselves */
|
134
|
-
/* @__PURE__ */_jsx(ScrollRestoration, {}), /* <GestureHandlerRootView> */
|
135
|
-
/* @__PURE__ */_jsx(SafeAreaProviderCompat, {
|
131
|
+
var { wrapper: ParentWrapper = Fragment, context, location: initialLocation, navigationContainerProps } = param, store = useInitializeOneRouter(context, initialLocation), [colorScheme] = useColorScheme(), wrapper = function(children) {
|
132
|
+
return /* @__PURE__ */ _jsxs(ParentWrapper, {
|
133
|
+
children: [
|
134
|
+
/* default scroll restoration to on, but users can configure it by importing and using themselves */
|
135
|
+
/* @__PURE__ */ _jsx(ScrollRestoration, {}),
|
136
|
+
/* <GestureHandlerRootView> */
|
137
|
+
/* @__PURE__ */ _jsx(SafeAreaProviderCompat, {
|
136
138
|
children
|
137
|
-
})
|
138
|
-
|
139
|
-
}
|
140
|
-
|
141
|
-
if (!Component)
|
142
|
-
|
139
|
+
})
|
140
|
+
]
|
141
|
+
});
|
142
|
+
}, Component = store.rootComponent;
|
143
|
+
if (!Component)
|
144
|
+
throw new Error("No root component found");
|
145
|
+
return /* @__PURE__ */ _jsx(UpstreamNavigationContainer, {
|
143
146
|
ref: store.navigationRef,
|
144
147
|
initialState: store.initialState,
|
145
148
|
linking: store.linking,
|
@@ -149,16 +152,15 @@ function ContextNavigator(param) {
|
|
149
152
|
enabled: !1
|
150
153
|
},
|
151
154
|
...navigationContainerProps,
|
152
|
-
children: /* @__PURE__ */_jsx(ServerLocationContext.Provider, {
|
155
|
+
children: /* @__PURE__ */ _jsx(ServerLocationContext.Provider, {
|
153
156
|
value: initialLocation,
|
154
|
-
children: wrapper(/* @__PURE__ */_jsx(Component, {}))
|
157
|
+
children: wrapper(/* @__PURE__ */ _jsx(Component, {}))
|
155
158
|
})
|
156
159
|
});
|
157
160
|
}
|
158
161
|
var onUnhandledAction;
|
159
|
-
process.env.NODE_ENV !== "production" ? onUnhandledAction = function
|
160
|
-
var payload = action.payload,
|
161
|
-
message = `The action '${action.type}'${payload ? ` with payload ${JSON.stringify(action.payload)}` : ""} was not handled by any navigator.`;
|
162
|
+
process.env.NODE_ENV !== "production" ? onUnhandledAction = function(action) {
|
163
|
+
var payload = action.payload, message = `The action '${action.type}'${payload ? ` with payload ${JSON.stringify(action.payload)}` : ""} was not handled by any navigator.`;
|
162
164
|
switch (action.type) {
|
163
165
|
case "NAVIGATE":
|
164
166
|
case "PUSH":
|
@@ -187,8 +189,12 @@ Is your screen inside a Drawer navigator?`;
|
|
187
189
|
}
|
188
190
|
if (message += `
|
189
191
|
|
190
|
-
This is a development-only warning and won't be shown in production.`, process.env.NODE_ENV === "test")
|
192
|
+
This is a development-only warning and won't be shown in production.`, process.env.NODE_ENV === "test")
|
193
|
+
throw new Error(message);
|
191
194
|
console.error(message);
|
192
|
-
} : onUnhandledAction = function
|
193
|
-
|
194
|
-
|
195
|
+
} : onUnhandledAction = function() {
|
196
|
+
};
|
197
|
+
export {
|
198
|
+
Root
|
199
|
+
};
|
200
|
+
//# sourceMappingURL=Root.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../src/Users/n8/one/packages/one/src/Root.tsx"],
|
4
|
+
"mappings": ";AAAA,SAASA,UAAUC,WAAWC,gBAAwD;AAEtF,SAASC,qBAAqB;AAC9B,SAASC,yBAAyB;AAElC,SACEC,WACAC,oBAGK;AACP,SAASC,8BAA8B;AACvC,SAASC,sBAAsB;AAC/B,OAAOC,iCAAiC;AACxC,SAASC,6BAA6B;AACtC,SAASC,8BAA8B;AACvC,SAASC,oBAAoB;AAC7B,SAASC,yBAAyB;AAElC,SAASC,YAAY;AAGjB,OAAOC,SAAW,QAEpBA,OAAOC,kCAAkC,WAAA;SAAM;IAAC;IAAiB;IAAsB;;;AA8BlF,SAASC,KAAKC,OAAgB;MA+B/BC,yBAeGD,YA3CDE;;IAEJ,sBAAChB,mBAAAA;;;QAEC,qBAACiB,UAAAA;UAAyB,GAAGH;WAAf,UAAA;QACd,qBAACN,cAAAA,CAAAA,GAAiB,eAAA;;;;AAKtB,MAAIM,MAAMI,UAAU;AAClB,QAAIC,WAAW,wBAA2B,OA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AOC,SAEpDC,UAAU,eAAeF,OAAO5B,IAAI,IACtC6B,UAAU,iBAAiBpC,KAAKC,UAAUkC,OAAOC,OAAO,CAAA,KAAM,EAAA;AAGhE,UAAQD,OAAO5B,MAAI;IACjB,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;AACH,MAAI6B,SAASxD,OACXyD,WAAW;;6BAAkCD,QAAQxD,IAAI,OAEzDyD,WAAW;;;AAGb;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;EACJ;AAIA,MAFAA,WAAW;;uEAEPpD,QAAQC,IAAIC,aAAa;AAC3B,UAAM,IAAIqC,MAAMa,OAAAA;AAElBC,UAAQC,MAAMF,OAAAA;AAChB,IAEAR,oBAAoB,WAAA;AAAO;",
|
5
|
+
"names": ["Fragment", "useEffect", "useState", "useViteRoutes", "RootErrorBoundary", "DarkTheme", "DefaultTheme", "SafeAreaProviderCompat", "useColorScheme", "UpstreamNavigationContainer", "ServerLocationContext", "useInitializeOneRouter", "PreloadLinks", "ScrollRestoration", "rand", "window", "__getReactRefreshIgnoredExports", "Root", "props", "loaderData", "contents", "Contents", "isClient", "globalThis", "show", "setShow", "constructor", "name", "undefined", "html", "lang", "head", "process", "env", "NODE_ENV", "DevHead", "script", "dangerouslySetInnerHTML", "__html", "css", "map", "file", "link", "rel", "href", "body", "async", "JSON", "stringify", "loaderProps", "mode", "ssrCSSID", "as", "data-ssr-css", "type", "routes", "path", "wrapper", "routeOptions", "context", "location", "URL", "ContextNavigator", "ParentWrapper", "initialLocation", "navigationContainerProps", "store", "colorScheme", "children", "Component", "rootComponent", "Error", "ref", "navigationRef", "initialState", "linking", "onUnhandledAction", "theme", "documentTitle", "enabled", "Provider", "value", "action", "payload", "message", "console", "error"]
|
6
|
+
}
|
package/dist/esm/Route.native.js
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import React, { useContext } from "react";
|
3
|
-
import { getContextKey } from "./matchers
|
4
|
-
var CurrentRouteContext = /* @__PURE__ */React.createContext(null);
|
3
|
+
import { getContextKey } from "./matchers";
|
4
|
+
var CurrentRouteContext = /* @__PURE__ */ React.createContext(null);
|
5
5
|
process.env.NODE_ENV !== "production" && (CurrentRouteContext.displayName = "RouteNode");
|
6
6
|
function useRouteNode() {
|
7
7
|
return useContext(CurrentRouteContext);
|
8
8
|
}
|
9
9
|
function useContextKey() {
|
10
10
|
var node = useRouteNode();
|
11
|
-
if (node == null)
|
11
|
+
if (node == null)
|
12
|
+
throw new Error("No filename found. This is likely a bug in router.");
|
12
13
|
return getContextKey(node.contextKey);
|
13
14
|
}
|
14
15
|
function Route(param) {
|
15
|
-
var {
|
16
|
-
|
17
|
-
node
|
18
|
-
} = param;
|
19
|
-
return /* @__PURE__ */_jsx(CurrentRouteContext.Provider, {
|
16
|
+
var { children, node } = param;
|
17
|
+
return /* @__PURE__ */ _jsx(CurrentRouteContext.Provider, {
|
20
18
|
value: node,
|
21
19
|
children
|
22
20
|
});
|
23
21
|
}
|
24
|
-
export {
|
25
|
-
|
22
|
+
export {
|
23
|
+
Route,
|
24
|
+
useContextKey,
|
25
|
+
useRouteNode
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=Route.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../src/Users/n8/one/packages/one/src/Route.tsx"],
|
4
|
+
"mappings": ";AAAA,OAAOA,SAASC,kBAAkC;AAElD,SAASC,qBAAqB;AA4C9B,IAAMC,sBAAsBH,sBAAMI,cAAgC,IAAA;AAE9DC,QAAQC,IAAIC,aAAa,iBAC3BJ,oBAAoBK,cAAc;AAI7B,SAASC,eAAAA;AACd,SAAOR,WAAWE,mBAAAA;AACpB;AAEO,SAASO,gBAAAA;AACd,MAAMC,OAAOF,aAAAA;AACb,MAAIE,QAAQ;AACV,UAAM,IAAIC,MAAM,oDAAA;AAElB,SAAOV,cAAcS,KAAKE,UAAU;AACtC;AAGO,SAASC,MAAM,OAA4D;MAA5D,EAAEC,UAAUJ,KAAI,IAAhB;AACpB,SAAO,qBAACR,oBAAoBa,UAAQ;IAACC,OAAON;;;AAC9C;",
|
5
|
+
"names": ["React", "useContext", "getContextKey", "CurrentRouteContext", "createContext", "process", "env", "NODE_ENV", "displayName", "useRouteNode", "useContextKey", "node", "Error", "contextKey", "Route", "children", "Provider", "value"]
|
6
|
+
}
|
package/dist/esm/cleanUrl.js
CHANGED
@@ -10,12 +10,19 @@ function getPreloadPath(currentPath) {
|
|
10
10
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
11
11
|
}
|
12
12
|
function getLoaderPath(currentPath, includeUrl = isNative) {
|
13
|
-
const baseURL = includeUrl ? getURL() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
14
|
-
|
13
|
+
const baseURL = includeUrl ? getURL() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(
|
14
|
+
currentPath,
|
15
|
+
"http://example.com"
|
16
|
+
/* not important, just for `new URL()` to work */
|
17
|
+
);
|
18
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
15
19
|
}
|
16
20
|
function getPathFromLoaderPath(loaderPath) {
|
17
21
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
18
22
|
}
|
23
|
+
function getSearchParams(searchParams) {
|
24
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
25
|
+
}
|
19
26
|
export {
|
20
27
|
getLoaderPath,
|
21
28
|
getPathFromLoaderPath,
|
package/dist/esm/cleanUrl.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
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