@riverbankcms/sdk 0.109.0 → 0.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-DWqwfy3_.mjs → PreviewEditorSidebar-BBcK1DjD.mjs} +178 -117
- package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-CuBFoYes.mjs} +3 -4
- package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-nKUT4TL-.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-BWIO_Dsi.mjs} +2789 -34525
- package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-CciG60M5.mjs} +88526 -57212
- package/dist/_dts/ai/src/contracts/proposals.d.ts +6939 -727
- package/dist/_dts/ai/src/designer/themePatch.d.ts +1 -1
- package/dist/_dts/api/src/bookingAdjustments.d.ts +30 -36
- package/dist/_dts/api/src/bookingRecords.d.ts +6 -74
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +3 -3
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +9 -2
- package/dist/_dts/api/src/courses.d.ts +30 -15
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +4 -4
- package/dist/_dts/api/src/endpoints.d.ts +49 -4
- package/dist/_dts/api/src/event-presentation.d.ts +4 -0
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +2 -2
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +108 -18
- package/dist/_dts/api/src/siteBanner.d.ts +8 -8
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/siteOperations.d.ts +12 -20
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
- 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/RichTextField/richTextFieldDefaults.d.ts +3 -12
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +1 -5
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -10
- 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 +4 -4
- package/dist/_dts/blocks/src/index.d.ts +6 -7
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
- 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 +2 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
- 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 +5 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -8
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -15
- package/dist/_dts/blocks/src/system/blocks/intro.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +66 -66
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -17
- 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-footer.d.ts +0 -3
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +19 -2
- package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +8 -70
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/schema.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +5 -21
- 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/richText-coerce.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
- 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/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +17 -1
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +1 -1
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -2
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +19 -4
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +3 -15
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +2 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +1 -21
- package/dist/_dts/core/src/editor-state.d.ts +14 -1
- package/dist/_dts/core/src/footer-composition.d.ts +2 -1
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/rich-text.d.ts +16 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +367 -69
- package/dist/_dts/editor/src/index.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +3 -5
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +3 -7
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/utils.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +6 -5
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/media-core/src/contentMediaAudit.d.ts +104 -0
- package/dist/_dts/media-core/src/contentMediaAuditFieldAdapter.d.ts +8 -0
- package/dist/_dts/media-core/src/contentMediaSnapshotAudit.d.ts +22 -0
- package/dist/_dts/media-core/src/index.d.ts +3 -1
- 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 +7 -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/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/event.d.ts +18 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +2 -16
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +8 -5
- package/dist/_dts/sdk/src/client/management/events.d.ts +2 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +38 -10
- package/dist/_dts/sdk/src/config/typed-entries.d.ts +7 -7
- package/dist/_dts/sdk/src/config/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/contracts/content.d.ts +5 -15
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -40
- package/dist/_dts/sdk/src/contracts/theme.d.ts +2 -18
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +4 -4
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -2
- package/dist/_dts/sdk/src/rendering/helpers/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -13
- package/dist/_dts/sdk/src/theme/index.d.ts +0 -29
- 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 +160 -24
- package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/core.d.ts +0 -1
- package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +22 -9
- package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/border.d.ts +1 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/overlay.d.ts +3 -1
- package/dist/_dts/theme-core/src/buttons/effects/presets/shadow.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +8 -18
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -5
- package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +36 -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 +1638 -93
- package/dist/_dts/theme-core/src/cards/types.d.ts +13 -13
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +969 -69
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +0 -1
- package/dist/_dts/theme-core/src/schema.d.ts +1100 -116
- 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 +14 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +7368 -6668
- package/dist/cli/init-docs/content/cli-reference.md +40 -1
- package/dist/cli/init-docs/content/content-management.md +6 -0
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-DIWj-P9v.mjs} +1 -1
- package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-De8YWBSr.mjs} +2 -3
- package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-seHTjimY.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BmQxFcJW.mjs} +1 -1
- package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-OoJAIUIj.mjs} +1 -2
- package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-CiZ8kdPk.mjs} +2 -2
- package/dist/client/{accordion-CeGreumd.mjs → accordion-6lnN__XJ.mjs} +1 -1
- package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-5uyqhONU.mjs} +6 -7
- package/dist/client/bookings.mjs +9179 -5865
- package/dist/client/{carousel-B2jDtogf.mjs → carousel-Dtnifil_.mjs} +1 -1
- package/dist/client/{cart-D-jZ-vaY.mjs → cart-5Tc5S7NV.mjs} +3 -3
- package/dist/client/{checkout-Dza-LA7N.mjs → checkout-CYKKN5Hr.mjs} +3 -3
- package/dist/client/client.mjs +3252 -3361
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorStyles-BWpj_h4C.mjs} +118 -1
- package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-CxCBybB4.mjs} +100 -37
- package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-Xj2jZS9X.mjs} +4 -5
- package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-CgcMoOgM.mjs} +2 -2
- package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-CEAH8Edc.mjs} +3 -3
- package/dist/client/{eventListing-YhKN018y.mjs → eventListing-qyPVQ0wP.mjs} +2 -2
- package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-DDu79CtL.mjs} +6 -7
- package/dist/client/{form-AcAL45rA.mjs → form-Bc7JKI7I.mjs} +1 -2
- package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-vTku_LEl.mjs} +2 -3
- package/dist/client/hooks.mjs +1774 -2273
- package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-Bg7X4Jna.mjs} +8 -5
- package/dist/client/{media-BK0O3b-U.mjs → media-CNE1Z-wb.mjs} +1 -2
- package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-lpylVdp5.mjs} +1 -2
- package/dist/client/{pricing-BSYVghwo.mjs → pricing-DE8fjJiT.mjs} +1 -1
- package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-D7Bo2RMH.mjs} +3 -3
- package/dist/client/{productList-BCKThwAI.mjs → productList-VjnZqiqN.mjs} +3 -3
- package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-DreFXjNP.mjs} +4256 -443
- package/dist/client/rendering/client.mjs +21776 -21970
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +3092 -3322
- package/dist/client/{shop-DeltVH10.mjs → shop-IRsHHbf7.mjs} +5 -6
- package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-gnI8PieZ.mjs} +27 -11
- package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-BTbrhObn.mjs} +1 -1
- package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-D6KS2_qk.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-DCccGCxV.mjs} +1 -1
- package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-eGs3rPZQ.mjs} +24 -126
- package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-CvSU2sur.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +94 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +94 -6
- package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-DN7vcRsv.mjs} +94 -6
- package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-vW8QbyPN.mjs} +2 -2
- package/dist/{separator-CI5wZNXT.mjs → separator-DJ4bkeY3.mjs} +1 -1
- package/dist/server/components.mjs +5194 -5568
- package/dist/server/config-template-validation.mjs +4 -23
- package/dist/server/config-validation.mjs +1774 -2273
- package/dist/server/config.mjs +2043 -2508
- package/dist/server/data.mjs +1774 -2273
- package/dist/server/index.mjs +95 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +5337 -5632
- package/dist/server/page-converter.mjs +1833 -2307
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6713 -4874
- package/dist/server/rendering.mjs +5203 -5586
- package/dist/server/routing.mjs +2199 -2698
- package/dist/server/server.mjs +1885 -2355
- package/dist/server/theme-bridge.mjs +1986 -2222
- package/dist/server/theme.mjs +2367 -1581
- package/dist/server/webhooks.mjs +54 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +0 -40
- package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -19
- package/dist/_dts/media-core/src/legacyMediaValue.d.ts +0 -11
- 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 -285
- package/dist/_dts/theme-core/src/styles/buttons.d.ts +0 -27
- package/dist/_dts/theme-core/src/styles/buttonsLibrary.d.ts +0 -2
- package/dist/_dts/theme-core/src/styles/glow.d.ts +0 -3
- package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
- package/dist/client/colorStyles-CrgzoXsm.mjs +0 -99
- package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Kt as assertNever$1, Z as themeButtonClassName, bt as assertNever, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-DreFXjNP.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 { r as themeButtonClassName } from "./buttons-DoFV7KDL.mjs";
|
|
4
|
+
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DCccGCxV.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-DIWj-P9v.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-D6KS2_qk.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-BTbrhObn.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
|
|
3
|
-
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-
|
|
2
|
+
import { J as RichTextDocSchema, Tt as reportWorkflowError, Z as themeButtonClassName, a as buildProductDetailDisplay, bt as assertNever, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, it as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem, xt as clearWorkflowFeedback } from "./propsDecoder-DreFXjNP.mjs";
|
|
3
|
+
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-CNE1Z-wb.mjs";
|
|
4
4
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
6
|
-
import { r as themeButtonClassName } from "./buttons-DoFV7KDL.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-DIWj-P9v.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-D6KS2_qk.mjs";
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-BTbrhObn.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";
|
|
@@ -171,10 +170,27 @@ function RichText({ as: Comp = "div", className, doc, path }) {
|
|
|
171
170
|
}
|
|
172
171
|
//#endregion
|
|
173
172
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
174
|
-
function
|
|
175
|
-
const
|
|
176
|
-
if (
|
|
177
|
-
|
|
173
|
+
function parseRichTextDoc(value) {
|
|
174
|
+
const parsed = RichTextDocSchema.safeParse(value);
|
|
175
|
+
if (parsed.success) return {
|
|
176
|
+
kind: "valid",
|
|
177
|
+
doc: parsed.data
|
|
178
|
+
};
|
|
179
|
+
return {
|
|
180
|
+
kind: "invalid",
|
|
181
|
+
issues: parsed.error.issues.map((issue) => ({
|
|
182
|
+
path: issue.path.map((segment) => String(segment)),
|
|
183
|
+
message: issue.message
|
|
184
|
+
}))
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function coerceRichTextDoc(value, source) {
|
|
188
|
+
const parsed = parseRichTextDoc(value);
|
|
189
|
+
if (parsed.kind === "valid") return parsed.doc;
|
|
190
|
+
if (value !== null && value !== void 0) logger.warn("blocks:rich-text:invalid-document", {
|
|
191
|
+
source,
|
|
192
|
+
issues: parsed.issues.slice(0, 3)
|
|
193
|
+
});
|
|
178
194
|
return null;
|
|
179
195
|
}
|
|
180
196
|
//#endregion
|
|
@@ -329,7 +345,7 @@ function ProductDetailController(props) {
|
|
|
329
345
|
selectedProduct,
|
|
330
346
|
variantId
|
|
331
347
|
]);
|
|
332
|
-
const bodyDoc = display.state === "ready" && props.render.hydration.showBody ? coerceRichTextDoc(display.body) : null;
|
|
348
|
+
const bodyDoc = display.state === "ready" && props.render.hydration.showBody ? coerceRichTextDoc(display.body, "block-runtime:product-detail:body") : null;
|
|
333
349
|
return /* @__PURE__ */ jsx(ProductDetailView, {
|
|
334
350
|
display,
|
|
335
351
|
gallery: display.state === "ready" ? /* @__PURE__ */ jsx(ProductGalleryFrameView, {
|
|
@@ -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-DreFXjNP.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 { b as ok, y as err } from "./colorStyles-BWpj_h4C.mjs";
|
|
3
|
+
import { bt as assertNever } from "./propsDecoder-DreFXjNP.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-DIWj-P9v.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-DIWj-P9v.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,35 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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-BK0O3b-U.mjs";
|
|
5
|
-
import { i as rgbColorValue } from "./colorStyles-CrgzoXsm.mjs";
|
|
2
|
+
import { $ as hexToRgb, A as formatDate, B as resolveEventCta, D as normalizeCsvIds, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, N as formatEventPrice, O as normalizeCsvString, Q as relativeLuminance, U as getEventAvailability, Z as themeButtonClassName, bt as assertNever, et as isCssColorLiteral, j as formatEventCompactDateRail, k as normalizeOptionalId, nt as resolveTokenOrCssColorValue, q as normalizeEventBlockKind, rt as normalizeCardVariantRole, tt as resolveOnColorForThemeToken } from "./propsDecoder-DreFXjNP.mjs";
|
|
3
|
+
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-CNE1Z-wb.mjs";
|
|
6
4
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-BYImhgiB.mjs";
|
|
5
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-BmQxFcJW.mjs";
|
|
9
6
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { z as z$1 } from "zod";
|
|
12
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/EmptyState.tsx
|
|
13
|
-
/**
|
|
14
|
-
* EmptyState Component
|
|
15
|
-
* Displays when no events are available.
|
|
16
|
-
* Optionally shows a "Reset filters" button when filters are applied.
|
|
17
|
-
*/
|
|
18
|
-
const EmptyState = ({ message = "No upcoming events scheduled.", className, hasActiveFilters = false, onResetFilters, resetFiltersText = "Reset filters" }) => {
|
|
19
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
20
|
-
className: `event-list-empty ${className || ""}`,
|
|
21
|
-
children: [/* @__PURE__ */ jsx("p", {
|
|
22
|
-
className: "rb-caption status-muted",
|
|
23
|
-
children: message
|
|
24
|
-
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
25
|
-
type: "button",
|
|
26
|
-
onClick: onResetFilters,
|
|
27
|
-
className: "event-reset-filters-btn",
|
|
28
|
-
children: resetFiltersText
|
|
29
|
-
})]
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
8
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
34
9
|
/**
|
|
35
10
|
* Pick the better of black/white text for a given background using actual
|
|
@@ -71,6 +46,27 @@ function clamp255(value) {
|
|
|
71
46
|
return Math.max(0, Math.min(255, value));
|
|
72
47
|
}
|
|
73
48
|
//#endregion
|
|
49
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/EmptyState.tsx
|
|
50
|
+
/**
|
|
51
|
+
* EmptyState Component
|
|
52
|
+
* Displays when no events are available.
|
|
53
|
+
* Optionally shows a "Reset filters" button when filters are applied.
|
|
54
|
+
*/
|
|
55
|
+
const EmptyState = ({ message = "No upcoming events scheduled.", className, hasActiveFilters = false, onResetFilters, resetFiltersText = "Reset filters" }) => {
|
|
56
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
57
|
+
className: `event-list-empty ${className || ""}`,
|
|
58
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
59
|
+
className: "rb-caption status-muted",
|
|
60
|
+
children: message
|
|
61
|
+
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
62
|
+
type: "button",
|
|
63
|
+
onClick: onResetFilters,
|
|
64
|
+
className: "event-reset-filters-btn",
|
|
65
|
+
children: resetFiltersText
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
74
70
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventFilters.tsx
|
|
75
71
|
/**
|
|
76
72
|
* EventFilters Component
|
|
@@ -176,104 +172,6 @@ const EventFilters = ({ categories, venues, staffMembers, selectedKind, selected
|
|
|
176
172
|
]
|
|
177
173
|
});
|
|
178
174
|
};
|
|
179
|
-
z$1.string();
|
|
180
|
-
const CSS_COLOR_FUNCTION_PATTERN = /^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix|light-dark)\(/i;
|
|
181
|
-
const CSS_HEX_COLOR_PATTERN = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
|
|
182
|
-
const CSS_COLOR_KEYWORDS = /* @__PURE__ */ new Set([
|
|
183
|
-
"transparent",
|
|
184
|
-
"currentcolor",
|
|
185
|
-
"inherit",
|
|
186
|
-
"initial",
|
|
187
|
-
"revert",
|
|
188
|
-
"revert-layer",
|
|
189
|
-
"unset"
|
|
190
|
-
]);
|
|
191
|
-
const COMMON_CSS_NAMED_COLORS = /* @__PURE__ */ new Set([
|
|
192
|
-
"black",
|
|
193
|
-
"blue",
|
|
194
|
-
"gray",
|
|
195
|
-
"green",
|
|
196
|
-
"grey",
|
|
197
|
-
"orange",
|
|
198
|
-
"pink",
|
|
199
|
-
"purple",
|
|
200
|
-
"red",
|
|
201
|
-
"white",
|
|
202
|
-
"yellow"
|
|
203
|
-
]);
|
|
204
|
-
function isCssColorLiteral(value) {
|
|
205
|
-
const trimmed = value.trim();
|
|
206
|
-
if (!trimmed) return false;
|
|
207
|
-
return CSS_HEX_COLOR_PATTERN.test(trimmed) || CSS_COLOR_FUNCTION_PATTERN.test(trimmed) || /^var\(/i.test(trimmed) || CSS_COLOR_KEYWORDS.has(trimmed.toLowerCase());
|
|
208
|
-
}
|
|
209
|
-
function parseThemeToken(token) {
|
|
210
|
-
const trimmed = token.trim();
|
|
211
|
-
const match = trimmed.match(/^(.*?)-(\d{2,3})$/);
|
|
212
|
-
if (!match) return {
|
|
213
|
-
role: trimmed,
|
|
214
|
-
shade: null
|
|
215
|
-
};
|
|
216
|
-
const role = match[1] ?? trimmed;
|
|
217
|
-
const shade = match[2] ? Number(match[2]) : null;
|
|
218
|
-
return {
|
|
219
|
-
role,
|
|
220
|
-
shade: Number.isFinite(shade) ? shade : null
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
function parseContextThemeColorToken(value, context) {
|
|
224
|
-
const parts = parseColorTokenParts(value);
|
|
225
|
-
if (parts.kind !== "token") return null;
|
|
226
|
-
if (!(Boolean(context?.palette?.[value.trim()]) || parts.opacityPercent !== null && Boolean(context?.palette?.[parts.token]))) return null;
|
|
227
|
-
return value.trim();
|
|
228
|
-
}
|
|
229
|
-
function isTokenShapedTypo(value) {
|
|
230
|
-
if (COMMON_CSS_NAMED_COLORS.has(value.toLowerCase())) return false;
|
|
231
|
-
if (!/^[a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z0-9]+)*(?:\/[^/]+)?$/.test(value)) return false;
|
|
232
|
-
return !isCssColorLiteral(value);
|
|
233
|
-
}
|
|
234
|
-
function warnUnknownThemeColorReference(value) {
|
|
235
|
-
if (!isTokenShapedTypo(value)) return;
|
|
236
|
-
console.warn(`[theme-core] Unknown Theme V2 color token "${value}" treated as literal CSS. Use raw:* for deliberate custom CSS values.`);
|
|
237
|
-
}
|
|
238
|
-
function parseThemeColorReference(input, context) {
|
|
239
|
-
const trimmed = input.trim();
|
|
240
|
-
if (trimmed.startsWith("raw:")) return {
|
|
241
|
-
kind: "literal-css",
|
|
242
|
-
value: trimmed.slice(4)
|
|
243
|
-
};
|
|
244
|
-
const contextToken = parseContextThemeColorToken(trimmed, context);
|
|
245
|
-
if (contextToken) return {
|
|
246
|
-
kind: "palette-context-token",
|
|
247
|
-
token: contextToken
|
|
248
|
-
};
|
|
249
|
-
const knownToken = parseThemeColorToken(trimmed);
|
|
250
|
-
if (knownToken) return {
|
|
251
|
-
kind: "theme-token",
|
|
252
|
-
token: knownToken
|
|
253
|
-
};
|
|
254
|
-
warnUnknownThemeColorReference(trimmed);
|
|
255
|
-
return {
|
|
256
|
-
kind: "literal-css",
|
|
257
|
-
value: trimmed
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
function resolveThemeColorReferenceValue(input, context) {
|
|
261
|
-
const reference = parseThemeColorReference(input, context);
|
|
262
|
-
return reference.kind === "literal-css" ? reference.value : rgbColorValue(reference.token);
|
|
263
|
-
}
|
|
264
|
-
function resolveTokenOrCssColorValue(input, context) {
|
|
265
|
-
return resolveThemeColorReferenceValue(input, context);
|
|
266
|
-
}
|
|
267
|
-
function resolveOnColorForThemeToken(token) {
|
|
268
|
-
if (!parseThemeColorToken(token)) return null;
|
|
269
|
-
const parts = parseColorTokenParts(token);
|
|
270
|
-
if (parts.kind !== "token") return null;
|
|
271
|
-
const { role, shade } = parseThemeToken(parts.token);
|
|
272
|
-
const normalizedRole = role.trim();
|
|
273
|
-
if (!normalizedRole) return null;
|
|
274
|
-
if (!shade) return rgbColorValue(`on${normalizedRole.charAt(0).toUpperCase() + normalizedRole.slice(1)}`);
|
|
275
|
-
return shade <= 400 ? "#000000" : "#FFFFFF";
|
|
276
|
-
}
|
|
277
175
|
//#endregion
|
|
278
176
|
//#region ../blocks/src/system/runtime/nodes/media.server.tsx
|
|
279
177
|
const MediaNodeServer = ({ value, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as formatPrice } from "./StepIndicator-
|
|
2
|
+
import { bt as assertNever$2 } from "./propsDecoder-DreFXjNP.mjs";
|
|
3
|
+
import { r as formatPrice } from "./StepIndicator-CiZ8kdPk.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",
|
|
@@ -6641,6 +6672,63 @@ const API_ENDPOINTS = {
|
|
|
6641
6672
|
auth: "service",
|
|
6642
6673
|
responseKind: "json"
|
|
6643
6674
|
},
|
|
6675
|
+
sdkListEventOccurrences: {
|
|
6676
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences",
|
|
6677
|
+
method: "GET",
|
|
6678
|
+
auth: "service",
|
|
6679
|
+
responseKind: "json",
|
|
6680
|
+
errors: [
|
|
6681
|
+
"resource:not_found",
|
|
6682
|
+
"validation:invalid_input",
|
|
6683
|
+
"server:internal_error"
|
|
6684
|
+
]
|
|
6685
|
+
},
|
|
6686
|
+
sdkAddEventOccurrence: {
|
|
6687
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences",
|
|
6688
|
+
method: "POST",
|
|
6689
|
+
auth: "service",
|
|
6690
|
+
responseKind: "json",
|
|
6691
|
+
errors: [
|
|
6692
|
+
"resource:not_found",
|
|
6693
|
+
"validation:invalid_input",
|
|
6694
|
+
"resource:conflict",
|
|
6695
|
+
"server:internal_error"
|
|
6696
|
+
]
|
|
6697
|
+
},
|
|
6698
|
+
sdkUpdateEventOccurrence: {
|
|
6699
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}",
|
|
6700
|
+
method: "PATCH",
|
|
6701
|
+
auth: "service",
|
|
6702
|
+
responseKind: "json",
|
|
6703
|
+
errors: [
|
|
6704
|
+
"resource:not_found",
|
|
6705
|
+
"validation:invalid_input",
|
|
6706
|
+
"resource:conflict",
|
|
6707
|
+
"server:internal_error"
|
|
6708
|
+
]
|
|
6709
|
+
},
|
|
6710
|
+
sdkCancelEventOccurrence: {
|
|
6711
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}/cancel",
|
|
6712
|
+
method: "POST",
|
|
6713
|
+
auth: "service",
|
|
6714
|
+
responseKind: "json",
|
|
6715
|
+
errors: [
|
|
6716
|
+
"resource:not_found",
|
|
6717
|
+
"resource:conflict",
|
|
6718
|
+
"server:internal_error"
|
|
6719
|
+
]
|
|
6720
|
+
},
|
|
6721
|
+
sdkDeleteEventOccurrence: {
|
|
6722
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}",
|
|
6723
|
+
method: "DELETE",
|
|
6724
|
+
auth: "service",
|
|
6725
|
+
responseKind: "json",
|
|
6726
|
+
errors: [
|
|
6727
|
+
"resource:not_found",
|
|
6728
|
+
"resource:conflict",
|
|
6729
|
+
"server:internal_error"
|
|
6730
|
+
]
|
|
6731
|
+
},
|
|
6644
6732
|
sdkListCourses: {
|
|
6645
6733
|
path: "/sdk/{siteId}/courses",
|
|
6646
6734
|
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-nKUT4TL-.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-BWIO_Dsi.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-vW8QbyPN.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-vW8QbyPN.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",
|
|
@@ -6643,6 +6674,63 @@ const API_ENDPOINTS = {
|
|
|
6643
6674
|
auth: "service",
|
|
6644
6675
|
responseKind: "json"
|
|
6645
6676
|
},
|
|
6677
|
+
sdkListEventOccurrences: {
|
|
6678
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences",
|
|
6679
|
+
method: "GET",
|
|
6680
|
+
auth: "service",
|
|
6681
|
+
responseKind: "json",
|
|
6682
|
+
errors: [
|
|
6683
|
+
"resource:not_found",
|
|
6684
|
+
"validation:invalid_input",
|
|
6685
|
+
"server:internal_error"
|
|
6686
|
+
]
|
|
6687
|
+
},
|
|
6688
|
+
sdkAddEventOccurrence: {
|
|
6689
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences",
|
|
6690
|
+
method: "POST",
|
|
6691
|
+
auth: "service",
|
|
6692
|
+
responseKind: "json",
|
|
6693
|
+
errors: [
|
|
6694
|
+
"resource:not_found",
|
|
6695
|
+
"validation:invalid_input",
|
|
6696
|
+
"resource:conflict",
|
|
6697
|
+
"server:internal_error"
|
|
6698
|
+
]
|
|
6699
|
+
},
|
|
6700
|
+
sdkUpdateEventOccurrence: {
|
|
6701
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}",
|
|
6702
|
+
method: "PATCH",
|
|
6703
|
+
auth: "service",
|
|
6704
|
+
responseKind: "json",
|
|
6705
|
+
errors: [
|
|
6706
|
+
"resource:not_found",
|
|
6707
|
+
"validation:invalid_input",
|
|
6708
|
+
"resource:conflict",
|
|
6709
|
+
"server:internal_error"
|
|
6710
|
+
]
|
|
6711
|
+
},
|
|
6712
|
+
sdkCancelEventOccurrence: {
|
|
6713
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}/cancel",
|
|
6714
|
+
method: "POST",
|
|
6715
|
+
auth: "service",
|
|
6716
|
+
responseKind: "json",
|
|
6717
|
+
errors: [
|
|
6718
|
+
"resource:not_found",
|
|
6719
|
+
"resource:conflict",
|
|
6720
|
+
"server:internal_error"
|
|
6721
|
+
]
|
|
6722
|
+
},
|
|
6723
|
+
sdkDeleteEventOccurrence: {
|
|
6724
|
+
path: "/sdk/{siteId}/events/{identifier}/occurrences/{occurrenceId}",
|
|
6725
|
+
method: "DELETE",
|
|
6726
|
+
auth: "service",
|
|
6727
|
+
responseKind: "json",
|
|
6728
|
+
errors: [
|
|
6729
|
+
"resource:not_found",
|
|
6730
|
+
"resource:conflict",
|
|
6731
|
+
"server:internal_error"
|
|
6732
|
+
]
|
|
6733
|
+
},
|
|
6646
6734
|
sdkListCourses: {
|
|
6647
6735
|
path: "/sdk/{siteId}/courses",
|
|
6648
6736
|
method: "GET",
|