@riverbankcms/sdk 0.182.0 → 0.184.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 +79 -0
- package/README.md +83 -4
- package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-DjBTJYiF.d.ts} +1 -1
- package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-BpXEM2ET.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-Bb3h7KRE.d.ts} +2 -2
- package/dist/_dts/{client-D6T430bk.d.ts → client-DgTRRtl_.d.ts} +14 -1
- package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-DZQJp_ak.d.ts} +9 -16
- package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-Ww1fmd-c.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-BGc7dju6.d.ts} +2 -2
- package/dist/_dts/{index-CciRW_w1.d.ts → index-BECaUNYs.d.ts} +2 -2
- package/dist/_dts/{index-CEyYMhLJ.d.ts → index-Cc85KVLW.d.ts} +3 -3
- package/dist/_dts/{index-CQrb3Ccc.d.ts → index-Cni4jykw.d.ts} +4 -4
- package/dist/_dts/{index-DIU-wL1M.d.ts → index-DxxTQ_0V.d.ts} +2 -2
- package/dist/_dts/{index-Cqxis-nv.d.ts → index-W9-7djG3.d.ts} +1 -1
- package/dist/_dts/{index-DqPKdeTk.d.ts → index-ukS-Ffem.d.ts} +1 -1
- package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-BlSWTlbD.d.ts} +7 -7
- package/dist/_dts/{request-DEwxUSw8.d.ts → request-CZz2BoXJ.d.ts} +89478 -88093
- package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D12HXnS3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-BteMsSGP.d.ts} +1 -1
- 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 +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +7 -7
- 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/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.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 +3 -3
- 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/portal/index.d.ts +10 -2
- 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/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- 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/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +126 -2
- package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-aTlOvO3U.d.ts} +16 -8
- package/dist/_dts/{types-B3RjeBLV.d.ts → types-Bi7R07RX.d.ts} +45 -4
- package/dist/_dts/{types-BvUSGQrw.d.ts → types-CCcQlRBi.d.ts} +22 -12
- package/dist/_dts/{types-CkRFtBqd.d.ts → types-Du4aMnWC.d.ts} +13 -15
- package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-CjCWVmwe.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs} +22 -18
- package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-C4LcfwyA.mjs} +8 -8
- package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DdcmoHqQ.mjs} +2 -2
- package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-DYGewmvh.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-ZfrUiiiI.mjs} +25 -8
- package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs} +7 -5
- package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-Ct1B3xI4.mjs} +10 -10
- package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DgfNtcgW.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-CjoaG1zy.mjs} +1 -1
- package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-KGKkK19N.mjs} +29 -14
- package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-Ba9ezxuC.mjs} +1 -1
- package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-xFKRDLwC.mjs} +3 -3
- package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-Dy36vWHi.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-Dth9L00x.mjs} +118 -76
- package/dist/client/{Page-sV6BJkXX.mjs → Page-DB5KODiu.mjs} +4491 -1398
- package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-BDVP_HeK.mjs} +3 -3
- package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-CLgDVzCs.mjs} +1 -1
- package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DRyZ8igu.mjs} +7 -7
- package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-C4rCsPCt.mjs} +52 -10
- package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-CqroimVQ.mjs} +1024 -619
- package/dist/client/{accordion-6cuswD_s.mjs → accordion-BQYRP5xV.mjs} +1 -1
- package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-B7ckDuOC.mjs} +191 -71
- package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-BeD4650p.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CA7FirMH.mjs} +2 -2
- package/dist/client/buttonParts-C39GC0kz.mjs +1518 -0
- package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DJ9Aa1m3.mjs} +2 -2
- package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BYOe7MCh.mjs → cart-DdCenbTy.mjs} +3 -3
- package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-BQm06qNw.mjs} +1 -1
- package/dist/client/{checkout-Dwd7Di77.mjs → checkout-45wPQULN.mjs} +3 -3
- package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-bSv4cc5z.mjs} +1 -1
- package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-CwlaMl3W.mjs} +1 -1
- package/dist/client/client.mjs +460 -119
- package/dist/client/{constants-DdxFG3Ic.mjs → constants-DXV4KR7l.mjs} +1 -1
- package/dist/client/{context-Hi1RuYEM.mjs → context-lCPfX-xe.mjs} +15 -5
- package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-Ce3Gyin_.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CGcDE9aE.mjs} +4 -4
- package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DlPfn4YG.mjs} +52 -29
- package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-CioAdryV.mjs} +4 -4
- package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-Dwt0G6ez.mjs} +4 -4
- package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-B3H9ifOC.mjs} +4 -4
- package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-Do7cAhXb.mjs} +7 -6
- package/dist/client/{form-DWnlEVSK.mjs → form-CsqzgC6v.mjs} +3 -3
- package/dist/client/{form.client-D7zmeqNI.mjs → form.client-DVDB7hY6.mjs} +5 -5
- package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-1q2rzSYt.mjs} +3 -3
- package/dist/client/gifting/client.mjs +16 -9
- package/dist/client/{gifting-Cn0jidP5.mjs → gifting-BrXQGX-k.mjs} +4 -4
- package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--zAjnY5N.mjs} +155 -85
- package/dist/client/gifting.interactive-CrwHpUJG.mjs +207 -0
- package/dist/client/gifting.parts-CcKdDaQq.mjs +124 -0
- package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-DlcDH4bi.mjs} +2 -2
- package/dist/client/{noop-jesvJXEE.mjs → islands-dMh0Oxli.mjs} +16103 -7965
- package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-BxA1PsdS.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-D0iRg7p2.mjs} +229 -197
- package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-Dmuklz0r.mjs} +2 -2
- package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CBzvgIfg.mjs} +3 -3
- package/dist/client/portal/client.mjs +51 -35
- package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
- package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DiGibcZI.mjs} +31 -9
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-D9MP8hvH.mjs} +1 -1
- package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-wCz1qcUY.mjs} +1 -1
- package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-D9-fCY6c.mjs} +3 -3
- package/dist/client/{productList-BuLemmod.mjs → productList-PJyxXSac.mjs} +3 -3
- package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-B8lrKGPw.mjs} +4 -2
- package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-CI63JVHW.mjs} +2444 -1078
- package/dist/client/rendering/client.mjs +32 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-Jt9hDHdh.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-ZSPcJWx1.mjs} +1 -1
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +3 -0
- package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-_iW9oEYc.mjs} +1 -1
- package/dist/client/{shop-GuMqnDL-.mjs → shop-CbdJlWOw.mjs} +3 -3
- package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-BqLbzUUn.mjs} +47 -28
- package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-BT0-zRqN.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-Cws0lnSb.mjs} +2 -2
- package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-0cNErhJT.mjs} +54 -24
- package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-COuQ2MhQ.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
- package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-DqI6U1BS.mjs} +11 -8
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CeVUVzGf.mjs} +44 -1
- package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-B0mjVhZr.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-B_hfgdAP.mjs} +6 -2
- package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Ct4A6iR1.mjs} +14 -16
- package/dist/client/{view-DOyZc-DF.mjs → view-Cj151w4m.mjs} +24 -9
- package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-B3gsXNnb.mjs} +283 -222
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-Dv4CW0AQ.mjs} +952 -138
- package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-B7WW58uE.mjs} +4774 -2040
- package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-BnJ1ughv.mjs} +71 -47
- package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-C7qWzAe4.mjs} +72 -40
- package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CYi4UHtG.mjs} +135 -30
- package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-CRgbU75r.mjs} +799 -17
- package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-B4c6U3ZU.mjs} +11 -1
- package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-DrUoRNu9.mjs} +24203 -9291
- package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-CEYp90mM.mjs} +3 -90
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-DnO2_c0A.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-B3PwHw2z.mjs} +46 -11
- package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-DrdQ4ier.mjs} +49 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-kuGRKaRL.mjs} +2008 -448
- package/dist/preview-next/container-responsive.css +469 -2
- package/dist/preview-next/editor-chrome.css +23 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-CwrXkLT3.mjs} +177 -43
- package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-C5ucphCJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DvbqYXdK.mjs} +46 -10
- package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-CAcf1lHT.mjs} +732 -176
- package/dist/server/{accordions-By_0Ykks.mjs → accordions-DjcsqjCK.mjs} +1 -1
- package/dist/server/{bindings-DMJH4bvo.mjs → bindings-CFw4M-gZ.mjs} +69 -248
- package/dist/server/{client-DrwlRNAH.mjs → client-D0XCgITW.mjs} +488 -119
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-CeMywaiD.mjs → constants-BZduY8jG.mjs} +31 -8
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/{loadContent-D0prFflT.mjs → loadContent-C-qyB8Tq.mjs} +11 -10
- package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-BpKKmi8E.mjs} +3 -3
- package/dist/server/lookMediaFrame-EFws7tAj.mjs +31835 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-wrcuWmgp.mjs → navigation-DYkuiNXa.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-DmZn4xUE.mjs} +1 -1
- package/dist/server/page-converter.mjs +18 -5
- package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-DRB7cUZ0.mjs} +674 -298
- package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-Uv1xDieJ.mjs} +13 -6
- package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-BdQF875z.mjs} +911 -516
- package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CwcWZL7u.mjs} +3 -3
- package/dist/server/{portal-pG_uhsI2.mjs → portal-BQ8qiQnk.mjs} +22 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-B51QZVNe.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-CppDAfJW.mjs} +4 -4
- package/dist/server/{registry-Cc88-23f.mjs → registry-Bf4W8Qa7.mjs} +7585 -24378
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +10 -10
- package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-DMHAZooQ.mjs} +2 -2
- package/dist/server/{expandPalette-ehuW8r2g.mjs → resolveButtonColourStates-BMtAAPzp.mjs} +1670 -1346
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-DKYfR518.mjs} +1 -1
- package/dist/server/{schema-CwfxQjc4.mjs → schema-DGaihVwp.mjs} +300 -29
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-CRvmreX7.mjs} +40 -16
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-mcy2E1Yd.mjs} +2 -2
- package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-B2qFOUwZ.mjs} +4 -5
- package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
- package/dist/server/{types-BKaBZFjD.mjs → types-C_S0pWbR.mjs} +487 -9
- package/dist/server/{validation-BovmbS8N.mjs → validation-CUtNT_EZ.mjs} +14 -10
- package/dist/server/{version-hws4hgyX.mjs → version-DebJQ4zn.mjs} +1 -1
- package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
- package/dist/styles/index.css +2987 -168
- package/package.json +1 -1
- package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
- package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
- package/dist/client/types-BEaKfam_.mjs +0 -778
- package/dist/server/customCss-C9kgPHvr.mjs +0 -247
- package/dist/server/lookMediaFrame-H0fi4bJk.mjs +0 -2701
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-D0iRg7p2.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
5
|
-
import { Io as RichText, as as renderAudio, is as mediaImageHostProps, ns as MediaPlaceholder, os as renderVideo, rs as computeMediaTransformStyle, ts as ImagePresets, us as resolveMediaNodeResponsiveImage } from "../wizardSteps-
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import { h as Text } from "../timetableModel-
|
|
9
|
-
import {
|
|
10
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
11
|
-
import "../accessibleSurfaces-
|
|
12
|
-
import {
|
|
5
|
+
import { Io as RichText, as as renderAudio, is as mediaImageHostProps, ns as MediaPlaceholder, os as renderVideo, rs as computeMediaTransformStyle, ts as ImagePresets, us as resolveMediaNodeResponsiveImage } from "../wizardSteps-B3gsXNnb.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-B7ckDuOC.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-DlPfn4YG.mjs";
|
|
8
|
+
import { h as Text } from "../timetableModel-DqI6U1BS.mjs";
|
|
9
|
+
import { Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding, Gn as ICON_CONFIG, Ht as resolveAccordionIconStyle, It as splitPositioningClasses, Nt as HeaderSectionFrame, Pt as composeHeaderSectionWrapperClassName, Vt as accordionIconColorStyle, jt as resolveEventDetailsPresentation, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, rt as WeeklySlotAvailabilityView, t as serverComponentRegistry, vt as LocationMapSSR, zt as accordionItemPartSlots } from "../registry.server-CI63JVHW.mjs";
|
|
10
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-lCPfX-xe.mjs";
|
|
11
|
+
import "../accessibleSurfaces-CqroimVQ.mjs";
|
|
12
|
+
import { O as clsx } from "../ThemedButton-C4rCsPCt.mjs";
|
|
13
13
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { t as ShopClient } from "../shop.client-
|
|
16
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-Jt9hDHdh.mjs";
|
|
15
|
+
import { n as useEditorParts, t as ShopClient } from "../shop.client-0cNErhJT.mjs";
|
|
16
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-DgfNtcgW.mjs";
|
|
17
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-B0mjVhZr.mjs";
|
|
18
18
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
19
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
20
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
21
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
22
|
-
import { t as CartClient } from "../cart.client-
|
|
23
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
24
|
-
import { t as GiftingClient } from "../gifting.client
|
|
25
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
26
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
27
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
28
|
-
import { t as FormNodeClient } from "../form.client-
|
|
29
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
30
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
19
|
+
import { t as CarouselNodeClient } from "../carousel.client-DKWqVHHh.mjs";
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-wCz1qcUY.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-D9MP8hvH.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-BQm06qNw.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-bSv4cc5z.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client--zAjnY5N.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-CGcDE9aE.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-xFKRDLwC.mjs";
|
|
27
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-Ct1B3xI4.mjs";
|
|
28
|
+
import { t as FormNodeClient } from "../form.client-DVDB7hY6.mjs";
|
|
29
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-BxA1PsdS.mjs";
|
|
30
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CFLWxjxR.mjs";
|
|
31
31
|
import * as React$1 from "react";
|
|
32
32
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1183,8 +1183,10 @@ const FALLBACK_IMAGE_DATA_URL = "data:image/svg+xml;charset=utf-8," + encodeURIC
|
|
|
1183
1183
|
<circle cx="320" cy="275" r="26"/>
|
|
1184
1184
|
</g>
|
|
1185
1185
|
</svg>`);
|
|
1186
|
-
const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
1187
|
-
const
|
|
1186
|
+
const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface, "data-photo-shape": photoShape, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
1187
|
+
const contextImageResolveContext = useImageResolveContextOptional();
|
|
1188
|
+
const markPart = useEditorParts();
|
|
1189
|
+
const imageResolveContext = mergeResolveImageUrlContexts(explicitImageResolveContext, contextImageResolveContext);
|
|
1188
1190
|
if (!value) return null;
|
|
1189
1191
|
switch (value.type) {
|
|
1190
1192
|
case "video": return renderVideo(value, className, style, imageResolveContext, { playback: videoPlayback });
|
|
@@ -1224,11 +1226,13 @@ const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface,
|
|
|
1224
1226
|
loading,
|
|
1225
1227
|
fetchPriority,
|
|
1226
1228
|
"data-slot": dataSlot,
|
|
1227
|
-
"data-surface": dataSurface
|
|
1229
|
+
"data-surface": dataSurface,
|
|
1230
|
+
"data-photo-shape": photoShape
|
|
1228
1231
|
}, computedStyle),
|
|
1229
1232
|
src: imageUrl,
|
|
1230
1233
|
srcSet: responsive?.srcSet,
|
|
1231
1234
|
sizes: responsive?.sizes,
|
|
1235
|
+
...fieldPath ? markPart(fieldPath) : {},
|
|
1232
1236
|
onError: handleImageError
|
|
1233
1237
|
});
|
|
1234
1238
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, J as
|
|
4
|
-
import {
|
|
5
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
6
|
-
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-
|
|
7
|
-
import {
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Io as RichText$2, Ms as resolveDateRuntimeContext, Ns as sanitizeHref, cs as resolveImageUrl$1, js as readRuntimeNow, ls as resolveImageUrlWithContext$1, rs as computeMediaTransformStyle, ss as resolveImageSourceSetWithContext$1 } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-DiGibcZI.mjs";
|
|
6
|
+
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-DB5KODiu.mjs";
|
|
7
|
+
import { q as parseFieldDefinition } from "./registry.server-CI63JVHW.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
9
9
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-COfQolI3.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { B as RichTextDocSchema } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { c as logger } from "./islands-dMh0Oxli.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
5
5
|
function parseRichTextDoc(value) {
|
|
6
6
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { to as createHostedBlockApiConfig } from "./wizardSteps-
|
|
2
|
+
import { to as createHostedBlockApiConfig } from "./wizardSteps-B3gsXNnb.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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as parseSurfaceTree } from "./accessibleSurfaces-CqroimVQ.mjs";
|
|
3
3
|
//#region ../site-renderer/src/runtimeResponse.ts
|
|
4
4
|
/** Recreate owner-produced rendering values at a JSON boundary, never trust copied proofs. */
|
|
5
5
|
function restoreRuntimeResponse(serialized) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as ShopClient } from "./shop.client-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as ShopClient } from "./shop.client-0cNErhJT.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B8lrKGPw.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-COuQ2MhQ.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-
|
|
4
|
-
import { Io as RichText, Jr as buildProductCardDisplay, Yr as buildProductDetailDisplay, Zr as formatCommercePrice, ai as buildProductCartItem, ci as productItemKey, oi as deriveCommerceCheckoutState } from "./wizardSteps-
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
8
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
-
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
11
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
12
|
-
import {
|
|
2
|
+
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Io as RichText, Jr as buildProductCardDisplay, Yr as buildProductDetailDisplay, Zr as formatCommercePrice, ai as buildProductCartItem, ci as productItemKey, oi as deriveCommerceCheckoutState } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDVP_HeK.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-lCPfX-xe.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Jt9hDHdh.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-pzkGVkgG.mjs";
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CwlaMl3W.mjs";
|
|
11
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-BT0-zRqN.mjs";
|
|
12
|
+
import { n as consumeSearchParam, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CeVUVzGf.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
15
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
16
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
17
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
14
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-Cj151w4m.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-Ce3Gyin_.mjs";
|
|
16
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-Cws0lnSb.mjs";
|
|
17
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import { useEffect, useState } from "react";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -98,7 +98,7 @@ function shopCheckoutReducer(state, action) {
|
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region ../blocks/src/system/runtime/nodes/shop-cart-discount-ui.ts
|
|
100
100
|
const CART_DISCOUNT_UNAVAILABLE = { type: "unavailable" };
|
|
101
|
-
function useCartDiscountUiState(api, plan) {
|
|
101
|
+
function useCartDiscountUiState(api, plan, revision = 0) {
|
|
102
102
|
const [discountUiState, setDiscountUiState] = useState(CART_DISCOUNT_UNAVAILABLE);
|
|
103
103
|
useEffect(() => {
|
|
104
104
|
let cancelled = false;
|
|
@@ -120,7 +120,11 @@ function useCartDiscountUiState(api, plan) {
|
|
|
120
120
|
return () => {
|
|
121
121
|
cancelled = true;
|
|
122
122
|
};
|
|
123
|
-
}, [
|
|
123
|
+
}, [
|
|
124
|
+
api,
|
|
125
|
+
plan,
|
|
126
|
+
revision
|
|
127
|
+
]);
|
|
124
128
|
return discountUiState;
|
|
125
129
|
}
|
|
126
130
|
//#endregion
|
|
@@ -196,6 +200,7 @@ function ProductDetailController(props) {
|
|
|
196
200
|
className: props.render.display.className,
|
|
197
201
|
emptyMessage: props.render.display.state === "empty" ? props.render.display.emptyMessage : void 0,
|
|
198
202
|
showSummary: props.render.hydration.showSummary,
|
|
203
|
+
showBody: props.render.hydration.showBody,
|
|
199
204
|
addButtonText: props.render.hydration.addButtonText
|
|
200
205
|
}, variantId), [
|
|
201
206
|
props.render.display,
|
|
@@ -203,7 +208,7 @@ function ProductDetailController(props) {
|
|
|
203
208
|
selectedProduct,
|
|
204
209
|
variantId
|
|
205
210
|
]);
|
|
206
|
-
const bodyDoc = display.state === "ready" &&
|
|
211
|
+
const bodyDoc = display.state === "ready" && display.body ? coerceRichTextDoc(display.body, "block-runtime:product-detail:body") : null;
|
|
207
212
|
return /* @__PURE__ */ jsx(ProductDetailView, {
|
|
208
213
|
display,
|
|
209
214
|
gallery: display.state === "ready" ? /* @__PURE__ */ jsx(ProductGalleryFrameView, {
|
|
@@ -296,10 +301,11 @@ function ShopCheckoutNoticeView(props) {
|
|
|
296
301
|
children: succeeded ? "Payment successful." : "Checkout cancelled."
|
|
297
302
|
}), succeeded && props.demoEmailSuppressed ? /* @__PURE__ */ jsx(DemoBookingPortalAccess, { email: props.email }) : null] });
|
|
298
303
|
}
|
|
299
|
-
function cartCheckoutForm(form, discountApply, uiState) {
|
|
304
|
+
function cartCheckoutForm(form, discountApply, uiState, quotedAutomaticDiscountCode) {
|
|
300
305
|
return checkoutFormForDiscountUiState({
|
|
301
306
|
...form,
|
|
302
|
-
discountCode: getAppliedDiscountCode(discountApply) ?? ""
|
|
307
|
+
discountCode: getAppliedDiscountCode(discountApply) ?? "",
|
|
308
|
+
quotedAutomaticDiscountCode
|
|
303
309
|
}, uiState);
|
|
304
310
|
}
|
|
305
311
|
function checkoutFailureMessage(error) {
|
|
@@ -354,7 +360,13 @@ function CheckoutController(props) {
|
|
|
354
360
|
const display = React$1.useMemo(() => getShopDisplayForItems(props.render, cart.items), [cart.items, props.render]);
|
|
355
361
|
const checkoutState = React$1.useMemo(() => deriveCommerceCheckoutState({ items: cart.items }), [cart.items]);
|
|
356
362
|
const discountAvailabilityPlan = React$1.useMemo(() => planCartDiscountAvailabilityRequests(checkoutState), [checkoutState]);
|
|
357
|
-
const
|
|
363
|
+
const [discountRevision, setDiscountRevision] = React$1.useState(0);
|
|
364
|
+
const discountUiState = useCartDiscountUiState(api, discountAvailabilityPlan, discountRevision);
|
|
365
|
+
const automaticPreview = useAutomaticDiscountPreview({
|
|
366
|
+
api,
|
|
367
|
+
email: state.form.email,
|
|
368
|
+
lines: discountAvailabilityPlan.ok ? discountAvailabilityPlan.value : []
|
|
369
|
+
});
|
|
358
370
|
const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
|
|
359
371
|
React$1.useEffect(() => {
|
|
360
372
|
if (discountUiState.type === "manual-allowed") return;
|
|
@@ -394,7 +406,7 @@ function CheckoutController(props) {
|
|
|
394
406
|
const { successUrl, cancelUrl } = buildCheckoutReturnUrls("checkout", CHECKOUT_ANCHOR_ID);
|
|
395
407
|
const command = planUnifiedCheckoutRequest({
|
|
396
408
|
checkout: checkoutState,
|
|
397
|
-
form: cartCheckoutForm(state.form, discountApply, discountUiState),
|
|
409
|
+
form: cartCheckoutForm(state.form, discountApply, discountUiState, automaticPreview.quotedAutomaticDiscountCode),
|
|
398
410
|
successUrl,
|
|
399
411
|
cancelUrl
|
|
400
412
|
});
|
|
@@ -414,11 +426,15 @@ function CheckoutController(props) {
|
|
|
414
426
|
cart.clear();
|
|
415
427
|
window.location.href = successUrl;
|
|
416
428
|
} catch (submitError) {
|
|
417
|
-
if (isDiscountCodeRefusal(submitError))
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
429
|
+
if (isDiscountCodeRefusal(submitError)) {
|
|
430
|
+
setDiscountRevision((value) => value + 1);
|
|
431
|
+
automaticPreview.refresh();
|
|
432
|
+
dispatchDiscountApply({
|
|
433
|
+
type: "applyRejected",
|
|
434
|
+
reason: "invalid_or_not_applicable",
|
|
435
|
+
message: submitError.message
|
|
436
|
+
});
|
|
437
|
+
}
|
|
422
438
|
dispatch({
|
|
423
439
|
type: "submitFailed",
|
|
424
440
|
message: checkoutFailureMessage(submitError)
|
|
@@ -491,7 +507,10 @@ function CheckoutController(props) {
|
|
|
491
507
|
isApplying: isDiscountApplyInFlight(discountApply),
|
|
492
508
|
disabled: state.submission === "submitting"
|
|
493
509
|
}) : null,
|
|
494
|
-
/* @__PURE__ */ jsx(CartDiscountNotice, { uiState: discountUiState
|
|
510
|
+
/* @__PURE__ */ jsx(CartDiscountNotice, { uiState: discountUiState.type === "auto-only" ? {
|
|
511
|
+
type: "auto-only",
|
|
512
|
+
autoAppliedDiscount: automaticPreview.discount
|
|
513
|
+
} : discountUiState }),
|
|
495
514
|
state.feedback.tag === "error" ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
496
515
|
tone: "error",
|
|
497
516
|
className: "rb-caption status-muted",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-
|
|
2
|
+
import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-B3gsXNnb.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutRoute.ts
|
|
5
5
|
function resolveDedicatedCheckoutTarget(pathname) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-pzkGVkgG.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
|
|
5
5
|
const initialDiscountApplyState = {
|
|
6
6
|
isOpen: false,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import { Hi as getShopSuccessCopy, Qr as formatInterval, Wr as appliedDiscountHint, Zr as formatCommercePrice } from "./wizardSteps-
|
|
2
|
+
import { Q as shopProductPresentation } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Hi as getShopSuccessCopy, Qr as formatInterval, Wr as appliedDiscountHint, Zr as formatCommercePrice } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
5
|
import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
9
|
-
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDVP_HeK.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-lCPfX-xe.mjs";
|
|
8
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-pzkGVkgG.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { r as consumeSearchParams, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CeVUVzGf.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B_hfgdAP.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
21
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
22
|
-
import { n as formatEntitlementEnd } from "./dateFormatting-
|
|
23
|
-
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-Cj151w4m.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-Ce3Gyin_.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-Cws0lnSb.mjs";
|
|
21
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
22
|
+
import { n as formatEntitlementEnd } from "./dateFormatting-HvfmS_cH.mjs";
|
|
23
|
+
import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
26
26
|
const alignmentClasses = {
|
|
@@ -39,6 +39,13 @@ function ActionRow({ children, className, align = "start" }) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
|
+
//#region ../blocks/src/system/runtime/editorParts.client.tsx
|
|
43
|
+
const EditorPartsContext = createContext(noEditorParts);
|
|
44
|
+
/** How a client renderer marks a part: by its field on the editor's canvas, and not at all elsewhere. */
|
|
45
|
+
function useEditorParts() {
|
|
46
|
+
return useContext(EditorPartsContext);
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
42
49
|
//#region ../blocks/src/system/runtime/nodes/shop.state.ts
|
|
43
50
|
const EMPTY_FORM = {
|
|
44
51
|
email: "",
|
|
@@ -200,6 +207,7 @@ function buildDirectShopCheckoutPlan(input) {
|
|
|
200
207
|
cancelUrl.searchParams.set("checkout", "cancelled");
|
|
201
208
|
const form = {
|
|
202
209
|
...input.checkout.form,
|
|
210
|
+
quotedAutomaticDiscountCode: input.quotedAutomaticDiscountCode,
|
|
203
211
|
discountCode: input.manualCodeEntryAllowed ? getAppliedDiscountCode(input.discountApply) ?? "" : ""
|
|
204
212
|
};
|
|
205
213
|
return {
|
|
@@ -229,6 +237,7 @@ async function submitDirectShopCheckout(input) {
|
|
|
229
237
|
currentUrl: window.location.href,
|
|
230
238
|
confirmDuplicate: input.confirmDuplicate,
|
|
231
239
|
discountApply: input.discountApply,
|
|
240
|
+
quotedAutomaticDiscountCode: input.quotedAutomaticDiscountCode,
|
|
232
241
|
manualCodeEntryAllowed: input.manualCodeEntryAllowed
|
|
233
242
|
});
|
|
234
243
|
if (!attempt.command.ok) {
|
|
@@ -320,6 +329,7 @@ function PassProductCard(props) {
|
|
|
320
329
|
});
|
|
321
330
|
}
|
|
322
331
|
function PurchasablePassCard(props) {
|
|
332
|
+
const markPart = useEditorParts();
|
|
323
333
|
const { product } = props.action;
|
|
324
334
|
const selection = product.teamMemberSelection;
|
|
325
335
|
const [chosen, setChosen] = useState(() => initialPassTeamMember(selection));
|
|
@@ -351,6 +361,7 @@ function PurchasablePassCard(props) {
|
|
|
351
361
|
size: "md",
|
|
352
362
|
extraClassName: "shop__cta",
|
|
353
363
|
label: props.action.label,
|
|
364
|
+
editorPart: markPart("buyButtonText"),
|
|
354
365
|
onClick: buy
|
|
355
366
|
})] })
|
|
356
367
|
});
|
|
@@ -400,8 +411,16 @@ function getCheckoutDiscountApplyLine(checkout) {
|
|
|
400
411
|
currency: checkout.item.product.currency
|
|
401
412
|
};
|
|
402
413
|
}
|
|
414
|
+
/** The buyer and exact product being quoted, including a quote with no automatic discount. */
|
|
415
|
+
function directShopAutomaticDiscountInput(checkout) {
|
|
416
|
+
return {
|
|
417
|
+
email: checkout?.form.email ?? "",
|
|
418
|
+
lines: checkout ? [getCheckoutDiscountApplyLine(checkout)] : []
|
|
419
|
+
};
|
|
420
|
+
}
|
|
403
421
|
function PassesMembershipsController({ render }) {
|
|
404
422
|
const api = useBlockApi();
|
|
423
|
+
const markPart = useEditorParts();
|
|
405
424
|
const [state, dispatch] = React.useReducer(shopPassesMembershipsReducer, initialShopPassesMembershipsState);
|
|
406
425
|
const [discountApply, dispatchDiscountApply] = React.useReducer(discountApplyReducer, initialDiscountApplyState);
|
|
407
426
|
const [modalPortalRoot, setModalPortalRoot] = useState(null);
|
|
@@ -410,8 +429,7 @@ function PassesMembershipsController({ render }) {
|
|
|
410
429
|
const emailInputRef = useRef(null);
|
|
411
430
|
const focusedCheckoutKeyRef = useRef(null);
|
|
412
431
|
const checkout = getOpenCheckout(state);
|
|
413
|
-
const display = render
|
|
414
|
-
const hydration = render.hydration;
|
|
432
|
+
const { display, hydration } = render;
|
|
415
433
|
const siteTerms = useSiteTermsAgreement({
|
|
416
434
|
terms: hydration.siteTerms,
|
|
417
435
|
context: { kind: "purchase" }
|
|
@@ -431,6 +449,10 @@ function PassesMembershipsController({ render }) {
|
|
|
431
449
|
}, [checkout]),
|
|
432
450
|
subtotalCents: checkout?.item.product.price
|
|
433
451
|
});
|
|
452
|
+
const automaticPreview = useAutomaticDiscountPreview({
|
|
453
|
+
api,
|
|
454
|
+
...directShopAutomaticDiscountInput(checkout)
|
|
455
|
+
});
|
|
434
456
|
const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
|
|
435
457
|
const handleBuyPass = useCallback((pass, teamMember) => {
|
|
436
458
|
dispatch({
|
|
@@ -511,17 +533,23 @@ function PassesMembershipsController({ render }) {
|
|
|
511
533
|
api: siteTerms.api,
|
|
512
534
|
discountApply,
|
|
513
535
|
manualCodeEntryAllowed: discountUi.manualCodeEntryAllowed,
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
536
|
+
quotedAutomaticDiscountCode: automaticPreview.quotedAutomaticDiscountCode,
|
|
537
|
+
onDiscountRefused: (message) => {
|
|
538
|
+
dispatchDiscountApply({
|
|
539
|
+
type: "applyRejected",
|
|
540
|
+
reason: "invalid_or_not_applicable",
|
|
541
|
+
message
|
|
542
|
+
});
|
|
543
|
+
discountUi.refresh();
|
|
544
|
+
automaticPreview.refresh();
|
|
545
|
+
},
|
|
519
546
|
dispatch
|
|
520
547
|
}), [
|
|
521
548
|
siteTerms.api,
|
|
522
549
|
checkout,
|
|
523
550
|
discountApply,
|
|
524
|
-
discountUi.manualCodeEntryAllowed
|
|
551
|
+
discountUi.manualCodeEntryAllowed,
|
|
552
|
+
automaticPreview.quotedAutomaticDiscountCode
|
|
525
553
|
]);
|
|
526
554
|
const applyDiscountCode = useDiscountApply({
|
|
527
555
|
api,
|
|
@@ -544,6 +572,7 @@ function PassesMembershipsController({ render }) {
|
|
|
544
572
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
545
573
|
ref: shopRootRef,
|
|
546
574
|
children: /* @__PURE__ */ jsx(PassesMembershipsSectionView, {
|
|
575
|
+
part: markPart,
|
|
547
576
|
display,
|
|
548
577
|
presentation: hydration.presentation,
|
|
549
578
|
Carousel: CarouselNodeClient,
|
|
@@ -576,6 +605,7 @@ function PassesMembershipsController({ render }) {
|
|
|
576
605
|
size: "md",
|
|
577
606
|
extraClassName: "shop__cta",
|
|
578
607
|
label: action.label,
|
|
608
|
+
editorPart: markPart("subscribeButtonText"),
|
|
579
609
|
onClick: () => handleSubscribe(action.product)
|
|
580
610
|
})
|
|
581
611
|
}, membershipDisplay.id);
|
|
@@ -771,4 +801,4 @@ function PassesMembershipsController({ render }) {
|
|
|
771
801
|
}) : null] });
|
|
772
802
|
}
|
|
773
803
|
//#endregion
|
|
774
|
-
export { ShopClient as t };
|
|
804
|
+
export { useEditorParts as n, ShopClient as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-lCPfX-xe.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-ZSPcJWx1.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
3
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-CY6u5sQa.mjs";
|
|
4
4
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
5
5
|
import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
6
6
|
export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
|
|
@@ -1669,23 +1669,6 @@ const arrangementModes = [
|
|
|
1669
1669
|
function isArrangementMode(value) {
|
|
1670
1670
|
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
1671
1671
|
}
|
|
1672
|
-
/** Every transition that draws something; `none` is the absence of a join. */
|
|
1673
|
-
const decorativeTransitionIntentValues = [
|
|
1674
|
-
"soft-fade-short",
|
|
1675
|
-
"soft-fade-long",
|
|
1676
|
-
"soft-fade-expansive",
|
|
1677
|
-
"wave-edge",
|
|
1678
|
-
"wave-edge-balanced",
|
|
1679
|
-
"wave-edge-gentle",
|
|
1680
|
-
"wave-edge-bold",
|
|
1681
|
-
"wave-edge-drift",
|
|
1682
|
-
"wave-edge-echo",
|
|
1683
|
-
"arc-edge-echo",
|
|
1684
|
-
"arc-edge-bulge",
|
|
1685
|
-
"angle-edge",
|
|
1686
|
-
"angle-edge-subtle",
|
|
1687
|
-
"angle-edge-steep"
|
|
1688
|
-
];
|
|
1689
1672
|
const tileTreatmentValues = [
|
|
1690
1673
|
"default",
|
|
1691
1674
|
"quiet",
|
|
@@ -2078,6 +2061,16 @@ const eventCalendarVariantMeaning = {
|
|
|
2078
2061
|
week: "Week"
|
|
2079
2062
|
}
|
|
2080
2063
|
};
|
|
2064
|
+
/**
|
|
2065
|
+
* What a Look fixes on the calendar: it shows the month, so which views the
|
|
2066
|
+
* calendar offers and which it opens on aren't the owner's to choose. The
|
|
2067
|
+
* page applies it under a Look, and the editor reads it to leave those
|
|
2068
|
+
* choices out.
|
|
2069
|
+
*/
|
|
2070
|
+
const eventCalendarLookViews = {
|
|
2071
|
+
calendarTabViews: "month",
|
|
2072
|
+
defaultCalendarView: "month"
|
|
2073
|
+
};
|
|
2081
2074
|
/** Weekly lists share the arrangement-Look admission used by calendar arrangements. */
|
|
2082
2075
|
function eventCalendarListGroupingDecision(input) {
|
|
2083
2076
|
const available = input.arrangementLooks && resolveEventCalendarReadPlan(input).mode === "list";
|
|
@@ -2819,4 +2812,4 @@ function assertNever(value, message) {
|
|
|
2819
2812
|
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
2820
2813
|
}
|
|
2821
2814
|
//#endregion
|
|
2822
|
-
export {
|
|
2815
|
+
export { mediaTypeDiscriminants as $, mapDrawingSchema as $t, eventCalendarListGroupingDecision as A, formatCurrencyAmount as An, publicMembershipProductSchema as At, RichTextDocSchema as B, parseEventSeriesId as Bn, publicEventLoaderQuerySchemaShape as Bt, publicEventsArraySchema as C, toUtcIsoDateTimeString as Cn, unsafeAsPositiveCheckoutQuantity as Ct, isBookingRequirementConsentFieldId as D, parsePositiveCents as Dn, eventCalendarDisplayModeValues as Dt, bookingConsentCarrierSchema as E, toBookingTimeZone as En, eventCalendarDefaultViewValues as Et, isEventCalendarDefaultView as F, unsafeAsAppointmentResourceId as Fn, calendarMonthDate as Ft, externalMediaSchema as G, normalizeLocationAddressText as Gt, createRichTextDoc as H, unsafeAsEventCategoryId as Hn, EVENT_PRESET_VALUES as Ht, isEventCalendarDisplayMode as I, unsafeAsAppointmentServiceId as In, calendarWindowQuerySchema as It, persistableMediaSchema as J, publicLocationSchema as Jt, imageMediaSchema as K, parseLocationValue as Kt, isEventCalendarListLayout as L, parseSiteTermsVersionId as Ln, eventScheduleScopeValues as Lt, eventCalendarLookViews as M, parseAppointmentId as Mn, publicProductSchema as Mt, eventCalendarVariantMeaning as N, parseAppointmentServiceId as Nn, purchasablePublicMembershipProductSchema as Nt, toBookingRequirementConsentField as O, parsePositiveMoneyInputToCents as On, eventCalendarListLayoutCompatibleDisplayModeValues as Ot, eventListArrangementValues as P, parseClientArrangementId as Pn, purchasablePublicPassProductSchema as Pt, isDisplayMediaKind as Q, trimmedStringOrNull as Qt, normalizeEventCalendarDisplayMode as R, parseAttendeeId as Rn, eventSurfacePresetValues as Rt, publicEventSchema as S, parseUtcIsoDateTimeString as Sn, roomChoicesSchema as St, blockBookingConsentSchema as T, resolveBookingTimeZoneId as Tn, normalizeCurrencyCode as Tt, isRichTextDoc as U, WHOLE_SERIES_EVENT_PRESET_VALUES as Ut, buildRichTextSchema as V, parseEventSeriesRegistrationId as Vn, isRecord as Vt, assetMediaSchema as W, locationValueSchema as Wt, videoMediaSchema as X, capitalize as Xt, runtimeMediaSchema as Y, toLocationCoordinates as Yt, PUBLIC_FILE_FIELD_KINDS as Z, hasText as Zt, publicMembershipProductCollectionSchema as _, formatLocalScheduleDate as _n, unknownKind as _t, clearWorkflowFeedback as a, formatDateTimeRange as an, eyebrowTreatmentValues as at, publicEventDestinationSchema as b, parseBookingLocalDate as bn, placesFor as bt, blockSiteTermsSchema as c, formatTime as cn, isArrangementMode as ct, calendarQueryKey as d, inferSiteDateLocale as dn, bookingQuestionsAnswerValueSchema as dt, buildBookingUtcDateWindow as en, accordionIconColorTokenValues as et, calendarWindowBounds as f, resolveBookingDisplayContext as fn, bookingQuestionsDocumentAnswerValueSchema as ft, resolveCalendarReadProfile as g, compareLocalScheduleDates as gn, exactSchema as gt, planCalendarMonthRanges as h, addLocalScheduleDays as hn, evolvingSchema as ht, okWith as i, formatDateTime as in, eventListTreatmentValues as it, eventCalendarListLayoutOptions as j, formatGiftCardAmountLabel as jn, publicPassProductSchema as jt, beforeBookingQuestionsPresentationSchema as k, toNonNegativeCents as kn, eventCalendarListLayoutValues as kt, calendarMonthKey as l, formatTimeRange as ln, tileTreatmentValues as lt, calendarWindowPageSchema as m, toScheduledBookingDateTime as mn, portalBeforeYouComeTaskSchema as mt, err as n, formatDate as nn, accordionIconSetValues as nt, reportWorkflowError as o, formatSiteInstantDate as on, headingDecorationColorTokenValues as ot, calendarWindowMonths as p, formatBookingCompactEnglishTime as pn, bookingQuestionsTaskDetailSchema as pt, mediaSchema as q, projectPublicLocation as qt, ok as r, formatDateRange as rn, arrangementModes as rt, reportWorkflowSuccess as s, formatSiteInstantTime as sn, headingDecorationOverrideValues as st, assertNever as t, validateBookingPaymentOptionKinds as tn, accordionIconMotionValues as tt, calendarPageResponseError as u, formatTimeZoneCityLabel as un, visibleHeadingDecorationFamilyValues as ut, publicPassProductCollectionSchema as v, getBookingLocalDateKey as vn, unknownTag as vt, blockBookingPaymentTermsSchema as w, resolveBookingBusinessTimeZone as wn, allocateReductionCents as wt, publicEventPricingSchema as x, parseLocalScheduleTime as xn, reviewedRoomsSchema as xt, eventVenueDrawingSchema as y, getLocalScheduleDate as yn, ROOM_PLACES as yt, resolveEventCalendarReadPlan as z, parseEventOfferingId as zn, eventSurfaceScopeValues as zt };
|