one 1.1.297 → 1.1.298
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/esm/Root.js.map +1 -1
- package/dist/esm/Root.mjs.map +1 -1
- package/dist/esm/Root.native.js.map +1 -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 +6 -2
- package/dist/esm/cleanUrl.native.js.map +1 -1
- package/package.json +7 -7
- package/src/Root.tsx +20 -16
- package/src/cleanUrl.ts +15 -1
- package/types/cleanUrl.d.ts.map +1 -1
package/dist/cjs/Root.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Root.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAsF,kBAEtF,uBAA8B,4BAC9B,2BAAkC,sCAElC,gBAKO,qCACP,kBAAuC,uCACvC,gCAA+B,yCAC/B,6BAAwC,mDACxC,+BAAsC,2CACtC,gCAAuC,4CACvC,sBAA6B,iCAC7B,2BAAkC,sCAElC,cAAqB,yBAwCjB;AAAA;AAAA;AAAA;AArCA,OAAO,SAAW,QAEpB,OAAO,kCAAkC,MAAM,CAAC,iBAAiB,sBAAsB,QAAQ;AA8B1F,SAAS,KAAK,OAAkB;AAGrC,QAAM,WAEJ,6CAAC,8CAEC;AAAA,gDAAC,YAAyB,GAAG,SAAf,UAAsB;AAAA,IACpC,4CAAC,sCAAiB,eAAgB;AAAA,KACpC;AAIF,MAAI,MAAM,UAAU;AAClB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AAa,eAC3BmD,oBAAoB,SAACS,QAAAA;AACnB,MAAMC,UAA2CD,OAAOC,SAEpDC,UAAU,eAAeF,OAAOtC,IAAI,IACtCuC,UAAU,iBAAiBhD,KAAKC,UAAU8C,OAAOC,OAAO,CAAA,KAAM,EAAA;AAGhE,UAAQD,OAAOtC,MAAI;IACjB,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;AACH,MAAIuC,WAAAA,QAAAA,QAASpE,OACXqE,WAAW;;6BAAkCD,QAAQpE,IAAI,OAEzDqE,WAAW;;;AAGb;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;IACF,KAAK;IACL,KAAK;IACL,KAAK;AACHA,iBAAW;;;AACX;EACJ;AAIA,MAFAA,WAAW;;uEAEPhE,QAAQC,IAAIC,aAAa;AAC3B,UAAM,IAAI6C,MAAMiB,OAAAA;AAElBC,UAAQC,MAAMF,OAAAA;AAChB,IAEAX,oBAAoB,WAAA;AAAO;",
|
5
5
|
"names": ["window", "__getReactRefreshIgnoredExports", "Root", "props", "loaderData", "contents", "_jsxs", "RootErrorBoundary", "_jsx", "Contents", "PreloadLinks", "isClient", "globalThis", "show", "setShow", "useState", "useEffect", "constructor", "name", "undefined", "html", "lang", "head", "process", "env", "NODE_ENV", "DevHead", "script", "dangerouslySetInnerHTML", "__html", "css", "map", "file", "link", "rel", "href", "body", "async", "JSON", "stringify", "loaderProps", "mode", "ssrCSSID", "rand", "_Fragment", "as", "data-ssr-css", "type", "routes", "path", "wrapper", "Fragment", "routeOptions", "context", "useViteRoutes", "location", "URL", "ContextNavigator", "ParentWrapper", "initialLocation", "navigationContainerProps", "store", "useInitializeOneRouter", "colorScheme", "useColorScheme", "children", "ScrollRestoration", "SafeAreaProviderCompat", "Component", "rootComponent", "Error", "UpstreamNavigationContainer", "ref", "navigationRef", "initialState", "linking", "onUnhandledAction", "theme", "DarkTheme", "DefaultTheme", "documentTitle", "enabled", "ServerLocationContext", "Provider", "value", "action", "payload", "message", "console", "error"]
|
6
6
|
}
|
package/dist/cjs/cleanUrl.js
CHANGED
@@ -28,10 +28,17 @@ function getPreloadPath(currentPath) {
|
|
28
28
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
29
29
|
}
|
30
30
|
function getLoaderPath(currentPath, includeUrl = import_constants.isNative) {
|
31
|
-
const baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
32
|
-
|
31
|
+
const baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(
|
32
|
+
currentPath,
|
33
|
+
"http://example.com"
|
34
|
+
/* not important, just for `new URL()` to work */
|
35
|
+
);
|
36
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
33
37
|
}
|
34
38
|
function getPathFromLoaderPath(loaderPath) {
|
35
39
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
36
40
|
}
|
41
|
+
function getSearchParams(searchParams) {
|
42
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
43
|
+
}
|
37
44
|
//# sourceMappingURL=cleanUrl.js.map
|
package/dist/cjs/cleanUrl.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/cleanUrl.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAyB,wBACzB,gBAAuB,qBACvBA,oBAA0B,+BAC1B,sBAA6B;AAE7B,SAAS,SAAS,MAAc;AAC9B,aACE,kCAAa,IAAI,EACd,WAAW,KAAK,GAAG,EAEnB,QAAQ,MAAM,EAAE;AAEvB;AAEA,M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AAS,gBAAgB,cAAc;AACrC,SAAK,eAIE,GAAG,YAAY,IAAI,iBAAiB,MAAM,CAAC,CAA8B,KAHvE;AAIX;",
|
5
5
|
"names": ["import_constants"]
|
6
6
|
}
|
@@ -29,12 +29,15 @@ function getPreloadPath(currentPath) {
|
|
29
29
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
30
30
|
}
|
31
31
|
function getLoaderPath(currentPath) {
|
32
|
-
var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : import_constants.isNative, baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "";
|
33
|
-
return `${baseURL}${devPath}/assets/${cleanUrl(
|
32
|
+
var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : import_constants.isNative, baseURL = includeUrl ? (0, import_getURL.getURL)() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(currentPath, "http://example.com");
|
33
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
34
34
|
}
|
35
35
|
function getPathFromLoaderPath(loaderPath) {
|
36
36
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
37
37
|
}
|
38
|
+
function getSearchParams(searchParams) {
|
39
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
40
|
+
}
|
38
41
|
// Annotate the CommonJS export names for ESM import in node:
|
39
42
|
0 && (module.exports = {
|
40
43
|
getLoaderPath,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/cleanUrl.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;uBAAyB,wBACzB,gBAAuB,qBACvBA,oBAA0B,+BAC1B,sBAA6B;AAE7B,SAASC,SAASC,MAAY;AAC5B,aACEC,kCAAaD,IAAAA,EACVE,WAAW,KAAK,GAAA,EAEhBC,QAAQ,MAAM,EAAA;AAErB;AAEA,IAAMC,WAAW,OAAOC,SAAW,KAC7BC,mBAAmBF,WAAW,UAAUG,2BAAAA,KAAc,IACtDC,gBAAgBJ,eAAWK,sBAAAA,IAAW;AAErC,SAASC,eAAeC,aAAmB;AAChD,SAAO,GAAGH,aAAAA,WAAwBT,SAASY,YAAYC,MAAM,CAAA,CAAA,CAAA,cAAiBN,gBAAAA;AAChF;AAEO,SAASO,cACdF,aAAmB;MAEnBG,aAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAaC,2BAEPC,UAAUF,iBAAaL,sBAAAA,IAAW,IAClCQ,UAAUC,QAAQC,IAAIC,aAAa,gBAAgB,UAAU;
|
5
|
-
"names": ["import_constants", "cleanUrl", "path", "removeSearch", "replaceAll", "replace", "isClient", "window", "clientSideSearch", "CACHE_KEY", "clientSideURL", "getURL", "getPreloadPath", "currentPath", "slice", "getLoaderPath", "includeUrl", "isNative", "baseURL", "devPath", "process", "env", "NODE_ENV", "getPathFromLoaderPath", "loaderPath"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;uBAAyB,wBACzB,gBAAuB,qBACvBA,oBAA0B,+BAC1B,sBAA6B;AAE7B,SAASC,SAASC,MAAY;AAC5B,aACEC,kCAAaD,IAAAA,EACVE,WAAW,KAAK,GAAA,EAEhBC,QAAQ,MAAM,EAAA;AAErB;AAEA,IAAMC,WAAW,OAAOC,SAAW,KAC7BC,mBAAmBF,WAAW,UAAUG,2BAAAA,KAAc,IACtDC,gBAAgBJ,eAAWK,sBAAAA,IAAW;AAErC,SAASC,eAAeC,aAAmB;AAChD,SAAO,GAAGH,aAAAA,WAAwBT,SAASY,YAAYC,MAAM,CAAA,CAAA,CAAA,cAAiBN,gBAAAA;AAChF;AAEO,SAASO,cACdF,aAAmB;MAEnBG,aAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAaC,2BAEPC,UAAUF,iBAAaL,sBAAAA,IAAW,IAClCQ,UAAUC,QAAQC,IAAIC,aAAa,gBAAgB,UAAU,IAE7DC,iBAAiB,IAAIC,IACzBX,aACA,oBAAA;AAGF,SAAO,GAAGK,OAAAA,GAAUC,OAAAA,WAAkBlB,SAASsB,eAAeE,SAASX,MAAM,CAAA,CAAA,CAAA,kBAAqBY,gBAAgBH,eAAeI,MAAM,CAAA;AACzI;AAEO,SAASC,sBAAsBC,YAAkB;AACtD,SAAOA,WACJxB,QAAQ,mBAAmB,EAAA,EAC3BA,QAAQ,sBAAsB,EAAA,EAC9BA,QAAQ,KAAK,GAAA;AAClB;AAEA,SAASqB,gBAAgBI,cAAY;AACnC,SAAKA,eAIE,GAAGA,YAAAA,IAAgBtB,iBAAiBM,MAAM,CAAA,CAAA,KAHxCN;AAIX;",
|
5
|
+
"names": ["import_constants", "cleanUrl", "path", "removeSearch", "replaceAll", "replace", "isClient", "window", "clientSideSearch", "CACHE_KEY", "clientSideURL", "getURL", "getPreloadPath", "currentPath", "slice", "getLoaderPath", "includeUrl", "isNative", "baseURL", "devPath", "process", "env", "NODE_ENV", "currentPathUrl", "URL", "pathname", "getSearchParams", "search", "getPathFromLoaderPath", "loaderPath", "searchParams"]
|
6
6
|
}
|
package/dist/esm/Root.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Root.tsx"],
|
4
|
-
"mappings": "AAAA,SAAS,UAAU,WAAW,gBAAwD;AAEtF,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAElC;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,8BAA8B;AACvC,SAAS,sBAAsB;AAC/B,OAAO,iCAAiC;AACxC,SAAS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AM;AAAA,MACf;AAAA,MACA,OAAO,gBAAgB,SAAS,YAAY;AAAA,MAC5C,eAAe;AAAA,QACb,SAAS;AAAA,MACX;AAAA,MACC,GAAG;AAAA,MAEJ,8BAAC,sBAAsB,UAAtB,EAA+B,OAAO,iBACpC,kBAAQ,oBAAC,aAAU,CAAE,GACxB;AAAA;AAAA,EACF;AAEJ;AAEA,IAAI;AAEA,QAAQ,IAAI,aAAa,eAC3B,oBAAoB,CAAC,WAA6B;AAChD,QAAM,UAA2C,OAAO;AAExD,MAAI,UAAU,eAAe,OAAO,IAAI,IACtC,UAAU,iBAAiB,KAAK,UAAU,OAAO,OAAO,CAAC,KAAK,EAChE;AAEA,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,MAAI,SAAS,OACX,WAAW;AAAA;AAAA,6BAAkC,QAAQ,IAAI,OAEzD,WAAW;AAAA;AAAA;AAGb;AAAA,IACF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,iBAAW;AAAA;AAAA;AACX;AAAA,IACF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,iBAAW;AAAA;AAAA;AACX;AAAA,EACJ;AAIA,MAFA,WAAW;AAAA;AAAA,uEAEP,QAAQ,IAAI,aAAa;AAC3B,UAAM,IAAI,MAAM,OAAO;AAEzB,UAAQ,MAAM,OAAO;AACvB,IAEA,oBAAoB,MAAM;AAAC;",
|
5
5
|
"names": ["Fragment"]
|
6
6
|
}
|
package/dist/esm/Root.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","Fragment2","jsx","jsxs","window","__getReactRefreshIgnoredExports","Root","props","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message","console","error"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,EAAUC,SAAA,EAAWC,QAAA,QAAwD;AAEtF,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SACEC,SAAA,EACAC,YAAA,QAGK;AACP,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,OAAOC,2BAAA,MAAiC;AACxC,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,YAAA,QAAoB;AAC7B,SAASC,iBAAA,QAAyB;AAElC,SAASC,IAAA,QAAY;AAwCjB,SAoEAd,QAAA,IAAAe,SAAA,EAlEEC,GAAA,EAFFC,IAAA;AArCA,OAAOC,MAAA,GAAW,QAEpBA,MAAA,CAAOC,+BAAA,GAAkC,MAAM,CAAC,iBAAiB,sBAAsB,QAAQ;AA8B1F,SAASC,KAAKC,KAAA,EAAkB;EAGrC,MAAMC,QAAA;EAAA;EAEJ;EAAAL,IAAA,CAACb,iBAAA;IAECmB,QAAA,kBAAAP,GAAA,CAACQ,QAAA;MAAyB,GAAGH;IAAA,GAAf,UAAsB,GACpC,eAAAL,GAAA,CAACJ,YAAA,MAAiB,eAAgB;EAAA,CACpC;EAIF,IAAIS,KAAA,CAAMI,QAAA,EAAU;IAClB,IAAIC,UAAA,CAAWC,mBAAA,KAA2B,OAAO;MAE/C,MAAM,CAACC,IAAA,EAAMC,OAAO,IAAI3B,QAAA,CAA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A,CAAC;MAAK2B,GAAA,EAAI;MAAUC,IAAA,EAAMM,QAAA;MAAUC,EAAA,EAAG;IAAA,CAAQ,GAC/C,eAAAnC,GAAA,CAAC;MAAK2B,GAAA,EAAI;MAAaC,IAAA,EAAMM,QAAA;MAAU,gBAAY;IAAA,CAAC,GACpD,eAAAlC,GAAA,CAAC;MACCoC,IAAA,EAAK;MACLd,uBAAA,EAAyB;QACvBC,MAAA,EAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;MAOV;IAAA,CACF,GACA,eAAAvB,GAAA,CAAC;MACCoC,IAAA,EAAK;MACLd,uBAAA,EAAyB;QACvBC,MAAA,EAAQ;AAAA;AAAA;AAAA;MAIV;IAAA,CACF;EAAA,CACF;AAEJ;AAEA,SAASf,SAAS;EAAE6B,MAAA;EAAQC,IAAA;EAAMC,OAAA,GAAUvD,QAAA;EAAUwD,YAAA;EAAc,GAAGnC;AAAM,GAAc;EACzF,MAAMoC,OAAA,GAAUtD,aAAA,CAAckD,MAAA,EAAQG,YAAA,EAAc9B,UAAA,CAAWgC,aAAgB;IAGzEC,QAAA,GACJ,OAAOzC,MAAA,GAAW,OAAeA,MAAA,CAAOyC,QAAA,GACpC,IAAIC,GAAA,CAAIN,IAAA,IAAQpC,MAAA,CAAOyC,QAAA,CAASf,IAAA,IAAQ,KAAK1B,MAAA,CAAOyC,QAAA,CAASf,IAAI,IACjE,IAAIgB,GAAA,CAAIN,IAAA,IAAQ,KAAK,kBAAkB;EAE7C,OAAO,eAAAtC,GAAA,CAAC6C,gBAAA;IAAkB,GAAGxC,KAAA;IAAOsC,QAAA;IAAoBF,OAAA;IAAkBF;EAAA,CAAkB;AAC9F;
|
1
|
+
{"version":3,"names":["Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","Fragment2","jsx","jsxs","window","__getReactRefreshIgnoredExports","Root","props","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message","console","error"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,EAAUC,SAAA,EAAWC,QAAA,QAAwD;AAEtF,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SACEC,SAAA,EACAC,YAAA,QAGK;AACP,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,OAAOC,2BAAA,MAAiC;AACxC,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,YAAA,QAAoB;AAC7B,SAASC,iBAAA,QAAyB;AAElC,SAASC,IAAA,QAAY;AAwCjB,SAoEAd,QAAA,IAAAe,SAAA,EAlEEC,GAAA,EAFFC,IAAA;AArCA,OAAOC,MAAA,GAAW,QAEpBA,MAAA,CAAOC,+BAAA,GAAkC,MAAM,CAAC,iBAAiB,sBAAsB,QAAQ;AA8B1F,SAASC,KAAKC,KAAA,EAAkB;EAGrC,MAAMC,QAAA;EAAA;EAEJ;EAAAL,IAAA,CAACb,iBAAA;IAECmB,QAAA,kBAAAP,GAAA,CAACQ,QAAA;MAAyB,GAAGH;IAAA,GAAf,UAAsB,GACpC,eAAAL,GAAA,CAACJ,YAAA,MAAiB,eAAgB;EAAA,CACpC;EAIF,IAAIS,KAAA,CAAMI,QAAA,EAAU;IAClB,IAAIC,UAAA,CAAWC,mBAAA,KAA2B,OAAO;MAE/C,MAAM,CAACC,IAAA,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AA,GACXkD,OAAA,IAAW;AAAA;AAAA,6BAAkCD,OAAA,CAAQjD,IAAI,OAEzDkD,OAAA,IAAW;AAAA;AAAA;MAGb;IACF,KAAK;IACL,KAAK;IACL,KAAK;MACHA,OAAA,IAAW;AAAA;AAAA;MACX;IACF,KAAK;IACL,KAAK;IACL,KAAK;MACHA,OAAA,IAAW;AAAA;AAAA;MACX;EACJ;EAIA,IAFAA,OAAA,IAAW;AAAA;AAAA,uEAEPhD,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,QAC3B,MAAM,IAAIiC,KAAA,CAAMa,OAAO;EAEzBC,OAAA,CAAQC,KAAA,CAAMF,OAAO;AACvB,IAEAR,iBAAA,GAAoBA,CAAA,KAAM,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","window","__getReactRefreshIgnoredExports","Root","props","_loaderData_constructor","_props_css","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","param","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAU,EAAAC,IAAA,IAAWC,KAAA,EAAAC,QAAA,IAAwDC,SAAA;AAEtF,SAASD,QAAA,EAAAE,SAAA,EAAqBC,QAAA;AAC9B,S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A,CAAAlB,UAAA,GAAAF,KAAA,CAAAqB,GAAyB,cAAAnB,UAAA,uBAAAA,UAAA,CAAAoB,GAAA,WAAAC,IAAA;QACvB,OAAQ,eAAA7C,IAAA;UAAA8C,GAAA;UAAAC,IAAA,EAAAF;QAEyD,GAAAA,IAAA;MACQ;IACP,EAEpE,iBAAA7C,IAAA;MACF0B,QAAA,EAAAD;IACF,IAEJ;IAEM,eAAWzB,IAAA;MAEjBgD,KAAS;MACP;MAEID,IAAA,mBAAC;MACDN,uBAAC;QACDC,MAAA;AAAA;AAAC,iDAAAO,IAAA,CAAAC,SAAA,CAAAjB,UAAA;AAAA,kDACMgB,IAAA,CAAAC,SAAA,CAAA5B,KAAA,CAAA6B,WAAA;AAAA,kDACoBF,IAAA,CAAAC,SAAA,CAAA5B,KAAA,CAAA8B,IAAA;AAAA;MACf;IAAA;EAAA;AAAA;AAAA,IAAAC,QAAA,wCAAAnC,IAAA;AAAA,SAOVsB,QAAA;EAAA,sBAAAtC,KAAA,CAAAE,SAAA;IACFsB,QAAA,GACA,eAAA1B,IAAA;MAAC8C,GAAA;MAAAC,IAAA,EAAAM,QAAA;MACCC,EAAA;IAAK,EACL,EAAyB,eACftD,IAAA;MAAA8C,GAAA;MAAAC,IAAA,EAAAM,QAAA;MAAA;IAAA,EAIV,iBAAArD,IAAA;MACFuD,IAAA;MACFd,uBAAA;QAEJC,MAAA;AAEA;AACE;AAQA;AACF;
|
1
|
+
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","useEffect","useState","useViteRoutes","RootErrorBoundary","DarkTheme","DefaultTheme","SafeAreaProviderCompat","useColorScheme","UpstreamNavigationContainer","ServerLocationContext","useInitializeOneRouter","PreloadLinks","ScrollRestoration","rand","window","__getReactRefreshIgnoredExports","Root","props","_loaderData_constructor","_props_css","contents","children","Contents","isClient","globalThis","__vxrnHydrateMode__","show","setShow","loaderData","constructor","name","lang","process","env","NODE_ENV","DevHead","dangerouslySetInnerHTML","__html","css","map","file","rel","href","async","JSON","stringify","loaderProps","mode","ssrCSSID","as","type","param","routes","path","wrapper","routeOptions","context","__vxrnVersion","location","URL","ContextNavigator","ParentWrapper","initialLocation","navigationContainerProps","store","colorScheme","Component","rootComponent","Error","ref","navigationRef","initialState","linking","onUnhandledAction","theme","documentTitle","enabled","Provider","value","action","payload","message"],"sources":["../../src/Root.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAU,EAAAC,IAAA,IAAWC,KAAA,EAAAC,QAAA,IAAwDC,SAAA;AAEtF,SAASD,QAAA,EAAAE,SAAA,EAAqBC,QAAA;AAC9B,SAASC,aAAA,mCAAyB;AAElC,SAAAC,iBAAA;AAAA,SACEC,SAAA,EAAAC,YAAA;AAAA,SACAC,sBAAA;AAAA,SAGKC,cAAA;AACP,OAAAC,2BAAS,MAA8B;AACvC,SAASC,qBAAA,QAAsB;AAC/B,SAAOC,sBAAA,mDAAiC;AACxC,SAASC,YAAA,wCAA6B;AACtC,SAASC,iBAAA,6CAA8B;AACvC,SAASC,IAAA,gCAAoB;AAC7B,OAAAC,MAAS,WAAAA,MAAA,CAAAC,+BAAyB;EAElC,OAAS,CAwCL,eAoEA,EAzGA,oBAEF,EA8BK,QAAS,CAGd;AAAM;AAAA,SAEJC,KAAAC,KAAA;EAEE,IAAAC,uBAAC;IAAAC,UAA4B;IAAAC,QAAf;IAAsB;IACF;IACpCvB,KAAA,CAAAM,iBAAA;MAAAkB,QAAA,GAIE;MACE,eAAW1B,IAAA,CAAA2B,QAAA;QAEb,GAAOL;MAGP,gBACE,eAAYtB,IAAA,CAAAgB,YAAA;IAIhB,EACA;EACF,IAAAM,KAAA,CAAAM,QAAA;IAEA,IAAMC,UAAA,CAAWC,mBAAI;MAGrB,IAAI,CAAAC,IAAA,EAAAC,OAAY,IAAA1B,QAAa;MAMzB,OAAAD,SAAA,aAAC;QACE2B,OAAQ,GAAI;MAEb,QAAAD,IAAA,GAAAN,QAAA;IAAA;IAAC,O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,IAAA,CAAAa,2BAAA;IAAA6D,GAAA,EAAAL,KAAA,CAAAM,aAAA;IAGbC,YAAA,EAAAP,KAAA,CAAAO,YAAA;IACFC,OAAK,EAAAR,KAAA,CAAAQ,OAAA;IACLC,iBAAK;IACLC,KAAK,EAAAT,WAAA,cAAA7D,SAAA,GAAAC,YAAA;IACHsE,aAAW;MAAAC,OAAA;IAAA;IACX,GAAAb,wBAAA;IACF1C,QAAK,iBAAA1B,IAAA,CAAAc,qBAAA,CAAAoE,QAAA;MACLC,KAAK,EAAAhB,eAAA;MACLzC,QAAK,EAAAiC,OAAA,gBAAA3D,IAAA,CAAAuE,SAAA;IACH;EAAW;AAAA;AACX,IAAAO,iBAAA;AAAAzC,OACJ,CAAAC,GAAA,CAAAC,QAAA,oBAAAuC,iBAAA,YAAAA,CAAAM,MAAA;EAIA,IAFAC,OAAA,GAAAD,MAAW,CAAAC,OAAA;IAAAC,OAAA,kBAAAF,MAAA,CAAA7B,IAAA,IAAA8B,OAAA,oBAAApC,IAAA,CAAAC,SAAA,CAAAkC,MAAA,CAAAC,OAAA;EAAA,QAAAD,MAAA,CAAA7B,IAAA;IAAA;IAGT,WAAU;IAEZ,cAAc;IAGhB;MAA2B8B,OAAA,EAAAlD,IAAA,GAAAmD,OAAA","ignoreList":[]}
|
package/dist/esm/cleanUrl.js
CHANGED
@@ -10,12 +10,19 @@ function getPreloadPath(currentPath) {
|
|
10
10
|
return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
|
11
11
|
}
|
12
12
|
function getLoaderPath(currentPath, includeUrl = isNative) {
|
13
|
-
const baseURL = includeUrl ? getURL() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
14
|
-
|
13
|
+
const baseURL = includeUrl ? getURL() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "", currentPathUrl = new URL(
|
14
|
+
currentPath,
|
15
|
+
"http://example.com"
|
16
|
+
/* not important, just for `new URL()` to work */
|
17
|
+
);
|
18
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
15
19
|
}
|
16
20
|
function getPathFromLoaderPath(loaderPath) {
|
17
21
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
18
22
|
}
|
23
|
+
function getSearchParams(searchParams) {
|
24
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
25
|
+
}
|
19
26
|
export {
|
20
27
|
getLoaderPath,
|
21
28
|
getPathFromLoaderPath,
|
package/dist/esm/cleanUrl.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/cleanUrl.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,gBAAgB;AACzB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAE7B,SAAS,SAAS,MAAc;AAC9B,SACE,aAAa,IAAI,EACd,WAAW,KAAK,GAAG,EAEnB,QAAQ,MAAM,EAAE;AAEvB;AAEA,MAAM,WAAW,OAAO,SAAW,KAC7B,mBAAmB,WAAW,UAAU,SAAS,KAAK,IACtD,gBAAgB,WAAW,OAAO,IAAI;AAErC,SAAS,eAAe,aAAqB;AAClD,SAAO,GAAG,aAAa,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,cAAc,gBAAgB;AAChG;AAEO,SAAS,cACd,aAEA,aAAa,UACb;AACA,QAAM,UAAU,aAAa,OAAO,IAAI,IAClC,UAAU,QAAQ,IAAI,aAAa,gBAAgB,UAAU;
|
4
|
+
"mappings": "AAAA,SAAS,gBAAgB;AACzB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAE7B,SAAS,SAAS,MAAc;AAC9B,SACE,aAAa,IAAI,EACd,WAAW,KAAK,GAAG,EAEnB,QAAQ,MAAM,EAAE;AAEvB;AAEA,MAAM,WAAW,OAAO,SAAW,KAC7B,mBAAmB,WAAW,UAAU,SAAS,KAAK,IACtD,gBAAgB,WAAW,OAAO,IAAI;AAErC,SAAS,eAAe,aAAqB;AAClD,SAAO,GAAG,aAAa,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,cAAc,gBAAgB;AAChG;AAEO,SAAS,cACd,aAEA,aAAa,UACb;AACA,QAAM,UAAU,aAAa,OAAO,IAAI,IAClC,UAAU,QAAQ,IAAI,aAAa,gBAAgB,UAAU,IAE7D,iBAAiB,IAAI;AAAA,IACzB;AAAA,IACA;AAAA;AAAA,EACF;AAEA,SAAO,GAAG,OAAO,GAAG,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,CAAC,CAAC,CAAC,kBAAkB,gBAAgB,eAAe,MAAM,CAAC;AAC1I;AAEO,SAAS,sBAAsB,YAAoB;AACxD,SAAO,WACJ,QAAQ,mBAAmB,EAAE,EAC7B,QAAQ,sBAAsB,EAAE,EAChC,QAAQ,KAAK,GAAG;AACrB;AAEA,SAAS,gBAAgB,cAAc;AACrC,SAAK,eAIE,GAAG,YAAY,IAAI,iBAAiB,MAAM,CAAC,CAA8B,KAHvE;AAIX;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/cleanUrl.mjs
CHANGED
@@ -13,11 +13,16 @@ function getPreloadPath(currentPath) {
|
|
13
13
|
}
|
14
14
|
function getLoaderPath(currentPath, includeUrl = isNative) {
|
15
15
|
const baseURL = includeUrl ? getURL() : "",
|
16
|
-
devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
17
|
-
|
16
|
+
devPath = process.env.NODE_ENV === "development" ? "/_one" : "",
|
17
|
+
currentPathUrl = new URL(currentPath, "http://example.com"
|
18
|
+
/* not important, just for `new URL()` to work */);
|
19
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
18
20
|
}
|
19
21
|
function getPathFromLoaderPath(loaderPath) {
|
20
22
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
21
23
|
}
|
24
|
+
function getSearchParams(searchParams) {
|
25
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
26
|
+
}
|
22
27
|
export { getLoaderPath, getPathFromLoaderPath, getPreloadPath };
|
23
28
|
//# sourceMappingURL=cleanUrl.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["isNative","getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","baseURL","devPath","process","env","NODE_ENV","getPathFromLoaderPath","loaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,QAAgB;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,MAAMC,QAAA,GAAW,OAAOC,MAAA,GAAW;EAC7BC,gBAAA,GAAmBF,QAAA,GAAW,UAAUN,SAAS,KAAK;EACtDS,aAAA,GAAgBH,QAAA,GAAWP,MAAA,CAAO,IAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cACdF,WAAA,EAEAG,UAAA,GAAahB,QAAA,EACb;EACA,MAAMiB,OAAA,GAAUD,UAAA,GAAaf,MAAA,CAAO,IAAI;IAClCiB,OAAA,GAAUC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,gBAAgB,UAAU;
|
1
|
+
{"version":3,"names":["isNative","getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","baseURL","devPath","process","env","NODE_ENV","currentPathUrl","URL","pathname","getSearchParams","search","getPathFromLoaderPath","loaderPath","searchParams"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,QAAgB;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,MAAMC,QAAA,GAAW,OAAOC,MAAA,GAAW;EAC7BC,gBAAA,GAAmBF,QAAA,GAAW,UAAUN,SAAS,KAAK;EACtDS,aAAA,GAAgBH,QAAA,GAAWP,MAAA,CAAO,IAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cACdF,WAAA,EAEAG,UAAA,GAAahB,QAAA,EACb;EACA,MAAMiB,OAAA,GAAUD,UAAA,GAAaf,MAAA,CAAO,IAAI;IAClCiB,OAAA,GAAUC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,gBAAgB,UAAU;IAE7DC,cAAA,GAAiB,IAAIC,GAAA,CACzBV,WAAA,EACA;IAAA,iDACF;EAEA,OAAO,GAAGI,OAAO,GAAGC,OAAO,WAAWd,QAAA,CAASkB,cAAA,CAAeE,QAAA,CAASV,KAAA,CAAM,CAAC,CAAC,CAAC,kBAAkBW,eAAA,CAAgBH,cAAA,CAAeI,MAAM,CAAC;AAC1I;AAEO,SAASC,sBAAsBC,UAAA,EAAoB;EACxD,OAAOA,UAAA,CACJrB,OAAA,CAAQ,mBAAmB,EAAE,EAC7BA,OAAA,CAAQ,sBAAsB,EAAE,EAChCA,OAAA,CAAQ,KAAK,GAAG;AACrB;AAEA,SAASkB,gBAAgBI,YAAA,EAAc;EACrC,OAAKA,YAAA,GAIE,GAAGA,YAAY,IAAInB,gBAAA,CAAiBI,KAAA,CAAM,CAAC,CAA8B,KAHvEJ,gBAAA;AAIX","ignoreList":[]}
|
@@ -14,11 +14,15 @@ function getPreloadPath(currentPath) {
|
|
14
14
|
function getLoaderPath(currentPath) {
|
15
15
|
var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : isNative,
|
16
16
|
baseURL = includeUrl ? getURL() : "",
|
17
|
-
devPath = process.env.NODE_ENV === "development" ? "/_one" : ""
|
18
|
-
|
17
|
+
devPath = process.env.NODE_ENV === "development" ? "/_one" : "",
|
18
|
+
currentPathUrl = new URL(currentPath, "http://example.com");
|
19
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`;
|
19
20
|
}
|
20
21
|
function getPathFromLoaderPath(loaderPath) {
|
21
22
|
return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
|
22
23
|
}
|
24
|
+
function getSearchParams(searchParams) {
|
25
|
+
return searchParams ? `${searchParams}&${clientSideSearch.slice(1)}` : clientSideSearch;
|
26
|
+
}
|
23
27
|
export { getLoaderPath, getPathFromLoaderPath, getPreloadPath };
|
24
28
|
//# sourceMappingURL=cleanUrl.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["isNative","getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","arguments","length","baseURL","devPath","process","env","NODE_ENV","getPathFromLoaderPath","loaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,QAAgB;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,IAAAC,QAAM,UAAWC,MAAO,MAAW;EAAAC,gBAC7B,GAAAF,QAAmB,aAAWN,SAAU,EAAS,KAAK;EAAAS,aACtD,GAAAH,QAAgB,GAAAP,MAAW,KAAO,EAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cACdF,WAAA,EAEA;EAEA,IAAAG,UAAM,GAAUC,SAAA,CAAAC,MAAa,GAAO,KAAID,SAClC,QAAU,KAAQ,IAAIA,SAAA,GAAa,GAAAjB,QAAA;IAAAmB,OAAgB,GAAAH,
|
1
|
+
{"version":3,"names":["isNative","getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","arguments","length","baseURL","devPath","process","env","NODE_ENV","currentPathUrl","URL","pathname","getSearchParams","search","getPathFromLoaderPath","loaderPath","searchParams"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,QAAgB;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,IAAAC,QAAM,UAAWC,MAAO,MAAW;EAAAC,gBAC7B,GAAAF,QAAmB,aAAWN,SAAU,EAAS,KAAK;EAAAS,aACtD,GAAAH,QAAgB,GAAAP,MAAW,KAAO,EAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cACdF,WAAA,EAEA;EAEA,IAAAG,UAAM,GAAUC,SAAA,CAAAC,MAAa,GAAO,KAAID,SAClC,QAAU,KAAQ,IAAIA,SAAA,GAAa,GAAAjB,QAAA;IAAAmB,OAAgB,GAAAH,UAEnD,GAAAf,MAAA,KAAiB;IAAImB,OAAA,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;IAAAC,cAAA,OAAAC,GAAA,CAAAZ,WAAA;EAAA,OACzB,GAAAM,OAAA,GAAAC,OAAA,WAAAhB,QAAA,CAAAoB,cAAA,CAAAE,QAAA,CAAAZ,KAAA,sBAAAa,eAAA,CAAAH,cAAA,CAAAI,MAAA;AAAA;AACA,SAAAC,sBAAAC,UAAA;EACF,OAAAA,UAAA,CAAAvB,OAAA,wBAAAA,OAAA,2BAAAA,OAAA;AAEA;AACF,SAAAoB,gBAAAI,YAAA;EAEO,OAASA,YAAA,MAAAA,YAAsB,IAAoBrB,gBAAA,CAAAI,KAAA,QAAAJ,gBAAA;AACxD;AAIF,SAEAK,aAAS,EACPc,qBAAK,EAKPjB,cAAA","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.298",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"sideEffects": false,
|
@@ -89,13 +89,13 @@
|
|
89
89
|
"@react-navigation/native-stack": "~6.9.13",
|
90
90
|
"@react-navigation/routers": "~6.1.9",
|
91
91
|
"@ungap/structured-clone": "^1.2.0",
|
92
|
-
"@vxrn/tslib-lite": "1.1.
|
93
|
-
"@vxrn/universal-color-scheme": "1.1.
|
94
|
-
"@vxrn/use-isomorphic-layout-effect": "1.1.
|
92
|
+
"@vxrn/tslib-lite": "1.1.298",
|
93
|
+
"@vxrn/universal-color-scheme": "1.1.298",
|
94
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.298",
|
95
95
|
"babel-dead-code-elimination": "^1.0.6",
|
96
96
|
"citty": "^0.1.6",
|
97
97
|
"core-js": "^3.38.1",
|
98
|
-
"create-vxrn": "1.1.
|
98
|
+
"create-vxrn": "1.1.298",
|
99
99
|
"dotenv": "^16.4.5",
|
100
100
|
"escape-string-regexp": "^5.0.0",
|
101
101
|
"expo-linking": "~6.3.1",
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"url-parse": "^1.5.10",
|
118
118
|
"vite": "6.0.0-beta.1",
|
119
119
|
"vite-tsconfig-paths": "^5.0.1",
|
120
|
-
"vxrn": "1.1.
|
120
|
+
"vxrn": "1.1.298",
|
121
121
|
"ws": "^8.18.0",
|
122
122
|
"xxhashjs": "^0.2.2"
|
123
123
|
},
|
@@ -125,7 +125,7 @@
|
|
125
125
|
"react-native": "*"
|
126
126
|
},
|
127
127
|
"devDependencies": {
|
128
|
-
"@tamagui/build": "^1.
|
128
|
+
"@tamagui/build": "^1.113.0",
|
129
129
|
"@types/node": "^22.1.0",
|
130
130
|
"@types/react-dom": "^18.2.25",
|
131
131
|
"@types/url-parse": "^1.4.11",
|
package/src/Root.tsx
CHANGED
@@ -2,7 +2,7 @@ import { Fragment, useEffect, useState, type FunctionComponent, type ReactNode }
|
|
2
2
|
import type { GlobbedRouteImports, RenderAppProps } from './types'
|
3
3
|
import { useViteRoutes } from './useViteRoutes'
|
4
4
|
import { RootErrorBoundary } from './views/RootErrorBoundary'
|
5
|
-
|
5
|
+
import { GestureHandlerRootView as _GestureHandlerRootView } from 'react-native-gesture-handler'
|
6
6
|
import {
|
7
7
|
DarkTheme,
|
8
8
|
DefaultTheme,
|
@@ -166,23 +166,27 @@ function Contents({ routes, path, wrapper = Fragment, routeOptions, ...props }:
|
|
166
166
|
}
|
167
167
|
|
168
168
|
// function getGestureHandlerRootView() {
|
169
|
-
//
|
170
|
-
//
|
171
|
-
//
|
169
|
+
// if (process.env.TAMAGUI_TARGET === 'native') {
|
170
|
+
// try {
|
171
|
+
// if (!_GestureHandlerRootView) {
|
172
|
+
// return Fragment
|
173
|
+
// }
|
174
|
+
|
175
|
+
// // eslint-disable-next-line no-inner-declarations
|
176
|
+
// function GestureHandler(props: any) {
|
177
|
+
// return <_GestureHandlerRootView style={{ flex: 1 }} {...props} />
|
178
|
+
// }
|
179
|
+
// if (process.env.NODE_ENV === 'development') {
|
180
|
+
// // @ts-expect-error
|
181
|
+
// GestureHandler.displayName = 'GestureHandlerRootView'
|
182
|
+
// }
|
183
|
+
// return GestureHandler
|
184
|
+
// } catch {
|
185
|
+
// return Fragment
|
172
186
|
// }
|
173
|
-
|
174
|
-
// // eslint-disable-next-line no-inner-declarations
|
175
|
-
// function GestureHandler(props: any) {
|
176
|
-
// return <_GestureHandlerRootView style={{ flex: 1 }} {...props} />
|
177
|
-
// }
|
178
|
-
// if (process.env.NODE_ENV === 'development') {
|
179
|
-
// // @ts-expect-error
|
180
|
-
// GestureHandler.displayName = 'GestureHandlerRootView'
|
181
|
-
// }
|
182
|
-
// return GestureHandler
|
183
|
-
// } catch {
|
184
|
-
// return React.Fragment
|
185
187
|
// }
|
188
|
+
|
189
|
+
// return Fragment
|
186
190
|
// }
|
187
191
|
|
188
192
|
// const GestureHandlerRootView = getGestureHandlerRootView()
|
package/src/cleanUrl.ts
CHANGED
@@ -27,7 +27,13 @@ export function getLoaderPath(
|
|
27
27
|
) {
|
28
28
|
const baseURL = includeUrl ? getURL() : ''
|
29
29
|
const devPath = process.env.NODE_ENV === 'development' ? '/_one' : ''
|
30
|
-
|
30
|
+
|
31
|
+
const currentPathUrl = new URL(
|
32
|
+
currentPath,
|
33
|
+
'http://example.com' /* not important, just for `new URL()` to work */
|
34
|
+
)
|
35
|
+
|
36
|
+
return `${baseURL}${devPath}/assets/${cleanUrl(currentPathUrl.pathname.slice(1))}_vxrn_loader.js${getSearchParams(currentPathUrl.search)}`
|
31
37
|
}
|
32
38
|
|
33
39
|
export function getPathFromLoaderPath(loaderPath: string) {
|
@@ -36,3 +42,11 @@ export function getPathFromLoaderPath(loaderPath: string) {
|
|
36
42
|
.replace(/^(\/_one)?\/assets/, '')
|
37
43
|
.replace('_', '/')
|
38
44
|
}
|
45
|
+
|
46
|
+
function getSearchParams(searchParams) {
|
47
|
+
if (!searchParams) {
|
48
|
+
return clientSideSearch
|
49
|
+
}
|
50
|
+
|
51
|
+
return `${searchParams}&${clientSideSearch.slice(1) /* remove the leading "?" */}`
|
52
|
+
}
|
package/types/cleanUrl.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cleanUrl.d.ts","sourceRoot":"","sources":["../src/cleanUrl.ts"],"names":[],"mappings":"AAkBA,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,UAEjD;AAED,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,EAEnB,UAAU,UAAW,
|
1
|
+
{"version":3,"file":"cleanUrl.d.ts","sourceRoot":"","sources":["../src/cleanUrl.ts"],"names":[],"mappings":"AAkBA,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,UAEjD;AAED,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,EAEnB,UAAU,UAAW,UAWtB;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,UAKvD"}
|