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
@@ -32,8 +32,6 @@ function createApp(options) {
|
|
32
32
|
};
|
33
33
|
import_react_native.AppRegistry.registerComponent("main", function() {
|
34
34
|
return App;
|
35
|
-
}), import_react_native.AppRegistry.registerComponent("tamaguikitchensink", function() {
|
36
|
-
return App;
|
37
35
|
}), process.env.ONE_APP_NAME && import_react_native.AppRegistry.registerComponent(process.env.ONE_APP_NAME, function() {
|
38
36
|
return App;
|
39
37
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/createApp.native.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;uDAAA,0BAAO,+BACP,cAAqB,mBACrB,sBAAoC;AAKpCA,2BAAOC,WAAW;EAAC;CAA0C;AAEtD,SAASC,UAAUC,SAAuB;AAC/C,MAAMC,MAAM,WAAA;WAAM,uCAAAC,KAACC,kBAAAA;MAAKC,UAAQ;MAACC,QAAQL,QAAQK;MAAQC,MAAK;;;AAE9DC,kCAAYC,kBAAkB,QAAQ,WAAA;WAAMP;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;uDAAA,0BAAO,+BACP,cAAqB,mBACrB,sBAAoC;AAKpCA,2BAAOC,WAAW;EAAC;CAA0C;AAEtD,SAASC,UAAUC,SAAuB;AAC/C,MAAMC,MAAM,WAAA;WAAM,uCAAAC,KAACC,kBAAAA;MAAKC,UAAQ;MAACC,QAAQL,QAAQK;MAAQC,MAAK;;;AAE9DC,kCAAYC,kBAAkB,QAAQ,WAAA;WAAMP;MAExCQ,QAAQC,IAAIC,gBACdJ,gCAAYC,kBAAkBC,QAAQC,IAAIC,cAAc,WAAA;WAAMV;;AAElE;",
|
5
5
|
"names": ["LogBox", "ignoreLogs", "createApp", "options", "App", "_jsx", "Root", "isClient", "routes", "path", "AppRegistry", "registerComponent", "process", "env", "ONE_APP_NAME"]
|
6
6
|
}
|
@@ -88,6 +88,7 @@ function createHandleRequest(options, handlers) {
|
|
88
88
|
url,
|
89
89
|
loaderProps: {
|
90
90
|
path: finalUrl.pathname,
|
91
|
+
request: route.type === "ssr" ? request : void 0,
|
91
92
|
params: getLoaderParams(finalUrl, route)
|
92
93
|
}
|
93
94
|
});
|
@@ -146,5 +147,5 @@ function getLoaderParams(url, config) {
|
|
146
147
|
}
|
147
148
|
function getRouteParams(pathname, route) {
|
148
149
|
const match = new RegExp(route.namedRegex).exec(pathname);
|
149
|
-
return match ? Object.fromEntries(Object.entries(route.routeKeys).map(([key, value]) => [value, match.groups?.[key]])) : {};
|
150
|
+
return match ? Object.fromEntries(Object.entries(route.routeKeys).map(([key, value]) => [value, match.groups?.[key] || ""])) : {};
|
150
151
|
}
|
@@ -75,6 +75,7 @@ function createHandleRequest(options, handlers) {
|
|
75
75
|
url,
|
76
76
|
loaderProps: {
|
77
77
|
path: finalUrl.pathname,
|
78
|
+
request: route.type === "ssr" ? request : void 0,
|
78
79
|
params: getLoaderParams(finalUrl, route)
|
79
80
|
}
|
80
81
|
});
|
@@ -132,7 +133,7 @@ function getLoaderParams(url, config) {
|
|
132
133
|
function getRouteParams(pathname, route) {
|
133
134
|
const match = new RegExp(route.namedRegex).exec(pathname);
|
134
135
|
return match ? Object.fromEntries(
|
135
|
-
Object.entries(route.routeKeys).map(([key, value]) => [value, match.groups?.[key]])
|
136
|
+
Object.entries(route.routeKeys).map(([key, value]) => [value, match.groups?.[key] || ""])
|
136
137
|
) : {};
|
137
138
|
}
|
138
139
|
//# sourceMappingURL=createHandleRequest.js.map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/createHandleRequest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsC,uBACtC,mBAAoE,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsC,uBACtC,mBAAoE,wBAGpE,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;AAYrB,SAAS,oBACd,SACA,UAKA;AACA,QAAM,eAAW,gCAAY;AAC7B,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,oBAAoB;AAGtC,QAAM,eACJ,SAAS,UAAU,OAAO,CAAC,KAAK,SAC9B,IAAI,IAAI,IAAI,IAAI,EAAE,GAAG,KAAK,eAAe,IAAI,OAAO,IAAI,UAAU,EAAE,GAC7D,MACN,CAAC,CAAC,GAED,gBAAgB,OAAO,OAAO,YAAY,GAK1C,iBAAiB,CAAC,GAGlB,aAAa,SAAS,WAAW,IAAI,CAAC,WAAW;AAAA,IACrD,GAAG;AAAA,IACH,cAAc,IAAI,OAAO,MAAM,UAAU;AAAA,EAC3C,EAAE;AAEF,SAAO;AAAA,IACL;AAAA,IACA,SAAS,eAA6B,SAAmD;AACvF,YAAM,YAAY,QAAQ,OAAO,IAC3B,MAAM,IAAI;AAAA,QACd,aAAa;AAAA,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,WAAW,OAAO,UAAU,GAAG;AACrC,aAAO,QAAQ,IAAI;AAAA,IACrB;AAEF,SAAO;AACT;AAGA,SAAS,eAAe,UAAkB,OAA0B;AAElE,QAAM,QADQ,IAAI,OAAO,MAAM,UAAU,EACrB,KAAK,QAAQ;AACjC,SAAK,QACE,OAAO;AAAA,IACZ,OAAO,QAAQ,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MACvC,CAAC,OAAQ,MAAM,SAAS,GAAG,KAAK,EAAa,CACrD;AAAA,EACH,IALmB,CAAC;AAMtB;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -86,6 +86,7 @@ function createHandleRequest(options, handlers) {
|
|
86
86
|
url,
|
87
87
|
loaderProps: {
|
88
88
|
path: finalUrl.pathname,
|
89
|
+
request: route.type === "ssr" ? request : void 0,
|
89
90
|
params: getLoaderParams(finalUrl, route)
|
90
91
|
}
|
91
92
|
});
|
@@ -184,7 +185,7 @@ function getRouteParams(pathname, route) {
|
|
184
185
|
var [key, value] = param, _match_groups;
|
185
186
|
return [
|
186
187
|
value,
|
187
|
-
(_match_groups = match.groups) === null || _match_groups === void 0 ? void 0 : _match_groups[key]
|
188
|
+
((_match_groups = match.groups) === null || _match_groups === void 0 ? void 0 : _match_groups[key]) || ""
|
188
189
|
];
|
189
190
|
})) : {};
|
190
191
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/createHandleRequest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;sBAAsC,uBACtC,mBAAoE,
|
5
|
-
"names": ["createHandleRequest", "options", "handlers", "manifest", "getManifest", "Error", "apiRoutesMap", "apiRoutes", "reduce", "acc", "cur", "page", "compiledRegex", "RegExp", "namedRegex", "apiRoutesList", "Object", "values", "activeRequests", "pageRoutes", "map", "route", "workingRegex", "handler", "request", "urlString", "url", "URL", "headers", "get", "pathname", "search", "process", "env", "NODE_ENV", "startsWith", "handleAPI", "apiRoute", "find", "regex", "test", "params", "getRouteParams", "loaderProps", "path", "err", "isResponse", "method", "handleLoader", "isClientRequestingNewRoute", "endsWith", "LOADER_JS_POSTFIX_UNCACHED", "originalUrl", "getPathFromLoaderPath", "finalUrl", "origin", "file", "console", "info", "Headers", "set", "loaderResponse", "getLoaderParams", "Response", "error", "routes", "handleSSR", "promise", "reject", "resolve", "promiseWithResolvers", "ssrResponse", "config", "match", "exec", "groups", "entries", "key", "value", "namedKey", "routeKeys", "fromEntries"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;sBAAsC,uBACtC,mBAAoE,wBAGpE,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;AAYrB,SAASA,oBACdC,SACAC,UAIC;AAED,MAAMC,eAAWC,gCAAAA;AACjB,MAAI,CAACD;AACH,UAAM,IAAIE,MAAM,oBAAoB;AAGtC,MAAMC,eACJH,SAASI,UAAUC,OAAO,SAACC,KAAKC,KAAAA;AAC9BD,eAAIC,IAAIC,IAAI,IAAI;MAAE,GAAGD;MAAKE,eAAe,IAAIC,OAAOH,IAAII,UAAU;IAAE,GAC7DL;EACT,GAAG,CAAC,CAAA,GAEAM,gBAAgBC,OAAOC,OAAOX,YAAAA,GAK9BY,iBAAiB,CAAC,GAGlBC,aAAahB,SAASgB,WAAWC,IAAI,SAACC,OAAAA;WAAW;MACrD,GAAGA;MACHC,cAAc,IAAIT,OAAOQ,MAAMP,UAAU;IAC3C;;AAEA,SAAO;IACLX;IACAoB,SAAS,eAA6BC,SAAgB;AACpD,UAAMC,YAAYD,QAAQE,OAAO,IAC3BA,MAAM,IAAIC,IACdF,aAAa,IACbD,QAAQI,QAAQC,IAAI,MAAA,IAAU,UAAUL,QAAQI,QAAQC,IAAI,MAAA,CAAA,KAAY,EAAA,GAEpE,EAAEC,UAAUC,OAAM,IAAKL;AAE7B,UAAIM,QAAQC,IAAIC,aAAa,gBACvBhB,eAAe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ifest", "Error", "apiRoutesMap", "apiRoutes", "reduce", "acc", "cur", "page", "compiledRegex", "RegExp", "namedRegex", "apiRoutesList", "Object", "values", "activeRequests", "pageRoutes", "map", "route", "workingRegex", "handler", "request", "urlString", "url", "URL", "headers", "get", "pathname", "search", "process", "env", "NODE_ENV", "startsWith", "handleAPI", "apiRoute", "find", "regex", "test", "params", "getRouteParams", "loaderProps", "path", "err", "isResponse", "method", "handleLoader", "isClientRequestingNewRoute", "endsWith", "LOADER_JS_POSTFIX_UNCACHED", "originalUrl", "getPathFromLoaderPath", "finalUrl", "origin", "file", "console", "info", "Headers", "set", "loaderResponse", "type", "undefined", "getLoaderParams", "Response", "error", "routes", "handleSSR", "promise", "reject", "resolve", "promiseWithResolvers", "ssrResponse", "config", "match", "exec", "groups", "entries", "key", "value", "namedKey", "routeKeys", "fromEntries"]
|
6
6
|
}
|
package/dist/cjs/hooks.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/hooks.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuC,qCACvC,eAAqD,8BACrD,wBAAuB,6BAEvB,gBAAoE,4BAkC9D;AA9BC,SAAS,yBAAyB;AACvC,aAAO,iCAAkB;AAC3B;AAEO,SAAS,eAAe;AAC7B,aAAO,iCAAkB;AAC3B;AAGO,SAAS,4BAA4B;AAC1C,SAAO;AACT;AAEA,MAAM,mBAAe,4BAAc,EAAK;AAEjC,SAAS,OAAO,EAAE,KAAK,IAAO,SAAS,GAA0C;AAQtF,SAAI,OAAO,SAAW,MACb,WAIP,4CAAC,aAAa,UAAb,EAAsB,OAAO,IAE5B;AAAA,IAAC;AAAA;AAAA,MAEC,OAAK;AAAA,MACL,OAAO,EAAE,SAAS,WAAW;AAA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,SAAAA,QAASJ,YAAM,QAAfI,oBAAAA,SAAAA,kBAAmB,CAAC;AAEnC,SAAOI,OAAOC,YACZD,OAAOE,QAAQV,MAAAA,EAAQW,IAAI,SAAA,OAAA;QAAC,CAACC,KAAK1B,KAAAA,IAAM;AACtC,QAAI2B,MAAMC,QAAQ5B,KAAAA;AAChB,aAAO;QACL0B;QACA1B,MAAMyB,IAAI,SAACI,GAAAA;AACT,cAAI;AACF,mBAAOC,mBAAmBD,CAAAA;UAC5B,QAAQ;AACN,mBAAOA;UACT;QACF,CAAA;;AAGJ,QAAI;AACF,aAAO;QAACH;QAAKI,mBAAmB9B,KAAAA;;IAClC,QAAQ;AACN,aAAO;QAAC0B;QAAK1B;;IACf;EACF,CAAA,CAAA;AAEJ;",
|
5
5
|
"names": ["useRootNavigationState", "useStoreRootState", "useRouteInfo", "useStoreRouteInfo", "useNavigationContainerRef", "navigationRef", "FrozeContext", "createContext", "Frozen", "on", "children", "window", "_jsx", "Provider", "value", "div", "inert", "style", "display", "useRouter", "router", "useUnstableGlobalHref", "unstable_globalHref", "useSegments", "segments", "usePathname", "pathname", "useActiveParams", "params", "useLocalSearchParams", "useParams", "useGlobalSearchParams", "context", "React", "useContext", "NavigationRouteContext", "Object", "fromEntries", "entries", "map", "key", "Array", "isArray", "v", "decodeURIComponent"]
|
6
6
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name in all) __defProp(target, name, {
|
7
|
+
get: all[name],
|
8
|
+
enumerable: !0
|
9
|
+
});
|
10
|
+
},
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
13
|
+
get: () => from[key],
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
15
|
+
});
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
19
|
+
value: !0
|
20
|
+
}), mod);
|
21
|
+
var href_exports = {};
|
22
|
+
__export(href_exports, {
|
23
|
+
href: () => href
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(href_exports);
|
26
|
+
function href(a) {
|
27
|
+
if (!a || typeof a != "string") throw new Error("Invalid href");
|
28
|
+
return a;
|
29
|
+
}
|
package/dist/cjs/href.js
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name in all)
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
10
|
+
for (let key of __getOwnPropNames(from))
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
12
|
+
return to;
|
13
|
+
};
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
15
|
+
var href_exports = {};
|
16
|
+
__export(href_exports, {
|
17
|
+
href: () => href
|
18
|
+
});
|
19
|
+
module.exports = __toCommonJS(href_exports);
|
20
|
+
function href(a) {
|
21
|
+
if (!a || typeof a != "string")
|
22
|
+
throw new Error("Invalid href");
|
23
|
+
return a;
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=href.js.map
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
13
|
+
return to;
|
14
|
+
};
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
16
|
+
var href_exports = {};
|
17
|
+
__export(href_exports, {
|
18
|
+
href: () => href
|
19
|
+
});
|
20
|
+
module.exports = __toCommonJS(href_exports);
|
21
|
+
function href(a) {
|
22
|
+
if (!a || typeof a != "string")
|
23
|
+
throw new Error("Invalid href");
|
24
|
+
return a;
|
25
|
+
}
|
26
|
+
// Annotate the CommonJS export names for ESM import in node:
|
27
|
+
0 && (module.exports = {
|
28
|
+
href
|
29
|
+
});
|
30
|
+
//# sourceMappingURL=href.js.map
|
@@ -44,9 +44,7 @@ const router = {
|
|
44
44
|
replace: store.replace,
|
45
45
|
back: store.goBack,
|
46
46
|
canGoBack: store.canGoBack,
|
47
|
-
setParams: params => store.setParams(
|
48
|
-
// TODO
|
49
|
-
params),
|
47
|
+
setParams: params => store.setParams(params),
|
50
48
|
subscribe: store.subscribeToRootState,
|
51
49
|
onLoadState: store.subscribeToLoadingState
|
52
50
|
};
|
@@ -35,10 +35,7 @@ const router = {
|
|
35
35
|
replace: store.replace,
|
36
36
|
back: store.goBack,
|
37
37
|
canGoBack: store.canGoBack,
|
38
|
-
setParams: (params) => store.setParams(
|
39
|
-
// TODO
|
40
|
-
params
|
41
|
-
),
|
38
|
+
setParams: (params) => store.setParams(params),
|
42
39
|
subscribe: store.subscribeToRootState,
|
43
40
|
onLoadState: store.subscribeToLoadingState
|
44
41
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/imperative-api.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AAGhB,MAAM,SAA2B;AAAA,EACtC,UAAU,MAAM;AAAA,EAChB,MAAM,MAAM;AAAA,EACZ,SAAS,MAAM;AAAA,EACf,YAAY,MAAM;AAAA,EAClB,YAAY,MAAM;AAAA,EAClB,SAAS,MAAM;AAAA,EACf,MAAM,MAAM;AAAA,EACZ,WAAW,MAAM;AAAA,EACjB,WAAW,CAAC,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AAGhB,MAAM,SAA2B;AAAA,EACtC,UAAU,MAAM;AAAA,EAChB,MAAM,MAAM;AAAA,EACZ,SAAS,MAAM;AAAA,EACf,YAAY,MAAM;AAAA,EAClB,YAAY,MAAM;AAAA,EAClB,SAAS,MAAM;AAAA,EACf,MAAM,MAAM;AAAA,EACZ,WAAW,MAAM;AAAA,EACjB,WAAW,CAAC,WAAW,MAAM,UAAU,MAAM;AAAA,EAC7C,WAAW,MAAM;AAAA,EACjB,aAAa,MAAM;AACrB;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -36,10 +36,7 @@ var store = __toESM(require("./router/router"), 1), router = {
|
|
36
36
|
back: store.goBack,
|
37
37
|
canGoBack: store.canGoBack,
|
38
38
|
setParams: function(params) {
|
39
|
-
return store.setParams(
|
40
|
-
// TODO
|
41
|
-
params
|
42
|
-
);
|
39
|
+
return store.setParams(params);
|
43
40
|
},
|
44
41
|
subscribe: store.subscribeToRootState,
|
45
42
|
onLoadState: store.subscribeToLoadingState
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/imperative-api.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;YAAuB,wCAGVA,SAA2B;EACtCC,UAAUC,MAAMD;EAChBE,MAAMD,MAAMC;EACZC,SAASF,MAAME;EACfC,YAAYH,MAAMG;EAClBC,YAAYJ,MAAMI;EAClBC,SAASL,MAAMK;EACfC,MAAMN,MAAMO;EACZC,WAAWR,MAAMQ;EACjBC,WAAW,SAACC,QAAAA;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;YAAuB,wCAGVA,SAA2B;EACtCC,UAAUC,MAAMD;EAChBE,MAAMD,MAAMC;EACZC,SAASF,MAAME;EACfC,YAAYH,MAAMG;EAClBC,YAAYJ,MAAMI;EAClBC,SAASL,MAAMK;EACfC,MAAMN,MAAMO;EACZC,WAAWR,MAAMQ;EACjBC,WAAW,SAACC,QAAAA;WAAWV,MAAMS,UAAUC,MAAAA;;EACvCC,WAAWX,MAAMY;EACjBC,aAAab,MAAMc;AACrB;",
|
5
5
|
"names": ["router", "navigate", "store", "push", "dismiss", "dismissAll", "canDismiss", "replace", "back", "goBack", "canGoBack", "setParams", "params", "subscribe", "subscribeToRootState", "onLoadState", "subscribeToLoadingState"]
|
6
6
|
}
|
package/dist/cjs/index.cjs
CHANGED
@@ -47,6 +47,7 @@ __export(src_exports, {
|
|
47
47
|
createApp: () => import_createApp.createApp,
|
48
48
|
createRoute: () => import_createRoute.createRoute,
|
49
49
|
getURL: () => import_getURL.getURL,
|
50
|
+
href: () => import_href.href,
|
50
51
|
isResponse: () => import_isResponse.isResponse,
|
51
52
|
onClientLoaderResolve: () => import_clientLoaderResolver.onClientLoaderResolve,
|
52
53
|
redirect: () => import_redirect.redirect,
|
@@ -71,9 +72,13 @@ __export(src_exports, {
|
|
71
72
|
withLayoutContext: () => import_withLayoutContext.withLayoutContext
|
72
73
|
});
|
73
74
|
module.exports = __toCommonJS(src_exports);
|
74
|
-
|
75
|
-
|
75
|
+
var import_imperative_api = require("./imperative-api.cjs"),
|
76
|
+
import_createRoute = require("./createRoute.cjs"),
|
77
|
+
import_clientLoaderResolver = require("./clientLoaderResolver.cjs"),
|
78
|
+
import_createApp = require("./createApp.cjs"),
|
76
79
|
import_render = require("./render.cjs"),
|
80
|
+
import_Root = require("./Root.cjs"),
|
81
|
+
routerStore = __toESM(require("./router/router.cjs"), 1),
|
77
82
|
import_Stack = require("./layouts/Stack.cjs"),
|
78
83
|
import_Tabs = require("./layouts/Tabs.cjs"),
|
79
84
|
import_react_native_safe_area_context = require("react-native-safe-area-context"),
|
@@ -81,21 +86,18 @@ var import_Root = require("./Root.cjs"),
|
|
81
86
|
import_ErrorBoundary = require("./views/ErrorBoundary.cjs"),
|
82
87
|
import_ScrollRestoration = require("./views/ScrollRestoration.cjs"),
|
83
88
|
import_LoadProgressBar = require("./views/LoadProgressBar.cjs"),
|
84
|
-
import_createApp = require("./createApp.cjs"),
|
85
|
-
import_createRoute = require("./createRoute.cjs"),
|
86
|
-
import_clientLoaderResolver = require("./clientLoaderResolver.cjs"),
|
87
|
-
import_isResponse = require("./utils/isResponse.cjs"),
|
88
|
-
import_getURL = require("./getURL.cjs"),
|
89
|
-
import_redirect = require("./utils/redirect.cjs"),
|
90
|
-
import_useLinkTo = require("./link/useLinkTo.cjs"),
|
91
|
-
import_hooks = require("./hooks.cjs"),
|
92
|
-
import_hooks2 = require("./hooks.cjs"),
|
93
|
-
routerStore = __toESM(require("./router/router.cjs"), 1),
|
94
|
-
import_imperative_api = require("./imperative-api.cjs"),
|
95
89
|
import_Link = require("./link/Link.cjs"),
|
96
90
|
import_Redirect = require("./link/Redirect.cjs"),
|
97
91
|
import_head = require("./head/index.cjs"),
|
92
|
+
import_useLinkTo = require("./link/useLinkTo.cjs"),
|
93
|
+
import_hooks = require("./hooks.cjs"),
|
94
|
+
import_hooks2 = require("./hooks.cjs"),
|
98
95
|
import_withLayoutContext = require("./layouts/withLayoutContext.cjs"),
|
99
|
-
|
96
|
+
import_isResponse = require("./utils/isResponse.cjs"),
|
97
|
+
import_getURL = require("./getURL.cjs"),
|
98
|
+
import_redirect = require("./utils/redirect.cjs"),
|
99
|
+
import_href = require("./href.cjs");
|
100
|
+
__reExport(src_exports, require("@vxrn/universal-color-scheme"), module.exports);
|
101
|
+
var import_useFocusEffect = require("./useFocusEffect.cjs"),
|
100
102
|
import_useNavigation = require("./useNavigation.cjs"),
|
101
103
|
import_useLoader = require("./useLoader.cjs");
|
package/dist/cjs/index.js
CHANGED
@@ -36,6 +36,7 @@ __export(src_exports, {
|
|
36
36
|
createApp: () => import_createApp.createApp,
|
37
37
|
createRoute: () => import_createRoute.createRoute,
|
38
38
|
getURL: () => import_getURL.getURL,
|
39
|
+
href: () => import_href.href,
|
39
40
|
isResponse: () => import_isResponse.isResponse,
|
40
41
|
onClientLoaderResolve: () => import_clientLoaderResolver.onClientLoaderResolve,
|
41
42
|
redirect: () => import_redirect.redirect,
|
@@ -60,6 +61,7 @@ __export(src_exports, {
|
|
60
61
|
withLayoutContext: () => import_withLayoutContext.withLayoutContext
|
61
62
|
});
|
62
63
|
module.exports = __toCommonJS(src_exports);
|
64
|
+
var import_imperative_api = require("./imperative-api"), import_createRoute = require("./createRoute"), import_clientLoaderResolver = require("./clientLoaderResolver"), import_createApp = require("./createApp"), import_render = require("./render"), import_Root = require("./Root"), routerStore = __toESM(require("./router/router"), 1), import_Stack = require("./layouts/Stack"), import_Tabs = require("./layouts/Tabs"), import_react_native_safe_area_context = require("react-native-safe-area-context"), import_Navigator = require("./views/Navigator"), import_ErrorBoundary = require("./views/ErrorBoundary"), import_ScrollRestoration = require("./views/ScrollRestoration"), import_LoadProgressBar = require("./views/LoadProgressBar"), import_Link = require("./link/Link"), import_Redirect = require("./link/Redirect"), import_head = require("./head"), import_useLinkTo = require("./link/useLinkTo"), import_hooks = require("./hooks"), import_hooks2 = require("./hooks"), import_withLayoutContext = require("./layouts/withLayoutContext"), import_isResponse = require("./utils/isResponse"), import_getURL = require("./getURL"), import_redirect = require("./utils/redirect"), import_href = require("./href");
|
63
65
|
__reExport(src_exports, require("@vxrn/universal-color-scheme"), module.exports);
|
64
|
-
var
|
66
|
+
var import_useFocusEffect = require("./useFocusEffect"), import_useNavigation = require("./useNavigation"), import_useLoader = require("./useLoader");
|
65
67
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/index.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,4BAAuB,6BACvB,qBAAmC,0BACnC,8BAAsC,mCAGtC,mBAA0B,wBAC1B,gBAAuB,qBACvB,cAAqB,mBACrB,cAA6B,wCAG7B,eAAsB,4BACtB,cAAqB,2BAIrB,wCAA6B,2CAC7B,mBAAgC,8BAChC,uBAA8B,kCAC9B,2BAAkC,sCAClC,yBAAgC,oCAChC,cAAqB,wBACrB,kBAAyB,4BACzB,cAAqB,mBAGrB,mBAA0B,6BAC1B,eASO,oBAEPA,gBAGO,oBAGP,2BAAkC,wCAClC,oBAA2B,+BAC3B,gBAAuB,qBACvB,kBAAyB,6BACzB,cAAqB;AAGrB,wBAAc,yCA5Dd;AA+DA,4BAA+B,6BAC/B,uBAA8B,4BAC9B,mBAA0B;",
|
5
5
|
"names": ["import_hooks"]
|
6
6
|
}
|
package/dist/cjs/index.native.js
CHANGED
@@ -37,6 +37,7 @@ __export(src_exports, {
|
|
37
37
|
createApp: () => import_createApp.createApp,
|
38
38
|
createRoute: () => import_createRoute.createRoute,
|
39
39
|
getURL: () => import_getURL.getURL,
|
40
|
+
href: () => import_href.href,
|
40
41
|
isResponse: () => import_isResponse.isResponse,
|
41
42
|
onClientLoaderResolve: () => import_clientLoaderResolver.onClientLoaderResolve,
|
42
43
|
redirect: () => import_redirect.redirect,
|
@@ -61,8 +62,9 @@ __export(src_exports, {
|
|
61
62
|
withLayoutContext: () => import_withLayoutContext.withLayoutContext
|
62
63
|
});
|
63
64
|
module.exports = __toCommonJS(src_exports);
|
65
|
+
var import_imperative_api = require("./imperative-api"), import_createRoute = require("./createRoute"), import_clientLoaderResolver = require("./clientLoaderResolver"), import_createApp = require("./createApp"), import_render = require("./render"), import_Root = require("./Root"), _routerStore = __toESM(require("./router/router"), 1), import_Stack = require("./layouts/Stack"), import_Tabs = require("./layouts/Tabs"), import_react_native_safe_area_context = require("react-native-safe-area-context"), import_Navigator = require("./views/Navigator"), import_ErrorBoundary = require("./views/ErrorBoundary"), import_ScrollRestoration = require("./views/ScrollRestoration"), import_LoadProgressBar = require("./views/LoadProgressBar"), import_Link = require("./link/Link"), import_Redirect = require("./link/Redirect"), import_head = require("./head"), import_useLinkTo = require("./link/useLinkTo"), import_hooks = require("./hooks"), import_hooks2 = require("./hooks"), import_withLayoutContext = require("./layouts/withLayoutContext"), import_isResponse = require("./utils/isResponse"), import_getURL = require("./getURL"), import_redirect = require("./utils/redirect"), import_href = require("./href");
|
64
66
|
__reExport(src_exports, require("@vxrn/universal-color-scheme"), module.exports);
|
65
|
-
var
|
67
|
+
var import_useFocusEffect = require("./useFocusEffect"), import_useNavigation = require("./useNavigation"), import_useLoader = require("./useLoader");
|
66
68
|
// Annotate the CommonJS export names for ESM import in node:
|
67
69
|
0 && (module.exports = {
|
68
70
|
ErrorBoundary,
|
@@ -80,6 +82,7 @@ var import_Root = require("./Root"), import_render = require("./render"), import
|
|
80
82
|
createApp,
|
81
83
|
createRoute,
|
82
84
|
getURL,
|
85
|
+
href,
|
83
86
|
isResponse,
|
84
87
|
onClientLoaderResolve,
|
85
88
|
redirect,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/index.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAQA
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,4BAAuB,6BACvB,qBAAmC,0BACnC,8BAAsC,mCAGtC,mBAA0B,wBAC1B,gBAAuB,qBACvB,cAAqB,mBACrB,eAA6B,wCAG7B,eAAsB,4BACtB,cAAqB,2BAIrB,wCAA6B,2CAC7B,mBAAgC,8BAChC,uBAA8B,kCAC9B,2BAAkC,sCAClC,yBAAgC,oCAChC,cAAqB,wBACrB,kBAAyB,4BACzB,cAAqB,mBAGrB,mBAA0B,6BAC1B,eASO,oBAEPA,gBAGO,oBAGP,2BAAkC,wCAClC,oBAA2B,+BAC3B,gBAAuB,qBACvB,kBAAyB,6BACzB,cAAqB;AAGrB,wBAAc,yCApDd;AAuDA,4BAA+B,6BAC/B,uBAA8B,4BAC9B,mBAA0B;",
|
5
5
|
"names": ["import_hooks"]
|
6
6
|
}
|
@@ -1,6 +1,6 @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U,QAAQ,QAClB,SAAS;AAIX,SAAI,SAAS,eACX,iCAAc,GAGd,OAAO,YAgBH,gBAAgB,SAAS,YAC3B,YAAY,MAAM,GAAG,YAAY,IAAI,QAAI,0BAAO,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,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/router/Users/n8/one/packages/one/src/router/router.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAIO,qCACP,UAAyB,qCACzB,oBAAuB,8BACvB,eAAoF,kBACpF,sBAAyB,yBAEzB,kBAA8C,wBAE9C,0BAAgD,qCAChD,0BAA6B,qCAC7B,0BAA0D,gCAC1D,mBAA0B,yBAE1B,cAA4B,yBAC5B,cAAwB,yBACxB,kBAAiC,wBACjC,oBAA2B,0BAC3B,oBAA2C,0BAC3C,uBAA8B,mCAC9B,uBAA8B,mCAC9B,sBAA6B,kCAC7B,aAAqC,yBAErC,gCAAuD,qCACvD,oBAA8B,yBAGnBA,YAA8B,MAC9BC,eACAC,SAEAC,2BAA2B,IAC3BC,cACAC,WAEPC,WACOC,WACPC,4BAGOC,gBAAyC,MAChDC,2BAEEC,uBAAuB,oBAAIC,IAAAA,GAC3BC,0BAA0B,oBAAID,IAAAA,GAC9BE,mBAAmB,oBAAIF,IAAAA;AAGtB,SAASG,WACdC,SACAC,KACAC,iBAAqB;AASrB,MAPAC,aAAAA,GACAnB,gBAAYoB,4BAAUJ,SAAS;IAC7BK,mBAAmB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iJ,QAAQ1D,SAASkD,iBAAiBnD,MAClC2D,QAAQjJ,SAAS;MAAE,GAAGyI,iBAAiBzI;IAAO,GAE9CyI,oBAAmBA,2BAAAA,iBAAiBrI,WAAK,QAAtBqI,6BAAAA,SAAAA,SAAAA,yBAAwBlG,SAAOkG,0BAAAA,iBAAiBrI,WAAK,QAAtBqI,4BAAAA,SAAAA,SAAAA,wBAAwBlG,OAAOC,UAAS,CAAA;;AAE1FyG,KAAAA,WAAAA,WAAAA,SAAQjJ,YAAAA,QAAAA,YAAAA,WAARiJ,SAAQjJ,SAAW,CAAC,IACpBiJ,UAAUA,QAAQjJ,QAClBA,SAASiJ;EACX;AAGA,SAAI3G,SAAS,eACXyE,iCAAAA,GAGAzE,OAAO,YAgBHkG,gBAAgBlG,SAAS,YAC3B0G,YAAYI,MAAM,GAAGJ,YAAY1D,IAAI,QAAI+D,0BAAAA,CAAAA,MAIzC/G,SAAS,aAAakG,gBAAgBlG,SAAS,UACjDA,OAAO,YAGF;IACLA;IACAgH,QAAQd,gBAAgBY;IACxBH,SAAS;MACPG,KAAKJ,YAAYI;MACjB9D,MAAM0D,YAAYzD;MAClBvF,QAAQgJ,YAAYhJ;IACtB;EACF;AACF;",
|
5
5
|
"names": ["routeNode", "rootComponent", "linking", "hasAttemptedToHideSplash", "initialState", "rootState", "nextState", "routeInfo", "splashScreenAnimationFrame", "navigationRef", "navigationRefSubscription", "rootStateSubscribers", "Set", "loadingStateSubscribers", "storeSubscribers", "initialize", "context", "ref", "initialLocation", "cleanUpState", "getRoutes", "ignoreEntryPoints", "platform", "Platform", "OS", "getQualifiedRouteComponent", "Fragment", "process", "env", "NODE_ENV", "Error", "setupLinking", "subscribeToNavigationChanges", "undefined", "clear", "getLinkingConfig", "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", "resolveHref", "push", "dismiss", "count", "dispatch", "StackActions", "pop", "replace", "setParams", "assertIsReady", "current", "dismissAll", "popToTop", "goBack", "canGoBack", "isReady", "canDismiss", "type", "routes", "length", "index", "getSortedRoutes", "children", "filter", "route", "internal", "sort", "sortRoutes", "nextStateParam", "nextRouteInfo", "deepEqual", "getRouteInfoFromState", "asPath", "getPathDataFromState", "screens", "preserveDynamicRoutes", "preserveGroups", "getPathFromState", "baseUrl", "path", "qualified", "stripBaseUrl", "split", "isIndexPath", "getNormalizedStatePath", "subscribeToRootState", "add", "delete", "subscribeToStore", "subscribeToLoadingState", "setLoadingState", "listener", "currentSnapshot", "getSnapshot", "snapshot", "rootStateSnapshot", "routeInfoSnapshot", "useOneRouter", "useSyncExternalStore", "syncStoreRootState", "currentState", "getRootState", "useStoreRootState", "useStoreRouteInfo", "getActualLastRoute", "name", "screen", "match", "routeLike", "cleanup", "cancelAnimationFrame", "preloadingLoader", "setupPreload", "href", "_preload", "loader", "Promise", "all", "dynamicImport", "getPreloadPath", "getLoaderPath", "response", "err", "console", "error", "preloadRoute", "event", "shouldLinkExternally", "Linking", "openURL", "setLastAction", "startsWith", "base", "map", "segment", "slice", "Array", "isArray", "join", "Boolean", "resolve", "globalThis", "removeSearch", "action", "getNavigateAction", "startTransition", "getCurrentRoute", "warningTm", "interval", "setInterval", "next", "setTimeout", "clearTimeout", "warn", "actionState", "navigationState", "actionStateRoute", "stateRoute", "childState", "nextNavigationState", "dynamicName", "matchDynamicName", "didActionAndCurrentStateDiverge", "rootPayload", "payload", "Object", "assign", "key", "nanoid", "target"]
|
6
6
|
}
|
@@ -84,9 +84,7 @@ async function transformTreeShakeClient(code, id) {
|
|
84
84
|
return {
|
85
85
|
code: out.code + `
|
86
86
|
|
87
|
-
` +
|
88
|
-
// TODO ideally put it back in same place as it was
|
89
|
-
removedFunctions.map(key => key === "loader" ? import_constants.EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
87
|
+
` + removedFunctions.map(key => key === "loader" ? import_constants.EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
90
88
|
`),
|
91
89
|
map: out.map
|
92
90
|
};
|
@@ -66,8 +66,7 @@ async function transformTreeShakeClient(code, id) {
|
|
66
66
|
return {
|
67
67
|
code: out.code + `
|
68
68
|
|
69
|
-
` +
|
70
|
-
removedFunctions.map((key) => key === "loader" ? import_constants.EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
69
|
+
` + removedFunctions.map((key) => key === "loader" ? import_constants.EMPTY_LOADER_STRING : "export function generateStaticParams() {};").join(`
|
71
70
|
`),
|
72
71
|
map: out.map
|
73
72
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/clientTreeShakePlugin.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAA0B,yCAC1B,gBAAsB,0BACtB,kBAA0B,wCAC1B,qCAA+D,wCAE/D,mBAAoC;AAEpC,MAAM,WAAW,gBAAAA,QAAc,SACzB,WAAW,iBAAAC,QAAc,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,KAE1B,CAAC,8BAA8B,KAAK,IAAI;AAC1C;AAGF,QAAM,UAAM,qBAAM,MAAM,EAAE,YAA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