@riverbankcms/sdk 0.143.0 → 0.144.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-DROGfMKi.mjs → PreviewEditorSidebar-CQZNnFiM.mjs} +19 -25
- package/dist/{PreviewEditorUI-BaRjhFu-.mjs → PreviewEditorUI-DCNxnmI0.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-OIABYLES.mjs → SdkPreviewModeRuntime-BJolUbr1.mjs} +15 -6
- package/dist/{SiteChromeCustomizeContext-ohjTvZbc.mjs → SiteChromeCustomizeContext-CKgEpoxi.mjs} +1915 -1463
- package/dist/_dts/api/src/billing.d.ts +1 -1
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +8 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +3 -1
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +4 -4
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/sdkSettingsContracts.d.ts +8 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -8
- package/dist/_dts/api/src/siteSettings.d.ts +17 -7
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/block-form/src/backend/types.d.ts +14 -0
- package/dist/_dts/block-form/src/client/index.d.ts +1 -0
- package/dist/_dts/block-form/src/context/RepeaterHostActionsContext.d.ts +30 -0
- package/dist/_dts/block-form/src/context/index.d.ts +1 -0
- package/dist/_dts/block-form/src/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +4 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +5 -2
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +11 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useEmptyStateFocusAfterRemoval.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +15 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterRowActionsDomain.d.ts +5 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +34 -10
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/events.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/api/context.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/api/readAuthority.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -13
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +9 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +7 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.d.ts +2 -1
- 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 +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +7 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/header-control.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +6 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ThemedButton.d.ts +58 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/chromeLogo.d.ts +23 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +3 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +4 -1
- package/dist/_dts/core/src/event-catalogue.d.ts +27 -0
- package/dist/_dts/core/src/event-preset-vocabulary.d.ts +7 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +286 -2
- package/dist/_dts/editor-blocks/src/block-editor/{BlockCardHeader.d.ts → BlockCardFrame.d.ts} +11 -3
- package/dist/_dts/logger/src/console.d.ts +3 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +1 -0
- package/dist/_dts/sdk/src/client/types.d.ts +3 -0
- package/dist/_dts/sdk/src/navigation/index.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +15 -7
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/client.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/islands/enhancers/shopShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +3 -13
- package/dist/_dts/theme-core/src/customCss/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/customCss/patch.d.ts +0 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/logoVariant.d.ts +26 -0
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +10 -0
- package/dist/_dts/ui/src/editor-item-card.d.ts +116 -0
- package/dist/_dts/ui/src/index.d.ts +1 -0
- package/dist/client/{BookingConsentAgreement-BoCtvzzu.mjs → BookingConsentAgreement-DoAILrkN.mjs} +4 -55
- package/dist/client/{DiscountCodeDisclosure-B5S30nZk.mjs → DiscountCodeDisclosure-X528hUTf.mjs} +27 -17
- package/dist/client/{EventCombined.client-CeZ2-zSt.mjs → EventCombined.client-DSBVwq5m.mjs} +54 -46
- package/dist/client/{EventListing.client-DJN3j8B3.mjs → EventListing.client-DmFAX7Vb.mjs} +3 -4
- package/dist/client/{LeafletStaticMap-RjtGzDQT.mjs → LeafletStaticMap-BAqXdfhq.mjs} +1 -1
- package/dist/client/ThemedButton-BwNFVwi4.mjs +412 -0
- package/dist/client/{accordion-DOmnDoyg.mjs → accordion-DRhMdkbd.mjs} +1 -1
- package/dist/client/{bookingForm-C0vk7pgS.mjs → bookingForm-iJ_nCsNF.mjs} +26 -32
- package/dist/client/bookings.mjs +201 -118
- package/dist/client/{carousel-BZJ7pno3.mjs → carousel-D8zuffZr.mjs} +2 -2
- package/dist/client/{carousel.client-DQTjCVQT.mjs → carousel.client-jahpU9Vz.mjs} +1 -1
- package/dist/client/{cart-CaeVAHJl.mjs → cart-DeMGJViN.mjs} +3 -3
- package/dist/client/{checkout-7wmoNDtG.mjs → checkout-DXc06Km2.mjs} +3 -3
- package/dist/client/{checkoutUrls-FL6lRkrt.mjs → checkoutUrls-CW3-78uu.mjs} +1 -1
- package/dist/client/client.mjs +2271 -1983
- package/dist/client/{colorStyles-3013aRAY.mjs → colorStyles-CuJBiS-1.mjs} +16 -4
- package/dist/client/{context-BOimxE3U.mjs → context-CDLCfDep.mjs} +24 -8
- package/dist/client/{dates-BnzVksi4.mjs → dates-ClFx7Epy.mjs} +2 -2
- package/dist/client/{eventCalendar-l-fpaslC.mjs → eventCalendar-BaGpnOGN.mjs} +39 -50
- package/dist/client/{eventCombined-DGGvssK6.mjs → eventCombined-ywONOx2m.mjs} +5 -4
- package/dist/client/{eventDetails-DRiCm_hL.mjs → eventDetails-B2LlOTYY.mjs} +4 -4
- package/dist/client/{eventListing-dph8loYX.mjs → eventListing-CMgxWpqP.mjs} +5 -4
- package/dist/client/{eventRegistration-ClBohmbY.mjs → eventRegistration-BarLDNHR.mjs} +83 -68
- package/dist/client/{form-BLVVAnd3.mjs → form-BjqKaBJ7.mjs} +9 -10
- package/dist/client/{headerSection-DHy4C8Ix.mjs → headerSection-CP4XDwz1.mjs} +23 -30
- package/dist/client/hooks.mjs +257 -63
- package/dist/client/{locationMap-6HuS28ck.mjs → locationMap-C5gW-d-w.mjs} +9 -10
- package/dist/client/{media-DHpfFwd3.mjs → media-BtJ37tzS.mjs} +1 -1
- package/dist/client/{newsletterForm-xOdcOhZP.mjs → newsletterForm-afXlVSA0.mjs} +8 -9
- package/dist/client/{pricing-ChinRYFt.mjs → pricing-Bl1CAl28.mjs} +1 -1
- package/dist/client/{productDetail-0chA5gbK.mjs → productDetail-CvQ3jWQe.mjs} +3 -3
- package/dist/client/{productList-OoINA0h1.mjs → productList-U874PGO7.mjs} +3 -3
- package/dist/client/{propsDecoder-CIZ-hbIG.mjs → propsDecoder-DPXtCZWP.mjs} +87 -29
- package/dist/client/rendering/client.mjs +1891 -1740
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +2225 -1913
- package/dist/client/{routeIslandApiConfig-UNsfPcYq.mjs → routeIslandApiConfig-NGYiUWXu.mjs} +8 -1
- package/dist/client/{scrollToBlock-BPZl0gPZ.mjs → scrollToBlock-0-C3DVhK.mjs} +1 -1
- package/dist/client/{shop-CLJFqNIq.mjs → shop-BXjXhM9P.mjs} +45 -58
- package/dist/client/{shop-commerce-PpANg5wB.mjs → shop-commerce-BZ6UlWJ7.mjs} +42 -55
- package/dist/client/{shop-commerce-store-TA_Kz2ku.mjs → shop-commerce-store-DlSBXb3D.mjs} +1 -1
- package/dist/client/{shopShared-DzcFcA5g.mjs → shopShared-kkEOiLPA.mjs} +6 -5
- package/dist/client/{useEventFilters-CFU21QZo.mjs → useEventFilters-zvnnE1ro.mjs} +66 -355
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +8 -0
- package/dist/{sdk-runtime-CDKl0Fr7.mjs → sdk-runtime-DFJlQt3q.mjs} +1 -1
- package/dist/{separator-BTp96X32.mjs → separator-o8GHb1xh.mjs} +1 -1
- package/dist/server/components.mjs +828 -623
- package/dist/server/config-validation.mjs +257 -63
- package/dist/server/config.mjs +257 -63
- package/dist/server/data.mjs +257 -63
- package/dist/server/index.mjs +9 -5
- package/dist/server/navigation.mjs +28 -1
- package/dist/server/next.mjs +14129 -13947
- package/dist/server/page-converter.mjs +110 -59
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +832 -624
- package/dist/server/rendering.mjs +830 -624
- package/dist/server/routing.mjs +294 -69
- package/dist/server/server.mjs +266 -68
- package/dist/server/theme-bridge.mjs +40 -1
- package/dist/styles/index.css +6 -0
- package/package.json +1 -1
|
@@ -228,7 +228,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
228
228
|
}>;
|
|
229
229
|
hydration: Readonly<{
|
|
230
230
|
siteId: string;
|
|
231
|
-
stage?: "preview" | "published";
|
|
232
231
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
233
232
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
234
233
|
showFilters: boolean;
|
|
@@ -271,7 +270,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
271
270
|
}>;
|
|
272
271
|
hydration: Readonly<{
|
|
273
272
|
siteId: string;
|
|
274
|
-
stage?: "preview" | "published";
|
|
275
273
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
276
274
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
277
275
|
showFilters: boolean;
|
|
@@ -308,7 +306,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
308
306
|
}>;
|
|
309
307
|
hydration: Readonly<{
|
|
310
308
|
siteId: string;
|
|
311
|
-
stage?: "preview" | "published";
|
|
312
309
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
313
310
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
314
311
|
showFilters: boolean;
|
|
@@ -353,7 +350,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
353
350
|
}>;
|
|
354
351
|
hydration: Readonly<{
|
|
355
352
|
siteId: string;
|
|
356
|
-
stage?: "preview" | "published";
|
|
357
353
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
358
354
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
359
355
|
showFilters: boolean;
|
|
@@ -396,7 +392,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
396
392
|
}>;
|
|
397
393
|
hydration: Readonly<{
|
|
398
394
|
siteId: string;
|
|
399
|
-
stage?: "preview" | "published";
|
|
400
395
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
401
396
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
402
397
|
showFilters: boolean;
|
|
@@ -433,7 +428,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
433
428
|
}>;
|
|
434
429
|
hydration: Readonly<{
|
|
435
430
|
siteId: string;
|
|
436
|
-
stage?: "preview" | "published";
|
|
437
431
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
438
432
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
439
433
|
showFilters: boolean;
|
|
@@ -466,7 +460,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
466
460
|
hydration: Readonly<{
|
|
467
461
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
468
462
|
siteId: string;
|
|
469
|
-
stage?: "preview" | "published";
|
|
470
463
|
prefetchedEvents: boolean;
|
|
471
464
|
eventSurface: import("../..").EventSurfaceScope;
|
|
472
465
|
filterEventPresets: string | null;
|
|
@@ -492,7 +485,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
492
485
|
hydration: Readonly<{
|
|
493
486
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
494
487
|
siteId: string;
|
|
495
|
-
stage?: "preview" | "published";
|
|
496
488
|
prefetchedEvents: boolean;
|
|
497
489
|
eventSurface: import("../..").EventSurfaceScope;
|
|
498
490
|
filterEventPresets: string | null;
|
|
@@ -512,7 +504,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
512
504
|
hydration: Readonly<{
|
|
513
505
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
514
506
|
siteId: string;
|
|
515
|
-
stage?: "preview" | "published";
|
|
516
507
|
prefetchedEvents: boolean;
|
|
517
508
|
eventSurface: import("../..").EventSurfaceScope;
|
|
518
509
|
filterEventPresets: string | null;
|
|
@@ -540,7 +531,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
540
531
|
hydration: Readonly<{
|
|
541
532
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
542
533
|
siteId: string;
|
|
543
|
-
stage?: "preview" | "published";
|
|
544
534
|
prefetchedEvents: boolean;
|
|
545
535
|
eventSurface: import("../..").EventSurfaceScope;
|
|
546
536
|
filterEventPresets: string | null;
|
|
@@ -566,7 +556,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
566
556
|
hydration: Readonly<{
|
|
567
557
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
568
558
|
siteId: string;
|
|
569
|
-
stage?: "preview" | "published";
|
|
570
559
|
prefetchedEvents: boolean;
|
|
571
560
|
eventSurface: import("../..").EventSurfaceScope;
|
|
572
561
|
filterEventPresets: string | null;
|
|
@@ -586,7 +575,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
586
575
|
hydration: Readonly<{
|
|
587
576
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
588
577
|
siteId: string;
|
|
589
|
-
stage?: "preview" | "published";
|
|
590
578
|
prefetchedEvents: boolean;
|
|
591
579
|
eventSurface: import("../..").EventSurfaceScope;
|
|
592
580
|
filterEventPresets: string | null;
|
|
@@ -1559,6 +1547,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1559
1547
|
apiBaseUrl?: string;
|
|
1560
1548
|
portalToken?: string | null;
|
|
1561
1549
|
previewToken?: string | null;
|
|
1550
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1562
1551
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1563
1552
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1564
1553
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -1594,6 +1583,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1594
1583
|
apiBaseUrl?: string;
|
|
1595
1584
|
portalToken?: string | null;
|
|
1596
1585
|
previewToken?: string | null;
|
|
1586
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1597
1587
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1598
1588
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1599
1589
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -1622,6 +1612,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1622
1612
|
apiBaseUrl?: string;
|
|
1623
1613
|
portalToken?: string | null;
|
|
1624
1614
|
previewToken?: string | null;
|
|
1615
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1625
1616
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1626
1617
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1627
1618
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -1672,6 +1663,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1672
1663
|
apiBaseUrl?: string;
|
|
1673
1664
|
portalToken?: string | null;
|
|
1674
1665
|
previewToken?: string | null;
|
|
1666
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1675
1667
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1676
1668
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1677
1669
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -1707,6 +1699,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1707
1699
|
apiBaseUrl?: string;
|
|
1708
1700
|
portalToken?: string | null;
|
|
1709
1701
|
previewToken?: string | null;
|
|
1702
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1710
1703
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1711
1704
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1712
1705
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -1735,6 +1728,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1735
1728
|
apiBaseUrl?: string;
|
|
1736
1729
|
portalToken?: string | null;
|
|
1737
1730
|
previewToken?: string | null;
|
|
1731
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
1738
1732
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1739
1733
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1740
1734
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -2145,6 +2139,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2145
2139
|
component: React.ComponentType<Readonly<Readonly<{
|
|
2146
2140
|
siteId: string;
|
|
2147
2141
|
apiBaseUrl?: string;
|
|
2142
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
2148
2143
|
stage?: "preview" | "published";
|
|
2149
2144
|
}> & {
|
|
2150
2145
|
renderKind: "progressive";
|
|
@@ -2155,7 +2150,6 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2155
2150
|
hydration: Readonly<{
|
|
2156
2151
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
2157
2152
|
siteId: string;
|
|
2158
|
-
stage?: "preview" | "published";
|
|
2159
2153
|
prefetchedEvents: boolean;
|
|
2160
2154
|
eventSurface: import("../..").EventSurfaceScope;
|
|
2161
2155
|
filterEventPresets: string | null;
|
|
@@ -128,7 +128,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
128
128
|
}>;
|
|
129
129
|
hydration: Readonly<{
|
|
130
130
|
siteId: string;
|
|
131
|
-
stage?: "preview" | "published";
|
|
132
131
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
133
132
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
134
133
|
showFilters: boolean;
|
|
@@ -171,7 +170,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
171
170
|
}>;
|
|
172
171
|
hydration: Readonly<{
|
|
173
172
|
siteId: string;
|
|
174
|
-
stage?: "preview" | "published";
|
|
175
173
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
176
174
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
177
175
|
showFilters: boolean;
|
|
@@ -208,7 +206,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
208
206
|
}>;
|
|
209
207
|
hydration: Readonly<{
|
|
210
208
|
siteId: string;
|
|
211
|
-
stage?: "preview" | "published";
|
|
212
209
|
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
213
210
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
214
211
|
showFilters: boolean;
|
|
@@ -239,7 +236,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
239
236
|
hydration: Readonly<{
|
|
240
237
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
241
238
|
siteId: string;
|
|
242
|
-
stage?: "preview" | "published";
|
|
243
239
|
prefetchedEvents: boolean;
|
|
244
240
|
eventSurface: import("../..").EventSurfaceScope;
|
|
245
241
|
filterEventPresets: string | null;
|
|
@@ -265,7 +261,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
265
261
|
hydration: Readonly<{
|
|
266
262
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
267
263
|
siteId: string;
|
|
268
|
-
stage?: "preview" | "published";
|
|
269
264
|
prefetchedEvents: boolean;
|
|
270
265
|
eventSurface: import("../..").EventSurfaceScope;
|
|
271
266
|
filterEventPresets: string | null;
|
|
@@ -285,7 +280,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
285
280
|
hydration: Readonly<{
|
|
286
281
|
calendarWindow?: import("../../../contracts").CalendarWindowPage;
|
|
287
282
|
siteId: string;
|
|
288
|
-
stage?: "preview" | "published";
|
|
289
283
|
prefetchedEvents: boolean;
|
|
290
284
|
eventSurface: import("../..").EventSurfaceScope;
|
|
291
285
|
filterEventPresets: string | null;
|
|
@@ -782,6 +776,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
782
776
|
apiBaseUrl?: string;
|
|
783
777
|
portalToken?: string | null;
|
|
784
778
|
previewToken?: string | null;
|
|
779
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
785
780
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
786
781
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
787
782
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -817,6 +812,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
817
812
|
apiBaseUrl?: string;
|
|
818
813
|
portalToken?: string | null;
|
|
819
814
|
previewToken?: string | null;
|
|
815
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
820
816
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
821
817
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
822
818
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -845,6 +841,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
845
841
|
apiBaseUrl?: string;
|
|
846
842
|
portalToken?: string | null;
|
|
847
843
|
previewToken?: string | null;
|
|
844
|
+
readAuthority?: import("../api").BrowserReadAuthority;
|
|
848
845
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
849
846
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
850
847
|
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
@@ -23,8 +23,6 @@ type UseCalendarEventsOptions = {
|
|
|
23
23
|
preloadMonths?: number;
|
|
24
24
|
/** Block-level filters to apply to all calendar fetches */
|
|
25
25
|
filters?: EventRuntimeFilters;
|
|
26
|
-
/** Fetch stage (preview vs published) */
|
|
27
|
-
stage?: 'preview' | 'published';
|
|
28
26
|
calendarContext: Readonly<{
|
|
29
27
|
timeZone: BookingTimeZone;
|
|
30
28
|
initialToday: CalendarDate;
|
|
@@ -84,14 +82,21 @@ type UseCalendarEventCacheOptions = Readonly<{
|
|
|
84
82
|
calendarWindow?: CalendarWindowPage;
|
|
85
83
|
preloadMonths?: number;
|
|
86
84
|
filters?: EventRuntimeFilters;
|
|
87
|
-
stage?: 'preview' | 'published';
|
|
88
85
|
timeZone: BookingTimeZone;
|
|
89
86
|
}>;
|
|
87
|
+
type CalendarReadPreparation = Readonly<{
|
|
88
|
+
kind: 'ready';
|
|
89
|
+
key: string;
|
|
90
|
+
}> | Readonly<{
|
|
91
|
+
kind: 'missing-site-config';
|
|
92
|
+
error: Error;
|
|
93
|
+
}>;
|
|
94
|
+
export declare function prepareCalendarRead(siteId: string | undefined, stage: 'preview' | 'published' | undefined, filters: EventRuntimeFilters | undefined, readProfile: CalendarReadProfile): CalendarReadPreparation;
|
|
90
95
|
/**
|
|
91
96
|
* The reducer owns month data and request ownership. The hook only performs I/O.
|
|
92
97
|
* Requests for other months remain useful until the query context changes.
|
|
93
98
|
*/
|
|
94
|
-
export declare function useCalendarEventCache({ readProfile, viewDate, calendarWindow, preloadMonths, filters,
|
|
99
|
+
export declare function useCalendarEventCache({ readProfile, viewDate, calendarWindow, preloadMonths, filters, timeZone, }: UseCalendarEventCacheOptions): Readonly<{
|
|
95
100
|
events: PublicEvent[];
|
|
96
101
|
loadState: CalendarViewLoadState;
|
|
97
102
|
retryCurrentView: () => void;
|
|
@@ -43,7 +43,6 @@ export type CalendarCacheAction = Readonly<{
|
|
|
43
43
|
error: Error;
|
|
44
44
|
cursor?: CalendarSourceCursor;
|
|
45
45
|
}>;
|
|
46
|
-
export declare function calendarMonthKey(date: CalendarDate): string;
|
|
47
46
|
export declare function calendarWindowMonths(date: CalendarDate, radius: number): readonly string[];
|
|
48
47
|
export declare function seedCalendarWindow(page: CalendarWindowPage): CalendarCacheState;
|
|
49
48
|
export declare function planCalendarRequest(state: CalendarCacheState, months: readonly string[], retry: boolean): CalendarRequest | null;
|
|
@@ -18,8 +18,6 @@ type UseEventPaginationOptions = {
|
|
|
18
18
|
filters?: EventRuntimeFilters;
|
|
19
19
|
/** Number of events per page */
|
|
20
20
|
pageSize?: number;
|
|
21
|
-
/** Fetch stage (preview vs published) */
|
|
22
|
-
stage?: 'preview' | 'published';
|
|
23
21
|
};
|
|
24
22
|
type EventPaginationResult = {
|
|
25
23
|
/** All loaded events */
|
|
@@ -49,5 +47,5 @@ type EventPaginationResult = {
|
|
|
49
47
|
* ```
|
|
50
48
|
*/
|
|
51
49
|
export declare function useEventPagination({ siteId: _siteId, // Deprecated: siteId now comes from BlockApiProvider context
|
|
52
|
-
initialEvents, fetchInitialOnMount, initialFilters, filters, pageSize,
|
|
50
|
+
initialEvents, fetchInitialOnMount, initialFilters, filters, pageSize, }: UseEventPaginationOptions): EventPaginationResult;
|
|
53
51
|
export default useEventPagination;
|
|
@@ -11,11 +11,7 @@ export type TextNodeProps = {
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export declare const TextNode: React.FC<TextNodeProps & {
|
|
14
|
-
blockId?: string;
|
|
15
|
-
blockKind?: string;
|
|
16
14
|
blockContent?: unknown;
|
|
17
|
-
fragmentRegistry?: unknown;
|
|
18
|
-
pathBase?: string;
|
|
19
15
|
}>;
|
|
20
16
|
export type RichTextNodeProps = {
|
|
21
17
|
value?: unknown;
|
|
@@ -25,20 +21,19 @@ export type RichTextNodeProps = {
|
|
|
25
21
|
children?: React.ReactNode;
|
|
26
22
|
};
|
|
27
23
|
export declare const RichTextNode: React.FC<RichTextNodeProps & {
|
|
28
|
-
blockId?: string;
|
|
29
24
|
blockKind?: string;
|
|
30
|
-
blockContent?: unknown;
|
|
31
|
-
fragmentRegistry?: unknown;
|
|
32
|
-
pathBase?: string;
|
|
33
25
|
}>;
|
|
34
26
|
export type ButtonNodeProps = {
|
|
35
|
-
value?:
|
|
27
|
+
value?: string | number;
|
|
36
28
|
href?: string;
|
|
37
29
|
'aria-label'?: string;
|
|
30
|
+
'data-testid'?: string;
|
|
31
|
+
/** Editor interception and explicit control handlers. */
|
|
32
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
38
33
|
className?: string;
|
|
39
34
|
target?: string;
|
|
40
35
|
rel?: string;
|
|
41
|
-
children?:
|
|
36
|
+
children?: string | number;
|
|
42
37
|
/** Button variant ID (reads from theme.buttons.variants) */
|
|
43
38
|
variantId?: string;
|
|
44
39
|
/** Button size (reads from theme.buttons.sizes via .btn-{size}) */
|
|
@@ -55,13 +50,7 @@ export type ButtonNodeProps = {
|
|
|
55
50
|
*/
|
|
56
51
|
trailingIcon?: string;
|
|
57
52
|
};
|
|
58
|
-
export declare const ButtonNode: React.FC<ButtonNodeProps
|
|
59
|
-
blockId?: string;
|
|
60
|
-
blockKind?: string;
|
|
61
|
-
blockContent?: unknown;
|
|
62
|
-
fragmentRegistry?: unknown;
|
|
63
|
-
pathBase?: string;
|
|
64
|
-
}>;
|
|
53
|
+
export declare const ButtonNode: React.FC<ButtonNodeProps>;
|
|
65
54
|
export type LinkNodeProps = {
|
|
66
55
|
href?: string;
|
|
67
56
|
className?: string;
|
|
@@ -71,10 +60,4 @@ export type LinkNodeProps = {
|
|
|
71
60
|
/** When true, hide the link if href is missing */
|
|
72
61
|
linkRequired?: boolean;
|
|
73
62
|
};
|
|
74
|
-
export declare const LinkNode: React.FC<LinkNodeProps
|
|
75
|
-
blockId?: string;
|
|
76
|
-
blockKind?: string;
|
|
77
|
-
blockContent?: unknown;
|
|
78
|
-
fragmentRegistry?: unknown;
|
|
79
|
-
pathBase?: string;
|
|
80
|
-
}>;
|
|
63
|
+
export declare const LinkNode: React.FC<LinkNodeProps>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { RegistrationTicketType } from './types';
|
|
3
|
+
import type { ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
|
|
3
4
|
export declare function EventRegistrationBookingLayer(props: Readonly<{
|
|
4
5
|
registrationRootClassName: string;
|
|
5
6
|
portalRoot: HTMLElement | null;
|
|
@@ -9,7 +10,7 @@ export declare function EventRegistrationBookingLayer(props: Readonly<{
|
|
|
9
10
|
availabilityLabel: string | null;
|
|
10
11
|
ticketTypes: readonly RegistrationTicketType[];
|
|
11
12
|
ticketCurrency: string | null;
|
|
12
|
-
|
|
13
|
+
buttonVariant: ThemeButtonVariantId;
|
|
13
14
|
formatTicketPrice: (ticketType: RegistrationTicketType) => string;
|
|
14
15
|
onOpen: () => void;
|
|
15
16
|
onClose: () => void;
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { UseEventRegistrationWizardResult } from './useEventRegistrationWizard';
|
|
2
|
+
import type { ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
|
|
2
3
|
export type EventPortalAuthCopy = Readonly<{
|
|
3
4
|
title: string;
|
|
4
5
|
description: string;
|
|
@@ -17,7 +18,7 @@ export declare function EventRegistrationSurface(props: Readonly<{
|
|
|
17
18
|
showCapacity: boolean;
|
|
18
19
|
showSpamProtection: boolean;
|
|
19
20
|
buttonText: string;
|
|
20
|
-
|
|
21
|
+
buttonVariant: ThemeButtonVariantId;
|
|
21
22
|
supportEmail?: string;
|
|
22
23
|
successMessage: string;
|
|
23
24
|
}>): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { UseEventRegistrationWizardResult } from './useEventRegistrationWizard';
|
|
3
|
+
import type { ThemeButtonVariantId } from '../../../../../../theme-core/src/buttons/index';
|
|
3
4
|
/**
|
|
4
5
|
* Label for the button that submits the details step.
|
|
5
6
|
*
|
|
@@ -15,7 +16,7 @@ export declare function resolveDetailsButtonText(input: Readonly<{
|
|
|
15
16
|
type WizardActionsProps = Readonly<{
|
|
16
17
|
wizard: UseEventRegistrationWizardResult;
|
|
17
18
|
buttonText: string;
|
|
18
|
-
|
|
19
|
+
buttonVariant: ThemeButtonVariantId;
|
|
19
20
|
}>;
|
|
20
21
|
export declare function EventRegistrationWizardActions(props: WizardActionsProps): React.JSX.Element | null;
|
|
21
22
|
export {};
|
|
@@ -262,6 +262,7 @@ export type EventRegistrationOverridePropsLike = Readonly<{
|
|
|
262
262
|
apiBaseUrl?: string;
|
|
263
263
|
portalToken?: string | null;
|
|
264
264
|
previewToken?: string | null;
|
|
265
|
+
readAuthority?: import('../../api').BrowserReadAuthority;
|
|
265
266
|
stage?: 'preview' | 'published';
|
|
266
267
|
occurrenceContext?: OccurrenceContext | null;
|
|
267
268
|
subject?: unknown;
|
|
@@ -272,6 +273,7 @@ export type EventRegistrationOverrideInput = Readonly<{
|
|
|
272
273
|
apiBaseUrl: string;
|
|
273
274
|
portalToken: string | null;
|
|
274
275
|
previewToken: string | null;
|
|
276
|
+
readAuthority?: import('../../api').BrowserReadAuthority;
|
|
275
277
|
stage?: 'preview' | 'published';
|
|
276
278
|
occurrenceContext?: OccurrenceContext | null;
|
|
277
279
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type BlockApiConfig, type BrowserReadAuthority } from '../../api';
|
|
2
2
|
import type { EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike } from './event-registration.headless.contract';
|
|
3
3
|
export declare function createEventRegistrationBlockApiConfig(input: Readonly<{
|
|
4
4
|
siteId: string;
|
|
5
5
|
apiBaseUrl: string;
|
|
6
6
|
portalToken?: string | null;
|
|
7
7
|
previewToken?: string | null;
|
|
8
|
+
readAuthority?: BrowserReadAuthority;
|
|
8
9
|
stage?: 'preview' | 'published';
|
|
9
10
|
}>): BlockApiConfig;
|
|
10
11
|
export declare function getEventRegistrationOverrideInput(props: EventRegistrationOverridePropsLike): EventRegistrationOverrideInputResult;
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type EventRegistrationWizardDeps = Readonly<{
|
|
|
30
30
|
useDiscountCodeUi: typeof useDiscountCodeUi;
|
|
31
31
|
}>;
|
|
32
32
|
export declare function useEventRegistrationWizard(options: UseEventRegistrationWizardOptions): {
|
|
33
|
-
api: import("../../api").
|
|
33
|
+
api: import("../../api").BoundBlockApiClient;
|
|
34
34
|
anchorId: string;
|
|
35
35
|
occurrenceContext: {
|
|
36
36
|
id: string;
|
|
@@ -159,7 +159,7 @@ export declare function useEventRegistrationWizard(options: UseEventRegistration
|
|
|
159
159
|
handleRetry: () => void;
|
|
160
160
|
};
|
|
161
161
|
export declare function useEventRegistrationWizardWithDeps(options: UseEventRegistrationWizardOptions, deps: EventRegistrationWizardDeps): {
|
|
162
|
-
api: import("../../api").
|
|
162
|
+
api: import("../../api").BoundBlockApiClient;
|
|
163
163
|
anchorId: string;
|
|
164
164
|
occurrenceContext: {
|
|
165
165
|
id: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BrowserReadAuthority } from '../api/types';
|
|
1
2
|
import type { BlockButtonRole } from '../../constants/buttonRoles';
|
|
2
3
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
3
4
|
import { type PublicMembershipProductCollection, type PublicPassProductCollection } from '../../blocks/shop.shared';
|
|
@@ -15,6 +16,7 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
15
16
|
apiBaseUrl?: string;
|
|
16
17
|
portalToken?: string | null;
|
|
17
18
|
previewToken?: string | null;
|
|
19
|
+
readAuthority?: BrowserReadAuthority;
|
|
18
20
|
occurrenceContext?: OccurrenceContext | null;
|
|
19
21
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
20
22
|
events?: PublicEvent[] | null;
|
|
@@ -58,6 +60,7 @@ type EventRegistrationIslandMeta = Readonly<{
|
|
|
58
60
|
apiBaseUrl?: string;
|
|
59
61
|
portalToken?: string | null;
|
|
60
62
|
previewToken?: string | null;
|
|
63
|
+
readAuthority?: BrowserReadAuthority;
|
|
61
64
|
stage?: 'preview' | 'published';
|
|
62
65
|
}>;
|
|
63
66
|
export declare function buildEventRegistrationDisplayFromScopedEvents(source: EventRegistrationSourceProps, scopedSourceEvents: readonly PublicEvent[]): EventRegistrationDisplay;
|
|
@@ -69,6 +72,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
69
72
|
apiBaseUrl?: string;
|
|
70
73
|
portalToken?: string | null;
|
|
71
74
|
previewToken?: string | null;
|
|
75
|
+
readAuthority?: BrowserReadAuthority;
|
|
72
76
|
occurrenceContext?: OccurrenceContext | null;
|
|
73
77
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
74
78
|
events?: PublicEvent[] | null;
|
|
@@ -105,6 +109,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
105
109
|
apiBaseUrl?: string;
|
|
106
110
|
portalToken?: string | null;
|
|
107
111
|
previewToken?: string | null;
|
|
112
|
+
readAuthority?: BrowserReadAuthority;
|
|
108
113
|
occurrenceContext?: OccurrenceContext | null;
|
|
109
114
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
110
115
|
events?: PublicEvent[] | null;
|
|
@@ -134,6 +139,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
134
139
|
apiBaseUrl?: string;
|
|
135
140
|
portalToken?: string | null;
|
|
136
141
|
previewToken?: string | null;
|
|
142
|
+
readAuthority?: BrowserReadAuthority;
|
|
137
143
|
occurrenceContext?: OccurrenceContext | null;
|
|
138
144
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
139
145
|
events?: PublicEvent[] | null;
|
|
@@ -181,6 +187,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
181
187
|
apiBaseUrl?: string;
|
|
182
188
|
portalToken?: string | null;
|
|
183
189
|
previewToken?: string | null;
|
|
190
|
+
readAuthority?: BrowserReadAuthority;
|
|
184
191
|
stage?: "preview" | "published";
|
|
185
192
|
}> & {
|
|
186
193
|
renderKind: "client-owned";
|
|
@@ -198,6 +205,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
198
205
|
apiBaseUrl?: string;
|
|
199
206
|
portalToken?: string | null;
|
|
200
207
|
previewToken?: string | null;
|
|
208
|
+
readAuthority?: BrowserReadAuthority;
|
|
201
209
|
stage?: "preview" | "published";
|
|
202
210
|
}> & {
|
|
203
211
|
renderKind: "client-owned";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BrowserReadAuthority } from "../../api/types";
|
|
1
2
|
import type { DisplayMode, EventLayout } from "../../../blocks/events/shared/types";
|
|
2
3
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
4
|
import type { EventListingDisplay, EventListingInteractiveIslandProps } from "./EventListing.interactive";
|
|
@@ -36,6 +37,7 @@ export type EventCalendarHydration = EventCollectionHydration;
|
|
|
36
37
|
type EventCalendarIslandMeta = Readonly<{
|
|
37
38
|
siteId: string;
|
|
38
39
|
apiBaseUrl?: string;
|
|
40
|
+
readAuthority?: BrowserReadAuthority;
|
|
39
41
|
stage?: "preview" | "published";
|
|
40
42
|
}>;
|
|
41
43
|
export declare function buildEventCalendarDisplay(source: EventCalendarSourceProps): EventCalendarDisplay;
|
|
@@ -52,7 +54,6 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
52
54
|
hydration: Readonly<{
|
|
53
55
|
calendarWindow?: import("../../../../contracts").CalendarWindowPage;
|
|
54
56
|
siteId: string;
|
|
55
|
-
stage?: "preview" | "published";
|
|
56
57
|
prefetchedEvents: boolean;
|
|
57
58
|
eventSurface: import("../../..").EventSurfaceScope;
|
|
58
59
|
filterEventPresets: string | null;
|
|
@@ -78,7 +79,6 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
78
79
|
hydration: Readonly<{
|
|
79
80
|
calendarWindow?: import("../../../../contracts").CalendarWindowPage;
|
|
80
81
|
siteId: string;
|
|
81
|
-
stage?: "preview" | "published";
|
|
82
82
|
prefetchedEvents: boolean;
|
|
83
83
|
eventSurface: import("../../..").EventSurfaceScope;
|
|
84
84
|
filterEventPresets: string | null;
|
|
@@ -98,7 +98,6 @@ export declare const eventCalendarBlockRuntime: Readonly<{
|
|
|
98
98
|
hydration: Readonly<{
|
|
99
99
|
calendarWindow?: import("../../../../contracts").CalendarWindowPage;
|
|
100
100
|
siteId: string;
|
|
101
|
-
stage?: "preview" | "published";
|
|
102
101
|
prefetchedEvents: boolean;
|
|
103
102
|
eventSurface: import("../../..").EventSurfaceScope;
|
|
104
103
|
filterEventPresets: string | null;
|
|
@@ -120,6 +119,7 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
120
119
|
encode: (value: Readonly<Readonly<{
|
|
121
120
|
siteId: string;
|
|
122
121
|
apiBaseUrl?: string;
|
|
122
|
+
readAuthority?: BrowserReadAuthority;
|
|
123
123
|
stage?: "preview" | "published";
|
|
124
124
|
}> & {
|
|
125
125
|
renderKind: "progressive";
|
|
@@ -130,7 +130,6 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
130
130
|
hydration: Readonly<{
|
|
131
131
|
calendarWindow?: import("../../../../contracts").CalendarWindowPage;
|
|
132
132
|
siteId: string;
|
|
133
|
-
stage?: "preview" | "published";
|
|
134
133
|
prefetchedEvents: boolean;
|
|
135
134
|
eventSurface: import("../../..").EventSurfaceScope;
|
|
136
135
|
filterEventPresets: string | null;
|
|
@@ -149,6 +148,7 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
149
148
|
decode: (input: unknown) => import("../../../../contracts").DecodeResult<Readonly<Readonly<{
|
|
150
149
|
siteId: string;
|
|
151
150
|
apiBaseUrl?: string;
|
|
151
|
+
readAuthority?: BrowserReadAuthority;
|
|
152
152
|
stage?: "preview" | "published";
|
|
153
153
|
}> & {
|
|
154
154
|
renderKind: "progressive";
|
|
@@ -159,7 +159,6 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
159
159
|
hydration: Readonly<{
|
|
160
160
|
calendarWindow?: import("../../../../contracts").CalendarWindowPage;
|
|
161
161
|
siteId: string;
|
|
162
|
-
stage?: "preview" | "published";
|
|
163
162
|
prefetchedEvents: boolean;
|
|
164
163
|
eventSurface: import("../../..").EventSurfaceScope;
|
|
165
164
|
filterEventPresets: string | null;
|
|
@@ -7,10 +7,9 @@ import type { EventCollectionHydration } from "./shared/eventCollectionContract"
|
|
|
7
7
|
import { type CalendarDate, type CalendarViewport } from "./shared";
|
|
8
8
|
import { type EventListPaginationAction, type EventPageSize } from "./shared/listOptions";
|
|
9
9
|
import { type CalendarViewToggleOption } from "./shared/calendarViewOptions";
|
|
10
|
-
|
|
10
|
+
type EventCombinedControllerProps = Readonly<{
|
|
11
11
|
events?: PublicEvent[] | null;
|
|
12
12
|
siteId: string;
|
|
13
|
-
stage?: "preview" | "published";
|
|
14
13
|
listLayout?: EventLayout;
|
|
15
14
|
listColumns?: ColumnOption;
|
|
16
15
|
eventsPerPage?: EventPageSize;
|
|
@@ -40,6 +39,12 @@ export type EventCombinedClientProps = Readonly<{
|
|
|
40
39
|
calendarContext: EventCollectionHydration["calendarContext"];
|
|
41
40
|
calendarWindow?: EventCollectionHydration["calendarWindow"];
|
|
42
41
|
}>;
|
|
42
|
+
/** External SDK prop shape retained at blocks/client/events; hosted controllers
|
|
43
|
+
* obtain read mode exclusively from their provider, never from this metadata. */
|
|
44
|
+
export type EventCombinedClientProps = EventCombinedControllerProps & Readonly<{
|
|
45
|
+
/** @deprecated Configure browsing authority on BlockApiProvider instead. */
|
|
46
|
+
stage?: "preview" | "published";
|
|
47
|
+
}>;
|
|
43
48
|
export type EventCombinedIslandClientProps = EventCombinedInteractiveIslandProps;
|
|
44
49
|
type EventCombinedCalendarTabProps = Readonly<{
|
|
45
50
|
calendarTabViews: CalendarTabViews;
|