@riverbankcms/sdk 0.158.0 → 0.160.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 +25 -6
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-CoqeotCL.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-C0ENVLCF.d.ts} +13 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-jZK0A49V.d.ts} +54 -126
- package/dist/_dts/{client-B960v2gW.d.ts → client-uMMuPq9V.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-D6nXGqdQ.d.ts} +18 -18
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-Bnmj1nxu.d.ts} +6 -5
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-CeLjFX8b.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-nyU8q02J.d.ts} +5 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-BaaGBY1v.d.ts} +2 -2
- package/dist/_dts/{index-DCNu_8it.d.ts → index-Bg64CkV-.d.ts} +4 -4
- package/dist/_dts/index-Blwl7yl6.d.ts +13 -0
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-C5xslEBn.d.ts} +2 -2
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-CEaKil7G.d.ts} +2 -2
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-DahMwisK.d.ts} +3 -3
- package/dist/_dts/index-lkpjIg5i.d.ts +66 -0
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-nVoi_74l.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-CYLmzvLq.d.ts} +16 -7
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-DqnxChOs.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → schema-D0bNcPWK.d.ts} +6921 -6768
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +12 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +10 -28
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CFrYuXYP.d.ts} +2 -2
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → types-D8czmbQF.d.ts} +15430 -16836
- package/dist/_dts/{types-BY7PgnDi.d.ts → types-DSgmJ15W.d.ts} +7 -7
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-Dm-KW7nj.d.ts} +10 -13
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Bmb4WnHg.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-C00sLLdL.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-CHSi9b3E.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-Bhm6RAUL.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-ClxN5_xZ.mjs} +1 -1
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BncvSa1n.mjs} +10 -9
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DluBxVVu.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-BiJrMtfp.mjs} +1 -1
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-CXhnT9pF.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-V-dtoDlD.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-DPO6SZbx.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-B-Yi5JZS.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-Dc3Fnlnw.mjs} +189 -176
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-ClZCCzAm.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-7PkzO04N.mjs} +1949 -2074
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-DiD6euZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-BHd8GN8y.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → ThemedButton-C22C9cCF.mjs} +174 -93
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-2m27DsIk.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BddWV5w1.mjs} +12 -12
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-bcdXQjmw.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-D7nj9I0y.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-AffDJo_s.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-PN6yCw1H.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-D4t1f0cJ.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-CsTwXVSb.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-BhQE3zY7.mjs} +1 -1
- package/dist/client/client.mjs +25 -13
- package/dist/client/{context-CVsgML69.mjs → context-BLAvalAa.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-CUXhX_D7.mjs} +2 -1
- package/dist/client/dateFormatting-BHIHxNuo.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-R-awbk_0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-9Q93uvTo.mjs} +3 -3
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-BS1WtG-a.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-BXndwsET.mjs} +35 -21
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-HyoOt1Qz.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-sdG5oEaH.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-FFAknE4w.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-CGK6urk3.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-VhrvCs4l.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-C-B5O_ko.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-DoZVcl8d.mjs} +5 -5
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-mttKpgif.mjs} +3 -3
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-xUSCknEO.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-BHUEXsaI.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-Cylb_MHw.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-Cx4Bl7ij.mjs} +69 -6
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-QnKJi-nZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-D_n0rftg.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-DKHye4IE.mjs} +2 -2
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-tEaYelzx.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-B610YKEx.mjs} +12 -5
- package/dist/client/portal/client.mjs +4562 -174
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-DUf5x5Jt.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-Cqp1BPTV.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-B8bBiogP.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BKN4D-1z.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-2nNZh2Oe.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BAm4RPNJ.mjs} +856 -872
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +47 -28
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cv-qomNB.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-C5u8MbAA.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-DZNC0VKk.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-DdX4LSa3.mjs} +12 -12
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store-BJtrZov9.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-DmDd-igg.mjs} +16 -15
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-5SnnDHz3.mjs} +402 -35
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-CPqUlAh9.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-C19rcHEw.mjs +960 -0
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-BjbJXotk.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-CMgfL7YJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-KG8jB7WC.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DK2w_i0a.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DW6MCirb.mjs} +11 -10
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-hJr_L4QC2.mjs → view-CkUn3Y0Y.mjs} +4 -4
- package/dist/client/{view-BPEa6Okm.mjs → view-CseyBW07.mjs} +15 -70
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-zgq10lN1.mjs} +262 -65
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-lUHBrzHv.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DWyUGCAG.mjs} +1217 -107
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-Wq0b3Daw.mjs} +52 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-BtZPcwYV.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-wSI_R361.mjs} +720 -2035
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-Hc4pYnNe.mjs} +14365 -8155
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-DzeycIlD.mjs} +204 -93
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-Corq4AG7.mjs} +3 -8
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-CWymRWhK.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +1359 -0
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-C4If5Y-O.mjs} +1 -1
- package/dist/preview-next/editor-base.css +62 -0
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-8csADeIT.mjs} +149 -112
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-D1_gonwM.mjs} +6 -6
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-CFmJg5lm.mjs} +2 -2
- package/dist/server/{client-CU4wlMLE.mjs → client-DPsi0Dai.mjs} +9 -7
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-RMCcuVU_.mjs} +33 -20
- package/dist/server/loadPage-DUPP51C-.mjs +2 -0
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-DhDGzj7t.mjs} +8 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +13 -12
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-OxY5FMuy.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-Bz_A6sB9.mjs} +586 -518
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-B_1vrSru.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-B7ukYXXR.mjs} +841 -887
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-Djbpc81A.mjs} +166 -129
- package/dist/server/{blocks-jlIm0PWc.mjs → registry-eFjKtEhF.mjs} +2349 -1716
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-DYvEa9c5.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-C3dJ5UkL.mjs} +148 -88
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → siteChromeOverlayClearance-DALIAMwo.mjs} +108 -11
- package/dist/server/{src-B935_bzN.mjs → src-C5Mu-z0F.mjs} +268 -189
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-ruoyXb_0.mjs} +9 -7
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-Cm41pDUB.mjs → validation-B-Xar8QS.mjs} +22 -63
- package/dist/server/{version-Bo9C3McI.mjs → version-Bg7VHK3i.mjs} +1 -1
- package/dist/styles/index.css +78 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/timetableModel-D7PwpaBY.mjs +0 -480
- package/dist/preview-next/client/siteStyleAccess-CRXaC2oL.mjs +0 -1326
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ho as Primitive, hs as cn, rs as LoaderCircle } from "./SiteChromeCustomizeContext-Hc4pYnNe.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -2,9 +2,20 @@
|
|
|
2
2
|
* Preview/dev-only chrome styles live in editor-chrome.css.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
@import "./upload-structure.css";
|
|
6
|
+
|
|
5
7
|
/* Base CSS variables used throughout the editor UI */
|
|
6
8
|
/* Dashboard/editor palette anchored around teal accents with neutral white surfaces. */
|
|
7
9
|
:root {
|
|
10
|
+
--upload-tray: var(--background);
|
|
11
|
+
--upload-row-hover: var(--table-row-hover-background, var(--muted));
|
|
12
|
+
--upload-track: color-mix(in srgb, var(--primary) 14%, var(--card));
|
|
13
|
+
--upload-attention: #9a4330;
|
|
14
|
+
--upload-attention-wash: #fbf1ea;
|
|
15
|
+
--upload-attention-soft: #f3e1d5;
|
|
16
|
+
--upload-new-wash: var(--studio-field, var(--muted));
|
|
17
|
+
--upload-ease: cubic-bezier(.2, .7, .3, 1);
|
|
18
|
+
|
|
8
19
|
/* Backgrounds - Keep white */
|
|
9
20
|
--background: oklch(1 0 0);
|
|
10
21
|
--foreground: oklch(0.35 0.02 30); /* Dark brown #4f3d3d */
|
|
@@ -152,6 +163,9 @@
|
|
|
152
163
|
|
|
153
164
|
/* Dark mode overrides - Earthy palette adjusted for dark backgrounds */
|
|
154
165
|
.dark {
|
|
166
|
+
--upload-attention: #e6a08c;
|
|
167
|
+
--upload-attention-wash: color-mix(in srgb, #9a4330 12%, var(--card));
|
|
168
|
+
--upload-attention-soft: color-mix(in srgb, #9a4330 22%, var(--card));
|
|
155
169
|
--background: oklch(0.20 0.02 30); /* Very dark brown */
|
|
156
170
|
--foreground: oklch(0.92 0.02 55); /* Light cream */
|
|
157
171
|
|
|
@@ -360,3 +374,51 @@
|
|
|
360
374
|
outline: 2px solid var(--inverse-foreground);
|
|
361
375
|
outline-offset: 2px;
|
|
362
376
|
}
|
|
377
|
+
|
|
378
|
+
/* Shared compact upload rows. Colours follow the current editor surface. */
|
|
379
|
+
.rb-upload-progress { background: var(--upload-track); }
|
|
380
|
+
.rb-upload-progress-fill { background: var(--primary); transition: width .3s var(--upload-ease); }
|
|
381
|
+
.rb-upload-progress[data-waiting] { background: color-mix(in srgb, var(--upload-track) 55%, var(--card)); }
|
|
382
|
+
.rb-upload-progress[data-indeterminate] .rb-upload-progress-fill { position: absolute; width: 45%; background: linear-gradient(90deg, transparent, var(--primary) 60%, transparent); animation: rb-upload-comet 1.6s var(--upload-ease) infinite; }
|
|
383
|
+
.rb-upload-row { display: grid; grid-template-columns: 28px minmax(0,1fr) var(--upload-status-col,6.6em) 28px; gap: 12px; align-items: center; padding: 7px 8px; min-height: 44px; border-radius: 10px; transition: background-color .15s; }
|
|
384
|
+
.rb-upload-row:hover, .rb-upload-row:focus-within { background: var(--upload-row-hover); }
|
|
385
|
+
.rb-upload-row[data-failed] { background: var(--upload-attention-wash); align-items: start; }
|
|
386
|
+
.rb-upload-row[data-failed]:hover, .rb-upload-row[data-failed]:focus-within { background: color-mix(in srgb, var(--upload-attention-wash) 94%, var(--foreground)); }
|
|
387
|
+
.rb-upload-row[data-single], .rb-upload-row[data-review] { --upload-status-col: auto; }
|
|
388
|
+
.rb-upload-thumb { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 7px; background: var(--muted); color: var(--muted-foreground); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--foreground) 7%, transparent); }
|
|
389
|
+
.rb-upload-thumb[data-failed] { background: var(--upload-attention-soft); color: var(--upload-attention); }
|
|
390
|
+
.rb-upload-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted-foreground); }
|
|
391
|
+
.rb-upload-icon:hover { background: var(--muted); color: var(--foreground); }
|
|
392
|
+
.rb-upload-icon:focus-visible { outline: 2px solid var(--studio-accent, var(--ring)); outline-offset: 2px; }
|
|
393
|
+
.rb-upload-link { color: var(--foreground); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
|
|
394
|
+
.rb-upload-scroll { max-height: 196px; overflow-y: auto; padding: 0 16px 10px; }
|
|
395
|
+
.rb-upload-scroll[data-overflow] { mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); }
|
|
396
|
+
.rb-upload-summary { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 24px 6px; text-align: left; font-size: 13.5px; }
|
|
397
|
+
.rb-upload-summary .rb-upload-icon { background: var(--muted); }
|
|
398
|
+
.rb-upload-summary-bar { display: none; }
|
|
399
|
+
.rb-upload-new { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
|
|
400
|
+
.rb-upload-new-caption { background: var(--upload-new-wash); }
|
|
401
|
+
@media (max-width: 639px) {
|
|
402
|
+
.rb-upload-list[data-phone-collapsed] .rb-upload-scroll { display: none; }
|
|
403
|
+
.rb-upload-list[data-phone-collapsed] .rb-upload-summary-bar { display: block; flex: 1; }
|
|
404
|
+
.rb-upload-list[data-phone-collapsed] .rb-upload-summary-detail { display: none; }
|
|
405
|
+
.rb-upload-scroll { max-height: 160px; }
|
|
406
|
+
.rb-upload-row { gap: 8px; grid-template-columns: 28px minmax(0,1fr) auto 28px; }
|
|
407
|
+
.rb-upload-row[data-failed] > .rb-upload-status { display: none; }
|
|
408
|
+
.rb-upload-row[data-failed] > .rb-upload-icon { grid-column: 4; }
|
|
409
|
+
}
|
|
410
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
411
|
+
.rb-upload-row { animation: rb-upload-row-in .24s var(--upload-ease) both; }
|
|
412
|
+
.rb-upload-row[data-leaving] { animation: rb-upload-row-out .32s ease-in forwards; overflow: hidden; }
|
|
413
|
+
.rb-upload-new, [data-new].border { animation: rb-upload-tile-settle .5s var(--upload-ease) both; }
|
|
414
|
+
}
|
|
415
|
+
@media (prefers-reduced-motion: reduce) {
|
|
416
|
+
.rb-upload-progress[data-indeterminate] .rb-upload-progress-fill { animation: none; width: 100%; opacity: .35; }
|
|
417
|
+
.rb-upload-progress-fill { transition: none; }
|
|
418
|
+
}
|
|
419
|
+
@keyframes rb-upload-comet { from { transform: translateX(-100%); } to { transform: translateX(225%); } }
|
|
420
|
+
@keyframes rb-upload-row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
421
|
+
@keyframes rb-upload-row-out { 0% { opacity: 1; max-height: 150px; } 45% { opacity: 0; max-height: 150px; padding-block: 7px; } 100% { opacity: 0; max-height: 0; min-height: 0; padding-block: 0; } }
|
|
422
|
+
@keyframes rb-upload-tile-settle { from { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 25%, transparent); } to { box-shadow: 0 0 0 1px var(--primary); } }
|
|
423
|
+
|
|
424
|
+
[data-new].border { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
|
|
@@ -193,6 +193,91 @@
|
|
|
193
193
|
list-style-type: lower-roman;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
/*
|
|
197
|
+
* Rich text fields without a site theme (the preview sidebar) show the
|
|
198
|
+
* document's structure in dashboard type rather than imitating the site:
|
|
199
|
+
* headings stay body-sized and bold, with a small level marker in front.
|
|
200
|
+
*/
|
|
201
|
+
.builder-editor-content[data-rich-text-structure] :is(h1, h2, h3, h4, h5, h6) {
|
|
202
|
+
font-family: inherit;
|
|
203
|
+
font-size: 1em;
|
|
204
|
+
font-weight: 600;
|
|
205
|
+
line-height: 1.45;
|
|
206
|
+
letter-spacing: normal;
|
|
207
|
+
text-transform: none;
|
|
208
|
+
color: inherit;
|
|
209
|
+
margin-top: calc(var(--rt-space-y, 0.75rem) * 1.25);
|
|
210
|
+
margin-bottom: calc(var(--rt-space-y, 0.75rem) * 0.4);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.builder-editor-content[data-rich-text-structure] .ProseMirror > :first-child {
|
|
214
|
+
margin-top: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.builder-editor-content[data-rich-text-structure] :is(h1, h2, h3, h4, h5, h6)::before {
|
|
218
|
+
display: inline-block;
|
|
219
|
+
margin-right: 0.5em;
|
|
220
|
+
padding: 0 0.3rem;
|
|
221
|
+
border-radius: 0.25rem;
|
|
222
|
+
background: color-mix(in srgb, currentColor 9%, transparent);
|
|
223
|
+
color: var(--muted-foreground);
|
|
224
|
+
font-size: 0.625rem;
|
|
225
|
+
font-weight: 600;
|
|
226
|
+
line-height: 1.125rem;
|
|
227
|
+
letter-spacing: 0.03em;
|
|
228
|
+
vertical-align: 0.1em;
|
|
229
|
+
pointer-events: none;
|
|
230
|
+
user-select: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.builder-editor-content[data-rich-text-structure] h1::before { content: 'H1'; }
|
|
234
|
+
.builder-editor-content[data-rich-text-structure] h2::before { content: 'H2'; }
|
|
235
|
+
.builder-editor-content[data-rich-text-structure] h3::before { content: 'H3'; }
|
|
236
|
+
.builder-editor-content[data-rich-text-structure] h4::before { content: 'H4'; }
|
|
237
|
+
.builder-editor-content[data-rich-text-structure] h5::before { content: 'H5'; }
|
|
238
|
+
.builder-editor-content[data-rich-text-structure] h6::before { content: 'H6'; }
|
|
239
|
+
|
|
240
|
+
.builder-editor-content[data-rich-text-structure] a {
|
|
241
|
+
color: var(--primary);
|
|
242
|
+
text-decoration-line: underline;
|
|
243
|
+
text-underline-offset: 0.15em;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.builder-editor-content[data-rich-text-structure] blockquote {
|
|
247
|
+
margin: var(--rt-space-y, 0.75rem) 0;
|
|
248
|
+
padding-left: 0.875rem;
|
|
249
|
+
border-left: 3px solid var(--border);
|
|
250
|
+
color: var(--muted-foreground);
|
|
251
|
+
font-style: normal;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.builder-editor-content[data-rich-text-structure] li::marker {
|
|
255
|
+
color: var(--muted-foreground);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.builder-editor-content[data-rich-text-structure] img {
|
|
259
|
+
max-width: 100%;
|
|
260
|
+
height: auto;
|
|
261
|
+
border-radius: 0.375rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
* The editor's own dialogs already stack above the canvas chips (see
|
|
266
|
+
* chromeLayers in @riverbankcms/editor). A site's modal, such as the site
|
|
267
|
+
* header's mobile menu (open via aria-hidden=false), renders inside the
|
|
268
|
+
* preview shell and so below the chips' layer: while one is open the chips
|
|
269
|
+
* step aside. Require an open signal and let either closed signal win. The
|
|
270
|
+
* toolbar's menus and tooltips, which portal into the chrome root, are lifted
|
|
271
|
+
* above a modal so they stay visible.
|
|
272
|
+
*/
|
|
273
|
+
body:has([aria-modal="true"]:is([data-state="open"], [aria-hidden="false"]):not([aria-hidden="true"], [data-state="closed"])) [data-preview-chrome-layer] {
|
|
274
|
+
visibility: hidden;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
body:has([aria-modal="true"]:is([data-state="open"], [aria-hidden="false"]):not([aria-hidden="true"], [data-state="closed"])) #builder-editor-chrome-root [data-radix-popper-content-wrapper] {
|
|
278
|
+
z-index: 60 !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
196
281
|
/* Collapsible animations for editor UI */
|
|
197
282
|
@keyframes collapsible-down {
|
|
198
283
|
from {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-D8Ya7bO4.mjs";
|
|
2
|
-
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-
|
|
2
|
+
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-8csADeIT.mjs";
|
|
3
3
|
import { t as parsePreviewRefreshResponse } from "./refresh-contract-CvmNqZ1Q.mjs";
|
|
4
4
|
import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
|
|
5
5
|
import { NextResponse } from "next/server.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PREVIEW_CODE_PARAM } from "./constants-D8Ya7bO4.mjs";
|
|
2
|
-
import { r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-
|
|
2
|
+
import { r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-8csADeIT.mjs";
|
|
3
3
|
import { NextResponse } from "next/server.js";
|
|
4
4
|
//#region ../preview-next/src/middleware.ts
|
|
5
5
|
const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
|
|
@@ -25,6 +25,46 @@ function setPreviewAuthCookies(res, { accessToken, refreshToken }, options) {
|
|
|
25
25
|
return res;
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
28
|
+
//#region ../api/src/pageJournalEndpoints.ts
|
|
29
|
+
const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
|
|
30
|
+
replayThemeJournalChange: {
|
|
31
|
+
path: "/sites/{siteId}/theme/journal",
|
|
32
|
+
method: "POST",
|
|
33
|
+
auth: "user",
|
|
34
|
+
responseKind: "json",
|
|
35
|
+
errors: [
|
|
36
|
+
"validation:invalid_input",
|
|
37
|
+
"auth:forbidden",
|
|
38
|
+
"resource:conflict",
|
|
39
|
+
"server:internal_error"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
getPageJournalState: {
|
|
43
|
+
path: "/sites/{siteId}/pages/{pageId}/journal",
|
|
44
|
+
method: "GET",
|
|
45
|
+
auth: "user",
|
|
46
|
+
responseKind: "json",
|
|
47
|
+
errors: [
|
|
48
|
+
"resource:not_found",
|
|
49
|
+
"resource:conflict",
|
|
50
|
+
"server:internal_error"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
replayPageJournalChange: {
|
|
54
|
+
path: "/sites/{siteId}/pages/{pageId}/journal",
|
|
55
|
+
method: "POST",
|
|
56
|
+
auth: "user",
|
|
57
|
+
responseKind: "json",
|
|
58
|
+
editLease: "managed",
|
|
59
|
+
errors: [
|
|
60
|
+
"validation:invalid_input",
|
|
61
|
+
"resource:not_found",
|
|
62
|
+
"resource:conflict",
|
|
63
|
+
"server:internal_error"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
28
68
|
//#region ../api/src/apiEndpointTypes.ts
|
|
29
69
|
function allowedDemoMutationPolicy() {
|
|
30
70
|
return {
|
|
@@ -290,6 +330,57 @@ const SDK_ENTRY_READ_ENDPOINTS = {
|
|
|
290
330
|
}
|
|
291
331
|
};
|
|
292
332
|
//#endregion
|
|
333
|
+
//#region ../api/src/guardedContentReplayEndpointDefinitions.ts
|
|
334
|
+
const GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
335
|
+
restoreSurfaceSlotStructure: {
|
|
336
|
+
editLease: "managed",
|
|
337
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/restore",
|
|
338
|
+
method: "POST",
|
|
339
|
+
tags: [
|
|
340
|
+
"site-{siteId}",
|
|
341
|
+
"page-surface-{pageSurfaceId}",
|
|
342
|
+
"blocks"
|
|
343
|
+
],
|
|
344
|
+
auth: "user",
|
|
345
|
+
responseKind: "json",
|
|
346
|
+
errors: [
|
|
347
|
+
"validation:invalid_input",
|
|
348
|
+
"resource:not_found",
|
|
349
|
+
"resource:conflict"
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
restoreLiveTemplate: {
|
|
353
|
+
path: "/sites/{siteId}/content/types/{type}/template/restore",
|
|
354
|
+
method: "POST",
|
|
355
|
+
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
356
|
+
auth: "user",
|
|
357
|
+
responseKind: "json",
|
|
358
|
+
errors: [
|
|
359
|
+
"validation:invalid_input",
|
|
360
|
+
"resource:not_found",
|
|
361
|
+
"resource:conflict"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
restoreEntrySlotStructure: {
|
|
365
|
+
editLease: "managed",
|
|
366
|
+
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/restore",
|
|
367
|
+
method: "POST",
|
|
368
|
+
tags: [
|
|
369
|
+
"site-{siteId}",
|
|
370
|
+
"content-entry-{entryId}",
|
|
371
|
+
"entry-slot-{slotKey}",
|
|
372
|
+
"blocks"
|
|
373
|
+
],
|
|
374
|
+
auth: "user",
|
|
375
|
+
responseKind: "json",
|
|
376
|
+
errors: [
|
|
377
|
+
"validation:invalid_input",
|
|
378
|
+
"resource:not_found",
|
|
379
|
+
"resource:conflict"
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
//#endregion
|
|
293
384
|
//#region ../api/src/appointmentRequestEndpointDefinitions.ts
|
|
294
385
|
const APPOINTMENT_REQUEST_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
295
386
|
approveAppointmentRequest: {
|
|
@@ -1010,12 +1101,6 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1010
1101
|
"server:internal_error"
|
|
1011
1102
|
]
|
|
1012
1103
|
},
|
|
1013
|
-
cancelAppointment: {
|
|
1014
|
-
path: "/sites/{siteId}/bookings/appointments/{appointmentId}/cancel",
|
|
1015
|
-
method: "POST",
|
|
1016
|
-
auth: "user",
|
|
1017
|
-
responseKind: "json"
|
|
1018
|
-
},
|
|
1019
1104
|
rescheduleAppointment: {
|
|
1020
1105
|
path: "/sites/{siteId}/bookings/appointments/{appointmentId}/reschedule",
|
|
1021
1106
|
method: "POST",
|
|
@@ -1157,19 +1242,6 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
1157
1242
|
"server:internal_error"
|
|
1158
1243
|
]
|
|
1159
1244
|
},
|
|
1160
|
-
cancelEventSeriesRegistration: {
|
|
1161
|
-
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}/cancel",
|
|
1162
|
-
method: "POST",
|
|
1163
|
-
auth: "user",
|
|
1164
|
-
responseKind: "json",
|
|
1165
|
-
errors: [
|
|
1166
|
-
"validation:invalid_input",
|
|
1167
|
-
"auth:forbidden",
|
|
1168
|
-
"resource:not_found",
|
|
1169
|
-
"resource:conflict",
|
|
1170
|
-
"server:internal_error"
|
|
1171
|
-
]
|
|
1172
|
-
},
|
|
1173
1245
|
saveEventSeriesRegistrationAnswers: {
|
|
1174
1246
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}/answers",
|
|
1175
1247
|
method: "PUT",
|
|
@@ -2893,6 +2965,14 @@ const lifecycleErrors = [
|
|
|
2893
2965
|
"server:internal_error"
|
|
2894
2966
|
];
|
|
2895
2967
|
const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
2968
|
+
readEditAdmission: {
|
|
2969
|
+
path: "/sites/{siteId}/edit-admission",
|
|
2970
|
+
method: "GET",
|
|
2971
|
+
editLease: "lifecycle",
|
|
2972
|
+
errors: lifecycleErrors,
|
|
2973
|
+
auth: "user",
|
|
2974
|
+
responseKind: "json"
|
|
2975
|
+
},
|
|
2896
2976
|
readEditLease: {
|
|
2897
2977
|
path,
|
|
2898
2978
|
method: "GET",
|
|
@@ -3140,6 +3220,7 @@ z.object({
|
|
|
3140
3220
|
}).strict().nullable().optional()
|
|
3141
3221
|
}).strict();
|
|
3142
3222
|
const API_ENDPOINTS = {
|
|
3223
|
+
...PAGE_JOURNAL_ENDPOINT_DEFINITIONS,
|
|
3143
3224
|
...PREVIEW_AUTH_ENDPOINT_DEFINITIONS,
|
|
3144
3225
|
...SITE_LIFECYCLE_ENDPOINT_DEFINITIONS,
|
|
3145
3226
|
...CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS,
|
|
@@ -3153,57 +3234,12 @@ const API_ENDPOINTS = {
|
|
|
3153
3234
|
...EDIT_LEASE_ENDPOINT_DEFINITIONS,
|
|
3154
3235
|
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
3155
3236
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
3156
|
-
aiContentUpdateChat: {
|
|
3157
|
-
path: "/ai/content-update-chat",
|
|
3158
|
-
method: "POST",
|
|
3159
|
-
auth: "user",
|
|
3160
|
-
responseKind: "stream"
|
|
3161
|
-
},
|
|
3162
|
-
aiChat: {
|
|
3163
|
-
path: "/ai/chat",
|
|
3164
|
-
method: "POST",
|
|
3165
|
-
auth: "user",
|
|
3166
|
-
responseKind: "stream"
|
|
3167
|
-
},
|
|
3168
|
-
aiDesignerThemeApply: {
|
|
3169
|
-
path: "/sites/{siteId}/ai/designer/theme/apply",
|
|
3170
|
-
method: "POST",
|
|
3171
|
-
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme],
|
|
3172
|
-
auth: "user",
|
|
3173
|
-
responseKind: "json"
|
|
3174
|
-
},
|
|
3175
|
-
aiDesignerPageOpsApply: {
|
|
3176
|
-
editLease: "managed",
|
|
3177
|
-
path: "/sites/{siteId}/ai/designer/page/apply",
|
|
3178
|
-
method: "POST",
|
|
3179
|
-
tags: [TAG_TEMPLATES.siteCollection],
|
|
3180
|
-
auth: "user",
|
|
3181
|
-
responseKind: "json"
|
|
3182
|
-
},
|
|
3183
3237
|
applySeoChanges: {
|
|
3184
3238
|
path: "/seo/apply",
|
|
3185
3239
|
method: "POST",
|
|
3186
3240
|
auth: "user",
|
|
3187
3241
|
responseKind: "json"
|
|
3188
3242
|
},
|
|
3189
|
-
aiCreateBriefChat: {
|
|
3190
|
-
path: "/ai/chat/create-brief",
|
|
3191
|
-
method: "POST",
|
|
3192
|
-
auth: "user",
|
|
3193
|
-
responseKind: "json"
|
|
3194
|
-
},
|
|
3195
|
-
aiPatchDryRun: {
|
|
3196
|
-
path: "/ai/patch/dry-run",
|
|
3197
|
-
method: "POST",
|
|
3198
|
-
auth: "user",
|
|
3199
|
-
responseKind: "json"
|
|
3200
|
-
},
|
|
3201
|
-
aiPatchApply: {
|
|
3202
|
-
path: "/ai/patch/apply",
|
|
3203
|
-
method: "POST",
|
|
3204
|
-
auth: "user",
|
|
3205
|
-
responseKind: "json"
|
|
3206
|
-
},
|
|
3207
3243
|
aiPlaygroundProposeMulti: {
|
|
3208
3244
|
path: "/sites/{siteId}/ai/playground/propose-multi",
|
|
3209
3245
|
method: "POST",
|
|
@@ -3216,17 +3252,26 @@ const API_ENDPOINTS = {
|
|
|
3216
3252
|
auth: "user",
|
|
3217
3253
|
responseKind: "stream"
|
|
3218
3254
|
},
|
|
3219
|
-
|
|
3220
|
-
path: "/
|
|
3255
|
+
assistantSuggestions: {
|
|
3256
|
+
path: "/assistant/suggestions",
|
|
3221
3257
|
method: "POST",
|
|
3222
3258
|
auth: "user",
|
|
3223
|
-
responseKind: "
|
|
3259
|
+
responseKind: "json",
|
|
3260
|
+
errors: []
|
|
3224
3261
|
},
|
|
3225
|
-
|
|
3226
|
-
path: "/
|
|
3262
|
+
submitSupportTicket: {
|
|
3263
|
+
path: "/assistant/support",
|
|
3227
3264
|
method: "POST",
|
|
3228
3265
|
auth: "user",
|
|
3229
|
-
responseKind: "
|
|
3266
|
+
responseKind: "json",
|
|
3267
|
+
errors: []
|
|
3268
|
+
},
|
|
3269
|
+
assistantTurn: {
|
|
3270
|
+
path: "/assistant/turn",
|
|
3271
|
+
method: "POST",
|
|
3272
|
+
auth: "user",
|
|
3273
|
+
responseKind: "stream",
|
|
3274
|
+
errors: []
|
|
3230
3275
|
},
|
|
3231
3276
|
aiPlaygroundPageConvert: {
|
|
3232
3277
|
path: "/sites/{siteId}/ai/playground/page-convert",
|
|
@@ -3425,6 +3470,7 @@ const API_ENDPOINTS = {
|
|
|
3425
3470
|
demoMutation: DEMO_MUTATION_BLOCKED_DISABLED
|
|
3426
3471
|
},
|
|
3427
3472
|
...SITE_API_KEY_ENDPOINT_DEFINITIONS,
|
|
3473
|
+
...GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS,
|
|
3428
3474
|
getBookingSettings: {
|
|
3429
3475
|
path: "/sites/{siteId}/bookings/settings",
|
|
3430
3476
|
method: "GET",
|
|
@@ -3558,20 +3604,6 @@ const API_ENDPOINTS = {
|
|
|
3558
3604
|
auth: "user",
|
|
3559
3605
|
responseKind: "json"
|
|
3560
3606
|
},
|
|
3561
|
-
opsCancelEventAttendee: {
|
|
3562
|
-
path: "/ops/sites/{siteId}/events/attendees/{attendeeId}/cancel",
|
|
3563
|
-
method: "POST",
|
|
3564
|
-
auth: "user",
|
|
3565
|
-
responseKind: "json",
|
|
3566
|
-
demoMutation: DEMO_MUTATION_INTERNAL_ONLY,
|
|
3567
|
-
errors: [
|
|
3568
|
-
"validation:invalid_input",
|
|
3569
|
-
"auth:forbidden",
|
|
3570
|
-
"resource:not_found",
|
|
3571
|
-
"resource:conflict",
|
|
3572
|
-
"server:internal_error"
|
|
3573
|
-
]
|
|
3574
|
-
},
|
|
3575
3607
|
getEventAttendeeDetails: {
|
|
3576
3608
|
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}",
|
|
3577
3609
|
method: "GET",
|
|
@@ -3579,19 +3611,6 @@ const API_ENDPOINTS = {
|
|
|
3579
3611
|
responseKind: "json",
|
|
3580
3612
|
errors: []
|
|
3581
3613
|
},
|
|
3582
|
-
cancelEventAttendee: {
|
|
3583
|
-
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/cancel",
|
|
3584
|
-
method: "POST",
|
|
3585
|
-
auth: "user",
|
|
3586
|
-
responseKind: "json",
|
|
3587
|
-
errors: [
|
|
3588
|
-
"validation:invalid_input",
|
|
3589
|
-
"auth:forbidden",
|
|
3590
|
-
"resource:not_found",
|
|
3591
|
-
"resource:conflict",
|
|
3592
|
-
"server:internal_error"
|
|
3593
|
-
]
|
|
3594
|
-
},
|
|
3595
3614
|
opsRefundEventAttendee: {
|
|
3596
3615
|
path: "/ops/sites/{siteId}/events/attendees/{attendeeId}/refund",
|
|
3597
3616
|
method: "POST",
|
|
@@ -4175,6 +4194,13 @@ const API_ENDPOINTS = {
|
|
|
4175
4194
|
auth: "user",
|
|
4176
4195
|
responseKind: "json"
|
|
4177
4196
|
},
|
|
4197
|
+
getBlockPickerContext: {
|
|
4198
|
+
errors: ["resource:not_found"],
|
|
4199
|
+
path: "/sites/{siteId}/block-picker",
|
|
4200
|
+
method: "GET",
|
|
4201
|
+
auth: "user",
|
|
4202
|
+
responseKind: "json"
|
|
4203
|
+
},
|
|
4178
4204
|
listContentTypes: {
|
|
4179
4205
|
path: "/sites/{siteId}/content-types",
|
|
4180
4206
|
method: "GET",
|
|
@@ -4440,14 +4466,6 @@ const API_ENDPOINTS = {
|
|
|
4440
4466
|
auth: "user",
|
|
4441
4467
|
responseKind: "json"
|
|
4442
4468
|
},
|
|
4443
|
-
getSiteLayoutSettings: {
|
|
4444
|
-
path: "/sites/{siteId}/settings/layout",
|
|
4445
|
-
method: "GET",
|
|
4446
|
-
revalidate: 120,
|
|
4447
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4448
|
-
auth: "user",
|
|
4449
|
-
responseKind: "json"
|
|
4450
|
-
},
|
|
4451
4469
|
getSiteBannerSettings: {
|
|
4452
4470
|
path: "/sites/{siteId}/settings/banner",
|
|
4453
4471
|
method: "GET",
|
|
@@ -4501,13 +4519,6 @@ const API_ENDPOINTS = {
|
|
|
4501
4519
|
],
|
|
4502
4520
|
responseKind: "json"
|
|
4503
4521
|
},
|
|
4504
|
-
updateSiteLayoutSettings: {
|
|
4505
|
-
path: "/sites/{siteId}/settings/layout",
|
|
4506
|
-
method: "POST",
|
|
4507
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4508
|
-
auth: "user",
|
|
4509
|
-
responseKind: "json"
|
|
4510
|
-
},
|
|
4511
4522
|
updateSiteBannerSettings: {
|
|
4512
4523
|
path: "/sites/{siteId}/settings/banner",
|
|
4513
4524
|
method: "POST",
|
|
@@ -6678,6 +6689,32 @@ const API_ENDPOINTS = {
|
|
|
6678
6689
|
auth: "user",
|
|
6679
6690
|
responseKind: "json"
|
|
6680
6691
|
},
|
|
6692
|
+
previewBookingOperation: {
|
|
6693
|
+
path: "/bookings/operations/preview",
|
|
6694
|
+
method: "POST",
|
|
6695
|
+
auth: "user",
|
|
6696
|
+
responseKind: "json",
|
|
6697
|
+
errors: [
|
|
6698
|
+
"server:internal_error",
|
|
6699
|
+
"auth:insufficient_permissions",
|
|
6700
|
+
"validation:invalid_input",
|
|
6701
|
+
"resource:not_found",
|
|
6702
|
+
"resource:conflict"
|
|
6703
|
+
]
|
|
6704
|
+
},
|
|
6705
|
+
confirmBookingOperation: {
|
|
6706
|
+
path: "/bookings/operations/confirm",
|
|
6707
|
+
method: "POST",
|
|
6708
|
+
auth: "user",
|
|
6709
|
+
responseKind: "json",
|
|
6710
|
+
errors: [
|
|
6711
|
+
"server:internal_error",
|
|
6712
|
+
"auth:insufficient_permissions",
|
|
6713
|
+
"validation:invalid_input",
|
|
6714
|
+
"resource:not_found",
|
|
6715
|
+
"resource:conflict"
|
|
6716
|
+
]
|
|
6717
|
+
},
|
|
6681
6718
|
createEventOccurrence: {
|
|
6682
6719
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
|
|
6683
6720
|
method: "POST",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as renderBlock, E as makeDefaultBlockComponent, O as getDefaultComponentRegistry, S as toBlocksImageResolveContextInput, T as parseBlocksTheme, a as defaultOverrideOnlyRuntime, b as PageRenderer, c as getRiverbankEnv, g as renderWithSdkThemeRuntime, h as renderWithOverrideOnlyRuntime, m as planLayoutThemeRuntime, w as buildThemeRuntime } from "./overrides-
|
|
2
|
-
import {
|
|
3
|
-
import { i as buildRenderablePageOutline, p as resolveSiteCustomBlocks, r as requireSdkTheme } from "./themeAdmission-
|
|
4
|
-
import { d as resolveSdkFooterMode, n as
|
|
1
|
+
import { D as renderBlock, E as makeDefaultBlockComponent, O as getDefaultComponentRegistry, S as toBlocksImageResolveContextInput, T as parseBlocksTheme, a as defaultOverrideOnlyRuntime, b as PageRenderer, c as getRiverbankEnv, g as renderWithSdkThemeRuntime, h as renderWithOverrideOnlyRuntime, m as planLayoutThemeRuntime, w as buildThemeRuntime } from "./overrides-Bz_A6sB9.mjs";
|
|
2
|
+
import { Bn as resolveDateRuntimeContext, Nn as siteFooterManifest, Oa as toUtcIsoDateTimeString, Pn as siteHeaderManifest, ct as setContextResolveImageUrlContext, ot as buildResolveImageUrlContext, t as getBlockDefinition, zn as readRuntimeNow } from "./registry-eFjKtEhF.mjs";
|
|
3
|
+
import { i as buildRenderablePageOutline, p as resolveSiteCustomBlocks, r as requireSdkTheme } from "./themeAdmission-ruoyXb_0.mjs";
|
|
4
|
+
import { d as resolveSdkFooterMode, n as prefetchBlockDataWithFailures, u as resolveFooterRenderPlan } from "./prefetchBlockData-B7ukYXXR.mjs";
|
|
5
5
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -331,7 +331,7 @@ function buildSingleBlockPageOutline({ blockId, blockKind }) {
|
|
|
331
331
|
}
|
|
332
332
|
async function loadStandaloneBlockData({ blockKind, blockId, siteId, pageId, previewStage, client, hasDefinition, now, bookingTimeZone }) {
|
|
333
333
|
if (!client || !blockId || !siteId || !hasDefinition) return void 0;
|
|
334
|
-
return (await
|
|
334
|
+
return (await prefetchBlockDataWithFailures(buildSingleBlockPageOutline({
|
|
335
335
|
blockId,
|
|
336
336
|
blockKind
|
|
337
337
|
}), {
|
|
@@ -342,7 +342,7 @@ async function loadStandaloneBlockData({ blockKind, blockId, siteId, pageId, pre
|
|
|
342
342
|
now: readRuntimeNow(now),
|
|
343
343
|
bookingTimeZone
|
|
344
344
|
}
|
|
345
|
-
}, client))[blockId];
|
|
345
|
+
}, client)).resolvedData[blockId];
|
|
346
346
|
}
|
|
347
347
|
function buildStandaloneBlockViewModel({ now, bookingTimeZone, siteId, pageId, previewStage, apiBaseUrl, portalToken, readAuthority, routeMap, pagesByIdentifier, entriesByIdentifier }) {
|
|
348
348
|
return { $root: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
1
|
+
import { Yn as formatDate, hi as plainTextToInlineText } from "./registry-eFjKtEhF.mjs";
|
|
3
2
|
import { a as isRecord, r as isRichTextDoc } from "./richTextSchema-YYc85FX4.mjs";
|
|
3
|
+
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
4
4
|
//#region ../blocks/src/bindings/types.ts
|
|
5
5
|
/**
|
|
6
6
|
* Available transform function names.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createBearerAPIClient, c as ApiEnvelopeError, f as isSupportedLoaderEndpoint, h as publicReadFreshnessSeconds, i as ApiRequestError, l as isApiError, m as isPublicReadEndpoint, o as createInternalAPIClient, p as getPublicReadCachePolicy, s as setSdkVersion, t as encodePublicProductCategorySelector, u as unwrapResponse } from "./publicProducts-
|
|
2
|
-
import { t as SDK_VERSION } from "./version-
|
|
1
|
+
import { a as createBearerAPIClient, c as ApiEnvelopeError, f as isSupportedLoaderEndpoint, h as publicReadFreshnessSeconds, i as ApiRequestError, l as isApiError, m as isPublicReadEndpoint, o as createInternalAPIClient, p as getPublicReadCachePolicy, s as setSdkVersion, t as encodePublicProductCategorySelector, u as unwrapResponse } from "./publicProducts-Djbpc81A.mjs";
|
|
2
|
+
import { t as SDK_VERSION } from "./version-Bg7VHK3i.mjs";
|
|
3
3
|
//#region src/client/error.ts
|
|
4
4
|
let _Symbol$for;
|
|
5
5
|
_Symbol$for = Symbol.for("nodejs.util.inspect.custom");
|
|
@@ -1492,9 +1492,8 @@ function normalizeEntryIdentifierRefs(identifiers) {
|
|
|
1492
1492
|
refs
|
|
1493
1493
|
};
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1496
|
-
|
|
1497
|
-
return { form: {
|
|
1495
|
+
function normalizePublicForm(form) {
|
|
1496
|
+
return {
|
|
1498
1497
|
id: form.id,
|
|
1499
1498
|
slug: form.slug,
|
|
1500
1499
|
name: form.name,
|
|
@@ -1506,7 +1505,10 @@ function normalizePublicFormResponse(response) {
|
|
|
1506
1505
|
updatedAt: form.updatedAt ?? null,
|
|
1507
1506
|
...form.siteId ? { siteId: form.siteId } : {},
|
|
1508
1507
|
...form.userId ? { userId: form.userId } : {}
|
|
1509
|
-
}
|
|
1508
|
+
};
|
|
1509
|
+
}
|
|
1510
|
+
function normalizePublicFormResponse(response) {
|
|
1511
|
+
return { form: response.form ? normalizePublicForm(response.form) : null };
|
|
1510
1512
|
}
|
|
1511
1513
|
function normalizePublicFormResult(result) {
|
|
1512
1514
|
if (isApiError(result)) return result;
|
|
@@ -1516,7 +1518,7 @@ function normalizePublicFormResult(result) {
|
|
|
1516
1518
|
};
|
|
1517
1519
|
}
|
|
1518
1520
|
function normalizePublicFormsResponse(response) {
|
|
1519
|
-
return { forms: response.forms.map((form) =>
|
|
1521
|
+
return { forms: response.forms.map((form) => normalizePublicForm(form)) };
|
|
1520
1522
|
}
|
|
1521
1523
|
function normalizePublicFormsResult(result) {
|
|
1522
1524
|
if (isApiError(result)) return result;
|