@riverbankcms/sdk 0.175.0 → 0.177.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 +12 -4
- package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-sYraeqm9.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-Bp7hTDTy.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-CxkCCyKw.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-K6UhbL3t.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-BLAdIMyr.d.ts} +4 -8
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-BG7yTZ6t.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DwMHeYmQ.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-X_WpGzZZ.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index--n-wV8Xd.d.ts} +1 -1
- package/dist/_dts/{index-OtazQE3U.d.ts → index-BLseXObg.d.ts} +2 -2
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-BMGif2r3.d.ts} +1 -1
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-BpAW9AKB.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-Bygd2RCg.d.ts} +4 -4
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-CBRbZJ6u.d.ts} +2 -15
- package/dist/_dts/{index-YRQulWB4.d.ts → index-CX9bp60k.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-uhUThWaq.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-Bf9YImJw.d.ts} +54398 -54148
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-D6M5NMZB.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-DkzWvFbG.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/gifting/client.d.ts +1 -1
- 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 +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 +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- 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 +1 -1
- package/dist/_dts/{types-OKzbqRBx.d.ts → types-BdZ5pJSk.d.ts} +20 -3
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-C1l2Sm2h.d.ts} +5 -5
- package/dist/_dts/{types-CXL1QJSY.d.ts → types-DgV8P2mz.d.ts} +7 -7
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-BtbZIT5f.d.ts} +7 -6
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-C03rc6jw.mjs} +339 -269
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +70 -10
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +47 -26
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-D6-jojqh.mjs} +52 -8
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-BUVFKZ4k.mjs} +57 -61
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-292pOiSt.mjs} +10 -10
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-CW0Yzj3h.mjs} +9 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-Dba7zoZK.mjs} +87 -48
- package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-B-utyhbS.mjs} +506 -282
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-CCoGydUD.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-DCpXVcA0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-sjOvRAHY.mjs} +27 -17
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-R1rZ9-IZ.mjs} +3 -30
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-BS7CANPv.mjs} +17 -3
- package/dist/preview-next/container-responsive.css +3 -0
- package/dist/preview-next/editor-chrome.css +4 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BSSbtz6A.mjs} +24 -3
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Dc3DX7Cf.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-BPLLL22F.mjs} +69 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next/revalidate.mjs +15 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-CkpwAHvW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-6z6JBU41.mjs} +121 -67
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-B4_Llisx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-BvHio6QI.mjs} +4 -6
- package/dist/server/{version-B8g-Wx57.mjs → version-SuFlio6n.mjs} +1 -1
- package/dist/styles/index.css +8 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as shopProductPresentation } from "./shop.interactive-
|
|
3
|
-
import { c as formatCommercePrice, l as formatInterval, t as appliedDiscountHint
|
|
4
|
-
import { n as assertNever } from "./noop-
|
|
2
|
+
import { _ as shopProductPresentation } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { Oi as getShopSuccessCopy, c as formatCommercePrice, l as formatInterval, t as appliedDiscountHint } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-CaQxI-Js.mjs";
|
|
5
5
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
8
8
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { a as useDiscountApply, i as isDiscountCodeRefusal, p as DiscountCodeDisclosure, t as BookingConfirmation, u as planDirectShopCheckoutRequest } from "./DemoBookingPortalAccess-
|
|
9
|
+
import { a as useDiscountApply, i as isDiscountCodeRefusal, p as DiscountCodeDisclosure, t as BookingConfirmation, u as planDirectShopCheckoutRequest } from "./DemoBookingPortalAccess-C9Ggcfx3.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { i as consumeSearchParams, n as useTransientShopAddFeedback, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-I_mXI9Yd.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-3foOzGWR.mjs";
|
|
19
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-tZxIm3RL.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-DOm7vx0X.mjs";
|
|
21
21
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
22
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
23
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
22
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-CF6FWCoo.mjs";
|
|
23
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-DGcc7twO.mjs";
|
|
24
24
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
25
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
26
26
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema,
|
|
3
|
+
import { Aa as registrationButtonVariantSchema, Ar as renderVideo, At as toWholeSeriesRegistrationEvent, Bo as nextLiveRunSessionStartMs, C as getEventSelectionMode, Ca as columnOptionSchema, Co as defineClientOwnedBlockRuntime, Cr as shownVenue, D as registrationRoute, Da as eventLayoutSchema, Dr as computeMediaTransformStyle, Ea as eventCalendarDisplayModeSchema, Er as MediaPlaceholder, Ga as bookingPageKindSchema, Ho as resolveWholeSeriesBookingPhase, Ia as resolveDateRuntimeContext, Ja as defineInteractiveIslandMetaKeys, Jo as parseBrevoListId, Ka as buildInteractiveIslandProps, Kn as withOccurrenceTitle, Ko as DEFAULT_MAILING_LIST_PRIVACY_NOTE, La as browserReadAuthoritySchema, Lo as flexibleBalanceDueDay, Na as blockButtonRoleSchema, O as registrationStepLabel, Oa as filterAutoShowSchema, Or as mediaImageHostProps, P as isRegistrationLocked, Pn as formatBookingWhen, Pr as resolveMediaNodeResponsiveImage, Qa as resolveEventRegistrationScopedEvents, Rn as formatRegistrationSchedule, S as REGISTRATION_STEP_LABELS, Sa as calendarTabViewsSchema, So as createZodCodec, Sr as resolveRegistrationDisplay, Ta as eventCalendarDefaultViewSchema, To as isDecodeSuccess, Tr as ImagePresets, Ua as pageNavigationSchema, Uo as resolveWholeSeriesRunLifecycle, Wo as parseMailingListRuntimeContext, Xo as parseMailchimpInterestId, Ya as eventRegistrationPageSurfaceSubjectSchema, Yo as parseMailchimpAudienceId, Za as resolveEventRegistrationChoices, Zo as parseNewsletterListId, _ as deriveCommerceCheckoutState, _o as getRemainingPlaces, ai as eventLocalDateKey, as as publicEventPricingDisplay, br as placesLeftLabel, es as EVENT_PRESET_VOCABULARY, fs as parseEventSeriesId, ht as resolveEventRequiresPayment, i as buildPassesMembershipsDisplay, ii as eventDateOptions, is as publicEventPricingCurrency, ja as weekStartSchema, jt as toWholeSeriesRegistrationEvents, k as registrationStepLabelContext, ka as previewStageSchema, kr as renderAudio, kt as toRegistrationEvents, li as formatEventCompactDateRail, n as buildCartDisplay, ni as eventCalendarWeekStart, ns as formatEventPricing, o as buildProductDetailDisplay, po as formatRemainingPlaces, pt as findPreSelectedEvent, qa as createInteractiveIslandCodec, qo as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, r as buildCheckoutDisplay, ri as eventDateLocale, s as buildProductListDisplay, ts as formatBookingPriceDisplay, wa as eventButtonVariantSchema, wo as defineProgressiveBlockRuntime, wr as RichText, x as resolveSelectedProduct, xa as bookingNowSchema, xo as groupPublicEventsByRun, xr as registrationDisplaySchema, yi as resolveRuntimeEventDestination, yo as selectEventCapacitySource, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { $t as inferSiteDateLocale, At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema, Kt as formatDate, Ot as eventSurfacePresetValues, St as publicProductSchema, T as eventCalendarVariantMeaning, Xt as formatTime, b as calendarWindowPageSchema, bt as publicMembershipProductSchema, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, kt as eventSurfaceScopeValues, l as blockSiteTermsSchema, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString, n as assertNever, q as publicEventSchema, qt as formatDateRange, rn as buildBookingUtcDateWindow, wt as purchasablePublicPassProductSchema, xt as publicPassProductSchema } from "./noop-CaQxI-Js.mjs";
|
|
5
5
|
import { S as getBookingInstalmentProtectedDepositAmountCents, T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
6
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-xrjaKaCj.mjs";
|
|
7
|
-
import { Bt as toNonEmptyReadonlyArray, Ot as assertNever$2, S as resolveModeArrangement, i as lookListPresentationSchemaShape, in as cardRoleSchema, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
7
|
+
import { Bt as toNonEmptyReadonlyArray, Ot as assertNever$2, S as resolveModeArrangement, i as lookListPresentationSchemaShape, in as cardRoleSchema, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
8
8
|
import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
9
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BgO0rZce.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Ia as resolveDateRuntimeContext, Jr as isInlineTextEmpty, Yr as parseInlineTextFromUnknown, _i as groupEventsByDate, ci as formatEventClockLabel, fo as formatEventRemainingPlaces, go as getEventAvailabilityStatus, ii as eventDateOptions, mi as formatEventTimeRange, vi as resolveEventTimeZone, vo as isEventFull, wr as RichText } from "./display-4HYOb-AK.mjs";
|
|
3
|
+
import { Kt as formatDate, nn as toScheduledBookingDateTime, tn as formatBookingCompactEnglishTime, un as parseLocalScheduleTime } from "./noop-CaQxI-Js.mjs";
|
|
4
4
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
5
|
+
import { t as LocationMapActions } from "./LocationMapActions-myIQIvQL.mjs";
|
|
6
6
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { q as textColorStyle } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
8
8
|
import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
+
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-CUFVJEAc.mjs";
|
|
10
|
+
import { l as formatEventTeacherLine } from "./EventItem-B0WjGXsH.mjs";
|
|
11
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
|
|
12
|
+
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
//#region ../core/src/opening-hours.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Kt as formatDate$1, Ut as capitalize, Xt as formatTime$1, cn as getLocalScheduleDate, fn as resolveBookingTimeZoneId, in as addLocalScheduleDays, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString, n as assertNever, on as formatLocalScheduleDate } from "./noop-CaQxI-Js.mjs";
|
|
3
3
|
import { D as unsafeAsAppointmentResourceId } from "./creditProducts-BQ1t1erI.mjs";
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
5
5
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
6
6
|
function clientPersonPhrases(noun) {
|
|
7
7
|
if (noun == null) return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { g as getAutoAppliedDiscountPreview, h as discountAvailabilityHasDiscounts, m as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { g as getAutoAppliedDiscountPreview, h as discountAvailabilityHasDiscounts, m as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-C9Ggcfx3.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,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as eventPaginationLoadReducer, Bt as normalizeOptionalId, Ft as toError, Lt as getEventRuntimeFiltersKey, Mt as getEventPaginationView, Nt as planEventPageOperation, Ot as createInitialEventPaginationLoadState, Pt as toEventPaginationLoadError, Rt as normalizeCsvIds, jt as getEventIdentity, kt as eventPageOperationQuery, zt as normalizeCsvString } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { n as assertNever } from "./noop-
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
-
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
2
|
+
import { At as eventPaginationLoadReducer, Bt as normalizeOptionalId, Ft as toError, Lt as getEventRuntimeFiltersKey, Mt as getEventPaginationView, Nt as planEventPageOperation, Ot as createInitialEventPaginationLoadState, Pt as toEventPaginationLoadError, Rt as normalizeCsvIds, jt as getEventIdentity, kt as eventPageOperationQuery, zt as normalizeCsvString } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { za as getBlockApiReadStage } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-CaQxI-Js.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
6
|
+
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
7
7
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import { r as EventItem } from "./EventItem-
|
|
9
|
-
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
+
import { r as EventItem } from "./EventItem-B0WjGXsH.mjs";
|
|
9
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-
|
|
3
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-4HYOb-AK.mjs";
|
|
3
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
4
4
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-B0WjGXsH.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,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-
|
|
3
|
-
import { $
|
|
4
|
-
import {
|
|
2
|
+
import { Jt as MediaNodeServer, Ut as CardListContentPart, Yt as EventQuickFacts, an as formatCoursePrice, cn as formatEventPriceAmount, ct as formatBookingSchedulePresentation, ln as formatEventPriceDisplay, on as formatEventDepositNote, sn as formatEventPrice, ut as closedRunCopy } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { $r as eventVenuePlace, Bo as nextLiveRunSessionStartMs, Ho as resolveWholeSeriesBookingPhase, Qa as resolveEventRegistrationScopedEvents, Qo as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Tr as ImagePresets, Vo as orderedLiveRunSessions, Zr as eventOnlinePlace, as as publicEventPricingDisplay, cs as resolveExactOrFreePriceDisplay, ei as formatEventLocation, fo as formatEventRemainingPlaces, gi as formatTime, go as getEventAvailabilityStatus, ho as getEventAvailability, ii as eventDateOptions, is as publicEventPricingCurrency, li as formatEventCompactDateRail, lo as isBookableEvent, mi as formatEventTimeRange, mo as formatTotalCapacity, pi as formatEventRunDates, rs as isPublicEventPricingOptionDisplayable, ss as publicEventPricingType, ts as formatBookingPriceDisplay, ui as formatEventDateParts, vo as isEventFull, zo as CANCELLED_SESSION_STATUS } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { Kt as formatDate, Yt as formatDateTimeRange, an as compareLocalScheduleDates, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, nn as toScheduledBookingDateTime, pn as toBookingTimeZone, qt as formatDateRange, sn as getBookingLocalDateKey } from "./noop-CaQxI-Js.mjs";
|
|
5
5
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
6
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
7
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
8
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
9
|
-
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-
|
|
10
|
-
import {
|
|
7
|
+
import { t as LocationMapActions } from "./LocationMapActions-myIQIvQL.mjs";
|
|
8
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
9
|
+
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
|
|
10
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
11
11
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -349,10 +349,7 @@ function offeringFacts(event, places, offering) {
|
|
|
349
349
|
label: "Length",
|
|
350
350
|
value: sessions
|
|
351
351
|
}] : lengthFact(event, !offering || course),
|
|
352
|
-
...offering
|
|
353
|
-
label: "Venue",
|
|
354
|
-
value: formatEventLocation(event)
|
|
355
|
-
}] : [],
|
|
352
|
+
...offering ? placeFact(event) : [],
|
|
356
353
|
...places ? [{
|
|
357
354
|
label: "Places",
|
|
358
355
|
value: places,
|
|
@@ -364,6 +361,13 @@ function offeringFacts(event, places, offering) {
|
|
|
364
361
|
}]
|
|
365
362
|
];
|
|
366
363
|
}
|
|
364
|
+
/** An online event, or one whose address follows the booking, says so where a venue would go. */
|
|
365
|
+
function placeFact(event) {
|
|
366
|
+
return event.venue || event.addressAfterBooking || event.deliveryMode !== "in_person" ? [{
|
|
367
|
+
label: "Venue",
|
|
368
|
+
value: formatEventLocation(event)
|
|
369
|
+
}] : [];
|
|
370
|
+
}
|
|
367
371
|
function lengthFact(event, shown) {
|
|
368
372
|
const minutes = Math.round((Date.parse(event.endsAt) - Date.parse(event.startsAt)) / 6e4);
|
|
369
373
|
return shown && minutes > 0 ? [{
|
|
@@ -910,7 +914,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
|
|
|
910
914
|
})
|
|
911
915
|
}) : null;
|
|
912
916
|
}
|
|
913
|
-
function EventFacts({ selection, selected, venue, online, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
917
|
+
function EventFacts({ selection, selected, venue, online, addressAfterBooking, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
914
918
|
const { date, timeRange } = formatEventDateParts({
|
|
915
919
|
startsAt: selected.startsAt,
|
|
916
920
|
endsAt: selected.endsAt,
|
|
@@ -934,7 +938,8 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
934
938
|
] }),
|
|
935
939
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
936
940
|
venue,
|
|
937
|
-
online
|
|
941
|
+
online,
|
|
942
|
+
addressAfterBooking
|
|
938
943
|
}),
|
|
939
944
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
940
945
|
showCapacity && selected.capacity != null ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -953,25 +958,43 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
953
958
|
});
|
|
954
959
|
}
|
|
955
960
|
const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace(event) : null;
|
|
961
|
+
const hasEventPlaceFact = (event, showVenue) => showVenue && (Boolean(event.venue) || eventOnlinePlace(event) !== null || event.addressAfterBooking === true);
|
|
962
|
+
const addressAfterBookingShown = (event, showVenue) => showVenue && event.addressAfterBooking === true;
|
|
963
|
+
/** Where a venue would go: online, the owner's word that the address follows the booking, or nothing at all. */
|
|
964
|
+
function EventPlaceWithoutVenue({ online, addressAfterBooking }) {
|
|
965
|
+
if (!online && !addressAfterBooking) return null;
|
|
966
|
+
if (!online) return /* @__PURE__ */ jsxs("div", {
|
|
967
|
+
className: "rb-mt-6",
|
|
968
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
969
|
+
className: "rb-label rb-mb-2",
|
|
970
|
+
children: "Venue"
|
|
971
|
+
}), /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL }) })]
|
|
972
|
+
});
|
|
973
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
974
|
+
className: "rb-mt-6",
|
|
975
|
+
children: [
|
|
976
|
+
/* @__PURE__ */ jsx("div", {
|
|
977
|
+
className: "rb-label rb-mb-2",
|
|
978
|
+
children: "Venue"
|
|
979
|
+
}),
|
|
980
|
+
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
981
|
+
addressAfterBooking ? /* @__PURE__ */ jsxs("p", {
|
|
982
|
+
className: "rb-caption",
|
|
983
|
+
children: [EVENT_ADDRESS_AFTER_BOOKING_LABEL, "."]
|
|
984
|
+
}) : null,
|
|
985
|
+
online.note ? /* @__PURE__ */ jsx("p", {
|
|
986
|
+
className: "rb-caption",
|
|
987
|
+
children: online.note
|
|
988
|
+
}) : null
|
|
989
|
+
]
|
|
990
|
+
});
|
|
991
|
+
}
|
|
956
992
|
/** An online event says so where a venue would go; a hybrid one adds it under the venue. */
|
|
957
|
-
function EventVenueFact({ venue, online }) {
|
|
958
|
-
if (!venue) {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
children: [
|
|
963
|
-
/* @__PURE__ */ jsx("div", {
|
|
964
|
-
className: "rb-label rb-mb-2",
|
|
965
|
-
children: "Venue"
|
|
966
|
-
}),
|
|
967
|
-
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
968
|
-
online.note ? /* @__PURE__ */ jsx("p", {
|
|
969
|
-
className: "rb-caption",
|
|
970
|
-
children: online.note
|
|
971
|
-
}) : null
|
|
972
|
-
]
|
|
973
|
-
});
|
|
974
|
-
}
|
|
993
|
+
function EventVenueFact({ venue, online, addressAfterBooking }) {
|
|
994
|
+
if (!venue) return /* @__PURE__ */ jsx(EventPlaceWithoutVenue, {
|
|
995
|
+
online,
|
|
996
|
+
addressAfterBooking
|
|
997
|
+
});
|
|
975
998
|
const { place, addressWithBooking } = eventVenuePlace(venue);
|
|
976
999
|
return /* @__PURE__ */ jsxs("div", {
|
|
977
1000
|
className: "rb-mt-6",
|
|
@@ -1168,6 +1191,7 @@ function SelectedEventDetailsView(props) {
|
|
|
1168
1191
|
const selected = selection.selected;
|
|
1169
1192
|
const venue = showVenue ? selected.venue : void 0;
|
|
1170
1193
|
const online = eventOnlinePlaceShown(selected, showVenue);
|
|
1194
|
+
const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
|
|
1171
1195
|
const pricing = selectedEventPricing(selected, props.showCost);
|
|
1172
1196
|
return /* @__PURE__ */ jsxs("div", {
|
|
1173
1197
|
className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
|
|
@@ -1186,6 +1210,7 @@ function SelectedEventDetailsView(props) {
|
|
|
1186
1210
|
selected,
|
|
1187
1211
|
venue,
|
|
1188
1212
|
online,
|
|
1213
|
+
addressAfterBooking,
|
|
1189
1214
|
showCapacity,
|
|
1190
1215
|
teamMembers: selected.teamMembers ?? [],
|
|
1191
1216
|
pricing: /* @__PURE__ */ jsx(EventPricingDetails, {
|
|
@@ -1278,13 +1303,14 @@ function EventHeaderPanel(props) {
|
|
|
1278
1303
|
})
|
|
1279
1304
|
});
|
|
1280
1305
|
}
|
|
1281
|
-
function HeaderPanelFacts({ venue, online, teamMembers, pricing }) {
|
|
1306
|
+
function HeaderPanelFacts({ venue, online, addressAfterBooking, teamMembers, pricing }) {
|
|
1282
1307
|
return /* @__PURE__ */ jsxs("div", {
|
|
1283
1308
|
className: "rb-flex rb-flex-col rb-gap-4",
|
|
1284
1309
|
children: [
|
|
1285
1310
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
1286
1311
|
venue,
|
|
1287
|
-
online
|
|
1312
|
+
online,
|
|
1313
|
+
addressAfterBooking
|
|
1288
1314
|
}),
|
|
1289
1315
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
1290
1316
|
pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
|
|
@@ -1302,10 +1328,11 @@ function headerPanelContent(props) {
|
|
|
1302
1328
|
return {
|
|
1303
1329
|
venue,
|
|
1304
1330
|
online,
|
|
1331
|
+
addressAfterBooking: addressAfterBookingShown(selection.selected, props.showVenue),
|
|
1305
1332
|
teamMembers,
|
|
1306
1333
|
pricing,
|
|
1307
1334
|
hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
|
|
1308
|
-
hasFacts:
|
|
1335
|
+
hasFacts: hasEventPlaceFact(selection.selected, props.showVenue) || teamMembers.length > 0 || pricing !== null,
|
|
1309
1336
|
hasDates: props.showOtherDates && scheduled > 0
|
|
1310
1337
|
};
|
|
1311
1338
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Pt as locationPinSchema } from "./lucide-react-McYZeSMb.mjs";
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../editor-blocks/src/widgets/location/editMapDecision.ts
|
package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-
|
|
3
|
+
import { Pt as locationPinSchema, T as Minus, k as LocateFixed, kt as sameMeaningfulAddress, v as Plus } from "./lucide-react-McYZeSMb.mjs";
|
|
4
|
+
import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
|
|
5
5
|
import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { createPortal } from "react-dom";
|
package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-D6-jojqh.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $
|
|
4
|
-
import { A as
|
|
5
|
-
import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-
|
|
6
|
-
import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-
|
|
3
|
+
import { $a as richTextVariantCapabilities, $c as createContextScope, $o as gradientToCss, $s as Dialog, Ac as __spreadArray, Ci as getRichTextImageSize, Dc as __generator, Di as resolveMediaStorageUrl, E as selectedImageFromRenderableAsset, Ec as __extends, Ei as resolveImageUrlWithContext, F as lookTilePosition, Gl as formatAspectRatioToken, Gs as selectedCanvasBlockId, Jl as getDirectImageUrlForMediaAsset, Kl as parseAspectRatioValue, L as nextLookTilePin, Oc as __read, Oi as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, P as lookPositionLabel, Pl as surfaceForegroundValue, Qi as readThemeScopeContext, Qs as Spinner, S as pageDesignLookPosition, Sc as usePortalContainer, T as selectedImageFromMediaValue, Tc as __awaiter, Uc as useSize, Ul as isRotationDimensionSwap, Wl as normalizeRightAngle, Ws as unwrapResponse, Yl as getImageUrl, Ys as Callout, Za as RichTextDocSchema, Zc as useControllableState, ac as DialogTitle$1, al as useControlReadiness, an as getDashboardBaseUrl, bn as useEditorUiStoreInstance, bo as replaceInlineTextRange, dc as DialogDescription, dd as unsafeAsMediaAssetId, dl as cn$2, do as inlineTextEqual, du as authoredValuesEqual, ed as unsafeAsEditorBlockId, el as composeEventHandlers, er as backgroundColorTokens, fc as DialogOverlay, fd as unsafeAsPositiveByteCount, fo as inlineTextHighlightTones, fu as generateUuidV4, go as normalizeInlineTextMarks, gs as assertNever$1, ho as normalizeInlineText, i as usePreviewSidebarNavigation, ic as DialogHeader, j as usePreviewRenderBackgrounds, jc as __spreadArrays, kc as __rest, lc as DialogClose, ld as assertNever, lr as rankBackgroundImagePoolItems, lu as asLayoutVariantKey, mc as DialogTitle, nc as DialogDescription$1, ni as getBlockDefinition, nr as defaultBackgroundOverrideForMode, o as usePreviewPageDesignEditorState, ol as cva, pc as DialogPortal, po as inlineTextToPlainText, ql as resolveMediaTransformForAspect, qo as getCuratedSiteStyle, rl as Button, ru as mediaIdentifierSchema, sc as overlayScrimClass, so as applyInlineTextMarkToRange, tc as DialogContent$1, tl as Primitive, ts as getGradientPreset, tu as resolveManagedMediaReference, uc as DialogContent, ul as useComposedRefs, uo as inlineTextAccentTones, vo as plainTextToInlineText, wc as __assign, wi as computeMediaTransformStyle, x as cyclePageDesignBlockLook, xo as truncateInlineText, yn as useEditorUiStore, yo as removeInlineTextMarkFromRange } from "./previewAssistantSlot-B-utyhbS.mjs";
|
|
4
|
+
import { A as List, F as Info, G as FileSpreadsheet, Gt as err, I as Image, J as FileArchive, K as FilePlay, Kt as ok, L as ImageUp, M as Link$1, P as Italic$1, S as Palette, U as File, V as Highlighter, W as FileText, X as EyeOff, _t as Bold$1, a as Upload, c as Trash2, et as Crop, j as ListOrdered, n as X, pt as Check, q as FileHeadphone, s as TriangleAlert, xt as Archive, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
|
|
5
|
+
import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-sjOvRAHY.mjs";
|
|
6
|
+
import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-BS7CANPv.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { Component, createContext, createRef, forwardRef, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -329,6 +329,49 @@ function SegmentedControl({ options, value, onValueChange, size = "default", cla
|
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
|
+
//#region ../ui/src/content-spinner.tsx
|
|
333
|
+
const LOADING_PANEL_MARK_SIZE = {
|
|
334
|
+
section: 24,
|
|
335
|
+
page: 48
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* The layout of a panel-sized wait, whichever mark it's showing.
|
|
339
|
+
*
|
|
340
|
+
* It renders straight away on the server and has no hold-back: `loading.tsx`
|
|
341
|
+
* files are shown during SSR streaming, and a delayed loader would show nothing
|
|
342
|
+
* until hydration.
|
|
343
|
+
*/
|
|
344
|
+
function LoadingPanel({ mark, scale, words, srLabel, className }) {
|
|
345
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
346
|
+
role: "status",
|
|
347
|
+
"aria-live": "polite",
|
|
348
|
+
className: cn$2("flex flex-col items-center justify-center gap-3", scale === "page" ? "py-24" : "py-8", className),
|
|
349
|
+
children: [mark, words === void 0 ? /* @__PURE__ */ jsx("span", {
|
|
350
|
+
className: "sr-only",
|
|
351
|
+
children: srLabel
|
|
352
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
353
|
+
className: "text-sm text-muted-foreground",
|
|
354
|
+
children: words
|
|
355
|
+
})]
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* The neutral panel: what a shared package shows, because it can't know the
|
|
360
|
+
* surface and may be running on a customer's domain. The dashboard's own panels
|
|
361
|
+
* use `WaitPanel`, which picks the surface's mark.
|
|
362
|
+
*/
|
|
363
|
+
function ContentSpinner({ scale, className, ...label }) {
|
|
364
|
+
return /* @__PURE__ */ jsx(LoadingPanel, {
|
|
365
|
+
...label,
|
|
366
|
+
scale,
|
|
367
|
+
className,
|
|
368
|
+
mark: /* @__PURE__ */ jsx(Spinner, {
|
|
369
|
+
size: LOADING_PANEL_MARK_SIZE[scale],
|
|
370
|
+
className: "text-primary"
|
|
371
|
+
})
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
//#endregion
|
|
332
375
|
//#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.3.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_5ced62f53b2a5960b397a73a077192c7/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
333
376
|
var SWITCH_NAME = "Switch";
|
|
334
377
|
var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
|
|
@@ -29191,9 +29234,10 @@ const DASHBOARD_ORIGIN = process.env.NEXT_PUBLIC_DASHBOARD_URL ? getDashboardBas
|
|
|
29191
29234
|
const MEDIA_UPGRADE_HREF = `${DASHBOARD_ORIGIN}/dashboard/account/billing`;
|
|
29192
29235
|
const MEDIA_SIGN_IN_HREF = `${DASHBOARD_ORIGIN}/auth/login`;
|
|
29193
29236
|
function MediaPickerLibraryStatus({ loading, error, visibleCount, hasMore, retryLoad }) {
|
|
29194
|
-
if (loading && visibleCount === 0) return /* @__PURE__ */
|
|
29195
|
-
|
|
29196
|
-
|
|
29237
|
+
if (loading && visibleCount === 0) return /* @__PURE__ */ jsx(ContentSpinner, {
|
|
29238
|
+
scale: "section",
|
|
29239
|
+
words: "Loading your media library…",
|
|
29240
|
+
className: "col-span-full min-h-32 rounded border border-dashed p-4"
|
|
29197
29241
|
});
|
|
29198
29242
|
if (!loading && error) return /* @__PURE__ */ jsxs("div", {
|
|
29199
29243
|
className: "col-span-full flex min-h-32 flex-col items-center justify-center gap-3 rounded border border-destructive/30 p-4 text-center text-sm",
|
|
@@ -31422,4 +31466,4 @@ function PageSectionToolbar({ blockId, content }) {
|
|
|
31422
31466
|
] });
|
|
31423
31467
|
}
|
|
31424
31468
|
//#endregion
|
|
31425
|
-
export {
|
|
31469
|
+
export { SegmentedControl as A, EMPTY_DOC as C, resolveSdkFooterMode as D, decideDocumentReplacement as E, emitMediaCropDebug as F, resolveVideoSelectionIntentForMediaField as I, isSvgMimeType as L, ScrollableDialogShell as M, Surface as N, Switch as O, surfaceVariants as P, useRichTextEditor as S, InlineTextEditor as T, MediaPickerMiniDialog as _, ArrangementOptionsBody as a, getRichTextImagePositionFromTarget as b, BackgroundChooser as c, gradientLabel as d, readBackgroundColorPaletteSnapshot as f, MediaEditor as g, getUnresolvedRichTextImageWarnings as h, ArrangementLookNote as i, ScrollableDialogContent as j, ContentSpinner as k, BackgroundPreviewSwatch as l, useRichTextImageProjection as m, pageSectionIdFromBlockId as n, lookIsAutomatic as o, useSiteColourVariables as p, BlockToolbar as r, useArrangementToolbar as s, PageSectionToolbar as t, formatTokenLabel as u, MediaPickerMini as v, parseRichTextDoc as w, insertOrReplaceRichTextImage as x, RichTextEditorSurface as y };
|