@riverbankcms/sdk 0.180.0 → 0.182.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/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
- package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
- package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
- package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
- package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.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 +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/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 -2
- package/dist/_dts/sdk/src/index.d.ts +104 -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 +83 -52
- 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 +43 -56
- package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
- 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 +1 -1
- package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
- package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
- package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
- package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
- package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
- package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
- package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
- package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
- package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
- package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
- package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
- package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
- package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
- package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
- package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
- package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
- package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
- package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
- package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +17 -11
- package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
- package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
- package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +106 -43
- package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
- package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
- package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
- package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
- package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
- package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
- package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
- package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
- package/dist/client/gifting/client.mjs +32 -29
- package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
- package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
- package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
- package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
- package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
- package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
- package/dist/client/portal/client.mjs +12202 -7166
- package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
- package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
- package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
- package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -8
- package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
- package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
- package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
- package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
- package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-Al4ooTl_.mjs +164 -0
- package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
- package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
- package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
- package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
- package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
- package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
- package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
- package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
- package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
- package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +203 -174
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
- package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
- package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
- package/dist/server/accordions-By_0Ykks.mjs +111 -0
- package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
- package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-CeMywaiD.mjs +1485 -0
- package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
- package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
- package/dist/server/manifest.mjs +36 -25
- package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
- package/dist/server/media-BRmYrnzb.mjs +31 -0
- package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
- package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +134 -81
- package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
- package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
- package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
- package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
- package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
- package/dist/server/portal.mjs +3 -3
- package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
- package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
- package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
- 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 -9
- package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
- package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
- package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
- package/dist/server/theme-bridge.mjs +34 -8
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
- package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
- package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
- package/dist/server/types-BKaBZFjD.mjs +1085 -0
- package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
- package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/server/video-Cdr3wh-q.mjs +272 -0
- package/dist/styles/index.css +1098 -1885
- package/package.json +2 -1
- package/dist/_dts/index-B0_2-65A.d.ts +0 -101
- package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
- package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
- package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
- package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
- package/dist/server/constants-Cj7hfbrA.mjs +0 -41
- package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
- package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
package/dist/server/next.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as rethrowFrameworkSignal } from "./responseMedia-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { $s as inferSiteDateLocale, lc as toUtcIsoDateTimeString, uc as resolveBookingBusinessTimeZone } from "./registry-Cc88-23f.mjs";
|
|
2
|
+
import { a as rethrowFrameworkSignal } from "./responseMedia-IfH65QAH.mjs";
|
|
3
|
+
import { a as PORTAL_ENTRY_COOKIE, d as isServerPortalTarget, f as parsePortalLocation, u as CUSTOMER_PORTAL_PATH } from "./constants-CeMywaiD.mjs";
|
|
4
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-CG8O31Eo.mjs";
|
|
5
|
+
import { h as createBearerAPIClient, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient$1 } from "./client-DrwlRNAH.mjs";
|
|
5
6
|
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
6
7
|
import { c as unwrapResponse, i as ApiRequestError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
|
|
7
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
8
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D0prFflT.mjs";
|
|
8
9
|
import { a as pageReadMissReason, c as toEntrySubrouteContext, i as contentNotFound, n as contentFound, s as resolvePageContent, t as RiverbankContentLoadError } from "./resolvePageContent-BWKUZUIn.mjs";
|
|
9
10
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
10
11
|
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
|
|
11
|
-
import { c as PORTAL_ENTRY_COOKIE } from "./constants-Cj7hfbrA.mjs";
|
|
12
12
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
13
|
-
import { c as
|
|
13
|
+
import { c as planPortalEntryPage, l as portalEntryFingerprint, s as decodePortalEntryCookieValue, t as getPortalToken, u as previewPortalEntryToken } from "./portal-pG_uhsI2.mjs";
|
|
14
14
|
import { t as toRoutingInfo } from "./contentTypeResolver-B9vy8BrF.mjs";
|
|
15
|
-
import { t as SDK_VERSION } from "./version-
|
|
15
|
+
import { t as SDK_VERSION } from "./version-hws4hgyX.mjs";
|
|
16
16
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
17
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
17
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-DUgCEH8z.mjs";
|
|
18
18
|
import { cache } from "react";
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1085,6 +1085,39 @@ function createRobots(options) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
//#endregion
|
|
1087
1087
|
//#region src/next/portal.tsx
|
|
1088
|
+
function portalHostContext(site, visit) {
|
|
1089
|
+
const timeZone = resolveBookingBusinessTimeZone(site.bookingTimeZone);
|
|
1090
|
+
return {
|
|
1091
|
+
dateContext: {
|
|
1092
|
+
locale: inferSiteDateLocale(timeZone),
|
|
1093
|
+
timeZone
|
|
1094
|
+
},
|
|
1095
|
+
now: toUtcIsoDateTimeString(visit.now.toISOString()),
|
|
1096
|
+
siteId: site.site.id,
|
|
1097
|
+
apiBaseUrl: visit.apiBaseUrl,
|
|
1098
|
+
portalToken: visit.portalToken,
|
|
1099
|
+
demoEmailSuppressed: site.demoEmailSuppressed === true,
|
|
1100
|
+
siteTitle: site.site.title,
|
|
1101
|
+
contactEmail: site.businessDetails?.contact?.email ?? null,
|
|
1102
|
+
businessPerson: site.bookingPerson ?? null,
|
|
1103
|
+
privacyPolicyHref: site.privacyPolicy?.enabled ? site.privacyPolicy.path : null
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
/** The client portal's props, from the host's context and the location the server parsed. */
|
|
1107
|
+
function portalClientProps(context, location) {
|
|
1108
|
+
return {
|
|
1109
|
+
dateContext: context.dateContext,
|
|
1110
|
+
now: context.now,
|
|
1111
|
+
siteId: context.siteId,
|
|
1112
|
+
apiBaseUrl: context.apiBaseUrl,
|
|
1113
|
+
portalToken: context.portalToken,
|
|
1114
|
+
demoEmailSuppressed: context.demoEmailSuppressed,
|
|
1115
|
+
siteTitle: context.siteTitle,
|
|
1116
|
+
businessPerson: context.businessPerson,
|
|
1117
|
+
privacyPolicyHref: context.privacyPolicyHref,
|
|
1118
|
+
initialLocation: location
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1088
1121
|
function accessFailure(error) {
|
|
1089
1122
|
if (error instanceof ApiRequestError) {
|
|
1090
1123
|
if (error.status === 401 || error.status === 403) return "login";
|
|
@@ -1104,26 +1137,31 @@ async function loadPortalDetail(context, load) {
|
|
|
1104
1137
|
return { kind: accessFailure(error) };
|
|
1105
1138
|
}
|
|
1106
1139
|
}
|
|
1107
|
-
function accessPage(context, kind, state,
|
|
1140
|
+
function accessPage(context, kind, state, returnTo) {
|
|
1108
1141
|
return /* @__PURE__ */ jsx(PortalAccessState, {
|
|
1109
1142
|
siteId: context.siteId,
|
|
1110
1143
|
apiBaseUrl: context.apiBaseUrl,
|
|
1111
1144
|
demoEmailSuppressed: context.demoEmailSuppressed,
|
|
1112
1145
|
kind,
|
|
1113
1146
|
state,
|
|
1114
|
-
|
|
1147
|
+
returnTo,
|
|
1148
|
+
siteTitle: context.siteTitle
|
|
1115
1149
|
});
|
|
1116
1150
|
}
|
|
1117
|
-
async function renderPortalTicketPage(context,
|
|
1151
|
+
async function renderPortalTicketPage(context, ref) {
|
|
1118
1152
|
const result = await loadPortalDetail(context, async (client) => unwrapResponse(await client({
|
|
1119
1153
|
endpoint: "portalGetEventTicket",
|
|
1120
|
-
params: { registrationId },
|
|
1154
|
+
params: { registrationId: ref.attendeeId },
|
|
1121
1155
|
options: { cache: "no-store" }
|
|
1122
1156
|
})).ticket);
|
|
1123
1157
|
return result.kind === "loaded" ? /* @__PURE__ */ jsx(PortalTicketView, {
|
|
1124
1158
|
ticket: result.value,
|
|
1159
|
+
bookingRef: ref,
|
|
1125
1160
|
dateContext: context.dateContext
|
|
1126
|
-
}) : accessPage(context, "ticket", result.kind,
|
|
1161
|
+
}) : accessPage(context, "ticket", result.kind, {
|
|
1162
|
+
page: "ticket",
|
|
1163
|
+
ref
|
|
1164
|
+
});
|
|
1127
1165
|
}
|
|
1128
1166
|
async function renderPortalDigitalProductPage(context, entitlementId) {
|
|
1129
1167
|
const result = await loadPortalDetail(context, async (client) => unwrapResponse(await client({
|
|
@@ -1131,7 +1169,10 @@ async function renderPortalDigitalProductPage(context, entitlementId) {
|
|
|
1131
1169
|
params: { entitlementId },
|
|
1132
1170
|
options: { cache: "no-store" }
|
|
1133
1171
|
})));
|
|
1134
|
-
if (result.kind !== "loaded") return accessPage(context, "digital-product", result.kind,
|
|
1172
|
+
if (result.kind !== "loaded") return accessPage(context, "digital-product", result.kind, {
|
|
1173
|
+
page: "download",
|
|
1174
|
+
entitlementId
|
|
1175
|
+
});
|
|
1135
1176
|
const detail = result.value;
|
|
1136
1177
|
if (detail.product.fulfillmentMode === "guarded_url" && detail.guardedHref && detail.product.accessState === "active") redirect(detail.guardedHref);
|
|
1137
1178
|
return /* @__PURE__ */ jsx(PortalDigitalProductView, {
|
|
@@ -1149,16 +1190,20 @@ async function renderPortalDigitalProductFilePage(context, entitlementId, assetI
|
|
|
1149
1190
|
options: { cache: "no-store" }
|
|
1150
1191
|
})));
|
|
1151
1192
|
if (result.kind === "loaded") redirect(result.value.signedUrl);
|
|
1152
|
-
return accessPage(context, "file", result.kind,
|
|
1193
|
+
return accessPage(context, "file", result.kind, {
|
|
1194
|
+
page: "download_file",
|
|
1195
|
+
entitlementId,
|
|
1196
|
+
assetId
|
|
1197
|
+
});
|
|
1153
1198
|
}
|
|
1154
1199
|
/**
|
|
1155
1200
|
* The Continue page's content, on the site's own layout. Reading this page authenticates nobody and
|
|
1156
1201
|
* consumes nothing: its form POSTs to the callback.
|
|
1157
1202
|
*/
|
|
1158
|
-
async function renderPortalEntryContent(context,
|
|
1203
|
+
async function renderPortalEntryContent(context, reason) {
|
|
1159
1204
|
const entry = decodePortalEntryCookieValue((await cookies()).get(PORTAL_ENTRY_COOKIE)?.value);
|
|
1160
1205
|
const plan = planPortalEntryPage({
|
|
1161
|
-
|
|
1206
|
+
reason,
|
|
1162
1207
|
pending: entry ? {
|
|
1163
1208
|
entry,
|
|
1164
1209
|
fingerprint: await portalEntryFingerprint(entry),
|
|
@@ -1207,81 +1252,89 @@ async function loadPortalPageHost(options, path, searchParams) {
|
|
|
1207
1252
|
});
|
|
1208
1253
|
if (result.kind === "not-found") notFound();
|
|
1209
1254
|
if (result.warning) console.warn(result.warning);
|
|
1210
|
-
const timeZone = resolveBookingBusinessTimeZone(site.bookingTimeZone);
|
|
1211
1255
|
return {
|
|
1212
1256
|
theme: result.theme,
|
|
1213
|
-
site,
|
|
1214
|
-
context: {
|
|
1215
|
-
dateContext: {
|
|
1216
|
-
locale: inferSiteDateLocale(timeZone),
|
|
1217
|
-
timeZone
|
|
1218
|
-
},
|
|
1219
|
-
now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
|
|
1220
|
-
siteId: options.config.siteId,
|
|
1257
|
+
context: portalHostContext(site, {
|
|
1221
1258
|
apiBaseUrl: client.getBaseUrl(),
|
|
1222
1259
|
portalToken: getPortalToken(await cookies()),
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
businessPerson: site.bookingPerson ?? null
|
|
1226
|
-
}
|
|
1260
|
+
now: /* @__PURE__ */ new Date()
|
|
1261
|
+
})
|
|
1227
1262
|
};
|
|
1228
1263
|
}
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
...options.portal
|
|
1237
|
-
})
|
|
1264
|
+
/** The portal location a catch-all route was reached at, through the portal's one router. */
|
|
1265
|
+
function portalLocationFromRouteParams(path, searchParams) {
|
|
1266
|
+
const pathname = [CUSTOMER_PORTAL_PATH, ...(path ?? []).map(encodeURIComponent)].join("/");
|
|
1267
|
+
const query = new URLSearchParams();
|
|
1268
|
+
Object.entries(searchParams).forEach(([name, value]) => {
|
|
1269
|
+
(typeof value === "string" || value === void 0 ? [value] : value).forEach((item) => {
|
|
1270
|
+
if (item !== void 0) query.append(name, item);
|
|
1238
1271
|
});
|
|
1272
|
+
});
|
|
1273
|
+
return {
|
|
1274
|
+
pathname,
|
|
1275
|
+
location: parsePortalLocation({
|
|
1276
|
+
pathname,
|
|
1277
|
+
searchParams: query
|
|
1278
|
+
})
|
|
1239
1279
|
};
|
|
1240
1280
|
}
|
|
1241
|
-
/**
|
|
1242
|
-
function
|
|
1243
|
-
return
|
|
1244
|
-
const params = await searchParams ?? {};
|
|
1245
|
-
const host = await loadPortalPageHost(options, "/portal/continue", params);
|
|
1246
|
-
return /* @__PURE__ */ jsx(ThemeScope, {
|
|
1247
|
-
theme: host.theme,
|
|
1248
|
-
children: await renderPortalEntryContent({
|
|
1249
|
-
siteId: host.context.siteId,
|
|
1250
|
-
apiBaseUrl: host.context.apiBaseUrl,
|
|
1251
|
-
portalToken: host.context.portalToken,
|
|
1252
|
-
siteTitle: host.site.site.title,
|
|
1253
|
-
contactEmail: host.site.businessDetails?.contact?.email ?? null
|
|
1254
|
-
}, params)
|
|
1255
|
-
});
|
|
1256
|
-
};
|
|
1281
|
+
/** The page's title: the portal's name, or Continue on the page an emailed link opens. */
|
|
1282
|
+
function portalPageTitle(route) {
|
|
1283
|
+
return route.page === "continue" ? "Continue" : "Customer portal";
|
|
1257
1284
|
}
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1285
|
+
/**
|
|
1286
|
+
* Metadata for a catch-all portal route: `export const generateMetadata = generatePortalPageMetadata`.
|
|
1287
|
+
* No portal page is for search engines.
|
|
1288
|
+
*/
|
|
1289
|
+
async function generatePortalPageMetadata({ params }) {
|
|
1290
|
+
const { location } = portalLocationFromRouteParams((await params).path, {});
|
|
1291
|
+
return {
|
|
1292
|
+
title: portalPageTitle(location.route),
|
|
1293
|
+
robots: {
|
|
1294
|
+
index: false,
|
|
1295
|
+
follow: false
|
|
1296
|
+
}
|
|
1266
1297
|
};
|
|
1267
1298
|
}
|
|
1268
|
-
function
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
});
|
|
1276
|
-
};
|
|
1299
|
+
function renderServerPortalPage(context, route) {
|
|
1300
|
+
switch (route.page) {
|
|
1301
|
+
case "continue": return renderPortalEntryContent(context, route.reason);
|
|
1302
|
+
case "ticket": return renderPortalTicketPage(context, route.ref);
|
|
1303
|
+
case "download": return renderPortalDigitalProductPage(context, route.entitlementId);
|
|
1304
|
+
case "download_file": return renderPortalDigitalProductFilePage(context, route.entitlementId, route.assetId);
|
|
1305
|
+
}
|
|
1277
1306
|
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1307
|
+
/**
|
|
1308
|
+
* The content of one portal page, inside the host's own layout and theme. The server draws Continue,
|
|
1309
|
+
* tickets and downloads; every other page is the client portal, which the host renders from the props
|
|
1310
|
+
* given here (the location included) because it owns which client build it ships.
|
|
1311
|
+
*/
|
|
1312
|
+
async function renderPortalRoute(context, location, renderClient) {
|
|
1313
|
+
const { route } = location;
|
|
1314
|
+
if (route.page === "not_found") return notFound();
|
|
1315
|
+
if (isServerPortalTarget(route)) return renderServerPortalPage(context, route);
|
|
1316
|
+
return renderClient(portalClientProps(context, {
|
|
1317
|
+
...location,
|
|
1318
|
+
route
|
|
1319
|
+
}));
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* The whole customer portal as one catch-all route: add it at `app/portal/[[...path]]/page.tsx`, in a
|
|
1323
|
+
* layout of your own that has the site's header. It serves Continue, tickets, downloads and every
|
|
1324
|
+
* account page, and keeps old email links working.
|
|
1325
|
+
*/
|
|
1326
|
+
function createPortalPage(options) {
|
|
1327
|
+
return async function PortalPage({ params, searchParams }) {
|
|
1328
|
+
const query = await searchParams ?? {};
|
|
1329
|
+
const { pathname, location } = portalLocationFromRouteParams((await params).path, query);
|
|
1330
|
+
const host = await loadPortalPageHost(options, pathname, query);
|
|
1331
|
+
const content = await renderPortalRoute(host.context, location, (props) => /* @__PURE__ */ jsx(CustomerPortal, {
|
|
1332
|
+
...props,
|
|
1333
|
+
...options.portal
|
|
1334
|
+
}));
|
|
1282
1335
|
return /* @__PURE__ */ jsx(ThemeScope, {
|
|
1283
1336
|
theme: host.theme,
|
|
1284
|
-
children:
|
|
1337
|
+
children: content
|
|
1285
1338
|
});
|
|
1286
1339
|
};
|
|
1287
1340
|
}
|
|
@@ -1300,8 +1353,8 @@ function createRedeemPage(options) {
|
|
|
1300
1353
|
children: /* @__PURE__ */ jsx(RedeemGiftCardRouteClient, {
|
|
1301
1354
|
siteId: host.context.siteId,
|
|
1302
1355
|
apiBaseUrl: host.context.apiBaseUrl,
|
|
1303
|
-
siteTitle: host.
|
|
1304
|
-
publicContactEmail: host.
|
|
1356
|
+
siteTitle: host.context.siteTitle,
|
|
1357
|
+
publicContactEmail: host.context.contactEmail,
|
|
1305
1358
|
token: firstParam(query.token),
|
|
1306
1359
|
code: firstParam(query.code),
|
|
1307
1360
|
...options.redeem
|
|
@@ -1384,4 +1437,4 @@ function getISRConfig() {
|
|
|
1384
1437
|
};
|
|
1385
1438
|
}
|
|
1386
1439
|
//#endregion
|
|
1387
|
-
export { ISR_REVALIDATE_SECONDS, InvalidCatchAllRenderingOptionsError, MISSING_SDK_THEME_ERROR_CODE, MissingSdkThemeError, RiverbankContentLoadError, SdkContentLoadError, classifyContentLoadError, createCatchAllPage, createGenerateStaticParams,
|
|
1440
|
+
export { ISR_REVALIDATE_SECONDS, InvalidCatchAllRenderingOptionsError, MISSING_SDK_THEME_ERROR_CODE, MissingSdkThemeError, RiverbankContentLoadError, SdkContentLoadError, classifyContentLoadError, createCatchAllPage, createGenerateStaticParams, createPortalPage, createRedeemPage, createRiverbankClient, createRobots, createSitemap, generateAllStaticParams, generatePortalPageMetadata, getISRConfig, isSdkContentLoadError, nextCacheAdapter, normalizeStaticRoutePath, pathToSlugArray, portalHostContext, portalLocationFromRouteParams, portalPageTitle, renderPortalRoute, routesToStaticParams, toContentLoadFailureLogFields, validateStaticParamsEnv };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PageContent } from "./pageShared-
|
|
1
|
+
import { t as PageContent } from "./pageShared-CG8O31Eo.mjs";
|
|
2
2
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
3
3
|
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Ni as parseBackgroundContent, r as listBlockDescriptors } from "./registry-Cc88-23f.mjs";
|
|
2
|
+
import { d as createRichTextDoc } from "./typeGuards-CTW_9AXq.mjs";
|
|
3
3
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
4
4
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
5
|
-
import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-
|
|
5
|
+
import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-DPaUPTfl.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/assistantSectionCatalog.ts
|
|
8
8
|
const words = (text) => createRichTextDoc([text]);
|