@riverbankcms/sdk 0.162.0 → 0.163.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.
- package/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +3 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-Chh3bnXC.d.ts} +1 -1
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-GJ1kGBsi.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-CaL0nKkl.d.ts} +81 -26
- package/dist/_dts/{index-DEu85xBt.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-CyQhZuhM.d.ts} +49 -3
- package/dist/_dts/{index-C39F9KaB.d.ts → index-D2y4Iy-d.d.ts} +1 -1
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DRxgeK8L.d.ts} +4 -3
- package/dist/_dts/{index-Du1IRglc.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DiLZoInK.d.ts} +7 -7
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CfNG5koF.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-ffa6920T.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-BfnOmxYD.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-wlyxASdT.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-B9oKSitp.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-BEF9HrAy.mjs} +584 -251
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-Bll4QwBi.mjs} +12 -12
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BFwxgZpB.mjs → context-Bg0SFWcM.mjs} +1 -1
- package/dist/client/{cta-DtA42Xio.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-CV45BH5M.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-SFtS9OkF.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-DIkX2S-X.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-4XFGzJpT.mjs} +3 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-VD4arFq1.mjs} +3 -3
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-qYbsatxH.mjs} +19 -19
- package/dist/client/rendering/client.mjs +26 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +19 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-BFwQDvJL.mjs} +846 -497
- package/dist/client/{shop-CF0dhnfH.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-Cf_kASpd.mjs} +44 -26
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-dy54AUdz.mjs} +747 -32
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-Bi8ruFgB.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-DiLbDqM3.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-BpBjo9Te.mjs → view-OvsxzgxP.mjs} +7 -7
- package/dist/client/{view-DMyTchi7.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-kbONzKUv.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +10 -8
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +139 -1264
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-nUnE3iMv.mjs} +403 -66
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-DHtSQIBE.mjs} +12933 -11769
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-Chq5KKKh.mjs} +3782 -2453
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-CxCstfkP.mjs} +9 -0
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-C2Q56xqV.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs} +713 -12
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-D7ItMsEl.mjs} +4 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-W1Cc6srh.mjs} +177 -80
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Cn9k3DW6.mjs} +10 -6
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-BVcJ6TG7.mjs} +11 -2
- package/dist/server/{registry-Digv02oV.mjs → registry-4ZF3bUuJ.mjs} +97 -42
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-DgrigZq9.mjs} +4118 -3769
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-CxE9F3hj.mjs} +36 -22
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-08GY1njw.mjs → src-C44_fMy5.mjs} +291 -106
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-CVc04B9m.mjs} +2 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +162 -72
- package/package.json +1 -1
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { C as clsx, H as parsePositiveMoneyInputToCents, U as formatCurrencyAmount, V as resolveFlexibleBalancePaymentEligibility, i as ThemedButtonLink, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton, u as SpinnerNode, z as formatOrderInstalmentStatusLabel$1 } from "../ThemedButton-
|
|
3
|
+
import { Cr as unsafeAsAppointmentResourceId } from "../schema-BFwQDvJL.mjs";
|
|
4
|
+
import { C as clsx, H as parsePositiveMoneyInputToCents, U as formatCurrencyAmount, V as resolveFlexibleBalancePaymentEligibility, i as ThemedButtonLink, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton, u as SpinnerNode, z as formatOrderInstalmentStatusLabel$1 } from "../ThemedButton-DclwabI7.mjs";
|
|
5
5
|
import { c as assertNever$1, t as assertNever } from "../src-VIsPY-kw.mjs";
|
|
6
|
-
import { t as logger } from "../noop-
|
|
6
|
+
import { t as logger } from "../noop-4XFGzJpT.mjs";
|
|
7
7
|
import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
|
|
8
8
|
import { t as resolveDedicatedBookingHref } from "../bookingRoute-Bqlyu5Vb.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "../CheckboxChoice-
|
|
10
|
-
import { t as DemoPortalSignInLink } from "../DemoPortalSignInLink-
|
|
9
|
+
import { t as CheckboxChoice } from "../CheckboxChoice-Dtgp3OU8.mjs";
|
|
10
|
+
import { t as DemoPortalSignInLink } from "../DemoPortalSignInLink-Ct8JMKW0.mjs";
|
|
11
11
|
import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
|
|
12
|
-
import { t as TabBarFragment } from "../TabBarFragment-
|
|
12
|
+
import { t as TabBarFragment } from "../TabBarFragment-Cu7k_VSl.mjs";
|
|
13
13
|
import { i as getPortalCreditProductCreditNoun, r as getCreditProductTypeLabel, t as deriveCreditProductLabels } from "../creditProducts-BOWi1QLp.mjs";
|
|
14
|
-
import { t as formatDate } from "../formatDate-
|
|
15
|
-
import { i as createBlockApi, n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-
|
|
16
|
-
import { n as useAvailableDates, t as useAvailableSlots } from "../useAvailableSlots-
|
|
17
|
-
import { t as useBookingNowIso } from "../useBookingNowIso-
|
|
18
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-
|
|
19
|
-
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-
|
|
14
|
+
import { t as formatDate } from "../formatDate-BKil_Psb.mjs";
|
|
15
|
+
import { i as createBlockApi, n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-Bg0SFWcM.mjs";
|
|
16
|
+
import { n as useAvailableDates, t as useAvailableSlots } from "../useAvailableSlots-DiLbDqM3.mjs";
|
|
17
|
+
import { t as useBookingNowIso } from "../useBookingNowIso-CWIiqPd0.mjs";
|
|
18
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-CDWheSjI.mjs";
|
|
19
|
+
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-CV45BH5M.mjs";
|
|
20
20
|
import * as React$1 from "react";
|
|
21
21
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ProductDetailController } from "./shop-commerce-
|
|
2
|
+
import { r as ProductDetailController } from "./shop-commerce-BWwbsm_-.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ProductListController } from "./shop-commerce-
|
|
2
|
+
import { i as ProductListController } from "./shop-commerce-BWwbsm_-.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductDetailClient } from "./product-detail.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-Tq4S99ce.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Bi8d584P.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productDetail.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-detail");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductListClient } from "./product-list.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-CuL5jB1w.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Bi8d584P.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productList.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-list");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Fr as lookListPresentationSchemaShape, Or as createZodCodec, Pn as bookingFormInteractiveIslandPropsCodec, Tr as eventRegistrationPageSurfaceSubjectSchema, jr as isDecodeSuccess } from "./wizardSteps-
|
|
3
|
-
import { V as eventVenueDrawingSchema, W as publicEventSchema } from "./noop-
|
|
4
|
-
import { $t as headerChromeRuntimeContractSchema, Dt as eventCalendarInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Mt as eventListingInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, St as eventCombinedInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, on as publicMembershipProductCollectionSchema, s as cartInteractiveIslandPropsCodec, sn as publicPassProductCollectionSchema } from "./shop.interactive-
|
|
2
|
+
import { Fr as lookListPresentationSchemaShape, Or as createZodCodec, Pn as bookingFormInteractiveIslandPropsCodec, Tr as eventRegistrationPageSurfaceSubjectSchema, jr as isDecodeSuccess } from "./wizardSteps-kbONzKUv.mjs";
|
|
3
|
+
import { V as eventVenueDrawingSchema, W as publicEventSchema } from "./noop-4XFGzJpT.mjs";
|
|
4
|
+
import { $t as headerChromeRuntimeContractSchema, Dt as eventCalendarInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Mt as eventListingInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, St as eventCombinedInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, on as publicMembershipProductCollectionSchema, s as cartInteractiveIslandPropsCodec, sn as publicPassProductCollectionSchema } from "./shop.interactive-Cf_kASpd.mjs";
|
|
5
5
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { C as clsx, S as PlusIcon, _ as FileArchiveIcon, a as ThemedDownloadLink, b as FileTextIcon, c as ICON_PICKER_PRESETS, d as ArrowDownIcon, f as ChevronDownIcon, i as ThemedButtonLink, l as isSemanticIconId, m as CirclePlusIcon, p as CircleMinusIcon, r as ThemedButton, s as getIconComponent, u as SpinnerNode, v as FileAudioIcon, x as MinusIcon, y as FileSpreadsheetIcon } from "./ThemedButton-
|
|
3
|
+
import { $t as serializeSurfaceTree, Cn as resolveThemeColorReferenceValue, E as ICON_CONFIG, Mr as err, Nr as ok, U as cardVariantRoleValues, _t as arrangementModes, dn as backgroundColorStyle, gn as textColorStyle, hn as rgbColorValue, mn as mergeStyles, sr as runtimeMediaSchema } from "./schema-BFwQDvJL.mjs";
|
|
4
|
+
import { C as clsx, S as PlusIcon, _ as FileArchiveIcon, a as ThemedDownloadLink, b as FileTextIcon, c as ICON_PICKER_PRESETS, d as ArrowDownIcon, f as ChevronDownIcon, i as ThemedButtonLink, l as isSemanticIconId, m as CirclePlusIcon, p as CircleMinusIcon, r as ThemedButton, s as getIconComponent, u as SpinnerNode, v as FileAudioIcon, x as MinusIcon, y as FileSpreadsheetIcon } from "./ThemedButton-DclwabI7.mjs";
|
|
5
5
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
6
6
|
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
7
|
-
import { $r as formatBookingPriceDisplay, An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Fr as lookListPresentationSchemaShape, Hr as orderedLiveRunSessions, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Rr as parseAspectRatioValue, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, cn as eventDateOptions, hn as formatEventHourLabel, in as sanitizeHref, oi as resolveExactOrFreePriceDisplay, pn as formatEventCompactDateRail, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-
|
|
8
|
-
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-
|
|
7
|
+
import { $r as formatBookingPriceDisplay, An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Fr as lookListPresentationSchemaShape, Hr as orderedLiveRunSessions, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Rr as parseAspectRatioValue, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, cn as eventDateOptions, hn as formatEventHourLabel, in as sanitizeHref, oi as resolveExactOrFreePriceDisplay, pn as formatEventCompactDateRail, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-kbONzKUv.mjs";
|
|
8
|
+
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-4XFGzJpT.mjs";
|
|
9
9
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
10
|
-
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-
|
|
11
|
-
import { At as buildEventListingInteractiveIslandProps, B as giftingBlockRuntime, Ct as buildEventCalendarInteractiveIslandProps, Et as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, Gt as getCardOrientation, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Jt as buildEventListWeek, Kt as getContainerClass, L as newsletterFormBlockRuntime, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Rt as catalogueEventCardProps, U as buildFormInteractiveIslandProps, W as formBlockRuntime, Wt as MediaNodeServer, Y as eventRegistrationBlockRuntime, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _ as shopProductPresentation, a as buildShopInteractiveIslandProps, an as splitSiteChromePlacementClasses, bt as buildEventCombinedListingDisplay, c as checkoutBlockRuntime, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, fn as DEFAULT_MAILING_LIST_TARGETING, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, jt as eventListingBlockRuntime, kt as recurringScheduleProjectionSchema, ln as assessMailingListTargeting, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nn as staticHeaderChromeRuntime, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, on as publicMembershipProductCollectionSchema, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as Grid, r as buildProductDetailInteractiveIslandProps, rt as buildOfferingsPreviewListing, sn as publicPassProductCollectionSchema, st as offeringsListingFor, t as buildCartInteractiveIslandProps, un as parseMailingListPlacementTargeting, ut as resolveOfferingsRenderInput, vt as occurrenceContextSchema, wt as buildEventCalendarListingDisplay, xt as eventCombinedBlockRuntime, yt as buildEventCombinedInteractiveIslandProps, z as buildGiftingInteractiveIslandProps, zt as listingEventCardProps } from "./shop.interactive-
|
|
12
|
-
import { l as arrangementSlotNames, y as compiledRuntimeStyleFieldNames } from "./site-styles-
|
|
13
|
-
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-
|
|
14
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
15
|
-
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-
|
|
16
|
-
import { n as CardListItems, r as EventItem } from "./EventItem-
|
|
17
|
-
import { i as SvgNode } from "./MapDrawingSvg-
|
|
18
|
-
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-
|
|
10
|
+
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-Bi8ruFgB.mjs";
|
|
11
|
+
import { At as buildEventListingInteractiveIslandProps, B as giftingBlockRuntime, Ct as buildEventCalendarInteractiveIslandProps, Et as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, Gt as getCardOrientation, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Jt as buildEventListWeek, Kt as getContainerClass, L as newsletterFormBlockRuntime, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Rt as catalogueEventCardProps, U as buildFormInteractiveIslandProps, W as formBlockRuntime, Wt as MediaNodeServer, Y as eventRegistrationBlockRuntime, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _ as shopProductPresentation, a as buildShopInteractiveIslandProps, an as splitSiteChromePlacementClasses, bt as buildEventCombinedListingDisplay, c as checkoutBlockRuntime, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, fn as DEFAULT_MAILING_LIST_TARGETING, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, jt as eventListingBlockRuntime, kt as recurringScheduleProjectionSchema, ln as assessMailingListTargeting, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nn as staticHeaderChromeRuntime, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, on as publicMembershipProductCollectionSchema, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as Grid, r as buildProductDetailInteractiveIslandProps, rt as buildOfferingsPreviewListing, sn as publicPassProductCollectionSchema, st as offeringsListingFor, t as buildCartInteractiveIslandProps, un as parseMailingListPlacementTargeting, ut as resolveOfferingsRenderInput, vt as occurrenceContextSchema, wt as buildEventCalendarListingDisplay, xt as eventCombinedBlockRuntime, yt as buildEventCombinedInteractiveIslandProps, z as buildGiftingInteractiveIslandProps, zt as listingEventCardProps } from "./shop.interactive-Cf_kASpd.mjs";
|
|
12
|
+
import { l as arrangementSlotNames, y as compiledRuntimeStyleFieldNames } from "./site-styles-dy54AUdz.mjs";
|
|
13
|
+
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-OvsxzgxP.mjs";
|
|
14
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.mjs";
|
|
15
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-CVLAHdZG.mjs";
|
|
16
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-CND3mfra.mjs";
|
|
17
|
+
import { i as SvgNode } from "./MapDrawingSvg-B9oKSitp.mjs";
|
|
18
|
+
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-BfnOmxYD.mjs";
|
|
19
19
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-Bqlyu5Vb.mjs";
|
|
20
20
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
21
21
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
|
|
22
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
22
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
|
|
23
23
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
24
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
25
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
26
|
-
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
27
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
28
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
24
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-yUIfWX3S.mjs";
|
|
25
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D8QdxL_f.mjs";
|
|
26
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bjx4faaw.mjs";
|
|
27
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-1VnasOK8.mjs";
|
|
28
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-Dl8AjsXW.mjs";
|
|
29
29
|
import React, { forwardRef } from "react";
|
|
30
30
|
import { z } from "zod";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,40 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { E as ICON_CONFIG,
|
|
4
|
-
import { C as clsx, U as formatCurrencyAmount } from "../ThemedButton-
|
|
3
|
+
import { E as ICON_CONFIG, ur as indexRenderableMediaAssets } from "../schema-BFwQDvJL.mjs";
|
|
4
|
+
import { C as clsx, U as formatCurrencyAmount } from "../ThemedButton-DclwabI7.mjs";
|
|
5
5
|
import { t as assertNever } from "../src-VIsPY-kw.mjs";
|
|
6
|
-
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-
|
|
7
|
-
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-
|
|
8
|
-
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes, z as composeHeaderSectionWrapperClassName } from "../registry.server-
|
|
9
|
-
import { p as Text } from "../timetableModel-
|
|
10
|
-
import { nn as staticHeaderChromeRuntime } from "../shop.interactive-
|
|
11
|
-
import { t as EventRegistrationIslandClient } from "../event-registration.client-
|
|
12
|
-
import { t as ShopClient } from "../shop.client-
|
|
6
|
+
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-kbONzKUv.mjs";
|
|
7
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-B3caCnTT.mjs";
|
|
8
|
+
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes, z as composeHeaderSectionWrapperClassName } from "../registry.server-qYbsatxH.mjs";
|
|
9
|
+
import { p as Text } from "../timetableModel-Bi8ruFgB.mjs";
|
|
10
|
+
import { nn as staticHeaderChromeRuntime } from "../shop.interactive-Cf_kASpd.mjs";
|
|
11
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-CguNVIFY.mjs";
|
|
12
|
+
import { t as ShopClient } from "../shop.client-UWgdmJBm.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
14
14
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
15
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
16
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
17
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
18
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
15
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-CW8CFk8v.mjs";
|
|
16
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-Bg0SFWcM.mjs";
|
|
17
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-Bll4QwBi.mjs";
|
|
18
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-DiLbDqM3.mjs";
|
|
19
19
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
20
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
21
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
22
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
23
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
24
|
-
import { t as CartClient } from "../cart.client-
|
|
25
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
26
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
27
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
28
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
29
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
30
|
-
import { t as FormNodeClient } from "../form.client-
|
|
31
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
32
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
20
|
+
import { t as CarouselNodeClient } from "../carousel.client-CVUXq8Mb.mjs";
|
|
21
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-SFtS9OkF.mjs";
|
|
22
|
+
import { t as ProductListClient } from "../product-list.client-CuL5jB1w.mjs";
|
|
23
|
+
import { t as ProductDetailClient } from "../product-detail.client-Tq4S99ce.mjs";
|
|
24
|
+
import { t as CartClient } from "../cart.client-CJbzWIl0.mjs";
|
|
25
|
+
import { t as CheckoutClient } from "../checkout.client-Baee6Jsm.mjs";
|
|
26
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-BqVDXL0D.mjs";
|
|
27
|
+
import { t as EventListingClient } from "../EventListing.client-CaoRZUI9.mjs";
|
|
28
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-zm0W2G79.mjs";
|
|
29
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-ffa6920T.mjs";
|
|
30
|
+
import { t as FormNodeClient } from "../form.client-BoAkhoh_.mjs";
|
|
31
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-CCdyHx0B.mjs";
|
|
32
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DLCXwe30.mjs";
|
|
33
33
|
import * as React$1 from "react";
|
|
34
34
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
35
35
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
36
36
|
import "react-dom";
|
|
37
|
-
//#endregion
|
|
38
37
|
//#region ../blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.ts
|
|
39
38
|
function mergeAssetIndexes(baseline, live) {
|
|
40
39
|
if (!baseline) return live;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-
|
|
4
|
-
import { Nt as toUtcIsoDateTimeString, et as isRecord } from "./noop-
|
|
5
|
-
import { A as
|
|
6
|
-
import { an as projectRepeaterGridLayout$1, en as parseFieldDefinition, on as projectRepeaterGridLayoutForRendering$1 } from "./registry.server-
|
|
7
|
-
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-
|
|
8
|
-
import { n as
|
|
2
|
+
import { ar as mediaSchema, cr as buildRenderableMediaAssetIndex, dr as resolveManagedMediaReference, fr as mediaIdentifierSchema, lr as renderableMediaAssetSchema, mr as parseMediaIdentifier, or as persistableMediaSchema, pr as parseCanonicalMediaIdentifier, sr as runtimeMediaSchema } from "./schema-BFwQDvJL.mjs";
|
|
3
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-kbONzKUv.mjs";
|
|
4
|
+
import { Nt as toUtcIsoDateTimeString, et as isRecord } from "./noop-4XFGzJpT.mjs";
|
|
5
|
+
import { A as renderBlock, B as compileManifestContentContract, C as siteLocationRenderContext, D as requireSdkTheme, E as MissingSdkThemeError, F as resolveRouteHrefForStage, H as deriveFieldValidationPlan, I as getBlockDefinition, L as siteFooterManifest, M as resolveAuthoredLinkHref, N as isRouteVisibleInStage, O as prefetchBlockDataWithFailures, P as normalizeRenderStage, R as siteHeaderManifest, S as sanitizeSdkRuntimeBlockContent, T as MISSING_SDK_THEME_ERROR_CODE, V as admitLayoutGridForPlan, X as resolveSdkFooterMode, Y as resolveFooterRenderPlan, _ as collectMediaAssetSidecar, a as solvedInksForThemeRuntime, at as readPublishedBlockPlacement, b as readInvalidBlockAdmission, c as MissingBlockOverrideError, d as buildThemeRuntime, f as parseBlocksTheme, g as buildSiteRenderSupport, h as buildRenderablePageOutline, i as renderWithSdkThemeRuntime, j as getDefaultComponentRegistry, k as makeDefaultBlockComponent, l as PageRenderer, m as BINDING_TRANSFORM_VALUES$1, n as planLayoutThemeRuntime, o as ThemeScope, p as applyBindingsToContent, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, t as Page, u as toBlocksPageRendererDataContext, v as invalidRenderableBlock, w as resolveSiteCustomBlocks, x as resolveSdkBlockManifest, y as projectRenderablePageOutline, z as admitTransportedRenderableManifestContent } from "./Page-BEF9HrAy.mjs";
|
|
6
|
+
import { an as projectRepeaterGridLayout$1, en as parseFieldDefinition, on as projectRepeaterGridLayoutForRendering$1 } from "./registry.server-qYbsatxH.mjs";
|
|
7
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DIkX2S-X.mjs";
|
|
8
|
+
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-CGJE1Omu.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -657,9 +657,12 @@ async function Layout(props) {
|
|
|
657
657
|
footerData: customFooterData
|
|
658
658
|
});
|
|
659
659
|
const theme = requireSdkTheme(siteData.theme, site.id);
|
|
660
|
-
const builtThemeRuntime = buildThemeRuntime(theme);
|
|
661
660
|
const headerVariant = props.headerVariant;
|
|
662
|
-
const
|
|
661
|
+
const layoutThemeRuntime = planLayoutThemeRuntime({
|
|
662
|
+
themeRuntime: props.themeRuntime,
|
|
663
|
+
usesSdkChrome: header === true || footer === true
|
|
664
|
+
});
|
|
665
|
+
const builtThemeRuntime = buildThemeRuntime(theme, solvedInksForThemeRuntime(layoutThemeRuntime));
|
|
663
666
|
const headerData = {
|
|
664
667
|
...customHeaderData,
|
|
665
668
|
theme
|
|
@@ -721,6 +724,7 @@ async function Layout(props) {
|
|
|
721
724
|
});
|
|
722
725
|
const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
723
726
|
theme,
|
|
727
|
+
themeTokens: builtThemeRuntime.tokens,
|
|
724
728
|
page: buildFooterRenderablePageOutline(siteData, footerBlocks),
|
|
725
729
|
routeMap: routes,
|
|
726
730
|
dataContext: buildLayoutRootContext(siteData, {
|
|
@@ -743,18 +747,14 @@ async function Layout(props) {
|
|
|
743
747
|
}) : null;
|
|
744
748
|
footerElement = footerPlan.mode === "default+blocks" ? /* @__PURE__ */ jsxs(Fragment, { children: [footerBlocksElement, defaultFooterElement] }) : footerPlan.mode === "blocks" ? footerBlocksElement : footerPlan.mode === "none" ? null : defaultFooterElement;
|
|
745
749
|
} else if (typeof footer === "function") footerElement = footer(footerData);
|
|
746
|
-
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
747
|
-
headerElement,
|
|
748
|
-
children,
|
|
749
|
-
footerElement
|
|
750
|
-
] });
|
|
751
750
|
return renderWithSdkThemeRuntime({
|
|
752
751
|
theme,
|
|
753
|
-
themeRuntime:
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
752
|
+
themeRuntime: layoutThemeRuntime,
|
|
753
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
754
|
+
headerElement,
|
|
755
|
+
children,
|
|
756
|
+
footerElement
|
|
757
|
+
] })
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
/** Shared public facts for SDK chrome; no customer acceptance is present. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Z as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { Z as RichTextDocSchema, t as logger } from "./noop-4XFGzJpT.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-
|
|
2
|
+
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-kbONzKUv.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|