@riverbankcms/sdk 0.174.1 → 0.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
- package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
- package/dist/_dts/{client-B1J6Akyf.d.ts → client-B6tCvmG4.d.ts} +487 -11
- package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-B9qryk4R.d.ts} +2 -2
- package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
- package/dist/_dts/{index-yWDbUojb.d.ts → index-Bl5_pjmq.d.ts} +1 -1
- package/dist/_dts/{index-CF62FntA.d.ts → index-Btp5nIoz.d.ts} +2 -2
- package/dist/_dts/{index-BLEKFHt1.d.ts → index-CQUzwOxO.d.ts} +1 -1
- package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-DmhFb6R1.d.ts} +1 -1
- package/dist/_dts/{index-CXZSy_9M.d.ts → index-OtazQE3U.d.ts} +2 -2
- package/dist/_dts/{index-BgOr1Xyz.d.ts → index-YRQulWB4.d.ts} +3 -3
- package/dist/_dts/{index-DpJm0NpL.d.ts → index-_pXaCO12.d.ts} +4 -4
- package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
- package/dist/_dts/{request-BK-pHf0P.d.ts → request-BT8i_vH-.d.ts} +1621 -385
- package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-CVLYWcoI.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 +13 -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 +3 -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 +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +2 -1
- package/dist/_dts/{types-DjVNADXR.d.ts → types-C0XZnjXz.d.ts} +3 -3
- package/dist/_dts/{types-CwmB2NHU.d.ts → types-CXL1QJSY.d.ts} +7 -7
- package/dist/_dts/{types-Dmow_FI6.d.ts → types-OKzbqRBx.d.ts} +2 -2
- package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
- package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
- package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
- package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
- package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-BybMSKNL.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
- package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
- package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
- package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +635 -359
- package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
- package/dist/client/{Page-BpeP9xdt.mjs → Page-CWN_8cLZ.mjs} +601 -579
- package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
- package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-C7RJBOW3.mjs} +37 -12
- package/dist/client/{accordion-nR7D4m1a.mjs → accordion-uUi_N6mZ.mjs} +1 -1
- package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
- package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-C-gFwhnO.mjs} +2 -1
- package/dist/client/{carousel-CVUOatsY.mjs → carousel-C0_BqMA0.mjs} +1 -1
- package/dist/client/{cart-DE0K6E0R.mjs → cart-BOHuppVu.mjs} +3 -3
- package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-IfJE1zAp.mjs} +1 -1
- package/dist/client/{checkout-76cdHyPL.mjs → checkout-C3Aj-aNa.mjs} +3 -3
- package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
- package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
- package/dist/client/client.mjs +112 -21
- package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
- package/dist/client/{course-DHIrXqNT.mjs → course-DHmeQAvq.mjs} +2 -2
- package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
- package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
- package/dist/client/display-DMqotaGU.mjs +11797 -0
- package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
- package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-CJapNbTv.mjs} +1 -1
- package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-CAdcpnLc.mjs} +176 -75
- package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
- package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-B9Ly3024.mjs} +4 -4
- package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
- package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-ZSmvhWII.mjs} +4 -4
- package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
- package/dist/client/{form-CfqIAhfN.mjs → form-DG_YZSNn.mjs} +3 -3
- package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BU6dM0-C.mjs} +4 -4
- package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
- package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -3
- package/dist/client/gifting-DMrsN4B4.mjs +28 -0
- package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
- package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
- package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-D91EzlOR.mjs} +2 -2
- package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BDZLALxj.mjs} +2951 -14395
- package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
- package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
- package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
- package/dist/client/portal/client.mjs +313 -148
- package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
- package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
- package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-W0_0lDGe.mjs} +3 -3
- package/dist/client/{productList-DTgZXOEq.mjs → productList-ayAtPJdb.mjs} +3 -3
- package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
- package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-B1EEZkcr.mjs} +307 -240
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -6
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
- package/dist/client/{shop-5LBhftWx.mjs → shop-DbUUoHFJ.mjs} +3 -3
- package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
- package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
- package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
- package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
- package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CJAINJr3.mjs} +113 -35
- package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-DwVAuGsx.mjs} +2 -2
- package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel-DBTIFWTb.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
- package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
- package/dist/client/{view-BvuYmQJ5.mjs → view-BTk470k0.mjs} +3 -2
- package/dist/client/{view-D9ObkFtz.mjs → view-Cw4EmEPv.mjs} +99 -30
- package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +28 -25
- package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
- package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-B61mZd81.mjs} +4141 -2677
- package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-BZDIC-fA.mjs} +527 -236
- package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +13 -4
- package/dist/preview-next/container-responsive.css +51 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-0gSlK9S0.mjs} +86 -12
- package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-DeXXycg8.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-7L3pC5Os.mjs} +13 -34
- package/dist/server/{client-CGtU5fHI.mjs → client-CgghATBm.mjs} +111 -20
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-D7M5Vcug.mjs} +5 -5
- package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CiTId05y.mjs} +2 -2
- package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-Cuos4Xcd.mjs} +97 -39
- package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
- package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-JxlV8_Bo.mjs} +1261 -1129
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BDhlJbAx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
- package/dist/server/{registry-DmqxC8th.mjs → registry-cQ9N5W-n.mjs} +20432 -20165
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
- package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-Bt_8IL1g.mjs → validation-3puM5SM8.mjs} +3 -3
- package/dist/server/{version-DT_efohp.mjs → version-B8g-Wx57.mjs} +1 -1
- package/dist/styles/index.css +295 -37
- package/package.json +1 -1
- package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
2
|
+
import { On as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CJAINJr3.mjs";
|
|
3
|
+
import { n as assertNever } from "./noop-DF8_EiFt.mjs";
|
|
4
|
+
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-D8TpQXjX.mjs";
|
|
6
|
+
import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
|
|
6
7
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
8
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
9
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5UfUaD3.mjs";
|
|
9
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
11
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
12
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
@@ -311,6 +312,7 @@ function NewsletterFormFields({ render, submissionState, submitting, submissionM
|
|
|
311
312
|
children: [
|
|
312
313
|
render.hydration.choicePresentation === "visitor_choice" ? /* @__PURE__ */ jsx(NewsletterTopicChips, {
|
|
313
314
|
choices: render.display.choices,
|
|
315
|
+
question: render.display.topicsQuestion,
|
|
314
316
|
disabled: submitting,
|
|
315
317
|
error: fieldError(TOPIC_CHOICE_FIELD_ID)
|
|
316
318
|
}) : null,
|
package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as listLookSlot } from "./lookSurfaces-BDZLALxj.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -145,14 +145,14 @@ function NewsletterSubmitRow({ emailField, lookSlots, buttonVariant, buttonLabel
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
/** Visitor-chosen topics as toggle chips. Real checkboxes underneath. */
|
|
148
|
-
function NewsletterTopicChips({ choices, disabled, error }) {
|
|
148
|
+
function NewsletterTopicChips({ choices, question, disabled, error }) {
|
|
149
149
|
const errorId = `newsletter_${TOPIC_CHOICE_FIELD_ID}-error`;
|
|
150
150
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("fieldset", {
|
|
151
151
|
className: "newsletter-topics",
|
|
152
152
|
"aria-describedby": error ? errorId : void 0,
|
|
153
153
|
children: [/* @__PURE__ */ jsx("legend", {
|
|
154
154
|
className: "newsletter-topics-legend",
|
|
155
|
-
children:
|
|
155
|
+
children: question
|
|
156
156
|
}), /* @__PURE__ */ jsx("div", {
|
|
157
157
|
className: "newsletter-topic-chips",
|
|
158
158
|
children: choices.map((choice) => /* @__PURE__ */ jsxs("label", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-ChYKWjLA.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-BMGRiRpo.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as mediaIdentifierSchema, d as parseUuidBrand, f as err, n as renderableMediaAssetSchema, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
2
|
+
import { a as mediaIdentifierSchema, d as parseUuidBrand, f as err$1, n as renderableMediaAssetSchema, p as ok$1 } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
3
|
import { c as addMonths } from "./src-xrjaKaCj.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../core/src/branded/customers.ts
|
|
@@ -93,31 +93,31 @@ function toNonNegativeCents(value) {
|
|
|
93
93
|
return unsafeAsNonNegativeCents(Math.max(0, Math.trunc(value)));
|
|
94
94
|
}
|
|
95
95
|
function parseCents(value) {
|
|
96
|
-
if (!Number.isFinite(value)) return err({ kind: "invalid-number" });
|
|
97
|
-
if (!Number.isInteger(value)) return err({ kind: "not-whole-cents" });
|
|
98
|
-
return ok(unsafeAsCents(value));
|
|
96
|
+
if (!Number.isFinite(value)) return err$1({ kind: "invalid-number" });
|
|
97
|
+
if (!Number.isInteger(value)) return err$1({ kind: "not-whole-cents" });
|
|
98
|
+
return ok$1(unsafeAsCents(value));
|
|
99
99
|
}
|
|
100
100
|
function parseNonNegativeCents(value) {
|
|
101
101
|
const parsed = parseCents(value);
|
|
102
102
|
if (!parsed.ok) return parsed;
|
|
103
|
-
if (parsed.value < 0) return err({ kind: "negative" });
|
|
104
|
-
return ok(unsafeAsNonNegativeCents(parsed.value));
|
|
103
|
+
if (parsed.value < 0) return err$1({ kind: "negative" });
|
|
104
|
+
return ok$1(unsafeAsNonNegativeCents(parsed.value));
|
|
105
105
|
}
|
|
106
106
|
function parsePositiveCents(value) {
|
|
107
107
|
const parsed = parseNonNegativeCents(value);
|
|
108
108
|
if (!parsed.ok) return parsed;
|
|
109
|
-
if (parsed.value === 0) return err({ kind: "zero-not-allowed" });
|
|
110
|
-
return ok(unsafeAsPositiveCents(parsed.value));
|
|
109
|
+
if (parsed.value === 0) return err$1({ kind: "zero-not-allowed" });
|
|
110
|
+
return ok$1(unsafeAsPositiveCents(parsed.value));
|
|
111
111
|
}
|
|
112
112
|
function normalizeMoneyInput(value, options) {
|
|
113
113
|
return (options.stripFormatting === true ? value.replace(/[^0-9.-]/g, "") : value).trim();
|
|
114
114
|
}
|
|
115
115
|
function parseFiniteMoneyAmount(value, options) {
|
|
116
116
|
const normalized = normalizeMoneyInput(value, options);
|
|
117
|
-
if (normalized.length === 0) return err({ kind: "empty" });
|
|
117
|
+
if (normalized.length === 0) return err$1({ kind: "empty" });
|
|
118
118
|
const amount = Number(normalized);
|
|
119
|
-
if (!Number.isFinite(amount)) return err({ kind: "invalid-number" });
|
|
120
|
-
return ok(amount);
|
|
119
|
+
if (!Number.isFinite(amount)) return err$1({ kind: "invalid-number" });
|
|
120
|
+
return ok$1(amount);
|
|
121
121
|
}
|
|
122
122
|
function roundMoneyAmountToCents(amount) {
|
|
123
123
|
return Math.round(amount * 100);
|
|
@@ -125,10 +125,10 @@ function roundMoneyAmountToCents(amount) {
|
|
|
125
125
|
function parsePositiveMoneyInputToCents(value, options = {}) {
|
|
126
126
|
const parsed = parseFiniteMoneyAmount(value, options);
|
|
127
127
|
if (!parsed.ok) return parsed;
|
|
128
|
-
if (parsed.value < 0) return err({ kind: "negative" });
|
|
128
|
+
if (parsed.value < 0) return err$1({ kind: "negative" });
|
|
129
129
|
const amountCents = roundMoneyAmountToCents(parsed.value);
|
|
130
|
-
if (amountCents <= 0) return err({ kind: "zero-not-allowed" });
|
|
131
|
-
return ok(unsafeAsPositiveCents(amountCents));
|
|
130
|
+
if (amountCents <= 0) return err$1({ kind: "zero-not-allowed" });
|
|
131
|
+
return ok$1(unsafeAsPositiveCents(amountCents));
|
|
132
132
|
}
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region ../core/src/booking-payment-options.ts
|
|
@@ -141,11 +141,11 @@ function parsePositiveMoneyInputToCents(value, options = {}) {
|
|
|
141
141
|
const BOOKING_COURSE_INSTALMENT_DEADLINES = ["first_session", "last_session"];
|
|
142
142
|
/** Automatic instalments and a flexible balance cannot share one booking offer. */
|
|
143
143
|
function validateBookingPaymentOptionKinds(kinds) {
|
|
144
|
-
if (kinds.length === 0) return err("no_options");
|
|
144
|
+
if (kinds.length === 0) return err$1("no_options");
|
|
145
145
|
const uniqueKinds = new Set(kinds);
|
|
146
|
-
if (uniqueKinds.size !== kinds.length) return err("duplicate_kind");
|
|
147
|
-
if (uniqueKinds.has("instalment_plan") && uniqueKinds.has("flexible_balance")) return err("incompatible_collection_options");
|
|
148
|
-
return ok(void 0);
|
|
146
|
+
if (uniqueKinds.size !== kinds.length) return err$1("duplicate_kind");
|
|
147
|
+
if (uniqueKinds.has("instalment_plan") && uniqueKinds.has("flexible_balance")) return err$1("incompatible_collection_options");
|
|
148
|
+
return ok$1(void 0);
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region ../core/src/booking-date-time/instant.ts
|
|
@@ -153,10 +153,10 @@ function parseUtcIsoDateTimeString(value) {
|
|
|
153
153
|
const normalized = value.trim();
|
|
154
154
|
const hasUtcSuffix = normalized.endsWith("Z");
|
|
155
155
|
const hasExplicitOffset = /[+-]\d{2}:\d{2}$/u.test(normalized);
|
|
156
|
-
if (!hasUtcSuffix && !hasExplicitOffset) return err("missing-timezone-offset");
|
|
156
|
+
if (!hasUtcSuffix && !hasExplicitOffset) return err$1("missing-timezone-offset");
|
|
157
157
|
const date = new Date(normalized);
|
|
158
|
-
if (Number.isNaN(date.getTime())) return err("invalid-date-time");
|
|
159
|
-
return ok(date.toISOString());
|
|
158
|
+
if (Number.isNaN(date.getTime())) return err$1("invalid-date-time");
|
|
159
|
+
return ok$1(date.toISOString());
|
|
160
160
|
}
|
|
161
161
|
function toUtcIsoDateTimeString(value) {
|
|
162
162
|
const parsed = parseUtcIsoDateTimeString(value);
|
|
@@ -228,10 +228,10 @@ function isValidBookingTimeZone(timeZone) {
|
|
|
228
228
|
return isValid;
|
|
229
229
|
}
|
|
230
230
|
function parseBookingTimeZone(timeZone) {
|
|
231
|
-
if (typeof timeZone !== "string") return err("invalid-time-zone");
|
|
231
|
+
if (typeof timeZone !== "string") return err$1("invalid-time-zone");
|
|
232
232
|
const normalized = timeZone.trim();
|
|
233
|
-
if (normalized.length === 0 || NUMERIC_OFFSET_TIME_ZONE_PATTERN.test(normalized) || !isValidBookingTimeZone(normalized)) return err("invalid-time-zone");
|
|
234
|
-
return ok(normalized);
|
|
233
|
+
if (normalized.length === 0 || NUMERIC_OFFSET_TIME_ZONE_PATTERN.test(normalized) || !isValidBookingTimeZone(normalized)) return err$1("invalid-time-zone");
|
|
234
|
+
return ok$1(normalized);
|
|
235
235
|
}
|
|
236
236
|
//#endregion
|
|
237
237
|
//#region ../core/src/booking-date-time/time-zone.ts
|
|
@@ -930,7 +930,7 @@ const locationValueSchema = z.strictObject({
|
|
|
930
930
|
/** API/DB ingress parses once. Removed locations are represented by null. */
|
|
931
931
|
function parseLocationValue(input) {
|
|
932
932
|
const parsed = locationValueSchema.nullable().safeParse(input);
|
|
933
|
-
return parsed.success ? ok(parsed.data) : err({
|
|
933
|
+
return parsed.success ? ok$1(parsed.data) : err$1({
|
|
934
934
|
kind: "invalid_location",
|
|
935
935
|
issues: parsed.error.issues
|
|
936
936
|
});
|
|
@@ -2193,6 +2193,7 @@ const decorativeTransitionIntentValues = [
|
|
|
2193
2193
|
"wave-edge-drift",
|
|
2194
2194
|
"wave-edge-echo",
|
|
2195
2195
|
"arc-edge-echo",
|
|
2196
|
+
"arc-edge-bulge",
|
|
2196
2197
|
"angle-edge",
|
|
2197
2198
|
"angle-edge-subtle",
|
|
2198
2199
|
"angle-edge-steep"
|
|
@@ -2282,13 +2283,16 @@ function normalizeEventCalendarDisplayMode(input) {
|
|
|
2282
2283
|
if (isEventCalendarDisplayMode(input.variant)) return input.variant;
|
|
2283
2284
|
return isEventCalendarDisplayMode(input.displayMode) ? input.displayMode : void 0;
|
|
2284
2285
|
}
|
|
2285
|
-
/**
|
|
2286
|
+
/**
|
|
2287
|
+
* One closed authority for the projections each mode needs on the server. Combined always opens on
|
|
2288
|
+
* its list, so its calendar tab reads its own months in the browser when it opens.
|
|
2289
|
+
*/
|
|
2286
2290
|
function resolveEventCalendarReadPlan(input) {
|
|
2287
2291
|
const mode = normalizeEventCalendarDisplayMode(input) ?? "combined";
|
|
2288
2292
|
switch (mode) {
|
|
2289
2293
|
case "combined": return {
|
|
2290
2294
|
mode,
|
|
2291
|
-
jobs: "
|
|
2295
|
+
jobs: "list",
|
|
2292
2296
|
readProfile: "listing-card"
|
|
2293
2297
|
};
|
|
2294
2298
|
case "week": return {
|
|
@@ -2446,6 +2450,12 @@ const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(
|
|
|
2446
2450
|
//#region ../blocks/src/contracts/events.ts
|
|
2447
2451
|
/** Release 1: older SDKs reject additional confirmed-outcome fields. */
|
|
2448
2452
|
const EVENT_BOOKING_ARRIVAL_QUERY = "bookingArrival";
|
|
2453
|
+
/** This client ignores unknown response fields, so it can be sent everything. Bundles up to sdk-v0.169.1 don't send it. */
|
|
2454
|
+
const EVENT_BOOKING_DECODER_QUERY = "bookingDecoder";
|
|
2455
|
+
const EVENT_BOOKING_RESPONSE_QUERY = {
|
|
2456
|
+
[EVENT_BOOKING_ARRIVAL_QUERY]: 1,
|
|
2457
|
+
[EVENT_BOOKING_DECODER_QUERY]: "tolerant"
|
|
2458
|
+
};
|
|
2449
2459
|
const eventAutoApplyDiscountPreviewBaseSchema = z.object({
|
|
2450
2460
|
id: z.string(),
|
|
2451
2461
|
publicLabel: z.string(),
|
|
@@ -2487,6 +2497,61 @@ const verifiedSiteTermsAcceptanceSchema = z.object({
|
|
|
2487
2497
|
alreadyAgreed: z.boolean()
|
|
2488
2498
|
});
|
|
2489
2499
|
//#endregion
|
|
2500
|
+
//#region ../frontend-state/src/submission.ts
|
|
2501
|
+
function clearWorkflowFeedback(state) {
|
|
2502
|
+
return {
|
|
2503
|
+
...state,
|
|
2504
|
+
feedback: idleSubmissionFeedback()
|
|
2505
|
+
};
|
|
2506
|
+
}
|
|
2507
|
+
function reportWorkflowError(state, message) {
|
|
2508
|
+
return {
|
|
2509
|
+
...state,
|
|
2510
|
+
feedback: errorSubmissionFeedback(message)
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
function reportWorkflowSuccess(state, message) {
|
|
2514
|
+
return {
|
|
2515
|
+
...state,
|
|
2516
|
+
feedback: successSubmissionFeedback(message)
|
|
2517
|
+
};
|
|
2518
|
+
}
|
|
2519
|
+
function idleSubmissionFeedback() {
|
|
2520
|
+
return { tag: "idle" };
|
|
2521
|
+
}
|
|
2522
|
+
function errorSubmissionFeedback(message) {
|
|
2523
|
+
return {
|
|
2524
|
+
tag: "error",
|
|
2525
|
+
message
|
|
2526
|
+
};
|
|
2527
|
+
}
|
|
2528
|
+
function successSubmissionFeedback(message) {
|
|
2529
|
+
return {
|
|
2530
|
+
tag: "success",
|
|
2531
|
+
message
|
|
2532
|
+
};
|
|
2533
|
+
}
|
|
2534
|
+
//#endregion
|
|
2535
|
+
//#region ../frontend-state/src/index.ts
|
|
2536
|
+
function ok() {
|
|
2537
|
+
return { ok: true };
|
|
2538
|
+
}
|
|
2539
|
+
function okWith(data) {
|
|
2540
|
+
return {
|
|
2541
|
+
ok: true,
|
|
2542
|
+
data
|
|
2543
|
+
};
|
|
2544
|
+
}
|
|
2545
|
+
function err(error) {
|
|
2546
|
+
return {
|
|
2547
|
+
ok: false,
|
|
2548
|
+
error
|
|
2549
|
+
};
|
|
2550
|
+
}
|
|
2551
|
+
function assertNever(value, message) {
|
|
2552
|
+
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
2553
|
+
}
|
|
2554
|
+
//#endregion
|
|
2490
2555
|
//#region ../logger/src/noop.ts
|
|
2491
2556
|
const noop = () => {};
|
|
2492
2557
|
const logger = {
|
|
@@ -2497,4 +2562,4 @@ const logger = {
|
|
|
2497
2562
|
withFields: (_) => logger
|
|
2498
2563
|
};
|
|
2499
2564
|
//#endregion
|
|
2500
|
-
export {
|
|
2565
|
+
export { toBookingRequirementConsentField as $, formatTimeZoneCityLabel as $t, normalizeEventCalendarDisplayMode as A, publicEventLoaderQuerySchemaShape as At, headingDecorationOverrideValues as B, parseLocationValue as Bt, eventCalendarListGroupingDecision as C, purchasablePublicMembershipProductSchema as Ct, isEventCalendarDefaultView as D, eventScheduleScopeValues as Dt, eventListArrangementValues as E, calendarWindowQuerySchema as Et, arrangementModes as F, EVENT_PRESET_VALUES as Ft, publicEventDestinationSchema as G, trimmedStringOrNull as Gt, tileTreatmentValues as H, publicLocationSchema as Ht, decorativeTransitionIntentValues as I, WHOLE_SERIES_EVENT_PRESET_VALUES as It, publicEventsArraySchema as J, formatDateRange as Jt, publicEventPricingSchema as K, mapDrawingSchema as Kt, eventListTreatmentValues as L, decideLocationSourcePermission as Lt, accordionIconColorTokenValues as M, allocateReductionCents as Mt, accordionIconMotionValues as N, normalizeCurrencyCode as Nt, isEventCalendarDisplayMode as O, eventSurfacePresetValues as Ot, accordionIconSetValues as P, isRecord as Pt, isBookingRequirementConsentFieldId as Q, formatTimeRange as Qt, eyebrowTreatmentValues as R, locationValueSchema as Rt, resolveCalendarReadProfile as S, formatGiftCardAmountLabel as Sn, publicProductSchema as St, eventCalendarVariantMeaning as T, calendarMonthDate as Tt, visibleHeadingDecorationFamilyValues as U, toLocationCoordinates as Ut, isArrangementMode as V, projectPublicLocation as Vt, eventVenueDrawingSchema as W, capitalize as Wt, blockBookingConsentSchema as X, formatDateTimeRange as Xt, blockBookingPaymentTermsSchema as Y, formatDateTime as Yt, bookingConsentCarrierSchema as Z, formatTime as Zt, calendarQueryKey as _, validateBookingPaymentOptionKinds as _n, eventCalendarDisplayModeValues as _t, okWith as a, addLocalScheduleDays as an, isRichTextDoc as at, calendarWindowPageSchema as b, toNonNegativeCents as bn, publicMembershipProductSchema as bt, reportWorkflowSuccess as c, getBookingLocalDateKey as cn, imageMediaSchema as ct, EVENT_BOOKING_RESPONSE_QUERY as d, parseLocalScheduleTime as dn, runtimeMediaSchema as dt, inferSiteDateLocale as en, beforeBookingQuestionsPresentationSchema as et, eventAutoApplyDiscountPreviewSchema as f, resolveBookingBusinessTimeZone as fn, videoMediaSchema as ft, calendarPageResponseError as g, toUtcIsoDateTimeString as gn, eventCalendarDefaultViewValues as gt, calendarMonthKey as h, parseUtcIsoDateTimeString as hn, mediaTypeDiscriminants as ht, ok as i, buildBookingUtcDateWindow as in, createRichTextDoc as it, resolveEventCalendarReadPlan as j, unsafeAsPositiveCheckoutQuantity as jt, isEventCalendarListLayout as k, eventSurfaceScopeValues as kt, blockSiteTermsSchema as l, getLocalScheduleDate as ln, mediaSchema as lt, publicPassProductCollectionSchema as m, toBookingTimeZone as mn, isDisplayMediaKind as mt, assertNever as n, formatBookingCompactEnglishTime as nn, RichTextDocSchema as nt, clearWorkflowFeedback as o, compareLocalScheduleDates as on, assetMediaSchema as ot, publicMembershipProductCollectionSchema as p, resolveBookingTimeZoneId as pn, PUBLIC_FILE_FIELD_KINDS as pt, publicEventSchema as q, formatDate as qt, err as r, toScheduledBookingDateTime as rn, buildRichTextSchema as rt, reportWorkflowError as s, formatLocalScheduleDate as sn, externalMediaSchema as st, logger as t, resolveBookingDisplayContext as tn, bookingQuestionsAnswerValueSchema as tt, verifiedSiteTermsAcceptanceSchema as u, parseBookingLocalDate as un, persistableMediaSchema as ut, calendarWindowBounds as v, parsePositiveCents as vn, eventCalendarListLayoutCompatibleDisplayModeValues as vt, eventCalendarListLayoutOptions as w, purchasablePublicPassProductSchema as wt, planCalendarMonthRanges as x, formatCurrencyAmount as xn, publicPassProductSchema as xt, calendarWindowMonths as y, parsePositiveMoneyInputToCents as yn, eventCalendarListLayoutValues as yt, headingDecorationColorTokenValues as z, normalizeLocationAddressText as zt };
|