@riverbankcms/sdk 0.171.0 → 0.172.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-xuFmD41p.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
- package/dist/_dts/{Page-4fzXy8H9.d.ts → Page-DViYbakk.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-BlHgMsc8.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
- package/dist/_dts/{client-BPoU758C.d.ts → client-DZBOzd3U.d.ts} +1 -2
- package/dist/_dts/{content-types-TnkhoSls.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
- package/dist/_dts/{contracts-7wrMA79U.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DaOsPQ_Q.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9aDEzKK.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
- package/dist/_dts/{index-DDKJfaLY.d.ts → index-BnMavhoh.d.ts} +2 -2
- package/dist/_dts/{index-585vn6qb.d.ts → index-C0zjLMAW.d.ts} +49 -38
- package/dist/_dts/{index-W9R3Bnf2.d.ts → index-CpOkfBt1.d.ts} +3 -3
- package/dist/_dts/{index-Cbw0IiY7.d.ts → index-Da4UMgbs.d.ts} +2 -2
- package/dist/_dts/{index-DNCDENic.d.ts → index-DkFV_1Bc.d.ts} +1 -1
- package/dist/_dts/{index-ChNbrcgD.d.ts → index-Dns7OHyl.d.ts} +1 -1
- package/dist/_dts/{index-CZKSUcDs.d.ts → index-MuMYjetm.d.ts} +4 -4
- package/dist/_dts/{loadContent-DPyNAJym.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
- package/dist/_dts/{request-jXTRN1Y4.d.ts → request-wQ28JWbr.d.ts} +66983 -65876
- package/dist/_dts/{resolveBlockData-BbvE-gsZ.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BBgih00D.d.ts → resolvePageContent-Cc4zqaEC.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/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 +5 -5
- 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 +18 -1
- package/dist/_dts/{types-kWvBwYK6.d.ts → types-CpjyP5I4.d.ts} +7 -7
- package/dist/_dts/{types-DEAKoDNi.d.ts → types-DrinAfeW.d.ts} +3 -3
- package/dist/_dts/{types-BXuVxDYo.d.ts → types-ZuZoGsZV.d.ts} +2 -2
- package/dist/_dts/{validation-BAO0_ntM.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DfMsMIej.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-aaSicywS.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-OgftZ9QC.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-iMWrY6Hz.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
- package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BCumOTLY.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
- package/dist/client/{EventCalendar.client-kh7mkYnW.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
- package/dist/client/{EventCombined.client-DXD5i0Ar.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
- package/dist/client/{EventItem-BnwcoFQN.mjs → EventItem-sKBofjiW.mjs} +40 -14
- package/dist/client/{EventListWeekNavigation-DuG6z02f.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
- package/dist/client/{EventListing.client-18yfHrcr.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
- package/dist/client/{EventListing.view-BM7rTVSL.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
- package/dist/client/{EventRegistrationPayment-D5J3DR0x.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
- package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
- package/dist/client/{Page-DH2sm4Cf.mjs → Page-Ds1s3DuC.mjs} +1425 -490
- package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
- package/dist/client/{StepIndicator-CsRlU46Y.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
- package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
- package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-Bbn1-jJ8.mjs → accessibleSurfaces-OsAseM7H.mjs} +57 -42
- package/dist/client/{accordion-DT4MD3Np.mjs → accordion-DgwFZJSx.mjs} +1 -1
- package/dist/client/{booking-form.client-DdqNQNCa.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
- package/dist/client/{bookingForm-CLN396HU.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-iLF_3KX9.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
- package/dist/client/{carousel-DFLomCGm.mjs → carousel-0sw2Kc3a.mjs} +2 -2
- package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
- package/dist/client/{cart-BozMM5NK.mjs → cart-CPfvMDGJ.mjs} +3 -3
- package/dist/client/{cart.client-CqOOxPbW.mjs → cart.client-BJBPUTmg.mjs} +1 -1
- package/dist/client/{checkout-CTWF5nbB.mjs → checkout-DU4JFjGT.mjs} +3 -3
- package/dist/client/{checkout.client-CpqxN8e0.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
- package/dist/client/{checkoutUrls-Ccg6yfjq.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
- package/dist/client/client.mjs +151 -6
- package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
- package/dist/client/{cta-pzQkBLgS.mjs → cta-CNVQHLKs.mjs} +53 -11
- package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
- package/dist/client/{display-Cl6mgSJa.mjs → display-B5DfNb6A.mjs} +1869 -333
- package/dist/client/{enhanceHeaderSection-CJCl0HJC.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
- package/dist/client/{event-details.client-Pn9Kxh3I.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
- package/dist/client/{event-registration.client-BAmBdWXE.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
- package/dist/client/{eventCalendar-C5Bh2L8L.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
- package/dist/client/{eventCombined-dELKxxIe.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
- package/dist/client/{eventDetails-Do9D_fJ_.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
- package/dist/client/{eventListing-B2HTUWLq.mjs → eventListing-EhSDk4UL.mjs} +4 -4
- package/dist/client/{eventRegistration-ByOJnqGc.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
- package/dist/client/{form-DX70QG-J.mjs → form-BfChzSkS.mjs} +3 -3
- package/dist/client/{form.client-CJoqBrS6.mjs → form.client-D1zehtPk.mjs} +4 -4
- package/dist/client/{form.parts-DTof9pL3.mjs → form.parts-rMDlUQIv.mjs} +3 -3
- package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CJuPX_1K.mjs → headerSection-BX9bQ84k.mjs} +2 -2
- package/dist/client/{newsletter-form.client-CqzNjOft.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DjJsFms2.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
- package/dist/client/{newsletterForm-D1MHoPbh.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
- package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
- package/dist/client/portal/client.mjs +231 -117
- package/dist/client/{product-detail.client-DOQ7El1d.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
- package/dist/client/{product-list.client-CmxOZbzL.mjs → product-list.client-CDL-jihv.mjs} +1 -1
- package/dist/client/{productDetail-BN3zv5sa.mjs → productDetail-B97m0uZy.mjs} +3 -3
- package/dist/client/{productList-GN_Id4bF.mjs → productList-DE4vSSG_.mjs} +3 -3
- package/dist/client/{propsDecoder-BdmzM3D5.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
- package/dist/client/{registry.server-BOyra8CA.mjs → registry.server-Cn8XjRte.mjs} +1464 -1183
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +22 -16
- package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DnaJ8PQc.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
- package/dist/client/{runtimeResponse-BN8PoIVp.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
- package/dist/client/{runtimeResponse-B1-cyLXt.mjs → runtimeResponse-CPcA8xSm.mjs} +1 -1
- package/dist/client/{shop-LjBLDBqF.mjs → shop-BC4H0oYT.mjs} +3 -3
- package/dist/client/{shop-commerce-B8aZTdRJ.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C1FtHYl7.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
- package/dist/client/{shop.client-D0qZ3KZp.mjs → shop.client-WgGVGelc.mjs} +12 -12
- package/dist/client/{shop.interactive-DAKyWK1B.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
- package/dist/client/{shopShared-CztcSe9i.mjs → shopShared-BE6TEk2A.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-D1jDTbms.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
- package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
- package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
- package/dist/client/{useDiscountApply-CHGYDxdM.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Dew9UAEy.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
- package/dist/client/{useEventPagination-BpC7-ksE.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
- package/dist/client/{view-BxeiAL3c.mjs → view-B0TFnP4y.mjs} +198 -60
- package/dist/client/{view-ShYH3WXh.mjs → view-DNNNbnNj.mjs} +3 -3
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-lW2aLGWd.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-C9InQJpd.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DsSqwrMS.mjs → PageSectionToolbar-D59tHj_L.mjs} +320 -395
- package/dist/preview-next/client/{PreviewEditorSidebar-BEEWzXnU.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +761 -416
- package/dist/preview-next/client/{PreviewEditorUI-C86Out4V.mjs → PreviewEditorUI--kS9Cwsc.mjs} +126 -137
- package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
- package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
- package/dist/preview-next/client/{PreviewShell-CBWYjBvQ.mjs → PreviewShell-Bi8-rclb.mjs} +312 -63
- package/dist/preview-next/client/{SdkPreviewModeRuntime-o-mVqWLx.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +308 -135
- package/dist/preview-next/client/{SiteChromeCustomizeButton-H_ciMNHA.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +1936 -320
- package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
- package/dist/preview-next/client/{lucide-react-DygTyy7K.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CuOcsG_N.mjs → previewAssistantSlot-Caofnr1Z.mjs} +23441 -21340
- package/dist/preview-next/client/{previewChromeRoot-DPeV7KaP.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -4
- package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
- package/dist/preview-next/client/{useAutosaveStatus-DNA1Q4L1.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BdnMlHC6.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +126 -11
- package/dist/preview-next/container-responsive.css +215 -4
- package/dist/preview-next/editor-base.css +14 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CtSgU8UZ.mjs → route-contract-DsKDQoVW.mjs} +147 -2
- package/dist/server/{Block.shared-ifgaBglp.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DGDOH6OU.mjs → ThemeScopeCore-D1NTXZdX.mjs} +15 -10
- package/dist/server/{accessibleSurfaces-BuPNCWAK.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
- package/dist/server/{bindings-CiYpie1M.mjs → bindings-Bp6OnR3n.mjs} +109 -20
- package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
- package/dist/server/{client-ngWuFsmN.mjs → client-dROAfMRa.mjs} +149 -4
- package/dist/server/config-template-validation.mjs +3 -0
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-DeLQeJAZ.mjs → loadContent-zOIrtqz-.mjs} +19 -14
- package/dist/server/{loadPage-D4J747FQ.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-ukEz1BaM.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
- package/dist/server/{overrideResolution-DSuVkpqm.mjs → overrideResolution-DjboggbB.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DFv3h4Ib.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
- package/dist/server/{pageRuntimeSupport-yHaRNWMj.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
- package/dist/server/{pageShared-CAZD0LcY.mjs → pageShared-BJjptSGp.mjs} +1039 -853
- package/dist/server/{parseThemeForPersistence-Dl7LIBJq.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
- package/dist/server/{prebuild-BKOCND3b.mjs → prebuild-CntSkZQI.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-GIoExi8A.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
- package/dist/server/{registry-BogXzcOD.mjs → registry-wYH0LH5f.mjs} +7269 -4975
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CT4YSBve.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-DVISOQD9.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +53 -33
- package/dist/server/{schema-C92Q8y0-.mjs → schema-BFOqYIMQ.mjs} +2 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-vSBCWU3w.mjs → validation-DAQdPDku.mjs} +4 -4
- package/dist/server/{version-Cw5vFmUY.mjs → version-DAB0O3yx.mjs} +1 -1
- package/dist/styles/index.css +1260 -15
- package/package.json +1 -1
- package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
- package/dist/preview-next/client/sdk-runtime-zTTFZ4MM.mjs +0 -5
package/dist/client/client.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { A as
|
|
2
|
+
import { js as parseSiteId } from "./display-B5DfNb6A.mjs";
|
|
3
|
+
import { A as prefetchBlockDataWithFailures, E as resolveSiteCustomBlocks, T as siteLocationRenderContext, _ as buildRenderablePageOutline, ct as isSupportedLoaderEndpoint, j as materializeEntriesMedia, k as requireSdkTheme, rt as encodePublicProductCategorySelector, t as Page, v as buildSiteRenderSupport, x as projectRenderablePageOutline, y as collectMediaAssetSidecar } from "./Page-Ds1s3DuC.mjs";
|
|
4
4
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
5
|
-
import { t as restoreRuntimeResponse } from "./runtimeResponse-
|
|
5
|
+
import { t as restoreRuntimeResponse } from "./runtimeResponse-B-lrAGhX.mjs";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
@@ -888,6 +888,7 @@ z.object({
|
|
|
888
888
|
startsAt: z.iso.datetime({ offset: true }),
|
|
889
889
|
endsAt: z.iso.datetime({ offset: true }),
|
|
890
890
|
reason: z.string().nullable(),
|
|
891
|
+
deferredAppointmentIds: z.array(z.string().uuid()).max(200).optional(),
|
|
891
892
|
selections: z.array(z.object({
|
|
892
893
|
arrangementId: z.string().uuid(),
|
|
893
894
|
appointmentId: z.string().uuid(),
|
|
@@ -1263,6 +1264,39 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1263
1264
|
"server:internal_error"
|
|
1264
1265
|
]
|
|
1265
1266
|
},
|
|
1267
|
+
resolveTeamMemberProfileEditorOwner: {
|
|
1268
|
+
path: "/sites/{siteId}/bookings/profile-editor/{entryId}/owner",
|
|
1269
|
+
method: "GET",
|
|
1270
|
+
auth: "user",
|
|
1271
|
+
responseKind: "json",
|
|
1272
|
+
errors: [
|
|
1273
|
+
"auth:forbidden",
|
|
1274
|
+
"resource:not_found",
|
|
1275
|
+
"server:internal_error"
|
|
1276
|
+
]
|
|
1277
|
+
},
|
|
1278
|
+
getTeamMemberProfileContent: {
|
|
1279
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}",
|
|
1280
|
+
method: "GET",
|
|
1281
|
+
auth: "user",
|
|
1282
|
+
responseKind: "json",
|
|
1283
|
+
errors: [
|
|
1284
|
+
"auth:forbidden",
|
|
1285
|
+
"resource:not_found",
|
|
1286
|
+
"server:internal_error"
|
|
1287
|
+
]
|
|
1288
|
+
},
|
|
1289
|
+
listTeamMemberProfileContentSlots: {
|
|
1290
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/slots",
|
|
1291
|
+
method: "GET",
|
|
1292
|
+
auth: "user",
|
|
1293
|
+
responseKind: "json",
|
|
1294
|
+
errors: [
|
|
1295
|
+
"auth:forbidden",
|
|
1296
|
+
"resource:not_found",
|
|
1297
|
+
"server:internal_error"
|
|
1298
|
+
]
|
|
1299
|
+
},
|
|
1266
1300
|
updateTeamMemberProfilePolicy: {
|
|
1267
1301
|
path: "/sites/{siteId}/bookings/resources/profile-policy",
|
|
1268
1302
|
method: "PUT",
|
|
@@ -2344,8 +2378,8 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2344
2378
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
2345
2379
|
errors: []
|
|
2346
2380
|
},
|
|
2347
|
-
|
|
2348
|
-
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/
|
|
2381
|
+
resolveNewsletterCampaignDraft: {
|
|
2382
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/resolve-draft",
|
|
2349
2383
|
method: "POST",
|
|
2350
2384
|
auth: "user",
|
|
2351
2385
|
responseKind: "json",
|
|
@@ -3033,6 +3067,18 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3033
3067
|
"server:internal_error"
|
|
3034
3068
|
]
|
|
3035
3069
|
},
|
|
3070
|
+
previewWholeSeriesRunCancellation: {
|
|
3071
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3072
|
+
method: "GET",
|
|
3073
|
+
tags: ["site-{siteId}", "event-series-{siteId}"],
|
|
3074
|
+
auth: "user",
|
|
3075
|
+
responseKind: "json",
|
|
3076
|
+
errors: [
|
|
3077
|
+
"auth:forbidden",
|
|
3078
|
+
"resource:not_found",
|
|
3079
|
+
"server:internal_error"
|
|
3080
|
+
]
|
|
3081
|
+
},
|
|
3036
3082
|
cancelWholeSeriesRun: {
|
|
3037
3083
|
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3038
3084
|
method: "POST",
|
|
@@ -3558,6 +3604,20 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3558
3604
|
responseKind: "json",
|
|
3559
3605
|
errors: []
|
|
3560
3606
|
},
|
|
3607
|
+
previewPlanChange: {
|
|
3608
|
+
path: "/billing/plan/preview",
|
|
3609
|
+
method: "POST",
|
|
3610
|
+
tags: ["billing"],
|
|
3611
|
+
auth: "user",
|
|
3612
|
+
responseKind: "json",
|
|
3613
|
+
errors: [
|
|
3614
|
+
"validation:invalid_input",
|
|
3615
|
+
"auth:unauthenticated",
|
|
3616
|
+
"resource:conflict",
|
|
3617
|
+
"server:internal_error",
|
|
3618
|
+
"external:service_error"
|
|
3619
|
+
]
|
|
3620
|
+
},
|
|
3561
3621
|
changePlan: {
|
|
3562
3622
|
path: "/billing/plan/change",
|
|
3563
3623
|
method: "POST",
|
|
@@ -5532,6 +5592,20 @@ const API_ENDPOINTS$1 = {
|
|
|
5532
5592
|
auth: "user",
|
|
5533
5593
|
responseKind: "json"
|
|
5534
5594
|
},
|
|
5595
|
+
reconnectDomain: {
|
|
5596
|
+
path: "/domains/{domainId}/reconnect",
|
|
5597
|
+
method: "POST",
|
|
5598
|
+
errors: [
|
|
5599
|
+
"resource:not_found",
|
|
5600
|
+
"auth:forbidden",
|
|
5601
|
+
"resource:conflict",
|
|
5602
|
+
"billing:payment_required",
|
|
5603
|
+
"external:service_error"
|
|
5604
|
+
],
|
|
5605
|
+
tags: ["domains", "domain-{domainId}"],
|
|
5606
|
+
auth: "user",
|
|
5607
|
+
responseKind: "json"
|
|
5608
|
+
},
|
|
5535
5609
|
removeDomain: {
|
|
5536
5610
|
path: "/domains/{domainId}",
|
|
5537
5611
|
method: "DELETE",
|
|
@@ -7985,6 +8059,70 @@ const API_ENDPOINTS$1 = {
|
|
|
7985
8059
|
"server:internal_error"
|
|
7986
8060
|
]
|
|
7987
8061
|
},
|
|
8062
|
+
endCustomerMembershipNow: {
|
|
8063
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/end",
|
|
8064
|
+
method: "POST",
|
|
8065
|
+
tags: [
|
|
8066
|
+
"site-{siteId}",
|
|
8067
|
+
"bookings",
|
|
8068
|
+
"customer-membership-{customerMembershipId}"
|
|
8069
|
+
],
|
|
8070
|
+
auth: "user",
|
|
8071
|
+
responseKind: "json",
|
|
8072
|
+
errors: [
|
|
8073
|
+
"validation:invalid_input",
|
|
8074
|
+
"resource:not_found",
|
|
8075
|
+
"server:internal_error"
|
|
8076
|
+
]
|
|
8077
|
+
},
|
|
8078
|
+
resumeCustomerMembership: {
|
|
8079
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/resume",
|
|
8080
|
+
method: "POST",
|
|
8081
|
+
tags: [
|
|
8082
|
+
"site-{siteId}",
|
|
8083
|
+
"bookings",
|
|
8084
|
+
"customer-membership-{customerMembershipId}"
|
|
8085
|
+
],
|
|
8086
|
+
auth: "user",
|
|
8087
|
+
responseKind: "json",
|
|
8088
|
+
errors: [
|
|
8089
|
+
"validation:invalid_input",
|
|
8090
|
+
"resource:not_found",
|
|
8091
|
+
"server:internal_error"
|
|
8092
|
+
]
|
|
8093
|
+
},
|
|
8094
|
+
finishCustomerMembershipChange: {
|
|
8095
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/finish",
|
|
8096
|
+
method: "POST",
|
|
8097
|
+
tags: [
|
|
8098
|
+
"site-{siteId}",
|
|
8099
|
+
"bookings",
|
|
8100
|
+
"customer-membership-{customerMembershipId}"
|
|
8101
|
+
],
|
|
8102
|
+
auth: "user",
|
|
8103
|
+
responseKind: "json",
|
|
8104
|
+
errors: [
|
|
8105
|
+
"validation:invalid_input",
|
|
8106
|
+
"resource:not_found",
|
|
8107
|
+
"server:internal_error"
|
|
8108
|
+
]
|
|
8109
|
+
},
|
|
8110
|
+
correctCustomerMembershipDates: {
|
|
8111
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}",
|
|
8112
|
+
method: "PATCH",
|
|
8113
|
+
tags: [
|
|
8114
|
+
"site-{siteId}",
|
|
8115
|
+
"bookings",
|
|
8116
|
+
"customer-membership-{customerMembershipId}"
|
|
8117
|
+
],
|
|
8118
|
+
auth: "user",
|
|
8119
|
+
responseKind: "json",
|
|
8120
|
+
errors: [
|
|
8121
|
+
"validation:invalid_input",
|
|
8122
|
+
"resource:not_found",
|
|
8123
|
+
"server:internal_error"
|
|
8124
|
+
]
|
|
8125
|
+
},
|
|
7988
8126
|
refundCustomerMembershipPayment: {
|
|
7989
8127
|
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/refund",
|
|
7990
8128
|
method: "POST",
|
|
@@ -9404,6 +9542,13 @@ const API_ENDPOINTS$1 = {
|
|
|
9404
9542
|
auth: "public",
|
|
9405
9543
|
responseKind: "json"
|
|
9406
9544
|
},
|
|
9545
|
+
portalResumeMembership: {
|
|
9546
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
9547
|
+
method: "POST",
|
|
9548
|
+
auth: "public",
|
|
9549
|
+
responseKind: "json",
|
|
9550
|
+
errors: []
|
|
9551
|
+
},
|
|
9407
9552
|
portalSendMagicLink: {
|
|
9408
9553
|
path: "/portal/auth/send-magic-link",
|
|
9409
9554
|
method: "POST",
|
|
@@ -10782,7 +10927,7 @@ var SimpleCache = class {
|
|
|
10782
10927
|
//#endregion
|
|
10783
10928
|
//#region src/request-options.ts
|
|
10784
10929
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
10785
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
10930
|
+
const sdkRequestOptions = { sdkVersion: "0.172.0" };
|
|
10786
10931
|
//#endregion
|
|
10787
10932
|
//#region src/client/error.ts
|
|
10788
10933
|
let _Symbol$for;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { K as beforeBookingQuestionsPresentationSchema, ct as normalizeCurrencyCode, i as EVENT_BOOKING_ARRIVAL_QUERY, ln as toNonNegativeCents, n as blockSiteTermsSchema, p as calendarWindowPageSchema, s as publicPassProductCollectionSchema, sn as parsePositiveCents } from "./noop-CamIX2yK.mjs";
|
|
3
3
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
4
4
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
@@ -817,6 +817,12 @@ const PORTAL = {
|
|
|
817
817
|
authScope: "portal",
|
|
818
818
|
skipPreviewStage: true
|
|
819
819
|
},
|
|
820
|
+
resumeMembership: {
|
|
821
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
822
|
+
method: "POST",
|
|
823
|
+
authScope: "portal",
|
|
824
|
+
skipPreviewStage: true
|
|
825
|
+
},
|
|
820
826
|
sendMagicLink: {
|
|
821
827
|
path: "/portal/auth/send-magic-link",
|
|
822
828
|
method: "POST",
|
|
@@ -1572,6 +1578,13 @@ function createBlockApi(config) {
|
|
|
1572
1578
|
body: {}
|
|
1573
1579
|
})).result;
|
|
1574
1580
|
},
|
|
1581
|
+
async resumeMembership(customerMembershipId) {
|
|
1582
|
+
const path = buildPath(PORTAL.resumeMembership.path, { customerMembershipId });
|
|
1583
|
+
return (await request(PORTAL.resumeMembership, {
|
|
1584
|
+
path,
|
|
1585
|
+
body: {}
|
|
1586
|
+
})).result;
|
|
1587
|
+
},
|
|
1575
1588
|
async listEventRescheduleDates(registrationId, query) {
|
|
1576
1589
|
const path = buildPath(PORTAL.listEventRescheduleDates.path, { registrationId });
|
|
1577
1590
|
return request(PORTAL.listEventRescheduleDates, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Qn as resolveRuntimeEventDestination, ar as getEventAvailabilityStatus, er as canJoinEventWaitlistOnAnyMode, sr as isEventFull, tr as formatEventRemainingPlaces, us as resolveWholeSeriesBookingPhase } from "./display-B5DfNb6A.mjs";
|
|
3
3
|
import { N as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
@@ -82,16 +82,34 @@ function destinationCta(event, buttonText) {
|
|
|
82
82
|
* so the card offers that destination and leaves capacity with the individual date rows.
|
|
83
83
|
* Whole-series bookings still have one shared capacity, as do ordinary occurrence cards.
|
|
84
84
|
*/
|
|
85
|
-
function resolveEventCardBooking(event, scope, buttonText) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
function resolveEventCardBooking(event, scope, buttonText, options) {
|
|
86
|
+
const closedCta = event.bookingAvailability.kind === "closed" ? resolveEventCta(event, buttonText) : renderClockClosedCta(event, options.now);
|
|
87
|
+
if (scope === "series" && event.bookingScope === "single_occurrence") {
|
|
88
|
+
const closed = seriesBookingClosed(event);
|
|
89
|
+
return {
|
|
90
|
+
cta: closed ? resolveEventCta(event, buttonText) : withoutPage(destinationCta(event, buttonText)),
|
|
91
|
+
availability: null,
|
|
92
|
+
closed
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
return closedCta ? {
|
|
96
|
+
cta: closedCta,
|
|
97
|
+
availability: null,
|
|
98
|
+
closed: true
|
|
99
|
+
} : {
|
|
100
|
+
cta: withoutPage(resolveEventCta(event, buttonText)),
|
|
101
|
+
availability: occurrenceCardAvailability(event, options.count),
|
|
102
|
+
closed: false
|
|
93
103
|
};
|
|
94
104
|
}
|
|
105
|
+
/** A native card with no page yet can't invite booking: there is nowhere to send the visitor. */
|
|
106
|
+
function withoutPage(cta) {
|
|
107
|
+
return !cta.external && !cta.hidden && cta.href === "" ? {
|
|
108
|
+
...cta,
|
|
109
|
+
label: "Details coming soon",
|
|
110
|
+
hidden: true
|
|
111
|
+
} : cta;
|
|
112
|
+
}
|
|
95
113
|
/** Only a series-wide closure closes its card; a cancelled or started date says nothing about later dates. */
|
|
96
114
|
function seriesBookingClosed(event) {
|
|
97
115
|
if (event.bookingAvailability.kind !== "closed") return false;
|
|
@@ -109,13 +127,37 @@ function seriesBookingClosed(event) {
|
|
|
109
127
|
default: return assertNever(event.bookingAvailability.reason);
|
|
110
128
|
}
|
|
111
129
|
}
|
|
112
|
-
function occurrenceCardAvailability(event) {
|
|
113
|
-
const label = formatEventRemainingPlaces(event, {
|
|
130
|
+
function occurrenceCardAvailability(event, count) {
|
|
131
|
+
const label = formatEventRemainingPlaces(event, {
|
|
132
|
+
full: "Sold out",
|
|
133
|
+
count
|
|
134
|
+
});
|
|
114
135
|
const availability = getEventAvailabilityStatus(event);
|
|
115
136
|
return label ? {
|
|
116
137
|
label,
|
|
117
138
|
status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
|
|
118
139
|
} : null;
|
|
119
140
|
}
|
|
141
|
+
/** Preserve projected closure reasons; only an open native run needs its clock rechecked. */
|
|
142
|
+
function renderClockClosedCta(event, now) {
|
|
143
|
+
if (!now || event.bookingScope !== "whole_series" || event.destination.kind !== "native") return null;
|
|
144
|
+
const phase = resolveWholeSeriesBookingPhase(event.run, now);
|
|
145
|
+
if (phase.kind === "open") return null;
|
|
146
|
+
return {
|
|
147
|
+
label: (() => {
|
|
148
|
+
switch (phase.reason) {
|
|
149
|
+
case "cancelled": return "Cancelled";
|
|
150
|
+
case "completed": return "Completed";
|
|
151
|
+
case "in-progress":
|
|
152
|
+
case "enrolment-closed":
|
|
153
|
+
case "no-sessions": return "Registration closed";
|
|
154
|
+
default: return assertNever(phase.reason);
|
|
155
|
+
}
|
|
156
|
+
})(),
|
|
157
|
+
href: resolveEventHref(event),
|
|
158
|
+
external: false,
|
|
159
|
+
hidden: phase.reason !== "enrolment-closed"
|
|
160
|
+
};
|
|
161
|
+
}
|
|
120
162
|
//#endregion
|
|
121
163
|
export { resolveEventCta as n, resolveEventLinkProps as r, resolveEventCardBooking as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as formatTime, It as formatDate$1, Rt as formatDateTime$1, Wt as resolveBookingDisplayContext, an as toUtcIsoDateTimeString, in as parseUtcIsoDateTimeString, nn as resolveBookingTimeZoneId, zt as formatDateTimeRange } from "./noop-CamIX2yK.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as BlockApiError } from "./context-
|
|
2
|
+
import { i as BlockApiError } from "./context-xNC1Cyjw.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|