@riverbankcms/sdk 0.77.1 → 0.78.2
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 +114 -43
- package/dist/{PreviewEditorSidebar-DVUG7GK4.mjs → PreviewEditorSidebar-4DXLYX2V.mjs} +4962 -4885
- package/dist/{PreviewEditorUI-P7RN4CDS.mjs → PreviewEditorUI-CS5P4N3P.mjs} +4 -4
- package/dist/SdkPreviewModeRuntime-IJDHTW4W.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +190 -154
- package/dist/_dts/api/src/accessAdmin.d.ts +5 -0
- package/dist/_dts/api/src/billing.d.ts +3 -26
- package/dist/_dts/api/src/bookingVerticals.d.ts +4 -0
- package/dist/_dts/api/src/content-editor.d.ts +1 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/demoDashboardMutationSurfaces.d.ts +46 -0
- package/dist/_dts/api/src/endpoints.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +16 -4
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +87 -0
- package/dist/_dts/api/src/navigation/dashboardDemoNav.d.ts +5 -0
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +45 -0
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +42 -0
- package/dist/_dts/api/src/navigation/dashboardTeamMemberNav.d.ts +24 -0
- package/dist/_dts/api/src/navigation/linkUrlType.d.ts +3 -0
- package/dist/_dts/api/src/navigation.d.ts +12 -0
- package/dist/_dts/api/src/public/types.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +55 -26
- package/dist/_dts/api/src/request.d.ts +3 -11
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +7 -1
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +10 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +15 -19
- package/dist/_dts/api/src/staffAccess.d.ts +79 -0
- package/dist/_dts/api/src/types.d.ts +14 -27
- package/dist/_dts/api/src/workflows/automaticWorkflowTriggers.d.ts +21 -0
- package/dist/_dts/block-form/src/fields/types.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +3 -2
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +6 -3
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +8 -3
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLinearRepeaterDnd.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useResolvedItemLabel.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/index.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterLabelSource.d.ts +15 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterRowActionsDomain.d.ts +50 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +4 -1
- package/dist/_dts/blocks/src/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +885 -289
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +68 -21
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +879 -288
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -0
- package/dist/_dts/blocks/src/system/data/index.d.ts +5 -3
- package/dist/_dts/blocks/src/system/data/previewResolvedDataState.d.ts +45 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +5 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +193 -29
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +10 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +43 -8
- package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCompactRow.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-cart-discount-ui.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout-form.d.ts +76 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout.state.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce-store.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.shared.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-discount-apply.state.d.ts +52 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.state.d.ts +2 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/useDiscountApply.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +54 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/contentTypeEditorContentState.d.ts +26 -0
- package/dist/_dts/content-editor/src/definitions/factory.d.ts +75 -0
- package/dist/_dts/content-editor/src/entryWorkflows.d.ts +2 -0
- package/dist/_dts/content-editor/src/footerBlocksEditorState.d.ts +76 -0
- package/dist/_dts/content-editor/src/index.d.ts +6 -1
- package/dist/_dts/content-editor/src/pageWorkflowContent.d.ts +29 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/schema.d.ts +17 -3
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/routeTemplate.d.ts +4 -0
- package/dist/_dts/content-model/src/templates/bindingTypeCompatibility.d.ts +3 -1
- package/dist/_dts/content-model/src/templates/bindingValidation.d.ts +10 -4
- package/dist/_dts/content-model/src/templates/editorState.d.ts +25 -0
- package/dist/_dts/content-model/src/templates/fieldPaths.d.ts +20 -0
- package/dist/_dts/content-model/src/templates/manifestAdapter.d.ts +5 -2
- package/dist/_dts/core/src/branded.d.ts +108 -85
- package/dist/_dts/core/src/csv-cells.d.ts +10 -0
- package/dist/_dts/core/src/csv-date-filter.d.ts +27 -0
- package/dist/_dts/core/src/csv-escape.d.ts +1 -0
- package/dist/_dts/core/src/csv-filename.d.ts +18 -0
- package/dist/_dts/core/src/csv-render.d.ts +4 -0
- package/dist/_dts/core/src/csv-types.d.ts +116 -0
- package/dist/_dts/core/src/currency-format.d.ts +4 -0
- package/dist/_dts/core/src/demo-capability-policy.d.ts +29 -0
- package/dist/_dts/core/src/demo-claim-access.d.ts +14 -0
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +11 -0
- package/dist/_dts/core/src/demo-runtime.d.ts +47 -0
- package/dist/_dts/core/src/duration.d.ts +14 -0
- package/dist/_dts/core/src/editor-state.d.ts +7 -7
- package/dist/_dts/core/src/email-format.d.ts +10 -0
- package/dist/_dts/core/src/field-errors.d.ts +1 -0
- package/dist/_dts/core/src/form-submission-preview.d.ts +24 -0
- package/dist/_dts/core/src/index.d.ts +20 -0
- package/dist/_dts/core/src/number-input.d.ts +22 -0
- package/dist/_dts/core/src/participants.d.ts +2 -2
- package/dist/_dts/core/src/public-url-validation.d.ts +12 -0
- package/dist/_dts/core/src/slug.d.ts +39 -0
- package/dist/_dts/core/src/string.d.ts +19 -0
- package/dist/_dts/core/src/uuid.d.ts +6 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +11 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +50 -50
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +34 -0
- package/dist/_dts/media-core/src/bulkDeletePlanning.d.ts +24 -0
- package/dist/_dts/media-core/src/canonicalCropReview.d.ts +66 -0
- package/dist/_dts/media-core/src/classifyAllPlanning.d.ts +48 -0
- package/dist/_dts/media-core/src/filename.d.ts +1 -0
- package/dist/_dts/media-core/src/index.d.ts +10 -0
- package/dist/_dts/media-core/src/mediaAssetUsageStatus.d.ts +47 -0
- package/dist/_dts/media-core/src/mediaSettingsState.d.ts +3 -0
- package/dist/_dts/media-core/src/portableMediaReferences.d.ts +38 -0
- package/dist/_dts/media-core/src/uploadVerificationContract.d.ts +28 -0
- package/dist/_dts/media-core/src/videoAssetRepair.d.ts +38 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +3 -1
- package/dist/_dts/media-editor/src/fieldUi.d.ts +5 -0
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/media-editor/src/mediaEditorDebug.d.ts +1 -0
- package/dist/_dts/path-utils/src/index.d.ts +8 -0
- package/dist/_dts/path-utils/src/redirectPaths.d.ts +26 -0
- package/dist/_dts/path-utils/src/safeAppPath.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/previewDocumentFrame.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +7 -0
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +13 -0
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/helpers.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +6 -6
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +5 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +5 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +10 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +1 -1
- package/dist/_dts/sdk/src/client/error.d.ts +3 -0
- package/dist/_dts/sdk/src/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -0
- package/dist/_dts/sdk/src/client/types.d.ts +39 -21
- package/dist/_dts/sdk/src/config/content-types.d.ts +7 -0
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +2 -0
- package/dist/_dts/sdk/src/index.d.ts +2 -2
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +16 -16
- package/dist/_dts/sdk/src/next/content-load-failure.d.ts +51 -0
- package/dist/_dts/sdk/src/next/index.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +19 -0
- package/dist/_dts/sdk/src/portal/redirects.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +3 -2
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +71 -6
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +15 -12
- package/dist/_dts/site-commands/src/index.d.ts +1 -0
- package/dist/_dts/site-commands/src/pagePaths.d.ts +6 -0
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +26 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -0
- package/dist/_dts/theme-core/src/blocks/vars/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/fonts/uploadFormat.d.ts +44 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +3 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -24
- package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +6 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/runtime/themeCssVarNames.d.ts +7 -0
- package/dist/_dts/theme-core/src/schema.d.ts +64 -18
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +214 -34
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -2
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +214 -34
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +31 -3
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +33 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +9 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +27 -2
- package/dist/_dts/theme-core/src/siteChrome.d.ts +17 -34
- package/dist/_dts/theme-core/src/siteChromeOverlayClearance.d.ts +22 -0
- package/dist/_dts/theme-core/src/siteChromePlacement.d.ts +22 -0
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +32 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/{altcha-B5XGSXP5.mjs → altcha-EKUEQ4RP.mjs} +1 -1
- package/dist/{chunk-IENWFSLO.mjs → chunk-4QEGTLK6.mjs} +1 -1
- package/dist/{chunk-ZYEJLCTN.mjs → chunk-6HYXHRAI.mjs} +5 -5
- package/dist/{chunk-VX7B5VAC.mjs → chunk-CR5HKAGU.mjs} +32 -5
- package/dist/{chunk-KWJPDZH2.mjs → chunk-MCRQMPET.mjs} +3793 -1201
- package/dist/{chunk-6SMUFTXD.mjs → chunk-OKMBEAXY.mjs} +1 -1
- package/dist/{chunk-XGB3TDIC.mjs → chunk-R7POPVJR.mjs} +2 -8
- package/dist/{chunk-2SPENC5M.mjs → chunk-RGTOD4AJ.mjs} +242 -57
- package/dist/cli/index.mjs +2361 -668
- package/dist/cli/init-docs/content/cli-reference.md +3 -2
- package/dist/cli/init-docs/content/content-management.md +2 -2
- package/dist/cli/init-docs/content/workflow-preview-mode.md +68 -2
- package/dist/client/{accordion-RZMQSYLR.mjs → accordion-PLYNJIIM.mjs} +2 -2
- package/dist/client/analytics.mjs +1 -1
- package/dist/client/{bookingForm-NF4ASVNV.mjs → bookingForm-BXAP6AO7.mjs} +76 -72
- package/dist/client/bookings.mjs +3765 -310
- package/dist/client/{carousel-LDX47ZIK.mjs → carousel-TRBXDHGF.mjs} +3 -4
- package/dist/client/{cart-RGXDS5F4.mjs → cart-Z7H3HJRS.mjs} +8 -8
- package/dist/client/{checkout-P7WWSNNY.mjs → checkout-WAFCUBIX.mjs} +8 -8
- package/dist/client/{chunk-II7O4XN3.mjs → chunk-75OUS5MT.mjs} +2 -2
- package/dist/client/{chunk-PMAIXMAB.mjs → chunk-AUJ5DBZJ.mjs} +42 -37
- package/dist/client/{chunk-TQ5MSPDX.mjs → chunk-CE7IBGVW.mjs} +3 -1
- package/dist/client/{chunk-E2TDNXCL.mjs → chunk-CWGTG37I.mjs} +2 -1
- package/dist/client/{chunk-UFSWADAO.mjs → chunk-DNRGY432.mjs} +6 -67
- package/dist/client/{chunk-GMVTOKYG.mjs → chunk-FUXW6VW2.mjs} +512 -66
- package/dist/client/{chunk-R56FQ3RR.mjs → chunk-JGXPTEI2.mjs} +322 -106
- package/dist/client/{chunk-L3DNHIJX.mjs → chunk-JRDUHZCT.mjs} +53 -53
- package/dist/client/{chunk-M3L3KYYR.mjs → chunk-UDNSI5PY.mjs} +12 -0
- package/dist/client/{chunk-JEZECJ3W.mjs → chunk-UVQEJJTN.mjs} +129 -3
- package/dist/client/{chunk-F7LHOKEH.mjs → chunk-XSV6KW4D.mjs} +1 -1
- package/dist/client/chunk-ZFHRN6W2.mjs +66 -0
- package/dist/client/{chunk-JNC7CGHX.mjs → chunk-ZI3LLBPZ.mjs} +3 -3
- package/dist/client/client.mjs +7577 -4979
- package/dist/client/{courseRegistration-7F65K5ZR.mjs → courseRegistration-AHFQHWIJ.mjs} +19 -16
- package/dist/client/{eventCalendar-GLSC5KTL.mjs → eventCalendar-LDXTV5R7.mjs} +10 -10
- package/dist/client/{eventCombined-ZHK4WKUR.mjs → eventCombined-A4JGTNJO.mjs} +10 -10
- package/dist/client/{eventDetails-E3PJYBIN.mjs → eventDetails-4YXTZ7EG.mjs} +10 -10
- package/dist/client/{eventListing-EMS3WC3E.mjs → eventListing-P72TPFFM.mjs} +10 -10
- package/dist/client/{eventRegistration-NZOTVNPI.mjs → eventRegistration-LSYJHGMT.mjs} +10 -10
- package/dist/client/{form-ETFZFATW.mjs → form-AOPYOKOW.mjs} +10 -7
- package/dist/client/{headerSection-4LBP7ULT.mjs → headerSection-5TFYDFVQ.mjs} +3 -3
- package/dist/client/hooks.mjs +1119 -327
- package/dist/client/{locationMap-5M655YSJ.mjs → locationMap-QSZ3ZVAZ.mjs} +3 -3
- package/dist/client/{newsletterForm-QOUYW44O.mjs → newsletterForm-KTRHZY52.mjs} +3 -3
- package/dist/client/{productDetail-O4DOCWQG.mjs → productDetail-N4E775RG.mjs} +8 -8
- package/dist/client/{productList-A5RO5WIS.mjs → productList-UGUQ2S45.mjs} +8 -8
- package/dist/client/rendering/client.mjs +7262 -2775
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +6964 -4587
- package/dist/client/{shop-L4MZH4I2.mjs → shop-VHSZEEQ2.mjs} +8 -8
- package/dist/preview-next/before-render.mjs +18 -1
- package/dist/preview-next/client/runtime.mjs +6 -6
- package/dist/preview-next/editor-chrome.css +10 -0
- package/dist/preview-next/middleware.mjs +18 -1
- package/dist/preview-next/tailwind-sources.css +1 -0
- package/dist/sdk-runtime-WHPJEF5G.mjs +8 -0
- package/dist/server/components.mjs +2736 -1316
- package/dist/server/config-template-validation.mjs +221 -15
- package/dist/server/config-validation.mjs +1346 -550
- package/dist/server/config.mjs +1346 -550
- package/dist/server/data.mjs +1118 -326
- package/dist/server/index.mjs +514 -251
- package/dist/server/next.mjs +4446 -2444
- package/dist/server/page-converter.mjs +631 -155
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2743 -1323
- package/dist/server/rendering.mjs +2764 -1328
- package/dist/server/routing.mjs +1860 -590
- package/dist/server/server.mjs +1622 -575
- package/dist/server/theme-bridge.mjs +3151 -131
- package/dist/server/theme.mjs +10 -1
- package/dist/styles/index.css +488 -48
- package/package.json +2 -1
- package/dist/SdkPreviewModeRuntime-KLPX47SE.mjs +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/DiscountCodeSection.d.ts +0 -7
- package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +0 -4
- package/dist/client/chunk-OJPZEZU2.mjs +0 -31
- package/dist/client/chunk-RTZ3JKKX.mjs +0 -178
- package/dist/sdk-runtime-6UT2S7KZ.mjs +0 -8
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-JEZECJ3W.mjs';
|
|
2
|
+
import { useWaitlistClaim, MagicLinkForm } from './chunk-ZI3LLBPZ.mjs';
|
|
3
|
+
import { SpinnerNode } from './chunk-CE7IBGVW.mjs';
|
|
4
|
+
import { DiscountCodeDisclosure, getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-UVQEJJTN.mjs';
|
|
6
5
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
7
6
|
import { ModalShell } from './chunk-3PEDD5KJ.mjs';
|
|
8
7
|
import { AltchaWidget, getChallengeUrl, isSpamProtectionEnabled } from './chunk-YLMKMCSJ.mjs';
|
|
9
|
-
import { BlockApiProvider, useBlockApi } from './chunk-
|
|
8
|
+
import { BlockApiProvider, useBlockApi } from './chunk-UDNSI5PY.mjs';
|
|
10
9
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder, themeButtonClassName, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount } from './chunk-
|
|
12
|
-
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-
|
|
10
|
+
import { defineIslandPropsDecoder, themeButtonClassName, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount } from './chunk-JGXPTEI2.mjs';
|
|
11
|
+
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-AUJ5DBZJ.mjs';
|
|
13
12
|
import React2, { Component, useMemo, useState, useEffect } from 'react';
|
|
14
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
14
|
|
|
@@ -755,7 +754,7 @@ function useCourseRegistrationWizard(props) {
|
|
|
755
754
|
setPortalAuthState("unauthenticated");
|
|
756
755
|
}
|
|
757
756
|
}
|
|
758
|
-
checkPortalAuth();
|
|
757
|
+
void checkPortalAuth();
|
|
759
758
|
return () => {
|
|
760
759
|
cancelled = true;
|
|
761
760
|
};
|
|
@@ -840,7 +839,7 @@ function useCourseRegistrationWizard(props) {
|
|
|
840
839
|
if (!cancelled) setEligibilityLoading(false);
|
|
841
840
|
}
|
|
842
841
|
}
|
|
843
|
-
fetchEligibility();
|
|
842
|
+
void fetchEligibility();
|
|
844
843
|
return () => {
|
|
845
844
|
cancelled = true;
|
|
846
845
|
};
|
|
@@ -899,7 +898,7 @@ function useCourseRegistrationWizard(props) {
|
|
|
899
898
|
await new Promise((r) => setTimeout(r, 1500));
|
|
900
899
|
}
|
|
901
900
|
}
|
|
902
|
-
verifyAfterCheckout();
|
|
901
|
+
void verifyAfterCheckout();
|
|
903
902
|
return () => {
|
|
904
903
|
cancelled = true;
|
|
905
904
|
};
|
|
@@ -1168,7 +1167,7 @@ function useCourseRegistrationWizard(props) {
|
|
|
1168
1167
|
if (!cancelled) setDiscountsAvailableLoading(false);
|
|
1169
1168
|
}
|
|
1170
1169
|
}
|
|
1171
|
-
checkDiscountAvailability();
|
|
1170
|
+
void checkDiscountAvailability();
|
|
1172
1171
|
return () => {
|
|
1173
1172
|
cancelled = true;
|
|
1174
1173
|
};
|
|
@@ -1410,7 +1409,7 @@ function CourseRegistrationWizard(props) {
|
|
|
1410
1409
|
className: "cr-form",
|
|
1411
1410
|
onSubmit: (e) => {
|
|
1412
1411
|
e.preventDefault();
|
|
1413
|
-
handleSubmit();
|
|
1412
|
+
void handleSubmit();
|
|
1414
1413
|
},
|
|
1415
1414
|
children: [
|
|
1416
1415
|
/* @__PURE__ */ jsx(
|
|
@@ -1440,8 +1439,9 @@ function CourseRegistrationWizard(props) {
|
|
|
1440
1439
|
}
|
|
1441
1440
|
) }),
|
|
1442
1441
|
canShowDiscountUi && /* @__PURE__ */ jsx(
|
|
1443
|
-
|
|
1442
|
+
DiscountCodeDisclosure,
|
|
1444
1443
|
{
|
|
1444
|
+
surface: "course-registration",
|
|
1445
1445
|
isOpen: discountUiOpen,
|
|
1446
1446
|
code: discountCode,
|
|
1447
1447
|
onOpen: () => setDiscountUiOpen(true),
|
|
@@ -1449,7 +1449,8 @@ function CourseRegistrationWizard(props) {
|
|
|
1449
1449
|
onRemove: () => {
|
|
1450
1450
|
setDiscountCode("");
|
|
1451
1451
|
setDiscountUiOpen(false);
|
|
1452
|
-
}
|
|
1452
|
+
},
|
|
1453
|
+
id: "cr-discount-code"
|
|
1453
1454
|
}
|
|
1454
1455
|
),
|
|
1455
1456
|
/* @__PURE__ */ jsxs("div", { className: "cr-actions", children: [
|
|
@@ -1600,8 +1601,9 @@ function CourseRegistrationWizard(props) {
|
|
|
1600
1601
|
] })
|
|
1601
1602
|
] }),
|
|
1602
1603
|
canShowDiscountUi && /* @__PURE__ */ jsx(
|
|
1603
|
-
|
|
1604
|
+
DiscountCodeDisclosure,
|
|
1604
1605
|
{
|
|
1606
|
+
surface: "course-registration",
|
|
1605
1607
|
isOpen: discountUiOpen,
|
|
1606
1608
|
code: discountCode,
|
|
1607
1609
|
onOpen: () => setDiscountUiOpen(true),
|
|
@@ -1609,7 +1611,8 @@ function CourseRegistrationWizard(props) {
|
|
|
1609
1611
|
onRemove: () => {
|
|
1610
1612
|
setDiscountCode("");
|
|
1611
1613
|
setDiscountUiOpen(false);
|
|
1612
|
-
}
|
|
1614
|
+
},
|
|
1615
|
+
id: "cr-discount-code"
|
|
1613
1616
|
}
|
|
1614
1617
|
),
|
|
1615
1618
|
/* @__PURE__ */ jsxs("div", { className: "cr-actions", children: [
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCalendarClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCalendarClient } from './chunk-JRDUHZCT.mjs';
|
|
2
|
+
import './chunk-XSV6KW4D.mjs';
|
|
3
|
+
import './chunk-ZI3LLBPZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-DNRGY432.mjs';
|
|
6
|
+
import './chunk-CE7IBGVW.mjs';
|
|
7
|
+
import './chunk-ZFHRN6W2.mjs';
|
|
8
|
+
import './chunk-UVQEJJTN.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-3PEDD5KJ.mjs';
|
|
11
11
|
import './chunk-YLMKMCSJ.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-UDNSI5PY.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-JGXPTEI2.mjs';
|
|
15
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-calendar");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCombinedIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCombinedIslandClient } from './chunk-JRDUHZCT.mjs';
|
|
2
|
+
import './chunk-XSV6KW4D.mjs';
|
|
3
|
+
import './chunk-ZI3LLBPZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-DNRGY432.mjs';
|
|
6
|
+
import './chunk-CE7IBGVW.mjs';
|
|
7
|
+
import './chunk-ZFHRN6W2.mjs';
|
|
8
|
+
import './chunk-UVQEJJTN.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-3PEDD5KJ.mjs';
|
|
11
11
|
import './chunk-YLMKMCSJ.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-UDNSI5PY.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-JGXPTEI2.mjs';
|
|
15
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-combined");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventDetailsIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventDetailsIslandClient } from './chunk-JRDUHZCT.mjs';
|
|
2
|
+
import './chunk-XSV6KW4D.mjs';
|
|
3
|
+
import './chunk-ZI3LLBPZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-DNRGY432.mjs';
|
|
6
|
+
import './chunk-CE7IBGVW.mjs';
|
|
7
|
+
import './chunk-ZFHRN6W2.mjs';
|
|
8
|
+
import './chunk-UVQEJJTN.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-3PEDD5KJ.mjs';
|
|
11
11
|
import './chunk-YLMKMCSJ.mjs';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-UDNSI5PY.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-JGXPTEI2.mjs';
|
|
15
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-details");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventListingClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventListingClient } from './chunk-JRDUHZCT.mjs';
|
|
2
|
+
import './chunk-XSV6KW4D.mjs';
|
|
3
|
+
import './chunk-ZI3LLBPZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-DNRGY432.mjs';
|
|
6
|
+
import './chunk-CE7IBGVW.mjs';
|
|
7
|
+
import './chunk-ZFHRN6W2.mjs';
|
|
8
|
+
import './chunk-UVQEJJTN.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-3PEDD5KJ.mjs';
|
|
11
11
|
import './chunk-YLMKMCSJ.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-UDNSI5PY.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-JGXPTEI2.mjs';
|
|
15
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-listing");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventRegistrationIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventRegistrationIslandClient } from './chunk-JRDUHZCT.mjs';
|
|
2
|
+
import './chunk-XSV6KW4D.mjs';
|
|
3
|
+
import './chunk-ZI3LLBPZ.mjs';
|
|
4
4
|
import './chunk-I2MMZO53.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-DNRGY432.mjs';
|
|
6
|
+
import './chunk-CE7IBGVW.mjs';
|
|
7
|
+
import './chunk-ZFHRN6W2.mjs';
|
|
8
|
+
import './chunk-UVQEJJTN.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-3PEDD5KJ.mjs';
|
|
11
11
|
import './chunk-YLMKMCSJ.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-UDNSI5PY.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-JGXPTEI2.mjs';
|
|
15
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-registration");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { isSpamProtectionEnabled, AltchaWidget, getChallengeUrl } from './chunk-YLMKMCSJ.mjs';
|
|
3
|
-
import { BlockApiProvider, FeedbackMessage, useBlockApi } from './chunk-
|
|
3
|
+
import { BlockApiProvider, FeedbackMessage, useBlockApi } from './chunk-UDNSI5PY.mjs';
|
|
4
4
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
5
|
-
import { defineIslandPropsDecoder, themeButtonClassName,
|
|
6
|
-
import { clsx_default } from './chunk-
|
|
5
|
+
import { defineIslandPropsDecoder, themeButtonClassName, assertNever11, err2, ok } from './chunk-JGXPTEI2.mjs';
|
|
6
|
+
import { clsx_default } from './chunk-AUJ5DBZJ.mjs';
|
|
7
7
|
import { useState, useReducer, useRef } from 'react';
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -18,7 +18,7 @@ function formSubmissionReducer(_state, action) {
|
|
|
18
18
|
case "submission-failed":
|
|
19
19
|
return { tag: "failed", message: action.message };
|
|
20
20
|
default:
|
|
21
|
-
return
|
|
21
|
+
return assertNever11(action);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -33,7 +33,7 @@ function useFormSubmission() {
|
|
|
33
33
|
stateRef.current = state;
|
|
34
34
|
const submit = async (data) => {
|
|
35
35
|
if (stateRef.current.tag === "submitting") {
|
|
36
|
-
return
|
|
36
|
+
return err2("Already submitting");
|
|
37
37
|
}
|
|
38
38
|
stateRef.current = { tag: "submitting" };
|
|
39
39
|
dispatch({ type: "submission-started" });
|
|
@@ -46,7 +46,7 @@ function useFormSubmission() {
|
|
|
46
46
|
const message = error instanceof Error ? error.message : "Failed to submit form";
|
|
47
47
|
stateRef.current = { tag: "failed", message };
|
|
48
48
|
dispatch({ type: "submission-failed", message });
|
|
49
|
-
return
|
|
49
|
+
return err2(message);
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
return { submit, state };
|
|
@@ -165,7 +165,7 @@ var FormNodeClient = ({
|
|
|
165
165
|
if (key === "company" || key === "altcha-solution") continue;
|
|
166
166
|
if (key in data) {
|
|
167
167
|
const existing = data[key];
|
|
168
|
-
data[key] =
|
|
168
|
+
data[key] = isUnknownArray(existing) ? [...existing, fieldValue] : [existing, fieldValue];
|
|
169
169
|
} else {
|
|
170
170
|
data[key] = fieldValue;
|
|
171
171
|
}
|
|
@@ -219,6 +219,9 @@ var FormNodeClient = ({
|
|
|
219
219
|
) }) })
|
|
220
220
|
] });
|
|
221
221
|
};
|
|
222
|
+
function isUnknownArray(value) {
|
|
223
|
+
return Array.isArray(value);
|
|
224
|
+
}
|
|
222
225
|
var decode = defineIslandPropsDecoder("form");
|
|
223
226
|
function snapshotFormValues(form) {
|
|
224
227
|
if (!form) return [];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useCommerceCart } from './chunk-
|
|
2
|
+
import { useCommerceCart } from './chunk-CWGTG37I.mjs';
|
|
3
3
|
import { resolveDedicatedCheckoutPath, ModalShell } from './chunk-3PEDD5KJ.mjs';
|
|
4
|
-
import { defineIslandPropsDecoder, buildCartDisplay, themeButtonClassName } from './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { defineIslandPropsDecoder, buildCartDisplay, themeButtonClassName } from './chunk-JGXPTEI2.mjs';
|
|
5
|
+
import './chunk-AUJ5DBZJ.mjs';
|
|
6
6
|
import * as React2 from 'react';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { createRoot } from 'react-dom/client';
|