@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,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Gt as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder, tt as themeButtonClassName, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
3
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
4
|
-
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
6
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
4
|
+
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-cStSQI6C.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
7
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
8
7
|
import { t as scrollToBlock } from "./scrollToBlock-C86BYkyV.mjs";
|
|
9
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
10
9
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
11
10
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
12
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassesMembershipsSectionView } from "./shopShared-
|
|
13
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassesMembershipsSectionView } from "./shopShared-CPhByt2a.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-ycnoB2Ce.mjs";
|
|
14
13
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
15
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
16
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as createRichTextDocFromMarkdown,
|
|
3
|
-
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-
|
|
2
|
+
import { J as createRichTextDocFromMarkdown, X as isRecord, Y as unwrapRichTextRoot, a as buildProductDetailDisplay, bt as clearWorkflowFeedback, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, tt as themeButtonClassName, u as buildProductCartItem, wt as reportWorkflowError, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
|
+
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-DoF0dcVx.mjs";
|
|
4
4
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
6
|
-
import { t as themeButtonClassName } from "./buttons-EBjyslaX.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
7
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
8
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-Ct8Mxna3.mjs";
|
|
9
8
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
10
9
|
import { t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
|
|
11
10
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
12
|
-
import { C as ProductListSectionView, S as ProductGalleryFrameView, a as getDiscountApplyFeedback, b as ProductCardView, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as VariantSelectView, x as ProductDetailView } from "./shopShared-
|
|
13
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { C as ProductListSectionView, S as ProductGalleryFrameView, a as getDiscountApplyFeedback, b as ProductCardView, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as VariantSelectView, x as ProductDetailView } from "./shopShared-CPhByt2a.mjs";
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-ycnoB2Ce.mjs";
|
|
14
13
|
import * as React$1 from "react";
|
|
15
14
|
import React, { useEffect, useState } from "react";
|
|
16
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-
|
|
2
|
+
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { _ as err, v as ok } from "./colorTokenParts-FSS3al6l.mjs";
|
|
3
|
+
import { yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
4
|
import { t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-C4xvTBux.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/CheckIcon.tsx
|
|
@@ -1,14 +1,54 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as parseColorTokenParts } from "./colorTokenParts-
|
|
3
|
-
import { A as formatDate, B as resolveEventCta, D as normalizeCsvIds, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, N as formatEventPrice, O as normalizeCsvString,
|
|
4
|
-
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-
|
|
5
|
-
import {
|
|
2
|
+
import { t as parseColorTokenParts } from "./colorTokenParts-FSS3al6l.mjs";
|
|
3
|
+
import { $ as relativeLuminance, A as formatDate, B as resolveEventCta, D as normalizeCsvIds, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, N as formatEventPrice, O as normalizeCsvString, U as getEventAvailability, Z as normalizeCardVariantRole, et as hexToRgb, j as formatEventCompactDateRail, k as normalizeOptionalId, nt as parseThemeColorToken, q as normalizeEventBlockKind, tt as themeButtonClassName, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
|
+
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-DoF0dcVx.mjs";
|
|
5
|
+
import { r as rgbColorValue } from "./colorStyles-gcTh5yZT.mjs";
|
|
6
6
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-BhwFo16w.mjs";
|
|
7
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-BMlWfwz3.mjs";
|
|
9
8
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { z as z$1 } from "zod";
|
|
11
|
+
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
12
|
+
/**
|
|
13
|
+
* Pick the better of black/white text for a given background using actual
|
|
14
|
+
* contrast ratios, not a simple luminance cutoff.
|
|
15
|
+
*
|
|
16
|
+
* @param background - Background color in hex or rgb/rgba format (e.g., '#FFFFFF' or 'rgb(255, 255, 255)')
|
|
17
|
+
* @param minContrast - Preferred minimum contrast ratio for body-sized text
|
|
18
|
+
* @returns '#000000' for light backgrounds, '#FFFFFF' for dark backgrounds
|
|
19
|
+
*/
|
|
20
|
+
function pickBlackOrWhiteTextColor(background, minContrast = 4.5) {
|
|
21
|
+
const { r, g, b } = parseColorToRgb(background);
|
|
22
|
+
const luminance = relativeLuminance(r, g, b);
|
|
23
|
+
const blackContrast = (luminance + .05) / .05;
|
|
24
|
+
const whiteContrast = 1.05 / (luminance + .05);
|
|
25
|
+
if (blackContrast >= minContrast && whiteContrast < minContrast) return "#000000";
|
|
26
|
+
if (whiteContrast >= minContrast && blackContrast < minContrast) return "#FFFFFF";
|
|
27
|
+
return blackContrast >= whiteContrast ? "#000000" : "#FFFFFF";
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Backwards-compatible alias for callers that want the best black/white text
|
|
31
|
+
* color for a background.
|
|
32
|
+
*/
|
|
33
|
+
function getTextColorForBackground(background) {
|
|
34
|
+
return pickBlackOrWhiteTextColor(background);
|
|
35
|
+
}
|
|
36
|
+
function parseColorToRgb(input) {
|
|
37
|
+
const trimmed = input.trim();
|
|
38
|
+
if (trimmed.startsWith("#")) return hexToRgb(trimmed);
|
|
39
|
+
const rgbMatch = trimmed.match(/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(?:0|1|0?\.\d+))?\s*\)$/i);
|
|
40
|
+
if (rgbMatch?.[1] && rgbMatch[2] && rgbMatch[3]) return {
|
|
41
|
+
r: clamp255(Number(rgbMatch[1])),
|
|
42
|
+
g: clamp255(Number(rgbMatch[2])),
|
|
43
|
+
b: clamp255(Number(rgbMatch[3]))
|
|
44
|
+
};
|
|
45
|
+
throw new Error("Unsupported color format");
|
|
46
|
+
}
|
|
47
|
+
function clamp255(value) {
|
|
48
|
+
if (Number.isNaN(value)) return 0;
|
|
49
|
+
return Math.max(0, Math.min(255, value));
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
12
52
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EmptyState.tsx
|
|
13
53
|
/**
|
|
14
54
|
* EmptyState Component
|
|
@@ -135,70 +175,6 @@ const EventFilters = ({ categories, venues, staffMembers, selectedKind, selected
|
|
|
135
175
|
]
|
|
136
176
|
});
|
|
137
177
|
};
|
|
138
|
-
//#endregion
|
|
139
|
-
//#region ../theme-core/src/palette/utils/colorConversion.ts
|
|
140
|
-
function hexToRgb(hex) {
|
|
141
|
-
const h = hex.replace(/^#/, "");
|
|
142
|
-
const m = h.length === 3 ? h.split("").map((c) => c + c).join("") : h;
|
|
143
|
-
if (m.length !== 6) throw new Error("Bad hex");
|
|
144
|
-
const int = parseInt(m, 16);
|
|
145
|
-
return {
|
|
146
|
-
r: int >> 16 & 255,
|
|
147
|
-
g: int >> 8 & 255,
|
|
148
|
-
b: int & 255
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
function srgbToLinear(u) {
|
|
152
|
-
const x = u / 255;
|
|
153
|
-
return x <= .04045 ? x / 12.92 : Math.pow((x + .055) / 1.055, 2.4);
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region ../theme-core/src/palette/utils/contrast.ts
|
|
157
|
-
function relativeLuminance(r, g, b) {
|
|
158
|
-
const R = srgbToLinear(r), G = srgbToLinear(g), B = srgbToLinear(b);
|
|
159
|
-
return .2126 * R + .7152 * G + .0722 * B;
|
|
160
|
-
}
|
|
161
|
-
//#endregion
|
|
162
|
-
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
163
|
-
/**
|
|
164
|
-
* Pick the better of black/white text for a given background using actual
|
|
165
|
-
* contrast ratios, not a simple luminance cutoff.
|
|
166
|
-
*
|
|
167
|
-
* @param background - Background color in hex or rgb/rgba format (e.g., '#FFFFFF' or 'rgb(255, 255, 255)')
|
|
168
|
-
* @param minContrast - Preferred minimum contrast ratio for body-sized text
|
|
169
|
-
* @returns '#000000' for light backgrounds, '#FFFFFF' for dark backgrounds
|
|
170
|
-
*/
|
|
171
|
-
function pickBlackOrWhiteTextColor(background, minContrast = 4.5) {
|
|
172
|
-
const { r, g, b } = parseColorToRgb(background);
|
|
173
|
-
const luminance = relativeLuminance(r, g, b);
|
|
174
|
-
const blackContrast = (luminance + .05) / .05;
|
|
175
|
-
const whiteContrast = 1.05 / (luminance + .05);
|
|
176
|
-
if (blackContrast >= minContrast && whiteContrast < minContrast) return "#000000";
|
|
177
|
-
if (whiteContrast >= minContrast && blackContrast < minContrast) return "#FFFFFF";
|
|
178
|
-
return blackContrast >= whiteContrast ? "#000000" : "#FFFFFF";
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Backwards-compatible alias for callers that want the best black/white text
|
|
182
|
-
* color for a background.
|
|
183
|
-
*/
|
|
184
|
-
function getTextColorForBackground(background) {
|
|
185
|
-
return pickBlackOrWhiteTextColor(background);
|
|
186
|
-
}
|
|
187
|
-
function parseColorToRgb(input) {
|
|
188
|
-
const trimmed = input.trim();
|
|
189
|
-
if (trimmed.startsWith("#")) return hexToRgb(trimmed);
|
|
190
|
-
const rgbMatch = trimmed.match(/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(?:0|1|0?\.\d+))?\s*\)$/i);
|
|
191
|
-
if (rgbMatch?.[1] && rgbMatch[2] && rgbMatch[3]) return {
|
|
192
|
-
r: clamp255(Number(rgbMatch[1])),
|
|
193
|
-
g: clamp255(Number(rgbMatch[2])),
|
|
194
|
-
b: clamp255(Number(rgbMatch[3]))
|
|
195
|
-
};
|
|
196
|
-
throw new Error("Unsupported color format");
|
|
197
|
-
}
|
|
198
|
-
function clamp255(value) {
|
|
199
|
-
if (Number.isNaN(value)) return 0;
|
|
200
|
-
return Math.max(0, Math.min(255, value));
|
|
201
|
-
}
|
|
202
178
|
z$1.string();
|
|
203
179
|
const CSS_COLOR_FUNCTION_PATTERN = /^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix|light-dark)\(/i;
|
|
204
180
|
const CSS_HEX_COLOR_PATTERN = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as formatPrice } from "./StepIndicator-
|
|
2
|
+
import { yt as assertNever$2 } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
|
+
import { r as formatPrice } from "./StepIndicator-7D3GaBeM.mjs";
|
|
4
4
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
5
5
|
//#region ../core/src/date-math.ts
|
|
6
6
|
function addDaysToDate(date, dayCount) {
|
|
@@ -2270,6 +2270,24 @@ const API_ENDPOINTS = {
|
|
|
2270
2270
|
auth: "user",
|
|
2271
2271
|
responseKind: "json"
|
|
2272
2272
|
},
|
|
2273
|
+
publishEventOfferingPageSurface: {
|
|
2274
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2275
|
+
method: "POST",
|
|
2276
|
+
errors: [
|
|
2277
|
+
"auth:forbidden",
|
|
2278
|
+
"validation:invalid_input",
|
|
2279
|
+
"resource:not_found",
|
|
2280
|
+
"resource:conflict",
|
|
2281
|
+
"server:internal_error"
|
|
2282
|
+
],
|
|
2283
|
+
tags: [
|
|
2284
|
+
TAG_TEMPLATES.siteCollection,
|
|
2285
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2286
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2287
|
+
],
|
|
2288
|
+
auth: "user",
|
|
2289
|
+
responseKind: "json"
|
|
2290
|
+
},
|
|
2273
2291
|
runSdkWorkflow: {
|
|
2274
2292
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2275
2293
|
method: "POST",
|
|
@@ -6132,8 +6150,8 @@ const API_ENDPOINTS = {
|
|
|
6132
6150
|
auth: "user",
|
|
6133
6151
|
responseKind: "blob"
|
|
6134
6152
|
},
|
|
6135
|
-
|
|
6136
|
-
path: "/admin/sites/{siteId}/
|
|
6153
|
+
adminSiteBillingArrangement: {
|
|
6154
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6137
6155
|
method: "GET",
|
|
6138
6156
|
tags: [
|
|
6139
6157
|
"admin",
|
|
@@ -6141,10 +6159,16 @@ const API_ENDPOINTS = {
|
|
|
6141
6159
|
"billing"
|
|
6142
6160
|
],
|
|
6143
6161
|
auth: "admin",
|
|
6144
|
-
responseKind: "json"
|
|
6162
|
+
responseKind: "json",
|
|
6163
|
+
errors: [
|
|
6164
|
+
"validation:invalid_input",
|
|
6165
|
+
"auth:forbidden",
|
|
6166
|
+
"resource:not_found",
|
|
6167
|
+
"server:internal_error"
|
|
6168
|
+
]
|
|
6145
6169
|
},
|
|
6146
|
-
|
|
6147
|
-
path: "/admin/sites/{siteId}/
|
|
6170
|
+
adminUpdateSiteBillingArrangement: {
|
|
6171
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6148
6172
|
method: "POST",
|
|
6149
6173
|
tags: [
|
|
6150
6174
|
"admin",
|
|
@@ -6152,7 +6176,14 @@ const API_ENDPOINTS = {
|
|
|
6152
6176
|
"billing"
|
|
6153
6177
|
],
|
|
6154
6178
|
auth: "admin",
|
|
6155
|
-
responseKind: "json"
|
|
6179
|
+
responseKind: "json",
|
|
6180
|
+
errors: [
|
|
6181
|
+
"validation:invalid_input",
|
|
6182
|
+
"auth:forbidden",
|
|
6183
|
+
"resource:not_found",
|
|
6184
|
+
"resource:conflict",
|
|
6185
|
+
"server:internal_error"
|
|
6186
|
+
]
|
|
6156
6187
|
},
|
|
6157
6188
|
adminScheduleBillingComponentEnd: {
|
|
6158
6189
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -6319,6 +6350,41 @@ const API_ENDPOINTS = {
|
|
|
6319
6350
|
auth: "service",
|
|
6320
6351
|
responseKind: "json"
|
|
6321
6352
|
},
|
|
6353
|
+
sdkCatalogTheme: {
|
|
6354
|
+
path: "/sdk/{siteId}/catalog/theme",
|
|
6355
|
+
method: "GET",
|
|
6356
|
+
errors: ["server:internal_error"],
|
|
6357
|
+
auth: "service",
|
|
6358
|
+
responseKind: "json"
|
|
6359
|
+
},
|
|
6360
|
+
sdkCatalogBlocks: {
|
|
6361
|
+
path: "/sdk/{siteId}/catalog/blocks",
|
|
6362
|
+
method: "GET",
|
|
6363
|
+
errors: ["server:internal_error"],
|
|
6364
|
+
auth: "service",
|
|
6365
|
+
responseKind: "json"
|
|
6366
|
+
},
|
|
6367
|
+
sdkCatalogContentTypes: {
|
|
6368
|
+
path: "/sdk/{siteId}/catalog/content-types",
|
|
6369
|
+
method: "GET",
|
|
6370
|
+
errors: ["server:internal_error"],
|
|
6371
|
+
auth: "service",
|
|
6372
|
+
responseKind: "json"
|
|
6373
|
+
},
|
|
6374
|
+
sdkCapabilities: {
|
|
6375
|
+
path: "/sdk/{siteId}/capabilities",
|
|
6376
|
+
method: "GET",
|
|
6377
|
+
errors: ["server:internal_error"],
|
|
6378
|
+
auth: "service",
|
|
6379
|
+
responseKind: "json"
|
|
6380
|
+
},
|
|
6381
|
+
sdkListDemoContent: {
|
|
6382
|
+
path: "/sdk/{siteId}/demo-content",
|
|
6383
|
+
method: "GET",
|
|
6384
|
+
errors: ["server:internal_error"],
|
|
6385
|
+
auth: "service",
|
|
6386
|
+
responseKind: "json"
|
|
6387
|
+
},
|
|
6322
6388
|
sdkPullPages: {
|
|
6323
6389
|
path: "/sdk/{siteId}/pull/pages",
|
|
6324
6390
|
method: "GET",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-kkmjklLG.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-DeOTAFvR.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-hu3wr3ng.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-hu3wr3ng.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -2272,6 +2272,24 @@ const API_ENDPOINTS = {
|
|
|
2272
2272
|
auth: "user",
|
|
2273
2273
|
responseKind: "json"
|
|
2274
2274
|
},
|
|
2275
|
+
publishEventOfferingPageSurface: {
|
|
2276
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2277
|
+
method: "POST",
|
|
2278
|
+
errors: [
|
|
2279
|
+
"auth:forbidden",
|
|
2280
|
+
"validation:invalid_input",
|
|
2281
|
+
"resource:not_found",
|
|
2282
|
+
"resource:conflict",
|
|
2283
|
+
"server:internal_error"
|
|
2284
|
+
],
|
|
2285
|
+
tags: [
|
|
2286
|
+
TAG_TEMPLATES.siteCollection,
|
|
2287
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2288
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2289
|
+
],
|
|
2290
|
+
auth: "user",
|
|
2291
|
+
responseKind: "json"
|
|
2292
|
+
},
|
|
2275
2293
|
runSdkWorkflow: {
|
|
2276
2294
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2277
2295
|
method: "POST",
|
|
@@ -6134,8 +6152,8 @@ const API_ENDPOINTS = {
|
|
|
6134
6152
|
auth: "user",
|
|
6135
6153
|
responseKind: "blob"
|
|
6136
6154
|
},
|
|
6137
|
-
|
|
6138
|
-
path: "/admin/sites/{siteId}/
|
|
6155
|
+
adminSiteBillingArrangement: {
|
|
6156
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6139
6157
|
method: "GET",
|
|
6140
6158
|
tags: [
|
|
6141
6159
|
"admin",
|
|
@@ -6143,10 +6161,16 @@ const API_ENDPOINTS = {
|
|
|
6143
6161
|
"billing"
|
|
6144
6162
|
],
|
|
6145
6163
|
auth: "admin",
|
|
6146
|
-
responseKind: "json"
|
|
6164
|
+
responseKind: "json",
|
|
6165
|
+
errors: [
|
|
6166
|
+
"validation:invalid_input",
|
|
6167
|
+
"auth:forbidden",
|
|
6168
|
+
"resource:not_found",
|
|
6169
|
+
"server:internal_error"
|
|
6170
|
+
]
|
|
6147
6171
|
},
|
|
6148
|
-
|
|
6149
|
-
path: "/admin/sites/{siteId}/
|
|
6172
|
+
adminUpdateSiteBillingArrangement: {
|
|
6173
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6150
6174
|
method: "POST",
|
|
6151
6175
|
tags: [
|
|
6152
6176
|
"admin",
|
|
@@ -6154,7 +6178,14 @@ const API_ENDPOINTS = {
|
|
|
6154
6178
|
"billing"
|
|
6155
6179
|
],
|
|
6156
6180
|
auth: "admin",
|
|
6157
|
-
responseKind: "json"
|
|
6181
|
+
responseKind: "json",
|
|
6182
|
+
errors: [
|
|
6183
|
+
"validation:invalid_input",
|
|
6184
|
+
"auth:forbidden",
|
|
6185
|
+
"resource:not_found",
|
|
6186
|
+
"resource:conflict",
|
|
6187
|
+
"server:internal_error"
|
|
6188
|
+
]
|
|
6158
6189
|
},
|
|
6159
6190
|
adminScheduleBillingComponentEnd: {
|
|
6160
6191
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -6321,6 +6352,41 @@ const API_ENDPOINTS = {
|
|
|
6321
6352
|
auth: "service",
|
|
6322
6353
|
responseKind: "json"
|
|
6323
6354
|
},
|
|
6355
|
+
sdkCatalogTheme: {
|
|
6356
|
+
path: "/sdk/{siteId}/catalog/theme",
|
|
6357
|
+
method: "GET",
|
|
6358
|
+
errors: ["server:internal_error"],
|
|
6359
|
+
auth: "service",
|
|
6360
|
+
responseKind: "json"
|
|
6361
|
+
},
|
|
6362
|
+
sdkCatalogBlocks: {
|
|
6363
|
+
path: "/sdk/{siteId}/catalog/blocks",
|
|
6364
|
+
method: "GET",
|
|
6365
|
+
errors: ["server:internal_error"],
|
|
6366
|
+
auth: "service",
|
|
6367
|
+
responseKind: "json"
|
|
6368
|
+
},
|
|
6369
|
+
sdkCatalogContentTypes: {
|
|
6370
|
+
path: "/sdk/{siteId}/catalog/content-types",
|
|
6371
|
+
method: "GET",
|
|
6372
|
+
errors: ["server:internal_error"],
|
|
6373
|
+
auth: "service",
|
|
6374
|
+
responseKind: "json"
|
|
6375
|
+
},
|
|
6376
|
+
sdkCapabilities: {
|
|
6377
|
+
path: "/sdk/{siteId}/capabilities",
|
|
6378
|
+
method: "GET",
|
|
6379
|
+
errors: ["server:internal_error"],
|
|
6380
|
+
auth: "service",
|
|
6381
|
+
responseKind: "json"
|
|
6382
|
+
},
|
|
6383
|
+
sdkListDemoContent: {
|
|
6384
|
+
path: "/sdk/{siteId}/demo-content",
|
|
6385
|
+
method: "GET",
|
|
6386
|
+
errors: ["server:internal_error"],
|
|
6387
|
+
auth: "service",
|
|
6388
|
+
responseKind: "json"
|
|
6389
|
+
},
|
|
6324
6390
|
sdkPullPages: {
|
|
6325
6391
|
path: "/sdk/{siteId}/pull/pages",
|
|
6326
6392
|
method: "GET",
|
|
@@ -2243,6 +2243,24 @@ const API_ENDPOINTS = {
|
|
|
2243
2243
|
auth: "user",
|
|
2244
2244
|
responseKind: "json"
|
|
2245
2245
|
},
|
|
2246
|
+
publishEventOfferingPageSurface: {
|
|
2247
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2248
|
+
method: "POST",
|
|
2249
|
+
errors: [
|
|
2250
|
+
"auth:forbidden",
|
|
2251
|
+
"validation:invalid_input",
|
|
2252
|
+
"resource:not_found",
|
|
2253
|
+
"resource:conflict",
|
|
2254
|
+
"server:internal_error"
|
|
2255
|
+
],
|
|
2256
|
+
tags: [
|
|
2257
|
+
TAG_TEMPLATES.siteCollection,
|
|
2258
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2259
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2260
|
+
],
|
|
2261
|
+
auth: "user",
|
|
2262
|
+
responseKind: "json"
|
|
2263
|
+
},
|
|
2246
2264
|
runSdkWorkflow: {
|
|
2247
2265
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2248
2266
|
method: "POST",
|
|
@@ -6105,8 +6123,8 @@ const API_ENDPOINTS = {
|
|
|
6105
6123
|
auth: "user",
|
|
6106
6124
|
responseKind: "blob"
|
|
6107
6125
|
},
|
|
6108
|
-
|
|
6109
|
-
path: "/admin/sites/{siteId}/
|
|
6126
|
+
adminSiteBillingArrangement: {
|
|
6127
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6110
6128
|
method: "GET",
|
|
6111
6129
|
tags: [
|
|
6112
6130
|
"admin",
|
|
@@ -6114,10 +6132,16 @@ const API_ENDPOINTS = {
|
|
|
6114
6132
|
"billing"
|
|
6115
6133
|
],
|
|
6116
6134
|
auth: "admin",
|
|
6117
|
-
responseKind: "json"
|
|
6135
|
+
responseKind: "json",
|
|
6136
|
+
errors: [
|
|
6137
|
+
"validation:invalid_input",
|
|
6138
|
+
"auth:forbidden",
|
|
6139
|
+
"resource:not_found",
|
|
6140
|
+
"server:internal_error"
|
|
6141
|
+
]
|
|
6118
6142
|
},
|
|
6119
|
-
|
|
6120
|
-
path: "/admin/sites/{siteId}/
|
|
6143
|
+
adminUpdateSiteBillingArrangement: {
|
|
6144
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6121
6145
|
method: "POST",
|
|
6122
6146
|
tags: [
|
|
6123
6147
|
"admin",
|
|
@@ -6125,7 +6149,14 @@ const API_ENDPOINTS = {
|
|
|
6125
6149
|
"billing"
|
|
6126
6150
|
],
|
|
6127
6151
|
auth: "admin",
|
|
6128
|
-
responseKind: "json"
|
|
6152
|
+
responseKind: "json",
|
|
6153
|
+
errors: [
|
|
6154
|
+
"validation:invalid_input",
|
|
6155
|
+
"auth:forbidden",
|
|
6156
|
+
"resource:not_found",
|
|
6157
|
+
"resource:conflict",
|
|
6158
|
+
"server:internal_error"
|
|
6159
|
+
]
|
|
6129
6160
|
},
|
|
6130
6161
|
adminScheduleBillingComponentEnd: {
|
|
6131
6162
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -6292,6 +6323,41 @@ const API_ENDPOINTS = {
|
|
|
6292
6323
|
auth: "service",
|
|
6293
6324
|
responseKind: "json"
|
|
6294
6325
|
},
|
|
6326
|
+
sdkCatalogTheme: {
|
|
6327
|
+
path: "/sdk/{siteId}/catalog/theme",
|
|
6328
|
+
method: "GET",
|
|
6329
|
+
errors: ["server:internal_error"],
|
|
6330
|
+
auth: "service",
|
|
6331
|
+
responseKind: "json"
|
|
6332
|
+
},
|
|
6333
|
+
sdkCatalogBlocks: {
|
|
6334
|
+
path: "/sdk/{siteId}/catalog/blocks",
|
|
6335
|
+
method: "GET",
|
|
6336
|
+
errors: ["server:internal_error"],
|
|
6337
|
+
auth: "service",
|
|
6338
|
+
responseKind: "json"
|
|
6339
|
+
},
|
|
6340
|
+
sdkCatalogContentTypes: {
|
|
6341
|
+
path: "/sdk/{siteId}/catalog/content-types",
|
|
6342
|
+
method: "GET",
|
|
6343
|
+
errors: ["server:internal_error"],
|
|
6344
|
+
auth: "service",
|
|
6345
|
+
responseKind: "json"
|
|
6346
|
+
},
|
|
6347
|
+
sdkCapabilities: {
|
|
6348
|
+
path: "/sdk/{siteId}/capabilities",
|
|
6349
|
+
method: "GET",
|
|
6350
|
+
errors: ["server:internal_error"],
|
|
6351
|
+
auth: "service",
|
|
6352
|
+
responseKind: "json"
|
|
6353
|
+
},
|
|
6354
|
+
sdkListDemoContent: {
|
|
6355
|
+
path: "/sdk/{siteId}/demo-content",
|
|
6356
|
+
method: "GET",
|
|
6357
|
+
errors: ["server:internal_error"],
|
|
6358
|
+
auth: "service",
|
|
6359
|
+
responseKind: "json"
|
|
6360
|
+
},
|
|
6295
6361
|
sdkPullPages: {
|
|
6296
6362
|
path: "/sdk/{siteId}/pull/pages",
|
|
6297
6363
|
method: "GET",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-kkmjklLG.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-DeOTAFvR.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $u as Primitive, rd as cn } from "./SiteChromeCustomizeContext-DOSDLCiJ.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|