@riverbankcms/sdk 0.108.0 → 0.111.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 +21 -1
- package/dist/{PreviewEditorSidebar-BBT-kZAM.mjs → PreviewEditorSidebar-CTR6LUhN.mjs} +181 -135
- package/dist/{PreviewEditorUI-D69xNKT2.mjs → PreviewEditorUI-DZg15Zip.mjs} +3 -4
- package/dist/{PreviewQueryProvider-RRu7wyQ5.mjs → PreviewQueryProvider-kkmjklLG.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CuDjXH6o.mjs → SdkPreviewModeRuntime-DeOTAFvR.mjs} +436 -367
- package/dist/{SiteChromeCustomizeContext-BQUY2dEk.mjs → SiteChromeCustomizeContext-DOSDLCiJ.mjs} +3442 -3029
- package/dist/_dts/ai/src/contracts/proposals.d.ts +12633 -10490
- package/dist/_dts/api/src/bookingAdjustments.d.ts +5 -0
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -17
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +6 -6
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/common/envelope.d.ts +7 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -1
- package/dist/_dts/api/src/courses.d.ts +31 -15
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/endpoints.d.ts +49 -4
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/participantMessaging.d.ts +18 -12
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +259 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +13 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +6 -6
- package/dist/_dts/api/src/siteOperations.d.ts +11 -19
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +37 -31
- package/dist/_dts/api/src/webhooks.d.ts +98 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +3 -4
- package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -8
- package/dist/_dts/blocks/src/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +16 -6
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +9 -1
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +10 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +17 -2
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +31 -0
- package/dist/_dts/content-model/src/content-types/scaffold.d.ts +58 -0
- package/dist/_dts/content-model/src/content-types/sentinels.d.ts +36 -0
- package/dist/_dts/content-model/src/index.d.ts +3 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3278 -3196
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/media-core/src/fileMimeDetection.d.ts +16 -0
- package/dist/_dts/media-core/src/fileStorage.d.ts +8 -0
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +2 -0
- package/dist/_dts/media-core/src/uploadVerificationContract.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +12 -1
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +22 -1
- package/dist/_dts/sdk/src/cli/index.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/output.d.ts +88 -0
- package/dist/_dts/sdk/src/cli/program.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +10 -0
- package/dist/_dts/sdk/src/client/management/http.d.ts +7 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +45 -20
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -15
- package/dist/_dts/sdk/src/date-time/index.d.ts +68 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
- package/dist/_dts/site-commands/src/commands.d.ts +1010 -817
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/core.d.ts +15 -46
- package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +147 -0
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +2 -3
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/presets.d.ts +4 -25
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +100 -0
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
- package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +101 -83
- package/dist/_dts/theme-core/src/cards/types.d.ts +16 -16
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/gradients/presets.d.ts +200 -8
- package/dist/_dts/theme-core/src/gradients/utils.d.ts +6 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +87 -126
- package/dist/_dts/theme-core/src/mock-themes/modern-minimal.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +5 -8
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -1
- package/dist/_dts/theme-core/src/schema.d.ts +112 -138
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +13 -6
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -12
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +2 -2
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +68396 -67339
- package/dist/cli/init-docs/content/cli-reference.md +50 -7
- package/dist/cli/init-docs/content/content-management.md +7 -4
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/cli/init-docs/content/workflow-publish.md +5 -1
- package/dist/client/{DiscountCodeDisclosure-D6TOf6Hi.mjs → DiscountCodeDisclosure-C4xvTBux.mjs} +1 -1
- package/dist/client/{EventCombined.client-Dao3zxRk.mjs → EventCombined.client-Cr7G131j.mjs} +2 -3
- package/dist/client/{EventListing.client-B2NNt4y1.mjs → EventListing.client-CAjbseNy.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BhwFo16w.mjs → LeafletStaticMap-BMlWfwz3.mjs} +1 -1
- package/dist/client/{MagicLinkForm-BWnB7cMR.mjs → MagicLinkForm-ChdFz96y.mjs} +1 -2
- package/dist/client/{StepIndicator-TzRiQ0BY.mjs → StepIndicator-7D3GaBeM.mjs} +2 -2
- package/dist/client/{accordion-BPy-AJ4_.mjs → accordion-D8JTs2Si.mjs} +1 -1
- package/dist/client/{bookingForm-BL4PGZds.mjs → bookingForm-H3DCRBHs.mjs} +6 -7
- package/dist/client/bookings.mjs +4649 -2767
- package/dist/client/{carousel-C2b7Cn9-.mjs → carousel-DMr_QWlz.mjs} +1 -1
- package/dist/client/{cart-BQcbXIVD.mjs → cart-DWMbfBdR.mjs} +3 -3
- package/dist/client/{checkout-DEmpGRJu.mjs → checkout-zmfdkXLx.mjs} +3 -3
- package/dist/client/client.mjs +3195 -2488
- package/dist/client/{colorStyles-jZS6KfkP.mjs → colorStyles-gcTh5yZT.mjs} +2 -41
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorTokenParts-FSS3al6l.mjs} +31 -1
- package/dist/client/{courseRegistration-BqRZPmsq.mjs → courseRegistration-Z_mn18jy.mjs} +100 -37
- package/dist/client/{eventCalendar-B8N_tSl5.mjs → eventCalendar-CYp0YJGF.mjs} +4 -5
- package/dist/client/{eventCombined-Gjn6gtq7.mjs → eventCombined-rKyYZUa9.mjs} +2 -2
- package/dist/client/{eventDetails-M-VCxA-r.mjs → eventDetails-X0ZaUuMj.mjs} +3 -3
- package/dist/client/{eventListing-DR19hqYi.mjs → eventListing-W1SuL7EP.mjs} +2 -2
- package/dist/client/{eventRegistration-BR02a0k3.mjs → eventRegistration-ClWricui.mjs} +6 -7
- package/dist/client/{form-LY2xIbwg.mjs → form--eKPwAAD.mjs} +1 -2
- package/dist/client/{headerSection-CYwwXJfh.mjs → headerSection-BSeGr-FS.mjs} +2 -3
- package/dist/client/hooks.mjs +2169 -2093
- package/dist/client/{locationMap-DWnBXrFq.mjs → locationMap-BpOrtNYn.mjs} +8 -5
- package/dist/client/{media-DHtSxS5V.mjs → media-DoF0dcVx.mjs} +4 -3
- package/dist/client/{newsletterForm-D9s-fQ2P.mjs → newsletterForm-Bt7it7Dy.mjs} +1 -2
- package/dist/client/{pricing-DDq80oYc.mjs → pricing-BTjSDDr4.mjs} +1 -1
- package/dist/client/{productDetail-B0SbWd45.mjs → productDetail-ICnVTcCg.mjs} +3 -3
- package/dist/client/{productList-PwYlZn0y.mjs → productList-ZHr6D604.mjs} +3 -3
- package/dist/client/{propsDecoder-BRWBiH7i.mjs → propsDecoder-wWN0tBDF.mjs} +2484 -223
- package/dist/client/rendering/client.mjs +2532 -2144
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +3322 -2462
- package/dist/client/{shop-CMwZPYME.mjs → shop-C1u_BUn0.mjs} +5 -6
- package/dist/client/{shop-commerce-BuxsFate.mjs → shop-commerce-CleZdRha.mjs} +5 -6
- package/dist/client/{shop-commerce-store-boYlEJ91.mjs → shop-commerce-store-ycnoB2Ce.mjs} +1 -1
- package/dist/client/{shopShared-D2naaOes.mjs → shopShared-CPhByt2a.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-D9RHpVoj.mjs → useDiscountCodeUi-cStSQI6C.mjs} +1 -1
- package/dist/client/{useEventFilters-igGiK1re.mjs → useEventFilters-DKPN7hSY.mjs} +46 -70
- package/dist/client/{usePolling-CI7MbsFB.mjs → usePolling-BKAd6pkZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +72 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +72 -6
- package/dist/{previewAuthStore-a_cBD28m.mjs → previewAuthStore-BkT1D06A.mjs} +72 -6
- package/dist/{sdk-runtime-MBzD-GmP.mjs → sdk-runtime-hu3wr3ng.mjs} +2 -2
- package/dist/{separator-5ahRBC85.mjs → separator-Bln8izQ9.mjs} +1 -1
- package/dist/server/components.mjs +3123 -2391
- package/dist/server/config-validation.mjs +2169 -2093
- package/dist/server/config.mjs +2169 -2093
- package/dist/server/data.mjs +2169 -2093
- package/dist/server/date-time.mjs +386 -0
- package/dist/server/index.mjs +73 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +3195 -2397
- package/dist/server/page-converter.mjs +2192 -1945
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2844 -2325
- package/dist/server/rendering.mjs +3123 -2391
- package/dist/server/routing.mjs +2269 -2149
- package/dist/server/server.mjs +2244 -2102
- package/dist/server/theme-bridge.mjs +2720 -1887
- package/dist/server/theme.mjs +1669 -1322
- package/dist/server/webhooks.mjs +54 -2
- package/dist/styles/index.css +5 -0
- package/package.json +7 -1
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -273
- package/dist/_dts/theme-core/src/buttons/presets/types.d.ts +0 -88
- package/dist/_dts/theme-core/src/buttons/utils/contrast.d.ts +0 -38
- package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +0 -57
- package/dist/client/buttons-EBjyslaX.mjs +0 -1852
|
@@ -1,34 +1,4 @@
|
|
|
1
|
-
import { t as parseColorTokenParts } from "./colorTokenParts-
|
|
2
|
-
//#region ../theme-core/src/surfaces/foregroundContract.ts
|
|
3
|
-
const SURFACE_FOREGROUND_CSS_VARS = {
|
|
4
|
-
text: "--rb-surface-text-color",
|
|
5
|
-
heading: "--rb-surface-heading-color",
|
|
6
|
-
link: "--rb-surface-link-color",
|
|
7
|
-
supporting: "--rb-surface-supporting-color"
|
|
8
|
-
};
|
|
9
|
-
const DEFAULT_SURFACE_TEXT_COLOR = "rgb(var(--tb-text, 17 24 39))";
|
|
10
|
-
const DEFAULT_ROLE_FALLBACKS = {
|
|
11
|
-
text: DEFAULT_SURFACE_TEXT_COLOR,
|
|
12
|
-
heading: DEFAULT_SURFACE_TEXT_COLOR,
|
|
13
|
-
link: "rgb(var(--tb-primary, var(--tb-text, 17 24 39)))",
|
|
14
|
-
supporting: "rgb(var(--tb-mutedText, 100 116 139))"
|
|
15
|
-
};
|
|
16
|
-
function requireSurfaceColorValue(role, value) {
|
|
17
|
-
const normalized = value.trim();
|
|
18
|
-
if (normalized.length === 0) throw new RangeError(`Surface foreground ${role} must be a non-empty CSS color.`);
|
|
19
|
-
return normalized;
|
|
20
|
-
}
|
|
21
|
-
function surfaceForegroundValue(role, outsideProviderFallback = DEFAULT_ROLE_FALLBACKS[role]) {
|
|
22
|
-
const roleVariable = SURFACE_FOREGROUND_CSS_VARS[role];
|
|
23
|
-
const fallback = requireSurfaceColorValue("fallback", outsideProviderFallback);
|
|
24
|
-
if (role === "text") return `var(${roleVariable}, ${fallback})`;
|
|
25
|
-
return `var(${roleVariable}, var(${SURFACE_FOREGROUND_CSS_VARS.text}, ${fallback}))`;
|
|
26
|
-
}
|
|
27
|
-
function surfaceForegroundValueWithOpacity(role, opacityPercent) {
|
|
28
|
-
if (!Number.isFinite(opacityPercent) || opacityPercent < 0 || opacityPercent > 100) throw new RangeError("Surface foreground opacity must be between 0 and 100.");
|
|
29
|
-
return `color-mix(in srgb, ${surfaceForegroundValue(role)} ${opacityPercent}%, transparent)`;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
1
|
+
import { n as surfaceForegroundValue, r as surfaceForegroundValueWithOpacity, t as parseColorTokenParts } from "./colorTokenParts-FSS3al6l.mjs";
|
|
32
2
|
//#region ../theme-core/src/utils/colorStyles.ts
|
|
33
3
|
const COLOR_VAR_PREFIX = "--tb-";
|
|
34
4
|
function parseToken(source) {
|
|
@@ -92,15 +62,6 @@ function textColorStyle(token) {
|
|
|
92
62
|
return { color: rgbColorValue(token) };
|
|
93
63
|
}
|
|
94
64
|
/**
|
|
95
|
-
* Creates a border color style object from a theme token.
|
|
96
|
-
*
|
|
97
|
-
* @param token - Theme color token
|
|
98
|
-
* @returns CSSProperties with borderColor
|
|
99
|
-
*/
|
|
100
|
-
function borderColorStyle(token) {
|
|
101
|
-
return { borderColor: rgbColorValue(token) };
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
65
|
* Merges multiple CSSProperties objects into a single object.
|
|
105
66
|
* Later styles override earlier ones. Undefined values are filtered out.
|
|
106
67
|
* Returns undefined if the merged result is empty.
|
|
@@ -125,4 +86,4 @@ function mergeStyles(...styles) {
|
|
|
125
86
|
return Object.keys(merged).length ? merged : void 0;
|
|
126
87
|
}
|
|
127
88
|
//#endregion
|
|
128
|
-
export { textColorStyle as
|
|
89
|
+
export { textColorStyle as i, mergeStyles as n, rgbColorValue as r, backgroundColorStyle as t };
|
|
@@ -101,6 +101,36 @@ function isExplicitRectCrop(rect, sourceWidth, sourceHeight, epsilon = DEFAULT_R
|
|
|
101
101
|
return !(Math.abs(x) <= epsilon && Math.abs(y) <= epsilon && Math.abs(width - sourceWidth) <= epsilon && Math.abs(height - sourceHeight) <= epsilon);
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
|
+
//#region ../theme-core/src/surfaces/foregroundContract.ts
|
|
105
|
+
const SURFACE_FOREGROUND_CSS_VARS = {
|
|
106
|
+
text: "--rb-surface-text-color",
|
|
107
|
+
heading: "--rb-surface-heading-color",
|
|
108
|
+
link: "--rb-surface-link-color",
|
|
109
|
+
supporting: "--rb-surface-supporting-color"
|
|
110
|
+
};
|
|
111
|
+
const DEFAULT_SURFACE_TEXT_COLOR = "rgb(var(--tb-text, 17 24 39))";
|
|
112
|
+
const DEFAULT_ROLE_FALLBACKS = {
|
|
113
|
+
text: DEFAULT_SURFACE_TEXT_COLOR,
|
|
114
|
+
heading: DEFAULT_SURFACE_TEXT_COLOR,
|
|
115
|
+
link: "rgb(var(--tb-primary, var(--tb-text, 17 24 39)))",
|
|
116
|
+
supporting: "rgb(var(--tb-mutedText, 100 116 139))"
|
|
117
|
+
};
|
|
118
|
+
function requireSurfaceColorValue(role, value) {
|
|
119
|
+
const normalized = value.trim();
|
|
120
|
+
if (normalized.length === 0) throw new RangeError(`Surface foreground ${role} must be a non-empty CSS color.`);
|
|
121
|
+
return normalized;
|
|
122
|
+
}
|
|
123
|
+
function surfaceForegroundValue(role, outsideProviderFallback = DEFAULT_ROLE_FALLBACKS[role]) {
|
|
124
|
+
const roleVariable = SURFACE_FOREGROUND_CSS_VARS[role];
|
|
125
|
+
const fallback = requireSurfaceColorValue("fallback", outsideProviderFallback);
|
|
126
|
+
if (role === "text") return `var(${roleVariable}, ${fallback})`;
|
|
127
|
+
return `var(${roleVariable}, var(${SURFACE_FOREGROUND_CSS_VARS.text}, ${fallback}))`;
|
|
128
|
+
}
|
|
129
|
+
function surfaceForegroundValueWithOpacity(role, opacityPercent) {
|
|
130
|
+
if (!Number.isFinite(opacityPercent) || opacityPercent < 0 || opacityPercent > 100) throw new RangeError("Surface foreground opacity must be between 0 and 100.");
|
|
131
|
+
return `color-mix(in srgb, ${surfaceForegroundValue(role)} ${opacityPercent}%, transparent)`;
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
104
134
|
//#region ../theme-core/src/tokens/colorTokenParts.ts
|
|
105
135
|
function parseOpacityPercent(source) {
|
|
106
136
|
const trimmed = source.trim();
|
|
@@ -139,4 +169,4 @@ function parseColorTokenParts(source) {
|
|
|
139
169
|
};
|
|
140
170
|
}
|
|
141
171
|
//#endregion
|
|
142
|
-
export {
|
|
172
|
+
export { err as _, parseAspectRatioValue as a, parseEventSeriesId as c, unsafeAsCustomerPassId as d, unsafeAsFormId as f, unsafeAsStoragePath as g, unsafeAsStorageBucketName as h, isExplicitRectCrop as i, unsafeAsAppointmentResourceId as l, unsafeAsPassId as m, surfaceForegroundValue as n, resolveMediaTransformForAspect as o, unsafeAsMediaAssetId as p, surfaceForegroundValueWithOpacity as r, parseEventOfferingId as s, parseColorTokenParts as t, unsafeAsAppointmentServiceId as u, ok as v };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as formatCoursePriceDisplay, r as resolveCoursePricingState, t as formatCoursePriceAmount } from "./pricing-
|
|
2
|
+
import { At as formatBookingTime, Dt as formatBookingDate, Ft as toBookingTimeZone, Gt as assertNever, It as toScheduledBookingDateTime, Lt as parseEventPageSurfaceSubject, t as defineIslandPropsDecoder, tt as themeButtonClassName } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
|
+
import { n as formatCoursePriceDisplay, r as resolveCoursePricingState, t as formatCoursePriceAmount } from "./pricing-BTjSDDr4.mjs";
|
|
4
4
|
import { n as useBlockApi, t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
5
5
|
import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
|
|
6
|
-
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
7
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
8
|
-
import { n as SpinnerNode, r as formatPrice, t as StepIndicator$1 } from "./StepIndicator-
|
|
9
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
6
|
+
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-cStSQI6C.mjs";
|
|
7
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
8
|
+
import { n as SpinnerNode, r as formatPrice, t as StepIndicator$1 } from "./StepIndicator-7D3GaBeM.mjs";
|
|
10
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
11
10
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-AYanWFb-.mjs";
|
|
12
11
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-Ct8Mxna3.mjs";
|
|
13
12
|
import { t as scrollToBlock } from "./scrollToBlock-C86BYkyV.mjs";
|
|
14
|
-
import { a as ClockIcon, i as LoggedInAsUser, n as logoutPortal, r as useWaitlistClaim, t as MagicLinkForm } from "./MagicLinkForm-
|
|
13
|
+
import { a as ClockIcon, i as LoggedInAsUser, n as logoutPortal, r as useWaitlistClaim, t as MagicLinkForm } from "./MagicLinkForm-ChdFz96y.mjs";
|
|
15
14
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
16
15
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
17
16
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -645,7 +644,7 @@ function resolveHasCoursePayment(pricing) {
|
|
|
645
644
|
if (pricing.selectedOption) return pricing.selectedRequiresPayment;
|
|
646
645
|
return pricing.hasPaidSelection;
|
|
647
646
|
}
|
|
648
|
-
function useCourseRegistrationWizard(props) {
|
|
647
|
+
function useCourseRegistrationWizard(props, options = {}) {
|
|
649
648
|
const api = useBlockApi();
|
|
650
649
|
const { contentEntry, courses, entrySubrouteContext, subject } = props;
|
|
651
650
|
const scopedCourses = useMemo(() => {
|
|
@@ -892,21 +891,34 @@ function useCourseRegistrationWizard(props) {
|
|
|
892
891
|
setStep("enter-details");
|
|
893
892
|
};
|
|
894
893
|
const handleSubmit = async () => {
|
|
895
|
-
if (!selectedCourse) return
|
|
896
|
-
|
|
894
|
+
if (!selectedCourse) return {
|
|
895
|
+
kind: "blocked",
|
|
896
|
+
message: "Choose an available set of dates to continue."
|
|
897
|
+
};
|
|
898
|
+
if (!handleValidateForm()) return { kind: "validation-failed" };
|
|
897
899
|
if (missingPricingSelectionMessage) {
|
|
898
900
|
setErrorMessage(missingPricingSelectionMessage);
|
|
899
901
|
setStep("error");
|
|
900
|
-
return
|
|
902
|
+
return {
|
|
903
|
+
kind: "blocked",
|
|
904
|
+
message: missingPricingSelectionMessage
|
|
905
|
+
};
|
|
901
906
|
}
|
|
902
907
|
const requiresPayment = selectedCoursePricing?.selectedRequiresPayment ?? false;
|
|
903
908
|
const canUseMembership = requiresPayment && selectedCourse.acceptsMemberships && portalAuthState === "authenticated" && eligibleMemberships.length > 0;
|
|
904
909
|
if (showSpamProtection && !altchaSolution) {
|
|
905
|
-
|
|
910
|
+
const message = "Please complete the verification check.";
|
|
911
|
+
setErrorMessage(message);
|
|
906
912
|
setStep("error");
|
|
907
|
-
return
|
|
913
|
+
return {
|
|
914
|
+
kind: "blocked",
|
|
915
|
+
message
|
|
916
|
+
};
|
|
908
917
|
}
|
|
909
|
-
if (!waitlistClaim.claim && courseEligibility?.isFull && !courseEligibility.canJoinWaitlist && showSoldOutCourseError()) return
|
|
918
|
+
if (!waitlistClaim.claim && courseEligibility?.isFull && !courseEligibility.canJoinWaitlist && showSoldOutCourseError()) return {
|
|
919
|
+
kind: "blocked",
|
|
920
|
+
message: courseEligibility.reason ?? "This course is fully booked."
|
|
921
|
+
};
|
|
910
922
|
if (courseEligibility?.canJoinWaitlist) {
|
|
911
923
|
setStep("submitting");
|
|
912
924
|
try {
|
|
@@ -927,15 +939,20 @@ function useCourseRegistrationWizard(props) {
|
|
|
927
939
|
usedMembership: false
|
|
928
940
|
});
|
|
929
941
|
setStep(result.status === "waitlist" ? "waitlist" : "success");
|
|
942
|
+
return { kind: "state-updated" };
|
|
930
943
|
} catch (error) {
|
|
931
|
-
|
|
944
|
+
const message = error instanceof Error ? error.message : "Booking failed";
|
|
945
|
+
setErrorMessage(message);
|
|
932
946
|
setStep("error");
|
|
947
|
+
return {
|
|
948
|
+
kind: "failed",
|
|
949
|
+
message
|
|
950
|
+
};
|
|
933
951
|
}
|
|
934
|
-
return;
|
|
935
952
|
}
|
|
936
953
|
if (requiresPayment && canUseMembership) {
|
|
937
954
|
setStep("select-payment");
|
|
938
|
-
return;
|
|
955
|
+
return { kind: "state-updated" };
|
|
939
956
|
}
|
|
940
957
|
if (requiresPayment) {
|
|
941
958
|
setStep("submitting");
|
|
@@ -961,16 +978,24 @@ function useCourseRegistrationWizard(props) {
|
|
|
961
978
|
usedMembership: false
|
|
962
979
|
});
|
|
963
980
|
setStep("success");
|
|
964
|
-
return;
|
|
981
|
+
return { kind: "state-updated" };
|
|
965
982
|
}
|
|
966
983
|
if (!checkoutResult.checkoutUrl) throw new Error("Checkout URL missing");
|
|
967
984
|
setStep("redirecting");
|
|
968
|
-
|
|
969
|
-
|
|
985
|
+
if (options.onCheckoutRedirect) options.onCheckoutRedirect(checkoutResult.checkoutUrl);
|
|
986
|
+
else window.location.href = checkoutResult.checkoutUrl;
|
|
987
|
+
return {
|
|
988
|
+
kind: "checkout-redirect",
|
|
989
|
+
checkoutUrl: checkoutResult.checkoutUrl
|
|
990
|
+
};
|
|
970
991
|
} catch (error) {
|
|
971
|
-
|
|
992
|
+
const message = error instanceof Error ? error.message : "Checkout failed";
|
|
993
|
+
setErrorMessage(message);
|
|
972
994
|
setStep("error");
|
|
973
|
-
return
|
|
995
|
+
return {
|
|
996
|
+
kind: "failed",
|
|
997
|
+
message
|
|
998
|
+
};
|
|
974
999
|
}
|
|
975
1000
|
}
|
|
976
1001
|
setStep("submitting");
|
|
@@ -992,35 +1017,58 @@ function useCourseRegistrationWizard(props) {
|
|
|
992
1017
|
usedMembership: result.paymentMethod === "membership"
|
|
993
1018
|
});
|
|
994
1019
|
setStep(result.status === "waitlist" ? "waitlist" : "success");
|
|
1020
|
+
return { kind: "state-updated" };
|
|
995
1021
|
} catch (error) {
|
|
996
|
-
|
|
1022
|
+
const message = error instanceof Error ? error.message : "Booking failed";
|
|
1023
|
+
setErrorMessage(message);
|
|
997
1024
|
setStep("error");
|
|
1025
|
+
return {
|
|
1026
|
+
kind: "failed",
|
|
1027
|
+
message
|
|
1028
|
+
};
|
|
998
1029
|
}
|
|
999
1030
|
};
|
|
1000
1031
|
const handlePaymentContinue = async () => {
|
|
1001
|
-
if (!selectedCourse) return
|
|
1002
|
-
|
|
1032
|
+
if (!selectedCourse) return {
|
|
1033
|
+
kind: "blocked",
|
|
1034
|
+
message: "Choose an available set of dates to continue."
|
|
1035
|
+
};
|
|
1036
|
+
if (!handleValidateForm()) return { kind: "validation-failed" };
|
|
1003
1037
|
if (missingPricingSelectionMessage) {
|
|
1004
1038
|
setErrorMessage(missingPricingSelectionMessage);
|
|
1005
1039
|
setStep("error");
|
|
1006
|
-
return
|
|
1040
|
+
return {
|
|
1041
|
+
kind: "blocked",
|
|
1042
|
+
message: missingPricingSelectionMessage
|
|
1043
|
+
};
|
|
1007
1044
|
}
|
|
1008
1045
|
const requiresPayment = selectedCoursePricing?.selectedRequiresPayment ?? false;
|
|
1009
|
-
if (!waitlistClaim.claim && courseEligibility?.isFull && !courseEligibility.canJoinWaitlist && showSoldOutCourseError()) return
|
|
1046
|
+
if (!waitlistClaim.claim && courseEligibility?.isFull && !courseEligibility.canJoinWaitlist && showSoldOutCourseError()) return {
|
|
1047
|
+
kind: "blocked",
|
|
1048
|
+
message: courseEligibility.reason ?? "This course is fully booked."
|
|
1049
|
+
};
|
|
1010
1050
|
if (!requiresPayment) {
|
|
1011
1051
|
setStep("enter-details");
|
|
1012
|
-
return;
|
|
1052
|
+
return { kind: "state-updated" };
|
|
1013
1053
|
}
|
|
1014
1054
|
if (showSpamProtection && !altchaSolution) {
|
|
1015
|
-
|
|
1055
|
+
const message = "Please complete the verification check.";
|
|
1056
|
+
setErrorMessage(message);
|
|
1016
1057
|
setStep("error");
|
|
1017
|
-
return
|
|
1058
|
+
return {
|
|
1059
|
+
kind: "blocked",
|
|
1060
|
+
message
|
|
1061
|
+
};
|
|
1018
1062
|
}
|
|
1019
1063
|
if (paymentChoice === "membership") {
|
|
1020
1064
|
if (!selectedMembershipId) {
|
|
1021
|
-
|
|
1065
|
+
const message = "Select a membership to sign up.";
|
|
1066
|
+
setErrorMessage(message);
|
|
1022
1067
|
setStep("error");
|
|
1023
|
-
return
|
|
1068
|
+
return {
|
|
1069
|
+
kind: "blocked",
|
|
1070
|
+
message
|
|
1071
|
+
};
|
|
1024
1072
|
}
|
|
1025
1073
|
setStep("submitting");
|
|
1026
1074
|
try {
|
|
@@ -1042,11 +1090,16 @@ function useCourseRegistrationWizard(props) {
|
|
|
1042
1090
|
usedMembership: true
|
|
1043
1091
|
});
|
|
1044
1092
|
setStep(result.status === "waitlist" ? "waitlist" : "success");
|
|
1093
|
+
return { kind: "state-updated" };
|
|
1045
1094
|
} catch (error) {
|
|
1046
|
-
|
|
1095
|
+
const message = error instanceof Error ? error.message : "Booking failed";
|
|
1096
|
+
setErrorMessage(message);
|
|
1047
1097
|
setStep("error");
|
|
1098
|
+
return {
|
|
1099
|
+
kind: "failed",
|
|
1100
|
+
message
|
|
1101
|
+
};
|
|
1048
1102
|
}
|
|
1049
|
-
return;
|
|
1050
1103
|
}
|
|
1051
1104
|
setStep("submitting");
|
|
1052
1105
|
try {
|
|
@@ -1071,14 +1124,24 @@ function useCourseRegistrationWizard(props) {
|
|
|
1071
1124
|
usedMembership: false
|
|
1072
1125
|
});
|
|
1073
1126
|
setStep("success");
|
|
1074
|
-
return;
|
|
1127
|
+
return { kind: "state-updated" };
|
|
1075
1128
|
}
|
|
1076
1129
|
if (!checkoutResult.checkoutUrl) throw new Error("Checkout URL missing");
|
|
1077
1130
|
setStep("redirecting");
|
|
1078
|
-
|
|
1131
|
+
if (options.onCheckoutRedirect) options.onCheckoutRedirect(checkoutResult.checkoutUrl);
|
|
1132
|
+
else window.location.href = checkoutResult.checkoutUrl;
|
|
1133
|
+
return {
|
|
1134
|
+
kind: "checkout-redirect",
|
|
1135
|
+
checkoutUrl: checkoutResult.checkoutUrl
|
|
1136
|
+
};
|
|
1079
1137
|
} catch (error) {
|
|
1080
|
-
|
|
1138
|
+
const message = error instanceof Error ? error.message : "Checkout failed";
|
|
1139
|
+
setErrorMessage(message);
|
|
1081
1140
|
setStep("error");
|
|
1141
|
+
return {
|
|
1142
|
+
kind: "failed",
|
|
1143
|
+
message
|
|
1144
|
+
};
|
|
1082
1145
|
}
|
|
1083
1146
|
};
|
|
1084
1147
|
const handleRetry = () => {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as clsx } from "./clsx-DgIEfj3H.mjs";
|
|
3
|
-
import { E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, G as getLocalDateKey, I as formatTime, K as getLocalMinuteOfDay, T as buildEventRuntimeFilters, U as getEventAvailability, V as resolveEventLinkProps, W as getEventAvailabilityStatus, t as defineIslandPropsDecoder, w as buildEventCalendarListingRender, z as groupEventsByDate } from "./propsDecoder-
|
|
4
|
-
import {
|
|
5
|
-
import { o as
|
|
3
|
+
import { E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, G as getLocalDateKey, I as formatTime, K as getLocalMinuteOfDay, T as buildEventRuntimeFilters, U as getEventAvailability, V as resolveEventLinkProps, W as getEventAvailabilityStatus, t as defineIslandPropsDecoder, tt as themeButtonClassName, w as buildEventCalendarListingRender, z as groupEventsByDate } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
|
+
import { o as EventFilters, t as useEventFilters } from "./useEventFilters-DKPN7hSY.mjs";
|
|
5
|
+
import { a as CalendarDayCell, c as useCalendarEvents, d as getOrderedDayNames, f as getWeekCalendarDayTuple, h as isToday, i as WeekAgendaView, l as MONTH_NAMES, m as isSameLocalDay, o as EventModalProvider, p as getWeekCalendarDays, r as EventModals, s as useEventModal, t as EventCombinedClient, u as formatDateKey } from "./EventCombined.client-Cr7G131j.mjs";
|
|
6
6
|
import { t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
7
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
8
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
9
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
10
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
9
|
+
import { n as EventListingController } from "./EventListing.client-CAjbseNy.mjs";
|
|
11
10
|
import { useEffect, useId, useMemo, useState } from "react";
|
|
12
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
12
|
//#region ../calendar/src/lane-packing.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-wWN0tBDF.mjs";
|
|
2
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-Cr7G131j.mjs";
|
|
3
3
|
import { t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
5
5
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as formatCoursePriceDisplay, r as resolveCoursePricingState, t as formatCoursePriceAmount } from "./pricing-
|
|
1
|
+
import { Ft as toBookingTimeZone, H as resolveRuntimeEventPricing, It as toScheduledBookingDateTime, M as formatEventDateParts, Mt as getBookingLocalDateKey, N as formatEventPrice, V as resolveEventLinkProps, Vt as publicEventPricingType, Wt as formatCurrencyAmount, t as defineIslandPropsDecoder, zt as publicEventPricingCurrency } from "./propsDecoder-wWN0tBDF.mjs";
|
|
2
|
+
import { n as formatCoursePriceDisplay, r as resolveCoursePricingState, t as formatCoursePriceAmount } from "./pricing-BTjSDDr4.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
4
4
|
import { n as filterPassesForEvent, t as filterMembershipsForEvent } from "./eventProductEligibility-AVxyCB1u.mjs";
|
|
5
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
5
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-BMlWfwz3.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/event-details/logic.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-wWN0tBDF.mjs";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
4
4
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
5
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
5
|
+
import { t as EventListingClient } from "./EventListing.client-CAjbseNy.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as buildBookingPaymentSelectionViewModel, t as usePolling } from "./usePolling-
|
|
3
|
-
import { Bt as
|
|
2
|
+
import { n as buildBookingPaymentSelectionViewModel, t as usePolling } from "./usePolling-BKAd6pkZ.mjs";
|
|
3
|
+
import { At as formatBookingTime, Bt as publicEventPricingMode, C as getWizardStepsForContext, Dt as formatBookingDate, Ft as toBookingTimeZone, H as resolveRuntimeEventPricing, Ht as publicEventScalarPrice, It as toScheduledBookingDateTime, Ot as formatBookingDateTime, P as formatEventPriceDisplay, Q as resolveEventRegistrationScopedEvents, S as getStepNumber, Ut as publicEventTicketTypes, Vt as publicEventPricingType, Wt as formatCurrencyAmount, _ as findPreSelectedEvent, b as resolveRegistrationTarget, g as findEventByOccurrenceId, h as toRegistrationEvents, t as defineIslandPropsDecoder, tt as themeButtonClassName, v as resolveDiscountContext, x as WIZARD_STEPS, y as resolveEventRequiresPayment, yt as assertNever, zt as publicEventPricingCurrency } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
4
|
import { n as useBlockApi, t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
5
5
|
import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
|
|
6
|
-
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
7
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
8
|
-
import { n as SpinnerNode, r as formatPrice, t as StepIndicator$1 } from "./StepIndicator-
|
|
9
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
6
|
+
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-cStSQI6C.mjs";
|
|
7
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
8
|
+
import { n as SpinnerNode, r as formatPrice, t as StepIndicator$1 } from "./StepIndicator-7D3GaBeM.mjs";
|
|
10
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
11
10
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-AYanWFb-.mjs";
|
|
12
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
13
12
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
14
|
-
import { a as ClockIcon, i as LoggedInAsUser, n as logoutPortal, r as useWaitlistClaim, t as MagicLinkForm } from "./MagicLinkForm-
|
|
13
|
+
import { a as ClockIcon, i as LoggedInAsUser, n as logoutPortal, r as useWaitlistClaim, t as MagicLinkForm } from "./MagicLinkForm-ChdFz96y.mjs";
|
|
15
14
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
16
15
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
17
16
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as clsx } from "./clsx-DgIEfj3H.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { St as ok, t as defineIslandPropsDecoder, tt as themeButtonClassName, xt as err, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
4
|
import { n as useBlockApi, t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
5
5
|
import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
|
|
6
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
7
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
8
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
9
8
|
import { useReducer, useRef, useState } from "react";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as buildCartDisplay, t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
2
|
+
import { r as buildCartDisplay, t as defineIslandPropsDecoder, tt as themeButtonClassName } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
3
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
5
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
4
|
+
import { n as useCommerceCart } from "./shop-commerce-store-ycnoB2Ce.mjs";
|
|
6
5
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
7
6
|
import * as React$1 from "react";
|
|
8
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|