@riverbankcms/sdk 0.170.0 → 0.171.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 +37 -0
- package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
- package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4fzXy8H9.d.ts} +13 -11
- package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
- package/dist/_dts/{client-x82SZgwK.d.ts → client-BPoU758C.d.ts} +32 -1
- package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-TnkhoSls.d.ts} +3 -3
- package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-7wrMA79U.d.ts} +5 -3
- package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
- package/dist/_dts/{index-BisbMZTW.d.ts → index-585vn6qb.d.ts} +72 -36
- package/dist/_dts/{index-B7Mq5M6P.d.ts → index-CZKSUcDs.d.ts} +4 -4
- package/dist/_dts/{index-B82pqQAC.d.ts → index-Cbw0IiY7.d.ts} +2 -2
- package/dist/_dts/{index-DXc_ewhR.d.ts → index-ChNbrcgD.d.ts} +1 -1
- package/dist/_dts/{index-C3rMEJ5a.d.ts → index-DDKJfaLY.d.ts} +2 -2
- package/dist/_dts/{index-CCugONHM.d.ts → index-DNCDENic.d.ts} +1 -1
- package/dist/_dts/{index-CstY6ZMa.d.ts → index-W9R3Bnf2.d.ts} +3 -3
- package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
- package/dist/_dts/{request-CJ_ClHLv.d.ts → request-jXTRN1Y4.d.ts} +3554 -1370
- package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-BBgih00D.d.ts} +2 -2
- package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.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 +7 -7
- 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 +4 -4
- 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 +3 -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 +4740 -3
- package/dist/_dts/{types-CbjK5ZLy.d.ts → types-BXuVxDYo.d.ts} +2 -2
- package/dist/_dts/{types-CpuxuS40.d.ts → types-DEAKoDNi.d.ts} +3 -3
- package/dist/_dts/{types-990t4t99.d.ts → types-kWvBwYK6.d.ts} +7 -7
- package/dist/_dts/{validation-BN95LiS0.d.ts → validation-BAO0_ntM.d.ts} +17 -17
- package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
- package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
- package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
- package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
- package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
- package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
- package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-DXD5i0Ar.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
- package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-BnwcoFQN.mjs} +10 -7
- package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DuG6z02f.mjs} +1 -1
- package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
- package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BM7rTVSL.mjs} +42 -396
- package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.mjs} +13 -13
- package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
- package/dist/client/{Page-PW4Ojv9r.mjs → Page-DH2sm4Cf.mjs} +2696 -2426
- package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
- package/dist/client/StepIndicator-CsRlU46Y.mjs +894 -0
- package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
- package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-Bbn1-jJ8.mjs} +52 -2
- package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
- package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
- package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
- package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.mjs} +2 -2
- package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
- package/dist/client/{cart-wlRXnOjO.mjs → cart-BozMM5NK.mjs} +3 -3
- package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-CqOOxPbW.mjs} +1 -1
- package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-CTWF5nbB.mjs} +3 -3
- package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
- package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
- package/dist/client/client.mjs +640 -218
- package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
- package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
- package/dist/client/{cta-CfuyGqXL.mjs → cta-pzQkBLgS.mjs} +2 -2
- package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
- package/dist/client/{display-DDNmyb0z.mjs → display-Cl6mgSJa.mjs} +3186 -81
- package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
- package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
- package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
- package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
- package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-dELKxxIe.mjs} +4 -4
- package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
- package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-B2HTUWLq.mjs} +4 -4
- package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
- package/dist/client/{form-Cfl8d6qc.mjs → form-DX70QG-J.mjs} +3 -3
- package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
- package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.mjs} +3 -3
- package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJuPX_1K.mjs} +2 -2
- package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
- package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-D1MHoPbh.mjs} +3 -3
- package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
- package/dist/client/portal/client.mjs +294 -48
- package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DOQ7El1d.mjs} +1 -1
- package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
- package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-BN3zv5sa.mjs} +3 -3
- package/dist/client/{productList-BNZAsfaP.mjs → productList-GN_Id4bF.mjs} +3 -3
- package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
- package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-BOyra8CA.mjs} +1015 -926
- package/dist/client/rendering/client.mjs +57 -32
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +1956 -191
- package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-DnaJ8PQc.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
- package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
- package/dist/client/{shop-PgmiVKSV.mjs → shop-LjBLDBqF.mjs} +3 -3
- package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
- package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
- package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
- package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
- package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-D1jDTbms.mjs} +11 -11
- package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
- package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
- package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-CHGYDxdM.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
- package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
- package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
- package/dist/client/{view-CgComegl.mjs → view-ShYH3WXh.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +33 -13
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-lW2aLGWd.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
- package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-DsSqwrMS.mjs} +392 -11
- package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3264 -3199
- package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-C86Out4V.mjs} +5 -6
- package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-CBWYjBvQ.mjs} +20 -10
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1155 -330
- package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
- package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-DygTyy7K.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3558 -2230
- package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-DPeV7KaP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-zTTFZ4MM.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +28 -3
- package/dist/preview-next/container-responsive.css +43 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-CtSgU8UZ.mjs} +547 -188
- package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-ifgaBglp.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-DGDOH6OU.mjs} +3 -3
- package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
- package/dist/server/bindings-CiYpie1M.mjs +1802 -0
- package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
- package/dist/server/{client-Djjv-NuA.mjs → client-ngWuFsmN.mjs} +638 -216
- package/dist/server/config-template-validation.mjs +30 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +3 -34
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
- package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-D4J747FQ.mjs} +2 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +8 -6
- package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
- package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
- package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-DFv3h4Ib.mjs} +306 -287
- package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
- package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-CAZD0LcY.mjs} +848 -315
- package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
- package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-BKOCND3b.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
- package/dist/server/{registry-Djrj9gWy.mjs → registry-BogXzcOD.mjs} +4000 -1989
- 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-CyeIjmqx.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
- package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
- package/dist/server/rich-text-CRcONdyM.mjs +33 -0
- package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
- package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -1
- package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
- package/dist/server/{validation-Dh8htd6l.mjs → validation-vSBCWU3w.mjs} +9 -9
- package/dist/server/{version-LMwnoksN.mjs → version-Cw5vFmUY.mjs} +1 -1
- package/dist/styles/index.css +408 -10
- package/package.json +1 -1
- package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
- package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
- package/dist/server/bindings-C1-MNwwS.mjs +0 -257
- package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
- package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as buildCartDisplay } from "./display-
|
|
4
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { ln as staticHeaderChromeRuntime } from "./shop.interactive-DAKyWK1B.mjs";
|
|
3
|
+
import { t as buildCartDisplay } from "./display-Cl6mgSJa.mjs";
|
|
4
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
6
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
7
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
8
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
8
|
+
import { n as useCommerceCart } from "./shop-commerce-store-C1FtHYl7.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { createPortal } from "react-dom";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
2
|
+
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-BxeiAL3c.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
6
6
|
function toEventDetailsClientProps(props) {
|
|
7
7
|
return {
|
|
8
8
|
arrangement: props.arrangement,
|
|
9
|
+
quickFacts: props.quickFacts,
|
|
9
10
|
entryTitle: props.entryTitle,
|
|
10
11
|
actionSize: props.actionSize,
|
|
11
12
|
lookSlots: props.lookSlots,
|
|
@@ -29,7 +30,7 @@ function toEventDetailsClientProps(props) {
|
|
|
29
30
|
siteMemberships: props.siteMemberships ? { memberships: [...props.siteMemberships.memberships] } : props.siteMemberships,
|
|
30
31
|
autoApplyDiscount: props.autoApplyDiscount ?? null,
|
|
31
32
|
className: props.className,
|
|
32
|
-
|
|
33
|
+
now: props.now
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
function EventDetailsClient(props) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { $n as canJoinEventWaitlistOnAnyMode,
|
|
4
|
-
import {
|
|
5
|
-
import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
8
|
-
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { $ as bookingCardEntry, L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, Q as bookingBarPlacement, Qt as formatEventPriceDisplay, Z as DEFAULT_BOOKING_BUTTON_TEXT, et as bookingEntry, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingPanelHeading, rt as courseTitleOf, tt as bookingEntryProgress } from "./shop.interactive-DAKyWK1B.mjs";
|
|
3
|
+
import { $n as canJoinEventWaitlistOnAnyMode, At as resolveFinishedPresentation, B as placeCountCeiling, Bi as resolveEventRegistrationScopedEvents, C as panelShouldOpen, D as registrationStepLabel, Ft as formatDate, G as resolveRegistrationAvailabilityBlocker, Ht as getTicketTypeAvailabilityLabel, It as formatEventDateTime, Kt as withOccurrenceTitle, L as shouldPromptForLogin, Lt as formatPassCreditUsageLabel, Mr as formatPrice, Mt as areEntitlementsDisabledForTicketCount, O as registrationStepLabelContext, Pt as formatBookingWhen, Qn as canJoinEventWaitlist, R as fullyBookedLabel, Rt as formatRegistrationSchedule, S as getEventSelectionMode, Ss as publicEventPricingType, Ut as getVisibleTicketTypes, Wt as occurrenceTitleOverride, X as isEventRegistrationAvailable, Xt as getTicketSelectionTotal, Yt as getTicketLineQuantity, Z as normalizeEventRegistrationMaxTickets, Zt as getTicketTypeLineMax, _n as bookingPresentation, _r as getRegistrationSuccessCopy, ar as getRemainingPlaces, cr as selectMostOpenCapacitySource, en as setTicketLineQuantity, jr as formatCentsAsCurrencyInput, jt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, k as areEventRegistrationPaymentSelectionsEqual, kt as confirmationPaymentRows, lr as groupPublicEventsByRun, or as isEventFull, ot as paymentChoiceDetails, q as settledRemainingPlaces, qt as canRequestTicketOption, rr as getEventAvailability, sr as selectEventCapacitySource, st as paymentChoicePrice, vn as placesLeftLabel, xn as shownVenue, xs as publicEventPricingStrategy, ys as publicEventPricingCurrency, zt as formatTime } from "./display-Cl6mgSJa.mjs";
|
|
4
|
+
import { S as formatCreditProductUnits, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
5
|
+
import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-BCumOTLY.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-D5J3DR0x.mjs";
|
|
8
|
+
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
|
|
9
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CsRlU46Y.mjs";
|
|
9
10
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
10
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
11
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-B65wFjqx.mjs";
|
|
11
12
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
13
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
13
14
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { i as useBookingNowIso } from "./BookingQuestionFields-
|
|
15
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
15
|
+
import { i as useBookingNowIso } from "./BookingQuestionFields-BlaCItmH.mjs";
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-Dew9UAEy.mjs";
|
|
16
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
17
|
-
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
18
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-aaSicywS.mjs";
|
|
18
19
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
19
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CR7_0yu4.mjs";
|
|
20
20
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -528,12 +528,12 @@ function getSelectedPassCreditsRemaining(wizard) {
|
|
|
528
528
|
function resolveEntitlementSummaryCopy(method, passCreditsRemaining) {
|
|
529
529
|
switch (method) {
|
|
530
530
|
case "pass": return {
|
|
531
|
-
productPrice: "
|
|
531
|
+
productPrice: formatCreditProductUnits("event_pass", 1),
|
|
532
532
|
pricingNote: formatPassCreditUsageLabel(passCreditsRemaining)
|
|
533
533
|
};
|
|
534
534
|
case "pass_bundle": return {
|
|
535
535
|
productPrice: null,
|
|
536
|
-
pricingNote:
|
|
536
|
+
pricingNote: formatPassCreditUsageLabel(null)
|
|
537
537
|
};
|
|
538
538
|
case "membership": return {
|
|
539
539
|
productPrice: "Included",
|
|
@@ -601,11 +601,15 @@ function DeclinedPassRow(props) {
|
|
|
601
601
|
children: /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
|
|
602
602
|
className: "er-summary-bar-product-name",
|
|
603
603
|
children: props.passName
|
|
604
|
-
}), /* @__PURE__ */
|
|
604
|
+
}), /* @__PURE__ */ jsxs("button", {
|
|
605
605
|
type: "button",
|
|
606
606
|
className: "er-summary-bar-pass-escape",
|
|
607
607
|
onClick: props.onUsePass,
|
|
608
|
-
children:
|
|
608
|
+
children: [
|
|
609
|
+
"Use ",
|
|
610
|
+
formatCreditProductUnits("event_pass", 1),
|
|
611
|
+
" from your pass instead"
|
|
612
|
+
]
|
|
609
613
|
})] })
|
|
610
614
|
});
|
|
611
615
|
}
|
|
@@ -1383,7 +1387,7 @@ function TicketCounter(props) {
|
|
|
1383
1387
|
onClick: () => onTicketsChange(stepNumber(ticketsCount, -1, { min: minAllowed })),
|
|
1384
1388
|
disabled: ticketsCount <= minAllowed,
|
|
1385
1389
|
className: "er-counter-btn",
|
|
1386
|
-
children: "
|
|
1390
|
+
children: "−"
|
|
1387
1391
|
}),
|
|
1388
1392
|
/* @__PURE__ */ jsx("span", {
|
|
1389
1393
|
className: "er-counter-value",
|
|
@@ -1415,7 +1419,7 @@ function TicketCounterLimit(props) {
|
|
|
1415
1419
|
}
|
|
1416
1420
|
function BookingUnitSessionHint(props) {
|
|
1417
1421
|
const count = props.bookingUnit.includedSessionCount;
|
|
1418
|
-
return props.bookingUnit.kind === "place" && count ? /* @__PURE__ */ jsxs("p", {
|
|
1422
|
+
return props.bookingUnit.kind === "place" && count && count > 1 ? /* @__PURE__ */ jsxs("p", {
|
|
1419
1423
|
className: "er-text er-text--muted",
|
|
1420
1424
|
children: [
|
|
1421
1425
|
"Every place includes all ",
|
|
@@ -1439,10 +1443,6 @@ function BookingQuantityPrompt(props) {
|
|
|
1439
1443
|
]
|
|
1440
1444
|
});
|
|
1441
1445
|
}
|
|
1442
|
-
function formatCurrencyInputAmount(amount) {
|
|
1443
|
-
const major = amount / 100;
|
|
1444
|
-
return Number.isInteger(major) ? String(major) : major.toFixed(2);
|
|
1445
|
-
}
|
|
1446
1446
|
function SlidingScaleAmountField(props) {
|
|
1447
1447
|
const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
|
|
1448
1448
|
const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
|
|
@@ -1458,8 +1458,8 @@ function SlidingScaleAmountField(props) {
|
|
|
1458
1458
|
/* @__PURE__ */ jsx("input", {
|
|
1459
1459
|
id: "er-sliding-amount",
|
|
1460
1460
|
type: "number",
|
|
1461
|
-
min:
|
|
1462
|
-
max:
|
|
1461
|
+
min: formatCentsAsCurrencyInput(props.slidingScale.minAmount),
|
|
1462
|
+
max: formatCentsAsCurrencyInput(props.slidingScale.maxAmount),
|
|
1463
1463
|
step: "0.01",
|
|
1464
1464
|
inputMode: "decimal",
|
|
1465
1465
|
className: "form-input",
|
|
@@ -2397,8 +2397,8 @@ function ownedPassChoices(eligibility) {
|
|
|
2397
2397
|
productName: pass.passName
|
|
2398
2398
|
},
|
|
2399
2399
|
label: pass.passName,
|
|
2400
|
-
details: [`${
|
|
2401
|
-
price: "1
|
|
2400
|
+
details: [`${formatCreditProductUnits("event_pass", pass.creditsRemaining)} left`],
|
|
2401
|
+
price: formatCreditProductUnits("event_pass", 1)
|
|
2402
2402
|
}));
|
|
2403
2403
|
}
|
|
2404
2404
|
function ownedMembershipChoices(eligibility) {
|
|
@@ -3714,6 +3714,18 @@ function waitForRetry(milliseconds, signal) {
|
|
|
3714
3714
|
}
|
|
3715
3715
|
//#endregion
|
|
3716
3716
|
//#region ../blocks/src/system/runtime/nodes/event-registration.client.tsx
|
|
3717
|
+
/** Editor rendering uses the same panel as SSR; closed panels retain a recovery-only island. */
|
|
3718
|
+
function EventRegistrationBlockClient(props) {
|
|
3719
|
+
const selection = resolveBookingPanelSelection(props);
|
|
3720
|
+
if (!selection) return /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props });
|
|
3721
|
+
const panel = planEventBookingPanel(selection, new Date(props.now));
|
|
3722
|
+
const registration = registrationSourceForPanel(props, panel);
|
|
3723
|
+
return /* @__PURE__ */ jsx(EventBookingPanelView, {
|
|
3724
|
+
panel,
|
|
3725
|
+
pageKind: props.pageKind ?? "fullPage",
|
|
3726
|
+
children: registration ? /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...buildEventRegistrationInteractiveIslandProps(registration) }) : null
|
|
3727
|
+
});
|
|
3728
|
+
}
|
|
3717
3729
|
function toEventRegistrationClientProps(props, display) {
|
|
3718
3730
|
return {
|
|
3719
3731
|
...props.render.hydration,
|
|
@@ -3764,7 +3776,7 @@ const EventRegistrationIslandClient = (props) => {
|
|
|
3764
3776
|
const recoveryRequest = useEventRegistrationRecoveryRequest();
|
|
3765
3777
|
const display = props.render.display;
|
|
3766
3778
|
const surface = registrationAdmissionSurface({
|
|
3767
|
-
availability: display.state === "registration-closed" ? "closed" : "open",
|
|
3779
|
+
availability: props.render.hydration.admission === "recoveryOnly" ? "empty" : display.state === "registration-closed" ? "closed" : "open",
|
|
3768
3780
|
recoveryRequested: recoveryRequest !== "none"
|
|
3769
3781
|
});
|
|
3770
3782
|
switch (surface) {
|
|
@@ -3797,7 +3809,10 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
|
|
|
3797
3809
|
default: return assertNever(recoveryRequest);
|
|
3798
3810
|
}
|
|
3799
3811
|
switch (recovery.kind) {
|
|
3800
|
-
case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, {
|
|
3812
|
+
case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, {
|
|
3813
|
+
display,
|
|
3814
|
+
pageKind: props.render.hydration.pageKind
|
|
3815
|
+
});
|
|
3801
3816
|
case "exhausted": return /* @__PURE__ */ jsx(UnavailableEventRegistrationSource, {
|
|
3802
3817
|
retry: recovery.retry,
|
|
3803
3818
|
buttonVariant: props.render.hydration.buttonVariant
|
|
@@ -3810,21 +3825,20 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
|
|
|
3810
3825
|
default: return assertNever(recovery);
|
|
3811
3826
|
}
|
|
3812
3827
|
}
|
|
3813
|
-
function LoadingEventRegistrationSource({ display }) {
|
|
3828
|
+
function LoadingEventRegistrationSource({ display, pageKind }) {
|
|
3814
3829
|
return /* @__PURE__ */ jsxs("div", {
|
|
3815
3830
|
id: EVENT_REGISTRATION_ANCHOR_ID,
|
|
3816
3831
|
className: "rb-reg-surface er-container er-registration-shell",
|
|
3817
3832
|
"aria-busy": "true",
|
|
3818
3833
|
role: "status",
|
|
3819
3834
|
children: [
|
|
3820
|
-
/* @__PURE__ */ jsx("p", {
|
|
3835
|
+
bookingPresentation(pageKind).showShellHeading ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
|
|
3821
3836
|
className: "er-registration-shell__eyebrow",
|
|
3822
3837
|
children: "Registration"
|
|
3823
|
-
}),
|
|
3824
|
-
/* @__PURE__ */ jsx("h3", {
|
|
3838
|
+
}), /* @__PURE__ */ jsx("h3", {
|
|
3825
3839
|
className: "er-title er-registration-shell__title",
|
|
3826
3840
|
children: display.state === "generic-shell" ? display.titleText : "Event registration"
|
|
3827
|
-
}),
|
|
3841
|
+
})] }) : null,
|
|
3828
3842
|
/* @__PURE__ */ jsx("p", {
|
|
3829
3843
|
className: "er-text er-text--muted",
|
|
3830
3844
|
children: "Loading event dates…"
|
|
@@ -3872,4 +3886,4 @@ function RecoveredEventRegistrationClient({ props, display, events: recoveredEve
|
|
|
3872
3886
|
});
|
|
3873
3887
|
}
|
|
3874
3888
|
//#endregion
|
|
3875
|
-
export { EventRegistrationIslandClient as t };
|
|
3889
|
+
export { EventRegistrationIslandClient as n, EventRegistrationBlockClient as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-kh7mkYnW.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-DXD5i0Ar.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-Pn9Kxh3I.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-18yfHrcr.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-BAmBdWXE.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-CJoqBrS6.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
5
|
-
import { S as clsx } from "./ThemedButton-
|
|
2
|
+
import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
|
|
3
|
+
import { h as ok, m as err, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
|
|
5
|
+
import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DTof9pL3.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { Ki as listLookControl, qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-B65wFjqx.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-AOUzjDK9.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ft as formatDate$1, Lt as formatDateTime, Qt as parseBookingLocalDate, rn as parseUtcIsoDateTimeString } from "./noop-poI1m2yW.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
5
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-
|
|
3
|
+
import { Ft as formatDate, in as toUtcIsoDateTimeString, t as logger, tn as resolveBookingTimeZoneId, un as formatGiftCardAmountLabel } from "../noop-poI1m2yW.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-Dzjv2CpA.mjs";
|
|
5
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BMDHwnM6.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-CJCl0HJC.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { S as clsx } from "./ThemedButton-
|
|
2
|
+
import { gn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-DAKyWK1B.mjs";
|
|
3
|
+
import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
|
|
4
|
+
import { N as assertNever$1, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-Dzjv2CpA.mjs";
|
|
6
|
+
import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DjJsFms2.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
10
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
11
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-AOUzjDK9.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-CqzNjOft.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -994,6 +994,15 @@ function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
|
994
994
|
}
|
|
995
995
|
//#endregion
|
|
996
996
|
//#region ../core/src/event-series-behaviour.ts
|
|
997
|
+
const EVENT_PRESET_VALUES = [
|
|
998
|
+
"event",
|
|
999
|
+
"class",
|
|
1000
|
+
"course",
|
|
1001
|
+
"term",
|
|
1002
|
+
"workshop",
|
|
1003
|
+
"retreat",
|
|
1004
|
+
"performance"
|
|
1005
|
+
];
|
|
997
1006
|
const WHOLE_SERIES_EVENT_PRESET_VALUES = ["course", "term"];
|
|
998
1007
|
const SURFACE_EVENT_PRESET_VALUES = [
|
|
999
1008
|
"class",
|
|
@@ -1428,7 +1437,61 @@ const RichTextDocSchema = z.object({
|
|
|
1428
1437
|
* guard aligned with this detailed Zod validator.
|
|
1429
1438
|
*/
|
|
1430
1439
|
function isRichTextDoc(value) {
|
|
1431
|
-
return
|
|
1440
|
+
return z.safeParse(RichTextDocSchema, value).success;
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* Build a canonical {@link RichTextDoc} from plain-text paragraphs.
|
|
1444
|
+
*
|
|
1445
|
+
* Single source of truth for constructing a TipTap doc from strings.
|
|
1446
|
+
* Used by:
|
|
1447
|
+
* - `@riverbankcms/dummy-content` (fixture body generators)
|
|
1448
|
+
* - `@riverbankcms/content-model` (default template `cta-full` content)
|
|
1449
|
+
*
|
|
1450
|
+
* Empty strings produce a paragraph with no `content` array — matching
|
|
1451
|
+
* the TipTap convention for empty paragraphs. The shape is exactly what
|
|
1452
|
+
* {@link RichTextDocSchema} validates, so the type and runtime check
|
|
1453
|
+
* never drift from the constructor.
|
|
1454
|
+
*/
|
|
1455
|
+
function createRichTextDoc(paragraphs) {
|
|
1456
|
+
return {
|
|
1457
|
+
type: "doc",
|
|
1458
|
+
content: paragraphs.map((text) => text ? {
|
|
1459
|
+
type: "paragraph",
|
|
1460
|
+
content: [{
|
|
1461
|
+
type: "text",
|
|
1462
|
+
text
|
|
1463
|
+
}]
|
|
1464
|
+
} : { type: "paragraph" })
|
|
1465
|
+
};
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Build Zod validation schema for rich text fields
|
|
1469
|
+
*
|
|
1470
|
+
* @param options - Optional configuration
|
|
1471
|
+
* @param options.required - If true, validates that content is not empty
|
|
1472
|
+
* @param options.label - Field label for error messages (defaults to 'This field')
|
|
1473
|
+
* @returns Zod schema for rich text validation
|
|
1474
|
+
*
|
|
1475
|
+
* @example
|
|
1476
|
+
* // Basic usage
|
|
1477
|
+
* const schema = buildRichTextSchema()
|
|
1478
|
+
*
|
|
1479
|
+
* @example
|
|
1480
|
+
* // Required field with custom label
|
|
1481
|
+
* const schema = buildRichTextSchema({ required: true, label: 'Description' })
|
|
1482
|
+
*/
|
|
1483
|
+
function buildRichTextSchema(options) {
|
|
1484
|
+
if (options?.required === true) {
|
|
1485
|
+
const label = options.label ?? "This field";
|
|
1486
|
+
return RichTextDocSchema.refine((val) => {
|
|
1487
|
+
const content = val.content;
|
|
1488
|
+
if (!Array.isArray(content) || content.length === 0) return false;
|
|
1489
|
+
const first = content[0];
|
|
1490
|
+
if (content.length === 1 && isRecord(first) && first.type === "paragraph" && (!("content" in first) || first.content == null)) return false;
|
|
1491
|
+
return true;
|
|
1492
|
+
}, { message: `${label} is required` });
|
|
1493
|
+
}
|
|
1494
|
+
return RichTextDocSchema;
|
|
1432
1495
|
}
|
|
1433
1496
|
//#endregion
|
|
1434
1497
|
//#region ../blocks/src/system/runtime/api/schemas/bookingQuestions.ts
|
|
@@ -1904,6 +1967,10 @@ const publicEventBaseSchema = z.object({
|
|
|
1904
1967
|
occurrenceId: z.string(),
|
|
1905
1968
|
seriesId: z.string(),
|
|
1906
1969
|
title: z.string(),
|
|
1970
|
+
facts: z.array(z.object({
|
|
1971
|
+
label: z.string(),
|
|
1972
|
+
value: z.string()
|
|
1973
|
+
})).optional(),
|
|
1907
1974
|
description: z.string().nullable(),
|
|
1908
1975
|
content: z.object({ body: RichTextDocSchema.nullable().optional() }).optional(),
|
|
1909
1976
|
presentation: z.object({
|
|
@@ -2287,4 +2354,4 @@ const logger = {
|
|
|
2287
2354
|
withFields: (_) => logger
|
|
2288
2355
|
};
|
|
2289
2356
|
//#endregion
|
|
2290
|
-
export {
|
|
2357
|
+
export { imageMediaSchema as $, parseLocalScheduleTime as $t, eyebrowTreatmentValues as A, projectPublicLocation as At, blockBookingPaymentTermsSchema as B, formatTimeRange as Bt, normalizeEventCalendarDisplayMode as C, isRecord as Ct, accordionIconSetValues as D, locationValueSchema as Dt, accordionIconMotionValues as E, decideLocationSourcePermission as Et, visibleHeadingDecorationFamilyValues as F, formatDate as Ft, beforeBookingQuestionsPresentationSchema as G, toScheduledBookingDateTime as Gt, bookingConsentCarrierSchema as H, inferSiteDateLocale as Ht, eventVenueDrawingSchema as I, formatDateRange as It, buildRichTextSchema as J, compareLocalScheduleDates as Jt, bookingQuestionsAnswerValueSchema as K, buildBookingUtcDateWindow as Kt, publicEventDestinationSchema as L, formatDateTime as Lt, headingDecorationOverrideValues as M, toLocationCoordinates as Mt, isArrangementMode as N, trimmedStringOrNull as Nt, arrangementModes as O, normalizeLocationAddressText as Ot, tileTreatmentValues as P, mapDrawingSchema as Pt, externalMediaSchema as Q, parseBookingLocalDate as Qt, publicEventSchema as R, formatDateTimeRange as Rt, isEventCalendarListLayout as S, publicEventLoaderQuerySchemaShape as St, accordionIconColorTokenValues as T, WHOLE_SERIES_EVENT_PRESET_VALUES as Tt, isBookingRequirementConsentFieldId as U, resolveBookingDisplayContext as Ut, blockBookingConsentSchema as V, formatTimeZoneCityLabel as Vt, toBookingRequirementConsentField as W, formatBookingCompactEnglishTime as Wt, isRichTextDoc as X, getBookingLocalDateKey as Xt, createRichTextDoc as Y, formatLocalScheduleDate as Yt, assetMediaSchema as Z, getLocalScheduleDate as Zt, eventCalendarListLayoutOptions as _, calendarMonthDate as _t, eventAutoApplyDiscountPreviewSchema as a, validateBookingPaymentOptionKinds as an, isDisplayMediaKind as at, isEventCalendarDefaultView as b, eventSurfacePresetValues as bt, calendarMonthKey as c, toNonNegativeCents as cn, eventCalendarDefaultViewValues as ct, calendarWindowBounds as d, eventCalendarListLayoutValues as dt, resolveBookingBusinessTimeZone as en, mediaSchema as et, calendarWindowMonths as f, publicMembershipProductSchema as ft, eventCalendarListGroupingDecision as g, purchasablePublicPassProductSchema as gt, resolveCalendarReadProfile as h, purchasablePublicMembershipProductSchema as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, toUtcIsoDateTimeString as in, PUBLIC_FILE_FIELD_KINDS as it, headingDecorationColorTokenValues as j, publicLocationSchema as jt, eventListTreatmentValues as k, parseLocationValue as kt, calendarPageResponseError as l, formatCurrencyAmount as ln, eventCalendarDisplayModeValues as lt, planCalendarMonthRanges as m, publicProductSchema as mt, blockSiteTermsSchema as n, toBookingTimeZone as nn, runtimeMediaSchema as nt, publicMembershipProductCollectionSchema as o, parsePositiveCents as on, mediaTypeDiscriminants as ot, calendarWindowPageSchema as p, publicPassProductSchema as pt, RichTextDocSchema as q, addLocalScheduleDays as qt, verifiedSiteTermsAcceptanceSchema as r, parseUtcIsoDateTimeString as rn, videoMediaSchema as rt, publicPassProductCollectionSchema as s, parsePositiveMoneyInputToCents as sn, normalizeCurrencyCode as st, logger as t, resolveBookingTimeZoneId as tn, persistableMediaSchema as tt, calendarQueryKey as u, formatGiftCardAmountLabel as un, eventCalendarListLayoutCompatibleDisplayModeValues as ut, eventCalendarVariantMeaning as v, calendarWindowQuerySchema as vt, resolveEventCalendarReadPlan as w, EVENT_PRESET_VALUES as wt, isEventCalendarDisplayMode as x, eventSurfaceScopeValues as xt, eventListArrangementValues as y, eventScheduleScopeValues as yt, publicEventsArraySchema as z, formatTime as zt };
|