remote-components 0.4.1 → 0.4.3
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/dist/{chunk-KVQI55BZ.cjs → chunk-2W7JBTID.cjs} +37 -36
- package/dist/chunk-2W7JBTID.cjs.map +1 -0
- package/dist/{chunk-TZT7DLO5.cjs → chunk-3AX5WLZD.cjs} +4 -4
- package/dist/{chunk-4O3EOST4.cjs → chunk-4AH3KXDW.cjs} +27 -27
- package/dist/{chunk-MTMDXJLM.js → chunk-4NW46ZVD.js} +410 -146
- package/dist/chunk-4NW46ZVD.js.map +1 -0
- package/dist/{chunk-SAGYPGIQ.js → chunk-55TEMSB5.js} +92 -23
- package/dist/chunk-55TEMSB5.js.map +1 -0
- package/dist/{chunk-RLI4YTBJ.cjs → chunk-7XXO2DLF.cjs} +96 -27
- package/dist/chunk-7XXO2DLF.cjs.map +1 -0
- package/dist/{chunk-RUWR74XQ.cjs → chunk-BBXVML3D.cjs} +1 -1
- package/dist/{chunk-RUWR74XQ.cjs.map → chunk-BBXVML3D.cjs.map} +1 -1
- package/dist/{chunk-42TVDI3G.cjs → chunk-C5EYU7EQ.cjs} +7 -7
- package/dist/{chunk-CC3WOSDO.js → chunk-DGZVFKSQ.js} +10 -9
- package/dist/chunk-DGZVFKSQ.js.map +1 -0
- package/dist/{chunk-AKOMV2UF.js → chunk-HL6BL5HY.js} +3 -3
- package/dist/chunk-HMB3SIVJ.cjs +973 -0
- package/dist/chunk-HMB3SIVJ.cjs.map +1 -0
- package/dist/{chunk-LOYJP2V2.js → chunk-HYVNEUIK.js} +5 -5
- package/dist/chunk-KV5J7PNM.js +152 -0
- package/dist/chunk-KV5J7PNM.js.map +1 -0
- package/dist/{chunk-LQ7VQ74E.js → chunk-LEKG4YWI.js} +2 -2
- package/dist/chunk-SECN7UAL.cjs +152 -0
- package/dist/chunk-SECN7UAL.cjs.map +1 -0
- package/dist/{chunk-S2A4TFLS.js → chunk-ULXU6XWH.js} +1 -1
- package/dist/{chunk-S2A4TFLS.js.map → chunk-ULXU6XWH.js.map} +1 -1
- package/dist/config/nextjs.cjs +7 -7
- package/dist/config/nextjs.js +2 -2
- package/dist/host/html.cjs +36 -36
- package/dist/host/html.js +10 -10
- package/dist/host/nextjs/app/client-only.cjs +17 -17
- package/dist/host/nextjs/app/client-only.js +8 -8
- package/dist/host/react.cjs +9 -9
- package/dist/host/react.js +8 -8
- package/dist/internal/config/webpack/next-client-pages-loader.cjs +151 -53
- package/dist/internal/config/webpack/next-client-pages-loader.cjs.map +1 -1
- package/dist/internal/config/webpack/next-client-pages-loader.d.ts +8 -4
- package/dist/internal/config/webpack/next-client-pages-loader.js +153 -53
- package/dist/internal/config/webpack/next-client-pages-loader.js.map +1 -1
- package/dist/internal/host/server/fetch-remote-component.cjs +27 -12
- package/dist/internal/host/server/fetch-remote-component.cjs.map +1 -1
- package/dist/internal/host/server/fetch-remote-component.d.ts +3 -2
- package/dist/internal/host/server/fetch-remote-component.js +32 -13
- package/dist/internal/host/server/fetch-remote-component.js.map +1 -1
- package/dist/internal/host/server/get-ssr-relative-path-base-url.cjs +13 -6
- package/dist/internal/host/server/get-ssr-relative-path-base-url.cjs.map +1 -1
- package/dist/internal/host/server/get-ssr-relative-path-base-url.d.ts +3 -1
- package/dist/internal/host/server/get-ssr-relative-path-base-url.js +11 -6
- package/dist/internal/host/server/get-ssr-relative-path-base-url.js.map +1 -1
- package/dist/internal/host/shared/pipeline.d.ts +1 -1
- package/dist/internal/host/shared/shared-broker.cjs +106 -0
- package/dist/internal/host/shared/shared-broker.cjs.map +1 -0
- package/dist/internal/host/shared/shared-broker.d.ts +35 -0
- package/dist/internal/host/shared/shared-broker.js +80 -0
- package/dist/internal/host/shared/shared-broker.js.map +1 -0
- package/dist/internal/host/shared/shared-module-resolver.cjs +13 -22
- package/dist/internal/host/shared/shared-module-resolver.cjs.map +1 -1
- package/dist/internal/host/shared/shared-module-resolver.d.ts +1 -1
- package/dist/internal/host/shared/shared-module-resolver.js +16 -22
- package/dist/internal/host/shared/shared-module-resolver.js.map +1 -1
- package/dist/internal/runtime/loaders/component-loader.cjs +2 -1
- package/dist/internal/runtime/loaders/component-loader.cjs.map +1 -1
- package/dist/internal/runtime/loaders/component-loader.d.ts +1 -1
- package/dist/internal/runtime/loaders/component-loader.js +2 -1
- package/dist/internal/runtime/loaders/component-loader.js.map +1 -1
- package/dist/internal/runtime/loaders/static-loader.d.ts +1 -1
- package/dist/internal/runtime/namespace.d.ts +1 -1
- package/dist/internal/runtime/turbopack/module.cjs +26 -4
- package/dist/internal/runtime/turbopack/module.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/module.d.ts +14 -7
- package/dist/internal/runtime/turbopack/module.js +27 -5
- package/dist/internal/runtime/turbopack/module.js.map +1 -1
- package/dist/internal/runtime/turbopack/remote-scope-setup.cjs +5 -4
- package/dist/internal/runtime/turbopack/remote-scope-setup.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/remote-scope-setup.js +5 -4
- package/dist/internal/runtime/turbopack/remote-scope-setup.js.map +1 -1
- package/dist/internal/runtime/turbopack/shared-modules.cjs +113 -26
- package/dist/internal/runtime/turbopack/shared-modules.cjs.map +1 -1
- package/dist/internal/runtime/turbopack/shared-modules.d.ts +3 -1
- package/dist/internal/runtime/turbopack/shared-modules.js +116 -26
- package/dist/internal/runtime/turbopack/shared-modules.js.map +1 -1
- package/dist/internal/runtime/types.cjs.map +1 -1
- package/dist/internal/runtime/types.d.ts +1 -1
- package/dist/internal/utils/logger.cjs.map +1 -1
- package/dist/internal/utils/logger.d.ts +1 -1
- package/dist/internal/utils/logger.js.map +1 -1
- package/dist/remote/html.cjs +6 -6
- package/dist/remote/html.js +2 -2
- package/dist/{script-VPOI7ARP.js → script-ISAHSV3X.js} +3 -3
- package/dist/{script-D5AD7HLV.cjs → script-YQCDUYDP.cjs} +4 -4
- package/dist/static-loader-EOJQHFZ6.cjs +11 -0
- package/dist/{static-loader-OHSAUD62.js → static-loader-Z24427MK.js} +3 -3
- package/dist/{turbopack-5N44NVPT.js → turbopack-7F757Z7V.js} +6 -6
- package/dist/{turbopack-EPXGK4EV.cjs → turbopack-DULMVTWV.cjs} +12 -12
- package/dist/{types-8b0edd78.d.ts → types-bd7be268.d.ts} +1 -5
- package/dist/{webpack-SIFRCBIN.cjs → webpack-6LXCB7WA.cjs} +14 -14
- package/dist/{webpack-KSDNIXMS.js → webpack-WGVTKJ3W.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-CC3WOSDO.js.map +0 -1
- package/dist/chunk-JJTCFQHE.cjs +0 -202
- package/dist/chunk-JJTCFQHE.cjs.map +0 -1
- package/dist/chunk-KVQI55BZ.cjs.map +0 -1
- package/dist/chunk-MKO52FRO.js +0 -202
- package/dist/chunk-MKO52FRO.js.map +0 -1
- package/dist/chunk-MQ2BBSL4.cjs +0 -709
- package/dist/chunk-MQ2BBSL4.cjs.map +0 -1
- package/dist/chunk-MTMDXJLM.js.map +0 -1
- package/dist/chunk-RLI4YTBJ.cjs.map +0 -1
- package/dist/chunk-SAGYPGIQ.js.map +0 -1
- package/dist/static-loader-UDIXK5MV.cjs +0 -11
- /package/dist/{chunk-TZT7DLO5.cjs.map → chunk-3AX5WLZD.cjs.map} +0 -0
- /package/dist/{chunk-4O3EOST4.cjs.map → chunk-4AH3KXDW.cjs.map} +0 -0
- /package/dist/{chunk-42TVDI3G.cjs.map → chunk-C5EYU7EQ.cjs.map} +0 -0
- /package/dist/{chunk-AKOMV2UF.js.map → chunk-HL6BL5HY.js.map} +0 -0
- /package/dist/{chunk-LOYJP2V2.js.map → chunk-HYVNEUIK.js.map} +0 -0
- /package/dist/{chunk-LQ7VQ74E.js.map → chunk-LEKG4YWI.js.map} +0 -0
- /package/dist/{script-VPOI7ARP.js.map → script-ISAHSV3X.js.map} +0 -0
- /package/dist/{script-D5AD7HLV.cjs.map → script-YQCDUYDP.cjs.map} +0 -0
- /package/dist/{static-loader-UDIXK5MV.cjs.map → static-loader-EOJQHFZ6.cjs.map} +0 -0
- /package/dist/{static-loader-OHSAUD62.js.map → static-loader-Z24427MK.js.map} +0 -0
- /package/dist/{turbopack-5N44NVPT.js.map → turbopack-7F757Z7V.js.map} +0 -0
- /package/dist/{turbopack-EPXGK4EV.cjs.map → turbopack-DULMVTWV.cjs.map} +0 -0
- /package/dist/{webpack-SIFRCBIN.cjs.map → webpack-6LXCB7WA.cjs.map} +0 -0
- /package/dist/{webpack-KSDNIXMS.js.map → webpack-WGVTKJ3W.js.map} +0 -0
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2W7JBTIDcjs = require('./chunk-2W7JBTID.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk3AX5WLZDcjs = require('./chunk-3AX5WLZD.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkN3SQTOSEcjs = require('./chunk-N3SQTOSE.cjs');
|
|
@@ -21,7 +21,7 @@ var _chunkN3SQTOSEcjs = require('./chunk-N3SQTOSE.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk7XXO2DLFcjs = require('./chunk-7XXO2DLF.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkZ2SLBFQLcjs = require('./chunk-Z2SLBFQL.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunkZ2SLBFQLcjs = require('./chunk-Z2SLBFQL.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkBBXVML3Dcjs = require('./chunk-BBXVML3D.cjs');
|
|
33
33
|
|
|
34
34
|
// src/host/react/index.tsx
|
|
35
35
|
|
|
@@ -92,7 +92,7 @@ function setAttributesFromProps(el, props) {
|
|
|
92
92
|
function useResolveClientUrl(prop, urlHref) {
|
|
93
93
|
const { resolveClientUrl: contextValue } = _context.useRemoteComponentsContext.call(void 0, );
|
|
94
94
|
const raw = _nullishCoalesce(prop, () => ( contextValue));
|
|
95
|
-
return _react.useMemo.call(void 0, () =>
|
|
95
|
+
return _react.useMemo.call(void 0, () => _chunk2W7JBTIDcjs.bindResolveClientUrl.call(void 0, raw, urlHref), [raw, urlHref]);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// src/host/react/hooks/use-shadow-root.ts
|
|
@@ -154,7 +154,7 @@ function getRemoteComponentHtml(html) {
|
|
|
154
154
|
return ssrRemoteComponentContainer.innerHTML;
|
|
155
155
|
}
|
|
156
156
|
const remoteComponentContainer = temp.querySelectorAll(
|
|
157
|
-
`div[data-bundle][data-route][data-runtime][id^="${
|
|
157
|
+
`div[data-bundle][data-route][data-runtime][id^="${_chunk7XXO2DLFcjs.DEFAULT_COMPONENT_NAME}"],div[data-bundle][data-route],div#__next,remote-component:not([src])`
|
|
158
158
|
);
|
|
159
159
|
if (remoteComponentContainer.length > 0) {
|
|
160
160
|
return `${Array.from(temp.querySelectorAll("link,script")).map((link) => link.outerHTML).join("")}${Array.from(remoteComponentContainer).map((container) => container.outerHTML).join("")}`;
|
|
@@ -179,7 +179,7 @@ function ConsumeRemoteComponent({
|
|
|
179
179
|
mode = "open",
|
|
180
180
|
reset,
|
|
181
181
|
credentials: credentialsProp,
|
|
182
|
-
name: nameProp =
|
|
182
|
+
name: nameProp = _chunk7XXO2DLFcjs.DEFAULT_COMPONENT_NAME,
|
|
183
183
|
shared: sharedProp,
|
|
184
184
|
children,
|
|
185
185
|
onBeforeLoad,
|
|
@@ -195,22 +195,22 @@ function ConsumeRemoteComponent({
|
|
|
195
195
|
const credentials = _nullishCoalesce(_nullishCoalesce(credentialsProp, () => ( contextCredentials)), () => ( "same-origin"));
|
|
196
196
|
const shared = _nullishCoalesce(_nullishCoalesce(sharedProp, () => ( contextShared)), () => ( {}));
|
|
197
197
|
const emitter = _react.useMemo.call(void 0,
|
|
198
|
-
() =>
|
|
198
|
+
() => _chunk2W7JBTIDcjs.makeReactEmitter.call(void 0, { onBeforeLoad, onLoad, onError, onChange }),
|
|
199
199
|
[onBeforeLoad, onLoad, onError, onChange]
|
|
200
200
|
);
|
|
201
201
|
const name = _react.useMemo.call(void 0,
|
|
202
|
-
() =>
|
|
202
|
+
() => _chunk2W7JBTIDcjs.resolveNameFromSrc.call(void 0, src, nameProp),
|
|
203
203
|
[src, nameProp]
|
|
204
204
|
);
|
|
205
205
|
const [data, setData] = _react.useState.call(void 0,
|
|
206
206
|
null
|
|
207
207
|
);
|
|
208
|
-
const url = _react.useMemo.call(void 0, () =>
|
|
208
|
+
const url = _react.useMemo.call(void 0, () => _chunk2W7JBTIDcjs.getClientOrServerUrl.call(void 0, src, DUMMY_FALLBACK), [src]);
|
|
209
209
|
const resolveClientUrl = useResolveClientUrl(resolveClientUrlProp, url.href);
|
|
210
210
|
const id = url.origin === (typeof location !== "undefined" ? location.origin : DUMMY_FALLBACK) ? url.pathname : url.href;
|
|
211
|
-
const keySuffix = `${
|
|
211
|
+
const keySuffix = `${_chunk7XXO2DLFcjs.escapeString.call(void 0, id)}_${_chunk7XXO2DLFcjs.escapeString.call(void 0,
|
|
212
212
|
_nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.name]), () => ( name))
|
|
213
|
-
)}_${
|
|
213
|
+
)}_${_chunk7XXO2DLFcjs.escapeString.call(void 0, instanceId)}`;
|
|
214
214
|
const [remoteComponent, setRemoteComponent] = _react.useState.call(void 0, null);
|
|
215
215
|
const { shadowRoot, shadowRootContainerRef } = useShadowRoot({
|
|
216
216
|
isolate,
|
|
@@ -236,7 +236,7 @@ function ConsumeRemoteComponent({
|
|
|
236
236
|
return elements;
|
|
237
237
|
})() : []
|
|
238
238
|
);
|
|
239
|
-
const hostStateRef = _react.useRef.call(void 0,
|
|
239
|
+
const hostStateRef = _react.useRef.call(void 0, _chunk2W7JBTIDcjs.createHostState.call(void 0, ));
|
|
240
240
|
const componentHydrationHtml = _react.useRef.call(void 0, null);
|
|
241
241
|
const prevRemoteComponentContainerRef = _react.useRef.call(void 0, null);
|
|
242
242
|
const unmountRef = _react.useRef.call(void 0, null);
|
|
@@ -302,13 +302,13 @@ function ConsumeRemoteComponent({
|
|
|
302
302
|
_nullishCoalesce(_optionalChain([resolveClientUrl, 'optionalCall', _29 => _29(url.href)]), () => ( url.href)),
|
|
303
303
|
location.href
|
|
304
304
|
);
|
|
305
|
-
const res = await
|
|
305
|
+
const res = await _chunk2W7JBTIDcjs.fetchWithHooks.call(void 0, resolvedUrl, fetchInit, {
|
|
306
306
|
onRequest,
|
|
307
307
|
onResponse,
|
|
308
308
|
abortController: hostStateRef.current.abortController
|
|
309
309
|
});
|
|
310
310
|
if (!res || !res.ok) {
|
|
311
|
-
throw await
|
|
311
|
+
throw await _chunkBBXVML3Dcjs.errorFromFailedFetch.call(void 0, url.href, resolvedUrl, res);
|
|
312
312
|
}
|
|
313
313
|
const remoteHtml = await res.text();
|
|
314
314
|
if (signal.aborted)
|
|
@@ -321,7 +321,7 @@ function ConsumeRemoteComponent({
|
|
|
321
321
|
const userShared = await shared;
|
|
322
322
|
if (signal.aborted)
|
|
323
323
|
return;
|
|
324
|
-
const prepared =
|
|
324
|
+
const prepared = _chunk2W7JBTIDcjs.preparePipeline.call(void 0, {
|
|
325
325
|
html,
|
|
326
326
|
name,
|
|
327
327
|
url,
|
|
@@ -362,7 +362,7 @@ function ConsumeRemoteComponent({
|
|
|
362
362
|
href: new URL(_nullishCoalesce(link.getAttribute("href"), () => ( link.href)), url).href,
|
|
363
363
|
...link.getAttributeNames().reduce((acc, key) => {
|
|
364
364
|
if (key !== "href") {
|
|
365
|
-
acc[_nullishCoalesce(
|
|
365
|
+
acc[_nullishCoalesce(_chunk7XXO2DLFcjs.attrToProp[key], () => ( key))] = _nullishCoalesce(link.getAttribute(key), () => ( ""));
|
|
366
366
|
}
|
|
367
367
|
return acc;
|
|
368
368
|
}, {})
|
|
@@ -424,7 +424,7 @@ function ConsumeRemoteComponent({
|
|
|
424
424
|
});
|
|
425
425
|
self.__next_s = prevNextScripts;
|
|
426
426
|
}
|
|
427
|
-
const rscName = rsc ? `__remote_component_rsc_${
|
|
427
|
+
const rscName = rsc ? `__remote_component_rsc_${_chunk7XXO2DLFcjs.escapeString.call(void 0, id)}_${_chunk7XXO2DLFcjs.escapeString.call(void 0,
|
|
428
428
|
remoteName
|
|
429
429
|
)}` : void 0;
|
|
430
430
|
if (rsc) {
|
|
@@ -460,7 +460,7 @@ function ConsumeRemoteComponent({
|
|
|
460
460
|
shadowRoot.innerHTML = shadowRootHtml;
|
|
461
461
|
htmlRef.current = null;
|
|
462
462
|
setRemoteComponent(null);
|
|
463
|
-
const { mount, unmount } = await
|
|
463
|
+
const { mount, unmount } = await _chunk3AX5WLZDcjs.loadStaticRemoteComponent.call(void 0,
|
|
464
464
|
Array.from(shadowRoot.querySelectorAll("script")),
|
|
465
465
|
url,
|
|
466
466
|
resolveClientUrl
|
|
@@ -482,7 +482,7 @@ function ConsumeRemoteComponent({
|
|
|
482
482
|
)
|
|
483
483
|
);
|
|
484
484
|
htmlRef.current = null;
|
|
485
|
-
const { mount, unmount } = await
|
|
485
|
+
const { mount, unmount } = await _chunk3AX5WLZDcjs.loadStaticRemoteComponent.call(void 0,
|
|
486
486
|
Array.from(component.querySelectorAll("script")),
|
|
487
487
|
url,
|
|
488
488
|
resolveClientUrl
|
|
@@ -497,7 +497,7 @@ function ConsumeRemoteComponent({
|
|
|
497
497
|
}
|
|
498
498
|
hostStateRef.current.stage = "loaded";
|
|
499
499
|
} else {
|
|
500
|
-
const result = await
|
|
500
|
+
const result = await _chunk2W7JBTIDcjs.loadPrepared.call(void 0, {
|
|
501
501
|
prepared,
|
|
502
502
|
url,
|
|
503
503
|
signal,
|
|
@@ -532,7 +532,7 @@ function ConsumeRemoteComponent({
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
} catch (error) {
|
|
535
|
-
if (
|
|
535
|
+
if (_chunkBBXVML3Dcjs.isAbortError.call(void 0, error)) {
|
|
536
536
|
hostStateRef.current.stage = "idle";
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
@@ -566,8 +566,8 @@ function ConsumeRemoteComponent({
|
|
|
566
566
|
const metadataJson = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "script", { "data-remote-component": true, type: "application/json", children: JSON.stringify({
|
|
567
567
|
name: _optionalChain([data, 'optionalAccess', _33 => _33.name]) || name,
|
|
568
568
|
bundle: _optionalChain([data, 'optionalAccess', _34 => _34.bundle]) || "default",
|
|
569
|
-
route: _optionalChain([data, 'optionalAccess', _35 => _35.route]) ||
|
|
570
|
-
runtime: hostStateRef.current.prevIsRemoteComponent ?
|
|
569
|
+
route: _optionalChain([data, 'optionalAccess', _35 => _35.route]) || _chunk7XXO2DLFcjs.DEFAULT_ROUTE,
|
|
570
|
+
runtime: hostStateRef.current.prevIsRemoteComponent ? _chunk7XXO2DLFcjs.RUNTIME_SCRIPT : _optionalChain([data, 'optionalAccess', _36 => _36.runtime]) || _chunk7XXO2DLFcjs.RUNTIME_WEBPACK
|
|
571
571
|
}) });
|
|
572
572
|
const resetStyle = reset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "style", { "data-remote-components-reset": "react", children: `:host { all: initial; }` }) : null;
|
|
573
573
|
const linksToRender = _optionalChain([data, 'optionalAccess', _37 => _37.links, 'optionalAccess', _38 => _38.map, 'call', _39 => _39((link) => /* @__PURE__ */ _react.createElement.call(void 0,
|
|
@@ -587,7 +587,7 @@ function ConsumeRemoteComponent({
|
|
|
587
587
|
shadowRoot.innerHTML = componentHydrationHtml.current;
|
|
588
588
|
componentHydrationHtml.current = null;
|
|
589
589
|
if (hostStateRef.current.prevIsRemoteComponent) {
|
|
590
|
-
|
|
590
|
+
_chunk3AX5WLZDcjs.loadStaticRemoteComponent.call(void 0,
|
|
591
591
|
Array.from(shadowRoot.querySelectorAll("script")),
|
|
592
592
|
url,
|
|
593
593
|
resolveClientUrl
|
|
@@ -600,7 +600,7 @@ function ConsumeRemoteComponent({
|
|
|
600
600
|
emitter.load(src);
|
|
601
601
|
}
|
|
602
602
|
}).catch((e) => {
|
|
603
|
-
const error = new (0,
|
|
603
|
+
const error = new (0, _chunkBBXVML3Dcjs.RemoteComponentsError)(
|
|
604
604
|
`Error mounting remote component from "${url.href}"`,
|
|
605
605
|
{
|
|
606
606
|
cause: e
|
|
@@ -679,4 +679,4 @@ function ConsumeRemoteComponent({
|
|
|
679
679
|
|
|
680
680
|
|
|
681
681
|
exports.useRemoteNavigate = useRemoteNavigate; exports.ConsumeRemoteComponent = ConsumeRemoteComponent;
|
|
682
|
-
//# sourceMappingURL=chunk-
|
|
682
|
+
//# sourceMappingURL=chunk-4AH3KXDW.cjs.map
|