@riverbankcms/sdk 0.74.0 → 0.76.0

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.
Files changed (145) hide show
  1. package/README.md +2 -0
  2. package/dist/{PreviewEditorSidebar-5XL7M3OM.mjs → PreviewEditorSidebar-X2HWXFOL.mjs} +172 -89
  3. package/dist/{PreviewEditorUI-ZDFRDJID.mjs → PreviewEditorUI-AQXIXPOH.mjs} +3 -3
  4. package/dist/SdkPreviewModeRuntime-ZQNDCASH.mjs +8 -0
  5. package/dist/_dts/api/src/bookingOperations.d.ts +12 -0
  6. package/dist/_dts/api/src/cache-tags.d.ts +22 -0
  7. package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
  8. package/dist/_dts/api/src/endpoints.d.ts +24 -24
  9. package/dist/_dts/api/src/index.d.ts +1 -1
  10. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +13 -4
  11. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +4 -2
  12. package/dist/_dts/block-form/src/client/index.d.ts +1 -1
  13. package/dist/_dts/block-form/src/manifest/utils.d.ts +24 -0
  14. package/dist/_dts/blocks/src/client/booking-form.d.ts +2 -0
  15. package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
  16. package/dist/_dts/blocks/src/client/course-registration.d.ts +2 -0
  17. package/dist/_dts/blocks/src/client/events.d.ts +6 -0
  18. package/dist/_dts/blocks/src/client/form.d.ts +2 -0
  19. package/dist/_dts/blocks/src/client/header.d.ts +1 -0
  20. package/dist/_dts/blocks/src/client/location-map.d.ts +1 -0
  21. package/dist/_dts/blocks/src/client/newsletter-form.d.ts +2 -0
  22. package/dist/_dts/blocks/src/client/shop.d.ts +6 -0
  23. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
  24. package/dist/_dts/blocks/src/lib/video.d.ts +2 -0
  25. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +21 -1
  26. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -6
  27. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
  28. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -2
  29. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +3 -27
  30. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +163 -0
  31. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -5
  32. package/dist/_dts/blocks/src/system/runtime/nodes/events/index.d.ts +3 -0
  33. package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +1 -0
  34. package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +1 -0
  35. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +29 -0
  36. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +13 -0
  37. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +4 -0
  38. package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +4 -3
  39. package/dist/_dts/blocks/src/system/runtime/shared/utils/bookingRoute.d.ts +20 -0
  40. package/dist/_dts/blocks/src/system/runtime/shared/utils/index.d.ts +2 -1
  41. package/dist/_dts/blocks/src/system/types/link.d.ts +12 -0
  42. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +5 -0
  43. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -0
  44. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +3 -1
  45. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +3 -1
  46. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +5 -1
  47. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -0
  48. package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +2 -0
  49. package/dist/_dts/editor-blocks/src/index.d.ts +1 -1
  50. package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +12 -2
  51. package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +21 -3
  52. package/dist/_dts/sdk/src/components.d.ts +2 -2
  53. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
  54. package/dist/_dts/sdk/src/rendering/index.d.ts +2 -2
  55. package/dist/_dts/sdk/src/rendering/islands/deferredVideoEmbeds.d.ts +2 -0
  56. package/dist/_dts/sdk/src/rendering/overrideResolution.d.ts +6 -0
  57. package/dist/_dts/sdk/src/rendering/overrides.d.ts +21 -1
  58. package/dist/_dts/sdk/src/rendering/server.d.ts +4 -0
  59. package/dist/_dts/sdk/src/version.d.ts +1 -1
  60. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  61. package/dist/{chunk-2MIWNFJM.mjs → chunk-LYI7TEMH.mjs} +494 -171
  62. package/dist/{chunk-YY7K3QD2.mjs → chunk-Q4OLG66B.mjs} +9 -9
  63. package/dist/{chunk-CEQBBLMJ.mjs → chunk-TW2Y4RR5.mjs} +69 -14
  64. package/dist/{chunk-CBD47MTM.mjs → chunk-V5VORNEJ.mjs} +2 -2
  65. package/dist/{chunk-7RX72SK2.mjs → chunk-VX7B5VAC.mjs} +36 -25
  66. package/dist/{chunk-YRJKZEQ3.mjs → chunk-Z7JLNTJR.mjs} +1 -1
  67. package/dist/cli/index.mjs +3395 -3753
  68. package/dist/client/{accordion-ZZVXWV3N.mjs → accordion-2YHIBOZH.mjs} +1 -1
  69. package/dist/client/bookingForm-35IBDWAS.mjs +3012 -0
  70. package/dist/client/bookings.mjs +30 -21
  71. package/dist/client/{carousel-25WK2H7G.mjs → carousel-K6XG7NZQ.mjs} +3 -2
  72. package/dist/client/cart-HCFYUTTU.mjs +18 -0
  73. package/dist/client/checkout-J3U4XR7K.mjs +18 -0
  74. package/dist/client/chunk-3DCJ45Z2.mjs +36 -0
  75. package/dist/client/chunk-3PEDD5KJ.mjs +146 -0
  76. package/dist/client/{chunk-6VGXRE34.mjs → chunk-7UOSCYY4.mjs} +76 -29
  77. package/dist/client/chunk-BOIHIU7E.mjs +106 -0
  78. package/dist/client/chunk-F7LHOKEH.mjs +146 -0
  79. package/dist/client/chunk-FGUIVT2B.mjs +204 -0
  80. package/dist/client/chunk-I2MMZO53.mjs +6 -0
  81. package/dist/client/chunk-II7O4XN3.mjs +2206 -0
  82. package/dist/client/chunk-J227A3CQ.mjs +245 -0
  83. package/dist/client/chunk-JEZECJ3W.mjs +383 -0
  84. package/dist/client/chunk-M3L3KYYR.mjs +1181 -0
  85. package/dist/client/chunk-OJPZEZU2.mjs +31 -0
  86. package/dist/client/chunk-PFBX3IQL.mjs +1378 -0
  87. package/dist/client/chunk-RTZ3JKKX.mjs +178 -0
  88. package/dist/client/chunk-SNSWVZEP.mjs +5592 -0
  89. package/dist/client/chunk-TQ5MSPDX.mjs +74 -0
  90. package/dist/client/chunk-YLMKMCSJ.mjs +86 -0
  91. package/dist/client/client.mjs +54052 -54518
  92. package/dist/client/courseRegistration-ZBXS7VGI.mjs +1737 -0
  93. package/dist/client/{eventCalendar-X6GIPYFM.mjs → eventCalendar-EQQZHJBA.mjs} +13 -2
  94. package/dist/client/{eventCombined-EZUOPM3G.mjs → eventCombined-JCFTGBFQ.mjs} +13 -2
  95. package/dist/client/eventDetails-HLUTQSYY.mjs +25 -0
  96. package/dist/client/{eventListing-HEFGAETC.mjs → eventListing-FG4MICVB.mjs} +13 -2
  97. package/dist/client/{eventRegistration-3LCP2V3P.mjs → eventRegistration-GUEB7LBT.mjs} +13 -2
  98. package/dist/client/form-YQEW4YIT.mjs +300 -0
  99. package/dist/client/headerSection-GTR3TTRM.mjs +729 -0
  100. package/dist/client/hooks.mjs +49 -33
  101. package/dist/client/locationMap-SPC7VGUH.mjs +227 -0
  102. package/dist/client/newsletterForm-4IW5BLID.mjs +208 -0
  103. package/dist/client/productDetail-KP5H2WJO.mjs +18 -0
  104. package/dist/client/productList-3M3M72XZ.mjs +18 -0
  105. package/dist/client/rendering/client.mjs +15580 -16277
  106. package/dist/client/rendering/islands.mjs +98 -21
  107. package/dist/client/rendering.mjs +48730 -49191
  108. package/dist/client/shop-ACQKVGOM.mjs +20 -0
  109. package/dist/preview-next/before-render.mjs +37 -25
  110. package/dist/preview-next/chrome.css +1 -1
  111. package/dist/preview-next/client/runtime.mjs +5 -5
  112. package/dist/preview-next/editor-base.css +2 -148
  113. package/dist/preview-next/editor-chrome.css +179 -0
  114. package/dist/preview-next/middleware.mjs +37 -25
  115. package/dist/{sdk-runtime-OHNONZ5U.mjs → sdk-runtime-K7HNB4U2.mjs} +6 -6
  116. package/dist/server/components.mjs +1294 -1103
  117. package/dist/server/config-validation.mjs +49 -33
  118. package/dist/server/config.mjs +49 -33
  119. package/dist/server/data.mjs +49 -33
  120. package/dist/server/index.mjs +45 -33
  121. package/dist/server/next.mjs +1240 -1050
  122. package/dist/server/page-converter.mjs +12 -8
  123. package/dist/server/prebuild.mjs +1 -1
  124. package/dist/server/rendering/server.mjs +1389 -1104
  125. package/dist/server/rendering.mjs +1300 -1109
  126. package/dist/server/routing.mjs +49 -33
  127. package/dist/server/server.mjs +50 -34
  128. package/dist/server/theme-bridge.mjs +5 -0
  129. package/dist/styles/index.css +5 -0
  130. package/package.json +2 -1
  131. package/dist/SdkPreviewModeRuntime-CRYNDSPL.mjs +0 -8
  132. package/dist/client/bookingForm-4X77HKDS.mjs +0 -34
  133. package/dist/client/cart-JWD2VRFU.mjs +0 -11
  134. package/dist/client/checkout-V7KYGWL7.mjs +0 -11
  135. package/dist/client/chunk-5IYGMTUE.mjs +0 -18614
  136. package/dist/client/chunk-RKCFVIMS.mjs +0 -26
  137. package/dist/client/courseRegistration-O6ZPK4YT.mjs +0 -29
  138. package/dist/client/eventDetails-3WODIXET.mjs +0 -14
  139. package/dist/client/form-AKXQMY6Z.mjs +0 -85
  140. package/dist/client/headerSection-5KHCMU6B.mjs +0 -12
  141. package/dist/client/locationMap-7HIADW76.mjs +0 -14
  142. package/dist/client/newsletterForm-5N4YTMU3.mjs +0 -60
  143. package/dist/client/productDetail-IZUA7ZP3.mjs +0 -11
  144. package/dist/client/productList-KWIIJE6I.mjs +0 -11
  145. package/dist/client/shop-XZQFRQWZ.mjs +0 -13
