@riverbankcms/sdk 0.159.0 → 0.161.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/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- 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 +13 -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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- 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 +10 -28
- 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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- 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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { dr as unsafeAsAppointmentResourceId } from "./schema-C-m8XHuW.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { Et as parseUtcIsoDateTimeString, Ot as resolveBookingTimeZoneId, _t as addLocalScheduleDays, lt as formatDate$1, pt as formatTime$1, wt as parseBookingLocalDate, xt as formatLocalScheduleDate } from "./noop-B7H6gCbj.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
|
|
6
6
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
7
7
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jt as toUtcIsoDateTimeString } from "./noop-B7H6gCbj.mjs";
|
|
3
3
|
import { useCallback, useEffect, useState } from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
|
|
5
5
|
const ANCHOR_CLOCK = { kind: "anchor" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { br as err, xr as ok } from "./schema-C-m8XHuW.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useCallback } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as EventItem } from "./EventItem-
|
|
7
|
-
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
9
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-dlapZ6mi.mjs";
|
|
2
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
|
|
5
|
+
import { Ft as getEventRuntimeFiltersKey, It as normalizeCsvIds, Lt as normalizeCsvString, Rt as normalizeOptionalId } from "./shop.interactive-CVqLAU53.mjs";
|
|
6
|
+
import { r as EventItem } from "./EventItem-BEx-qiDE.mjs";
|
|
7
|
+
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-9RFrBejr.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
|
|
10
9
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
//#region ../blocks/src/system/runtime/hooks/loadStateError.ts
|
|
@@ -404,20 +403,8 @@ function useEventCollectionFilters(source) {
|
|
|
404
403
|
}
|
|
405
404
|
//#endregion
|
|
406
405
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.client.tsx
|
|
407
|
-
function EventCardClient(
|
|
408
|
-
|
|
409
|
-
const mapSlot = Boolean(showMap && allowMap && location) && location ? /* @__PURE__ */ jsx(LeafletStaticMap, {
|
|
410
|
-
location,
|
|
411
|
-
label: event.venue?.name,
|
|
412
|
-
height: 150
|
|
413
|
-
}) : null;
|
|
414
|
-
return /* @__PURE__ */ jsx(EventCard, {
|
|
415
|
-
...cardProps,
|
|
416
|
-
event,
|
|
417
|
-
showMap,
|
|
418
|
-
allowMap,
|
|
419
|
-
mapSlot
|
|
420
|
-
});
|
|
406
|
+
function EventCardClient(props) {
|
|
407
|
+
return /* @__PURE__ */ jsx(EventCard, { ...props });
|
|
421
408
|
}
|
|
422
409
|
//#endregion
|
|
423
410
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.tsx
|
|
@@ -464,7 +451,8 @@ function renderClientEventListItem(event, source) {
|
|
|
464
451
|
itemSurfaces: display.itemSurfaces,
|
|
465
452
|
buttonVariant: display.buttonVariant,
|
|
466
453
|
buttonText: display.buttonText,
|
|
467
|
-
showCapacity: display.showCapacity
|
|
454
|
+
showCapacity: display.showCapacity,
|
|
455
|
+
showVenue: display.showVenue
|
|
468
456
|
}, event.occurrenceId || event.id) : /* @__PURE__ */ jsx(EventCardClient, {
|
|
469
457
|
event,
|
|
470
458
|
lookSlots: display.lookSlots,
|
|
@@ -502,7 +490,7 @@ function EventListPaginationFooter({ display, loading, error, hasMore, loadMore,
|
|
|
502
490
|
retry,
|
|
503
491
|
append: true
|
|
504
492
|
}) : null;
|
|
505
|
-
if (!hasMore) return failure;
|
|
493
|
+
if (!hasMore || paginationAction.kind === "none") return failure;
|
|
506
494
|
if (paginationAction.kind === "seeAllLink") return /* @__PURE__ */ jsxs(Fragment, { children: [failure, display.sectionAction ? null : /* @__PURE__ */ jsx("div", {
|
|
507
495
|
...listLookSlot(display, "more"),
|
|
508
496
|
className: "rb-mt-8 rb-text-center",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region ../core/src/uuid.ts
|
|
3
|
+
function generateUuidV4(cryptoSource = globalThis.crypto) {
|
|
4
|
+
if (typeof cryptoSource.randomUUID === "function") return cryptoSource.randomUUID();
|
|
5
|
+
const bytes = cryptoSource.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
|
|
6
|
+
bytes[6] = (bytes[6] ?? 0) & 15 | 64;
|
|
7
|
+
bytes[8] = (bytes[8] ?? 0) & 63 | 128;
|
|
8
|
+
const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0"));
|
|
9
|
+
return `${hex.slice(0, 4).join("")}-${hex.slice(4, 6).join("")}-${hex.slice(6, 8).join("")}-${hex.slice(8, 10).join("")}-${hex.slice(10).join("")}`;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { generateUuidV4 as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
4
|
-
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
|
|
4
|
+
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-CVqLAU53.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-BEx-qiDE.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { U as formatCurrencyAmount } from "./ThemedButton-CnyL3s1A.mjs";
|
|
3
3
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
5
|
+
import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-BkZc-hKH.mjs";
|
|
6
|
+
import { At as toScheduledBookingDateTime, Ct as getLocalScheduleDate, Dt as resolveBookingBusinessTimeZone, St as getBookingLocalDateKey, ft as formatDateTimeRange, jt as toUtcIsoDateTimeString, kt as toBookingTimeZone, lt as formatDate, ut as formatDateRange, yt as compareLocalScheduleDates } from "./noop-B7H6gCbj.mjs";
|
|
7
|
+
import { r as MapDrawingSvg, t as LocationMapActions } from "./LocationMapActions-Wsr83Q7q.mjs";
|
|
8
|
+
import { Qt as formatEventPriceDisplay, Vt as CardListContentPart, Xt as formatEventPrice, Zt as formatEventPriceAmount, vt as formatBookingSchedulePresentation } from "./shop.interactive-CVqLAU53.mjs";
|
|
9
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
|
|
8
10
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
9
11
|
import "react";
|
|
10
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -677,7 +679,11 @@ function EventVenueFact({ venue }) {
|
|
|
677
679
|
venue.address ? /* @__PURE__ */ jsx("p", {
|
|
678
680
|
className: "rb-caption",
|
|
679
681
|
children: venue.address
|
|
680
|
-
}) : null
|
|
682
|
+
}) : null,
|
|
683
|
+
/* @__PURE__ */ jsx(LocationMapActions, {
|
|
684
|
+
location: venue.location,
|
|
685
|
+
addressText: venue.address
|
|
686
|
+
})
|
|
681
687
|
]
|
|
682
688
|
}) : null;
|
|
683
689
|
}
|
|
@@ -816,11 +822,11 @@ function acceptedProductNames(props) {
|
|
|
816
822
|
const memberships = props.showAcceptedMemberships !== false ? (props.applicableMemberships ?? []).map(({ name }) => name) : [];
|
|
817
823
|
return [...passes, ...memberships];
|
|
818
824
|
}
|
|
819
|
-
function EventVenueMap({ venue, showMap, mapHeight, mapClassName
|
|
820
|
-
if (!showMap || !
|
|
821
|
-
return
|
|
822
|
-
|
|
823
|
-
|
|
825
|
+
function EventVenueMap({ venue, showMap, mapHeight, mapClassName }) {
|
|
826
|
+
if (!showMap || !venue?.drawing) return null;
|
|
827
|
+
return /* @__PURE__ */ jsx(MapDrawingSvg, {
|
|
828
|
+
drawing: venue.drawing,
|
|
829
|
+
label: venue.name,
|
|
824
830
|
className: mapClassName,
|
|
825
831
|
height: mapHeight
|
|
826
832
|
});
|
|
@@ -839,7 +845,7 @@ function selectedEventPricing(event, showCost) {
|
|
|
839
845
|
};
|
|
840
846
|
}
|
|
841
847
|
function SelectedEventDetailsView(props) {
|
|
842
|
-
const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName,
|
|
848
|
+
const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
|
|
843
849
|
const selected = selection.selected;
|
|
844
850
|
const venue = showVenue ? selected.venue : void 0;
|
|
845
851
|
const pricing = selectedEventPricing(selected, props.showCost);
|
|
@@ -870,8 +876,7 @@ function SelectedEventDetailsView(props) {
|
|
|
870
876
|
venue,
|
|
871
877
|
showMap,
|
|
872
878
|
mapHeight,
|
|
873
|
-
mapClassName
|
|
874
|
-
renderVenueMap
|
|
879
|
+
mapClassName
|
|
875
880
|
})]
|
|
876
881
|
}),
|
|
877
882
|
showOtherDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection }) : null
|
|
@@ -896,7 +901,6 @@ function LegacyEventDetailsView(props) {
|
|
|
896
901
|
autoApplyDiscount: props.autoApplyDiscount ?? null,
|
|
897
902
|
mapHeight: props.mapHeight ?? 200,
|
|
898
903
|
mapClassName: props.mapClassName ?? "event-details-map",
|
|
899
|
-
renderVenueMap: props.renderVenueMap,
|
|
900
904
|
acceptedItems: acceptedProductNames(props)
|
|
901
905
|
});
|
|
902
906
|
}
|