@farm.js/core 0.1.82 → 0.1.84
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/{agent-mcp.d-C2Su3x4D.d.ts → agent-mcp.d-7uKdOttc.d.ts} +1 -1
- package/dist/{agent-mcp.d-Yak-LqRd.d.mts → agent-mcp.d-LChlR2au.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +2 -1
- package/dist/agent-runtime.d.ts +2 -1
- package/dist/{analyzer-RPU2KG4J.mjs → analyzer-7RNO3XKC.mjs} +2 -2
- package/dist/analyzer-PFKA5NI6.cjs +17 -0
- package/dist/api/node.d.mts +4 -3
- package/dist/api/node.d.ts +4 -3
- package/dist/api/route-manager.d.mts +4 -3
- package/dist/api/route-manager.d.ts +4 -3
- package/dist/api/runtime.d.mts +3 -2
- package/dist/api/runtime.d.ts +3 -2
- package/dist/api.d.mts +5 -4
- package/dist/api.d.ts +5 -4
- package/dist/{app-manifest.d-DZyXaICz.d.ts → app-manifest.d-CRp21oAz.d.ts} +1 -1
- package/dist/{app-manifest.d-BcyOFMrg.d.mts → app-manifest.d-QMdmqqCr.d.mts} +1 -1
- package/dist/app-markdown.d.mts +3 -2
- package/dist/app-markdown.d.ts +3 -2
- package/dist/{app.d-CIoXsAbN.d.ts → app.d-CVPu_hoD.d.ts} +34 -4
- package/dist/{app.d-C0ePpuaG.d.mts → app.d-eSm7jgoc.d.mts} +34 -4
- package/dist/{chunk-B2PGVHBG.cjs → chunk-22BTYPIX.cjs} +4 -4
- package/dist/{chunk-BCTHOQPP.cjs → chunk-3OKSEJ33.cjs} +98 -10
- package/dist/{chunk-QSMUMK7Y.mjs → chunk-3WM7VBGW.mjs} +2 -2
- package/dist/{chunk-XMHERKSE.mjs → chunk-42IBGQTN.mjs} +5 -12
- package/dist/{chunk-RMPUEH5T.cjs → chunk-57EEWWUS.cjs} +2 -2
- package/dist/{chunk-Q2VOT3K2.cjs → chunk-5I4ZGKP2.cjs} +395 -333
- package/dist/{chunk-TPA2PV5J.mjs → chunk-5V6HSJFG.mjs} +24 -1
- package/dist/{chunk-RMLR5RMH.mjs → chunk-BCCCPFHQ.mjs} +92 -4
- package/dist/{chunk-LM2ZDNDD.cjs → chunk-BOEDYXAX.cjs} +30 -25
- package/dist/{chunk-NRCKBDYP.mjs → chunk-BRDGINBB.mjs} +153 -47
- package/dist/chunk-BUQR7KKO.mjs +17 -0
- package/dist/{chunk-63ZE6B6M.mjs → chunk-BZY3SRRD.mjs} +1 -1
- package/dist/{chunk-724WT3NI.mjs → chunk-CRE642TW.mjs} +1 -1
- package/dist/{chunk-JK26IMT7.cjs → chunk-CVZY4TLW.cjs} +1 -1
- package/dist/{chunk-ZIZRIZLP.mjs → chunk-CWUQBECF.mjs} +3 -1
- package/dist/{chunk-DAXU2NBE.mjs → chunk-DFDQGHPU.mjs} +104 -42
- package/dist/{chunk-AIPZDBP6.cjs → chunk-DSWSDDP2.cjs} +844 -553
- package/dist/{chunk-DRO3NXA3.cjs → chunk-EBSL5TW7.cjs} +203 -93
- package/dist/{chunk-CJDBTTLB.mjs → chunk-EDBIBO67.mjs} +18 -13
- package/dist/{chunk-BBVLOEND.cjs → chunk-F7JVO3OZ.cjs} +4 -4
- package/dist/chunk-FZ7OUN5M.cjs +30 -0
- package/dist/chunk-GLNVLCUH.cjs +426 -0
- package/dist/{chunk-5MMKNW7Q.cjs → chunk-H7REG7OX.cjs} +15 -8
- package/dist/{chunk-N2EFMN2K.cjs → chunk-HOQ2MYBJ.cjs} +10 -10
- package/dist/{chunk-OP5VI4TP.mjs → chunk-I5CVJ24H.mjs} +1 -1
- package/dist/{chunk-I4DR3HCH.mjs → chunk-INU4K4U4.mjs} +5 -5
- package/dist/{chunk-4X7LSGM6.mjs → chunk-IRJSZAJB.mjs} +1 -1
- package/dist/{chunk-EX6ZSN5P.cjs → chunk-IZYFP7IN.cjs} +17 -24
- package/dist/chunk-J6RFB324.cjs +17 -0
- package/dist/{chunk-47I2MYIR.mjs → chunk-KXVMWLTC.mjs} +484 -193
- package/dist/{chunk-UVV3I5QA.cjs → chunk-L2GUEYHR.cjs} +29 -6
- package/dist/{chunk-VMBIKDKW.cjs → chunk-L3BSHASB.cjs} +6 -4
- package/dist/chunk-L5HDCDFT.mjs +426 -0
- package/dist/{chunk-GXLNARPO.mjs → chunk-M5XU22PQ.mjs} +1 -1
- package/dist/chunk-M6AJZ4XR.mjs +30 -0
- package/dist/chunk-MAPHNGTF.cjs +98 -0
- package/dist/{chunk-RE5E2G5S.cjs → chunk-MNUYXZV7.cjs} +2 -18
- package/dist/{chunk-C3VCYOU4.mjs → chunk-MUUDHWQZ.mjs} +1 -1
- package/dist/{chunk-YSU3WCW6.mjs → chunk-MYSH5Y4E.mjs} +1 -1
- package/dist/{chunk-OMB7UGVW.mjs → chunk-NLHSKKTT.mjs} +14 -9
- package/dist/{chunk-ARORZ3MH.cjs → chunk-OFVBMS6I.cjs} +439 -333
- package/dist/{chunk-5MUFW5UU.cjs → chunk-OP7BIEUW.cjs} +2 -2
- package/dist/{chunk-I4WZRG73.mjs → chunk-RB5IGN3N.mjs} +13 -6
- package/dist/chunk-RJBUI5AN.mjs +18 -0
- package/dist/chunk-RQ6XX5IN.mjs +98 -0
- package/dist/{chunk-EJCVG25Z.mjs → chunk-S3R4JDRO.mjs} +17 -9
- package/dist/{chunk-WFVSAT7Y.cjs → chunk-T7HGXF7D.cjs} +3 -3
- package/dist/{chunk-HHQEKLZL.cjs → chunk-USMRAC72.cjs} +36 -31
- package/dist/{chunk-SM2SYWAR.cjs → chunk-XJDB564A.cjs} +18 -10
- package/dist/{chunk-EL2Z6YFZ.mjs → chunk-XLULEFRW.mjs} +180 -70
- package/dist/{chunk-6BPFIYGY.cjs → chunk-YU6VL7H5.cjs} +3 -3
- package/dist/{chunk-CD5Z7RR5.cjs → chunk-Z37PDUJR.cjs} +4 -4
- package/dist/{cli-runtime.d-Hnvvadz7.d.mts → cli-runtime.d-C7aMfoTq.d.mts} +8 -6
- package/dist/{cli-runtime.d-I0MphTbc.d.ts → cli-runtime.d-DaElKjaL.d.ts} +8 -6
- package/dist/{client-component.d-DapRqtSC.d.mts → client-component.d-DLMCzmUx.d.mts} +1 -1
- package/dist/{client-component.d-5QEvtJsg.d.ts → client-component.d-DLknFP8l.d.ts} +1 -1
- package/dist/{client-plugins.d-DcmDzcSC.d.ts → client-plugins.d-BVXjyIkY.d.ts} +14 -0
- package/dist/{client-plugins.d-C1WM3ieD.d.mts → client-plugins.d-BwKwuO_0.d.mts} +14 -0
- package/dist/client-plugins.d.mts +2 -1
- package/dist/client-plugins.d.ts +2 -1
- package/dist/client.cjs +4 -3
- package/dist/client.d.mts +10 -9
- package/dist/client.d.ts +10 -9
- package/dist/client.mjs +3 -2
- package/dist/config.d.mts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/desktop.d.mts +3 -2
- package/dist/desktop.d.ts +3 -2
- package/dist/{devtools-5B7NZE6F.cjs → devtools-4SVIRV4P.cjs} +7 -7
- package/dist/{devtools-C5GXZZ7E.mjs → devtools-MWQA5LVN.mjs} +5 -5
- package/dist/docs.cjs +10 -9
- package/dist/docs.d.mts +15 -6
- package/dist/docs.d.ts +15 -6
- package/dist/docs.mjs +9 -8
- package/dist/environment/vite.cjs +5 -5
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +4 -4
- package/dist/{generate-route-types.d-CaGMIaNI.d.mts → generate-route-types.d-BFOMM8Ef.d.mts} +3 -0
- package/dist/{generate-route-types.d-B76M5R11.d.ts → generate-route-types.d-C2m8myHb.d.ts} +3 -0
- package/dist/{handler.d-B8bPCBzl.d.mts → handler.d-BKTWzzNA.d.mts} +1 -1
- package/dist/{handler.d-Cliwo6Nu.d.ts → handler.d-Dzpyg3-N.d.ts} +1 -1
- package/dist/{headers.d-CVwSpSGX.d.mts → headers.d-5opjyhXw.d.mts} +1 -1
- package/dist/{headers.d-C_btqjV6.d.ts → headers.d-PZyXcDAH.d.ts} +1 -1
- package/dist/index.cjs +32 -29
- package/dist/{index.d-DFuMZk9-.d.mts → index.d-C0Mie66f.d.mts} +1 -1
- package/dist/{index.d-hOEbMcLk.d.ts → index.d-DV2q-0mE.d.ts} +1 -1
- package/dist/index.d.mts +26 -25
- package/dist/index.d.ts +26 -25
- package/dist/index.mjs +32 -29
- package/dist/integrations/orm.d.mts +2 -1
- package/dist/integrations/orm.d.ts +2 -1
- package/dist/integrations.d.mts +2 -1
- package/dist/integrations.d.ts +2 -1
- package/dist/internal/app-markdown-runtime.d.mts +3 -2
- package/dist/internal/app-markdown-runtime.d.ts +3 -2
- package/dist/internal/build-runtime.cjs +28 -27
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +27 -26
- package/dist/internal/cli-runtime.cjs +9 -9
- package/dist/internal/cli-runtime.d.mts +8 -7
- package/dist/internal/cli-runtime.d.ts +8 -7
- package/dist/internal/cli-runtime.mjs +8 -8
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +8 -42
- package/dist/internal/client-runtime.d.ts +8 -42
- package/dist/internal/compression-runtime.d.mts +2 -1
- package/dist/internal/compression-runtime.d.ts +2 -1
- package/dist/internal/config-runtime.cjs +7 -7
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +6 -6
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/islands-action-client.cjs +18 -0
- package/dist/internal/islands-action-client.d.mts +18 -0
- package/dist/internal/islands-action-client.d.ts +18 -0
- package/dist/internal/islands-action-client.mjs +18 -0
- package/dist/internal/islands-runtime.cjs +3 -8
- package/dist/internal/islands-runtime.mjs +4 -9
- package/dist/internal/islx-actions-client.cjs +4 -3
- package/dist/internal/islx-actions-client.mjs +3 -2
- package/dist/internal/islx-actions-server.d.mts +0 -2
- package/dist/internal/islx-actions-server.d.ts +0 -2
- package/dist/internal/islx-client.cjs +13 -1
- package/dist/internal/islx-client.d.mts +11 -0
- package/dist/internal/islx-client.d.ts +11 -0
- package/dist/internal/islx-client.mjs +14 -0
- package/dist/internal/metadata-image-runtime.d.mts +1 -0
- package/dist/internal/metadata-image-runtime.d.ts +1 -0
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +13 -13
- package/dist/internal/production-runtime.d.mts +11 -11
- package/dist/internal/production-runtime.d.ts +11 -11
- package/dist/internal/production-runtime.mjs +19 -19
- package/dist/internal/renderer-islands.cjs +47 -0
- package/dist/internal/renderer-islands.d.mts +32 -0
- package/dist/internal/renderer-islands.d.ts +32 -0
- package/dist/internal/renderer-islands.mjs +47 -0
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +2 -1
- package/dist/internal/start-manifest.d.ts +2 -1
- package/dist/island-runtime.d-BA7EPo1v.d.ts +38 -0
- package/dist/island-runtime.d-BBS_YUSX.d.mts +38 -0
- package/dist/markdown.d.mts +2 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/middleware.d.mts +2 -1
- package/dist/middleware.d.ts +2 -1
- package/dist/mobile.d.mts +6 -3
- package/dist/mobile.d.ts +6 -3
- package/dist/{mount.d-DLeYxeRR.d.mts → mount.d-CZ_qL1iS.d.mts} +1 -1
- package/dist/{mount.d-CAovYKfs.d.ts → mount.d-gWul1GA1.d.ts} +1 -1
- package/dist/{navigation-delegate.d-Chv93QS6.d.mts → navigation-delegate.d-BBTzhJLj.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BLM-8Q3Z.d.ts → navigation-delegate.d-BZsYEAet.d.ts} +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/plugin.cjs +23 -22
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +22 -21
- package/dist/{render-plan.d-BSTjTH8h.d.ts → render-plan.d-AaJsYPX-.d.ts} +1 -1
- package/dist/{render-plan.d-CK5Lggyb.d.mts → render-plan.d-bnWxS12w.d.mts} +1 -1
- package/dist/renderer-client.cjs +6 -5
- package/dist/renderer-client.d.mts +8 -7
- package/dist/renderer-client.d.ts +8 -7
- package/dist/renderer-client.mjs +2 -1
- package/dist/renderer.cjs +12 -2
- package/dist/renderer.d.mts +167 -4
- package/dist/renderer.d.ts +167 -4
- package/dist/renderer.mjs +11 -1
- package/dist/{request.d-BhggxQf3.d.mts → request.d-C2HOn3Hi.d.mts} +1 -1
- package/dist/{request.d-CyJS9bjm.d.ts → request.d-CAeitOG1.d.ts} +1 -1
- package/dist/request.d.mts +3 -2
- package/dist/request.d.ts +3 -2
- package/dist/{route-rendering.d-BLPPmI5I.d.ts → route-rendering.d-A1dIkUK5.d.ts} +1 -1
- package/dist/{route-rendering.d-CUpG2mZJ.d.mts → route-rendering.d-CYA-ulnX.d.mts} +1 -1
- package/dist/{router.d-2NQM1Kgw.d.mts → router.d-8lxnzlkr.d.mts} +1 -1
- package/dist/{router.d-0X2Ki6rf.d.ts → router.d-A_Yt6jYz.d.ts} +1 -1
- package/dist/{routes.d-CCccJRrp.d.mts → routes.d-BWvpUoYu.d.mts} +1 -1
- package/dist/{routes.d-b7khoRoU.d.ts → routes.d-D7RWvfqL.d.ts} +1 -1
- package/dist/routes.d.mts +2 -1
- package/dist/routes.d.ts +2 -1
- package/dist/{rsc-pipeline-5AOF64FL.cjs → rsc-pipeline-OWBEZ7HB.cjs} +10 -10
- package/dist/{rsc-pipeline-DNRLYOJ7.mjs → rsc-pipeline-UT3Z2GDO.mjs} +9 -9
- package/dist/{runtime-EHG2FRXZ.mjs → runtime-F5I3WY3B.mjs} +12 -12
- package/dist/{runtime-ZVHG5SRB.cjs → runtime-SRMQ46SK.cjs} +15 -15
- package/dist/{runtime.d-CXuwkUgr.d.ts → runtime.d-BPyvWrgQ.d.ts} +1 -1
- package/dist/{runtime.d-CaFXcu_Q.d.mts → runtime.d-C_rZ9_DD.d.mts} +1 -1
- package/dist/{server-components-status.d-Cp7zvBm5.d.mts → server-components-status.d-BpxiEMQE.d.mts} +1 -1
- package/dist/{server-components-status.d-BdeFD8ZH.d.ts → server-components-status.d-C2UEKJn7.d.ts} +1 -1
- package/dist/server-plugins.d.mts +4 -3
- package/dist/server-plugins.d.ts +4 -3
- package/dist/server-query-call.d-rVM_lsYk.d.mts +15 -0
- package/dist/server-query-call.d-rVM_lsYk.d.ts +15 -0
- package/dist/server-query-client.cjs +5 -3
- package/dist/server-query-client.d.mts +3 -2
- package/dist/server-query-client.d.ts +3 -2
- package/dist/server-query-client.mjs +5 -3
- package/dist/{server-query-runtime.d-DXRNhX_3.d.ts → server-query-runtime.d-BlHd90D0.d.ts} +2 -8
- package/dist/{server-query-runtime.d-aP52iuL5.d.mts → server-query-runtime.d-CCLGkQtE.d.mts} +2 -8
- package/dist/server.cjs +52 -52
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +30 -30
- package/dist/{spa-router.d-l3G38xHa.d.mts → spa-router.d-BD-6WX1R.d.mts} +2 -2
- package/dist/{spa-router.d-Bjgl-Osi.d.ts → spa-router.d-Cw5i_15e.d.ts} +2 -2
- package/dist/{ssg.d-DDca17Lc.d.ts → ssg.d-Bifiq0EL.d.ts} +2 -2
- package/dist/{ssg.d-RnlHOqUL.d.mts → ssg.d-CCE9aob5.d.mts} +2 -2
- package/dist/{store-core.d-BaOUOPf7.d.ts → store-core.d-5tVn5vi1.d.ts} +3 -3
- package/dist/{store-core.d-BZjuC6Zc.d.mts → store-core.d-BN2MxSG9.d.mts} +3 -3
- package/dist/testing.d.mts +2 -1
- package/dist/testing.d.ts +2 -1
- package/dist/{utils.d-D8TWmpWo.d.ts → utils.d-BUjpSNIO.d.ts} +1 -1
- package/dist/{utils.d-tdzw0_zQ.d.mts → utils.d-wGPLeVbq.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +23 -22
- package/dist/vite.d.mts +12 -6
- package/dist/vite.d.ts +12 -6
- package/dist/vite.mjs +22 -21
- package/package.json +13 -3
- package/dist/analyzer-LV23T6QN.cjs +0 -17
- package/dist/chunk-4QENVMG7.mjs +0 -34
- package/dist/chunk-AUFEM3FB.mjs +0 -229
- package/dist/chunk-S7WZUK3B.cjs +0 -229
- package/dist/{chunk-NEKO3HM2.cjs → chunk-4B6YJ5DS.cjs} +2 -2
- package/dist/{chunk-CA2HBLXP.mjs → chunk-4EEAPBNV.mjs} +3 -3
|
@@ -7,7 +7,7 @@ var _chunkIBEHVSU4cjs = require('../chunk-IBEHVSU4.cjs');
|
|
|
7
7
|
var _chunkOWOUTKIJcjs = require('../chunk-OWOUTKIJ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkCVZY4TLWcjs = require('../chunk-CVZY4TLW.cjs');
|
|
11
11
|
require('../chunk-UZM3PDKK.cjs');
|
|
12
12
|
|
|
13
13
|
// src/client/runtime-error-overlay.ts
|
|
@@ -295,7 +295,7 @@ var DefaultFarmRuntimeErrorOverlay = class {
|
|
|
295
295
|
const report = createFarmRuntimeErrorDebugReport(
|
|
296
296
|
this.current,
|
|
297
297
|
this.options.window,
|
|
298
|
-
this.options.farmVersion ||
|
|
298
|
+
this.options.farmVersion || _chunkCVZY4TLWcjs.FARM_VERSION
|
|
299
299
|
);
|
|
300
300
|
const label = this.getElement("[data-farm-runtime-error-copy-label]");
|
|
301
301
|
const status = this.getElement("[data-farm-runtime-error-copy-status]");
|
|
@@ -466,7 +466,7 @@ var DefaultFarmRuntimeErrorOverlay = class {
|
|
|
466
466
|
this.document
|
|
467
467
|
);
|
|
468
468
|
this.getElement("[data-farm-runtime-error-location]").textContent = `${record.context.location.pathname}${record.context.location.search}` || "/";
|
|
469
|
-
this.getElement("[data-farm-runtime-error-meta]").textContent = `Farm.js v${this.options.farmVersion ||
|
|
469
|
+
this.getElement("[data-farm-runtime-error-meta]").textContent = `Farm.js v${this.options.farmVersion || _chunkCVZY4TLWcjs.FARM_VERSION} \xB7 development \xB7 browser`;
|
|
470
470
|
this.renderIssueLink(record);
|
|
471
471
|
this.renderOccurrences(record.occurrences);
|
|
472
472
|
this.renderSourceFrame(record.sourceFrame);
|
|
@@ -478,7 +478,7 @@ var DefaultFarmRuntimeErrorOverlay = class {
|
|
|
478
478
|
badge.textContent = occurrences < 2 ? "" : `Repeated \xD7${occurrences}`;
|
|
479
479
|
}
|
|
480
480
|
renderIssueLink(record) {
|
|
481
|
-
this.getElement("[data-farm-runtime-error-issue]").href = createGithubIssueUrl(record, this.options.window, this.options.farmVersion ||
|
|
481
|
+
this.getElement("[data-farm-runtime-error-issue]").href = createGithubIssueUrl(record, this.options.window, this.options.farmVersion || _chunkCVZY4TLWcjs.FARM_VERSION);
|
|
482
482
|
}
|
|
483
483
|
renderSourceFrame(sourceFrame) {
|
|
484
484
|
const container = this.getElement("[data-farm-runtime-error-source]");
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
export { r as restorePagePosition, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath } from '../base-path.d-m7wvRMnG.mjs';
|
|
2
2
|
export { i as installChunkErrorRecovery } from '../chunk-recovery.d-lnQFzcQP.mjs';
|
|
3
|
-
|
|
3
|
+
export { h as holdFarmIslandInteractions, r as replayFarmQueuedInteraction, s as scheduleFarmIslandHydration, w as watchFarmIslandTriggers } from '../island-runtime.d-BBS_YUSX.mjs';
|
|
4
4
|
import { a as FarmClientNavigationSession, b as FarmClientPlugin } from '../lifecycle.d-OtGWAvJT.mjs';
|
|
5
5
|
export { c as createClientPluginManager } from '../lifecycle.d-OtGWAvJT.mjs';
|
|
6
|
-
export { bD as createFarmSearchParams, bE as searchParamsToObject } from '../client-plugins.d-
|
|
7
|
-
import { b as FarmViewTransitionMode } from '../spa-router.d-
|
|
8
|
-
export { g as getHashTargetElement, i as isFarmBlockedNavigationURL, d as isFarmExternalNavigationURL } from '../spa-router.d-
|
|
6
|
+
export { bD as createFarmSearchParams, bE as searchParamsToObject } from '../client-plugins.d-BwKwuO_0.mjs';
|
|
7
|
+
import { b as FarmViewTransitionMode } from '../spa-router.d-BD-6WX1R.mjs';
|
|
8
|
+
export { g as getHashTargetElement, i as isFarmBlockedNavigationURL, d as isFarmExternalNavigationURL } from '../spa-router.d-BD-6WX1R.mjs';
|
|
9
9
|
import '../types.d-euATAbE4.mjs';
|
|
10
10
|
export { g as getFarmIslandValueHeaders, k as keepFarmIslandValues } from '../island-value-protocol.d-fEoc1m8e.mjs';
|
|
11
11
|
export { applyFarmCacheInvalidations } from '../cache.mjs';
|
|
12
|
-
export { r as runFarmNavigationDelegates } from '../navigation-delegate.d-
|
|
12
|
+
export { r as runFarmNavigationDelegates } from '../navigation-delegate.d-BBTzhJLj.mjs';
|
|
13
13
|
import 'react';
|
|
14
|
+
import '../island.d-CfGru1MO.mjs';
|
|
14
15
|
import '../route.d-ShmtqqVQ.mjs';
|
|
15
16
|
import '../endpoint.d-BXbBpKoh.mjs';
|
|
16
17
|
import '../renderer.mjs';
|
|
@@ -45,42 +46,7 @@ import '../image-config.d-ByhQ0TT7.mjs';
|
|
|
45
46
|
import '../config.d-BKIhJtmr.mjs';
|
|
46
47
|
import '../types.d-DQnyD3VD.mjs';
|
|
47
48
|
import '../font.mjs';
|
|
48
|
-
import '../render-plan.d-
|
|
49
|
-
|
|
50
|
-
interface ScheduleFarmIslandHydrationOptions<T> {
|
|
51
|
-
container: Element;
|
|
52
|
-
strategy?: FarmIslandStrategy | null;
|
|
53
|
-
signal?: AbortSignal;
|
|
54
|
-
hydrate: () => T | Promise<T>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Reproduce one entry of the pre-hydration queue as the kind of interaction it
|
|
58
|
-
* was. Every path that drains the queue has to use this: a held submit
|
|
59
|
-
* replayed as a click does nothing, because click() on a form is a no-op.
|
|
60
|
-
*/
|
|
61
|
-
declare function replayFarmQueuedInteraction(target: Element, kind: unknown): void;
|
|
62
|
-
/**
|
|
63
|
-
* Holds clicks and submits on islands that have not hydrated in the pre-hydration queue, as the
|
|
64
|
-
* boot script does, until the returned function runs. Islands mode's entry holds them while islx
|
|
65
|
-
* loads (RFC 0010): the boot stops holding once the entry runs, and each island's scheduler starts
|
|
66
|
-
* it and replays them when it reaches it. `island` is the islands' element name.
|
|
67
|
-
*/
|
|
68
|
-
declare function holdFarmIslandInteractions(island: string): () => void;
|
|
69
|
-
/**
|
|
70
|
-
* Calls `due` once an island under `scope` reaches its trigger, by the rules the boot script and
|
|
71
|
-
* the scheduler follow, without holding or replaying anything. Islands mode's entry loads islx then
|
|
72
|
-
* (RFC 0010), and islx's schedulers take over: a held interaction is in the queue they read, and a
|
|
73
|
-
* trigger that fired fires again for them. A form counts as the boot counts it, as islx is what
|
|
74
|
-
* posts it without a page load. Returns null when an island is due already (it hydrates at load,
|
|
75
|
-
* holds an interaction, or is not observable) or a Suspense boundary waits for the browser, else a
|
|
76
|
-
* function that stops watching.
|
|
77
|
-
*/
|
|
78
|
-
declare function watchFarmIslandTriggers(scope: Document | Element, island: string, due: () => void): (() => void) | null;
|
|
79
|
-
/**
|
|
80
|
-
* Defer importing and hydrating a server-rendered client boundary until its
|
|
81
|
-
* configured trigger. The returned promise resolves with the hydration result.
|
|
82
|
-
*/
|
|
83
|
-
declare function scheduleFarmIslandHydration<T>({ container, strategy, signal, hydrate, }: ScheduleFarmIslandHydrationOptions<T>): Promise<T | undefined>;
|
|
49
|
+
import '../render-plan.d-bnWxS12w.mjs';
|
|
84
50
|
|
|
85
51
|
/**
|
|
86
52
|
* What the production client entry needs from `FarmClientPluginManager` in an app with no client
|
|
@@ -173,4 +139,4 @@ declare function createFarmRouteAnnouncer(target?: Window | undefined): () => vo
|
|
|
173
139
|
*/
|
|
174
140
|
declare const farmMobileShellClient: FarmClientPlugin<(() => void) | undefined>;
|
|
175
141
|
|
|
176
|
-
export { createClientCancellation, createFarmMetadataHeadReconciler, createFarmRouteAnnouncer, createPluginlessClientRuntime, farmMobileShellClient,
|
|
142
|
+
export { createClientCancellation, createFarmMetadataHeadReconciler, createFarmRouteAnnouncer, createPluginlessClientRuntime, farmMobileShellClient, installFarmLinkPrefetch, readFarmLinkNavigateOptions, reconcileFarmDocumentHead, rememberFarmLinkLocale };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
export { r as restorePagePosition, s as setFarmBasePath, a as setFarmTrailingSlashPreference, b as stripFarmBasePath } from '../base-path.d-m7wvRMnG.js';
|
|
2
2
|
export { i as installChunkErrorRecovery } from '../chunk-recovery.d-lnQFzcQP.js';
|
|
3
|
-
|
|
3
|
+
export { h as holdFarmIslandInteractions, r as replayFarmQueuedInteraction, s as scheduleFarmIslandHydration, w as watchFarmIslandTriggers } from '../island-runtime.d-BA7EPo1v.js';
|
|
4
4
|
import { a as FarmClientNavigationSession, b as FarmClientPlugin } from '../lifecycle.d-OtGWAvJT.js';
|
|
5
5
|
export { c as createClientPluginManager } from '../lifecycle.d-OtGWAvJT.js';
|
|
6
|
-
export { bD as createFarmSearchParams, bE as searchParamsToObject } from '../client-plugins.d-
|
|
7
|
-
import { b as FarmViewTransitionMode } from '../spa-router.d-
|
|
8
|
-
export { g as getHashTargetElement, i as isFarmBlockedNavigationURL, d as isFarmExternalNavigationURL } from '../spa-router.d-
|
|
6
|
+
export { bD as createFarmSearchParams, bE as searchParamsToObject } from '../client-plugins.d-BVXjyIkY.js';
|
|
7
|
+
import { b as FarmViewTransitionMode } from '../spa-router.d-Cw5i_15e.js';
|
|
8
|
+
export { g as getHashTargetElement, i as isFarmBlockedNavigationURL, d as isFarmExternalNavigationURL } from '../spa-router.d-Cw5i_15e.js';
|
|
9
9
|
import '../types.d-euATAbE4.js';
|
|
10
10
|
export { g as getFarmIslandValueHeaders, k as keepFarmIslandValues } from '../island-value-protocol.d-fEoc1m8e.js';
|
|
11
11
|
export { applyFarmCacheInvalidations } from '../cache.js';
|
|
12
|
-
export { r as runFarmNavigationDelegates } from '../navigation-delegate.d-
|
|
12
|
+
export { r as runFarmNavigationDelegates } from '../navigation-delegate.d-BZsYEAet.js';
|
|
13
13
|
import 'react';
|
|
14
|
+
import '../island.d-CfGru1MO.js';
|
|
14
15
|
import '../route.d-Cd4Fi6BA.js';
|
|
15
16
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
16
17
|
import '../renderer.js';
|
|
@@ -45,42 +46,7 @@ import '../image-config.d-ByhQ0TT7.js';
|
|
|
45
46
|
import '../config.d-BKIhJtmr.js';
|
|
46
47
|
import '../types.d-DQnyD3VD.js';
|
|
47
48
|
import '../font.js';
|
|
48
|
-
import '../render-plan.d-
|
|
49
|
-
|
|
50
|
-
interface ScheduleFarmIslandHydrationOptions<T> {
|
|
51
|
-
container: Element;
|
|
52
|
-
strategy?: FarmIslandStrategy | null;
|
|
53
|
-
signal?: AbortSignal;
|
|
54
|
-
hydrate: () => T | Promise<T>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Reproduce one entry of the pre-hydration queue as the kind of interaction it
|
|
58
|
-
* was. Every path that drains the queue has to use this: a held submit
|
|
59
|
-
* replayed as a click does nothing, because click() on a form is a no-op.
|
|
60
|
-
*/
|
|
61
|
-
declare function replayFarmQueuedInteraction(target: Element, kind: unknown): void;
|
|
62
|
-
/**
|
|
63
|
-
* Holds clicks and submits on islands that have not hydrated in the pre-hydration queue, as the
|
|
64
|
-
* boot script does, until the returned function runs. Islands mode's entry holds them while islx
|
|
65
|
-
* loads (RFC 0010): the boot stops holding once the entry runs, and each island's scheduler starts
|
|
66
|
-
* it and replays them when it reaches it. `island` is the islands' element name.
|
|
67
|
-
*/
|
|
68
|
-
declare function holdFarmIslandInteractions(island: string): () => void;
|
|
69
|
-
/**
|
|
70
|
-
* Calls `due` once an island under `scope` reaches its trigger, by the rules the boot script and
|
|
71
|
-
* the scheduler follow, without holding or replaying anything. Islands mode's entry loads islx then
|
|
72
|
-
* (RFC 0010), and islx's schedulers take over: a held interaction is in the queue they read, and a
|
|
73
|
-
* trigger that fired fires again for them. A form counts as the boot counts it, as islx is what
|
|
74
|
-
* posts it without a page load. Returns null when an island is due already (it hydrates at load,
|
|
75
|
-
* holds an interaction, or is not observable) or a Suspense boundary waits for the browser, else a
|
|
76
|
-
* function that stops watching.
|
|
77
|
-
*/
|
|
78
|
-
declare function watchFarmIslandTriggers(scope: Document | Element, island: string, due: () => void): (() => void) | null;
|
|
79
|
-
/**
|
|
80
|
-
* Defer importing and hydrating a server-rendered client boundary until its
|
|
81
|
-
* configured trigger. The returned promise resolves with the hydration result.
|
|
82
|
-
*/
|
|
83
|
-
declare function scheduleFarmIslandHydration<T>({ container, strategy, signal, hydrate, }: ScheduleFarmIslandHydrationOptions<T>): Promise<T | undefined>;
|
|
49
|
+
import '../render-plan.d-AaJsYPX-.js';
|
|
84
50
|
|
|
85
51
|
/**
|
|
86
52
|
* What the production client entry needs from `FarmClientPluginManager` in an app with no client
|
|
@@ -173,4 +139,4 @@ declare function createFarmRouteAnnouncer(target?: Window | undefined): () => vo
|
|
|
173
139
|
*/
|
|
174
140
|
declare const farmMobileShellClient: FarmClientPlugin<(() => void) | undefined>;
|
|
175
141
|
|
|
176
|
-
export { createClientCancellation, createFarmMetadataHeadReconciler, createFarmRouteAnnouncer, createPluginlessClientRuntime, farmMobileShellClient,
|
|
142
|
+
export { createClientCancellation, createFarmMetadataHeadReconciler, createFarmRouteAnnouncer, createPluginlessClientRuntime, farmMobileShellClient, installFarmLinkPrefetch, readFarmLinkNavigateOptions, reconcileFarmDocumentHead, rememberFarmLinkLocale };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin } from '../client-plugins.d-BwKwuO_0.mjs';
|
|
2
2
|
import '../lifecycle.d-OtGWAvJT.mjs';
|
|
3
3
|
import '../route.d-ShmtqqVQ.mjs';
|
|
4
4
|
import '../endpoint.d-BXbBpKoh.mjs';
|
|
5
5
|
import '../cache.mjs';
|
|
6
6
|
import '../renderer.mjs';
|
|
7
7
|
import '../deployment.mjs';
|
|
8
|
+
import '../island.d-CfGru1MO.mjs';
|
|
8
9
|
import 'http';
|
|
9
10
|
import '../routing.d-D67HQmnv.mjs';
|
|
10
11
|
import '../types.d-euATAbE4.mjs';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin } from '../client-plugins.d-
|
|
1
|
+
import { E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin } from '../client-plugins.d-BVXjyIkY.js';
|
|
2
2
|
import '../lifecycle.d-OtGWAvJT.js';
|
|
3
3
|
import '../route.d-Cd4Fi6BA.js';
|
|
4
4
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
5
5
|
import '../cache.js';
|
|
6
6
|
import '../renderer.js';
|
|
7
7
|
import '../deployment.js';
|
|
8
|
+
import '../island.d-CfGru1MO.js';
|
|
8
9
|
import 'http';
|
|
9
10
|
import '../routing.d-BhPgtN_S.js';
|
|
10
11
|
import '../types.d-euATAbE4.js';
|
|
@@ -5,7 +5,7 @@ var _chunkMF3IA2AWcjs = require('../chunk-MF3IA2AW.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBOEDYXAXcjs = require('../chunk-BOEDYXAX.cjs');
|
|
9
9
|
require('../chunk-OZC2JPW6.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -17,17 +17,17 @@ require('../chunk-OZC2JPW6.cjs');
|
|
|
17
17
|
|
|
18
18
|
var _chunkAQLHD6HZcjs = require('../chunk-AQLHD6HZ.cjs');
|
|
19
19
|
require('../chunk-YKHRCY4T.cjs');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-L2GUEYHR.cjs');
|
|
21
21
|
require('../chunk-IIHZ2BEE.cjs');
|
|
22
22
|
require('../chunk-LSHX2H5G.cjs');
|
|
23
23
|
require('../chunk-STF6VDYQ.cjs');
|
|
24
24
|
require('../chunk-EACD6ND7.cjs');
|
|
25
|
-
require('../chunk-6JHZPB52.cjs');
|
|
26
25
|
require('../chunk-BTVDYS4B.cjs');
|
|
27
26
|
require('../chunk-OLKYHTLN.cjs');
|
|
28
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-6JHZPB52.cjs');
|
|
28
|
+
require('../chunk-MNUYXZV7.cjs');
|
|
29
29
|
require('../chunk-52Q4OB4A.cjs');
|
|
30
|
-
require('../chunk-
|
|
30
|
+
require('../chunk-3OKSEJ33.cjs');
|
|
31
31
|
require('../chunk-MCSRMEQV.cjs');
|
|
32
32
|
require('../chunk-HQKCSJEH.cjs');
|
|
33
33
|
require('../chunk-XRFGOYXG.cjs');
|
|
@@ -81,7 +81,7 @@ require('../chunk-UZM3PDKK.cjs');
|
|
|
81
81
|
|
|
82
82
|
// src/config-runtime.ts
|
|
83
83
|
function loadFarmMobileRuntime() {
|
|
84
|
-
return import("../runtime-
|
|
84
|
+
return import("../runtime-SRMQ46SK.cjs");
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
|
|
@@ -97,4 +97,4 @@ function loadFarmMobileRuntime() {
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
exports.createFarmDesktopContext = _chunkAQLHD6HZcjs.createFarmDesktopContext; exports.getFarmDesktopOutputDirs = _chunkAQLHD6HZcjs.getFarmDesktopOutputDirs; exports.installFarmDesktopSetup = _chunkAQLHD6HZcjs.installFarmDesktopSetup; exports.loadConfig =
|
|
100
|
+
exports.createFarmDesktopContext = _chunkAQLHD6HZcjs.createFarmDesktopContext; exports.getFarmDesktopOutputDirs = _chunkAQLHD6HZcjs.getFarmDesktopOutputDirs; exports.installFarmDesktopSetup = _chunkAQLHD6HZcjs.installFarmDesktopSetup; exports.loadConfig = _chunkBOEDYXAXcjs.loadConfig; exports.loadFarmMobileRuntime = loadFarmMobileRuntime; exports.loadFarmProductionVite = _chunkMF3IA2AWcjs.loadFarmProductionVite; exports.logger = _chunk7U4XF76Rcjs.logger; exports.resolveConfig = _chunkBOEDYXAXcjs.resolveConfig; exports.resolveDeployConfig = _chunkBOEDYXAXcjs.resolveDeployConfig; exports.resolveFarmDesktopBlock = _chunkAQLHD6HZcjs.resolveFarmDesktopBlock; exports.resolveFarmDesktopConfig = _chunkAQLHD6HZcjs.resolveFarmDesktopConfig; exports.setFarmDesktopDevSession = _chunkAQLHD6HZcjs.setFarmDesktopDevSession; exports.validateFarmDesktopConfig = _chunkAQLHD6HZcjs.validateFarmDesktopConfig;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-
|
|
2
|
-
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-
|
|
3
|
-
import { P as PlatformRouteFiles } from '../generate-route-types.d-
|
|
1
|
+
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-BwKwuO_0.mjs';
|
|
2
|
+
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-BwKwuO_0.mjs';
|
|
3
|
+
import { P as PlatformRouteFiles } from '../generate-route-types.d-BFOMM8Ef.mjs';
|
|
4
4
|
import { F as FarmMobileOS, i as FarmMobileNativeEngine, g as FarmMobileNativeAuto, o as FarmMobileRouteScreen, p as FarmMobileScreen, e as FarmMobileContext, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules, x as FarmMobileBlockCache, c as FarmMobileBudgets, d as FarmMobileConfigInput, y as FarmMobileContextOptions, h as FarmMobileNativeConfig, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, z as FarmMobileResolveOptions, n as FarmMobileRouteConfig, q as FarmMobileTab, r as FarmMobileUserConfig, A as ResolvedFarmMobileNativeConfig, B as createFarmMobileContext, C as resolveFarmMobileBlock, D as resolveFarmMobileConfig, E as resolveFarmMobileServer, G as validateFarmMobileConfig, H as validateFarmMobilePageConfig } from '../config.d-BKIhJtmr.mjs';
|
|
5
|
-
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-
|
|
5
|
+
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-BWvpUoYu.mjs';
|
|
6
6
|
import { F as FARM_SHELL_PARAM_SEGMENT, a as FARM_SHELL_RENDER_HEADER, b as FARM_SHELL_ROUTE_HEADER, c as createFarmMobileShellRenderPath } from '../shell-render.d-CG6bPiiA.mjs';
|
|
7
7
|
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite.d-BQFAlG7n.mjs';
|
|
8
|
-
export { l as logger } from '../utils.d-
|
|
8
|
+
export { l as logger } from '../utils.d-wGPLeVbq.mjs';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.mjs';
|
|
10
10
|
import '../route.d-ShmtqqVQ.mjs';
|
|
11
11
|
import '../endpoint.d-BXbBpKoh.mjs';
|
|
12
12
|
import '../cache.mjs';
|
|
13
13
|
import '../renderer.mjs';
|
|
14
14
|
import '../deployment.mjs';
|
|
15
|
+
import '../island.d-CfGru1MO.mjs';
|
|
15
16
|
import 'http';
|
|
16
17
|
import '../routing.d-D67HQmnv.mjs';
|
|
17
18
|
import '../types.d-euATAbE4.mjs';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-
|
|
2
|
-
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-
|
|
3
|
-
import { P as PlatformRouteFiles } from '../generate-route-types.d-
|
|
1
|
+
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-BVXjyIkY.js';
|
|
2
|
+
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-BVXjyIkY.js';
|
|
3
|
+
import { P as PlatformRouteFiles } from '../generate-route-types.d-C2m8myHb.js';
|
|
4
4
|
import { F as FarmMobileOS, i as FarmMobileNativeEngine, g as FarmMobileNativeAuto, o as FarmMobileRouteScreen, p as FarmMobileScreen, e as FarmMobileContext, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules, x as FarmMobileBlockCache, c as FarmMobileBudgets, d as FarmMobileConfigInput, y as FarmMobileContextOptions, h as FarmMobileNativeConfig, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, z as FarmMobileResolveOptions, n as FarmMobileRouteConfig, q as FarmMobileTab, r as FarmMobileUserConfig, A as ResolvedFarmMobileNativeConfig, B as createFarmMobileContext, C as resolveFarmMobileBlock, D as resolveFarmMobileConfig, E as resolveFarmMobileServer, G as validateFarmMobileConfig, H as validateFarmMobilePageConfig } from '../config.d-BKIhJtmr.js';
|
|
5
|
-
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-
|
|
5
|
+
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-D7RWvfqL.js';
|
|
6
6
|
import { F as FARM_SHELL_PARAM_SEGMENT, a as FARM_SHELL_RENDER_HEADER, b as FARM_SHELL_ROUTE_HEADER, c as createFarmMobileShellRenderPath } from '../shell-render.d-CG6bPiiA.js';
|
|
7
7
|
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite.d-BQFAlG7n.js';
|
|
8
|
-
export { l as logger } from '../utils.d-
|
|
8
|
+
export { l as logger } from '../utils.d-BUjpSNIO.js';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.js';
|
|
10
10
|
import '../route.d-Cd4Fi6BA.js';
|
|
11
11
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
12
12
|
import '../cache.js';
|
|
13
13
|
import '../renderer.js';
|
|
14
14
|
import '../deployment.js';
|
|
15
|
+
import '../island.d-CfGru1MO.js';
|
|
15
16
|
import 'http';
|
|
16
17
|
import '../routing.d-BhPgtN_S.js';
|
|
17
18
|
import '../types.d-euATAbE4.js';
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
resolveConfig,
|
|
7
7
|
resolveDeployConfig
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EDBIBO67.mjs";
|
|
9
9
|
import "../chunk-VISQDC6W.mjs";
|
|
10
10
|
import {
|
|
11
11
|
createFarmDesktopContext,
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
validateFarmDesktopConfig
|
|
18
18
|
} from "../chunk-SMUW7UST.mjs";
|
|
19
19
|
import "../chunk-UB7RVEMX.mjs";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-5V6HSJFG.mjs";
|
|
21
21
|
import "../chunk-YVVY276M.mjs";
|
|
22
22
|
import "../chunk-XR2ZIBQK.mjs";
|
|
23
23
|
import "../chunk-CU5SYTJG.mjs";
|
|
24
24
|
import "../chunk-NQ3Y6E2T.mjs";
|
|
25
|
-
import "../chunk-22W4FNTG.mjs";
|
|
26
25
|
import "../chunk-SQ5O7I3L.mjs";
|
|
27
26
|
import "../chunk-XGL42MQ7.mjs";
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-22W4FNTG.mjs";
|
|
28
|
+
import "../chunk-RJBUI5AN.mjs";
|
|
29
29
|
import "../chunk-Z3RM3VA2.mjs";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-BCCCPFHQ.mjs";
|
|
31
31
|
import "../chunk-AOIUYHPH.mjs";
|
|
32
32
|
import "../chunk-7VJXYB6S.mjs";
|
|
33
33
|
import "../chunk-NLATR3T3.mjs";
|
|
@@ -81,7 +81,7 @@ import "../chunk-TIZJYHB7.mjs";
|
|
|
81
81
|
|
|
82
82
|
// src/config-runtime.ts
|
|
83
83
|
function loadFarmMobileRuntime() {
|
|
84
|
-
return import("../runtime-
|
|
84
|
+
return import("../runtime-F5I3WY3B.mjs");
|
|
85
85
|
}
|
|
86
86
|
export {
|
|
87
87
|
createFarmDesktopContext,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkZ37PDUJRcjs = require('../chunk-Z37PDUJR.cjs');
|
|
5
|
+
require('../chunk-22BTYPIX.cjs');
|
|
6
6
|
require('../chunk-W53Z4WDI.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-57EEWWUS.cjs');
|
|
8
8
|
require('../chunk-BTVDYS4B.cjs');
|
|
9
9
|
require('../chunk-OLKYHTLN.cjs');
|
|
10
10
|
require('../chunk-2NOHVIJ3.cjs');
|
|
@@ -16,7 +16,7 @@ require('../chunk-2OF5RPVU.cjs');
|
|
|
16
16
|
require('../chunk-7Q7UB4TL.cjs');
|
|
17
17
|
require('../chunk-JYT7AN37.cjs');
|
|
18
18
|
require('../chunk-PLJMEUAN.cjs');
|
|
19
|
-
require('../chunk-
|
|
19
|
+
require('../chunk-CVZY4TLW.cjs');
|
|
20
20
|
require('../chunk-L6E5BSNU.cjs');
|
|
21
21
|
require('../chunk-PMJSG4JS.cjs');
|
|
22
22
|
require('../chunk-NLBHLPEO.cjs');
|
|
@@ -30,8 +30,8 @@ require('../chunk-3BIASUGR.cjs');
|
|
|
30
30
|
require('../chunk-UZM3PDKK.cjs');
|
|
31
31
|
|
|
32
32
|
// src/infra-analytics-runtime.ts
|
|
33
|
-
var createFarmInfraAnalyticsPlugin2 = (options) =>
|
|
34
|
-
var createFarmInfraAnalyticsRecorder2 = (options) =>
|
|
33
|
+
var createFarmInfraAnalyticsPlugin2 = (options) => _chunkZ37PDUJRcjs.createFarmInfraAnalyticsPlugin.call(void 0, void 0, void 0, options);
|
|
34
|
+
var createFarmInfraAnalyticsRecorder2 = (options) => _chunkZ37PDUJRcjs.createFarmInfraAnalyticsRecorder.call(void 0, void 0, void 0, options);
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmInfraAnalyticsPlugin,
|
|
3
3
|
createFarmInfraAnalyticsRecorder
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-M5XU22PQ.mjs";
|
|
5
|
+
import "../chunk-3WM7VBGW.mjs";
|
|
6
6
|
import "../chunk-HR4N2K4V.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-IRJSZAJB.mjs";
|
|
8
8
|
import "../chunk-SQ5O7I3L.mjs";
|
|
9
9
|
import "../chunk-XGL42MQ7.mjs";
|
|
10
10
|
import "../chunk-YU2MNIIY.mjs";
|
|
@@ -16,7 +16,7 @@ import "../chunk-2I6PUKWJ.mjs";
|
|
|
16
16
|
import "../chunk-YT2ZMLXK.mjs";
|
|
17
17
|
import "../chunk-D2LCAV6L.mjs";
|
|
18
18
|
import "../chunk-EILUVBKS.mjs";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-I5CVJ24H.mjs";
|
|
20
20
|
import "../chunk-GLVDXRG2.mjs";
|
|
21
21
|
import "../chunk-W6QLRQ3V.mjs";
|
|
22
22
|
import "../chunk-IWJONXPF.mjs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkH7REG7OXcjs = require('../chunk-H7REG7OX.cjs');
|
|
6
|
+
require('../chunk-IZYFP7IN.cjs');
|
|
7
|
+
require('../chunk-J6RFB324.cjs');
|
|
8
|
+
require('../chunk-I2BYNELA.cjs');
|
|
9
|
+
require('../chunk-MPU5DOXX.cjs');
|
|
10
|
+
require('../chunk-CKPTIEDX.cjs');
|
|
11
|
+
require('../chunk-DXUXQP2T.cjs');
|
|
12
|
+
require('../chunk-UZCMMJJT.cjs');
|
|
13
|
+
require('../chunk-UZM3PDKK.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.completeFarmIslandsAction = _chunkH7REG7OXcjs.completeFarmIslandsAction; exports.createFarmServerFnTransportError = _chunkH7REG7OXcjs.createFarmServerFnTransportError; exports.farmIslandsActionInterceptor = _chunkH7REG7OXcjs.farmIslandsActionInterceptor;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActionInterceptor } from '@farm.js/islx/client';
|
|
2
|
+
import { F as FarmServerQueryActionInvocation } from '../server-query-call.d-rVM_lsYk.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal The browser end of islands mode's server actions (RFC 0003): what the RSC engine's call
|
|
6
|
+
* transport does around a call, on islx's calls. A server query's result fills the cache under
|
|
7
|
+
* its key, the keys an action invalidated are dropped, and a declared failure is thrown as the
|
|
8
|
+
* `ServerFnFailure` it was on the server. Islands mode imports it on the first call, or when the
|
|
9
|
+
* page holds a reference (RFC 0013); see `islands-action-call.ts`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** The error a failed server function call throws in the browser, as the RSC engine builds it. */
|
|
13
|
+
declare function createFarmServerFnTransportError(value: unknown): Error;
|
|
14
|
+
/** The value a call made by `invocation` returns, from the islx `response` it got. */
|
|
15
|
+
declare function completeFarmIslandsAction(invocation: FarmServerQueryActionInvocation, response: Promise<unknown>): Promise<unknown>;
|
|
16
|
+
declare const farmIslandsActionInterceptor: ActionInterceptor;
|
|
17
|
+
|
|
18
|
+
export { completeFarmIslandsAction, createFarmServerFnTransportError, farmIslandsActionInterceptor };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActionInterceptor } from '@farm.js/islx/client';
|
|
2
|
+
import { F as FarmServerQueryActionInvocation } from '../server-query-call.d-rVM_lsYk.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal The browser end of islands mode's server actions (RFC 0003): what the RSC engine's call
|
|
6
|
+
* transport does around a call, on islx's calls. A server query's result fills the cache under
|
|
7
|
+
* its key, the keys an action invalidated are dropped, and a declared failure is thrown as the
|
|
8
|
+
* `ServerFnFailure` it was on the server. Islands mode imports it on the first call, or when the
|
|
9
|
+
* page holds a reference (RFC 0013); see `islands-action-call.ts`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** The error a failed server function call throws in the browser, as the RSC engine builds it. */
|
|
13
|
+
declare function createFarmServerFnTransportError(value: unknown): Error;
|
|
14
|
+
/** The value a call made by `invocation` returns, from the islx `response` it got. */
|
|
15
|
+
declare function completeFarmIslandsAction(invocation: FarmServerQueryActionInvocation, response: Promise<unknown>): Promise<unknown>;
|
|
16
|
+
declare const farmIslandsActionInterceptor: ActionInterceptor;
|
|
17
|
+
|
|
18
|
+
export { completeFarmIslandsAction, createFarmServerFnTransportError, farmIslandsActionInterceptor };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
completeFarmIslandsAction,
|
|
3
|
+
createFarmServerFnTransportError,
|
|
4
|
+
farmIslandsActionInterceptor
|
|
5
|
+
} from "../chunk-RB5IGN3N.mjs";
|
|
6
|
+
import "../chunk-42IBGQTN.mjs";
|
|
7
|
+
import "../chunk-BUQR7KKO.mjs";
|
|
8
|
+
import "../chunk-C64XOPBZ.mjs";
|
|
9
|
+
import "../chunk-N7XWC6BN.mjs";
|
|
10
|
+
import "../chunk-X3EFRVXY.mjs";
|
|
11
|
+
import "../chunk-GLOICKDO.mjs";
|
|
12
|
+
import "../chunk-AZQXXXDX.mjs";
|
|
13
|
+
import "../chunk-TIZJYHB7.mjs";
|
|
14
|
+
export {
|
|
15
|
+
completeFarmIslandsAction,
|
|
16
|
+
createFarmServerFnTransportError,
|
|
17
|
+
farmIslandsActionInterceptor
|
|
18
|
+
};
|
|
@@ -1,16 +1,11 @@
|
|
|
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
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-I2BYNELA.cjs');
|
|
6
|
-
require('../chunk-MPU5DOXX.cjs');
|
|
7
|
-
require('../chunk-CKPTIEDX.cjs');
|
|
3
|
+
var _chunkFZ7OUN5Mcjs = require('../chunk-FZ7OUN5M.cjs');
|
|
4
|
+
require('../chunk-J6RFB324.cjs');
|
|
8
5
|
|
|
9
6
|
|
|
10
7
|
|
|
11
8
|
var _chunkC5QHZ626cjs = require('../chunk-C5QHZ626.cjs');
|
|
12
|
-
require('../chunk-DXUXQP2T.cjs');
|
|
13
|
-
require('../chunk-UZCMMJJT.cjs');
|
|
14
9
|
require('../chunk-UZM3PDKK.cjs');
|
|
15
10
|
|
|
16
11
|
// src/client/islands-runtime.ts
|
|
@@ -45,7 +40,7 @@ function createFarmIsolatedHydrationRuntime(options) {
|
|
|
45
40
|
report: options.report
|
|
46
41
|
});
|
|
47
42
|
const router = () => window.__FARM_SPA_ROUTER__;
|
|
48
|
-
_client.setActionInterceptor.call(void 0,
|
|
43
|
+
_client.setActionInterceptor.call(void 0, _chunkFZ7OUN5Mcjs.farmIslandsLazyActionInterceptor);
|
|
49
44
|
_client.setActionNavigator.call(void 0, {
|
|
50
45
|
refresh: () => _optionalChain([router, 'call', _ => _(), 'optionalAccess', _2 => _2.refresh, 'optionalCall', _3 => _3({ scroll: false })]),
|
|
51
46
|
navigate: (href) => {
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-C64XOPBZ.mjs";
|
|
6
|
-
import "../chunk-N7XWC6BN.mjs";
|
|
7
|
-
import "../chunk-X3EFRVXY.mjs";
|
|
2
|
+
farmIslandsLazyActionInterceptor
|
|
3
|
+
} from "../chunk-M6AJZ4XR.mjs";
|
|
4
|
+
import "../chunk-BUQR7KKO.mjs";
|
|
8
5
|
import {
|
|
9
6
|
FARM_ISLAND_ELEMENT,
|
|
10
7
|
getFarmIslandValuesServer
|
|
11
8
|
} from "../chunk-UDMBUTJD.mjs";
|
|
12
|
-
import "../chunk-GLOICKDO.mjs";
|
|
13
|
-
import "../chunk-AZQXXXDX.mjs";
|
|
14
9
|
import "../chunk-TIZJYHB7.mjs";
|
|
15
10
|
|
|
16
11
|
// src/client/islands-runtime.ts
|
|
@@ -45,7 +40,7 @@ function createFarmIsolatedHydrationRuntime(options) {
|
|
|
45
40
|
report: options.report
|
|
46
41
|
});
|
|
47
42
|
const router = () => window.__FARM_SPA_ROUTER__;
|
|
48
|
-
setActionInterceptor(
|
|
43
|
+
setActionInterceptor(farmIslandsLazyActionInterceptor);
|
|
49
44
|
setActionNavigator({
|
|
50
45
|
refresh: () => router()?.refresh?.({ scroll: false }),
|
|
51
46
|
navigate: (href) => {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkH7REG7OXcjs = require('../chunk-H7REG7OX.cjs');
|
|
4
|
+
require('../chunk-IZYFP7IN.cjs');
|
|
5
|
+
require('../chunk-J6RFB324.cjs');
|
|
5
6
|
require('../chunk-I2BYNELA.cjs');
|
|
6
7
|
require('../chunk-MPU5DOXX.cjs');
|
|
7
8
|
require('../chunk-CKPTIEDX.cjs');
|
|
@@ -19,7 +20,7 @@ var installed = false;
|
|
|
19
20
|
function installActions() {
|
|
20
21
|
if (installed) return;
|
|
21
22
|
installed = true;
|
|
22
|
-
_client.setActionInterceptor.call(void 0,
|
|
23
|
+
_client.setActionInterceptor.call(void 0, _chunkH7REG7OXcjs.farmIslandsActionInterceptor);
|
|
23
24
|
_client.setActionNavigator.call(void 0, {
|
|
24
25
|
navigate(href) {
|
|
25
26
|
const router = window.__FARM_SPA_ROUTER__;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
farmIslandsActionInterceptor
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-RB5IGN3N.mjs";
|
|
4
|
+
import "../chunk-42IBGQTN.mjs";
|
|
5
|
+
import "../chunk-BUQR7KKO.mjs";
|
|
5
6
|
import "../chunk-C64XOPBZ.mjs";
|
|
6
7
|
import "../chunk-N7XWC6BN.mjs";
|
|
7
8
|
import "../chunk-X3EFRVXY.mjs";
|