@riverbankcms/sdk 0.89.1 → 0.90.1
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-JDR64FEC.mjs → PreviewEditorSidebar-FNFRVSIM.mjs} +3 -3
- package/dist/{PreviewEditorUI-67TMJMAF.mjs → PreviewEditorUI-3WXJFQXG.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-2UCIMKUB.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/bookingConfig.d.ts +3 -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/event-listing-destination.d.ts +59 -0
- package/dist/_dts/api/src/index.d.ts +10 -5
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +0 -1
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +18 -6
- 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/settings/permissions.d.ts +273 -0
- package/dist/_dts/api/src/types.d.ts +4 -1
- 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/schemas.d.ts +60 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +16 -5
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -9
- 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/blocks/team-members.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/events.d.ts +4 -1
- 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 +17 -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/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 +7 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +48 -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/calendarViewOptions.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/destination.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventProductEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +7 -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/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 +7 -0
- package/dist/_dts/core/src/event-pricing.d.ts +12 -2
- package/dist/_dts/core/src/money-input.d.ts +18 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -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/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/next/types.d.ts +8 -11
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +11 -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/islands/types.d.ts +11 -1
- 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/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-F645A5UV.mjs → chunk-BOQXMCSP.mjs} +129 -101
- package/dist/{chunk-7YUAXONX.mjs → chunk-CR2VX432.mjs} +1563 -877
- package/dist/{chunk-HKJQERFR.mjs → chunk-FA6LVZ7C.mjs} +91 -55
- package/dist/{chunk-TGBJWKMP.mjs → chunk-H6TT5ZXI.mjs} +9 -1
- package/dist/{chunk-ZQRBLCW5.mjs → chunk-SYYJZPKU.mjs} +2 -2
- package/dist/{chunk-7N46MZHI.mjs → chunk-UG7I7S7W.mjs} +1 -1
- package/dist/cli/index.mjs +1057 -632
- 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-MUCVNGQ7.mjs → accordion-4K7VGZ3I.mjs} +2 -2
- package/dist/client/{bookingForm-PKD6EFIE.mjs → bookingForm-3QXA3CIS.mjs} +26 -271
- package/dist/client/bookings.mjs +1586 -825
- package/dist/client/{carousel-3TKQSNJC.mjs → carousel-BEJKNGQ7.mjs} +3 -3
- package/dist/client/{cart-6XHSZK23.mjs → cart-44BBM6XG.mjs} +7 -8
- package/dist/client/{checkout-FVSPM6FI.mjs → checkout-THMHEYKF.mjs} +7 -8
- package/dist/client/{chunk-25W2EQUN.mjs → chunk-3H5CLFKT.mjs} +8 -0
- package/dist/client/{chunk-ZJZZA5EP.mjs → chunk-4COPESPO.mjs} +13 -16
- package/dist/client/chunk-5AJIMWKS.mjs +436 -0
- package/dist/client/{chunk-UQFY4AHX.mjs → chunk-B4H6QMPY.mjs} +157 -49
- package/dist/client/{chunk-VGLXACVK.mjs → chunk-DQIRKNZE.mjs} +1 -1
- package/dist/client/{chunk-7DH35FGA.mjs → chunk-EJBHK74Y.mjs} +1 -1
- package/dist/client/{chunk-SDIYSQAY.mjs → chunk-HIHOQGIP.mjs} +2 -3
- package/dist/client/{chunk-CQKKFEQD.mjs → chunk-JV7ZNAOU.mjs} +378 -111
- package/dist/client/{chunk-FHU6PFPM.mjs → chunk-KNTLBQ3N.mjs} +1 -1
- package/dist/client/{chunk-RSQWWUAD.mjs → chunk-PEDNDLPB.mjs} +4 -4
- package/dist/client/{chunk-EY42X22F.mjs → chunk-SLY6UDAS.mjs} +157 -5
- package/dist/client/{chunk-STJ2NCQM.mjs → chunk-WHZQDPBZ.mjs} +19 -1
- package/dist/client/{chunk-ZT5XE7FK.mjs → chunk-ZIAF2DA4.mjs} +1 -1
- package/dist/client/client.mjs +3552 -2898
- package/dist/client/{courseRegistration-ATZSYDHM.mjs → courseRegistration-URX7RCCK.mjs} +20 -58
- package/dist/client/{eventCalendar-6T2UGKKP.mjs → eventCalendar-GTENOQCE.mjs} +10 -11
- package/dist/client/{eventCombined-Q4VANXVF.mjs → eventCombined-EZVB72MF.mjs} +10 -11
- package/dist/client/{eventDetails-DW37E7VW.mjs → eventDetails-CH4BJR5Z.mjs} +10 -11
- package/dist/client/{eventListing-XURTSAUW.mjs → eventListing-4BVOI5HS.mjs} +10 -11
- package/dist/client/{eventRegistration-MRKEVAXW.mjs → eventRegistration-37LPIKIE.mjs} +10 -11
- package/dist/client/{form-WZZFFGMU.mjs → form-FX3Y54YK.mjs} +7 -7
- package/dist/client/{headerSection-EQYVQBLM.mjs → headerSection-UOZZGVYL.mjs} +3 -3
- package/dist/client/hooks.mjs +1169 -1063
- package/dist/client/{locationMap-MFF5VAZR.mjs → locationMap-VSIPKV35.mjs} +3 -3
- package/dist/client/{newsletterForm-JQ77UYIE.mjs → newsletterForm-6FRJKNAF.mjs} +5 -5
- package/dist/client/{productDetail-25LMT3IZ.mjs → productDetail-6AHMLXCO.mjs} +7 -8
- package/dist/client/{productList-5ABEMKUG.mjs → productList-M2CYIZVH.mjs} +7 -8
- package/dist/client/rendering/client.mjs +2912 -2316
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +2874 -2230
- package/dist/client/{shop-OMMQZ6YO.mjs → shop-AUOT6GEX.mjs} +7 -8
- package/dist/client/spam-protection.mjs +4 -5
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-WNLBZ3ZH.mjs → sdk-runtime-6GPJNLU6.mjs} +6 -6
- package/dist/server/components.mjs +1856 -1509
- package/dist/server/config-validation.mjs +1394 -1288
- package/dist/server/config.mjs +1394 -1288
- package/dist/server/data.mjs +1169 -1063
- package/dist/server/index.mjs +135 -100
- package/dist/server/navigation.mjs +20 -30
- package/dist/server/next.mjs +1936 -1576
- package/dist/server/page-converter.mjs +1081 -967
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1868 -1521
- package/dist/server/rendering.mjs +1878 -1531
- package/dist/server/routing.mjs +1248 -1089
- package/dist/server/server.mjs +1312 -1171
- package/dist/server/theme-bridge.mjs +8 -5
- package/package.json +3 -3
- package/dist/SdkPreviewModeRuntime-ZBEMRV7N.mjs +0 -8
- package/dist/client/chunk-LQFDYWPJ.mjs +0 -184
- package/dist/client/chunk-ZFHRN6W2.mjs +0 -66
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import type { DashboardSettingsNavSurfaceId } from "../navigation/dashboardSettingsNav";
|
|
2
|
+
import { type SiteRole } from "../siteMembers";
|
|
3
|
+
export type SettingsPermissionPolicy = Readonly<{
|
|
4
|
+
kind: "roleAtLeast";
|
|
5
|
+
minimumRole: SiteRole;
|
|
6
|
+
}> | Readonly<{
|
|
7
|
+
kind: "siteRecordOwner";
|
|
8
|
+
}>;
|
|
9
|
+
export type SettingsRolePermissionPolicy = Extract<SettingsPermissionPolicy, {
|
|
10
|
+
kind: "roleAtLeast";
|
|
11
|
+
}>;
|
|
12
|
+
export type SettingsActionId = "privacy.update" | "emails.read" | "emails.update" | "apiKeys.read" | "apiKeys.readAccessLogs" | "apiKeys.manageContentKeys" | "apiKeys.managePreviewKey" | "apiKeys.manageManagementKeys" | "backup.export" | "backup.import" | "fonts.upload";
|
|
13
|
+
export type SettingsSurfacePolicy = Readonly<{
|
|
14
|
+
surfaceId: DashboardSettingsNavSurfaceId;
|
|
15
|
+
navVisibilityPolicy: SettingsRolePermissionPolicy;
|
|
16
|
+
pageAccessPolicy: SettingsPermissionPolicy;
|
|
17
|
+
actionIds: readonly SettingsActionId[];
|
|
18
|
+
}>;
|
|
19
|
+
export declare const SETTINGS_SURFACE_POLICIES: {
|
|
20
|
+
readonly "settings.features": {
|
|
21
|
+
readonly surfaceId: "settings.features";
|
|
22
|
+
readonly navVisibilityPolicy: {
|
|
23
|
+
readonly kind: "roleAtLeast";
|
|
24
|
+
readonly minimumRole: "administrator";
|
|
25
|
+
};
|
|
26
|
+
readonly pageAccessPolicy: {
|
|
27
|
+
readonly kind: "roleAtLeast";
|
|
28
|
+
readonly minimumRole: "administrator";
|
|
29
|
+
};
|
|
30
|
+
readonly actionIds: readonly [];
|
|
31
|
+
};
|
|
32
|
+
readonly "settings.general": {
|
|
33
|
+
readonly surfaceId: "settings.general";
|
|
34
|
+
readonly navVisibilityPolicy: {
|
|
35
|
+
readonly kind: "roleAtLeast";
|
|
36
|
+
readonly minimumRole: "editor";
|
|
37
|
+
};
|
|
38
|
+
readonly pageAccessPolicy: {
|
|
39
|
+
readonly kind: "roleAtLeast";
|
|
40
|
+
readonly minimumRole: "editor";
|
|
41
|
+
};
|
|
42
|
+
readonly actionIds: readonly [];
|
|
43
|
+
};
|
|
44
|
+
readonly "settings.privacy": {
|
|
45
|
+
readonly surfaceId: "settings.privacy";
|
|
46
|
+
readonly navVisibilityPolicy: {
|
|
47
|
+
readonly kind: "roleAtLeast";
|
|
48
|
+
readonly minimumRole: "administrator";
|
|
49
|
+
};
|
|
50
|
+
readonly pageAccessPolicy: {
|
|
51
|
+
readonly kind: "roleAtLeast";
|
|
52
|
+
readonly minimumRole: "administrator";
|
|
53
|
+
};
|
|
54
|
+
readonly actionIds: readonly ["privacy.update"];
|
|
55
|
+
};
|
|
56
|
+
readonly "settings.domains": {
|
|
57
|
+
readonly surfaceId: "settings.domains";
|
|
58
|
+
readonly navVisibilityPolicy: {
|
|
59
|
+
readonly kind: "roleAtLeast";
|
|
60
|
+
readonly minimumRole: "owner";
|
|
61
|
+
};
|
|
62
|
+
readonly pageAccessPolicy: {
|
|
63
|
+
readonly kind: "roleAtLeast";
|
|
64
|
+
readonly minimumRole: "owner";
|
|
65
|
+
};
|
|
66
|
+
readonly actionIds: readonly [];
|
|
67
|
+
};
|
|
68
|
+
readonly "settings.fonts": {
|
|
69
|
+
readonly surfaceId: "settings.fonts";
|
|
70
|
+
readonly navVisibilityPolicy: {
|
|
71
|
+
readonly kind: "roleAtLeast";
|
|
72
|
+
readonly minimumRole: "editor";
|
|
73
|
+
};
|
|
74
|
+
readonly pageAccessPolicy: {
|
|
75
|
+
readonly kind: "roleAtLeast";
|
|
76
|
+
readonly minimumRole: "editor";
|
|
77
|
+
};
|
|
78
|
+
readonly actionIds: readonly ["fonts.upload"];
|
|
79
|
+
};
|
|
80
|
+
readonly "settings.bookings": {
|
|
81
|
+
readonly surfaceId: "settings.bookings";
|
|
82
|
+
readonly navVisibilityPolicy: {
|
|
83
|
+
readonly kind: "roleAtLeast";
|
|
84
|
+
readonly minimumRole: "administrator";
|
|
85
|
+
};
|
|
86
|
+
readonly pageAccessPolicy: {
|
|
87
|
+
readonly kind: "roleAtLeast";
|
|
88
|
+
readonly minimumRole: "administrator";
|
|
89
|
+
};
|
|
90
|
+
readonly actionIds: readonly [];
|
|
91
|
+
};
|
|
92
|
+
readonly "settings.redirects": {
|
|
93
|
+
readonly surfaceId: "settings.redirects";
|
|
94
|
+
readonly navVisibilityPolicy: {
|
|
95
|
+
readonly kind: "roleAtLeast";
|
|
96
|
+
readonly minimumRole: "editor";
|
|
97
|
+
};
|
|
98
|
+
readonly pageAccessPolicy: {
|
|
99
|
+
readonly kind: "roleAtLeast";
|
|
100
|
+
readonly minimumRole: "editor";
|
|
101
|
+
};
|
|
102
|
+
readonly actionIds: readonly [];
|
|
103
|
+
};
|
|
104
|
+
readonly "settings.emails": {
|
|
105
|
+
readonly surfaceId: "settings.emails";
|
|
106
|
+
readonly navVisibilityPolicy: {
|
|
107
|
+
readonly kind: "roleAtLeast";
|
|
108
|
+
readonly minimumRole: "administrator";
|
|
109
|
+
};
|
|
110
|
+
readonly pageAccessPolicy: {
|
|
111
|
+
readonly kind: "roleAtLeast";
|
|
112
|
+
readonly minimumRole: "administrator";
|
|
113
|
+
};
|
|
114
|
+
readonly actionIds: readonly ["emails.read", "emails.update"];
|
|
115
|
+
};
|
|
116
|
+
readonly "settings.ai.siteProfile": {
|
|
117
|
+
readonly surfaceId: "settings.ai.siteProfile";
|
|
118
|
+
readonly navVisibilityPolicy: {
|
|
119
|
+
readonly kind: "roleAtLeast";
|
|
120
|
+
readonly minimumRole: "editor";
|
|
121
|
+
};
|
|
122
|
+
readonly pageAccessPolicy: {
|
|
123
|
+
readonly kind: "roleAtLeast";
|
|
124
|
+
readonly minimumRole: "editor";
|
|
125
|
+
};
|
|
126
|
+
readonly actionIds: readonly [];
|
|
127
|
+
};
|
|
128
|
+
readonly "settings.ai.brandGuidelines": {
|
|
129
|
+
readonly surfaceId: "settings.ai.brandGuidelines";
|
|
130
|
+
readonly navVisibilityPolicy: {
|
|
131
|
+
readonly kind: "roleAtLeast";
|
|
132
|
+
readonly minimumRole: "editor";
|
|
133
|
+
};
|
|
134
|
+
readonly pageAccessPolicy: {
|
|
135
|
+
readonly kind: "roleAtLeast";
|
|
136
|
+
readonly minimumRole: "editor";
|
|
137
|
+
};
|
|
138
|
+
readonly actionIds: readonly [];
|
|
139
|
+
};
|
|
140
|
+
readonly "settings.ai.iconStyleGuide": {
|
|
141
|
+
readonly surfaceId: "settings.ai.iconStyleGuide";
|
|
142
|
+
readonly navVisibilityPolicy: {
|
|
143
|
+
readonly kind: "roleAtLeast";
|
|
144
|
+
readonly minimumRole: "editor";
|
|
145
|
+
};
|
|
146
|
+
readonly pageAccessPolicy: {
|
|
147
|
+
readonly kind: "roleAtLeast";
|
|
148
|
+
readonly minimumRole: "editor";
|
|
149
|
+
};
|
|
150
|
+
readonly actionIds: readonly [];
|
|
151
|
+
};
|
|
152
|
+
readonly "settings.team": {
|
|
153
|
+
readonly surfaceId: "settings.team";
|
|
154
|
+
readonly navVisibilityPolicy: {
|
|
155
|
+
readonly kind: "roleAtLeast";
|
|
156
|
+
readonly minimumRole: "editor";
|
|
157
|
+
};
|
|
158
|
+
readonly pageAccessPolicy: {
|
|
159
|
+
readonly kind: "roleAtLeast";
|
|
160
|
+
readonly minimumRole: "editor";
|
|
161
|
+
};
|
|
162
|
+
readonly actionIds: readonly [];
|
|
163
|
+
};
|
|
164
|
+
readonly "settings.billing": {
|
|
165
|
+
readonly surfaceId: "settings.billing";
|
|
166
|
+
readonly navVisibilityPolicy: {
|
|
167
|
+
readonly kind: "roleAtLeast";
|
|
168
|
+
readonly minimumRole: "editor";
|
|
169
|
+
};
|
|
170
|
+
readonly pageAccessPolicy: {
|
|
171
|
+
readonly kind: "roleAtLeast";
|
|
172
|
+
readonly minimumRole: "editor";
|
|
173
|
+
};
|
|
174
|
+
readonly actionIds: readonly [];
|
|
175
|
+
};
|
|
176
|
+
readonly "settings.developer": {
|
|
177
|
+
readonly surfaceId: "settings.developer";
|
|
178
|
+
readonly navVisibilityPolicy: {
|
|
179
|
+
readonly kind: "roleAtLeast";
|
|
180
|
+
readonly minimumRole: "administrator";
|
|
181
|
+
};
|
|
182
|
+
readonly pageAccessPolicy: {
|
|
183
|
+
readonly kind: "roleAtLeast";
|
|
184
|
+
readonly minimumRole: "administrator";
|
|
185
|
+
};
|
|
186
|
+
readonly actionIds: readonly [];
|
|
187
|
+
};
|
|
188
|
+
readonly "settings.logs": {
|
|
189
|
+
readonly surfaceId: "settings.logs";
|
|
190
|
+
readonly navVisibilityPolicy: {
|
|
191
|
+
readonly kind: "roleAtLeast";
|
|
192
|
+
readonly minimumRole: "administrator";
|
|
193
|
+
};
|
|
194
|
+
readonly pageAccessPolicy: {
|
|
195
|
+
readonly kind: "roleAtLeast";
|
|
196
|
+
readonly minimumRole: "administrator";
|
|
197
|
+
};
|
|
198
|
+
readonly actionIds: readonly [];
|
|
199
|
+
};
|
|
200
|
+
readonly "settings.apiKeys": {
|
|
201
|
+
readonly surfaceId: "settings.apiKeys";
|
|
202
|
+
readonly navVisibilityPolicy: {
|
|
203
|
+
readonly kind: "roleAtLeast";
|
|
204
|
+
readonly minimumRole: "administrator";
|
|
205
|
+
};
|
|
206
|
+
readonly pageAccessPolicy: {
|
|
207
|
+
readonly kind: "roleAtLeast";
|
|
208
|
+
readonly minimumRole: "administrator";
|
|
209
|
+
};
|
|
210
|
+
readonly actionIds: readonly ["apiKeys.read", "apiKeys.readAccessLogs", "apiKeys.manageContentKeys", "apiKeys.managePreviewKey", "apiKeys.manageManagementKeys"];
|
|
211
|
+
};
|
|
212
|
+
readonly "settings.backup": {
|
|
213
|
+
readonly surfaceId: "settings.backup";
|
|
214
|
+
readonly navVisibilityPolicy: {
|
|
215
|
+
readonly kind: "roleAtLeast";
|
|
216
|
+
readonly minimumRole: "owner";
|
|
217
|
+
};
|
|
218
|
+
readonly pageAccessPolicy: {
|
|
219
|
+
readonly kind: "siteRecordOwner";
|
|
220
|
+
};
|
|
221
|
+
readonly actionIds: readonly ["backup.export", "backup.import"];
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
export declare const SETTINGS_ACTION_POLICIES: {
|
|
225
|
+
readonly "privacy.update": {
|
|
226
|
+
readonly kind: "roleAtLeast";
|
|
227
|
+
readonly minimumRole: "administrator";
|
|
228
|
+
};
|
|
229
|
+
readonly "emails.read": {
|
|
230
|
+
readonly kind: "roleAtLeast";
|
|
231
|
+
readonly minimumRole: "administrator";
|
|
232
|
+
};
|
|
233
|
+
readonly "emails.update": {
|
|
234
|
+
readonly kind: "roleAtLeast";
|
|
235
|
+
readonly minimumRole: "administrator";
|
|
236
|
+
};
|
|
237
|
+
readonly "apiKeys.read": {
|
|
238
|
+
readonly kind: "roleAtLeast";
|
|
239
|
+
readonly minimumRole: "editor";
|
|
240
|
+
};
|
|
241
|
+
readonly "apiKeys.readAccessLogs": {
|
|
242
|
+
readonly kind: "roleAtLeast";
|
|
243
|
+
readonly minimumRole: "editor";
|
|
244
|
+
};
|
|
245
|
+
readonly "apiKeys.manageContentKeys": {
|
|
246
|
+
readonly kind: "roleAtLeast";
|
|
247
|
+
readonly minimumRole: "administrator";
|
|
248
|
+
};
|
|
249
|
+
readonly "apiKeys.managePreviewKey": {
|
|
250
|
+
readonly kind: "roleAtLeast";
|
|
251
|
+
readonly minimumRole: "administrator";
|
|
252
|
+
};
|
|
253
|
+
readonly "apiKeys.manageManagementKeys": {
|
|
254
|
+
readonly kind: "roleAtLeast";
|
|
255
|
+
readonly minimumRole: "administrator";
|
|
256
|
+
};
|
|
257
|
+
readonly "backup.export": {
|
|
258
|
+
readonly kind: "siteRecordOwner";
|
|
259
|
+
};
|
|
260
|
+
readonly "backup.import": {
|
|
261
|
+
readonly kind: "siteRecordOwner";
|
|
262
|
+
};
|
|
263
|
+
readonly "fonts.upload": {
|
|
264
|
+
readonly kind: "roleAtLeast";
|
|
265
|
+
readonly minimumRole: "editor";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
export declare function getSettingsSurfacePolicy(surfaceId: DashboardSettingsNavSurfaceId): SettingsSurfacePolicy;
|
|
269
|
+
export declare function getSettingsSurfaceNavPolicy(surfaceId: DashboardSettingsNavSurfaceId): SettingsRolePermissionPolicy;
|
|
270
|
+
export declare function getSettingsSurfacePagePolicy(surfaceId: DashboardSettingsNavSurfaceId): SettingsPermissionPolicy;
|
|
271
|
+
export declare function getSettingsActionPolicy(actionId: SettingsActionId): SettingsPermissionPolicy;
|
|
272
|
+
export declare function getRolePolicyMinimumRole(policy: SettingsPermissionPolicy): SiteRole | null;
|
|
273
|
+
export declare function isSettingsRolePolicyAllowed(role: SiteRole | null, policy: SettingsRolePermissionPolicy): boolean;
|
|
@@ -11,9 +11,11 @@ export type * from "./aiEndpoints";
|
|
|
11
11
|
export type * from "./apiEndpointTypes";
|
|
12
12
|
export type * from "./bookingAdjustments";
|
|
13
13
|
export type * from "./bookingConfig";
|
|
14
|
+
export type * from "./event-listing-destination";
|
|
14
15
|
export type * from "./bookingVerticals";
|
|
15
16
|
export type * from "./bookingManagementEndpoints";
|
|
16
17
|
export type * from "./bookingOperations";
|
|
18
|
+
export { APPOINTMENT_HISTORY_STATUS_VALUES } from "./bookingOperations";
|
|
17
19
|
export type * from "./bookingRecords";
|
|
18
20
|
export type * from "./commercePortalEndpoints";
|
|
19
21
|
export type * from "./communications";
|
|
@@ -36,7 +38,8 @@ export type * from "./siteRuntimeEndpoints";
|
|
|
36
38
|
export { FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES } from "./siteOperations";
|
|
37
39
|
export type { AppointmentBlackout, AvailabilityScheduleSettings, CreateBlackoutResponse, CreateBlackoutRequest, DeleteBlackoutResponse, GetAvailableSlotsQuery, GetAvailableSlotsResponse, ListAvailabilityRulesResponse, ListBlackoutsResponse, SetWeeklyAvailabilityIssue, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, TimeSlot, ServiceSpecificAvailabilityScheduleSettings, WeeklyAvailabilityWindowInput, } from "./availability";
|
|
38
40
|
export type { CalendarConnectionStatus, CalendarInfo, CalendarPreferences, CalendarStatusResponse, DisconnectCalendarResponse, UpdateCalendarPreferencesRequest, UpdateCalendarPreferencesResponse, } from "./calendar";
|
|
39
|
-
export type { AppointmentRecord, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingQuestionsRequirementConfig, BookingCustomerRecord, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingRequirementValidityPolicy, ConsentRequirementConfig, CreateAppointmentRequest, CreateAppointmentResponse, } from "./bookings";
|
|
41
|
+
export type { AppointmentRecord, AppointmentStatus, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingQuestionsRequirementConfig, BookingCustomerRecord, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingRequirementValidityPolicy, ConsentRequirementConfig, CreateAppointmentRequest, CreateAppointmentResponse, } from "./bookings";
|
|
42
|
+
export { APPOINTMENT_STATUS_VALUES } from "./bookings";
|
|
40
43
|
export type { AiPatchApplyResponse, AiPatchBlockSetOp, AiPatchDryRunResponse, AiPatchOp, AiPatchPageMetaOp, AiPatchRequest, } from "./aiPatch";
|
|
41
44
|
export type { AffectedOccurrence, AiDesignerThemePatchOp, AllowedField, ApplyAiDesignerPageOpsRequest, ApplyAiDesignerPageOpsResponse, ApplyAiDesignerThemePatchRequest, ApplyAiDesignerThemePatchResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BlockContext, DebugArtifact, DebugArtifacts, ModifiedOccurrence, MultiPagePatchEnvelope, MultiPageUpdateResponse, PageBlock, PageContext, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConversionSuccess, PageConvertJob, PageConvertJobEvent, PageConvertJobEventsResponse, PageConvertJobEventType, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobStatus, PageConverterOutput, PageConvertResponse, PlaygroundProposeRequest, RegenerationSummary, Rfc6902PatchOp, SchedulePreviewRequest, SchedulePreviewResponse, StreamEvent, } from "./aiPlayground";
|
|
42
45
|
export type { ApplySeoChangesRequest, ApplySeoChangesResponse, PerformanceOverviewQuery, PerformanceOverviewResponse, PerformanceRangePreset, SeoOverviewQuery, SeoOverviewResponse, SeoOverviewTimePoint, SeoRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, } from "./seo";
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* and derive the API URL from the dashboard URL to avoid duplicate env vars.
|
|
6
6
|
*/
|
|
7
7
|
import { type SurfaceId } from '../../surfaces/src/index';
|
|
8
|
+
import type { Brand } from '../../core/src/index';
|
|
9
|
+
export type CmsApiBaseUrl = Brand<string, 'CmsApiBaseUrl'>;
|
|
8
10
|
/**
|
|
9
11
|
* Normalize a public dashboard URL/env value to an origin.
|
|
10
12
|
*
|
|
@@ -13,7 +15,8 @@ import { type SurfaceId } from '../../surfaces/src/index';
|
|
|
13
15
|
* `http`; other bare authorities default to `https`.
|
|
14
16
|
*/
|
|
15
17
|
export declare function normalizeDashboardOrigin(input: string): string;
|
|
16
|
-
export declare function deriveCmsApiUrlFromDashboardUrl(input: string):
|
|
18
|
+
export declare function deriveCmsApiUrlFromDashboardUrl(input: string): CmsApiBaseUrl | '';
|
|
19
|
+
export declare function normalizeCmsApiBaseUrl(input: string): CmsApiBaseUrl;
|
|
17
20
|
/**
|
|
18
21
|
* Get the public, user-facing dashboard origin from environment.
|
|
19
22
|
*
|
|
@@ -30,7 +33,7 @@ export declare function getDashboardBaseUrl(): string;
|
|
|
30
33
|
* @returns API base URL (e.g., 'http://localhost:4000/api' or '/api' in browser)
|
|
31
34
|
* @throws Error if neither CMS_API_URL nor NEXT_PUBLIC_DASHBOARD_URL is configured (server-side only)
|
|
32
35
|
*/
|
|
33
|
-
export declare function getCmsApiUrl():
|
|
36
|
+
export declare function getCmsApiUrl(): CmsApiBaseUrl;
|
|
34
37
|
/**
|
|
35
38
|
* Get a full dashboard URL for a path within the authenticated dashboard surface (`/dashboard/*`).
|
|
36
39
|
*
|
|
@@ -82,4 +85,4 @@ export declare const getDashboardUrl: typeof getAbsoluteDashboardUrl;
|
|
|
82
85
|
/**
|
|
83
86
|
* @deprecated Use getCmsApiUrl() instead - this alias is maintained for backwards compatibility.
|
|
84
87
|
*/
|
|
85
|
-
export declare function resolveApiBaseUrl():
|
|
88
|
+
export declare function resolveApiBaseUrl(): CmsApiBaseUrl;
|
|
@@ -4,4 +4,5 @@ export type VisibilityValueReader = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare function isVisibleWhenPredicate(visibleWhen: FieldVisibleWhen): visibleWhen is FieldVisibleWhenPredicate;
|
|
6
6
|
export declare function getVisibleWhenPredicates(visibleWhen: FieldVisibleWhen): readonly FieldVisibleWhenPredicate[];
|
|
7
|
+
export declare function evaluateVisibleWhen(visibleWhen: FieldVisibleWhen, evaluatePredicate: (condition: FieldVisibleWhenPredicate) => boolean): boolean;
|
|
7
8
|
export declare function evaluateVisibleWhenPredicate(condition: FieldVisibleWhenPredicate, watchedValue: unknown): boolean;
|
package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts
CHANGED
|
@@ -22,5 +22,9 @@ export interface RepeaterThumbnailCardProps {
|
|
|
22
22
|
onMoveDown?: () => void;
|
|
23
23
|
disableMoveUp?: boolean;
|
|
24
24
|
disableMoveDown?: boolean;
|
|
25
|
+
mediaPickerAutoOpenRequest?: Readonly<{
|
|
26
|
+
requestId: number;
|
|
27
|
+
}> | null;
|
|
28
|
+
onMediaPickerAutoOpenHandled?: (requestId: number) => void;
|
|
25
29
|
}
|
|
26
|
-
export declare function RepeaterThumbnailCard({ index, config, backend, basePath, itemsLength, minItems, onMove, onRemove, renderChild, presentation, showReorderActions, renderDragHandle, hiddenDetailFieldIds, onMoveUp, onMoveDown, disableMoveUp, disableMoveDown, }: RepeaterThumbnailCardProps): ReactNode;
|
|
30
|
+
export declare function RepeaterThumbnailCard({ index, config, backend, basePath, itemsLength, minItems, onMove, onRemove, renderChild, presentation, showReorderActions, renderDragHandle, hiddenDetailFieldIds, onMoveUp, onMoveDown, disableMoveUp, disableMoveDown, mediaPickerAutoOpenRequest, onMediaPickerAutoOpenHandled, }: RepeaterThumbnailCardProps): ReactNode;
|
package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts
CHANGED
|
@@ -12,9 +12,17 @@ export interface RepeaterThumbnailGridProps {
|
|
|
12
12
|
minItems: number;
|
|
13
13
|
onMove: (from: number, to: number) => void;
|
|
14
14
|
onRemove: (index: number) => void;
|
|
15
|
+
onAdd: () => void;
|
|
16
|
+
mediaPickerAutoOpenRequest?: ThumbnailGridMediaPickerAutoOpenRequest;
|
|
17
|
+
onMediaPickerAutoOpenHandled?: (requestId: number) => void;
|
|
15
18
|
renderChild: (field: FieldConfig, path: string) => ReactNode;
|
|
16
19
|
presentation: Extract<RepeaterPresentationConfig, {
|
|
17
20
|
mode: 'thumbnailGrid';
|
|
18
21
|
}>;
|
|
19
22
|
}
|
|
20
|
-
export
|
|
23
|
+
export type ThumbnailGridMediaPickerAutoOpenRequest = Readonly<{
|
|
24
|
+
kind: 'open-thumbnail-media-picker';
|
|
25
|
+
targetIndex: number;
|
|
26
|
+
requestId: number;
|
|
27
|
+
}> | null;
|
|
28
|
+
export declare function RepeaterThumbnailGrid({ config, backend, basePath, items, minItems, onMove, onRemove, onAdd, mediaPickerAutoOpenRequest, onMediaPickerAutoOpenHandled, renderChild, presentation, }: RepeaterThumbnailGridProps): ReactNode;
|
|
@@ -8,4 +8,5 @@ export { RepeaterRowContent } from './RepeaterRowContent';
|
|
|
8
8
|
export { RepeaterLayoutGrid } from './RepeaterLayoutGrid';
|
|
9
9
|
export type { RepeaterLayoutGridCapacityContext } from './RepeaterLayoutGrid';
|
|
10
10
|
export { RepeaterThumbnailGrid } from './RepeaterThumbnailGrid';
|
|
11
|
+
export type { ThumbnailGridMediaPickerAutoOpenRequest } from './RepeaterThumbnailGrid';
|
|
11
12
|
export { RepeaterTabbedEditDialog } from './RepeaterTabbedEditDialog';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ResponsiveSlidesToShow } from '../system/runtime/nodes/carousel.shared';
|
|
2
2
|
import { type EventAutoApplyDiscountPreview } from '../system/blocks/event-details';
|
|
3
|
-
import type {
|
|
3
|
+
import type { PublicMembershipProductCollection, PublicPassProductCollection } from '../system/blocks/shop.shared';
|
|
4
4
|
import type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
5
5
|
import type { OccurrenceContextLike } from '../system/runtime/nodes/event-details/logic';
|
|
6
6
|
import type { LocationMapHydrationProps } from '../system/runtime/nodes/location-map.shared';
|
|
@@ -40,12 +40,8 @@ export type EventDetailsIslandProps = Readonly<{
|
|
|
40
40
|
showCost?: boolean;
|
|
41
41
|
showAcceptedPasses?: boolean;
|
|
42
42
|
showAcceptedMemberships?: boolean;
|
|
43
|
-
sitePasses?:
|
|
44
|
-
|
|
45
|
-
}> | null;
|
|
46
|
-
siteMemberships?: Readonly<{
|
|
47
|
-
memberships: readonly PublicMembershipProduct[];
|
|
48
|
-
}> | null;
|
|
43
|
+
sitePasses?: PublicPassProductCollection | null;
|
|
44
|
+
siteMemberships?: PublicMembershipProductCollection | null;
|
|
49
45
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
50
46
|
className?: string | null;
|
|
51
47
|
nowIso?: string;
|
|
@@ -112,10 +108,10 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
112
108
|
showAcceptedPasses?: boolean;
|
|
113
109
|
showAcceptedMemberships?: boolean;
|
|
114
110
|
sitePasses?: Readonly<{
|
|
115
|
-
passes: readonly PublicPassProduct[];
|
|
111
|
+
passes: readonly import("..").PublicPassProduct[];
|
|
116
112
|
}> | null;
|
|
117
113
|
siteMemberships?: Readonly<{
|
|
118
|
-
memberships: readonly PublicMembershipProduct[];
|
|
114
|
+
memberships: readonly import("..").PublicMembershipProduct[];
|
|
119
115
|
}> | null;
|
|
120
116
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
121
117
|
className?: string | null;
|
|
@@ -137,10 +133,10 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
137
133
|
showAcceptedPasses?: boolean;
|
|
138
134
|
showAcceptedMemberships?: boolean;
|
|
139
135
|
sitePasses?: Readonly<{
|
|
140
|
-
passes: readonly PublicPassProduct[];
|
|
136
|
+
passes: readonly import("..").PublicPassProduct[];
|
|
141
137
|
}> | null;
|
|
142
138
|
siteMemberships?: Readonly<{
|
|
143
|
-
memberships: readonly PublicMembershipProduct[];
|
|
139
|
+
memberships: readonly import("..").PublicMembershipProduct[];
|
|
144
140
|
}> | null;
|
|
145
141
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
146
142
|
className?: string | null;
|
|
@@ -433,6 +433,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
433
433
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
434
434
|
startOfWeek: import("..").WeekStart;
|
|
435
435
|
calendarTabViews: import("..").CalendarTabViews;
|
|
436
|
+
defaultCalendarView: import("..").CalendarView;
|
|
436
437
|
showFilters: boolean;
|
|
437
438
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
438
439
|
showVenueFilter: boolean;
|
|
@@ -482,6 +483,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
482
483
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
483
484
|
startOfWeek: import("..").WeekStart;
|
|
484
485
|
calendarTabViews: import("..").CalendarTabViews;
|
|
486
|
+
defaultCalendarView: import("..").CalendarView;
|
|
485
487
|
showFilters: boolean;
|
|
486
488
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
487
489
|
showVenueFilter: boolean;
|
|
@@ -982,6 +984,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
982
984
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
983
985
|
startOfWeek: import("..").WeekStart;
|
|
984
986
|
calendarTabViews: import("..").CalendarTabViews;
|
|
987
|
+
defaultCalendarView: import("..").CalendarView;
|
|
985
988
|
showFilters: boolean;
|
|
986
989
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
987
990
|
showVenueFilter: boolean;
|
|
@@ -1030,6 +1033,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1030
1033
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1031
1034
|
startOfWeek: import("..").WeekStart;
|
|
1032
1035
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1036
|
+
defaultCalendarView: import("..").CalendarView;
|
|
1033
1037
|
showFilters: boolean;
|
|
1034
1038
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1035
1039
|
showVenueFilter: boolean;
|
|
@@ -1483,6 +1487,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1483
1487
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1484
1488
|
startOfWeek: import("..").WeekStart;
|
|
1485
1489
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1490
|
+
defaultCalendarView: import("..").CalendarView;
|
|
1486
1491
|
showFilters: boolean;
|
|
1487
1492
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1488
1493
|
showVenueFilter: boolean;
|
|
@@ -1532,6 +1537,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1532
1537
|
paginationAction: import("../system/runtime/nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1533
1538
|
startOfWeek: import("..").WeekStart;
|
|
1534
1539
|
calendarTabViews: import("..").CalendarTabViews;
|
|
1540
|
+
defaultCalendarView: import("..").CalendarView;
|
|
1535
1541
|
showFilters: boolean;
|
|
1536
1542
|
showCategoryFilter: import("..").FilterAutoShow;
|
|
1537
1543
|
showVenueFilter: boolean;
|
|
@@ -24,6 +24,7 @@ export * from '../../theme-core/src/footer/mode';
|
|
|
24
24
|
export * from '../../theme-core/src/ThemeScope';
|
|
25
25
|
export * from '../../theme-core/src/ThemeFontLoader';
|
|
26
26
|
export * from '../../theme-core/src/ThemeScopeCore';
|
|
27
|
+
export * from '../../theme-core/src/ResponsiveScope';
|
|
27
28
|
export * from '../../theme-core/src/themeScopeUtils';
|
|
28
29
|
export * from '../../theme-core/src/fonts/index';
|
|
29
30
|
export * from '../../theme-core/src/runtime/buildThemeRuntime';
|
|
@@ -69,7 +70,7 @@ export { defineFrameCapability, flushPanelFrame, panelFrame, plainFrame, resolve
|
|
|
69
70
|
export type { ContentFrameIntent, FlushFrameTreatment, FlushPanelFrameIntent, FrameBleedEdge, FrameCapability, FrameDecisionFor, FrameKind, PanelFrameIntent, PanelFrameTreatment, PlainFrameIntent, ResolvedFlushPanelFrame, ResolvedFrameStyles, ResolvedPanelFrame, ResolvedPlainFrame, SectionPaddingX, FrameSurfaceOwner, } from './system/frame/frameStyles';
|
|
70
71
|
export { resolveBackground, SectionBackground, type BackgroundInput, type ResolvedBackground, type SectionBackgroundProps, } from './system/helpers';
|
|
71
72
|
export type { SectionStylesContent } from './system/fields/boxStyles';
|
|
72
|
-
export { eventCalendarDisplayModeValues, eventCalendarListLayoutAppliesToDisplayMode, eventCalendarListLayoutCompatibleDisplayModeValues, eventCalendarListLayoutOptions, eventCalendarListLayoutValues, getPreviewContext, isEventCalendarDisplayMode, isEventCalendarListLayout, isEventContentType, type EventCalendarDisplayMode, type EventCalendarListLayout, type PreviewContext, } from './system/constants/events';
|
|
73
|
+
export { eventCalendarDisplayModeValues, eventCalendarDefaultViewValues, eventCalendarListLayoutAppliesToDisplayMode, eventCalendarListLayoutCompatibleDisplayModeValues, eventCalendarListLayoutOptions, eventCalendarListLayoutValues, getPreviewContext, isEventCalendarDefaultView, isEventCalendarDisplayMode, isEventCalendarListLayout, isEventContentType, type EventCalendarDefaultView, type EventCalendarDisplayMode, type EventCalendarListLayout, type PreviewContext, } from './system/constants/events';
|
|
73
74
|
export { eventCalendarListLayoutFacet, defineCustomizeFacet, isSystemCustomizeFacetId, isSystemCustomizeFacetValue, parseSystemCustomizeFacetSelection, systemCustomizeFacetApplyContentPatch, systemCustomizeFacetAppliesToLayoutVariant, systemCustomizeFacetCurrentValue, systemCustomizeFacetDefinitionForBlock, systemCustomizeFacetDefinitionForId, systemCustomizeFacetDefinitions, systemCustomizeFacetDefinitionsForBlock, systemCustomizeFacetIds, systemCustomizeFacetLabelForValue, systemCustomizeFacetNextValue, systemCustomizeFacetRollbackContentPatch, systemCustomizeFacetValues, type EventCalendarListLayoutCustomizeFacetTarget, type CustomizeFacetContent, type CustomizeFacetCycleDirection, type CustomizeFacetDefinition, type CustomizeFacetTarget, type CustomizeFacetValueOption, type ParseSystemCustomizeFacetSelectionResult, type SystemCustomizeFacetBlockKind, type SystemCustomizeFacetDefinition, type SystemCustomizeFacetHistorySelection, type SystemCustomizeFacetId, type SystemCustomizeFacetSelection, type SystemCustomizeFacetTransition, type SystemCustomizeFacetValue, } from './system/customize/facets';
|
|
74
75
|
export { BACKGROUND_MODES, DEFAULT_BACKGROUND_OVERRIDE, applyBackgroundOverrideContentPatch, backgroundModeForOverride, defaultBackgroundOverrideForMode, enabledBackgroundModes, isGradientPresetId, parseBackgroundOverride, parseGradientPresetId, planBackgroundTransition, rankBackgroundImagePoolItems, serializeBackgroundOverride, type BackgroundCapability, type BackgroundCustomizeContent, type BackgroundImagePoolItem, type BackgroundImagePoolSource, type BackgroundMode, type BackgroundModeCycleDirection, type BackgroundOverride, type BackgroundPersistenceSideEffect, type BackgroundTransitionAction, type BackgroundTransitionBlockedReason, type BackgroundTransitionPlan, type GradientPresetId, type LegacyBackgroundReason, type ParsedBackgroundOverride, } from './system/customize/backgrounds';
|
|
75
76
|
export { transformSdkBlockToManifest, transformSdkBlockToDefinition, } from './sdkBlockTransform';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EventCategoryId, VenueId } from '../../../../../core/src/index';
|
|
2
2
|
import type { SystemBlockDefinition } from '../../registry';
|
|
3
3
|
import { type SectionStylesContent } from '../../fields/boxStyles';
|
|
4
|
-
import type { DisplayMode, EventLayout, ColumnOption, WeekStart, FilterAutoShow, CalendarTabViews, ButtonVariant, EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './shared/types';
|
|
4
|
+
import type { DisplayMode, EventLayout, ColumnOption, WeekStart, FilterAutoShow, CalendarTabViews, CalendarView, ButtonVariant, EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './shared/types';
|
|
5
5
|
import { eventCalendarBlockRuntime } from '../../runtime/nodes/events/EventCalendar.interactive';
|
|
6
6
|
export declare function normalizeEventCalendarContent(content: unknown): EventCalendarContent;
|
|
7
7
|
export declare const eventCalendarManifest: import("../..").DefinedBlockManifest<{
|
|
@@ -13,9 +13,7 @@ export declare const eventCalendarManifest: import("../..").DefinedBlockManifest
|
|
|
13
13
|
readonly options: readonly [{
|
|
14
14
|
readonly value: "combined";
|
|
15
15
|
}, {
|
|
16
|
-
readonly value: "
|
|
17
|
-
}, {
|
|
18
|
-
readonly value: "week";
|
|
16
|
+
readonly value: "calendar";
|
|
19
17
|
}, {
|
|
20
18
|
readonly value: "timetable";
|
|
21
19
|
}, {
|
|
@@ -29,11 +27,20 @@ export declare const eventCalendarManifest: import("../..").DefinedBlockManifest
|
|
|
29
27
|
readonly options: {
|
|
30
28
|
value: "compact" | "grid" | "stack";
|
|
31
29
|
}[];
|
|
30
|
+
}, {
|
|
31
|
+
readonly id: "defaultCalendarView";
|
|
32
|
+
readonly type: "select";
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly multiple: false;
|
|
35
|
+
readonly options: readonly [{
|
|
36
|
+
readonly value: "month";
|
|
37
|
+
}, {
|
|
38
|
+
readonly value: "week";
|
|
39
|
+
}];
|
|
32
40
|
}];
|
|
33
41
|
readonly variants: {
|
|
34
42
|
readonly combined: import("../..").NodeDefinition;
|
|
35
|
-
readonly
|
|
36
|
-
readonly week: import("../..").NodeDefinition;
|
|
43
|
+
readonly calendar: import("../..").NodeDefinition;
|
|
37
44
|
readonly timetable: import("../..").NodeDefinition;
|
|
38
45
|
readonly list: import("../..").NodeDefinition;
|
|
39
46
|
};
|
|
@@ -54,6 +61,7 @@ export type EventCalendarContent = {
|
|
|
54
61
|
loadMoreText?: string | null;
|
|
55
62
|
startOfWeek?: WeekStart | null;
|
|
56
63
|
calendarTabViews?: CalendarTabViews | null;
|
|
64
|
+
defaultCalendarView?: CalendarView | null;
|
|
57
65
|
showFilters?: boolean | null;
|
|
58
66
|
showCategoryFilter?: FilterAutoShow | null;
|
|
59
67
|
showVenueFilter?: boolean | null;
|