@riverbankcms/sdk 0.88.0 → 0.90.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 +27 -4
- package/dist/{PreviewEditorSidebar-EVRS3C7T.mjs → PreviewEditorSidebar-KVXNF3VW.mjs} +3 -3
- package/dist/{PreviewEditorUI-54WD4IGE.mjs → PreviewEditorUI-J3JN5Z7T.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-UBL6MSNP.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +216 -0
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/accessAdmin.d.ts +7 -0
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -2
- package/dist/_dts/api/src/bookings.d.ts +3 -1
- package/dist/_dts/api/src/endpoints.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +7 -6
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +15 -5
- package/dist/_dts/api/src/request.d.ts +21 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/siteMembers.d.ts +6 -1
- package/dist/_dts/api/src/types.d.ts +4 -2
- package/dist/_dts/api/src/url.d.ts +6 -3
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts +5 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts +9 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +7 -11
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -6
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +8 -0
- package/dist/_dts/blocks/src/system/constants/events.d.ts +4 -1
- package/dist/_dts/blocks/src/system/icons/cta.d.ts +3 -3
- package/dist/_dts/blocks/src/system/icons/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -2
- package/dist/_dts/blocks/src/system/icons/semantic.d.ts +3 -3
- package/dist/_dts/blocks/src/system/icons/svg.d.ts +72 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +18 -5
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/loadStateError.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.state.d.ts +55 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.state.d.ts +39 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.d.ts +4 -27
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.state.d.ts +40 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.state.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.state.d.ts +39 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/calendarViewOptions.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventProductEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +24 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout-form.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts +35 -0
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/sdkBlocks.d.ts +21 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +61 -0
- package/dist/_dts/core/src/branded.d.ts +7 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/money-input.d.ts +18 -0
- package/dist/_dts/core/src/site-route-target.d.ts +40 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +209 -2
- package/dist/_dts/media-core/src/fileDomain.d.ts +4 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
- package/dist/_dts/media-editor/src/fieldUi.d.ts +6 -0
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +10 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +12 -5
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -55
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +160 -0
- package/dist/_dts/sdk/src/client/types.d.ts +26 -1
- package/dist/_dts/sdk/src/components.d.ts +1 -0
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -1
- package/dist/_dts/sdk/src/index.d.ts +3 -1
- package/dist/_dts/sdk/src/next/types.d.ts +8 -11
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-theme-scope.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +8 -7
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -6
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/server.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +26 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +18 -0
- package/dist/_dts/theme-core/src/ResponsiveScope.d.ts +12 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/cards/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +21 -21
- package/dist/_dts/theme-core/src/schema.d.ts +18 -18
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/themeRuntime.d.ts +11 -0
- package/dist/{chunk-ER4UIW4X.mjs → chunk-AEOYWPE4.mjs} +91 -55
- package/dist/{chunk-O4LVYUVH.mjs → chunk-BOQXMCSP.mjs} +147 -101
- package/dist/{chunk-HVOBXA3Y.mjs → chunk-GSPFFUVB.mjs} +2 -2
- package/dist/{chunk-7KOO7RPP.mjs → chunk-PMBB6MQ7.mjs} +2273 -1113
- package/dist/{chunk-K3JWH6HE.mjs → chunk-RQ3XZ4SJ.mjs} +9 -1
- package/dist/{chunk-YDMBIIS5.mjs → chunk-UG7I7S7W.mjs} +1 -1
- package/dist/cli/index.mjs +1564 -546
- package/dist/cli/init-docs/content/cli-reference.md +6 -1
- package/dist/cli/init-docs/content/content-management.md +27 -0
- package/dist/client/{accordion-PT5CGW5N.mjs → accordion-GXQNWQ6O.mjs} +2 -2
- package/dist/client/{bookingForm-2HLRTEYS.mjs → bookingForm-STLUJ36H.mjs} +206 -335
- package/dist/client/bookings.mjs +821 -413
- package/dist/client/{carousel-Z2LKYSWA.mjs → carousel-CVRN6EPP.mjs} +4 -3
- package/dist/client/{cart-ND5IK4A6.mjs → cart-IYIBA5CL.mjs} +8 -8
- package/dist/client/{checkout-EYUSGAY7.mjs → checkout-O3BGM4GS.mjs} +8 -8
- package/dist/client/chunk-4RTFGHZN.mjs +433 -0
- package/dist/client/{chunk-DIRW2LNG.mjs → chunk-6DPXDOIL.mjs} +336 -225
- package/dist/client/chunk-6N7YRNYU.mjs +183 -0
- package/dist/client/{chunk-O5JNI3E4.mjs → chunk-7DH35FGA.mjs} +2 -2
- package/dist/client/{chunk-S4G65LGR.mjs → chunk-D3ETC2SU.mjs} +1 -1
- package/dist/client/{chunk-BAWHZ5GM.mjs → chunk-DAS5CIER.mjs} +460 -157
- package/dist/client/{chunk-6DVPO44G.mjs → chunk-FHU6PFPM.mjs} +1 -1
- package/dist/client/{chunk-SDIYSQAY.mjs → chunk-HIHOQGIP.mjs} +2 -3
- package/dist/client/{chunk-BL66UWGD.mjs → chunk-MFPKS6QS.mjs} +13 -16
- package/dist/client/{chunk-X7GVFB7Y.mjs → chunk-NBFRJ5NB.mjs} +157 -5
- package/dist/client/{chunk-WCVK4MBJ.mjs → chunk-VFHZLZAC.mjs} +1 -1
- package/dist/client/{chunk-GOFO7HRH.mjs → chunk-WHZQDPBZ.mjs} +19 -1
- package/dist/client/{chunk-MHBEWDT7.mjs → chunk-Z62JYS5O.mjs} +122 -50
- package/dist/client/client.mjs +5979 -5198
- package/dist/client/{courseRegistration-H3AZBUEG.mjs → courseRegistration-2D3ACMJR.mjs} +20 -58
- package/dist/client/{eventCalendar-FPKJGLGS.mjs → eventCalendar-QY4UZUFF.mjs} +11 -11
- package/dist/client/{eventCombined-QCGIZBUY.mjs → eventCombined-RRCDKJC2.mjs} +11 -11
- package/dist/client/{eventDetails-HIT3BJWU.mjs → eventDetails-YO335BUT.mjs} +11 -11
- package/dist/client/{eventListing-R4HNWJDN.mjs → eventListing-PXA6GFQ3.mjs} +11 -11
- package/dist/client/{eventRegistration-Q7BYY5HF.mjs → eventRegistration-2ZHEDDXO.mjs} +11 -11
- package/dist/client/{form-NI6YOG6S.mjs → form-ZS6KX4U2.mjs} +7 -7
- package/dist/client/{headerSection-SDYGII36.mjs → headerSection-QK5SLIIB.mjs} +3 -3
- package/dist/client/hooks.mjs +1102 -1029
- package/dist/client/{locationMap-BDETEUQD.mjs → locationMap-GFNIUD2X.mjs} +3 -3
- package/dist/client/{newsletterForm-EKYIU67X.mjs → newsletterForm-PGLTTCUG.mjs} +61 -25
- package/dist/client/{productDetail-5UTGNN76.mjs → productDetail-OPBE5ZPI.mjs} +8 -8
- package/dist/client/{productList-7YA5KXZQ.mjs → productList-NI72Q62Z.mjs} +8 -8
- package/dist/client/rendering/client.mjs +4390 -4245
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3327 -3181
- package/dist/client/{shop-AIMUMZYC.mjs → shop-3ZQPEWYI.mjs} +8 -8
- package/dist/client/spam-protection.mjs +4 -5
- package/dist/preview-next/before-render.mjs +20 -2
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +18 -0
- package/dist/{sdk-runtime-NW472WNT.mjs → sdk-runtime-FSHXCWDS.mjs} +6 -6
- package/dist/server/components.mjs +2580 -2783
- package/dist/server/config-validation.mjs +1334 -1261
- package/dist/server/config.mjs +1334 -1261
- package/dist/server/data.mjs +1102 -1029
- package/dist/server/index.mjs +1097 -476
- package/dist/server/navigation.mjs +20 -30
- package/dist/server/next.mjs +3282 -2847
- package/dist/server/page-converter.mjs +1009 -946
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2580 -2783
- package/dist/server/rendering.mjs +2586 -2789
- package/dist/server/routing.mjs +1440 -1053
- package/dist/server/server.mjs +1886 -1153
- package/dist/server/theme-bridge.mjs +34 -5
- package/dist/styles/index.css +26 -0
- package/package.json +3 -2
- package/dist/SdkPreviewModeRuntime-ZALZDJEK.mjs +0 -8
- package/dist/client/chunk-H4MHEXYS.mjs +0 -184
- package/dist/client/chunk-ZFHRN6W2.mjs +0 -66
- /package/dist/client/{chunk-LI2C6M5O.mjs → chunk-25W2EQUN.mjs} +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { parseAspectRatioValue, parseColorTokenParts, toBookingTimeZone, formatBookingDate, toScheduledBookingDateTime, formatBookingTime, toScheduledBookingDateRange, formatBookingDateParts, formatEventPricing, ImagePresets, getBookingLocalDateKey, publicEventPricingType, formatCurrencyAmount, getCurrentResolveImageUrlContext, renderVideo, renderAudio, resolveMediaNodeResponsiveImage, MediaPlaceholder, computeMediaTransformStyle, rgbColorValue } from './chunk-LI2C6M5O.mjs';
|
|
1
|
+
import { parseAspectRatioValue, parseColorTokenParts, toBookingTimeZone, formatBookingDate, toScheduledBookingDateTime, formatBookingTime, toScheduledBookingDateRange, formatBookingDateParts, formatEventPricing, ImagePresets, getBookingLocalDateKey, publicEventPricingType, formatCurrencyAmount, getCurrentResolveImageUrlContext, renderVideo, renderAudio, resolveMediaNodeResponsiveImage, MediaPlaceholder, computeMediaTransformStyle, rgbColorValue } from './chunk-25W2EQUN.mjs';
|
|
3
2
|
import z2, { z } from 'zod';
|
|
4
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
-
import { createContext, forwardRef, useContext, createElement } from 'react';
|
|
3
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
4
|
|
|
7
5
|
// ../blocks/src/contracts/runtime.ts
|
|
8
6
|
function decodeSuccess(value) {
|
|
@@ -61,6 +59,9 @@ var publicPassProductSchema = z.object({
|
|
|
61
59
|
eligibleCategoryIds: z.array(z.string()),
|
|
62
60
|
eligibleCategoryNames: z.array(z.string())
|
|
63
61
|
});
|
|
62
|
+
var publicPassProductCollectionSchema = z.object({
|
|
63
|
+
passes: z.array(publicPassProductSchema)
|
|
64
|
+
});
|
|
64
65
|
var publicMembershipProductSchema = z.object({
|
|
65
66
|
id: z.string(),
|
|
66
67
|
name: z.string(),
|
|
@@ -71,6 +72,9 @@ var publicMembershipProductSchema = z.object({
|
|
|
71
72
|
eligibleCategoryIds: z.array(z.string()),
|
|
72
73
|
eligibleCategoryNames: z.array(z.string())
|
|
73
74
|
});
|
|
75
|
+
var publicMembershipProductCollectionSchema = z.object({
|
|
76
|
+
memberships: z.array(publicMembershipProductSchema)
|
|
77
|
+
});
|
|
74
78
|
var hotspotSchema = z2.object({
|
|
75
79
|
x: z2.number().min(0).max(1),
|
|
76
80
|
y: z2.number().min(0).max(1),
|
|
@@ -2415,12 +2419,17 @@ var visibleWhenPredicateSchema = z.object({
|
|
|
2415
2419
|
minItems: z.number().int().nonnegative().optional(),
|
|
2416
2420
|
maxItems: z.number().int().nonnegative().optional()
|
|
2417
2421
|
});
|
|
2418
|
-
var visibleWhenSchema = z.
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2422
|
+
var visibleWhenSchema = z.lazy(
|
|
2423
|
+
() => z.union([
|
|
2424
|
+
visibleWhenPredicateSchema,
|
|
2425
|
+
z.object({
|
|
2426
|
+
allOf: z.array(visibleWhenSchema).min(1)
|
|
2427
|
+
}),
|
|
2428
|
+
z.object({
|
|
2429
|
+
anyOf: z.array(visibleWhenSchema).min(1)
|
|
2430
|
+
})
|
|
2431
|
+
])
|
|
2432
|
+
);
|
|
2424
2433
|
var uiSchema = z.object({
|
|
2425
2434
|
widget: z.string().optional(),
|
|
2426
2435
|
// Container/widget presets (used by Group/Repeater widgets themselves, not for widget selection)
|
|
@@ -4048,8 +4057,8 @@ var eventAutoApplyDiscountPreviewSchema = z.discriminatedUnion("discountType", [
|
|
|
4048
4057
|
dataSchemas: {
|
|
4049
4058
|
eventDetailsData: z.object({
|
|
4050
4059
|
events: publicEventsArraySchema,
|
|
4051
|
-
sitePasses:
|
|
4052
|
-
siteMemberships:
|
|
4060
|
+
sitePasses: publicPassProductCollectionSchema,
|
|
4061
|
+
siteMemberships: publicMembershipProductCollectionSchema,
|
|
4053
4062
|
autoApplyDiscount: eventAutoApplyDiscountPreviewSchema.nullable().optional().default(null)
|
|
4054
4063
|
}).optional(),
|
|
4055
4064
|
occurrenceContext: occurrenceContextSchema.optional()
|
|
@@ -4103,8 +4112,8 @@ var eventDetailsIslandSchema = z.object({
|
|
|
4103
4112
|
showCost: z.boolean().optional(),
|
|
4104
4113
|
showAcceptedPasses: z.boolean().optional(),
|
|
4105
4114
|
showAcceptedMemberships: z.boolean().optional(),
|
|
4106
|
-
sitePasses:
|
|
4107
|
-
siteMemberships:
|
|
4115
|
+
sitePasses: publicPassProductCollectionSchema.nullable().optional(),
|
|
4116
|
+
siteMemberships: publicMembershipProductCollectionSchema.nullable().optional(),
|
|
4108
4117
|
autoApplyDiscount: eventAutoApplyDiscountPreviewSchema.nullable().optional(),
|
|
4109
4118
|
className: z.string().nullable().optional(),
|
|
4110
4119
|
nowIso: z.string().optional()
|
|
@@ -4237,21 +4246,33 @@ function idleSubmissionFeedback() {
|
|
|
4237
4246
|
return { tag: "idle" };
|
|
4238
4247
|
}
|
|
4239
4248
|
function errorSubmissionFeedback(message) {
|
|
4240
|
-
return {
|
|
4249
|
+
return {
|
|
4250
|
+
tag: "error",
|
|
4251
|
+
message
|
|
4252
|
+
};
|
|
4241
4253
|
}
|
|
4242
4254
|
function successSubmissionFeedback(message) {
|
|
4243
|
-
return {
|
|
4255
|
+
return {
|
|
4256
|
+
tag: "success",
|
|
4257
|
+
message
|
|
4258
|
+
};
|
|
4244
4259
|
}
|
|
4245
4260
|
function ok() {
|
|
4246
4261
|
return { ok: true };
|
|
4247
4262
|
}
|
|
4248
|
-
function
|
|
4249
|
-
return {
|
|
4263
|
+
function okWith(data) {
|
|
4264
|
+
return {
|
|
4265
|
+
ok: true,
|
|
4266
|
+
data
|
|
4267
|
+
};
|
|
4250
4268
|
}
|
|
4251
|
-
function
|
|
4252
|
-
return {
|
|
4269
|
+
function err(error) {
|
|
4270
|
+
return {
|
|
4271
|
+
ok: false,
|
|
4272
|
+
error
|
|
4273
|
+
};
|
|
4253
4274
|
}
|
|
4254
|
-
function
|
|
4275
|
+
function assertNever(value, message) {
|
|
4255
4276
|
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
4256
4277
|
}
|
|
4257
4278
|
|
|
@@ -4406,7 +4427,7 @@ function deriveBookingFormViewState(input) {
|
|
|
4406
4427
|
resourceName: input.verificationState.resourceName
|
|
4407
4428
|
};
|
|
4408
4429
|
default:
|
|
4409
|
-
return
|
|
4430
|
+
return assertNever(input.verificationState);
|
|
4410
4431
|
}
|
|
4411
4432
|
}
|
|
4412
4433
|
function resolveBookingSiteId(siteId, form) {
|
|
@@ -4576,7 +4597,7 @@ function getBookingServicePaymentSelectionMode(service) {
|
|
|
4576
4597
|
case "flexible_balance":
|
|
4577
4598
|
return "implicit_flexible_balance";
|
|
4578
4599
|
default:
|
|
4579
|
-
return
|
|
4600
|
+
return assertNever(onlyKind);
|
|
4580
4601
|
}
|
|
4581
4602
|
}
|
|
4582
4603
|
if (allowedKinds.length === 2 && allowedKinds.includes("upfront") && (allowedKinds.includes("deferred_manual") || allowedKinds.includes("instalment_plan") || allowedKinds.includes("flexible_balance"))) {
|
|
@@ -4778,7 +4799,7 @@ function formatBookingSubmissionPreparationError(error) {
|
|
|
4778
4799
|
case "service-missing-duration":
|
|
4779
4800
|
return `Service "${error.serviceTitle}" is missing duration. Please update the service in the dashboard to include a duration (e.g., 30 minutes).`;
|
|
4780
4801
|
default:
|
|
4781
|
-
return
|
|
4802
|
+
return assertNever(error);
|
|
4782
4803
|
}
|
|
4783
4804
|
}
|
|
4784
4805
|
function getBookingSuccessMessage(successMessage) {
|
|
@@ -5014,7 +5035,8 @@ var occurrenceContextSchema2 = z.object({
|
|
|
5014
5035
|
|
|
5015
5036
|
// ../blocks/src/system/constants/events.ts
|
|
5016
5037
|
var EVENT_CONTENT_TYPE_SLUGS = ["event", "events"];
|
|
5017
|
-
var eventCalendarDisplayModeValues = ["combined", "
|
|
5038
|
+
var eventCalendarDisplayModeValues = ["combined", "calendar", "list", "timetable"];
|
|
5039
|
+
var eventCalendarDefaultViewValues = ["month", "week"];
|
|
5018
5040
|
var eventCalendarListLayoutValues = ["stack", "grid", "compact"];
|
|
5019
5041
|
function isEventContentType(slug) {
|
|
5020
5042
|
if (!slug) return false;
|
|
@@ -5027,6 +5049,7 @@ var registrationButtonVariantSchema = z.enum(["primary", "secondary", "outline"]
|
|
|
5027
5049
|
var eventButtonVariantSchema = z.enum(["primary", "secondary", "outline", "link"]);
|
|
5028
5050
|
var eventLayoutSchema = z.enum(eventCalendarListLayoutValues);
|
|
5029
5051
|
var eventCalendarDisplayModeSchema = z.enum(eventCalendarDisplayModeValues);
|
|
5052
|
+
var eventCalendarDefaultViewSchema = z.enum(eventCalendarDefaultViewValues);
|
|
5030
5053
|
var columnOptionSchema = z.enum(["2", "3", "4"]);
|
|
5031
5054
|
var weekStartSchema = z.enum(["sunday", "monday"]);
|
|
5032
5055
|
var filterAutoShowSchema = z.enum(["auto", "always", "never"]);
|
|
@@ -6176,172 +6199,275 @@ function pickReadableTextColor(background) {
|
|
|
6176
6199
|
return "rgb(var(--tb-onAccent, 255 255 255))";
|
|
6177
6200
|
}
|
|
6178
6201
|
}
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
6191
|
-
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
6192
|
-
);
|
|
6193
|
-
|
|
6194
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs
|
|
6195
|
-
var toPascalCase = (string) => {
|
|
6196
|
-
const camelCase = toCamelCase(string);
|
|
6197
|
-
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
6198
|
-
};
|
|
6199
|
-
|
|
6200
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/defaultAttributes.mjs
|
|
6201
|
-
var defaultAttributes = {
|
|
6202
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6203
|
-
width: 24,
|
|
6204
|
-
height: 24,
|
|
6205
|
-
viewBox: "0 0 24 24",
|
|
6206
|
-
fill: "none",
|
|
6207
|
-
stroke: "currentColor",
|
|
6208
|
-
strokeWidth: 2,
|
|
6209
|
-
strokeLinecap: "round",
|
|
6210
|
-
strokeLinejoin: "round"
|
|
6211
|
-
};
|
|
6212
|
-
|
|
6213
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
6214
|
-
var hasA11yProp = (props) => {
|
|
6215
|
-
for (const prop in props) {
|
|
6216
|
-
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
6217
|
-
return true;
|
|
6218
|
-
}
|
|
6219
|
-
}
|
|
6220
|
-
return false;
|
|
6221
|
-
};
|
|
6222
|
-
var LucideContext = createContext({});
|
|
6223
|
-
var useLucideContext = () => useContext(LucideContext);
|
|
6224
|
-
|
|
6225
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/Icon.mjs
|
|
6226
|
-
var Icon = forwardRef(
|
|
6227
|
-
({ color, size, strokeWidth, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => {
|
|
6228
|
-
const {
|
|
6229
|
-
size: contextSize = 24,
|
|
6230
|
-
strokeWidth: contextStrokeWidth = 2,
|
|
6231
|
-
absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,
|
|
6232
|
-
color: contextColor = "currentColor",
|
|
6233
|
-
className: contextClass = ""
|
|
6234
|
-
} = useLucideContext() ?? {};
|
|
6235
|
-
const calculatedStrokeWidth = absoluteStrokeWidth ?? contextAbsoluteStrokeWidth ? Number(strokeWidth ?? contextStrokeWidth) * 24 / Number(size ?? contextSize) : strokeWidth ?? contextStrokeWidth;
|
|
6236
|
-
return createElement(
|
|
6237
|
-
"svg",
|
|
6238
|
-
{
|
|
6239
|
-
ref,
|
|
6240
|
-
...defaultAttributes,
|
|
6241
|
-
width: size ?? contextSize ?? defaultAttributes.width,
|
|
6242
|
-
height: size ?? contextSize ?? defaultAttributes.height,
|
|
6243
|
-
stroke: color ?? contextColor,
|
|
6244
|
-
strokeWidth: calculatedStrokeWidth,
|
|
6245
|
-
className: mergeClasses("lucide", contextClass, className),
|
|
6246
|
-
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
6247
|
-
...rest
|
|
6248
|
-
},
|
|
6249
|
-
[
|
|
6250
|
-
...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
|
|
6251
|
-
...Array.isArray(children) ? children : [children]
|
|
6252
|
-
]
|
|
6253
|
-
);
|
|
6254
|
-
}
|
|
6255
|
-
);
|
|
6256
|
-
|
|
6257
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
|
|
6258
|
-
var createLucideIcon = (iconName, iconNode) => {
|
|
6259
|
-
const Component = forwardRef(
|
|
6260
|
-
({ className, ...props }, ref) => createElement(Icon, {
|
|
6261
|
-
ref,
|
|
6262
|
-
iconNode,
|
|
6263
|
-
className: mergeClasses(
|
|
6264
|
-
`lucide-${toKebabCase(toPascalCase(iconName))}`,
|
|
6265
|
-
`lucide-${iconName}`,
|
|
6266
|
-
className
|
|
6267
|
-
),
|
|
6268
|
-
...props
|
|
6269
|
-
})
|
|
6270
|
-
);
|
|
6271
|
-
Component.displayName = toPascalCase(iconName);
|
|
6272
|
-
return Component;
|
|
6273
|
-
};
|
|
6274
|
-
|
|
6275
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/arrow-right.mjs
|
|
6276
|
-
var __iconNode = [
|
|
6277
|
-
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
6278
|
-
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
6279
|
-
];
|
|
6280
|
-
var ArrowRight = createLucideIcon("arrow-right", __iconNode);
|
|
6281
|
-
|
|
6282
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/chevron-left.mjs
|
|
6283
|
-
var __iconNode2 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
6284
|
-
var ChevronLeft = createLucideIcon("chevron-left", __iconNode2);
|
|
6285
|
-
|
|
6286
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs
|
|
6287
|
-
var __iconNode3 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
6288
|
-
var ChevronRight = createLucideIcon("chevron-right", __iconNode3);
|
|
6289
|
-
|
|
6290
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/clock.mjs
|
|
6291
|
-
var __iconNode4 = [
|
|
6292
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
6293
|
-
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
|
|
6294
|
-
];
|
|
6295
|
-
var Clock = createLucideIcon("clock", __iconNode4);
|
|
6296
|
-
|
|
6297
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/credit-card.mjs
|
|
6298
|
-
var __iconNode5 = [
|
|
6299
|
-
["rect", { width: "20", height: "14", x: "2", y: "5", rx: "2", key: "ynyp8z" }],
|
|
6300
|
-
["line", { x1: "2", x2: "22", y1: "10", y2: "10", key: "1b3vmo" }]
|
|
6301
|
-
];
|
|
6302
|
-
var CreditCard = createLucideIcon("credit-card", __iconNode5);
|
|
6303
|
-
|
|
6304
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/sparkles.mjs
|
|
6305
|
-
var __iconNode6 = [
|
|
6306
|
-
[
|
|
6307
|
-
"path",
|
|
6308
|
-
{
|
|
6309
|
-
d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
|
|
6310
|
-
key: "1s2grr"
|
|
6311
|
-
}
|
|
6312
|
-
],
|
|
6313
|
-
["path", { d: "M20 2v4", key: "1rf3ol" }],
|
|
6314
|
-
["path", { d: "M22 4h-4", key: "gwowj6" }],
|
|
6315
|
-
["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
|
|
6316
|
-
];
|
|
6317
|
-
var Sparkles = createLucideIcon("sparkles", __iconNode6);
|
|
6318
|
-
|
|
6319
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/star.mjs
|
|
6320
|
-
var __iconNode7 = [
|
|
6321
|
-
[
|
|
6322
|
-
"path",
|
|
6323
|
-
{
|
|
6324
|
-
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
6325
|
-
key: "r04s7s"
|
|
6326
|
-
}
|
|
6327
|
-
]
|
|
6328
|
-
];
|
|
6329
|
-
var Star = createLucideIcon("star", __iconNode7);
|
|
6330
|
-
|
|
6331
|
-
// ../../node_modules/.pnpm/lucide-react@1.21.0_react@19.2.7/node_modules/lucide-react/dist/esm/icons/ticket.mjs
|
|
6332
|
-
var __iconNode8 = [
|
|
6333
|
-
[
|
|
6334
|
-
"path",
|
|
6202
|
+
function createIcon(displayName, children) {
|
|
6203
|
+
const Icon = ({
|
|
6204
|
+
size = "1em",
|
|
6205
|
+
strokeWidth = 2,
|
|
6206
|
+
title,
|
|
6207
|
+
className,
|
|
6208
|
+
focusable = false,
|
|
6209
|
+
role,
|
|
6210
|
+
...props
|
|
6211
|
+
}) => /* @__PURE__ */ jsxs(
|
|
6212
|
+
"svg",
|
|
6335
6213
|
{
|
|
6336
|
-
|
|
6337
|
-
|
|
6214
|
+
"aria-hidden": title ? void 0 : true,
|
|
6215
|
+
className,
|
|
6216
|
+
"data-rb-icon": displayName.replace(/Icon$/, ""),
|
|
6217
|
+
fill: "none",
|
|
6218
|
+
focusable,
|
|
6219
|
+
height: size,
|
|
6220
|
+
role: title ? role ?? "img" : role,
|
|
6221
|
+
stroke: "currentColor",
|
|
6222
|
+
strokeLinecap: "round",
|
|
6223
|
+
strokeLinejoin: "round",
|
|
6224
|
+
strokeWidth,
|
|
6225
|
+
viewBox: "0 0 24 24",
|
|
6226
|
+
width: size,
|
|
6227
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6228
|
+
...props,
|
|
6229
|
+
children: [
|
|
6230
|
+
title ? /* @__PURE__ */ jsx("title", { children: title }) : null,
|
|
6231
|
+
children
|
|
6232
|
+
]
|
|
6338
6233
|
}
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6234
|
+
);
|
|
6235
|
+
Icon.displayName = displayName;
|
|
6236
|
+
return Icon;
|
|
6237
|
+
}
|
|
6238
|
+
createIcon("ArrowDownIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6239
|
+
/* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
|
|
6240
|
+
/* @__PURE__ */ jsx("path", { d: "m6 13 6 6 6-6" })
|
|
6241
|
+
] }));
|
|
6242
|
+
createIcon("ArrowLeftIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6243
|
+
/* @__PURE__ */ jsx("path", { d: "M19 12H5" }),
|
|
6244
|
+
/* @__PURE__ */ jsx("path", { d: "m11 6-6 6 6 6" })
|
|
6245
|
+
] }));
|
|
6246
|
+
var ArrowRightIcon = createIcon("ArrowRightIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6247
|
+
/* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
|
|
6248
|
+
/* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })
|
|
6249
|
+
] }));
|
|
6250
|
+
createIcon("AwardIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6251
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "8", r: "4" }),
|
|
6252
|
+
/* @__PURE__ */ jsx("path", { d: "m8.5 12.5-1.5 7 5-3 5 3-1.5-7" })
|
|
6253
|
+
] }));
|
|
6254
|
+
createIcon("BadgeCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6255
|
+
/* @__PURE__ */ jsx("path", { d: "m8 3 4-1 4 1 3 3 1 4-1 4-3 3-4 1-4-1-3-3-1-4 1-4Z" }),
|
|
6256
|
+
/* @__PURE__ */ jsx("path", { d: "m8.5 11.5 2.5 2.5 4.5-5" })
|
|
6257
|
+
] }));
|
|
6258
|
+
createIcon("BookOpenIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6259
|
+
/* @__PURE__ */ jsx("path", { d: "M4 5.5A3 3 0 0 1 7 4h13v15H7a3 3 0 0 0-3 1.5Z" }),
|
|
6260
|
+
/* @__PURE__ */ jsx("path", { d: "M4 5.5V20" }),
|
|
6261
|
+
/* @__PURE__ */ jsx("path", { d: "M12 4v15" })
|
|
6262
|
+
] }));
|
|
6263
|
+
createIcon("BrainIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6264
|
+
/* @__PURE__ */ jsx("path", { d: "M9 4a4 4 0 0 0-4 4 4 4 0 0 0 0 8 4 4 0 0 0 4 4" }),
|
|
6265
|
+
/* @__PURE__ */ jsx("path", { d: "M15 4a4 4 0 0 1 4 4 4 4 0 0 1 0 8 4 4 0 0 1-4 4" }),
|
|
6266
|
+
/* @__PURE__ */ jsx("path", { d: "M9 4v16" }),
|
|
6267
|
+
/* @__PURE__ */ jsx("path", { d: "M15 4v16" }),
|
|
6268
|
+
/* @__PURE__ */ jsx("path", { d: "M9 8h6" }),
|
|
6269
|
+
/* @__PURE__ */ jsx("path", { d: "M9 14h6" })
|
|
6270
|
+
] }));
|
|
6271
|
+
createIcon("BriefcaseBusinessIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6272
|
+
/* @__PURE__ */ jsx("path", { d: "M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2" }),
|
|
6273
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "7", width: "18", height: "13", rx: "2" }),
|
|
6274
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
|
|
6275
|
+
/* @__PURE__ */ jsx("path", { d: "M9 12v2" }),
|
|
6276
|
+
/* @__PURE__ */ jsx("path", { d: "M15 12v2" })
|
|
6277
|
+
] }));
|
|
6278
|
+
createIcon("CalendarIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6279
|
+
/* @__PURE__ */ jsx("path", { d: "M8 3v4" }),
|
|
6280
|
+
/* @__PURE__ */ jsx("path", { d: "M16 3v4" }),
|
|
6281
|
+
/* @__PURE__ */ jsx("rect", { x: "4", y: "5", width: "16", height: "16", rx: "2" }),
|
|
6282
|
+
/* @__PURE__ */ jsx("path", { d: "M4 10h16" })
|
|
6283
|
+
] }));
|
|
6284
|
+
createIcon("CheckIcon", /* @__PURE__ */ jsx("path", { d: "m5 12 4 4L19 6" }));
|
|
6285
|
+
createIcon("ChevronDownIcon", /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }));
|
|
6286
|
+
createIcon("ChevronLeftIcon", /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }));
|
|
6287
|
+
createIcon("ChevronRightIcon", /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }));
|
|
6288
|
+
createIcon("ChevronUpIcon", /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" }));
|
|
6289
|
+
createIcon("CircleMinusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6290
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6291
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" })
|
|
6292
|
+
] }));
|
|
6293
|
+
createIcon("CirclePlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6294
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6295
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
|
|
6296
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8v8" })
|
|
6297
|
+
] }));
|
|
6298
|
+
var ClockIcon = createIcon("ClockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6299
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6300
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7v5l3 2" })
|
|
6301
|
+
] }));
|
|
6302
|
+
createIcon("CompassIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6303
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6304
|
+
/* @__PURE__ */ jsx("path", { d: "m15 9-2 6-4 2 2-6Z" })
|
|
6305
|
+
] }));
|
|
6306
|
+
createIcon("DownloadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6307
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3v12" }),
|
|
6308
|
+
/* @__PURE__ */ jsx("path", { d: "m7 10 5 5 5-5" }),
|
|
6309
|
+
/* @__PURE__ */ jsx("path", { d: "M5 21h14" })
|
|
6310
|
+
] }));
|
|
6311
|
+
createIcon("ExternalLinkIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6312
|
+
/* @__PURE__ */ jsx("path", { d: "M14 4h6v6" }),
|
|
6313
|
+
/* @__PURE__ */ jsx("path", { d: "m10 14 10-10" }),
|
|
6314
|
+
/* @__PURE__ */ jsx("path", { d: "M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5" })
|
|
6315
|
+
] }));
|
|
6316
|
+
createIcon("FileArchiveIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6317
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
6318
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
6319
|
+
/* @__PURE__ */ jsx("path", { d: "M10 7h2" }),
|
|
6320
|
+
/* @__PURE__ */ jsx("path", { d: "M10 11h2" }),
|
|
6321
|
+
/* @__PURE__ */ jsx("path", { d: "M10 15h4v4h-4Z" })
|
|
6322
|
+
] }));
|
|
6323
|
+
createIcon("FileAudioIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6324
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
6325
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
6326
|
+
/* @__PURE__ */ jsx("path", { d: "M10 16V10l5-2v6" }),
|
|
6327
|
+
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "17", r: "1.5" }),
|
|
6328
|
+
/* @__PURE__ */ jsx("circle", { cx: "15", cy: "15", r: "1.5" })
|
|
6329
|
+
] }));
|
|
6330
|
+
createIcon("FileSpreadsheetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6331
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
6332
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
6333
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" }),
|
|
6334
|
+
/* @__PURE__ */ jsx("path", { d: "M8 16h8" }),
|
|
6335
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10v8" })
|
|
6336
|
+
] }));
|
|
6337
|
+
createIcon("FileTextIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6338
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z" }),
|
|
6339
|
+
/* @__PURE__ */ jsx("path", { d: "M14 2v5h5" }),
|
|
6340
|
+
/* @__PURE__ */ jsx("path", { d: "M9 13h6" }),
|
|
6341
|
+
/* @__PURE__ */ jsx("path", { d: "M9 17h6" })
|
|
6342
|
+
] }));
|
|
6343
|
+
createIcon("Flower2Icon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6344
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2" }),
|
|
6345
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10C8 4 16 4 12 10Z" }),
|
|
6346
|
+
/* @__PURE__ */ jsx("path", { d: "M14 12c6-4 6 4 0 0Z" }),
|
|
6347
|
+
/* @__PURE__ */ jsx("path", { d: "M12 14c4 6-4 6 0 0Z" }),
|
|
6348
|
+
/* @__PURE__ */ jsx("path", { d: "M10 12c-6 4-6-4 0 0Z" })
|
|
6349
|
+
] }));
|
|
6350
|
+
createIcon("GlobeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6351
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6352
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h18" }),
|
|
6353
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 1 0 18" }),
|
|
6354
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3a14 14 0 0 0 0 18" })
|
|
6355
|
+
] }));
|
|
6356
|
+
createIcon("GraduationCapIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6357
|
+
/* @__PURE__ */ jsx("path", { d: "m3 8 9-4 9 4-9 4Z" }),
|
|
6358
|
+
/* @__PURE__ */ jsx("path", { d: "M7 10v5c3 3 7 3 10 0v-5" }),
|
|
6359
|
+
/* @__PURE__ */ jsx("path", { d: "M21 8v6" })
|
|
6360
|
+
] }));
|
|
6361
|
+
createIcon("HandHeartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6362
|
+
/* @__PURE__ */ jsx("path", { d: "M3 15h4l4 4h5l5-5" }),
|
|
6363
|
+
/* @__PURE__ */ jsx("path", { d: "M7 15l3-3h4a2 2 0 0 1 2 2" }),
|
|
6364
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8c-2-2-5 1-2 4l2 2 2-2c3-3 0-6-2-4Z" })
|
|
6365
|
+
] }));
|
|
6366
|
+
createIcon("HeartIcon", /* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }));
|
|
6367
|
+
createIcon("HeartHandshakeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6368
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21s-8-5-8-11a5 5 0 0 1 8-4 5 5 0 0 1 8 4c0 6-8 11-8 11Z" }),
|
|
6369
|
+
/* @__PURE__ */ jsx("path", { d: "m8 12 2 2 2-2 2 2 2-2" })
|
|
6370
|
+
] }));
|
|
6371
|
+
createIcon("HomeIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6372
|
+
/* @__PURE__ */ jsx("path", { d: "m3 11 9-8 9 8" }),
|
|
6373
|
+
/* @__PURE__ */ jsx("path", { d: "M5 10v10h14V10" }),
|
|
6374
|
+
/* @__PURE__ */ jsx("path", { d: "M9 20v-6h6v6" })
|
|
6375
|
+
] }));
|
|
6376
|
+
createIcon("InfoIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6377
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6378
|
+
/* @__PURE__ */ jsx("path", { d: "M12 11v6" }),
|
|
6379
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7h.01" })
|
|
6380
|
+
] }));
|
|
6381
|
+
createIcon("LeafIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6382
|
+
/* @__PURE__ */ jsx("path", { d: "M5 20C5 10 12 4 21 4c0 9-6 16-16 16Z" }),
|
|
6383
|
+
/* @__PURE__ */ jsx("path", { d: "M5 20c4-5 8-8 13-11" })
|
|
6384
|
+
] }));
|
|
6385
|
+
createIcon("LightbulbIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6386
|
+
/* @__PURE__ */ jsx("path", { d: "M9 18h6" }),
|
|
6387
|
+
/* @__PURE__ */ jsx("path", { d: "M10 22h4" }),
|
|
6388
|
+
/* @__PURE__ */ jsx("path", { d: "M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 4H9c0-2 0-3-1-4Z" })
|
|
6389
|
+
] }));
|
|
6390
|
+
createIcon("LockIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6391
|
+
/* @__PURE__ */ jsx("rect", { x: "5", y: "10", width: "14", height: "10", rx: "2" }),
|
|
6392
|
+
/* @__PURE__ */ jsx("path", { d: "M8 10V7a4 4 0 0 1 8 0v3" })
|
|
6393
|
+
] }));
|
|
6394
|
+
createIcon("MailIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6395
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
|
|
6396
|
+
/* @__PURE__ */ jsx("path", { d: "m3 7 9 6 9-6" })
|
|
6397
|
+
] }));
|
|
6398
|
+
createIcon("MapPinIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6399
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21s7-5 7-12a7 7 0 0 0-14 0c0 7 7 12 7 12Z" }),
|
|
6400
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "9", r: "2.5" })
|
|
6401
|
+
] }));
|
|
6402
|
+
createIcon("MessageCircleIcon", /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M21 11.5a8.5 8.5 0 0 1-12.6 7.4L3 20l1.1-5.3A8.5 8.5 0 1 1 21 11.5Z" }) }));
|
|
6403
|
+
createIcon("MinusIcon", /* @__PURE__ */ jsx("path", { d: "M5 12h14" }));
|
|
6404
|
+
createIcon("PackageIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6405
|
+
/* @__PURE__ */ jsx("path", { d: "m12 3 8 4.5v9L12 21l-8-4.5v-9Z" }),
|
|
6406
|
+
/* @__PURE__ */ jsx("path", { d: "M12 12 4 7.5" }),
|
|
6407
|
+
/* @__PURE__ */ jsx("path", { d: "m12 12 8-4.5" }),
|
|
6408
|
+
/* @__PURE__ */ jsx("path", { d: "M12 12v9" })
|
|
6409
|
+
] }));
|
|
6410
|
+
createIcon("PhoneIcon", /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M22 16.9v3a2 2 0 0 1-2.2 2A19 19 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7l.4 2.5a2 2 0 0 1-.6 1.8L7.7 9.2a13 13 0 0 0 7.1 7.1l1.2-1.2a2 2 0 0 1 1.8-.6l2.5.4a2 2 0 0 1 1.7 2Z" }) }));
|
|
6411
|
+
createIcon("PlayIcon", /* @__PURE__ */ jsx("path", { d: "m8 5 11 7-11 7Z" }));
|
|
6412
|
+
createIcon("PlusIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6413
|
+
/* @__PURE__ */ jsx("path", { d: "M12 5v14" }),
|
|
6414
|
+
/* @__PURE__ */ jsx("path", { d: "M5 12h14" })
|
|
6415
|
+
] }));
|
|
6416
|
+
createIcon("ShieldIcon", /* @__PURE__ */ jsx("path", { d: "M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11Z" }));
|
|
6417
|
+
createIcon("ShoppingBagIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6418
|
+
/* @__PURE__ */ jsx("path", { d: "M6 8h12l1 13H5Z" }),
|
|
6419
|
+
/* @__PURE__ */ jsx("path", { d: "M9 8a3 3 0 0 1 6 0" })
|
|
6420
|
+
] }));
|
|
6421
|
+
createIcon("ShoppingCartIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6422
|
+
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "20", r: "1" }),
|
|
6423
|
+
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "20", r: "1" }),
|
|
6424
|
+
/* @__PURE__ */ jsx("path", { d: "M2 3h3l3 12h10l3-8H7" })
|
|
6425
|
+
] }));
|
|
6426
|
+
createIcon("SmileIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6427
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6428
|
+
/* @__PURE__ */ jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
6429
|
+
/* @__PURE__ */ jsx("path", { d: "M9 9h.01" }),
|
|
6430
|
+
/* @__PURE__ */ jsx("path", { d: "M15 9h.01" })
|
|
6431
|
+
] }));
|
|
6432
|
+
createIcon("SparklesIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6433
|
+
/* @__PURE__ */ jsx("path", { d: "m12 3 2 5 5 2-5 2-2 5-2-5-5-2 5-2Z" }),
|
|
6434
|
+
/* @__PURE__ */ jsx("path", { d: "m19 15 .8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8Z" })
|
|
6435
|
+
] }));
|
|
6436
|
+
createIcon("SproutIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6437
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21V10" }),
|
|
6438
|
+
/* @__PURE__ */ jsx("path", { d: "M12 10C8 5 4 6 3 10c4 1 7 0 9 0Z" }),
|
|
6439
|
+
/* @__PURE__ */ jsx("path", { d: "M12 11c4-5 8-4 9 0-4 1-7 0-9 0Z" })
|
|
6440
|
+
] }));
|
|
6441
|
+
createIcon("StarIcon", /* @__PURE__ */ jsx("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.2 6.4 20.2 7.5 14 3 9.6l6.2-.9Z" }));
|
|
6442
|
+
createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6443
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
6444
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "5" }),
|
|
6445
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" })
|
|
6446
|
+
] }));
|
|
6447
|
+
createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6448
|
+
/* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
|
|
6449
|
+
/* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
|
|
6450
|
+
/* @__PURE__ */ jsx("path", { d: "M5 3h14" })
|
|
6451
|
+
] }));
|
|
6452
|
+
createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6453
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "8", r: "4" }),
|
|
6454
|
+
/* @__PURE__ */ jsx("path", { d: "M3 21a7 7 0 0 1 11.5-5.3" }),
|
|
6455
|
+
/* @__PURE__ */ jsx("path", { d: "m15 19 2 2 4-5" })
|
|
6456
|
+
] }));
|
|
6457
|
+
createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6458
|
+
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "8", r: "4" }),
|
|
6459
|
+
/* @__PURE__ */ jsx("path", { d: "M2 21a7 7 0 0 1 14 0" }),
|
|
6460
|
+
/* @__PURE__ */ jsx("path", { d: "M17 11a4 4 0 0 0 0-7" }),
|
|
6461
|
+
/* @__PURE__ */ jsx("path", { d: "M22 21a7 7 0 0 0-5-6.7" })
|
|
6462
|
+
] }));
|
|
6463
|
+
createIcon("WrenchIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6464
|
+
/* @__PURE__ */ jsx("path", { d: "M14.7 6.3A5 5 0 0 0 7 12.6L3.5 16a2.1 2.1 0 0 0 3 3L10 15.5A5 5 0 0 0 16.7 9Z" }),
|
|
6465
|
+
/* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })
|
|
6466
|
+
] }));
|
|
6467
|
+
createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6468
|
+
/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
|
|
6469
|
+
/* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
|
|
6470
|
+
] }));
|
|
6345
6471
|
var EventCompactRow = ({
|
|
6346
6472
|
event,
|
|
6347
6473
|
buttonVariant = "primary",
|
|
@@ -6374,13 +6500,13 @@ var EventCompactRow = ({
|
|
|
6374
6500
|
] }),
|
|
6375
6501
|
/* @__PURE__ */ jsxs("div", { className: "event-compact-row-action", children: [
|
|
6376
6502
|
/* @__PURE__ */ jsxs("span", { className: "event-compact-row-datetime", children: [
|
|
6377
|
-
/* @__PURE__ */ jsx(
|
|
6503
|
+
/* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }),
|
|
6378
6504
|
formattedTime,
|
|
6379
6505
|
/* @__PURE__ */ jsx("span", { className: "event-compact-row-action-price", children: price })
|
|
6380
6506
|
] }),
|
|
6381
6507
|
cta.hidden ? /* @__PURE__ */ jsx("span", { className: "event-compact-row-status", children: cta.label }) : /* @__PURE__ */ jsxs("a", { href: cta.href, className: `${buttonClass} event-compact-row-cta`, children: [
|
|
6382
6508
|
/* @__PURE__ */ jsx("span", { children: cta.label }),
|
|
6383
|
-
/* @__PURE__ */ jsx(
|
|
6509
|
+
/* @__PURE__ */ jsx(ArrowRightIcon, { "aria-hidden": "true" })
|
|
6384
6510
|
] })
|
|
6385
6511
|
] })
|
|
6386
6512
|
] })
|
|
@@ -6703,6 +6829,7 @@ var eventCalendarSourceSchema = z.object(
|
|
|
6703
6829
|
loadMoreText: z.string().optional(),
|
|
6704
6830
|
startOfWeek: weekStartSchema.optional(),
|
|
6705
6831
|
calendarTabViews: calendarTabViewsSchema.optional(),
|
|
6832
|
+
defaultCalendarView: eventCalendarDefaultViewSchema.optional(),
|
|
6706
6833
|
showFilters: z.boolean().nullable().optional(),
|
|
6707
6834
|
showCategoryFilter: filterAutoShowSchema.optional(),
|
|
6708
6835
|
showVenueFilter: z.boolean().nullable().optional(),
|
|
@@ -6734,6 +6861,7 @@ var eventCalendarDisplaySchema = z.object({
|
|
|
6734
6861
|
paginationAction: eventListPaginationActionSchema,
|
|
6735
6862
|
startOfWeek: weekStartSchema,
|
|
6736
6863
|
calendarTabViews: calendarTabViewsSchema,
|
|
6864
|
+
defaultCalendarView: eventCalendarDefaultViewSchema,
|
|
6737
6865
|
showFilters: z.boolean(),
|
|
6738
6866
|
showCategoryFilter: filterAutoShowSchema,
|
|
6739
6867
|
showVenueFilter: z.boolean(),
|
|
@@ -6798,6 +6926,7 @@ function buildEventCalendarDisplay(source) {
|
|
|
6798
6926
|
}),
|
|
6799
6927
|
startOfWeek: source.startOfWeek ?? "monday",
|
|
6800
6928
|
calendarTabViews: source.calendarTabViews ?? "both",
|
|
6929
|
+
defaultCalendarView: source.defaultCalendarView ?? "month",
|
|
6801
6930
|
showFilters: source.showFilters ?? true,
|
|
6802
6931
|
showCategoryFilter: source.showCategoryFilter ?? "auto",
|
|
6803
6932
|
showVenueFilter: source.showVenueFilter ?? false,
|
|
@@ -6916,6 +7045,7 @@ var eventCombinedSourceSchema = z.object(
|
|
|
6916
7045
|
loadMoreText: z.string().optional(),
|
|
6917
7046
|
startOfWeek: weekStartSchema.optional(),
|
|
6918
7047
|
calendarTabViews: calendarTabViewsSchema.optional(),
|
|
7048
|
+
defaultCalendarView: eventCalendarDefaultViewSchema.optional(),
|
|
6919
7049
|
showFilters: z.boolean().nullable().optional(),
|
|
6920
7050
|
showCategoryFilter: filterAutoShowSchema.optional(),
|
|
6921
7051
|
showVenueFilter: z.boolean().nullable().optional(),
|
|
@@ -6946,6 +7076,7 @@ var eventCombinedDisplaySchema = z.object({
|
|
|
6946
7076
|
paginationAction: eventListPaginationActionSchema,
|
|
6947
7077
|
startOfWeek: weekStartSchema,
|
|
6948
7078
|
calendarTabViews: calendarTabViewsSchema,
|
|
7079
|
+
defaultCalendarView: eventCalendarDefaultViewSchema,
|
|
6949
7080
|
showFilters: z.boolean(),
|
|
6950
7081
|
showCategoryFilter: filterAutoShowSchema,
|
|
6951
7082
|
showVenueFilter: z.boolean(),
|
|
@@ -7007,6 +7138,7 @@ function buildEventCombinedDisplay(source) {
|
|
|
7007
7138
|
}),
|
|
7008
7139
|
startOfWeek: source.startOfWeek ?? "monday",
|
|
7009
7140
|
calendarTabViews: source.calendarTabViews ?? "both",
|
|
7141
|
+
defaultCalendarView: source.defaultCalendarView ?? "month",
|
|
7010
7142
|
showFilters: source.showFilters ?? true,
|
|
7011
7143
|
showCategoryFilter: source.showCategoryFilter ?? "auto",
|
|
7012
7144
|
showVenueFilter: source.showVenueFilter ?? false,
|
|
@@ -7088,7 +7220,7 @@ function findEventByOccurrenceId(events, occurrenceId) {
|
|
|
7088
7220
|
function findPreSelectedEvent(input) {
|
|
7089
7221
|
const occurrenceContext = input.occurrenceContext;
|
|
7090
7222
|
if (!occurrenceContext) {
|
|
7091
|
-
return null;
|
|
7223
|
+
return input.scopedEvents.length === 1 ? input.scopedEvents[0] ?? null : null;
|
|
7092
7224
|
}
|
|
7093
7225
|
const contextDate = getBookingLocalDateKey(toScheduledBookingDateTime({
|
|
7094
7226
|
startsAt: occurrenceContext.startsAt,
|
|
@@ -7192,7 +7324,9 @@ var eventRegistrationSourceSchema = z.object({
|
|
|
7192
7324
|
overlayEnabled: z.boolean().optional(),
|
|
7193
7325
|
spamProtectionEnabled: z.boolean().optional(),
|
|
7194
7326
|
stage: previewStageSchema.optional(),
|
|
7195
|
-
supportEmail: z.string().optional()
|
|
7327
|
+
supportEmail: z.string().optional(),
|
|
7328
|
+
sitePasses: publicPassProductCollectionSchema.nullable().optional(),
|
|
7329
|
+
siteMemberships: publicMembershipProductCollectionSchema.nullable().optional()
|
|
7196
7330
|
});
|
|
7197
7331
|
var eventRegistrationDisplaySchema = z.object({
|
|
7198
7332
|
kind: z.literal("event-registration"),
|
|
@@ -7215,7 +7349,9 @@ var eventRegistrationHydrationSchema = z.object({
|
|
|
7215
7349
|
buttonVariant: registrationButtonVariantSchema.optional(),
|
|
7216
7350
|
overlayEnabled: z.boolean().optional(),
|
|
7217
7351
|
spamProtectionEnabled: z.boolean().optional(),
|
|
7218
|
-
supportEmail: z.string().optional()
|
|
7352
|
+
supportEmail: z.string().optional(),
|
|
7353
|
+
sitePasses: publicPassProductCollectionSchema.nullable().optional(),
|
|
7354
|
+
siteMemberships: publicMembershipProductCollectionSchema.nullable().optional()
|
|
7219
7355
|
});
|
|
7220
7356
|
var eventRegistrationRenderSchema = z.object({
|
|
7221
7357
|
display: eventRegistrationDisplaySchema,
|
|
@@ -7331,7 +7467,9 @@ var eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
7331
7467
|
buttonVariant: source.buttonVariant,
|
|
7332
7468
|
overlayEnabled: source.overlayEnabled,
|
|
7333
7469
|
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
7334
|
-
supportEmail: source.supportEmail
|
|
7470
|
+
supportEmail: source.supportEmail,
|
|
7471
|
+
sitePasses: source.sitePasses ?? null,
|
|
7472
|
+
siteMemberships: source.siteMemberships ?? null
|
|
7335
7473
|
}
|
|
7336
7474
|
})
|
|
7337
7475
|
});
|
|
@@ -7873,7 +8011,7 @@ z.object({
|
|
|
7873
8011
|
});
|
|
7874
8012
|
|
|
7875
8013
|
// ../blocks/src/system/runtime/api/creditProducts.ts
|
|
7876
|
-
function
|
|
8014
|
+
function assertNever2(value) {
|
|
7877
8015
|
throw new Error(`Unhandled credit product case: ${String(value)}`);
|
|
7878
8016
|
}
|
|
7879
8017
|
function useCasesFromModules(modules) {
|
|
@@ -7906,7 +8044,7 @@ function getCreditProductCreditUnit(useCase) {
|
|
|
7906
8044
|
perCreditSuffix: "credit"
|
|
7907
8045
|
};
|
|
7908
8046
|
default:
|
|
7909
|
-
return
|
|
8047
|
+
return assertNever2(useCase);
|
|
7910
8048
|
}
|
|
7911
8049
|
}
|
|
7912
8050
|
function deriveCreditProductLabels(products, options = {}) {
|
|
@@ -8761,32 +8899,5 @@ function defineIslandPropsDecoder(kind) {
|
|
|
8761
8899
|
throw new IslandPropsDecodeError(kind, result.issues);
|
|
8762
8900
|
};
|
|
8763
8901
|
}
|
|
8764
|
-
/*! Bundled license information:
|
|
8765
|
-
|
|
8766
|
-
lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs:
|
|
8767
|
-
lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs:
|
|
8768
|
-
lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs:
|
|
8769
|
-
lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs:
|
|
8770
|
-
lucide-react/dist/esm/defaultAttributes.mjs:
|
|
8771
|
-
lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs:
|
|
8772
|
-
lucide-react/dist/esm/context.mjs:
|
|
8773
|
-
lucide-react/dist/esm/Icon.mjs:
|
|
8774
|
-
lucide-react/dist/esm/createLucideIcon.mjs:
|
|
8775
|
-
lucide-react/dist/esm/icons/arrow-right.mjs:
|
|
8776
|
-
lucide-react/dist/esm/icons/chevron-left.mjs:
|
|
8777
|
-
lucide-react/dist/esm/icons/chevron-right.mjs:
|
|
8778
|
-
lucide-react/dist/esm/icons/clock.mjs:
|
|
8779
|
-
lucide-react/dist/esm/icons/credit-card.mjs:
|
|
8780
|
-
lucide-react/dist/esm/icons/sparkles.mjs:
|
|
8781
|
-
lucide-react/dist/esm/icons/star.mjs:
|
|
8782
|
-
lucide-react/dist/esm/icons/ticket.mjs:
|
|
8783
|
-
lucide-react/dist/esm/lucide-react.mjs:
|
|
8784
|
-
(**
|
|
8785
|
-
* @license lucide-react v1.21.0 - ISC
|
|
8786
|
-
*
|
|
8787
|
-
* This source code is licensed under the ISC license.
|
|
8788
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
8789
|
-
*)
|
|
8790
|
-
*/
|
|
8791
8902
|
|
|
8792
|
-
export { BOOKING_FORM_DATA_RESERVED_KEYS,
|
|
8903
|
+
export { BOOKING_FORM_DATA_RESERVED_KEYS, DateTimeTile, EMPTY_COMMERCE_CART_STATE, EmptyState, EventCard, EventCompactRow, MAX_EVENTS_PER_DAY, MONTH_NAMES, WIZARD_STEPS, addMonths, assertNever, buildCalendarViewport, buildCartDisplay, buildEventCalendarListingRender, buildEventRuntimeFilters, buildPassCartItem, buildProductCardDisplay, buildProductCartItem, buildProductDetailDisplay, buildTimetableModel, clearWorkflowFeedback, createRichTextDocFromMarkdown, defineIslandPropsDecoder, deriveBookingFormViewState, deriveCommerceCheckoutState, err, findEventByOccurrenceId, findPreSelectedEvent, formatBookingSubmissionPreparationError, formatCommercePrice, formatDate, formatDateKey, formatEventDateParts, formatEventPrice, formatEventPriceDisplay, formatEventTeacherLine, formatInterval, formatTime, getBookingRedirectStateFromLocation, getBookingSuccessMessage, getCardOrientation, getContainerClass, getEventAvailability, getEventRuntimeFiltersKey, getOrderedDayNames, getShopDisplayForItems, getStepNumber, getThreeMonthRange, getWizardStepsForContext, groupEventsByDate, isEventContentType, isRecord, isToday, logger, normalizeCsvIds, normalizeCsvString, normalizeEventBlockKind, normalizeOptionalId, ok, okWith, parseStoredCommerceCartState, prepareBookingSubmission, productItemKey, reduceCommerceCart, reportWorkflowError, reportWorkflowSuccess, resolveAppointmentCheckoutVerificationState, resolveBookingPaymentStep, resolveBookingSiteId, resolveDefaultBookingServiceId, resolveDiscountContext, resolveEventRequiresPayment, resolveRegistrationTarget, resolveRuntimeEventPricing, shiftCalendarAnchorDate, themeButtonClassName, toRegistrationEvents, toSelectedCollectionOptionKind, unwrapRichTextRoot };
|