one 1.1.324 → 1.1.326
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/createApp.native.js +0 -2
- package/dist/cjs/createApp.native.js.map +1 -1
- package/dist/cjs/createHandleRequest.cjs +2 -1
- package/dist/cjs/createHandleRequest.js +2 -1
- package/dist/cjs/createHandleRequest.js.map +1 -1
- package/dist/cjs/createHandleRequest.native.js +2 -1
- package/dist/cjs/createHandleRequest.native.js.map +2 -2
- package/dist/cjs/hooks.js.map +1 -1
- package/dist/cjs/hooks.native.js.map +1 -1
- package/dist/cjs/href.cjs +29 -0
- package/dist/cjs/href.js +25 -0
- package/dist/cjs/href.js.map +6 -0
- package/dist/cjs/href.native.js +30 -0
- package/dist/cjs/href.native.js.map +6 -0
- package/dist/cjs/imperative-api.cjs +1 -3
- package/dist/cjs/imperative-api.js +1 -4
- package/dist/cjs/imperative-api.js.map +1 -1
- package/dist/cjs/imperative-api.native.js +1 -4
- package/dist/cjs/imperative-api.native.js.map +1 -1
- package/dist/cjs/index.cjs +16 -14
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +4 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/router/router.js.map +1 -1
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/cjs/vite/clientTreeShakePlugin.cjs +1 -3
- package/dist/cjs/vite/clientTreeShakePlugin.js +1 -2
- package/dist/cjs/vite/clientTreeShakePlugin.js.map +1 -1
- package/dist/cjs/vite/clientTreeShakePlugin.native.js +1 -2
- package/dist/cjs/vite/clientTreeShakePlugin.native.js.map +1 -1
- package/dist/cjs/vite/vitePluginSsrCss.js.map +1 -1
- package/dist/cjs/vite/vitePluginSsrCss.native.js.map +1 -1
- package/dist/esm/createApp.native.js +0 -2
- package/dist/esm/createApp.native.js.map +1 -1
- package/dist/esm/createHandleRequest.js +2 -1
- package/dist/esm/createHandleRequest.js.map +1 -1
- package/dist/esm/createHandleRequest.mjs +2 -1
- package/dist/esm/createHandleRequest.mjs.map +1 -1
- package/dist/esm/createHandleRequest.native.js +2 -1
- package/dist/esm/createHandleRequest.native.js.map +2 -2
- package/dist/esm/hooks.js.map +1 -1
- package/dist/esm/hooks.mjs.map +1 -1
- package/dist/esm/hooks.native.js.map +1 -1
- package/dist/esm/href.js +9 -0
- package/dist/esm/href.js.map +6 -0
- package/dist/esm/href.mjs +6 -0
- package/dist/esm/href.mjs.map +1 -0
- package/dist/esm/href.native.js +9 -0
- package/dist/esm/href.native.js.map +6 -0
- package/dist/esm/imperative-api.js +1 -4
- package/dist/esm/imperative-api.js.map +1 -1
- package/dist/esm/imperative-api.mjs +1 -3
- package/dist/esm/imperative-api.mjs.map +1 -1
- package/dist/esm/imperative-api.native.js +1 -4
- package/dist/esm/imperative-api.native.js.map +1 -1
- package/dist/esm/index.js +15 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +15 -14
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +15 -13
- package/dist/esm/index.native.js.map +2 -2
- package/dist/esm/router/router.js.map +1 -1
- package/dist/esm/router/router.mjs.map +1 -1
- package/dist/esm/router/router.native.js.map +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.js +1 -2
- package/dist/esm/vite/clientTreeShakePlugin.js.map +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.mjs +1 -3
- package/dist/esm/vite/clientTreeShakePlugin.mjs.map +1 -1
- package/dist/esm/vite/clientTreeShakePlugin.native.js +1 -2
- package/dist/esm/vite/clientTreeShakePlugin.native.js.map +1 -1
- package/dist/esm/vite/vitePluginSsrCss.js.map +1 -1
- package/dist/esm/vite/vitePluginSsrCss.mjs.map +1 -1
- package/dist/esm/vite/vitePluginSsrCss.native.js.map +1 -1
- package/package.json +10 -10
- package/src/createApp.native.tsx +0 -3
- package/src/createHandleRequest.ts +6 -2
- package/src/hooks.tsx +1 -2
- package/src/href.ts +12 -0
- package/src/imperative-api.ts +1 -5
- package/src/index.ts +22 -25
- package/src/interfaces/router.ts +4 -3
- package/src/router/router.ts +1 -1
- package/src/types.ts +1 -0
- package/src/vite/clientTreeShakePlugin.ts +0 -1
- package/src/vite/vitePluginSsrCss.ts +0 -1
- package/types/createApp.native.d.ts.map +1 -1
- package/types/createHandleRequest.d.ts +2 -4
- package/types/createHandleRequest.d.ts.map +1 -1
- package/types/createRoute.d.ts +2 -2
- package/types/hooks.d.ts +1 -1
- package/types/hooks.d.ts.map +1 -1
- package/types/href.d.ts +7 -0
- package/types/href.d.ts.map +1 -0
- package/types/imperative-api.d.ts.map +1 -1
- package/types/index.d.ts +14 -13
- package/types/index.d.ts.map +1 -1
- package/types/interfaces/router.d.ts +3 -1
- package/types/interfaces/router.d.ts.map +1 -1
- package/types/router/router.d.ts +1 -1
- package/types/router/router.d.ts.map +1 -1
- package/types/types.d.ts +1 -0
- package/types/types.d.ts.map +1 -1
- package/types/vite/clientTreeShakePlugin.d.ts.map +1 -1
- package/types/vite/vitePluginSsrCss.d.ts.map +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/router/router.ts"],
|
4
|
-
"mappings": "AACA;AAAA,EACE;AAAA,OAGK;AACP,YAAY,aAAa;AACzB,SAAS,cAAc;AACvB,SAAS,UAAU,iBAAiB,4BAAgD;AACpF,SAAS,gBAAgB;AAEzB,SAAS,eAAe,sBAAsB;AAE9C,SAAS,WAAW,4BAA4B;AAChD,SAAS,oBAAoB;AAC7B,SAAS,wBAAiD;AAC1D,SAAS,iBAAiB;AAE1B,SAAS,mBAAmB;AAC5B,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,kBAAkB;AAC3B,SAAS,kCAAkC;AAC3C,SAAS,qBAAqB;AAC9B,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAC7B,SAAS,4BAA4B;AAErC,SAAS,8BAA8C;AACvD,SAAS,qBAAqB;AAGvB,IAAI,YAA8B,MAC9B,eACA,SAEA,2BA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ACd,kBAAkB;AAAA,EACpB;AAMA,QAAM,cAAmC,EAAE,QAAQ,CAAC,EAAE;AACtD,MAAI,UAAU,aACV,SAAS,QAAQ;AAGrB,SAAO;AACL,WAAO,OAAO,QAAQ,EAAE,GAAG,iBAAiB,OAAO,CAAC,GACpD,QAAQ,SAAS,iBAAiB,MAClC,QAAQ,SAAS,EAAE,GAAG,iBAAiB,OAAO,GAE9C,mBAAmB,iBAAiB,OAAO,OAAO,iBAAiB,OAAO,OAAO,SAAS,CAAC,GAE3F,QAAQ,WAAW,CAAC,GACpB,UAAU,QAAQ,QAClB,SAAS;AAIX,SAAI,SAAS,WACX,cAAc,GAGd,OAAO,YAgBH,gBAAgB,SAAS,YAC3B,YAAY,MAAM,GAAG,YAAY,IAAI,IAAI,OAAO,CAAC,MAIjD,SAAS,aAAa,gBAAgB,SAAS,UACjD,OAAO,YAGF;AAAA,IACL;AAAA,IACA,QAAQ,gBAAgB;AAAA,IACxB,SAAS;AAAA,MACP,KAAK,YAAY;AAAA,MACjB,MAAM,YAAY;AAAA,MAClB,QAAQ,YAAY;AAAA,IACtB;AAAA,EACF;AACF;",
|
5
5
|
"names": ["state", "rootState", "current"]
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","getLoaderPath","getPreloadPath","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","getInitialURL","toString","getStateFromPath","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","subscriber","updateSnapshot","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","current","dismissAll","popToTop","goBack","canGoBack","isReady","canDismiss","type","routes","length","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","getActualLastRoute","name","screen","match","routeLike","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","err","console","error","preloadRoute","event","openURL","startsWith","base","map","segment","slice","Array","isArray","join","Boolean","globalThis","__vxrntodopath","rootState2","action","getNavigateAction","current2","getCurrentRoute","warningTm","interval","setInterval","next","setTimeout","clearTimeout","warn","actionState","navigationState","actionStateRoute","stateRoute","childState","nextNavigationState","dynamicName","rootPayload","payload","Object","assign","key","target"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SACEA,YAAA,QAGK;AACP,YAAYC,OAAA,MAAa;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,QAAA,EAAUC,eAAA,EAAiBC,oBAAA,QAAgD;AACpF,SAASC,QAAA,QAAgB;AAEzB,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAE9C,SAASC,SAAA,EAAWC,oBAAA,QAA4B;AAChD,SAASC,YAAA,QAAoB;AAC7B,SAASC,gBAAA,QAAiD;AAC1D,SAASC,SAAA,QAAiB;AAE1B,SAASC,WAAA,QAAmB;AAC5B,SAASC,OAAA,QAAe;AACxB,SAASC,gBAAA,QAAwB;AACjC,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O,YAGF;IACLA,IAAA;IACAiG,MAAA,EAAQX,eAAA,CAAgBU,GAAA;IACxBH,OAAA,EAAS;MACPG,GAAA,EAAKJ,WAAA,CAAYI,GAAA;MACjBrD,IAAA,EAAMiD,WAAA,CAAYhD,MAAA;MAClB1E,MAAA,EAAQ0H,WAAA,CAAY1H;IACtB;EACF;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","getLoaderPath","getPreloadPath","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","getInitialURL","toString","getStateFromPath","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","subscriber","updateSnapshot","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","current","dismissAll","popToTop","goBack","canGoBack","isReady","canDismiss","type","routes","length","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","getActualLastRoute","name","screen","match","routeLike","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","err","console","error","preloadRoute","event","openURL","startsWith","base","map","segment","slice","Array","isArray","join","Boolean","globalThis","__vxrntodopath","rootState2","action","getNavigateAction","current2","getCurrentRoute","warningTm","interval","setInterval","next","setTimeout","clearTimeout","warn","actionState","navigationState","actionStateRoute","stateRoute","childState","nextNavigationState","dynamicName","rootPayload","payload","Object","assign","key","target"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SACEA,YAAA,QAGK;AACP,YAAYC,OAAA,MAAa;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,QAAA,EAAUC,eAAA,EAAiBC,oBAAA,QAAgD;AACpF,SAASC,QAAA,QAAgB;AAEzB,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAE9C,SAASC,SAAA,EAAWC,oBAAA,QAA4B;AAChD,SAASC,YAAA,QAAoB;AAC7B,SAASC,gBAAA,QAAiD;AAC1D,SAASC,SAAA,QAAiB;AAE1B,SAASC,WAAA,QAAmB;AAC5B,SAASC,OAAA,QAAe;AACxB,SAASC,gBAAA,QAAwB;AACjC,SAASC,UAAA,QAAkB;AAC3B,SAASC,0BAAA,QAAkC;AAC3C,SAASC,aAAA,QAAqB;AAC9B,SAASC,aAAA,QAAqB;AAC9B,SAASC,YAAA,QAAoB;AAC7B,SAASC,oBAAA,QAA4B;AAErC,SAASC,sBAAA,QAA8C;AACvD,SAASC,aAAA,QAAqB;AAGvB,IAAIC,SAAA,GAA8B;EAC9BC,aAAA;EACAC,OAAA;EAEAC,wBAAA,GAA2B;EAC3BC,YAAA;EACAC,SAAA;EAEPC,SAAA;EACOC,SAAA;EACPC,0BAAA;EAGOC,aAAA,GAAyC;EAChDC,yBAAA;AAEJ,MAAMC,oBAAA,GAAuB,mBAAIC,GAAA,CAAiC;EAC5DC,uBAAA,GAA0B,mBAAID,GAAA,CAAoC;EAClEE,gBAAA,GAAmB,mBAAIF,GAAA,CAAgB;AAGtC,SAASG,W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5
5
|
"names": ["StackActions", "Linking", "nanoid", "Fragment", "startTransition", "useSyncExternalStore", "Platform", "getLoaderPath", "getPreloadPath", "deepEqual", "getPathDataFromState", "stripBaseUrl", "getLinkingConfig", "getRoutes", "resolveHref", "resolve", "matchDynamicName", "sortRoutes", "getQualifiedRouteComponent", "assertIsReady", "dynamicImport", "removeSearch", "shouldLinkExternally", "getNormalizedStatePath", "setLastAction", "routeNode", "rootComponent", "linking", "hasAttemptedToHideSplash", "initialState", "rootState", "nextState", "routeInfo", "splashScreenAnimationFrame", "navigationRef", "navigationRefSubscription", "rootStateSubscribers", "Set", "loadingStateSubscribers", "storeSubscribers", "initialize", "context", "ref", "initialLocation", "cleanUpState", "ignoreEntryPoints", "platform", "OS", "process", "env", "NODE_ENV", "Error", "setupLinking", "subscribeToNavigationChanges", "undefined", "clear", "getInitialURL", "toString", "getStateFromPath", "pathname", "search", "config", "getRouteInfo", "unstable_globalHref", "isIndex", "params", "segments", "addListener", "data", "state", "requestAnimationFrame", "nextOptions", "linkOptions", "shouldUpdateSubscribers", "updateState", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "subscriber", "updateSnapshot", "navigate", "url", "options", "linkTo", "push", "dismiss", "count", "dispatch", "pop", "replace", "setParams", "current", "dismissAll", "popToTop", "goBack", "canGoBack", "isReady", "canDismiss", "type", "routes", "length", "index", "getSortedRoutes", "children", "filter", "route", "internal", "sort", "nextStateParam", "nextRouteInfo", "getRouteInfoFromState", "asPath", "screens", "preserveDynamicRoutes", "preserveGroups", "getPathFromState", "baseUrl", "path", "qualified", "split", "isIndexPath", "subscribeToRootState", "add", "delete", "subscribeToStore", "subscribeToLoadingState", "setLoadingState", "listener", "currentSnapshot", "getSnapshot", "snapshot", "rootStateSnapshot", "routeInfoSnapshot", "useOneRouter", "syncStoreRootState", "currentState", "getRootState", "useStoreRootState", "useStoreRouteInfo", "getActualLastRoute", "name", "screen", "match", "routeLike", "cleanup", "cancelAnimationFrame", "preloadingLoader", "setupPreload", "href", "_preload", "loader", "Promise", "all", "response", "err", "console", "error", "preloadRoute", "event", "openURL", "startsWith", "base", "map", "segment", "slice", "Array", "isArray", "join", "Boolean", "globalThis", "action", "getNavigateAction", "getCurrentRoute", "warningTm", "interval", "setInterval", "next", "setTimeout", "clearTimeout", "warn", "actionState", "navigationState", "actionStateRoute", "stateRoute", "childState", "nextNavigationState", "dynamicName", "didActionAndCurrentStateDiverge", "rootPayload", "payload", "Object", "assign", "key", "target"]
|
6
6
|
}
|
@@ -42,8 +42,7 @@ async function transformTreeShakeClient(code, id) {
|
|
42
42
|
return {
|
43
43
|
code: out.code + `
|
44
44
|
|
45
|
-
` +
|
46
|
-
removedFunctions.map((key) => key === "loader" ? EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
45
|
+
` + removedFunctions.map((key) => key === "loader" ? EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
47
46
|
`),
|
48
47
|
map: out.map
|
49
48
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/clientTreeShakePlugin.ts"],
|
4
|
-
"mappings": "AAAA,OAAO,mBAAmB;AAC1B,SAAS,aAAa;AACtB,OAAO,mBAAmB;AAC1B,SAAS,qBAAqB,iCAAiC;AAE/D,SAAS,2BAA2B;AAEpC,MAAM,WAAW,cAAc,SACzB,WAAW,cAAc,SAElB,wBAAwB,OAC5B;AAAA,EACL,MAAM;AAAA,EAEN,SAAS;AAAA,EAET,mBAAmB,KAAK;AACtB,WAAO,IAAI,SAAS,YAAY,IAAI,SAAS,SAAS,IAAI,SAAS;AAAA,EACrE;AAAA,EAEA,MAAM,UAAU,MAAM,IAAI,UAAU;AAClC,QAAI,KAAK,YAAY,SAAS;AAG9B,aAAO,MAAM,yBAAyB,MAAM,EAAE;AAAA,EAChD;AACF;AAGF,eAAsB,yBAAyB,MAAc,IAAY;AAGvE,MAFI,GAAG,SAAS,cAAc,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,CAAC;AAED,QAAM,mBAAmB,OAAO,KAAK,OAAO,EAAE,OAAO,CAAC,QAAQ,QAAQ,GAAG,CAAC;AAE1E,MAAI,iBAAiB,QAAQ;AAC3B,wBAAoB,KAAK,UAAU;AAEnC,UAAM,MAAM,SAAS,GAAG;AAgBxB,WAAO;AAAA,MACL,MAbA,IAAI,OACJ;AAAA;AAAA,IACA,iBACG,IAAI,CAAC,QACA,QAAQ,WACH,sBAGF,4CACR,EACA,KAAK;AAAA,CAAI;AAAA,MAIZ,KAAK,IAAI;AAAA,IACX;AAAA,EACF;AACF;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -47,9 +47,7 @@ async function transformTreeShakeClient(code, id) {
|
|
47
47
|
return {
|
48
48
|
code: out.code + `
|
49
49
|
|
50
|
-
` +
|
51
|
-
// TODO ideally put it back in same place as it was
|
52
|
-
removedFunctions.map(key => key === "loader" ? EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
50
|
+
` + removedFunctions.map(key => key === "loader" ? EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
53
51
|
`),
|
54
52
|
map: out.map
|
55
53
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out","map","join"],"sources":["../../../src/vite/clientTreeShakePlugin.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,aAAA,MAAmB;AAC1B,SAASC,KAAA,QAAa;AACtB,OAAOC,aAAA,MAAmB;AAC1B,SAASC,mBAAA,EAAqBC,yBAAA,QAAiC;AAE/D,SAASC,mBAAA,QAA2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B,4BAChDJ,IAAA,CAAKK,MAAA,CAAO,GACZT,OAAA,CAAQQ,YAAY,IAAI;MAE5B,OAAWJ,IAAA,CAAKC,IAAA,CAAKC,WAAA,IAAeF,IAAA,CAAKC,IAAA,CAAKC,WAAA,CAAYC,IAAA,KAAS,yBACjEH,IAAA,CAAKC,IAAA,CAAKC,WAAA,CAAYI,YAAA,CAAaC,OAAA,CAAQ,CAACC,UAAA,EAAYC,KAAA,KAAU;QAChE,IACED,UAAA,CAAWtB,EAAA,CAAGiB,IAAA,KAAS,iBACtBK,UAAA,CAAWtB,EAAA,CAAGN,IAAA,KAAS,YAAY4B,UAAA,CAAWtB,EAAA,CAAGN,IAAA,KAAS,yBAC3D;UACA,MAAMsB,WAAA,GAAcF,IAAA,CAAKU,GAAA,CAAI,8BAA8BD,KAAK;UAC3DE,KAAA,CAAMC,OAAA,CAAQV,WAAW,MAC5BA,WAAA,CAAYG,MAAA,CAAO,GACnBT,OAAA,CAAQY,UAAA,CAAWtB,EAAA,CAAGN,IAAI,IAAI;QAElC;MACF,CAAC;IAEL;EACF,CAAC;EAED,MAAMiC,gBAAA,GAAmBC,MAAA,CAAOC,IAAA,CAAKnB,OAAO,EAAEoB,MAAA,CAAQC,GAAA,IAAQrB,OAAA,CAAQqB,GAAG,CAAC;EAE1E,IAAIJ,gBAAA,CAAiBK,MAAA,EAAQ;IAC3B7C,mBAAA,CAAoBmB,GAAA,EAAKG,UAAU;IAEnC,MAAMwB,GAAA,GAAMzC,QAAA,CAASc,GAAG;
|
1
|
+
{"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out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AA,CACGO,GAAA,CAAKH,GAAA,IACAA,GAAA,KAAQ,WACH1C,mBAAA,GAGF,4CACR,EACA8C,IAAA,CAAK;AAAA,CAAI;MAIZD,GAAA,EAAKD,GAAA,CAAIC;IACX;EACF;AACF","ignoreList":[]}
|
@@ -49,8 +49,7 @@ async function transformTreeShakeClient(code, id) {
|
|
49
49
|
deadCodeElimination(ast, referenced);
|
50
50
|
var out = generate(ast), codeOut = out.code + `
|
51
51
|
|
52
|
-
` +
|
53
|
-
removedFunctions.map(function(key) {
|
52
|
+
` + removedFunctions.map(function(key) {
|
54
53
|
return key === "loader" ? EMPTY_LOADER_STRING : "export function generateStaticParams() {};";
|
55
54
|
}).join(`
|
56
55
|
`);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/clientTreeShakePlugin.ts"],
|
4
|
-
"mappings": "AAAA,OAAOA,mBAAmB;AAC1B,SAASC,aAAa;AACtB,OAAOC,mBAAmB;AAC1B,SAASC,qBAAqBC,iCAAiC;AAE/D,SAASC,2BAA2B;AAEpC,IAAMC,WAAWJ,cAAc,SACzBK,WAAWP,cAAc,SAElBQ,wBAAwB,WAAA;AACnC,SAAO;IACLC,MAAM;IAENC,SAAS;IAETC,mBAAmBC,KAAG;AACpB,aAAOA,IAAIH,SAAS,YAAYG,IAAIH,SAAS,SAASG,IAAIH,SAAS;IACrE;IAEA,MAAMI,UAAUC,MAAMC,IAAIC,UAAQ;AAChC,UAAI,KAAKC,YAAYR,SAAS;AAG9B,eAAO,MAAMS,yBAAyBJ,MAAMC,EAAAA;IAC9C;EACF;AACF;AAEA,eAAsBG,yBAAyBJ,MAAcC,IAAU;AACrE,MAAIA,IAAGI,SAAS,cAAA,KAEX,8BAA8BC,KAAKN,IAAAA,GAIxC;QAAMO,MAAMpB,MAAMa,MAAM;MAAEQ,YAAY;MAAUC,SAAS;QAAC;QAAc;;IAAO,CAAA,GACz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I,IAAI;UAElC;QACF,CAAA;MAEJ;IACF,CAAA;AAEA,QAAMiC,mBAAmBC,OAAOC,KAAKnB,OAAAA,EAASoB,OAAO,SAACC,KAAAA;aAAQrB,QAAQqB,GAAAA;;AAEtE,QAAIJ,iBAAiBK,QAAQ;AAC3B5C,0BAAoBkB,KAAKG,UAAAA;AAEzB,UAAMwB,MAAMzC,SAASc,GAAAA,GAGf4B,UACJD,IAAIlC,OACJ;;IACA4B,iBACGQ,IAAI,SAACJ,KAAAA;AACJ,eAAIA,QAAQ,WACHzC,sBAGF;MACT,CAAA,EACC8C,KAAK;CAAA;AAEV,aAAO;QACLrC,MAAMmC;QACNC,KAAKF,IAAIE;MACX;IACF;;AACF;",
|
5
5
|
"names": ["BabelGenerate", "parse", "BabelTraverse", "deadCodeElimination", "findReferencedIdentifiers", "EMPTY_LOADER_STRING", "traverse", "generate", "clientTreeShakePlugin", "name", "enforce", "applyToEnvironment", "env", "transform", "code", "id", "settings", "environment", "transformTreeShakeClient", "includes", "test", "ast", "sourceType", "plugins", "referenced", "removed", "loader", "generateStaticParams", "ExportNamedDeclaration", "path", "node", "declaration", "type", "functionName", "remove", "declarations", "forEach", "declarator", "index", "get", "Array", "isArray", "removedFunctions", "Object", "keys", "filter", "key", "length", "out", "codeOut", "map", "join"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/vitePluginSsrCss.ts"],
|
4
|
-
"mappings": "AAKO,MAAM,gBAAgB;AAEtB,SAAS,iBAAiB,YAA2C;AAC1E,MAAI;
|
4
|
+
"mappings": "AAKO,MAAM,gBAAgB;AAEtB,SAAS,iBAAiB,YAA2C;AAC1E,MAAI;AAEJ,QAAM,cAAc,iBAAiB;AAErC,SAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,gBAAgB,SAAS;AACvB,eAAS,SAGT,OAAO,YAAY,IAAI,OAAO,KAAK,KAAK,SAA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AC,QAAQ,SAAS,GAAG,CAAC,CAAC,GAG9C,CAAC,GAAG,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,MAAM,YAAY,CAAC;AAC7D;AAGA,MAAM,eAAe;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["VIRTUAL_ENTRY","vitePluginSsrCss","pluginOpts","server","virtualHref","name","apply","configureServer","server_","middlewares","use","req","res","next","url","includes","invalidateModule","code","collectStyle","entries","setHeader","write","end","resolveId","source","_importer","_options","startsWith","load","id","URL","slice","searchParams","has","JSON","stringify","transformIndexHtml","handler","tag","injectTo","attrs","rel","href","type","children","mod","moduleGraph","getModuleById","urls","collectStyleUrls","Promise","all","map","transformRequest","prefix","transform","processed","filename","Buffer","from","config","css","lightningcss","toString","err","console","error","flat","filter","Boolean","join","visited","Set","traverse","resolveUrl","add","importedModules","childMod","e","match","CSS_LANGS_RE"],"sources":["../../../src/vite/vitePluginSsrCss.ts"],"sourcesContent":[null],"mappings":"AAKO,MAAMA,aAAA,GAAgB;AAEtB,SAASC,iBAAiBC,UAAA,EAA2C;EAC1E,IAAIC,MAAA;
|
1
|
+
{"version":3,"names":["VIRTUAL_ENTRY","vitePluginSsrCss","pluginOpts","server","virtualHref","name","apply","configureServer","server_","middlewares","use","req","res","next","url","includes","invalidateModule","code","collectStyle","entries","setHeader","write","end","resolveId","source","_importer","_options","startsWith","load","id","URL","slice","searchParams","has","JSON","stringify","transformIndexHtml","handler","tag","injectTo","attrs","rel","href","type","children","mod","moduleGraph","getModuleById","urls","collectStyleUrls","Promise","all","map","transformRequest","prefix","transform","processed","filename","Buffer","from","config","css","lightningcss","toString","err","console","error","flat","filter","Boolean","join","visited","Set","traverse","resolveUrl","add","importedModules","childMod","e","match","CSS_LANGS_RE"],"sources":["../../../src/vite/vitePluginSsrCss.ts"],"sourcesContent":[null],"mappings":"AAKO,MAAMA,aAAA,GAAgB;AAEtB,SAASC,iBAAiBC,UAAA,E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AAiB;AACtE,MAAMsD,UAAU,oBAAIC,IAAAA;AAEpB,iBAAeC,SAAS7D,KAAW;AACjC,QAAM,CAAA,EAAGgB,EAAAA,IAAM,MAAM3B,OAAO4C,YAAY6B,WAAW9D,GAAAA;AACnD,QAAI2D,SAAQvC,IAAIJ,EAAAA,GAGhB2C;cAAQI,IAAI/C,EAAAA;AACZ,UAAMgB,MAAM3C,OAAO4C,YAAYC,cAAclB,EAAAA;AAC7C,MAAKgB,OAGL,MAAMM,QAAQC,IAAI;WAAIP,IAAIgC;QAAiBxB,IAAI,SAACyB,UAAAA;eAAaJ,SAASI,SAASjE,GAAG;;;EACpF;AAGA,eAAMsC,QAAQC,IAAIlC,QAAQmC,IAAI,SAAC0B,GAAAA;WAAM7E,OAAOoD,iBAAiByB,CAAAA;OAG7D,MAAM5B,QAAQC,IAAIlC,QAAQmC,IAAI,SAACxC,KAAAA;WAAQ6D,SAAS7D,GAAAA;OAGzC;OAAI2D;IAASH,OAAO,SAACxD,KAAAA;WAAQA,IAAImE,MAAMC,YAAAA;;AAChD;AAGA,IAAMA,eAAe;",
|
5
5
|
"names": ["VIRTUAL_ENTRY", "vitePluginSsrCss", "pluginOpts", "server", "virtualHref", "name", "apply", "configureServer", "server_", "middlewares", "use", "req", "res", "next", "url", "includes", "invalidateModule", "code", "collectStyle", "entries", "setHeader", "write", "end", "resolveId", "source", "_importer", "_options", "startsWith", "undefined", "load", "id", "URL", "slice", "searchParams", "has", "JSON", "stringify", "transformIndexHtml", "handler", "tag", "injectTo", "attrs", "rel", "href", "type", "children", "mod", "moduleGraph", "getModuleById", "urls", "collectStyleUrls", "codes", "Promise", "all", "map", "transformRequest", "prefix", "transform", "processed", "filename", "Buffer", "from", "config", "css", "lightningcss", "toString", "err", "console", "error", "flat", "filter", "Boolean", "join", "visited", "Set", "traverse", "resolveUrl", "add", "importedModules", "childMod", "e", "match", "CSS_LANGS_RE"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.326",
|
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.326",
|
95
|
+
"@vxrn/tslib-lite": "1.1.326",
|
96
|
+
"@vxrn/universal-color-scheme": "1.1.326",
|
97
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.326",
|
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.326",
|
102
102
|
"escape-string-regexp": "^5.0.0",
|
103
103
|
"expo-linking": "~6.3.1",
|
104
104
|
"expo-modules-core": "^1.12.24",
|
@@ -111,16 +111,16 @@
|
|
111
111
|
"nanoid": "^3.3.7",
|
112
112
|
"perfect-debounce": "^1.0.0",
|
113
113
|
"picocolors": "^1.0.0",
|
114
|
-
"react": "
|
114
|
+
"react": ">=18.0.0",
|
115
115
|
"react-dom": "^18.3.1",
|
116
116
|
"react-native-gesture-handler": "^2.18.1",
|
117
117
|
"react-native-safe-area-context": "4.10.5",
|
118
118
|
"react-native-screens": "3.31.1",
|
119
119
|
"rollup-plugin-node-externals": "^7.1.2",
|
120
120
|
"url-parse": "^1.5.10",
|
121
|
-
"vite": "6.0.0-beta.
|
121
|
+
"vite": "^6.0.0-beta.5",
|
122
122
|
"vite-tsconfig-paths": "^5.0.1",
|
123
|
-
"vxrn": "1.1.
|
123
|
+
"vxrn": "1.1.326",
|
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.116.
|
131
|
+
"@tamagui/build": "^1.116.7",
|
132
132
|
"@types/node": "^22.1.0",
|
133
133
|
"@types/react-dom": "^18.2.25",
|
134
134
|
"@types/url-parse": "^1.4.11",
|
package/src/createApp.native.tsx
CHANGED
@@ -12,9 +12,6 @@ export function createApp(options: CreateAppProps): void {
|
|
12
12
|
|
13
13
|
AppRegistry.registerComponent('main', () => App)
|
14
14
|
|
15
|
-
// TODO remove once we get a nice setup in tamagui repo for building native app and loading it
|
16
|
-
AppRegistry.registerComponent('tamaguikitchensink', () => App)
|
17
|
-
|
18
15
|
if (process.env.ONE_APP_NAME) {
|
19
16
|
AppRegistry.registerComponent(process.env.ONE_APP_NAME, () => App)
|
20
17
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { getPathFromLoaderPath } from './cleanUrl'
|
2
2
|
import { LOADER_JS_POSTFIX_REGEX, LOADER_JS_POSTFIX_UNCACHED } from './constants'
|
3
3
|
import type { RouteInfo } from './server/createRoutesManifest'
|
4
|
+
import type { LoaderProps } from './types'
|
4
5
|
import { isResponse } from './utils/isResponse'
|
5
6
|
import { promiseWithResolvers } from './utils/promiseWithResolvers'
|
6
7
|
import { getManifest } from './vite/getManifest'
|
@@ -10,7 +11,7 @@ type RequestHandlerProps<RouteExtraProps extends Object = {}> = {
|
|
10
11
|
request: Request
|
11
12
|
route: RouteInfo<string> & RouteExtraProps
|
12
13
|
url: URL
|
13
|
-
loaderProps?:
|
14
|
+
loaderProps?: LoaderProps
|
14
15
|
}
|
15
16
|
|
16
17
|
type RequestHandlerResponse = null | string | Response
|
@@ -132,6 +133,7 @@ export function createHandleRequest(
|
|
132
133
|
url,
|
133
134
|
loaderProps: {
|
134
135
|
path: finalUrl.pathname,
|
136
|
+
request: route.type === 'ssr' ? request : undefined,
|
135
137
|
params: getLoaderParams(finalUrl, route),
|
136
138
|
},
|
137
139
|
})
|
@@ -223,6 +225,8 @@ function getRouteParams(pathname: string, route: RouteInfo<string>) {
|
|
223
225
|
const match = regex.exec(pathname)
|
224
226
|
if (!match) return {}
|
225
227
|
return Object.fromEntries(
|
226
|
-
Object.entries(route.routeKeys).map(([key, value]) =>
|
228
|
+
Object.entries(route.routeKeys).map(([key, value]) => {
|
229
|
+
return [value, (match.groups?.[key] || '') as string]
|
230
|
+
})
|
227
231
|
)
|
228
232
|
}
|
package/src/hooks.tsx
CHANGED
@@ -114,8 +114,7 @@ export const useGlobalSearchParams = useActiveParams
|
|
114
114
|
* To observe updates even when the invoking route is not focused, use `useActiveParams()`.
|
115
115
|
*/
|
116
116
|
|
117
|
-
|
118
|
-
export function useParams<TParams extends Object = SearchParams>(): TParams {
|
117
|
+
export function useParams<TParams extends Object = SearchParams>(): Partial<TParams> {
|
119
118
|
const context = React.useContext(NavigationRouteContext)
|
120
119
|
const params = context?.params ?? {}
|
121
120
|
|
package/src/href.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { OneRouter } from './interfaces/router'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Type-level utility function to help pass valid Href typed strings.
|
5
|
+
* Does not actually validate at runtime, though we could add this later.
|
6
|
+
*/
|
7
|
+
export function href<A extends OneRouter.Href>(a: A): A {
|
8
|
+
if (!a || typeof a !== 'string') {
|
9
|
+
throw new Error(`Invalid href`)
|
10
|
+
}
|
11
|
+
return a
|
12
|
+
}
|
package/src/imperative-api.ts
CHANGED
@@ -10,11 +10,7 @@ export const router: OneRouter.Router = {
|
|
10
10
|
replace: store.replace,
|
11
11
|
back: store.goBack,
|
12
12
|
canGoBack: store.canGoBack,
|
13
|
-
setParams: (params) =>
|
14
|
-
store.setParams(
|
15
|
-
// TODO
|
16
|
-
params as any
|
17
|
-
),
|
13
|
+
setParams: (params) => store.setParams(params),
|
18
14
|
subscribe: store.subscribeToRootState,
|
19
15
|
onLoadState: store.subscribeToLoadingState,
|
20
16
|
}
|
package/src/index.ts
CHANGED
@@ -6,34 +6,34 @@ export type LinkProps<T extends string | object = string> = OneRouter.LinkProps<
|
|
6
6
|
|
7
7
|
export type { Endpoint, LoaderProps } from './types'
|
8
8
|
|
9
|
-
|
9
|
+
// base
|
10
|
+
export { router } from './imperative-api'
|
11
|
+
export { createRoute, route } from './createRoute'
|
12
|
+
export { onClientLoaderResolve } from './clientLoaderResolver'
|
10
13
|
|
11
|
-
|
14
|
+
// internals
|
15
|
+
export { createApp } from './createApp'
|
12
16
|
export { render } from './render'
|
17
|
+
export { Root } from './Root'
|
18
|
+
export * as routerStore from './router/router'
|
13
19
|
|
20
|
+
// components
|
14
21
|
export { Stack } from './layouts/Stack'
|
15
22
|
export { Tabs } from './layouts/Tabs'
|
16
|
-
|
17
23
|
// TODO breaking due to react-native-gesture-handler
|
18
24
|
// export { Drawer } from './layouts/Drawer'
|
19
|
-
|
25
|
+
// export { Unmatched } from './fallbackViews/Unmatched'
|
20
26
|
export { SafeAreaView } from 'react-native-safe-area-context'
|
21
27
|
export { Navigator, Slot } from './views/Navigator'
|
22
28
|
export { ErrorBoundary } from './views/ErrorBoundary'
|
23
|
-
// export { Unmatched } from './fallbackViews/Unmatched'
|
24
29
|
export { ScrollRestoration } from './views/ScrollRestoration'
|
25
30
|
export { LoadProgressBar } from './views/LoadProgressBar'
|
31
|
+
export { Link } from './link/Link'
|
32
|
+
export { Redirect } from './link/Redirect'
|
33
|
+
export { Head } from './head'
|
26
34
|
|
27
|
-
|
28
|
-
export { createRoute, route } from './createRoute'
|
29
|
-
export { onClientLoaderResolve } from './clientLoaderResolver'
|
30
|
-
|
31
|
-
export { isResponse } from './utils/isResponse'
|
32
|
-
export { getURL } from './getURL'
|
33
|
-
export { redirect } from './utils/redirect'
|
34
|
-
|
35
|
+
// hooks
|
35
36
|
export { useLinkTo } from './link/useLinkTo'
|
36
|
-
|
37
37
|
export {
|
38
38
|
useRouter,
|
39
39
|
useUnstableGlobalHref,
|
@@ -44,26 +44,23 @@ export {
|
|
44
44
|
useSegments,
|
45
45
|
useRootNavigationState,
|
46
46
|
} from './hooks'
|
47
|
-
|
48
47
|
// for easier expo-router migration
|
49
48
|
export {
|
50
49
|
useLocalSearchParams,
|
51
50
|
useGlobalSearchParams,
|
52
51
|
} from './hooks'
|
53
52
|
|
54
|
-
|
55
|
-
|
56
|
-
export { router } from './imperative-api'
|
57
|
-
|
58
|
-
export { Link } from './link/Link'
|
59
|
-
export { Redirect } from './link/Redirect'
|
60
|
-
|
61
|
-
export { Head } from './head'
|
62
|
-
|
53
|
+
// utilities
|
63
54
|
export { withLayoutContext } from './layouts/withLayoutContext'
|
55
|
+
export { isResponse } from './utils/isResponse'
|
56
|
+
export { getURL } from './getURL'
|
57
|
+
export { redirect } from './utils/redirect'
|
58
|
+
export { href } from './href'
|
59
|
+
|
60
|
+
// re-export
|
61
|
+
export * from '@vxrn/universal-color-scheme'
|
64
62
|
|
65
63
|
// React Navigation
|
66
64
|
export { useFocusEffect } from './useFocusEffect'
|
67
65
|
export { useNavigation } from './useNavigation'
|
68
|
-
|
69
66
|
export { useLoader } from './useLoader'
|
package/src/interfaces/router.ts
CHANGED
@@ -218,6 +218,9 @@ export namespace OneRouter {
|
|
218
218
|
* One Exports *
|
219
219
|
***********************/
|
220
220
|
|
221
|
+
export type InputRouteParamsBlank = Record<string, string | undefined | null>
|
222
|
+
export type InpurRouteParamsGeneric = InputRouteParamsBlank | InputRouteParams<any>
|
223
|
+
|
221
224
|
export type Router = {
|
222
225
|
/** Go back in the history. */
|
223
226
|
back: () => void
|
@@ -236,9 +239,7 @@ export namespace OneRouter {
|
|
236
239
|
/** If there's history that supports invoking the `dismiss` and `dismissAll` function. */
|
237
240
|
canDismiss: () => boolean
|
238
241
|
/** Update the current route query params. */
|
239
|
-
setParams: <T = ''>(
|
240
|
-
params?: T extends '' ? Record<string, string | undefined | null> : InputRouteParams<T>
|
241
|
-
) => void
|
242
|
+
setParams: <T = ''>(params?: T extends '' ? InputRouteParamsBlank : InputRouteParams<T>) => void
|
242
243
|
/** Subscribe to state updates from the router */
|
243
244
|
subscribe: (listener: RootStateListener) => () => void
|
244
245
|
/** Subscribe to loading state updates */
|
package/src/router/router.ts
CHANGED
@@ -164,7 +164,7 @@ export function replace(url: OneRouter.Href, options?: OneRouter.LinkToOptions)
|
|
164
164
|
return linkTo(resolveHref(url), 'REPLACE', options)
|
165
165
|
}
|
166
166
|
|
167
|
-
export function setParams(params:
|
167
|
+
export function setParams(params: OneRouter.InpurRouteParamsGeneric = {}) {
|
168
168
|
assertIsReady(navigationRef)
|
169
169
|
return navigationRef?.current?.setParams(
|
170
170
|
// @ts-expect-error
|
package/src/types.ts
CHANGED