@riverbankcms/sdk 0.173.0 → 0.174.1
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 +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-Du0zX1B-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +14 -7
- package/dist/_dts/{client-ZlNEIvlU.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CHMlw9hT.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Dq_AboWN.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-BnatulTs.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-KXh8FQ2s.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-CJzs-yIJ.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DutLU2d2.d.ts → index-D9ZYmGAJ.d.ts} +2 -1
- package/dist/_dts/{index-DW3eeNph.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index-C611wjIL.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-M-s0p0rq.d.ts} +11 -11
- package/dist/_dts/{request-Bysk4QPI.d.ts → request-BK-pHf0P.d.ts} +3685 -1762
- package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-DXUCWJ3y.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 +9 -9
- 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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
- 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 +36 -204
- package/dist/_dts/{types-BwitGNTl.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-BoEk9ZON.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-kpp8XyXv.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-ChftKX-o.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CwrMzj-k.mjs} +10 -10
- package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +5 -5
- package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-CDkkP-Lv.mjs} +9 -9
- package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-DK3aaz62.mjs} +7 -7
- package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-WeUipfIP.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-DKFImKOx.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +45 -18
- package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-D46Dmr7b.mjs → Page-BpeP9xdt.mjs} +731 -1549
- package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-CP6zrwkl.mjs} +6 -242
- package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
- package/dist/client/{accordion-P8xcfKxq.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-Ce-mQZ7W.mjs} +362 -47
- package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-B-qT_AQB.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-0Q4fjw_K.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-1J-3ftxF.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +159 -7
- package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
- package/dist/client/{course-CmOuoZHN.mjs → course-DHIrXqNT.mjs} +2 -2
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-lL-YRApN.mjs → display-Cf_j5stk.mjs} +2574 -763
- package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-zbuX36aA.mjs} +137 -131
- package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-uZrksODt.mjs} +4 -4
- package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-DxhvNAx8.mjs} +4 -4
- package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-B9KrnPvc.mjs} +4 -4
- package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-TjnURMKl.mjs} +4 -4
- package/dist/client/{form-DO6qKH3M.mjs → form-CfqIAhfN.mjs} +3 -3
- package/dist/client/{form.client-D12ljYiX.mjs → form.client-CL6fF0cW.mjs} +6 -6
- package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-Bb7GAZpO.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-DOVe-qY3.mjs} +3 -3
- package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-CMx4-XlG.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-mpBQt2AT.mjs} +3 -3
- package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-DdTJyar2.mjs} +31 -47
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -13
- package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-Cy6xXDM7.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-DkValjZj.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +2 -2
- package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-BTtZqNmv.mjs} +13 -13
- package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-DNRqG4aX.mjs} +18 -24
- package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-Nky6kPYr.mjs} +2 -2
- package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-DZArznD_.mjs} +25 -152
- package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
- package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-Da2JqxGC.mjs} +6 -6
- package/dist/client/{view-Sw075FOY.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-D6yebI4r.mjs → view-D9ObkFtz.mjs} +12 -11
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-DwxHT-2k.mjs} +57 -144
- package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +758 -1279
- package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-D8mUct32.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-L2AEdNUQ.mjs} +50 -30
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +47 -19
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-Jpj_HDra.mjs} +101003 -51855
- package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-DmGIG9Hk.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-DQCyswQ-.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +19 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-BOuNcOcN.mjs} +153 -2
- package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-wfJfhs08.mjs} +10 -5
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-BtrJNHTB.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Dge4sqel.mjs → bindings-P1CF2Gm6.mjs} +6 -4
- package/dist/server/{client-VVIQjC4r.mjs → client-CGtU5fHI.mjs} +156 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-ChnkJSay.mjs} +8 -9
- package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-DesHhgxj.mjs} +3 -3
- package/dist/server/lookMediaFrame-BBr0mkze.mjs +2626 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-DHEkHcZs.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-0jvm0RBk.mjs} +29 -331
- package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +14 -6
- package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-CuVFoV4z.mjs} +370 -291
- package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-BMCfcev6.mjs → registry-DmqxC8th.mjs} +1258 -3166
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-EgTtnTcY.mjs → validation-Bt_8IL1g.mjs} +4 -4
- package/dist/server/{version-LjgU0Cq1.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +989 -279
- package/package.json +1 -1
- package/dist/client/bookability-SargNwlO.mjs +0 -17
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-Ce-mQZ7W.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.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-8cfSgT0E.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as resolveHeadlessEventRegistrationStatus, $n as getSingleSelectedPricingOptionId,
|
|
3
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
4
|
-
import {
|
|
5
|
-
import { p as assertNever } from "./creditProducts-
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
7
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
2
|
+
import { $ as resolveHeadlessEventRegistrationStatus, $n as getSingleSelectedPricingOptionId, Ba as normalizeEventRegistrationPageSurfaceSubject, Oa as createHostedBlockApiConfig, Q as resolveEventRegistrationSubmitPlan, Si as normalizeBookingServices, Ta as readRuntimeNow, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, Zi as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, et as resolveHeadlessEventRegistrationView, gr as resolveRegistrationDisplay, li as resolveRuntimeEventDestination, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, xi as normalizeBookingFormConfig } from "./display-Cf_j5stk.mjs";
|
|
3
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-Ce-mQZ7W.mjs";
|
|
4
|
+
import { B as publicEventSchema } from "./noop-D5mFWXtN.mjs";
|
|
5
|
+
import { p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
7
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-Dn9TpWyL.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Rr as asPartialObject, _c as itemRoleValues, dc as boxBackgroundOverlaySchema, fc as boxBackgroundSchema, gc as cardVariantRoleValues, mc as boxlessCardVariantValue, pc as runtimeBoxBackgroundSchema, vc as openCardRoleValue } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
z.enum(itemRoleValues);
|
|
5
5
|
z.enum(cardVariantRoleValues);
|
|
@@ -16,33 +16,6 @@ function normalizeCardRole(value) {
|
|
|
16
16
|
return normalizeCardVariantRole(value);
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
20
|
-
/**
|
|
21
|
-
* Safely narrows unknown values to partial object shapes used by transforms.
|
|
22
|
-
* Arrays are intentionally excluded.
|
|
23
|
-
*/
|
|
24
|
-
function asPartialObject(value) {
|
|
25
|
-
if (typeof value !== "object" || value === null || Array.isArray(value)) return;
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
function runTransforms(value, transforms, context, registry) {
|
|
29
|
-
if (!transforms?.length) return value;
|
|
30
|
-
return transforms.reduce((acc, step) => {
|
|
31
|
-
const transform = registry.get(step.id);
|
|
32
|
-
if (!transform) throw new Error(`Unknown transform: ${step.id}`);
|
|
33
|
-
const options = transform.schema ? z.parse(transform.schema, step.options ?? {}) : step.options ?? {};
|
|
34
|
-
return transform.run(acc, options, context);
|
|
35
|
-
}, value);
|
|
36
|
-
}
|
|
37
|
-
function createTransformRegistry(definitions) {
|
|
38
|
-
const registry = /* @__PURE__ */ new Map();
|
|
39
|
-
for (const definition of definitions) {
|
|
40
|
-
if (registry.has(definition.id)) continue;
|
|
41
|
-
registry.set(definition.id, definition);
|
|
42
|
-
}
|
|
43
|
-
return registry;
|
|
44
|
-
}
|
|
45
|
-
//#endregion
|
|
46
19
|
//#region ../blocks/src/system/spacing.ts
|
|
47
20
|
/**
|
|
48
21
|
* Type-safe spacing system for sections and containers.
|
|
@@ -366,4 +339,4 @@ function boxStyleClassNames(value, options) {
|
|
|
366
339
|
].filter((token) => Boolean(token)).join(" ").trim() || "";
|
|
367
340
|
}
|
|
368
341
|
//#endregion
|
|
369
|
-
export { resolveSpacing as _, hasFixedFrameBackgroundMotion as a,
|
|
342
|
+
export { resolveSpacing as _, hasFixedFrameBackgroundMotion as a, resolveItemCardRole as c, parseRuntimeBackgroundContent as d, DEFAULT_SECTION_SPACING as f, resolveSectionMinHeight as g, isSemanticSpacing as h, fixedFrameScopeClass as i, parseBackgroundContent as l, isSectionMinHeight as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, SEMANTIC_SPACING_VALUES as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, parseBackgroundOverlay as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
3
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
4
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-C23E6WQ5.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-DkValjZj.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-DJOzqb26.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-DkValjZj.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { A as prefetchBlockDataWithFailures, E as resolveSiteCustomBlocks, T as
|
|
2
|
+
import { al as parseSiteId } from "./display-Cf_j5stk.mjs";
|
|
3
|
+
import { A as prefetchBlockDataWithFailures, E as resolveSiteCustomBlocks, T as siteBlockRenderContext, _ 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-BpeP9xdt.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-9v8q2NBc.mjs";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
@@ -37,6 +37,7 @@ const PUBLIC_READ_CACHE_POLICIES = {
|
|
|
37
37
|
"public_passes",
|
|
38
38
|
"public_memberships"
|
|
39
39
|
], "batch_only"),
|
|
40
|
+
getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
|
|
40
41
|
resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
|
|
41
42
|
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
42
43
|
listPublicTeamMembers: content(["public_team_members"]),
|
|
@@ -801,6 +802,7 @@ const createClientArrangementSchema = z.object({
|
|
|
801
802
|
/** The UI selects the next N dates from get.dates, then retains this body for retry. */
|
|
802
803
|
const bookNextArrangementSchema = z.object({
|
|
803
804
|
...operation,
|
|
805
|
+
confirmation: z.string().optional(),
|
|
804
806
|
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once."),
|
|
805
807
|
bookShortfallAsOwed: z.boolean().default(false)
|
|
806
808
|
}).strict();
|
|
@@ -967,7 +969,6 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
|
|
|
967
969
|
z.object({ code: z.enum([
|
|
968
970
|
"package_shortfall",
|
|
969
971
|
"not_available",
|
|
970
|
-
"needs_recorded_return",
|
|
971
972
|
"client_not_found"
|
|
972
973
|
]) }),
|
|
973
974
|
z.object({
|
|
@@ -1250,7 +1251,11 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1250
1251
|
method: "DELETE",
|
|
1251
1252
|
auth: "user",
|
|
1252
1253
|
responseKind: "json",
|
|
1253
|
-
errors: [
|
|
1254
|
+
errors: [
|
|
1255
|
+
"resource:not_found",
|
|
1256
|
+
"resource:conflict",
|
|
1257
|
+
"server:internal_error"
|
|
1258
|
+
]
|
|
1254
1259
|
},
|
|
1255
1260
|
createTeamMemberProfile: {
|
|
1256
1261
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
|
|
@@ -1551,6 +1556,17 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1551
1556
|
"server:internal_error"
|
|
1552
1557
|
]
|
|
1553
1558
|
},
|
|
1559
|
+
previewWeeklyAvailabilityImpact: {
|
|
1560
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/weekly-availability/impact",
|
|
1561
|
+
method: "POST",
|
|
1562
|
+
auth: "user",
|
|
1563
|
+
responseKind: "json",
|
|
1564
|
+
errors: [
|
|
1565
|
+
"validation:invalid_input",
|
|
1566
|
+
"resource:not_found",
|
|
1567
|
+
"server:internal_error"
|
|
1568
|
+
]
|
|
1569
|
+
},
|
|
1554
1570
|
setServiceSpecificAvailability: {
|
|
1555
1571
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/service-availability",
|
|
1556
1572
|
method: "PUT",
|
|
@@ -3046,6 +3062,13 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3046
3062
|
"server:internal_error"
|
|
3047
3063
|
]
|
|
3048
3064
|
},
|
|
3065
|
+
getEventGoLivePage: {
|
|
3066
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/go-live-page",
|
|
3067
|
+
method: "GET",
|
|
3068
|
+
auth: "user",
|
|
3069
|
+
responseKind: "json",
|
|
3070
|
+
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3071
|
+
},
|
|
3049
3072
|
updateEventIdentity: {
|
|
3050
3073
|
path: "/sites/{siteId}/bookings/events/{eventId}",
|
|
3051
3074
|
method: "PATCH",
|
|
@@ -3636,6 +3659,30 @@ const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
3636
3659
|
//#endregion
|
|
3637
3660
|
//#region ../api/src/billingEndpointDefinitions.ts
|
|
3638
3661
|
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3662
|
+
adminSendSiteHandover: {
|
|
3663
|
+
path: "/admin/sites/{siteId}/handover",
|
|
3664
|
+
method: "POST",
|
|
3665
|
+
tags: ["admin"],
|
|
3666
|
+
auth: "admin",
|
|
3667
|
+
responseKind: "json",
|
|
3668
|
+
errors: []
|
|
3669
|
+
},
|
|
3670
|
+
adminResendSiteHandover: {
|
|
3671
|
+
path: "/admin/sites/{siteId}/handover/resend",
|
|
3672
|
+
method: "POST",
|
|
3673
|
+
tags: ["admin"],
|
|
3674
|
+
auth: "admin",
|
|
3675
|
+
responseKind: "json",
|
|
3676
|
+
errors: []
|
|
3677
|
+
},
|
|
3678
|
+
adminWithdrawSiteHandover: {
|
|
3679
|
+
path: "/admin/sites/{siteId}/handover/withdraw",
|
|
3680
|
+
method: "POST",
|
|
3681
|
+
tags: ["admin"],
|
|
3682
|
+
auth: "admin",
|
|
3683
|
+
responseKind: "json",
|
|
3684
|
+
errors: []
|
|
3685
|
+
},
|
|
3639
3686
|
adminChangePlan: {
|
|
3640
3687
|
path: "/admin/billing/plan",
|
|
3641
3688
|
method: "POST",
|
|
@@ -4626,6 +4673,18 @@ const API_ENDPOINTS$1 = {
|
|
|
4626
4673
|
"server:internal_error"
|
|
4627
4674
|
]
|
|
4628
4675
|
},
|
|
4676
|
+
turnOnCourses: {
|
|
4677
|
+
path: "/sites/{siteId}/bookings/settings/courses",
|
|
4678
|
+
method: "POST",
|
|
4679
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
4680
|
+
auth: "user",
|
|
4681
|
+
responseKind: "json",
|
|
4682
|
+
errors: [
|
|
4683
|
+
"auth:forbidden",
|
|
4684
|
+
"resource:conflict",
|
|
4685
|
+
"server:internal_error"
|
|
4686
|
+
]
|
|
4687
|
+
},
|
|
4629
4688
|
sendTestEmail: {
|
|
4630
4689
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4631
4690
|
method: "POST",
|
|
@@ -4708,6 +4767,30 @@ const API_ENDPOINTS$1 = {
|
|
|
4708
4767
|
responseKind: "json",
|
|
4709
4768
|
errors: ["auth:forbidden", "server:internal_error"]
|
|
4710
4769
|
},
|
|
4770
|
+
authEmailCodeSend: {
|
|
4771
|
+
path: "/auth/email-code/send",
|
|
4772
|
+
method: "POST",
|
|
4773
|
+
tags: ["auth"],
|
|
4774
|
+
auth: "public",
|
|
4775
|
+
responseKind: "json",
|
|
4776
|
+
errors: []
|
|
4777
|
+
},
|
|
4778
|
+
authEmailCodeVerify: {
|
|
4779
|
+
path: "/auth/email-code/verify",
|
|
4780
|
+
method: "POST",
|
|
4781
|
+
tags: ["auth"],
|
|
4782
|
+
auth: "public",
|
|
4783
|
+
responseKind: "json",
|
|
4784
|
+
errors: []
|
|
4785
|
+
},
|
|
4786
|
+
authForgetEmail: {
|
|
4787
|
+
path: "/auth/remembered-email/clear",
|
|
4788
|
+
method: "POST",
|
|
4789
|
+
tags: ["auth"],
|
|
4790
|
+
auth: "public",
|
|
4791
|
+
responseKind: "json",
|
|
4792
|
+
errors: []
|
|
4793
|
+
},
|
|
4711
4794
|
authLogin: {
|
|
4712
4795
|
path: "/auth/login/submit",
|
|
4713
4796
|
method: "POST",
|
|
@@ -4736,6 +4819,22 @@ const API_ENDPOINTS$1 = {
|
|
|
4736
4819
|
auth: "public",
|
|
4737
4820
|
responseKind: "json"
|
|
4738
4821
|
},
|
|
4822
|
+
authReauthEmailCodeSend: {
|
|
4823
|
+
path: "/auth/reauth/email-code",
|
|
4824
|
+
method: "POST",
|
|
4825
|
+
tags: ["auth"],
|
|
4826
|
+
auth: "user",
|
|
4827
|
+
errors: [],
|
|
4828
|
+
responseKind: "json"
|
|
4829
|
+
},
|
|
4830
|
+
authReauthEmailCodeVerify: {
|
|
4831
|
+
path: "/auth/reauth/email-code/verify",
|
|
4832
|
+
method: "POST",
|
|
4833
|
+
tags: ["auth"],
|
|
4834
|
+
auth: "user",
|
|
4835
|
+
errors: [],
|
|
4836
|
+
responseKind: "json"
|
|
4837
|
+
},
|
|
4739
4838
|
authStatus: {
|
|
4740
4839
|
path: "/auth/status",
|
|
4741
4840
|
method: "GET",
|
|
@@ -4793,6 +4892,14 @@ const API_ENDPOINTS$1 = {
|
|
|
4793
4892
|
auth: "user",
|
|
4794
4893
|
responseKind: "json"
|
|
4795
4894
|
},
|
|
4895
|
+
dismissSiteInviteWelcome: {
|
|
4896
|
+
path: "/sites/{siteId}/members/invite-welcome/dismiss",
|
|
4897
|
+
method: "POST",
|
|
4898
|
+
auth: "user",
|
|
4899
|
+
responseKind: "json",
|
|
4900
|
+
errors: ["auth:forbidden", "server:internal_error"],
|
|
4901
|
+
tags: ["site-{siteId}"]
|
|
4902
|
+
},
|
|
4796
4903
|
revokeSiteInvitation: {
|
|
4797
4904
|
path: "/sites/{siteId}/members/invitations/{invitationId}",
|
|
4798
4905
|
method: "DELETE",
|
|
@@ -5905,6 +6012,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5905
6012
|
auth: "user",
|
|
5906
6013
|
responseKind: "json"
|
|
5907
6014
|
},
|
|
6015
|
+
mfaRenameFactor: {
|
|
6016
|
+
path: "/auth/mfa/factors/{factorId}",
|
|
6017
|
+
method: "PATCH",
|
|
6018
|
+
tags: ["mfa"],
|
|
6019
|
+
auth: "user",
|
|
6020
|
+
errors: [],
|
|
6021
|
+
responseKind: "json"
|
|
6022
|
+
},
|
|
6023
|
+
mfaTurnOff: {
|
|
6024
|
+
path: "/auth/mfa/turn-off",
|
|
6025
|
+
method: "POST",
|
|
6026
|
+
tags: ["mfa"],
|
|
6027
|
+
auth: "user",
|
|
6028
|
+
errors: [],
|
|
6029
|
+
responseKind: "json"
|
|
6030
|
+
},
|
|
5908
6031
|
mfaBackupCodesGet: {
|
|
5909
6032
|
path: "/auth/mfa/backup-codes",
|
|
5910
6033
|
method: "GET",
|
|
@@ -5959,6 +6082,18 @@ const API_ENDPOINTS$1 = {
|
|
|
5959
6082
|
],
|
|
5960
6083
|
responseKind: "json"
|
|
5961
6084
|
},
|
|
6085
|
+
accountDismissTwoStepPrompt: {
|
|
6086
|
+
path: "/account/two-step-prompt/dismiss",
|
|
6087
|
+
method: "POST",
|
|
6088
|
+
tags: ["account"],
|
|
6089
|
+
auth: "user",
|
|
6090
|
+
errors: [
|
|
6091
|
+
"auth:unauthenticated",
|
|
6092
|
+
"validation:invalid_input",
|
|
6093
|
+
"server:internal_error"
|
|
6094
|
+
],
|
|
6095
|
+
responseKind: "json"
|
|
6096
|
+
},
|
|
5962
6097
|
accountRevokeSessions: {
|
|
5963
6098
|
path: "/account/sessions/revoke",
|
|
5964
6099
|
method: "POST",
|
|
@@ -5966,6 +6101,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5966
6101
|
auth: "user",
|
|
5967
6102
|
responseKind: "json"
|
|
5968
6103
|
},
|
|
6104
|
+
accountRevokeSession: {
|
|
6105
|
+
path: "/account/sessions/{sessionId}",
|
|
6106
|
+
method: "DELETE",
|
|
6107
|
+
tags: ["account"],
|
|
6108
|
+
auth: "user",
|
|
6109
|
+
errors: [],
|
|
6110
|
+
responseKind: "json"
|
|
6111
|
+
},
|
|
6112
|
+
accountUnlinkGoogle: {
|
|
6113
|
+
path: "/account/identities/google",
|
|
6114
|
+
method: "DELETE",
|
|
6115
|
+
tags: ["account"],
|
|
6116
|
+
auth: "user",
|
|
6117
|
+
errors: [],
|
|
6118
|
+
responseKind: "json"
|
|
6119
|
+
},
|
|
5969
6120
|
adminListInvites: {
|
|
5970
6121
|
path: "/admin/invites",
|
|
5971
6122
|
method: "GET",
|
|
@@ -9785,6 +9936,7 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
9785
9936
|
"auth:token_invalid",
|
|
9786
9937
|
"auth:forbidden",
|
|
9787
9938
|
"auth:mfa_required",
|
|
9939
|
+
"auth:mfa_setup_required",
|
|
9788
9940
|
"auth:sudo_required",
|
|
9789
9941
|
"auth:insufficient_permissions",
|
|
9790
9942
|
"auth:impersonation_restricted",
|
|
@@ -10421,7 +10573,7 @@ async function loadUsePageSuccess(input) {
|
|
|
10421
10573
|
resolvedData: prefetched.resolvedData,
|
|
10422
10574
|
dataContext: {
|
|
10423
10575
|
previewStage,
|
|
10424
|
-
...
|
|
10576
|
+
...siteBlockRenderContext(buildSiteRenderSupport(site, mediaAssets)),
|
|
10425
10577
|
prefetchedBlockData: prefetched,
|
|
10426
10578
|
loaderSnapshot: prefetched.loaderSnapshot,
|
|
10427
10579
|
loaderFailures: prefetched.loaderFailures
|
|
@@ -10975,7 +11127,7 @@ var SimpleCache = class {
|
|
|
10975
11127
|
//#endregion
|
|
10976
11128
|
//#region src/request-options.ts
|
|
10977
11129
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
10978
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
11130
|
+
const sdkRequestOptions = { sdkVersion: "0.174.1" };
|
|
10979
11131
|
//#endregion
|
|
10980
11132
|
//#region src/client/error.ts
|
|
10981
11133
|
let _Symbol$for;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as normalizeCurrencyCode, dn as parsePositiveCents, i as EVENT_BOOKING_ARRIVAL_QUERY, n as blockSiteTermsSchema, p as calendarWindowPageSchema, pn as toNonNegativeCents, q as beforeBookingQuestionsPresentationSchema, s as publicPassProductCollectionSchema } from "./noop-D5mFWXtN.mjs";
|
|
3
3
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
4
4
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
5
5
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Lc as orderedLiveRunSessions, Rc as resolveWholeSeriesBookingPhase, co as isEventFull, li as resolveRuntimeEventDestination, no as formatEventRemainingPlaces, oo as getEventAvailabilityStatus, to as canJoinEventWaitlistOnAnyMode } from "./display-Cf_j5stk.mjs";
|
|
3
|
+
import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
6
6
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -5,93 +5,11 @@ const unsafeAsAppointmentServiceId = (id) => id;
|
|
|
5
5
|
const unsafeAsAppointmentResourceId = (id) => id;
|
|
6
6
|
const parseAppointmentServiceId = (value) => parseUuidBrand(value, unsafeAsAppointmentServiceId);
|
|
7
7
|
//#endregion
|
|
8
|
-
//#region ../core/src/date-math.ts
|
|
9
|
-
function addDaysToDate(date, dayCount) {
|
|
10
|
-
const next = new Date(date);
|
|
11
|
-
next.setUTCDate(next.getUTCDate() + dayCount);
|
|
12
|
-
return next;
|
|
13
|
-
}
|
|
14
|
-
function addDaysToIso(isoString, dayCount) {
|
|
15
|
-
const date = new Date(isoString);
|
|
16
|
-
if (!Number.isFinite(date.getTime())) return isoString;
|
|
17
|
-
return addDaysToDate(date, dayCount).toISOString();
|
|
18
|
-
}
|
|
19
|
-
function subtractDaysFromIso(isoString, dayCount) {
|
|
20
|
-
return addDaysToIso(isoString, -dayCount);
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
8
|
//#region ../core/src/assert-never.ts
|
|
24
|
-
function assertNever$
|
|
9
|
+
function assertNever$3(value, message = "Unexpected variant") {
|
|
25
10
|
throw new Error(`${message}: ${String(value)}`);
|
|
26
11
|
}
|
|
27
12
|
//#endregion
|
|
28
|
-
//#region ../core/src/booking-flexible-balance.ts
|
|
29
|
-
function clampFlexibleBalanceConfiguredAmount(amountCents, totalAmountCents) {
|
|
30
|
-
return Math.max(0, Math.min(amountCents, totalAmountCents));
|
|
31
|
-
}
|
|
32
|
-
function resolveFlexibleBalanceInitialPaymentCents(input) {
|
|
33
|
-
return clampFlexibleBalanceConfiguredAmount(input.config.upfrontAmountCents, input.totalAmountCents);
|
|
34
|
-
}
|
|
35
|
-
function resolveFlexibleBalanceDueAt(input) {
|
|
36
|
-
switch (input.dueDateRule.kind) {
|
|
37
|
-
case "relative_to_start_date": return subtractDaysFromIso(input.bookingStartAt, input.dueDateRule.daysBeforeStart);
|
|
38
|
-
case "fixed_calendar_date": return input.dueDateRule.dueAt;
|
|
39
|
-
default: return assertNever$3(input.dueDateRule);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
function calculateFlexibleBalanceMinimumPaymentCents(input) {
|
|
43
|
-
if (input.remainingBalanceCents <= 0) return 0;
|
|
44
|
-
const minimumPercentageBps = input.minimumPercentageBps ?? 1e3;
|
|
45
|
-
const percentageFloor = Math.ceil(input.remainingBalanceCents * minimumPercentageBps / 1e4);
|
|
46
|
-
return Math.min(input.remainingBalanceCents, Math.max(input.stripeMinimumChargeCents, percentageFloor));
|
|
47
|
-
}
|
|
48
|
-
function resolveFlexibleBalancePaymentEligibility(input) {
|
|
49
|
-
if (input.remainingBalanceCents <= 0 || input.status === "completed") return {
|
|
50
|
-
kind: "unavailable",
|
|
51
|
-
reason: "already_settled"
|
|
52
|
-
};
|
|
53
|
-
switch (input.status) {
|
|
54
|
-
case "payment_pending":
|
|
55
|
-
case "cancelled_due_to_non_payment":
|
|
56
|
-
case "refunded":
|
|
57
|
-
case "waived": return {
|
|
58
|
-
kind: "unavailable",
|
|
59
|
-
reason: input.status
|
|
60
|
-
};
|
|
61
|
-
case "closed_order_failed": return {
|
|
62
|
-
kind: "unavailable",
|
|
63
|
-
reason: "order_failed"
|
|
64
|
-
};
|
|
65
|
-
case "overdue": return {
|
|
66
|
-
kind: "full_balance_only",
|
|
67
|
-
remainingBalanceCents: input.remainingBalanceCents,
|
|
68
|
-
reason: "overdue"
|
|
69
|
-
};
|
|
70
|
-
case "active": {
|
|
71
|
-
const minimumAmountCents = calculateFlexibleBalanceMinimumPaymentCents({
|
|
72
|
-
remainingBalanceCents: input.remainingBalanceCents,
|
|
73
|
-
stripeMinimumChargeCents: input.stripeMinimumChargeCents,
|
|
74
|
-
minimumPercentageBps: input.minimumPercentageBps
|
|
75
|
-
});
|
|
76
|
-
if (minimumAmountCents >= input.remainingBalanceCents) return {
|
|
77
|
-
kind: "full_balance_only",
|
|
78
|
-
remainingBalanceCents: input.remainingBalanceCents,
|
|
79
|
-
reason: "dust_balance"
|
|
80
|
-
};
|
|
81
|
-
return {
|
|
82
|
-
kind: "eligible",
|
|
83
|
-
minimumAmountCents,
|
|
84
|
-
maximumCustomAmountCents: input.remainingBalanceCents,
|
|
85
|
-
suggestedPayFullAmountCents: input.remainingBalanceCents
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
default: return assertNever$3(input.status);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
function assertNever$3(value) {
|
|
92
|
-
throw new Error(`Unexpected value: ${String(value)}`);
|
|
93
|
-
}
|
|
94
|
-
//#endregion
|
|
95
13
|
//#region ../core/src/booking-instalments.ts
|
|
96
14
|
function isDepositBearingBookingInstalmentPlan(plan) {
|
|
97
15
|
switch (plan.kind) {
|
|
@@ -392,4 +310,4 @@ function deriveCreditProductLabels(products, options = {}) {
|
|
|
392
310
|
};
|
|
393
311
|
}
|
|
394
312
|
//#endregion
|
|
395
|
-
export {
|
|
313
|
+
export { assertNever$3 as A, addIntervalPreservingMonthAnchor as C, getBookingInstalmentPlanIntervalCount as D, getBookingInstalmentDepositRefundability as E, unsafeAsAppointmentResourceId as M, unsafeAsAppointmentServiceId as N, omitZeroAmountFutureRows as O, formatCreditProductUnits as S, formatOrderInstalmentStatusLabel as T, clearWorkflowFeedback as _, buildBookingQuestionsSubmission as a, creditProductUnitNoun as b, initialBookingQuestionValues as c, resolveBookingQuestionsAnswerMode as d, unansweredRequiredBookingQuestions as f, okWith as g, ok as h, UNANSWERED_QUESTION_MESSAGE as i, parseAppointmentServiceId as j, splitAmountWithRemainderInFirst as k, initialBookingQuestionsAnswerMode as l, err as m, getCreditProductTypeLabel as n, checkBookingQuestionsAnswered as o, assertNever$1 as p, UNANSWERED_QUESTIONS_SUMMARY as r, getInitialFieldValue as s, deriveCreditProductLabels as t, initialBookingQuestionsValues as u, reportWorkflowError as v, clampConfiguredAmount as w, formatCreditProductBalance as x, reportWorkflowSuccess as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as
|
|
2
|
+
import { Bt as formatDate$1, Ht as formatDateTime$1, Jt as resolveBookingDisplayContext, Ut as formatDateTimeRange, Wt as formatTime, cn as parseUtcIsoDateTimeString, ln as toUtcIsoDateTimeString, on as resolveBookingTimeZoneId, rn as parseBookingLocalDate } from "./noop-D5mFWXtN.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) {
|
|
@@ -7,6 +7,14 @@ function readInstant(value) {
|
|
|
7
7
|
return result?.ok ? result.value : null;
|
|
8
8
|
}
|
|
9
9
|
function formatDate(value, context, style = "short") {
|
|
10
|
+
if (value && /^\d{4}-\d{2}-\d{2}$/.test(value)) try {
|
|
11
|
+
return formatDate$1({
|
|
12
|
+
kind: "civil",
|
|
13
|
+
value: parseBookingLocalDate(value)
|
|
14
|
+
}, context, { date: style });
|
|
15
|
+
} catch {
|
|
16
|
+
return "—";
|
|
17
|
+
}
|
|
10
18
|
const instant = readInstant(value);
|
|
11
19
|
return instant ? formatDate$1({
|
|
12
20
|
kind: "instant",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as BlockApiError } from "./context-
|
|
2
|
+
import { i as BlockApiError } from "./context-CNlesLfF.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";
|