@@ -1,26 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { BlockApiProvider } from './chunk-5IYGMTUE.mjs';
3
- import { jsx } from 'react/jsx-runtime';
4
-
5
- function mountShopBlockIsland(root, props, Component, label) {
6
- const { siteId, apiBaseUrl, stage } = props;
7
- if (!siteId) {
8
- throw new Error(`[sdk:islands] ${label} requires siteId`);
9
- }
10
- if (!apiBaseUrl) {
11
- throw new Error(`[sdk:islands] ${label} requires apiBaseUrl`);
12
- }
13
- const apiConfig = {
14
- baseUrl: apiBaseUrl,
15
- auth: { type: "none" },
16
- siteId,
17
- isPreview: stage === "preview"
18
- };
19
- return mountReactIsland(root, ({ root: reactRoot }) => {
20
- reactRoot.render(
21
- /* @__PURE__ */ jsx(BlockApiProvider, { config: apiConfig, children: /* @__PURE__ */ jsx(Component, { ...props }) })
22
- );
23
- });
24
- }
25
-
26
- export { mountShopBlockIsland };
@@ -1,29 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { BlockApiProvider, CourseRegistrationIslandClient } from './chunk-5IYGMTUE.mjs';
3
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
4
- import './chunk-PMAIXMAB.mjs';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var decode = defineIslandPropsDecoder("course-registration");
8
- var enhance = (root, props) => {
9
- const { siteId, apiBaseUrl, stage, portalToken } = props;
10
- if (!siteId) {
11
- throw new Error("[sdk:islands] course-registration requires siteId");
12
- }
13
- if (!apiBaseUrl) {
14
- throw new Error("[sdk:islands] course-registration requires apiBaseUrl");
15
- }
16
- const apiConfig = {
17
- baseUrl: apiBaseUrl,
18
- auth: portalToken ? { type: "bearer", token: portalToken } : { type: "none" },
19
- siteId,
20
- isPreview: stage === "preview"
21
- };
22
- return mountReactIsland(root, ({ root: reactRoot }) => {
23
- reactRoot.render(
24
- /* @__PURE__ */ jsx(BlockApiProvider, { config: apiConfig, children: /* @__PURE__ */ jsx(CourseRegistrationIslandClient, { ...props }) })
25
- );
26
- });
27
- };
28
-
29
- export { decode, enhance };
@@ -1,14 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { EventDetailsIslandClient } from './chunk-5IYGMTUE.mjs';
3
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
4
- import './chunk-PMAIXMAB.mjs';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var decode = defineIslandPropsDecoder("event-details");
8
- var enhance = (root, props) => {
9
- return mountReactIsland(root, ({ root: reactRoot }) => {
10
- reactRoot.render(/* @__PURE__ */ jsx(EventDetailsIslandClient, { ...props }));
11
- });
12
- };
13
-
14
- export { decode, enhance };
@@ -1,85 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { BlockApiProvider, FormNodeClient } from './chunk-5IYGMTUE.mjs';
3
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
4
- import './chunk-PMAIXMAB.mjs';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var decode = defineIslandPropsDecoder("form");
8
- function snapshotFormValues(form) {
9
- if (!form) return [];
10
- const snapshots = [];
11
- const elements = Array.from(form.elements);
12
- for (const el of elements) {
13
- if (!(el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement || el instanceof HTMLSelectElement)) {
14
- continue;
15
- }
16
- const name = el.name;
17
- if (!name) continue;
18
- if (el instanceof HTMLSelectElement && el.multiple) {
19
- const selected = Array.from(el.selectedOptions).map((o) => o.value);
20
- snapshots.push({ kind: "select-multiple", name, values: selected });
21
- continue;
22
- }
23
- if (el instanceof HTMLInputElement && (el.type === "checkbox" || el.type === "radio")) {
24
- snapshots.push({ kind: "checked", name, value: el.value, checked: el.checked });
25
- continue;
26
- }
27
- snapshots.push({ kind: "value", name, value: el.value });
28
- }
29
- return snapshots;
30
- }
31
- function applySnapshots(form, snapshots) {
32
- if (!form) return;
33
- for (const snapshot of snapshots) {
34
- if (snapshot.kind === "select-multiple") {
35
- const el2 = form.elements.namedItem(snapshot.name);
36
- if (!(el2 instanceof HTMLSelectElement) || !el2.multiple) continue;
37
- const selected = new Set(snapshot.values);
38
- Array.from(el2.options).forEach((opt) => {
39
- opt.selected = selected.has(opt.value);
40
- });
41
- continue;
42
- }
43
- const el = form.elements.namedItem(snapshot.name);
44
- if (snapshot.kind === "checked") {
45
- if (el instanceof RadioNodeList) {
46
- const inputs = Array.from(el).filter((i) => i instanceof HTMLInputElement);
47
- const match = inputs.find((i) => i.value === snapshot.value);
48
- if (match) match.checked = snapshot.checked;
49
- } else if (el instanceof HTMLInputElement) {
50
- if (el.type === "checkbox") el.checked = snapshot.checked;
51
- }
52
- continue;
53
- }
54
- if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement || el instanceof HTMLSelectElement) {
55
- el.value = snapshot.value;
56
- }
57
- }
58
- }
59
- var enhance = (root, props) => {
60
- const { siteId, apiBaseUrl } = props;
61
- if (!siteId) {
62
- throw new Error("[sdk:islands] form requires siteId");
63
- }
64
- if (!apiBaseUrl) {
65
- throw new Error("[sdk:islands] form requires apiBaseUrl");
66
- }
67
- const apiConfig = {
68
- baseUrl: apiBaseUrl,
69
- auth: { type: "none" },
70
- siteId
71
- };
72
- const existingForm = root.querySelector("form");
73
- const snapshots = snapshotFormValues(existingForm);
74
- return mountReactIsland(root, ({ root: reactRoot }) => {
75
- reactRoot.render(
76
- /* @__PURE__ */ jsx(BlockApiProvider, { config: apiConfig, children: /* @__PURE__ */ jsx(FormNodeClient, { ...props }) })
77
- );
78
- requestAnimationFrame(() => {
79
- const nextForm = root.querySelector("form");
80
- applySnapshots(nextForm, snapshots);
81
- });
82
- });
83
- };
84
-
85
- export { decode, enhance };
@@ -1,12 +0,0 @@
1
- import { enhanceHeaderSection } from './chunk-5IYGMTUE.mjs';
2
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
3
- import './chunk-PMAIXMAB.mjs';
4
-
5
- // src/rendering/islands/enhancers/headerSection.ts
6
- var decode = defineIslandPropsDecoder("headerSection");
7
- var enhance = (root, props) => {
8
- const scrollEnabled = typeof props?.scrollEnabled === "boolean" ? props.scrollEnabled : typeof props?.enabled === "boolean" ? props.enabled : void 0;
9
- return enhanceHeaderSection(root, { scrollEnabled });
10
- };
11
-
12
- export { decode, enhance };
@@ -1,14 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { LocationMapIslandClient } from './chunk-5IYGMTUE.mjs';
3
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
4
- import './chunk-PMAIXMAB.mjs';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var decode = defineIslandPropsDecoder("location-map");
8
- var enhance = (root, props) => {
9
- return mountReactIsland(root, ({ root: reactRoot }) => {
10
- reactRoot.render(/* @__PURE__ */ jsx(LocationMapIslandClient, { ...props }));
11
- });
12
- };
13
-
14
- export { decode, enhance };
@@ -1,60 +0,0 @@
1
- import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
2
- import { BlockApiProvider, NewsletterFormClient } from './chunk-5IYGMTUE.mjs';
3
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
4
- import './chunk-PMAIXMAB.mjs';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var decode = defineIslandPropsDecoder("newsletter-form");
8
- function snapshotFormValues(form) {
9
- if (!form) return [];
10
- const snapshots = [];
11
- const elements = Array.from(form.elements);
12
- for (const el of elements) {
13
- if (!(el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement)) {
14
- continue;
15
- }
16
- const name = el.name;
17
- if (!name) continue;
18
- snapshots.push({ name, value: el.value });
19
- }
20
- return snapshots;
21
- }
22
- function applySnapshots(form, snapshots) {
23
- if (!form) return;
24
- for (const snapshot of snapshots) {
25
- const el = form.elements.namedItem(snapshot.name);
26
- if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement) {
27
- el.value = snapshot.value;
28
- }
29
- }
30
- }
31
- var enhance = (root, props) => {
32
- const { siteId, apiBaseUrl, render } = props;
33
- if (!siteId) {
34
- throw new Error("[sdk:islands] newsletter-form requires siteId");
35
- }
36
- if (!apiBaseUrl) {
37
- throw new Error("[sdk:islands] newsletter-form requires apiBaseUrl");
38
- }
39
- if (!render.hydration.listId) {
40
- throw new Error("[sdk:islands] newsletter-form requires listId");
41
- }
42
- const apiConfig = {
43
- baseUrl: apiBaseUrl,
44
- auth: { type: "none" },
45
- siteId
46
- };
47
- const existingForm = root.querySelector("form");
48
- const snapshots = snapshotFormValues(existingForm);
49
- return mountReactIsland(root, ({ root: reactRoot }) => {
50
- reactRoot.render(
51
- /* @__PURE__ */ jsx(BlockApiProvider, { config: apiConfig, children: /* @__PURE__ */ jsx(NewsletterFormClient, { ...props }) })
52
- );
53
- requestAnimationFrame(() => {
54
- const nextForm = root.querySelector("form");
55
- applySnapshots(nextForm, snapshots);
56
- });
57
- });
58
- };
59
-
60
- export { decode, enhance };
@@ -1,11 +0,0 @@
1
- import { mountShopBlockIsland } from './chunk-RKCFVIMS.mjs';
2
- import './chunk-N7PBWBWQ.mjs';
3
- import { ProductDetailClient } from './chunk-5IYGMTUE.mjs';
4
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
5
- import './chunk-PMAIXMAB.mjs';
6
-
7
- // src/rendering/islands/enhancers/productDetail.tsx
8
- var decode = defineIslandPropsDecoder("product-detail");
9
- var enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
10
-
11
- export { decode, enhance };
@@ -1,11 +0,0 @@
1
- import { mountShopBlockIsland } from './chunk-RKCFVIMS.mjs';
2
- import './chunk-N7PBWBWQ.mjs';
3
- import { ProductListClient } from './chunk-5IYGMTUE.mjs';
4
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
5
- import './chunk-PMAIXMAB.mjs';
6
-
7
- // src/rendering/islands/enhancers/productList.tsx
8
- var decode = defineIslandPropsDecoder("product-list");
9
- var enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
10
-
11
- export { decode, enhance };
@@ -1,13 +0,0 @@
1
- import { mountShopBlockIsland } from './chunk-RKCFVIMS.mjs';
2
- import './chunk-N7PBWBWQ.mjs';
3
- import { ShopClient } from './chunk-5IYGMTUE.mjs';
4
- import { defineIslandPropsDecoder } from './chunk-6VGXRE34.mjs';
5
- import './chunk-PMAIXMAB.mjs';
6
-
7
- // src/rendering/islands/enhancers/shop.tsx
8
- var decode = defineIslandPropsDecoder("shop");
9
- var enhance = (root, props) => {
10
- return mountShopBlockIsland(root, props, ShopClient, "shop");
11
- };
12
-
13
- export { decode, enhance };