react-router 7.15.0 → 7.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -10
- package/dist/development/{browser-CRsXgNrY.d.mts → browser-3AnU12UI.d.mts} +1 -1
- package/dist/development/{browser-wDl1FZEL.d.ts → browser-BOdXz9dK.d.ts} +1 -1
- package/dist/development/{chunk-5KNZJZUH.mjs → chunk-4N6VE7H7.mjs} +230 -113
- package/dist/{production/chunk-7YXKJMLN.js → development/chunk-4YRVXM2U.js} +7 -7
- package/dist/development/{chunk-Z5YQYACE.js → chunk-66UKHEGQ.js} +106 -103
- package/dist/development/{chunk-AM3XM4LS.js → chunk-D6LUOGOQ.js} +251 -137
- package/dist/development/{chunk-RMD3H4O3.mjs → chunk-RJYABSBD.mjs} +22 -21
- package/dist/{production/context-BQs41HrG.d.mts → development/context-ByvtofY2.d.mts} +7 -1
- package/dist/development/dom-export.d.mts +2 -2
- package/dist/development/dom-export.d.ts +2 -2
- package/dist/development/dom-export.js +48 -50
- package/dist/development/dom-export.mjs +23 -25
- package/dist/{production/index-react-server-client-CSv-KZBk.d.ts → development/index-react-server-client-BS5F89FR.d.ts} +10 -2
- package/dist/{production/index-react-server-client-Ck_yZ1qL.d.mts → development/index-react-server-client-DY04-103.d.mts} +10 -2
- package/dist/development/index-react-server-client.d.mts +2 -2
- package/dist/development/index-react-server-client.d.ts +2 -2
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +6 -0
- package/dist/development/index-react-server.d.ts +6 -0
- package/dist/development/index-react-server.js +4 -4
- package/dist/development/index-react-server.mjs +4 -4
- package/dist/development/index.d.mts +91 -9
- package/dist/development/index.d.ts +91 -9
- package/dist/development/index.js +103 -100
- package/dist/development/index.mjs +5 -3
- package/dist/{production/instrumentation-DlJ2QV7d.d.ts → development/instrumentation-cRWWLfsU.d.ts} +7 -1
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/production/{browser-CRsXgNrY.d.mts → browser-3AnU12UI.d.mts} +1 -1
- package/dist/production/{browser-wDl1FZEL.d.ts → browser-BOdXz9dK.d.ts} +1 -1
- package/dist/production/{chunk-23ZOHYE5.mjs → chunk-6S4627ZB.mjs} +22 -21
- package/dist/production/{chunk-LCJTIOKZ.js → chunk-HUBUW7R3.js} +251 -137
- package/dist/production/{chunk-GM3PW4GX.mjs → chunk-JAKZPQZC.mjs} +230 -113
- package/dist/production/{chunk-YBQJ3ABE.js → chunk-PNZCCTKT.js} +106 -103
- package/dist/{development/chunk-2D5H3HU3.js → production/chunk-Y6IFXO7V.js} +7 -7
- package/dist/{development/context-BQs41HrG.d.mts → production/context-ByvtofY2.d.mts} +7 -1
- package/dist/production/dom-export.d.mts +2 -2
- package/dist/production/dom-export.d.ts +2 -2
- package/dist/production/dom-export.js +48 -50
- package/dist/production/dom-export.mjs +23 -25
- package/dist/{development/index-react-server-client-CSv-KZBk.d.ts → production/index-react-server-client-BS5F89FR.d.ts} +10 -2
- package/dist/{development/index-react-server-client-Ck_yZ1qL.d.mts → production/index-react-server-client-DY04-103.d.mts} +10 -2
- package/dist/production/index-react-server-client.d.mts +2 -2
- package/dist/production/index-react-server-client.d.ts +2 -2
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +6 -0
- package/dist/production/index-react-server.d.ts +6 -0
- package/dist/production/index-react-server.js +4 -4
- package/dist/production/index-react-server.mjs +4 -4
- package/dist/production/index.d.mts +91 -9
- package/dist/production/index.d.ts +91 -9
- package/dist/production/index.js +103 -100
- package/dist/production/index.mjs +5 -3
- package/dist/{development/instrumentation-DlJ2QV7d.d.ts → production/instrumentation-cRWWLfsU.d.ts} +7 -1
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.15.
|
|
2
|
+
* react-router v7.15.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
getStaticContextFromError,
|
|
38
38
|
instrumentHandler,
|
|
39
39
|
isDataWithResponseInit,
|
|
40
|
+
isMutationMethod,
|
|
40
41
|
isRedirectResponse,
|
|
41
42
|
isRedirectStatusCode,
|
|
42
43
|
isResponse,
|
|
@@ -53,7 +54,7 @@ import {
|
|
|
53
54
|
withComponentProps,
|
|
54
55
|
withErrorBoundaryProps,
|
|
55
56
|
withHydrateFallbackProps
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4N6VE7H7.mjs";
|
|
57
58
|
|
|
58
59
|
// lib/dom/ssr/server.tsx
|
|
59
60
|
import * as React from "react";
|
|
@@ -266,7 +267,7 @@ var unsign = async (cookie, secret) => {
|
|
|
266
267
|
let signature = byteStringToUint8Array(atob(hash));
|
|
267
268
|
let valid = await crypto.subtle.verify("HMAC", key, signature, data2);
|
|
268
269
|
return valid ? value : false;
|
|
269
|
-
} catch (
|
|
270
|
+
} catch (e) {
|
|
270
271
|
return false;
|
|
271
272
|
}
|
|
272
273
|
};
|
|
@@ -358,7 +359,7 @@ function encodeData(value) {
|
|
|
358
359
|
function decodeData(value) {
|
|
359
360
|
try {
|
|
360
361
|
return JSON.parse(decodeURIComponent(myEscape(atob(value))));
|
|
361
|
-
} catch (
|
|
362
|
+
} catch (e) {
|
|
362
363
|
return {};
|
|
363
364
|
}
|
|
364
365
|
}
|
|
@@ -1443,7 +1444,7 @@ async function handleManifestRequest(build, dataRoutes, branches, url) {
|
|
|
1443
1444
|
async function handleSingleFetchRequest(serverMode, build, staticHandler, request, normalizedPath, loadContext, handleError) {
|
|
1444
1445
|
let handlerUrl = new URL(request.url);
|
|
1445
1446
|
handlerUrl.pathname = normalizedPath;
|
|
1446
|
-
let response = request.method
|
|
1447
|
+
let response = isMutationMethod(request.method) ? await singleFetchAction(
|
|
1447
1448
|
build,
|
|
1448
1449
|
serverMode,
|
|
1449
1450
|
staticHandler,
|
|
@@ -1464,7 +1465,7 @@ async function handleSingleFetchRequest(serverMode, build, staticHandler, reques
|
|
|
1464
1465
|
}
|
|
1465
1466
|
async function handleDocumentRequest(serverMode, build, staticHandler, request, loadContext, handleError, isSpaMode, criticalCss) {
|
|
1466
1467
|
try {
|
|
1467
|
-
if (request.method
|
|
1468
|
+
if (isMutationMethod(request.method)) {
|
|
1468
1469
|
try {
|
|
1469
1470
|
throwIfPotentialCSRFAttack(
|
|
1470
1471
|
request.headers,
|
|
@@ -1927,7 +1928,7 @@ async function writeRSCStream(rscStream, controller) {
|
|
|
1927
1928
|
JSON.stringify(decoder.decode(chunk, { stream: true })),
|
|
1928
1929
|
controller
|
|
1929
1930
|
);
|
|
1930
|
-
} catch (
|
|
1931
|
+
} catch (e) {
|
|
1931
1932
|
let base64 = JSON.stringify(btoa(String.fromCodePoint(...chunk)));
|
|
1932
1933
|
writeChunk(
|
|
1933
1934
|
`Uint8Array.from(atob(${base64}), m => m.codePointAt(0))`,
|
|
@@ -2253,9 +2254,9 @@ async function routeRSCServerRequest({
|
|
|
2253
2254
|
statusText,
|
|
2254
2255
|
headers
|
|
2255
2256
|
});
|
|
2256
|
-
} catch (
|
|
2257
|
-
if (
|
|
2258
|
-
return
|
|
2257
|
+
} catch (error) {
|
|
2258
|
+
if (error instanceof Response) {
|
|
2259
|
+
return error;
|
|
2259
2260
|
}
|
|
2260
2261
|
if (renderRedirect) {
|
|
2261
2262
|
return new Response(`Redirect: ${renderRedirect.location}`, {
|
|
@@ -2266,8 +2267,8 @@ async function routeRSCServerRequest({
|
|
|
2266
2267
|
});
|
|
2267
2268
|
}
|
|
2268
2269
|
try {
|
|
2269
|
-
|
|
2270
|
-
let [status, statusText] = isRouteErrorResponse(
|
|
2270
|
+
let normalizedError = renderError ?? error;
|
|
2271
|
+
let [status, statusText] = isRouteErrorResponse(normalizedError) ? [normalizedError.status, normalizedError.statusText] : [500, ""];
|
|
2271
2272
|
let retryRedirect;
|
|
2272
2273
|
let reactHeaders = new Headers();
|
|
2273
2274
|
const html = await renderHTML(
|
|
@@ -2279,7 +2280,7 @@ async function routeRSCServerRequest({
|
|
|
2279
2280
|
(payload) => Object.assign(payload, {
|
|
2280
2281
|
status,
|
|
2281
2282
|
errors: deepestRenderedBoundaryId ? {
|
|
2282
|
-
[deepestRenderedBoundaryId]:
|
|
2283
|
+
[deepestRenderedBoundaryId]: normalizedError
|
|
2283
2284
|
} : {}
|
|
2284
2285
|
})
|
|
2285
2286
|
);
|
|
@@ -2302,19 +2303,19 @@ async function routeRSCServerRequest({
|
|
|
2302
2303
|
});
|
|
2303
2304
|
},
|
|
2304
2305
|
{
|
|
2305
|
-
onError(
|
|
2306
|
-
if (typeof
|
|
2307
|
-
retryRedirect = decodeRedirectErrorDigest(
|
|
2306
|
+
onError(error2) {
|
|
2307
|
+
if (typeof error2 === "object" && error2 && "digest" in error2 && typeof error2.digest === "string") {
|
|
2308
|
+
retryRedirect = decodeRedirectErrorDigest(error2.digest);
|
|
2308
2309
|
if (retryRedirect) {
|
|
2309
|
-
return
|
|
2310
|
+
return error2.digest;
|
|
2310
2311
|
}
|
|
2311
2312
|
let routeErrorResponse = decodeRouteErrorResponseDigest(
|
|
2312
|
-
|
|
2313
|
+
error2.digest
|
|
2313
2314
|
);
|
|
2314
2315
|
if (routeErrorResponse) {
|
|
2315
2316
|
status = routeErrorResponse.status;
|
|
2316
2317
|
statusText = routeErrorResponse.statusText;
|
|
2317
|
-
return
|
|
2318
|
+
return error2.digest;
|
|
2318
2319
|
}
|
|
2319
2320
|
}
|
|
2320
2321
|
},
|
|
@@ -2364,9 +2365,9 @@ async function routeRSCServerRequest({
|
|
|
2364
2365
|
statusText,
|
|
2365
2366
|
headers
|
|
2366
2367
|
});
|
|
2367
|
-
} catch {
|
|
2368
|
+
} catch (error2) {
|
|
2368
2369
|
}
|
|
2369
|
-
throw
|
|
2370
|
+
throw error;
|
|
2370
2371
|
}
|
|
2371
2372
|
}
|
|
2372
2373
|
function RSCStaticRouter({ getPayload }) {
|
|
@@ -563,6 +563,8 @@ type NavigationStates = {
|
|
|
563
563
|
Idle: {
|
|
564
564
|
state: "idle";
|
|
565
565
|
location: undefined;
|
|
566
|
+
matches: undefined;
|
|
567
|
+
historyAction: undefined;
|
|
566
568
|
formMethod: undefined;
|
|
567
569
|
formAction: undefined;
|
|
568
570
|
formEncType: undefined;
|
|
@@ -573,6 +575,8 @@ type NavigationStates = {
|
|
|
573
575
|
Loading: {
|
|
574
576
|
state: "loading";
|
|
575
577
|
location: Location;
|
|
578
|
+
matches: DataRouteMatch[];
|
|
579
|
+
historyAction: Action;
|
|
576
580
|
formMethod: Submission["formMethod"] | undefined;
|
|
577
581
|
formAction: Submission["formAction"] | undefined;
|
|
578
582
|
formEncType: Submission["formEncType"] | undefined;
|
|
@@ -583,6 +587,8 @@ type NavigationStates = {
|
|
|
583
587
|
Submitting: {
|
|
584
588
|
state: "submitting";
|
|
585
589
|
location: Location;
|
|
590
|
+
matches: DataRouteMatch[];
|
|
591
|
+
historyAction: Action;
|
|
586
592
|
formMethod: Submission["formMethod"];
|
|
587
593
|
formAction: Submission["formAction"];
|
|
588
594
|
formEncType: Submission["formEncType"];
|
|
@@ -1762,4 +1768,4 @@ interface RouteContextObject {
|
|
|
1762
1768
|
}
|
|
1763
1769
|
declare const RouteContext: React.Context<RouteContextObject>;
|
|
1764
1770
|
|
|
1765
|
-
export { createRoutesFromElements as $, AwaitContextProvider as A, type BlockerFunction as B, type ClientInstrumentation as C, type RouteProps as D, type RouterProps as E, type Fetcher as F, type GetScrollPositionFunction as G, type HydrationState as H, type InstrumentRequestHandlerFunction as I, type RoutesProps as J, Await as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateOptions as N, type OutletProps as O, type PathRouteProps as P, MemoryRouter as Q, type RouterInit as R, type StaticHandler as S, Navigate as T, Outlet as U, Route as V, Router as W, RouterProvider as X, Routes as Y, createMemoryRouter as Z, createRoutesFromChildren as _, type RouterProviderProps as a, renderMatches as a0, createRouter as a1, DataRouterContext as a2, DataRouterStateContext as a3, FetchersContext as a4, LocationContext as a5, NavigationContext as a6, RouteContext as a7, ViewTransitionContext as a8, hydrationRouteProperties as a9, mapRouteProperties as aa, WithComponentProps as ab, withComponentProps as ac, WithHydrateFallbackProps as ad, withHydrateFallbackProps as ae, WithErrorBoundaryProps as af, withErrorBoundaryProps as ag, type FutureConfig as ah, type CreateStaticHandlerOptions as ai, type ClientOnErrorFunction as b, type Router$1 as c, type
|
|
1771
|
+
export { createRoutesFromElements as $, AwaitContextProvider as A, type BlockerFunction as B, type ClientInstrumentation as C, type RouteProps as D, type RouterProps as E, type Fetcher as F, type GetScrollPositionFunction as G, type HydrationState as H, type InstrumentRequestHandlerFunction as I, type RoutesProps as J, Await as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateOptions as N, type OutletProps as O, type PathRouteProps as P, MemoryRouter as Q, type RouterInit as R, type StaticHandler as S, Navigate as T, Outlet as U, Route as V, Router as W, RouterProvider as X, Routes as Y, createMemoryRouter as Z, createRoutesFromChildren as _, type RouterProviderProps as a, renderMatches as a0, createRouter as a1, DataRouterContext as a2, DataRouterStateContext as a3, FetchersContext as a4, LocationContext as a5, NavigationContext as a6, RouteContext as a7, ViewTransitionContext as a8, hydrationRouteProperties as a9, mapRouteProperties as aa, WithComponentProps as ab, withComponentProps as ac, WithHydrateFallbackProps as ad, withHydrateFallbackProps as ae, WithErrorBoundaryProps as af, withErrorBoundaryProps as ag, type FutureConfig as ah, type CreateStaticHandlerOptions as ai, type ClientOnErrorFunction as b, type Router$1 as c, type NavigationStates as d, type Blocker as e, type RelativeRoutingType as f, type Navigation as g, type RouterState as h, type GetScrollRestorationKeyFunction as i, type StaticHandlerContext as j, type RouterSubscriber as k, type RouterNavigateOptions as l, type RouterFetchOptions as m, type RevalidationState as n, type ServerInstrumentation as o, type InstrumentRouterFunction as p, type InstrumentRouteFunction as q, type InstrumentationHandlerResult as r, IDLE_NAVIGATION as s, IDLE_FETCHER as t, IDLE_BLOCKER as u, type Navigator as v, type AwaitProps as w, type IndexRouteProps as x, type MemoryRouterProps as y, type NavigateProps as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { a as RouterProviderProps$1, R as RouterInit, C as ClientInstrumentation, b as ClientOnErrorFunction } from './context-
|
|
3
|
-
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-
|
|
2
|
+
import { a as RouterProviderProps$1, R as RouterInit, C as ClientInstrumentation, b as ClientOnErrorFunction } from './context-ByvtofY2.mjs';
|
|
3
|
+
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-3AnU12UI.mjs';
|
|
4
4
|
import './data-BVUf681J.mjs';
|
|
5
5
|
|
|
6
6
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { RouterProviderProps as RouterProviderProps$1, RouterInit, ClientOnErrorFunction } from 'react-router';
|
|
3
|
-
import { C as ClientInstrumentation } from './instrumentation-
|
|
4
|
-
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-
|
|
3
|
+
import { C as ClientInstrumentation } from './instrumentation-cRWWLfsU.js';
|
|
4
|
+
export { D as unstable_DecodeActionFunction, a as unstable_DecodeFormStateFunction, b as unstable_DecodeReplyFunction, R as unstable_RSCHydratedRouter, d as unstable_RSCManifestPayload, e as unstable_RSCPayload, f as unstable_RSCRenderPayload, c as unstable_createCallServer } from './browser-BOdXz9dK.js';
|
|
5
5
|
import './data-BqZ2x964.js';
|
|
6
6
|
|
|
7
7
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v7.15.
|
|
2
|
+
* react-router v7.15.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4YRVXM2Ujs = require('./chunk-4YRVXM2U.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -34,7 +34,7 @@ var _chunk2D5H3HU3js = require('./chunk-2D5H3HU3.js');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkD6LUOGOQjs = require('./chunk-D6LUOGOQ.js');
|
|
38
38
|
|
|
39
39
|
// lib/dom-export/dom-router-provider.tsx
|
|
40
40
|
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react);
|
|
@@ -214,7 +214,7 @@ function HydratedRouter(props) {
|
|
|
214
214
|
}, []);
|
|
215
215
|
React2.useEffect(() => {
|
|
216
216
|
if (process.env.NODE_ENV === "development" && criticalCss === void 0) {
|
|
217
|
-
document.querySelectorAll(`[${
|
|
217
|
+
document.querySelectorAll(`[${_chunkD6LUOGOQjs.CRITICAL_CSS_DATA_ATTRIBUTE}]`).forEach((element) => element.remove());
|
|
218
218
|
}
|
|
219
219
|
}, [criticalCss]);
|
|
220
220
|
let [location2, setLocation] = React2.useState(router.state.location);
|
|
@@ -393,7 +393,7 @@ function createRouterFromPayload({
|
|
|
393
393
|
};
|
|
394
394
|
if (payload.type !== "render") throw new Error("Invalid payload type");
|
|
395
395
|
globalVar.__reactRouterRouteModules = _nullishCoalesce(globalVar.__reactRouterRouteModules, () => ( {}));
|
|
396
|
-
|
|
396
|
+
_chunk4YRVXM2Ujs.populateRSCRouteModules.call(void 0, globalVar.__reactRouterRouteModules, payload.matches);
|
|
397
397
|
let routes = payload.matches.reduceRight((previous, match) => {
|
|
398
398
|
const route = createRouteFromServerManifest(
|
|
399
399
|
match,
|
|
@@ -407,12 +407,12 @@ function createRouterFromPayload({
|
|
|
407
407
|
return [route];
|
|
408
408
|
}, []);
|
|
409
409
|
let applyPatchesPromise;
|
|
410
|
-
globalVar.__reactRouterDataRouter =
|
|
410
|
+
globalVar.__reactRouterDataRouter = _chunkD6LUOGOQjs.createRouter.call(void 0, {
|
|
411
411
|
routes,
|
|
412
412
|
getContext,
|
|
413
413
|
basename: payload.basename,
|
|
414
|
-
history:
|
|
415
|
-
hydrationData:
|
|
414
|
+
history: _chunkD6LUOGOQjs.createBrowserHistory.call(void 0, ),
|
|
415
|
+
hydrationData: _chunk4YRVXM2Ujs.getHydrationData.call(void 0, {
|
|
416
416
|
state: {
|
|
417
417
|
loaderData: payload.loaderData,
|
|
418
418
|
actionData: payload.actionData,
|
|
@@ -421,7 +421,7 @@ function createRouterFromPayload({
|
|
|
421
421
|
routes,
|
|
422
422
|
getRouteInfo: (routeId) => {
|
|
423
423
|
let match = payload.matches.find((m) => m.id === routeId);
|
|
424
|
-
|
|
424
|
+
_chunkD6LUOGOQjs.invariant.call(void 0, match, "Route not found in payload");
|
|
425
425
|
return {
|
|
426
426
|
clientLoader: match.clientLoader,
|
|
427
427
|
hasLoader: match.hasLoader,
|
|
@@ -536,9 +536,9 @@ function createRouterFromPayload({
|
|
|
536
536
|
routeModules: globalVar.__reactRouterRouteModules
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
var renderedRoutesContext =
|
|
539
|
+
var renderedRoutesContext = _chunkD6LUOGOQjs.createContext.call(void 0, );
|
|
540
540
|
function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReadableStream, fetchImplementation) {
|
|
541
|
-
let dataStrategy =
|
|
541
|
+
let dataStrategy = _chunkD6LUOGOQjs.getSingleFetchDataStrategyImpl.call(void 0,
|
|
542
542
|
getRouter,
|
|
543
543
|
(match) => {
|
|
544
544
|
let M = match;
|
|
@@ -595,20 +595,20 @@ function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReada
|
|
|
595
595
|
function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation) {
|
|
596
596
|
return async (args, basename, trailingSlashAware, targetRoutes) => {
|
|
597
597
|
let { request, context } = args;
|
|
598
|
-
let url =
|
|
598
|
+
let url = _chunkD6LUOGOQjs.singleFetchUrl.call(void 0, request.url, basename, trailingSlashAware, "rsc");
|
|
599
599
|
if (request.method === "GET") {
|
|
600
|
-
url =
|
|
600
|
+
url = _chunkD6LUOGOQjs.stripIndexParam.call(void 0, url);
|
|
601
601
|
if (targetRoutes) {
|
|
602
602
|
url.searchParams.set("_routes", targetRoutes.join(","));
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
let res = await fetchImplementation(
|
|
606
|
-
new Request(url, await
|
|
606
|
+
new Request(url, await _chunkD6LUOGOQjs.createRequestInit.call(void 0, request))
|
|
607
607
|
);
|
|
608
608
|
if (res.status >= 400 && !res.headers.has("X-Remix-Response")) {
|
|
609
|
-
throw new (0,
|
|
609
|
+
throw new (0, _chunkD6LUOGOQjs.ErrorResponseImpl)(res.status, res.statusText, await res.text());
|
|
610
610
|
}
|
|
611
|
-
|
|
611
|
+
_chunkD6LUOGOQjs.invariant.call(void 0, res.body, "No response body to decode");
|
|
612
612
|
try {
|
|
613
613
|
const payload = await createFromReadableStream(res.body, {
|
|
614
614
|
temporaryReferences: void 0
|
|
@@ -632,7 +632,7 @@ function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation)
|
|
|
632
632
|
}
|
|
633
633
|
context.get(renderedRoutesContext).push(...payload.matches);
|
|
634
634
|
let results = { routes: {} };
|
|
635
|
-
const dataKey =
|
|
635
|
+
const dataKey = _chunkD6LUOGOQjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
|
|
636
636
|
for (let [routeId, data] of Object.entries(payload[dataKey] || {})) {
|
|
637
637
|
results.routes[routeId] = { data };
|
|
638
638
|
}
|
|
@@ -665,7 +665,7 @@ function RSCHydratedRouter({
|
|
|
665
665
|
[createFromReadableStream, payload, fetchImplementation, getContext]
|
|
666
666
|
);
|
|
667
667
|
React3.useEffect(() => {
|
|
668
|
-
|
|
668
|
+
_chunkD6LUOGOQjs.setIsHydrated.call(void 0, );
|
|
669
669
|
}, []);
|
|
670
670
|
React3.useLayoutEffect(() => {
|
|
671
671
|
const globalVar = window;
|
|
@@ -773,8 +773,8 @@ function RSCHydratedRouter({
|
|
|
773
773
|
},
|
|
774
774
|
routeModules
|
|
775
775
|
};
|
|
776
|
-
return /* @__PURE__ */ React3.createElement(
|
|
777
|
-
|
|
776
|
+
return /* @__PURE__ */ React3.createElement(_chunkD6LUOGOQjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunk4YRVXM2Ujs.RSCRouterGlobalErrorBoundary, { location: state.location }, /* @__PURE__ */ React3.createElement(_chunkD6LUOGOQjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
|
|
777
|
+
_chunkD6LUOGOQjs.RouterProvider,
|
|
778
778
|
{
|
|
779
779
|
router: transitionEnabledRouter,
|
|
780
780
|
flushSync: ReactDOM2.flushSync
|
|
@@ -790,8 +790,8 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
790
790
|
// the server loader flow regardless of whether the client loader calls
|
|
791
791
|
// `serverLoader` or not, otherwise we'll have nothing to render.
|
|
792
792
|
match.hasComponent && !match.element;
|
|
793
|
-
|
|
794
|
-
|
|
793
|
+
_chunkD6LUOGOQjs.invariant.call(void 0, window.__reactRouterRouteModules);
|
|
794
|
+
_chunk4YRVXM2Ujs.populateRSCRouteModules.call(void 0, window.__reactRouterRouteModules, match);
|
|
795
795
|
let dataRoute = {
|
|
796
796
|
id: match.id,
|
|
797
797
|
element: match.element,
|
|
@@ -801,30 +801,28 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
801
801
|
hydrateFallbackElement: match.hydrateFallbackElement,
|
|
802
802
|
index: match.index,
|
|
803
803
|
loader: match.clientLoader ? async (args, singleFetch) => {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
804
|
+
let _isHydrationRequest = isHydrationRequest;
|
|
805
|
+
isHydrationRequest = false;
|
|
806
|
+
let result = await match.clientLoader({
|
|
807
|
+
...args,
|
|
808
|
+
serverLoader: () => {
|
|
809
|
+
preventInvalidServerHandlerCall(
|
|
810
|
+
"loader",
|
|
811
|
+
match.id,
|
|
812
|
+
match.hasLoader
|
|
813
|
+
);
|
|
814
|
+
if (_isHydrationRequest) {
|
|
815
|
+
if (hasInitialData) {
|
|
816
|
+
return initialData;
|
|
817
|
+
}
|
|
818
|
+
if (hasInitialError) {
|
|
819
|
+
throw initialError;
|
|
820
820
|
}
|
|
821
|
-
return callSingleFetch(singleFetch);
|
|
822
821
|
}
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
}
|
|
822
|
+
return callSingleFetch(singleFetch);
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
return result;
|
|
828
826
|
} : (
|
|
829
827
|
// We always make the call in this RSC world since even if we don't
|
|
830
828
|
// have a `loader` we may need to get the `element` implementation
|
|
@@ -841,7 +839,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
841
839
|
return await callSingleFetch(singleFetch);
|
|
842
840
|
}
|
|
843
841
|
}) : match.hasAction ? (_, singleFetch) => callSingleFetch(singleFetch) : () => {
|
|
844
|
-
throw
|
|
842
|
+
throw _chunkD6LUOGOQjs.noActionDefinedError.call(void 0, "action", match.id);
|
|
845
843
|
},
|
|
846
844
|
path: match.path,
|
|
847
845
|
shouldRevalidate: match.shouldRevalidate,
|
|
@@ -853,7 +851,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
853
851
|
hasClientAction: match.clientAction != null
|
|
854
852
|
};
|
|
855
853
|
if (typeof dataRoute.loader === "function") {
|
|
856
|
-
dataRoute.loader.hydrate =
|
|
854
|
+
dataRoute.loader.hydrate = _chunkD6LUOGOQjs.shouldHydrateRouteLoader.call(void 0,
|
|
857
855
|
match.id,
|
|
858
856
|
match.clientLoader,
|
|
859
857
|
match.hasLoader,
|
|
@@ -863,7 +861,7 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
863
861
|
return dataRoute;
|
|
864
862
|
}
|
|
865
863
|
function callSingleFetch(singleFetch) {
|
|
866
|
-
|
|
864
|
+
_chunkD6LUOGOQjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
|
|
867
865
|
return singleFetch();
|
|
868
866
|
}
|
|
869
867
|
function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
|
|
@@ -871,7 +869,7 @@ function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
|
|
|
871
869
|
let fn = type === "action" ? "serverAction()" : "serverLoader()";
|
|
872
870
|
let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: "${routeId}")`;
|
|
873
871
|
console.error(msg);
|
|
874
|
-
throw new (0,
|
|
872
|
+
throw new (0, _chunkD6LUOGOQjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
|
|
875
873
|
}
|
|
876
874
|
}
|
|
877
875
|
var nextPaths = /* @__PURE__ */ new Set();
|
|
@@ -898,7 +896,7 @@ async function fetchAndApplyManifestPatches(paths, createFromReadableStream, fet
|
|
|
898
896
|
if (url == null) {
|
|
899
897
|
return;
|
|
900
898
|
}
|
|
901
|
-
if (url.toString().length >
|
|
899
|
+
if (url.toString().length > _chunkD6LUOGOQjs.URL_LIMIT) {
|
|
902
900
|
nextPaths.clear();
|
|
903
901
|
return;
|
|
904
902
|
}
|
|
@@ -943,7 +941,7 @@ function isExternalLocation(location2) {
|
|
|
943
941
|
}
|
|
944
942
|
function hasInvalidProtocol(location2) {
|
|
945
943
|
try {
|
|
946
|
-
return
|
|
944
|
+
return _chunkD6LUOGOQjs.invalidProtocols.includes(new URL(location2).protocol);
|
|
947
945
|
} catch (e2) {
|
|
948
946
|
return false;
|
|
949
947
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.15.
|
|
2
|
+
* react-router v7.15.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
deserializeErrors,
|
|
15
15
|
getHydrationData,
|
|
16
16
|
populateRSCRouteModules
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RJYABSBD.mjs";
|
|
18
18
|
import {
|
|
19
19
|
CRITICAL_CSS_DATA_ATTRIBUTE,
|
|
20
20
|
ErrorResponseImpl,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
singleFetchUrl,
|
|
45
45
|
stripIndexParam,
|
|
46
46
|
useFogOFWarDiscovery
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4N6VE7H7.mjs";
|
|
48
48
|
|
|
49
49
|
// lib/dom-export/dom-router-provider.tsx
|
|
50
50
|
import * as React from "react";
|
|
@@ -793,30 +793,28 @@ function createRouteFromServerManifest(match, payload) {
|
|
|
793
793
|
hydrateFallbackElement: match.hydrateFallbackElement,
|
|
794
794
|
index: match.index,
|
|
795
795
|
loader: match.clientLoader ? async (args, singleFetch) => {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
796
|
+
let _isHydrationRequest = isHydrationRequest;
|
|
797
|
+
isHydrationRequest = false;
|
|
798
|
+
let result = await match.clientLoader({
|
|
799
|
+
...args,
|
|
800
|
+
serverLoader: () => {
|
|
801
|
+
preventInvalidServerHandlerCall(
|
|
802
|
+
"loader",
|
|
803
|
+
match.id,
|
|
804
|
+
match.hasLoader
|
|
805
|
+
);
|
|
806
|
+
if (_isHydrationRequest) {
|
|
807
|
+
if (hasInitialData) {
|
|
808
|
+
return initialData;
|
|
809
|
+
}
|
|
810
|
+
if (hasInitialError) {
|
|
811
|
+
throw initialError;
|
|
812
812
|
}
|
|
813
|
-
return callSingleFetch(singleFetch);
|
|
814
813
|
}
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
}
|
|
814
|
+
return callSingleFetch(singleFetch);
|
|
815
|
+
}
|
|
816
|
+
});
|
|
817
|
+
return result;
|
|
820
818
|
} : (
|
|
821
819
|
// We always make the call in this RSC world since even if we don't
|
|
822
820
|
// have a `loader` we may need to get the `element` implementation
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as ServerInstrumentation, H as HydrationState,
|
|
1
|
+
import { l as ServerInstrumentation, H as HydrationState, g as StaticHandlerContext, c as RelativeRoutingType, a as Router$1, e as RouterState, R as RouterInit, t as FutureConfig$1, C as ClientInstrumentation, f as GetScrollRestorationKeyFunction, F as Fetcher, B as BlockerFunction, u as CreateStaticHandlerOptions$1, S as StaticHandler } from './instrumentation-cRWWLfsU.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { p as RouteManifest, aE as ServerRouteModule, t as MiddlewareEnabled, c as RouterContextProvider, u as AppLoadContext, s as LoaderFunctionArgs, a0 as ActionFunctionArgs, O as RouteModules, n as DataRouteObject, a as ClientLoaderFunction, o as RouteBranch, aF as TrackedPromise, f as History, T as To, L as Location, i as Action, ac as RouteMatch, Y as InitialEntry, _ as NonIndexRouteObject, a7 as LazyRouteFunction, Z as IndexRouteObject, P as Params, l as DataStrategyFunction, m as PatchRoutesOnNavigationFunction, e as RouteObject, U as UIMatch, q as HTMLFormMethod, F as FormEncType, av as PageLinkDescriptor, Q as SerializeFrom } from './data-BqZ2x964.js';
|
|
4
4
|
|
|
@@ -3146,7 +3146,7 @@ declare function useSubmit(): SubmitFunction;
|
|
|
3146
3146
|
* This is used internally by {@link Form} to resolve the `action` to the closest
|
|
3147
3147
|
* route, but can be used generically as well.
|
|
3148
3148
|
*
|
|
3149
|
-
*
|
|
3149
|
+
* ```ts
|
|
3150
3150
|
* import { useFormAction } from "react-router";
|
|
3151
3151
|
*
|
|
3152
3152
|
* function SomeComponent() {
|
|
@@ -3156,6 +3156,14 @@ declare function useSubmit(): SubmitFunction;
|
|
|
3156
3156
|
* // closest route URL + "destroy"
|
|
3157
3157
|
* let destroyAction = useFormAction("destroy");
|
|
3158
3158
|
* }
|
|
3159
|
+
* ```
|
|
3160
|
+
*
|
|
3161
|
+
* <docs-info>This hook adds a `basename` if your app specifies one, so that it
|
|
3162
|
+
* can be used with raw `<form>` elements in a progressively enhanced way. If
|
|
3163
|
+
* you are using this to provide an `action` to `<Form>` or `fetcher.submit`, you
|
|
3164
|
+
* will need to remove the `basename` since both of those will prepend it
|
|
3165
|
+
* internally.</docs-info>
|
|
3166
|
+
*
|
|
3159
3167
|
*
|
|
3160
3168
|
* @public
|
|
3161
3169
|
* @category Hooks
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as ServerInstrumentation, H as HydrationState,
|
|
1
|
+
import { o as ServerInstrumentation, H as HydrationState, j as StaticHandlerContext, f as RelativeRoutingType, i as GetScrollRestorationKeyFunction, R as RouterInit, ah as FutureConfig$1, C as ClientInstrumentation, N as NavigateOptions, F as Fetcher, c as Router, B as BlockerFunction, ai as CreateStaticHandlerOptions$1, S as StaticHandler } from './context-ByvtofY2.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { J as RouteManifest, aF as ServerRouteModule, p as MiddlewareEnabled, c as RouterContextProvider, q as AppLoadContext, o as LoaderFunctionArgs, a3 as ActionFunctionArgs, Z as RouteModules, E as DataRouteObject, a as ClientLoaderFunction, I as RouteBranch, m as HTMLFormMethod, n as FormEncType, aw as PageLinkDescriptor, T as To, s as History, z as DataStrategyFunction, B as PatchRoutesOnNavigationFunction, r as RouteObject, _ as SerializeFrom, L as Location } from './data-BVUf681J.mjs';
|
|
4
4
|
|
|
@@ -2091,7 +2091,7 @@ declare function useSubmit(): SubmitFunction;
|
|
|
2091
2091
|
* This is used internally by {@link Form} to resolve the `action` to the closest
|
|
2092
2092
|
* route, but can be used generically as well.
|
|
2093
2093
|
*
|
|
2094
|
-
*
|
|
2094
|
+
* ```ts
|
|
2095
2095
|
* import { useFormAction } from "react-router";
|
|
2096
2096
|
*
|
|
2097
2097
|
* function SomeComponent() {
|
|
@@ -2101,6 +2101,14 @@ declare function useSubmit(): SubmitFunction;
|
|
|
2101
2101
|
* // closest route URL + "destroy"
|
|
2102
2102
|
* let destroyAction = useFormAction("destroy");
|
|
2103
2103
|
* }
|
|
2104
|
+
* ```
|
|
2105
|
+
*
|
|
2106
|
+
* <docs-info>This hook adds a `basename` if your app specifies one, so that it
|
|
2107
|
+
* can be used with raw `<form>` elements in a progressively enhanced way. If
|
|
2108
|
+
* you are using this to provide an `action` to `<Form>` or `fetcher.submit`, you
|
|
2109
|
+
* will need to remove the `basename` since both of those will prepend it
|
|
2110
|
+
* internally.</docs-info>
|
|
2111
|
+
*
|
|
2104
2112
|
*
|
|
2105
2113
|
* @public
|
|
2106
2114
|
* @category Hooks
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Q as MemoryRouter, T as Navigate, U as Outlet, V as Route, W as Router, X as RouterProvider, Y as Routes, A as UNSAFE_AwaitContextProvider, ab as UNSAFE_WithComponentProps, af as UNSAFE_WithErrorBoundaryProps, ad as UNSAFE_WithHydrateFallbackProps } from './context-
|
|
2
|
-
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-
|
|
1
|
+
export { Q as MemoryRouter, T as Navigate, U as Outlet, V as Route, W as Router, X as RouterProvider, Y as Routes, A as UNSAFE_AwaitContextProvider, ab as UNSAFE_WithComponentProps, af as UNSAFE_WithErrorBoundaryProps, ad as UNSAFE_WithHydrateFallbackProps } from './context-ByvtofY2.mjs';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-DY04-103.mjs';
|
|
3
3
|
import './data-BVUf681J.mjs';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { W as BrowserRouter, $ as Form, X as HashRouter, Y as Link, an as Links, j as MemoryRouter, am as Meta, _ as NavLink, k as Navigate, l as Outlet, m as Route, n as Router, o as RouterProvider, p as Routes, a0 as ScrollRestoration, ak as StaticRouter, al as StaticRouterProvider, b as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, Z as unstable_HistoryRouter } from './index-react-server-client-
|
|
2
|
-
import './instrumentation-
|
|
1
|
+
export { W as BrowserRouter, $ as Form, X as HashRouter, Y as Link, an as Links, j as MemoryRouter, am as Meta, _ as NavLink, k as Navigate, l as Outlet, m as Route, n as Router, o as RouterProvider, p as Routes, a0 as ScrollRestoration, ak as StaticRouter, al as StaticRouterProvider, b as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, Z as unstable_HistoryRouter } from './index-react-server-client-BS5F89FR.js';
|
|
2
|
+
import './instrumentation-cRWWLfsU.js';
|
|
3
3
|
import './data-BqZ2x964.js';
|
|
4
4
|
import 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
-
* react-router v7.15.
|
|
2
|
+
* react-router v7.15.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk66UKHEGQjs = require('./chunk-66UKHEGQ.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ var _chunkZ5YQYACEjs = require('./chunk-Z5YQYACE.js');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkD6LUOGOQjs = require('./chunk-D6LUOGOQ.js');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -58,4 +58,4 @@ var _chunkAM3XM4LSjs = require('./chunk-AM3XM4LS.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.BrowserRouter =
|
|
61
|
+
exports.BrowserRouter = _chunk66UKHEGQjs.BrowserRouter; exports.Form = _chunk66UKHEGQjs.Form; exports.HashRouter = _chunk66UKHEGQjs.HashRouter; exports.Link = _chunk66UKHEGQjs.Link; exports.Links = _chunkD6LUOGOQjs.Links; exports.MemoryRouter = _chunkD6LUOGOQjs.MemoryRouter; exports.Meta = _chunkD6LUOGOQjs.Meta; exports.NavLink = _chunk66UKHEGQjs.NavLink; exports.Navigate = _chunkD6LUOGOQjs.Navigate; exports.Outlet = _chunkD6LUOGOQjs.Outlet; exports.Route = _chunkD6LUOGOQjs.Route; exports.Router = _chunkD6LUOGOQjs.Router; exports.RouterProvider = _chunkD6LUOGOQjs.RouterProvider; exports.Routes = _chunkD6LUOGOQjs.Routes; exports.ScrollRestoration = _chunk66UKHEGQjs.ScrollRestoration; exports.StaticRouter = _chunk66UKHEGQjs.StaticRouter; exports.StaticRouterProvider = _chunk66UKHEGQjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkD6LUOGOQjs.AwaitContextProvider; exports.UNSAFE_WithComponentProps = _chunkD6LUOGOQjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkD6LUOGOQjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkD6LUOGOQjs.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunk66UKHEGQjs.HistoryRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.15.
|
|
2
|
+
* react-router v7.15.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
WithComponentProps,
|
|
33
33
|
WithErrorBoundaryProps,
|
|
34
34
|
WithHydrateFallbackProps
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4N6VE7H7.mjs";
|
|
36
36
|
export {
|
|
37
37
|
BrowserRouter,
|
|
38
38
|
Form,
|