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
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/head/Users/n8/one/packages/one/src/head/url.tsx"],
|
4
|
+
"mappings": "AAAA,IAAMA,wBAAwB;AAG9B,SAASC,QAA2CC,IAAK;AACvD,MAAMC,QAA6B,CAAC;AACpC,SAAQ,WAAA;sCAAIC,OAAAA,IAAAA,MAAAA,IAAAA,GAAAA,OAAAA,GAAAA,OAAAA,MAAAA;AAAAA,WAAAA,IAAAA,IAAAA,UAAAA,IAAAA;AACV,QAAMC,MAAMC,KAAKC,UAAUH,IAAAA;AAC3B,QAAID,MAAME,GAAAA;AACR,aAAOF,MAAME,GAAAA;AAEf,QAAMG,SAASN,GAAAA,GAAME,IAAAA;AACrBD,iBAAME,GAAAA,IAAOG,QACNA;EACT;AACF;AAEA,SAASC,YAAYC,KAAW;MAgB9BC,SAfMA,SAAS,IAAIC,IAAIF,GAAAA,GAGjBG,gBACJ,CAACF,OAAOG,YAAYH,OAAOG,aAAa,WAAWH,OAAOG,aAAa;AAEzE,EAAKD,iBACHE,aACE,iDAAiDJ,OAAOG,QAAQ,wBAAwBd,qBAAAA,GAAwB,GAIpHW,OAAOK,WAAW,IAClBL,OAAOM,SAAS,IAChBN,OAAOO,OAAO;;AACdP,UAAAA,aAAAA,UAAAA,QAAOG,cAAAA,QAAAA,cAAAA,WAAPH,QAAOG,WAAa,WAEbH,OAAOQ,SAAQ,EAAGC,QAAQ,OAAO,EAAA;AAC1C;AAEA,IAAMC,kBAAkBpB,QAAQQ,WAAAA;AAEhC,SAASa,sBAAAA;AACP,MAAMC,SAASC,QAAQC,IAAIC;AAE3B,SAAKH,UASAA,OAAOI,MAAM,gBAAA,KAChBC,QAAQC,KACN,qBAAqBN,MAAAA,yCAA+CvB,qBAAAA,GAAwB,GAKzFqB,gBAAgBE,MAAAA,MAfrBR,aACE,4FAA4Ff,qBAAAA,uCAA4D,GAGnJ;AAYX;AAEA,SAASe,aAAae,KAAW;AAC/BF,UAAQC,KAAK,aAAaC,GAAAA,EAAK;AAWjC;AAEO,SAASC,0BAA0Bf,UAAgB;AAGxD,SAAOM,oBAAAA,IAAwBN;AACjC;",
|
5
|
+
"names": ["protocolWarningString", "memoize", "fn", "cache", "args", "key", "JSON", "stringify", "result", "sanitizeUrl", "url", "parsed", "URL", "validProtocol", "protocol", "throwOrAlert", "pathname", "search", "hash", "toString", "replace", "memoSanitizeUrl", "getUrlFromConstants", "origin", "process", "env", "One_ORIGIN", "match", "console", "warn", "msg", "getStaticUrlFromOneRouter"]
|
6
|
+
}
|
package/dist/esm/hooks.native.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { NavigationRouteContext } from "@react-navigation/native";
|
3
3
|
import React, { createContext } from "react";
|
4
|
-
import { router } from "./imperative-api
|
5
|
-
import { navigationRef, useStoreRootState, useStoreRouteInfo } from "./router/router
|
4
|
+
import { router } from "./imperative-api";
|
5
|
+
import { navigationRef, useStoreRootState, useStoreRouteInfo } from "./router/router";
|
6
6
|
function useRootNavigationState() {
|
7
7
|
return useStoreRootState();
|
8
8
|
}
|
@@ -12,23 +12,22 @@ function useRouteInfo() {
|
|
12
12
|
function useNavigationContainerRef() {
|
13
13
|
return navigationRef;
|
14
14
|
}
|
15
|
-
var FrozeContext = /* @__PURE__ */createContext(!1);
|
15
|
+
var FrozeContext = /* @__PURE__ */ createContext(!1);
|
16
16
|
function Frozen(param) {
|
17
|
-
var {
|
18
|
-
|
19
|
-
children
|
20
|
-
} = param;
|
21
|
-
return typeof window > "u" ? children : /* @__PURE__ */_jsx(FrozeContext.Provider, {
|
17
|
+
var { on = !1, children } = param;
|
18
|
+
return typeof window > "u" ? children : /* @__PURE__ */ _jsx(FrozeContext.Provider, {
|
22
19
|
value: on,
|
23
|
-
children: (
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
20
|
+
children: (
|
21
|
+
/* <Freeze freeze={on}> */
|
22
|
+
/* @__PURE__ */ _jsx("div", {
|
23
|
+
// @ts-ignore
|
24
|
+
inert: !0,
|
25
|
+
style: {
|
26
|
+
display: "contents"
|
27
|
+
},
|
28
|
+
children
|
29
|
+
})
|
30
|
+
)
|
32
31
|
});
|
33
32
|
}
|
34
33
|
function useRouter() {
|
@@ -46,27 +45,47 @@ function usePathname() {
|
|
46
45
|
function useActiveParams() {
|
47
46
|
return useStoreRouteInfo().params;
|
48
47
|
}
|
49
|
-
var useLocalSearchParams = useParams,
|
50
|
-
useGlobalSearchParams = useActiveParams;
|
48
|
+
var useLocalSearchParams = useParams, useGlobalSearchParams = useActiveParams;
|
51
49
|
function useParams() {
|
52
|
-
var context = React.useContext(NavigationRouteContext),
|
53
|
-
|
54
|
-
params = (_context_params = context?.params) !== null && _context_params !== void 0 ? _context_params : {};
|
55
|
-
return Object.fromEntries(Object.entries(params).map(function (param) {
|
50
|
+
var context = React.useContext(NavigationRouteContext), _context_params, params = (_context_params = context?.params) !== null && _context_params !== void 0 ? _context_params : {};
|
51
|
+
return Object.fromEntries(Object.entries(params).map(function(param) {
|
56
52
|
var [key, value] = param;
|
57
|
-
if (Array.isArray(value))
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
53
|
+
if (Array.isArray(value))
|
54
|
+
return [
|
55
|
+
key,
|
56
|
+
value.map(function(v) {
|
57
|
+
try {
|
58
|
+
return decodeURIComponent(v);
|
59
|
+
} catch {
|
60
|
+
return v;
|
61
|
+
}
|
62
|
+
})
|
63
|
+
];
|
64
64
|
try {
|
65
|
-
return [
|
65
|
+
return [
|
66
|
+
key,
|
67
|
+
decodeURIComponent(value)
|
68
|
+
];
|
66
69
|
} catch {
|
67
|
-
return [
|
70
|
+
return [
|
71
|
+
key,
|
72
|
+
value
|
73
|
+
];
|
68
74
|
}
|
69
75
|
}));
|
70
76
|
}
|
71
|
-
export {
|
72
|
-
|
77
|
+
export {
|
78
|
+
Frozen,
|
79
|
+
useActiveParams,
|
80
|
+
useGlobalSearchParams,
|
81
|
+
useLocalSearchParams,
|
82
|
+
useNavigationContainerRef,
|
83
|
+
useParams,
|
84
|
+
usePathname,
|
85
|
+
useRootNavigationState,
|
86
|
+
useRouteInfo,
|
87
|
+
useRouter,
|
88
|
+
useSegments,
|
89
|
+
useUnstableGlobalHref
|
90
|
+
};
|
91
|
+
//# sourceMappingURL=hooks.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../src/Users/n8/one/packages/one/src/hooks.tsx"],
|
4
|
+
"mappings": ";AAAA,SAASA,8BAA8B;AACvC,OAAOC,SAASC,qBAAqC;AACrD,SAASC,cAAc;AAEvB,SAASC,eAAeC,mBAAmBC,yBAAyB;AAI7D,SAASC,yBAAAA;AACd,SAAOF,kBAAAA;AACT;AAEO,SAASG,eAAAA;AACd,SAAOF,kBAAAA;AACT;AAGO,SAASG,4BAAAA;AACd,SAAOL;AACT;AAEA,IAAMM,eAAeR,8BAAc,EAAA;AAE5B,SAASS,OAAO,OAA+D;MAA/D,EAAEC,KAAK,IAAOC,SAAQ,IAAtB;AAQrB,SAAI,OAAOC,SAAW,MACbD,WAIP,qBAACH,aAAaK,UAAQ;IAACC,OAAOJ;;;MAE5B,qBAACK,OAAAA;;QAECC,OAAK;QACLC,OAAO;UAAEC,SAAS;QAAW;;;;;AAOrC;AAEO,SAASC,YAAAA;AACd,SAAOlB;AACT;AAMO,SAASmB,wBAAAA;AACd,SAAOhB,kBAAAA,EAAoBiB;AAC7B;AAqBO,SAASC,cAAAA;AACd,SAAOlB,kBAAAA,EAAoBmB;AAC7B;AAGO,SAASC,cAAAA;AACd,SAAOpB,kBAAAA,EAAoBqB;AAC7B;AAWO,SAASC,kBAAAA;AACd,SAAOtB,kBAAAA,EAAoBuB;AAC7B;AAGO,IAAMC,uBAAuBC,WAGvBC,wBAAwBJ;AAU9B,SAASG,YAAAA;AACd,MAAME,UAAUhC,MAAMiC,WAAWlC,sBAAAA,GAClBiC,iBAATJ,UAASI,kBAAAA,SAASJ,YAAM,QAAfI,oBAAAA,SAAAA,kBAAmB,CAAC;AAEnC,SAAOE,OAAOC,YACZD,OAAOE,QAAQR,MAAAA,EAAQS,IAAI,SAAA,OAAA;QAAC,CAACC,KAAKvB,KAAAA,IAAM;AACtC,QAAIwB,MAAMC,QAAQzB,KAAAA;AAChB,aAAO;QACLuB;QACAvB,MAAMsB,IAAI,SAACI,GAAAA;AACT,cAAI;AACF,mBAAOC,mBAAmBD,CAAAA;UAC5B,QAAQ;AACN,mBAAOA;UACT;QACF,CAAA;;AAGJ,QAAI;AACF,aAAO;QAACH;QAAKI,mBAAmB3B,KAAAA;;IAClC,QAAQ;AACN,aAAO;QAACuB;QAAKvB;;IACf;EACF,CAAA,CAAA;AAEJ;",
|
5
|
+
"names": ["NavigationRouteContext", "React", "createContext", "router", "navigationRef", "useStoreRootState", "useStoreRouteInfo", "useRootNavigationState", "useRouteInfo", "useNavigationContainerRef", "FrozeContext", "Frozen", "on", "children", "window", "Provider", "value", "div", "inert", "style", "display", "useRouter", "useUnstableGlobalHref", "unstable_globalHref", "useSegments", "segments", "usePathname", "pathname", "useActiveParams", "params", "useLocalSearchParams", "useParams", "useGlobalSearchParams", "context", "useContext", "Object", "fromEntries", "entries", "map", "key", "Array", "isArray", "v", "decodeURIComponent"]
|
6
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import * as store from "./router/router
|
1
|
+
import * as store from "./router/router";
|
2
2
|
var router = {
|
3
3
|
navigate: store.navigate,
|
4
4
|
push: store.push,
|
@@ -8,13 +8,16 @@ var router = {
|
|
8
8
|
replace: store.replace,
|
9
9
|
back: store.goBack,
|
10
10
|
canGoBack: store.canGoBack,
|
11
|
-
setParams: function
|
11
|
+
setParams: function(params) {
|
12
12
|
return store.setParams(
|
13
|
-
|
14
|
-
|
13
|
+
// TODO
|
14
|
+
params
|
15
|
+
);
|
15
16
|
},
|
16
17
|
subscribe: store.subscribeToRootState,
|
17
18
|
onLoadState: store.subscribeToLoadingState
|
18
19
|
};
|
19
|
-
export {
|
20
|
-
|
20
|
+
export {
|
21
|
+
router
|
22
|
+
};
|
23
|
+
//# sourceMappingURL=imperative-api.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../src/Users/n8/one/packages/one/src/imperative-api.ts"],
|
4
|
+
"mappings": "AAAA,YAAYA,WAAW;AAGhB,IAAMC,SAA2B;EACtCC,UAAUF,MAAME;EAChBC,MAAMH,MAAMG;EACZC,SAASJ,MAAMI;EACfC,YAAYL,MAAMK;EAClBC,YAAYN,MAAMM;EAClBC,SAASP,MAAMO;EACfC,MAAMR,MAAMS;EACZC,WAAWV,MAAMU;EACjBC,WAAW,SAACC,QAAAA;WACVZ,MAAMW;;MAEJC;IAAAA;;EAEJC,WAAWb,MAAMc;EACjBC,aAAaf,MAAMgB;AACrB;",
|
5
|
+
"names": ["store", "router", "navigate", "push", "dismiss", "dismissAll", "canDismiss", "replace", "back", "goBack", "canGoBack", "setParams", "params", "subscribe", "subscribeToRootState", "onLoadState", "subscribeToLoadingState"]
|
6
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
var _process_env_One_ROUTER_IMPORT_MODE_ANDROID,
|
2
|
-
|
3
|
-
|
1
|
+
var _process_env_One_ROUTER_IMPORT_MODE_ANDROID, index_android_default = (_process_env_One_ROUTER_IMPORT_MODE_ANDROID = process.env.One_ROUTER_IMPORT_MODE_ANDROID) !== null && _process_env_One_ROUTER_IMPORT_MODE_ANDROID !== void 0 ? _process_env_One_ROUTER_IMPORT_MODE_ANDROID : "lazy";
|
2
|
+
export {
|
3
|
+
index_android_default as default
|
4
|
+
};
|
4
5
|
//# sourceMappingURL=index.android.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.android.ts"],
|
4
|
+
"mappings": "IAAeA,6CAAf,yBAAeA,8CAAAA,QAAQC,IAAIC,oCAA8B,QAA1CF,gDAAAA,SAAAA,8CAA8C;",
|
5
|
+
"names": ["process", "env", "One_ROUTER_IMPORT_MODE_ANDROID"]
|
6
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
var _process_env_One_ROUTER_IMPORT_MODE_IOS,
|
2
|
-
|
3
|
-
|
1
|
+
var _process_env_One_ROUTER_IMPORT_MODE_IOS, index_ios_default = (_process_env_One_ROUTER_IMPORT_MODE_IOS = process.env.One_ROUTER_IMPORT_MODE_IOS) !== null && _process_env_One_ROUTER_IMPORT_MODE_IOS !== void 0 ? _process_env_One_ROUTER_IMPORT_MODE_IOS : "lazy";
|
2
|
+
export {
|
3
|
+
index_ios_default as default
|
4
|
+
};
|
4
5
|
//# sourceMappingURL=index.ios.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.ios.ts"],
|
4
|
+
"mappings": "IAAeA,yCAAf,qBAAeA,0CAAAA,QAAQC,IAAIC,gCAA0B,QAAtCF,4CAAAA,SAAAA,0CAA0C;",
|
5
|
+
"names": ["process", "env", "One_ROUTER_IMPORT_MODE_IOS"]
|
6
|
+
}
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.native.ts"],
|
4
|
+
"mappings": "AAEA,IAAA,uBAAe;",
|
5
|
+
"names": []
|
6
|
+
}
|
package/dist/esm/index.native.js
CHANGED
@@ -1,30 +1,68 @@
|
|
1
1
|
export * from "@vxrn/universal-color-scheme";
|
2
|
-
import { Root } from "./Root
|
3
|
-
import { render } from "./render
|
4
|
-
import { Stack } from "./layouts/Stack
|
5
|
-
import { Tabs } from "./layouts/Tabs
|
2
|
+
import { Root } from "./Root";
|
3
|
+
import { render } from "./render";
|
4
|
+
import { Stack } from "./layouts/Stack";
|
5
|
+
import { Tabs } from "./layouts/Tabs";
|
6
6
|
import { SafeAreaView } from "react-native-safe-area-context";
|
7
|
-
import { Navigator, Slot } from "./views/Navigator
|
8
|
-
import { ErrorBoundary } from "./views/ErrorBoundary
|
9
|
-
import { ScrollRestoration } from "./views/ScrollRestoration
|
10
|
-
import { LoadProgressBar } from "./views/LoadProgressBar
|
11
|
-
import { createApp } from "./createApp
|
12
|
-
import { createRoute, route } from "./createRoute
|
13
|
-
import { onClientLoaderResolve } from "./clientLoaderResolver
|
14
|
-
import { isResponse } from "./utils/isResponse
|
15
|
-
import { getURL } from "./getURL
|
16
|
-
import { redirect } from "./utils/redirect
|
17
|
-
import { useLinkTo } from "./link/useLinkTo
|
18
|
-
import { useRouter, useUnstableGlobalHref, usePathname, useNavigationContainerRef, useParams, useActiveParams, useSegments, useRootNavigationState } from "./hooks
|
19
|
-
import { useLocalSearchParams, useGlobalSearchParams } from "./hooks
|
20
|
-
import * as _routerStore from "./router/router
|
21
|
-
import { router } from "./imperative-api
|
22
|
-
import { Link } from "./link/Link
|
23
|
-
import { Redirect } from "./link/Redirect
|
7
|
+
import { Navigator, Slot } from "./views/Navigator";
|
8
|
+
import { ErrorBoundary } from "./views/ErrorBoundary";
|
9
|
+
import { ScrollRestoration } from "./views/ScrollRestoration";
|
10
|
+
import { LoadProgressBar } from "./views/LoadProgressBar";
|
11
|
+
import { createApp } from "./createApp";
|
12
|
+
import { createRoute, route } from "./createRoute";
|
13
|
+
import { onClientLoaderResolve } from "./clientLoaderResolver";
|
14
|
+
import { isResponse } from "./utils/isResponse";
|
15
|
+
import { getURL } from "./getURL";
|
16
|
+
import { redirect } from "./utils/redirect";
|
17
|
+
import { useLinkTo } from "./link/useLinkTo";
|
18
|
+
import { useRouter, useUnstableGlobalHref, usePathname, useNavigationContainerRef, useParams, useActiveParams, useSegments, useRootNavigationState } from "./hooks";
|
19
|
+
import { useLocalSearchParams, useGlobalSearchParams } from "./hooks";
|
20
|
+
import * as _routerStore from "./router/router";
|
21
|
+
import { router } from "./imperative-api";
|
22
|
+
import { Link } from "./link/Link";
|
23
|
+
import { Redirect } from "./link/Redirect";
|
24
24
|
import { Head } from "./head";
|
25
|
-
import { withLayoutContext } from "./layouts/withLayoutContext
|
26
|
-
import { useFocusEffect } from "./useFocusEffect
|
27
|
-
import { useNavigation } from "./useNavigation
|
28
|
-
import { useLoader } from "./useLoader
|
29
|
-
export {
|
30
|
-
|
25
|
+
import { withLayoutContext } from "./layouts/withLayoutContext";
|
26
|
+
import { useFocusEffect } from "./useFocusEffect";
|
27
|
+
import { useNavigation } from "./useNavigation";
|
28
|
+
import { useLoader } from "./useLoader";
|
29
|
+
export {
|
30
|
+
ErrorBoundary,
|
31
|
+
Head,
|
32
|
+
Link,
|
33
|
+
LoadProgressBar,
|
34
|
+
Navigator,
|
35
|
+
Redirect,
|
36
|
+
Root,
|
37
|
+
SafeAreaView,
|
38
|
+
ScrollRestoration,
|
39
|
+
Slot,
|
40
|
+
Stack,
|
41
|
+
Tabs,
|
42
|
+
createApp,
|
43
|
+
createRoute,
|
44
|
+
getURL,
|
45
|
+
isResponse,
|
46
|
+
onClientLoaderResolve,
|
47
|
+
redirect,
|
48
|
+
render,
|
49
|
+
route,
|
50
|
+
router,
|
51
|
+
_routerStore as routerStore,
|
52
|
+
useActiveParams,
|
53
|
+
useFocusEffect,
|
54
|
+
useGlobalSearchParams,
|
55
|
+
useLinkTo,
|
56
|
+
useLoader,
|
57
|
+
useLocalSearchParams,
|
58
|
+
useNavigation,
|
59
|
+
useNavigationContainerRef,
|
60
|
+
useParams,
|
61
|
+
usePathname,
|
62
|
+
useRootNavigationState,
|
63
|
+
useRouter,
|
64
|
+
useSegments,
|
65
|
+
useUnstableGlobalHref,
|
66
|
+
withLayoutContext
|
67
|
+
};
|
68
|
+
//# sourceMappingURL=index.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../src/Users/n8/one/packages/one/src/index.ts"],
|
4
|
+
"mappings": "AAQA,cAAc;AAEd,SAASA,YAAY;AACrB,SAASC,cAAc;AAEvB,SAASC,aAAa;AACtB,SAASC,YAAY;AAKrB,SAASC,oBAAoB;AAC7B,SAASC,WAAWC,YAAY;AAChC,SAASC,qBAAqB;AAE9B,SAASC,yBAAyB;AAClC,SAASC,uBAAuB;AAEhC,SAASC,iBAAiB;AAC1B,SAASC,aAAaC,aAAa;AACnC,SAASC,6BAA6B;AAEtC,SAASC,kBAAkB;AAC3B,SAASC,cAAc;AACvB,SAASC,gBAAgB;AAEzB,SAASC,iBAAiB;AAE1B,SACEC,WACAC,uBACAC,aACAC,2BACAC,WACAC,iBACAC,aACAC,8BACK;AAGP,SACEC,sBACAC,6BACK;AAEP,YAAA,kBAA6B;AAE7B,SAASC,cAAc;AAEvB,SAASC,YAAY;AACrB,SAASC,gBAAgB;AAEzB,SAASC,YAAY;AAErB,SAASC,yBAAyB;AAGlC,SAASC,sBAAsB;AAC/B,SAASC,qBAAqB;AAE9B,SAASC,iBAAiB;",
|
5
|
+
"names": ["Root", "render", "Stack", "Tabs", "SafeAreaView", "Navigator", "Slot", "ErrorBoundary", "ScrollRestoration", "LoadProgressBar", "createApp", "createRoute", "route", "onClientLoaderResolve", "isResponse", "getURL", "redirect", "useLinkTo", "useRouter", "useUnstableGlobalHref", "usePathname", "useNavigationContainerRef", "useParams", "useActiveParams", "useSegments", "useRootNavigationState", "useLocalSearchParams", "useGlobalSearchParams", "router", "Link", "Redirect", "Head", "withLayoutContext", "useFocusEffect", "useNavigation", "useLoader"]
|
6
|
+
}
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/interfaces/Users/n8/one/packages/one/src/interfaces/router.ts"],
|
4
|
+
"mappings": ";AAQiBA,cAAAA,YAAAA,CAAAA;",
|
5
|
+
"names": ["OneRouter"]
|
6
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { createDrawerNavigator } from "@react-navigation/drawer";
|
2
|
-
import { withLayoutContext } from "./withLayoutContext
|
3
|
-
var DrawerNavigator = createDrawerNavigator().Navigator,
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
import { withLayoutContext } from "./withLayoutContext";
|
3
|
+
var DrawerNavigator = createDrawerNavigator().Navigator, Drawer = withLayoutContext(DrawerNavigator), Drawer_default = Drawer;
|
4
|
+
export {
|
5
|
+
Drawer,
|
6
|
+
Drawer_default as default
|
7
|
+
};
|
8
|
+
//# sourceMappingURL=Drawer.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/layouts/Users/n8/one/packages/one/src/layouts/Drawer.tsx"],
|
4
|
+
"mappings": "AAAA,SAGEA,6BACK;AAGP,SAASC,yBAAyB;AAElC,IAAMC,kBAAkBF,sBAAAA,EAAwBG,WAEnCC,SAASH,kBAKpBC,eAAAA,GAEF,iBAAeE;",
|
5
|
+
"names": ["createDrawerNavigator", "withLayoutContext", "DrawerNavigator", "Navigator", "Drawer"]
|
6
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { createNativeStackNavigator } from "@react-navigation/native-stack";
|
2
|
-
import { withLayoutContext } from "./withLayoutContext
|
3
|
-
var NativeStackNavigator = createNativeStackNavigator().Navigator,
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
import { withLayoutContext } from "./withLayoutContext";
|
3
|
+
var NativeStackNavigator = createNativeStackNavigator().Navigator, Stack = withLayoutContext(NativeStackNavigator), Stack_default = Stack;
|
4
|
+
export {
|
5
|
+
Stack,
|
6
|
+
Stack_default as default
|
7
|
+
};
|
8
|
+
//# sourceMappingURL=Stack.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/layouts/Users/n8/one/packages/one/src/layouts/Stack.tsx"],
|
4
|
+
"mappings": "AACA,SAGEA,kCACK;AAEP,SAASC,yBAAyB;AAElC,IAAMC,uBAAuBF,2BAAAA,EAA6BG,WAE7CC,QAAQH,kBAKnBC,oBAAAA,GAEF,gBAAeE;",
|
5
|
+
"names": ["createNativeStackNavigator", "withLayoutContext", "NativeStackNavigator", "Navigator", "Stack"]
|
6
|
+
}
|
@@ -1,44 +1,47 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
|
3
3
|
import { Platform, Pressable } from "react-native";
|
4
|
-
import { Link } from "../link/Link
|
5
|
-
import { withLayoutContext } from "./withLayoutContext
|
6
|
-
var BottomTabNavigator = createBottomTabNavigator().Navigator,
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
style: [{
|
4
|
+
import { Link } from "../link/Link";
|
5
|
+
import { withLayoutContext } from "./withLayoutContext";
|
6
|
+
var BottomTabNavigator = createBottomTabNavigator().Navigator, Tabs = withLayoutContext(BottomTabNavigator, function(screens) {
|
7
|
+
return screens.map(function(screen) {
|
8
|
+
var _screen_options;
|
9
|
+
if (typeof screen.options != "function" && ((_screen_options = screen.options) === null || _screen_options === void 0 ? void 0 : _screen_options.href) !== void 0) {
|
10
|
+
var { href, ...options } = screen.options;
|
11
|
+
if (options.tabBarButton)
|
12
|
+
throw new Error("Cannot use `href` and `tabBarButton` together.");
|
13
|
+
return {
|
14
|
+
...screen,
|
15
|
+
options: {
|
16
|
+
...options,
|
17
|
+
tabBarButton: function(props) {
|
18
|
+
if (href == null)
|
19
|
+
return null;
|
20
|
+
var children = Platform.OS === "web" ? props.children : /* @__PURE__ */ _jsx(Pressable, {
|
21
|
+
children: props.children
|
22
|
+
});
|
23
|
+
return /* @__PURE__ */ _jsx(Link, {
|
24
|
+
...props,
|
25
|
+
style: [
|
26
|
+
{
|
28
27
|
display: "flex"
|
29
|
-
},
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
28
|
+
},
|
29
|
+
props.style
|
30
|
+
],
|
31
|
+
href,
|
32
|
+
asChild: Platform.OS !== "web",
|
33
|
+
// biome-ignore lint/correctness/noChildrenProp: <explanation>
|
34
|
+
children
|
35
|
+
});
|
36
36
|
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
})
|
42
|
-
|
43
|
-
export {
|
44
|
-
|
37
|
+
}
|
38
|
+
};
|
39
|
+
}
|
40
|
+
return screen;
|
41
|
+
});
|
42
|
+
}), Tabs_default = Tabs;
|
43
|
+
export {
|
44
|
+
Tabs,
|
45
|
+
Tabs_default as default
|
46
|
+
};
|
47
|
+
//# sourceMappingURL=Tabs.js.map
|
@@ -1 +1,6 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"sources": ["../../../src/layouts/Users/n8/one/packages/one/src/layouts/Tabs.tsx"],
|
4
|
+
"mappings": ";AAAA,SACEA,gCAGK;AAEP,SAASC,UAAUC,iBAAiB;AAGpC,SAASC,YAAY;AACrB,SAASC,yBAAyB;AAGlC,IAAMC,qBAAqBL,yBAAAA,EAA2BM,WAEzCC,OAAOH,kBAKlBC,oBAAoB,SAACG,SAAAA;AAErB,SAAOA,QAAQC,IAAI,SAACC,QAAAA;QAC0BA;AAA5C,QAAI,OAAOA,OAAOC,WAAY,gBAAcD,kBAAAA,OAAOC,aAAO,QAAdD,oBAAAA,SAAAA,SAAAA,gBAAgBE,UAASC,QAAW;AAC9E,UAAM,EAAED,MAAM,GAAGD,QAAAA,IAAYD,OAAOC;AACpC,UAAIA,QAAQG;AACV,cAAM,IAAIC,MAAM,gDAAA;AAElB,aAAO;QACL,GAAGL;QACHC,SAAS;UACP,GAAGA;UACHG,cAAc,SAACE,OAAAA;AACb,gBAAIJ,QAAQ;AACV,qBAAO;AAET,gBAAMK,WACJhB,SAASiB,OAAO,QAAQF,MAAMC,WAAW,qBAACf,WAAAA;wBAAWc,MAAMC;;AAC7D,mBACE,qBAACd,MAAAA;cACE,GAAGa;cACJG,OAAO;gBAAC;kBAAEC,SAAS;gBAAO;gBAAGJ,MAAMG;;cACnCP;cACAS,SAASpB,SAASiB,OAAO;;cAEzBD;;UAGN;QACF;MACF;IACF;AACA,WAAOP;EACT,CAAA;AACF,CAAA,GAEA,eAAeH;",
|
5
|
+
"names": ["createBottomTabNavigator", "Platform", "Pressable", "Link", "withLayoutContext", "BottomTabNavigator", "Navigator", "Tabs", "screens", "map", "screen", "options", "href", "undefined", "tabBarButton", "Error", "props", "children", "OS", "style", "display", "asChild"]
|
6
|
+
}
|