@module-federation/bridge-react 0.0.0-docs-remove-invalid-lark-link-20251205062649 → 0.0.0-docs-enable-llms-20260227090306
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 +52 -3
- package/dist/base.cjs.js +4 -4
- package/dist/base.es.js +11 -11
- package/dist/{bridge-base-CPSTBjEp.mjs → bridge-base-BVX0EbsV.mjs} +3 -2
- package/dist/{bridge-base-RStDxH71.js → bridge-base-vSCG9ebE.js} +3 -2
- package/dist/{createHelpers-B_L612IN.js → createHelpers-12yCVhCu.js} +4 -3
- package/dist/{createHelpers-Ui5pt7je.mjs → createHelpers-CGhHhtAd.mjs} +6 -5
- package/dist/data-fetch-server-middleware.cjs.js +2 -2
- package/dist/data-fetch-server-middleware.es.js +2 -2
- package/dist/data-fetch-utils.cjs.js +2 -2
- package/dist/data-fetch-utils.es.js +7 -7
- package/dist/{index-DRSBaSu3.js → index-DhFNWacm.js} +1 -1
- package/dist/{index-DyQNwY2M.mjs → index-DtXhorFI.mjs} +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.es.js +13 -13
- package/dist/{index.esm-CPwSeCvw.mjs → index.esm-BvTtsZnu.mjs} +3 -4
- package/dist/{index.esm-BWaKho-8.js → index.esm-CYiGJfQW.js} +0 -1
- package/dist/{lazy-load-component-plugin-CSRkMmKF.js → lazy-load-component-plugin-C7jasFos.js} +2 -2
- package/dist/{lazy-load-component-plugin-DXqhuywC.mjs → lazy-load-component-plugin-CrSLH5YP.mjs} +5 -5
- package/dist/lazy-load-component-plugin.cjs.js +2 -2
- package/dist/lazy-load-component-plugin.es.js +2 -2
- package/dist/lazy-utils.cjs.js +2 -2
- package/dist/lazy-utils.es.js +7 -7
- package/dist/prefetch-CFRpPfZQ.js +632 -0
- package/dist/prefetch-DMJyBeIs.mjs +633 -0
- package/dist/router-v5.cjs.js +5 -3
- package/dist/router-v5.d.ts +1 -2
- package/dist/router-v5.es.js +5 -3
- package/dist/router-v6.cjs.js +1 -1
- package/dist/router-v6.es.js +1 -1
- package/dist/router-v7.cjs.js +5 -3
- package/dist/router-v7.d.ts +2 -3
- package/dist/router-v7.es.js +5 -3
- package/dist/router.cjs.js +1 -1
- package/dist/router.es.js +1 -1
- package/dist/{utils-dUgb9Jkm.mjs → utils-DpoLOH_j.mjs} +9 -9
- package/dist/{utils-tM9yE73c.js → utils-TDonIHDD.js} +1 -1
- package/dist/v18.cjs.js +1 -1
- package/dist/v18.es.js +1 -1
- package/dist/v19.cjs.js +1 -1
- package/dist/v19.es.js +1 -1
- package/package.json +8 -8
- package/src/provider/versions/bridge-base.tsx +5 -2
- package/src/remote/createHelpers.tsx +4 -2
- package/src/router/v5.tsx +7 -7
- package/src/router/v7.tsx +12 -12
- package/dist/prefetch-A3QkU5oZ.js +0 -1272
- package/dist/prefetch-zMJL79zx.mjs +0 -1273
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,60 @@
|
|
|
1
1
|
# @module-federation/bridge-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-docs-
|
|
3
|
+
## 0.0.0-docs-enable-llms-20260227090306
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- @module-federation/sdk@0.0.0-docs-
|
|
8
|
-
- @module-federation/bridge-shared@0.0.0-docs-
|
|
7
|
+
- @module-federation/sdk@0.0.0-docs-enable-llms-20260227090306
|
|
8
|
+
- @module-federation/bridge-shared@0.0.0-docs-enable-llms-20260227090306
|
|
9
|
+
|
|
10
|
+
## 2.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- @module-federation/sdk@2.0.1
|
|
15
|
+
- @module-federation/bridge-shared@2.0.1
|
|
16
|
+
|
|
17
|
+
## 2.0.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- @module-federation/sdk@2.0.0
|
|
22
|
+
- @module-federation/bridge-shared@2.0.0
|
|
23
|
+
|
|
24
|
+
## 0.24.1
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- @module-federation/sdk@0.24.1
|
|
29
|
+
- @module-federation/bridge-shared@0.24.1
|
|
30
|
+
|
|
31
|
+
## 0.24.0
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- @module-federation/sdk@0.24.0
|
|
36
|
+
- @module-federation/bridge-shared@0.24.0
|
|
37
|
+
|
|
38
|
+
## 0.23.0
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- @module-federation/sdk@0.23.0
|
|
43
|
+
- @module-federation/bridge-shared@0.23.0
|
|
44
|
+
|
|
45
|
+
## 0.22.1
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- @module-federation/sdk@0.22.1
|
|
50
|
+
- @module-federation/bridge-shared@0.22.1
|
|
51
|
+
|
|
52
|
+
## 0.22.0
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- @module-federation/sdk@0.22.0
|
|
57
|
+
- @module-federation/bridge-shared@0.22.0
|
|
9
58
|
|
|
10
59
|
## 0.21.6
|
|
11
60
|
|
package/dist/base.cjs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createHelpers = require("./createHelpers-
|
|
4
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
5
|
-
const lazyUtils = require("./utils-
|
|
3
|
+
const createHelpers = require("./createHelpers-12yCVhCu.js");
|
|
4
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-C7jasFos.js");
|
|
5
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
6
6
|
const dataFetchUtils = require("./data-fetch-utils.cjs.js");
|
|
7
|
-
const prefetch = require("./prefetch-
|
|
7
|
+
const prefetch = require("./prefetch-CFRpPfZQ.js");
|
|
8
8
|
const createRemoteAppComponent = createHelpers.createRemoteAppComponentFactory(createHelpers.RemoteAppWrapper);
|
|
9
9
|
const createRemoteComponent = createHelpers.createDeprecatedRemoteComponentFactory(
|
|
10
10
|
createRemoteAppComponent
|
package/dist/base.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { b } from "./createHelpers-
|
|
3
|
-
import { b as b2,
|
|
4
|
-
import { C, a as a2, E, b as b3, d,
|
|
1
|
+
import { c as createRemoteAppComponentFactory, a as createDeprecatedRemoteComponentFactory, R as RemoteAppWrapper } from "./createHelpers-CGhHhtAd.mjs";
|
|
2
|
+
import { b } from "./createHelpers-CGhHhtAd.mjs";
|
|
3
|
+
import { a, c, b as b2, l } from "./lazy-load-component-plugin-CrSLH5YP.mjs";
|
|
4
|
+
import { C, a as a2, E, c as c2, b as b3, d, g, r, s } from "./utils-DpoLOH_j.mjs";
|
|
5
5
|
import { callDataFetch } from "./data-fetch-utils.es.js";
|
|
6
|
-
import { p } from "./prefetch-
|
|
6
|
+
import { p } from "./prefetch-DMJyBeIs.mjs";
|
|
7
7
|
const createRemoteAppComponent = createRemoteAppComponentFactory(RemoteAppWrapper);
|
|
8
8
|
const createRemoteComponent = createDeprecatedRemoteComponentFactory(
|
|
9
9
|
createRemoteAppComponent
|
|
@@ -12,14 +12,14 @@ export {
|
|
|
12
12
|
C as CacheSize,
|
|
13
13
|
a2 as CacheTime,
|
|
14
14
|
E as ERROR_TYPE,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
a as autoFetchDataPlugin,
|
|
16
|
+
c2 as cache,
|
|
17
17
|
callDataFetch,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
b3 as clearStore,
|
|
19
|
+
c as collectSSRAssets,
|
|
20
|
+
d as configureCache,
|
|
21
21
|
b as createBridgeComponent,
|
|
22
|
-
|
|
22
|
+
b2 as createLazyComponent,
|
|
23
23
|
createRemoteAppComponent,
|
|
24
24
|
createRemoteComponent,
|
|
25
25
|
g as generateKey,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Component, createElement, createContext } from "react";
|
|
3
|
-
import { L as LoggerInstance, R as RouterContext } from "./index-
|
|
3
|
+
import { L as LoggerInstance, R as RouterContext } from "./index-DtXhorFI.mjs";
|
|
4
4
|
import { federationRuntime } from "./plugin.es.js";
|
|
5
5
|
const ErrorBoundaryContext = createContext(null);
|
|
6
6
|
const initialState = {
|
|
@@ -122,13 +122,14 @@ function createBaseBridgeComponent({
|
|
|
122
122
|
));
|
|
123
123
|
};
|
|
124
124
|
const DefaultFallback = ({ error }) => /* @__PURE__ */ React.createElement("div", { role: "alert" }, /* @__PURE__ */ React.createElement("p", null, "Something went wrong:"), /* @__PURE__ */ React.createElement("pre", { style: { color: "red" } }, error.message));
|
|
125
|
+
const ErrorBoundaryComponent = ErrorBoundary;
|
|
125
126
|
const BridgeWrapper = ({
|
|
126
127
|
basename,
|
|
127
128
|
moduleName,
|
|
128
129
|
memoryRoute,
|
|
129
130
|
propsInfo,
|
|
130
131
|
fallback
|
|
131
|
-
}) => /* @__PURE__ */ React.createElement(
|
|
132
|
+
}) => /* @__PURE__ */ React.createElement(ErrorBoundaryComponent, { FallbackComponent: fallback || DefaultFallback }, /* @__PURE__ */ React.createElement(
|
|
132
133
|
RawComponent,
|
|
133
134
|
{
|
|
134
135
|
appInfo: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DhFNWacm.js");
|
|
4
4
|
const plugin = require("./plugin.cjs.js");
|
|
5
5
|
function _interopNamespaceDefault(e) {
|
|
6
6
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -139,13 +139,14 @@ function createBaseBridgeComponent({
|
|
|
139
139
|
));
|
|
140
140
|
};
|
|
141
141
|
const DefaultFallback = ({ error }) => /* @__PURE__ */ React__namespace.createElement("div", { role: "alert" }, /* @__PURE__ */ React__namespace.createElement("p", null, "Something went wrong:"), /* @__PURE__ */ React__namespace.createElement("pre", { style: { color: "red" } }, error.message));
|
|
142
|
+
const ErrorBoundaryComponent = ErrorBoundary;
|
|
142
143
|
const BridgeWrapper = ({
|
|
143
144
|
basename,
|
|
144
145
|
moduleName,
|
|
145
146
|
memoryRoute,
|
|
146
147
|
propsInfo,
|
|
147
148
|
fallback
|
|
148
|
-
}) => /* @__PURE__ */ React__namespace.createElement(
|
|
149
|
+
}) => /* @__PURE__ */ React__namespace.createElement(ErrorBoundaryComponent, { FallbackComponent: fallback || DefaultFallback }, /* @__PURE__ */ React__namespace.createElement(
|
|
149
150
|
RawComponent,
|
|
150
151
|
{
|
|
151
152
|
appInfo: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const bridgeBase = require("./bridge-base-
|
|
2
|
+
const bridgeBase = require("./bridge-base-vSCG9ebE.js");
|
|
3
3
|
const ReactDOM = require("react-dom");
|
|
4
|
-
const index = require("./index-
|
|
4
|
+
const index = require("./index-DhFNWacm.js");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const plugin = require("./plugin.cjs.js");
|
|
7
7
|
function createReact16Or17Root(container) {
|
|
@@ -162,12 +162,13 @@ function createLazyRemoteComponentFactory(RemoteApp) {
|
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
function createRemoteAppComponentFactory(RemoteApp) {
|
|
165
|
+
const ErrorBoundaryComponent = bridgeBase.ErrorBoundary;
|
|
165
166
|
const createLazyRemoteComponent = createLazyRemoteComponentFactory(RemoteApp);
|
|
166
167
|
return function createRemoteAppComponent(info) {
|
|
167
168
|
const LazyComponent = createLazyRemoteComponent(info);
|
|
168
169
|
return React.forwardRef((props, ref) => {
|
|
169
170
|
return /* @__PURE__ */ React.createElement(
|
|
170
|
-
|
|
171
|
+
ErrorBoundaryComponent,
|
|
171
172
|
{
|
|
172
173
|
FallbackComponent: info.fallback
|
|
173
174
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createBaseBridgeComponent, E as ErrorBoundary } from "./bridge-base-
|
|
1
|
+
import { c as createBaseBridgeComponent, E as ErrorBoundary } from "./bridge-base-BVX0EbsV.mjs";
|
|
2
2
|
import ReactDOM from "react-dom";
|
|
3
|
-
import { L as LoggerInstance, g as getRootDomDefaultClassName } from "./index-
|
|
3
|
+
import { L as LoggerInstance, g as getRootDomDefaultClassName } from "./index-DtXhorFI.mjs";
|
|
4
4
|
import React__default, { forwardRef, useRef, useState, useEffect } from "react";
|
|
5
5
|
import { federationRuntime } from "./plugin.es.js";
|
|
6
6
|
function createReact16Or17Root(container) {
|
|
@@ -161,12 +161,13 @@ function createLazyRemoteComponentFactory(RemoteApp) {
|
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function createRemoteAppComponentFactory(RemoteApp) {
|
|
164
|
+
const ErrorBoundaryComponent = ErrorBoundary;
|
|
164
165
|
const createLazyRemoteComponent = createLazyRemoteComponentFactory(RemoteApp);
|
|
165
166
|
return function createRemoteAppComponent(info) {
|
|
166
167
|
const LazyComponent = createLazyRemoteComponent(info);
|
|
167
168
|
return forwardRef((props, ref) => {
|
|
168
169
|
return /* @__PURE__ */ React__default.createElement(
|
|
169
|
-
|
|
170
|
+
ErrorBoundaryComponent,
|
|
170
171
|
{
|
|
171
172
|
FallbackComponent: info.fallback
|
|
172
173
|
},
|
|
@@ -185,7 +186,7 @@ function createDeprecatedRemoteComponentFactory(createFn) {
|
|
|
185
186
|
}
|
|
186
187
|
export {
|
|
187
188
|
RemoteAppWrapper as R,
|
|
188
|
-
|
|
189
|
+
createDeprecatedRemoteComponentFactory as a,
|
|
189
190
|
createBridgeComponent as b,
|
|
190
|
-
|
|
191
|
+
createRemoteAppComponentFactory as c
|
|
191
192
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const lazyUtils = require("./utils-
|
|
3
|
-
const index_esm = require("./index.esm-
|
|
2
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
3
|
+
const index_esm = require("./index.esm-CYiGJfQW.js");
|
|
4
4
|
function wrapSetTimeout(targetPromise, delay = 2e4, id) {
|
|
5
5
|
if (targetPromise && typeof targetPromise.then === "function") {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DATA_FETCH_QUERY, l as logger, e as getDataFetchMap, i as initDataFetchMap, M as MF_DATA_FETCH_STATUS, f as fetchData, h as loadDataFetchModule } from "./utils-
|
|
2
|
-
import { M as MANIFEST_EXT, S as SEPARATOR } from "./index.esm-
|
|
1
|
+
import { D as DATA_FETCH_QUERY, l as logger, e as getDataFetchMap, i as initDataFetchMap, M as MF_DATA_FETCH_STATUS, f as fetchData, h as loadDataFetchModule } from "./utils-DpoLOH_j.mjs";
|
|
2
|
+
import { M as MANIFEST_EXT, S as SEPARATOR } from "./index.esm-BvTtsZnu.mjs";
|
|
3
3
|
function wrapSetTimeout(targetPromise, delay = 2e4, id) {
|
|
4
4
|
if (targetPromise && typeof targetPromise.then === "function") {
|
|
5
5
|
return new Promise((resolve, reject) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const lazyUtils = require("./utils-
|
|
4
|
-
const prefetch = require("./prefetch-
|
|
3
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
4
|
+
const prefetch = require("./prefetch-CFRpPfZQ.js");
|
|
5
5
|
async function callDataFetch() {
|
|
6
6
|
const dataFetch = globalThis[lazyUtils.DATA_FETCH_FUNCTION];
|
|
7
7
|
if (dataFetch) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { x as DATA_FETCH_FUNCTION } from "./utils-
|
|
2
|
-
import { C, a, b, d,
|
|
3
|
-
import { d as dataFetchFunction } from "./prefetch-
|
|
4
|
-
import { i, p } from "./prefetch-
|
|
1
|
+
import { x as DATA_FETCH_FUNCTION } from "./utils-DpoLOH_j.mjs";
|
|
2
|
+
import { C, a, c, b, d, g, r } from "./utils-DpoLOH_j.mjs";
|
|
3
|
+
import { d as dataFetchFunction } from "./prefetch-DMJyBeIs.mjs";
|
|
4
|
+
import { i, p } from "./prefetch-DMJyBeIs.mjs";
|
|
5
5
|
async function callDataFetch() {
|
|
6
6
|
const dataFetch = globalThis[DATA_FETCH_FUNCTION];
|
|
7
7
|
if (dataFetch) {
|
|
@@ -15,10 +15,10 @@ async function callDataFetch() {
|
|
|
15
15
|
export {
|
|
16
16
|
C as CacheSize,
|
|
17
17
|
a as CacheTime,
|
|
18
|
-
|
|
18
|
+
c as cache,
|
|
19
19
|
callDataFetch,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
b as clearStore,
|
|
21
|
+
d as configureCache,
|
|
22
22
|
g as generateKey,
|
|
23
23
|
i as injectDataFetch,
|
|
24
24
|
p as prefetch,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
|
-
const index_esm = require("./index.esm-
|
|
3
|
+
const index_esm = require("./index.esm-CYiGJfQW.js");
|
|
4
4
|
const RouterContext = React.createContext(null);
|
|
5
5
|
const LoggerInstance = index_esm.createLogger(
|
|
6
6
|
"[ Module Federation Bridge React ]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { c as createLogger } from "./index.esm-
|
|
2
|
+
import { c as createLogger } from "./index.esm-BvTtsZnu.mjs";
|
|
3
3
|
const RouterContext = React__default.createContext(null);
|
|
4
4
|
const LoggerInstance = createLogger(
|
|
5
5
|
"[ Module Federation Bridge React ]"
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createHelpers = require("./createHelpers-
|
|
4
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
3
|
+
const createHelpers = require("./createHelpers-12yCVhCu.js");
|
|
4
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-C7jasFos.js");
|
|
5
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
6
|
+
const dataFetchUtils = require("./data-fetch-utils.cjs.js");
|
|
5
7
|
const React = require("react");
|
|
6
8
|
const ReactRouterDOM = require("react-router-dom");
|
|
7
|
-
const index = require("./index-
|
|
8
|
-
const
|
|
9
|
-
const dataFetchUtils = require("./data-fetch-utils.cjs.js");
|
|
10
|
-
const prefetch = require("./prefetch-A3QkU5oZ.js");
|
|
9
|
+
const index = require("./index-DhFNWacm.js");
|
|
10
|
+
const prefetch = require("./prefetch-CFRpPfZQ.js");
|
|
11
11
|
function _interopNamespaceDefault(e2) {
|
|
12
12
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
13
13
|
if (e2) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { R as RemoteAppWrapper, c as
|
|
2
|
-
import { b } from "./createHelpers-
|
|
3
|
-
import { b as b2,
|
|
1
|
+
import { R as RemoteAppWrapper, c as createRemoteAppComponentFactory, a as createDeprecatedRemoteComponentFactory } from "./createHelpers-CGhHhtAd.mjs";
|
|
2
|
+
import { b } from "./createHelpers-CGhHhtAd.mjs";
|
|
3
|
+
import { a, c, b as b2, l } from "./lazy-load-component-plugin-CrSLH5YP.mjs";
|
|
4
|
+
import { C, a as a2, E, c as c2, b as b3, d, g, r, s } from "./utils-DpoLOH_j.mjs";
|
|
5
|
+
import { callDataFetch } from "./data-fetch-utils.es.js";
|
|
4
6
|
import React__default, { forwardRef, useContext, useState, useEffect } from "react";
|
|
5
7
|
import * as ReactRouterDOM from "react-router-dom";
|
|
6
|
-
import { p as pathJoin, L as LoggerInstance } from "./index-
|
|
7
|
-
import {
|
|
8
|
-
import { callDataFetch } from "./data-fetch-utils.es.js";
|
|
9
|
-
import { p } from "./prefetch-zMJL79zx.mjs";
|
|
8
|
+
import { p as pathJoin, L as LoggerInstance } from "./index-DtXhorFI.mjs";
|
|
9
|
+
import { p } from "./prefetch-DMJyBeIs.mjs";
|
|
10
10
|
function e() {
|
|
11
11
|
const t = new PopStateEvent("popstate", { state: window.history.state });
|
|
12
12
|
window.dispatchEvent(t);
|
|
@@ -91,14 +91,14 @@ export {
|
|
|
91
91
|
C as CacheSize,
|
|
92
92
|
a2 as CacheTime,
|
|
93
93
|
E as ERROR_TYPE,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
a as autoFetchDataPlugin,
|
|
95
|
+
c2 as cache,
|
|
96
96
|
callDataFetch,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
b3 as clearStore,
|
|
98
|
+
c as collectSSRAssets,
|
|
99
|
+
d as configureCache,
|
|
100
100
|
b as createBridgeComponent,
|
|
101
|
-
|
|
101
|
+
b2 as createLazyComponent,
|
|
102
102
|
createRemoteAppComponent,
|
|
103
103
|
createRemoteComponent,
|
|
104
104
|
g as generateKey,
|
|
@@ -484,9 +484,8 @@ export {
|
|
|
484
484
|
createLink as a,
|
|
485
485
|
createScript as b,
|
|
486
486
|
createLogger as c,
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
isDebugMode as i,
|
|
487
|
+
composeKeyWithSeparator as d,
|
|
488
|
+
loadScript as e,
|
|
489
|
+
isBrowserEnv as i,
|
|
491
490
|
loadScriptNode as l
|
|
492
491
|
};
|
|
@@ -486,6 +486,5 @@ exports.createLink = createLink;
|
|
|
486
486
|
exports.createLogger = createLogger;
|
|
487
487
|
exports.createScript = createScript;
|
|
488
488
|
exports.isBrowserEnv = isBrowserEnv;
|
|
489
|
-
exports.isDebugMode = isDebugMode;
|
|
490
489
|
exports.loadScript = loadScript;
|
|
491
490
|
exports.loadScriptNode = loadScriptNode;
|
package/dist/{lazy-load-component-plugin-CSRkMmKF.js → lazy-load-component-plugin-C7jasFos.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const prefetch = require("./prefetch-
|
|
3
|
-
const lazyUtils = require("./utils-
|
|
2
|
+
const prefetch = require("./prefetch-CFRpPfZQ.js");
|
|
3
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const autoFetchData = () => {
|
|
6
6
|
lazyUtils.initDataFetchMap();
|
package/dist/{lazy-load-component-plugin-DXqhuywC.mjs → lazy-load-component-plugin-CrSLH5YP.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as injectDataFetch, p as prefetch } from "./prefetch-
|
|
2
|
-
import { i as initDataFetchMap, j as isDataLoaderExpose, k as getDataFetchInfo, m as getDataFetchMapKey, l as logger, n as getDataFetchItem, o as DATA_FETCH_CLIENT_SUFFIX, p as MF_DATA_FETCH_TYPE, q as isCSROnly,
|
|
1
|
+
import { i as injectDataFetch, p as prefetch } from "./prefetch-DMJyBeIs.mjs";
|
|
2
|
+
import { i as initDataFetchMap, j as isDataLoaderExpose, k as getDataFetchInfo, m as getDataFetchMapKey, l as logger, n as getDataFetchItem, o as DATA_FETCH_CLIENT_SUFFIX, p as MF_DATA_FETCH_TYPE, q as isCSROnly, M as MF_DATA_FETCH_STATUS, h as loadDataFetchModule, e as getDataFetchMap, t as isServerEnv, u as getDataFetchIdWithErrorMsgs, v as DATA_FETCH_ERROR_PREFIX, E as ERROR_TYPE, w as wrapDataFetchId, L as LOAD_REMOTE_ERROR_PREFIX, x as DATA_FETCH_FUNCTION, y as getLoadedRemoteInfos, f as fetchData$1, z as setDataFetchItemLoadedStatus, F as FS_HREF } from "./utils-DpoLOH_j.mjs";
|
|
3
3
|
import React__default, { useRef, useState, Suspense, useEffect } from "react";
|
|
4
4
|
const autoFetchData = () => {
|
|
5
5
|
initDataFetchMap();
|
|
@@ -515,8 +515,8 @@ function lazyLoadComponentPlugin() {
|
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
517
|
export {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
518
|
+
autoFetchData as a,
|
|
519
|
+
createLazyComponent as b,
|
|
520
|
+
collectSSRAssets as c,
|
|
521
521
|
lazyLoadComponentPlugin as l
|
|
522
522
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
4
|
-
require("./prefetch-
|
|
3
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-C7jasFos.js");
|
|
4
|
+
require("./prefetch-CFRpPfZQ.js");
|
|
5
5
|
exports.default = lazyLoadComponentPlugin.lazyLoadComponentPlugin;
|
|
6
6
|
exports.lazyLoadComponentPlugin = lazyLoadComponentPlugin.lazyLoadComponentPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l, l as l2 } from "./lazy-load-component-plugin-
|
|
2
|
-
import "./prefetch-
|
|
1
|
+
import { l, l as l2 } from "./lazy-load-component-plugin-CrSLH5YP.mjs";
|
|
2
|
+
import "./prefetch-DMJyBeIs.mjs";
|
|
3
3
|
export {
|
|
4
4
|
l as default,
|
|
5
5
|
l2 as lazyLoadComponentPlugin
|
package/dist/lazy-utils.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
require("./index.esm-
|
|
4
|
-
const lazyUtils = require("./utils-
|
|
3
|
+
require("./index.esm-CYiGJfQW.js");
|
|
4
|
+
const lazyUtils = require("./utils-TDonIHDD.js");
|
|
5
5
|
exports.callAllDowngrade = lazyUtils.callAllDowngrade;
|
|
6
6
|
exports.callDowngrade = lazyUtils.callDowngrade;
|
|
7
7
|
exports.fetchData = lazyUtils.fetchData;
|
package/dist/lazy-utils.es.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./index.esm-
|
|
2
|
-
import {
|
|
1
|
+
import "./index.esm-BvTtsZnu.mjs";
|
|
2
|
+
import { B, G, f, I, J, u, k, n, e, m, H, y, i, q, j, t, h, z, s, w } from "./utils-DpoLOH_j.mjs";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
B as callAllDowngrade,
|
|
5
|
+
G as callDowngrade,
|
|
6
6
|
f as fetchData,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
I as flushDataFetch,
|
|
8
|
+
J as getDataFetchCache,
|
|
9
9
|
u as getDataFetchIdWithErrorMsgs,
|
|
10
10
|
k as getDataFetchInfo,
|
|
11
11
|
n as getDataFetchItem,
|
|
12
12
|
e as getDataFetchMap,
|
|
13
13
|
m as getDataFetchMapKey,
|
|
14
|
-
|
|
14
|
+
H as getDowngradeTag,
|
|
15
15
|
y as getLoadedRemoteInfos,
|
|
16
16
|
i as initDataFetchMap,
|
|
17
17
|
q as isCSROnly,
|