efficient-web-builder 41.1.0 → 43.0.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/CHANGELOG.md +263 -0
- package/README.md +0 -21
- package/dist/editor/components/AnchorField.js +1 -1
- package/dist/editor/components/DuplicatePageDialog.js +1 -1
- package/dist/editor/components/MediaUploadField.d.ts +3 -1
- package/dist/editor/components/MediaUploadField.js +1 -1
- package/dist/editor/components/PagesPanel.js +1 -1
- package/dist/editor/components/SectionEditor.d.ts +5 -4
- package/dist/editor/components/SectionEditor.js +1 -1
- package/dist/editor/components/SectionIcon.js +1 -1
- package/dist/editor/components/SectionThumbnail.js +1 -1
- package/dist/editor/components/SiteFields.d.ts +2 -1
- package/dist/editor/components/SiteFields.js +1 -1
- package/dist/editor/components/StylesPanel.d.ts +3 -1
- package/dist/editor/components/StylesPanel.js +1 -1
- package/dist/editor/components/WebsiteScreenParts.js +1 -1
- package/dist/editor/components/WebsiteSettingsPanel.d.ts +6 -1
- package/dist/editor/components/WebsiteSettingsPanel.js +1 -1
- package/dist/editor/components/storefront-editor.css +97 -117
- package/dist/editor/components/useHostDocumentBridge.js +1 -1
- package/dist/editor/components/useLocationsTree.js +1 -1
- package/dist/editor/components/usePinnedChromeSeed.js +1 -1
- package/dist/editor/components/useSectionToBoxPass.d.ts +2 -0
- package/dist/editor/components/useSectionToBoxPass.js +1 -1
- package/dist/editor/components/useSocialSettings.d.ts +2 -2
- package/dist/editor/lib/document/ColourControl.d.ts +7 -2
- package/dist/editor/lib/document/ColourControl.js +1 -1
- package/dist/editor/lib/document/blocks/general/ButtonBlock/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Divider/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/HeroSlide/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Logos/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/Text/fields.js +1 -1
- package/dist/editor/lib/document/blocks/general/index.d.ts +2 -2
- package/dist/editor/lib/document/canvas-typing.js +1 -1
- package/dist/editor/lib/document/consent-words-field.d.ts +6 -0
- package/dist/editor/lib/document/consent-words-field.js +1 -0
- package/dist/editor/lib/document/controls.d.ts +14 -2
- package/dist/editor/lib/document/controls.js +1 -1
- package/dist/editor/lib/document/field-groups.js +1 -1
- package/dist/editor/lib/document/footer-blocks.js +1 -1
- package/dist/editor/lib/document/locked-blocks.d.ts +3 -0
- package/dist/editor/lib/document/locked-blocks.js +1 -1
- package/dist/editor/lib/document/page-root-fields.d.ts +1 -0
- package/dist/editor/lib/document/page-root-fields.js +1 -1
- package/dist/editor/lib/document/part-anchors.d.ts +0 -1
- package/dist/editor/lib/document/part-anchors.js +1 -1
- package/dist/editor/lib/document/section-width-fields.js +1 -1
- package/dist/editor/lib/document/selected-host.d.ts +2 -0
- package/dist/editor/lib/document/selected-host.js +1 -0
- package/dist/editor/lib/page-copy.js +1 -1
- package/dist/editor/lib/sections/section-dry-run.d.ts +24 -6
- package/dist/editor/lib/sections/section-dry-run.js +2 -2
- package/dist/format/lib/content/authored-props.js +1 -1
- package/dist/format/lib/content/block-sources.js +1 -1
- package/dist/format/lib/content/box-layout.d.ts +5 -0
- package/dist/format/lib/content/box-layout.js +1 -1
- package/dist/format/lib/content/box-shadow.d.ts +3 -0
- package/dist/format/lib/content/box-shadow.js +1 -0
- package/dist/format/lib/content/button-icon.d.ts +2 -1
- package/dist/format/lib/content/button-icon.js +1 -1
- package/dist/format/lib/content/button-look.d.ts +46 -0
- package/dist/format/lib/content/button-look.js +1 -0
- package/dist/format/lib/content/consent-banner.d.ts +21 -0
- package/dist/format/lib/content/consent-banner.js +1 -1
- package/dist/format/lib/content/contact.js +1 -1
- package/dist/format/lib/content/footer.d.ts +15 -0
- package/dist/format/lib/content/footer.js +1 -1
- package/dist/format/lib/content/gallery-layout.d.ts +12 -0
- package/dist/format/lib/content/gallery-layout.js +1 -1
- package/dist/format/lib/content/section-padding.d.ts +10 -0
- package/dist/format/lib/content/section-padding.js +1 -1
- package/dist/format/lib/content/section-sticky.js +1 -1
- package/dist/format/lib/content/section-width.js +1 -1
- package/dist/format/lib/document/blocks/general/Divider/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/Logos/meta.d.ts +6 -0
- package/dist/format/lib/document/blocks/general/Logos/meta.js +1 -1
- package/dist/format/lib/document/blocks/general/SectionHeader/meta.js +1 -1
- package/dist/format/lib/document/box-footer.js +1 -1
- package/dist/format/lib/document/container-blocks.js +1 -1
- package/dist/format/lib/document/media-manifest.json +3 -2
- package/dist/format/lib/document/nestable-content-sections.js +1 -1
- package/dist/format/lib/document/overlay-portal.d.ts +0 -1
- package/dist/format/lib/document/overlay-portal.js +1 -1
- package/dist/format/lib/document/passes/settings-groups.js +1 -1
- package/dist/format/lib/document/root-panel.d.ts +8 -0
- package/dist/format/lib/document/root-panel.js +1 -0
- package/dist/format/lib/document/section-catalog.d.ts +1 -2
- package/dist/format/lib/document/section-catalog.js +10 -2
- package/dist/format/lib/document/source-bound-parts.js +1 -1
- package/dist/format/lib/editor-words-catalogue.d.ts +26 -4
- package/dist/format/lib/editor-words-catalogue.js +4 -4
- package/dist/format/lib/editor-words.js +1 -1
- package/dist/format/lib/finite-number.d.ts +1 -0
- package/dist/format/lib/finite-number.js +1 -0
- package/dist/format/lib/hero-texture.js +1 -1
- package/dist/format/lib/hero-video.d.ts +7 -0
- package/dist/format/lib/hero-video.js +1 -1
- package/dist/format/lib/links/page-link-rules.js +1 -1
- package/dist/format/lib/marked-children.d.ts +1 -0
- package/dist/format/lib/marked-children.js +1 -0
- package/dist/format/lib/non-empty-string.d.ts +1 -0
- package/dist/format/lib/non-empty-string.js +1 -0
- package/dist/format/lib/popup/look.d.ts +1 -1
- package/dist/format/lib/popup/look.js +1 -1
- package/dist/format/lib/reel.d.ts +2 -1
- package/dist/format/lib/reel.js +1 -1
- package/dist/format/lib/sections/divider-style.d.ts +10 -2
- package/dist/format/lib/sections/divider-style.js +1 -1
- package/dist/format/lib/sections/hero-overlay.js +1 -1
- package/dist/format/lib/sections/logo-look.d.ts +7 -0
- package/dist/format/lib/sections/logo-look.js +1 -0
- package/dist/format/lib/sections/section-head-placement.d.ts +1 -0
- package/dist/format/lib/sections/section-head-placement.js +1 -1
- package/dist/format/lib/slugify.d.ts +1 -1
- package/dist/format/lib/slugify.js +1 -1
- package/dist/format/lib/source-rules/document-surfaces.js +4 -4
- package/dist/format/lib/source-rules/editor-drag-off.js +3 -3
- package/dist/format/lib/source-rules/panel-colour-tokens.js +6 -6
- package/dist/format/lib/source-rules/panel-no-divider-lines.js +4 -4
- package/dist/format/lib/source-rules/panel-one-arrow.js +1 -1
- package/dist/format/lib/source-rules/panel-rows-use-the-shared-row.js +8 -8
- package/dist/format/lib/source-rules/support/document-folder.d.ts +2 -2
- package/dist/format/lib/source-rules/support/document-folder.js +1 -1
- package/dist/format/lib/theme.d.ts +2 -1
- package/dist/format/lib/theme.js +4 -4
- package/dist/render/components/BoxTabPaneContext.d.ts +2 -0
- package/dist/render/components/BoxTabPaneContext.js +1 -0
- package/dist/render/components/BoxTabs.d.ts +2 -1
- package/dist/render/components/BoxTabs.js +1 -1
- package/dist/render/components/Btn.d.ts +1 -0
- package/dist/render/components/Btn.js +1 -1
- package/dist/render/components/ButtonBlock.d.ts +12 -1
- package/dist/render/components/ButtonBlock.js +1 -1
- package/dist/render/components/Divider.d.ts +5 -4
- package/dist/render/components/Divider.js +1 -1
- package/dist/render/components/DocBody.js +5 -5
- package/dist/render/components/Flex.d.ts +3 -1
- package/dist/render/components/Flex.js +1 -1
- package/dist/render/components/HeroSection.js +2 -2
- package/dist/render/components/LogoBlock.d.ts +1 -1
- package/dist/render/components/LogoBlock.js +1 -1
- package/dist/render/components/LogoWallContext.d.ts +12 -0
- package/dist/render/components/LogoWallContext.js +1 -0
- package/dist/render/components/Logos.d.ts +16 -1
- package/dist/render/components/Logos.js +1 -1
- package/dist/render/components/PaymentBadges.d.ts +3 -1
- package/dist/render/components/PaymentBadges.js +1 -1
- package/dist/render/components/Reel.js +1 -1
- package/dist/render/components/SiteGutterFrame.d.ts +2 -1
- package/dist/render/components/SiteGutterFrame.js +1 -1
- package/dist/render/lib/document/blocks/general/ButtonBlock/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Divider/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Flex/render.js +1 -1
- package/dist/render/lib/document/blocks/general/HeroSlide/render.js +1 -1
- package/dist/render/lib/document/blocks/general/Logos/render.js +1 -1
- package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.d.ts +4 -2
- package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
- package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.d.ts +2 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.d.ts +5 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -0
- package/dist/render/lib/document/blocks/general/section-to-box-rows.d.ts +0 -4
- package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
- package/dist/render/lib/document/hero-media-parts.d.ts +2 -2
- package/dist/render/lib/document/part-rows.js +1 -1
- package/dist/render/lib/document/passes/section-anchor.js +1 -1
- package/dist/render/lib/document/passes/section-padding.d.ts +1 -0
- package/dist/render/lib/document/passes/section-padding.js +1 -1
- package/dist/render/lib/document/text-parts.js +1 -1
- package/dist/render/lib/sections/section-to-box.d.ts +32 -11
- package/dist/render/lib/sections/section-to-box.js +1 -1
- package/dist/render/lib/text-styles/site-text-styles.d.ts +2 -0
- package/dist/render/lib/text-styles/site-text-styles.js +2 -2
- package/package.json +5 -5
- package/dist/editor/lib/puck/ColourControl.d.ts +0 -1
- package/dist/editor/lib/puck/ColourControl.js +0 -1
- package/dist/editor/lib/puck/MarkupToolbar.d.ts +0 -2
- package/dist/editor/lib/puck/MarkupToolbar.js +0 -1
- package/dist/editor/lib/puck/add-palette.d.ts +0 -1
- package/dist/editor/lib/puck/add-palette.js +0 -1
- package/dist/editor/lib/puck/add-target.d.ts +0 -1
- package/dist/editor/lib/puck/add-target.js +0 -1
- package/dist/editor/lib/puck/apply-card-corners.d.ts +0 -1
- package/dist/editor/lib/puck/apply-card-corners.js +0 -1
- package/dist/editor/lib/puck/block-offer.d.ts +0 -1
- package/dist/editor/lib/puck/block-offer.js +0 -1
- package/dist/editor/lib/puck/block-source-fields.d.ts +0 -1
- package/dist/editor/lib/puck/block-source-fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Banner/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Banner/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Breadcrumb/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ButtonBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Cards/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Cards/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/CategoryBar/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Chart/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Chart/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ContactLocations/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Countdown/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Countdown/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Divider/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Divider/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocBody/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocBody/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMasthead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocMetaCards/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/DocTabs/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/DocTabs/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Eyebrow/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/FAQ/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/FAQ/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/FeaturedCover/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Flex/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Flex/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Footprint/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Footprint/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Grid/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Grid/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Heading/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Heading/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Hero/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Hero/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroGroup/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSingle/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/HeroSlide/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ImageBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Integrations/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Integrations/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/IntroBleed/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/KeyFeatures/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/LogoBlock/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Logos/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Logos/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/LongRead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/LongRead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Manifesto/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Manifesto/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Masthead/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Masthead/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Mockup/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Mockup/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/OrderSummary/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ParagraphsA/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/PaymentBadges/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/PostCard/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/PostCard/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/ProcessSteps/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Prose/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Prose/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/SectionHeader/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Series/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Series/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/SpecStrip/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Split/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Split/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Stats/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Stats/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/StatsParagraph/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Testimonials/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Testimonials/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Text/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Text/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Ticker/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Ticker/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/Timeline/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/Timeline/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/TimelineTrack/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/TitleWithButtons/fields.js +0 -1
- package/dist/editor/lib/puck/blocks/general/index.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/general/index.js +0 -1
- package/dist/editor/lib/puck/blocks/shared-fields.d.ts +0 -1
- package/dist/editor/lib/puck/blocks/shared-fields.js +0 -1
- package/dist/editor/lib/puck/build-config.d.ts +0 -1
- package/dist/editor/lib/puck/build-config.js +0 -1
- package/dist/editor/lib/puck/canvas-typing.d.ts +0 -1
- package/dist/editor/lib/puck/canvas-typing.js +0 -1
- package/dist/editor/lib/puck/card-row-fields.d.ts +0 -1
- package/dist/editor/lib/puck/card-row-fields.js +0 -1
- package/dist/editor/lib/puck/controls.d.ts +0 -1
- package/dist/editor/lib/puck/controls.js +0 -1
- package/dist/editor/lib/puck/enclosing-section.d.ts +0 -1
- package/dist/editor/lib/puck/enclosing-section.js +0 -1
- package/dist/editor/lib/puck/every-page.d.ts +0 -1
- package/dist/editor/lib/puck/every-page.js +0 -1
- package/dist/editor/lib/puck/field-groups.d.ts +0 -1
- package/dist/editor/lib/puck/field-groups.js +0 -1
- package/dist/editor/lib/puck/footer-blocks.d.ts +0 -1
- package/dist/editor/lib/puck/footer-blocks.js +0 -1
- package/dist/editor/lib/puck/general-registry.d.ts +0 -2
- package/dist/editor/lib/puck/general-registry.js +0 -1
- package/dist/editor/lib/puck/geocode-resolve.d.ts +0 -1
- package/dist/editor/lib/puck/geocode-resolve.js +0 -1
- package/dist/editor/lib/puck/heading-outline.d.ts +0 -1
- package/dist/editor/lib/puck/heading-outline.js +0 -1
- package/dist/editor/lib/puck/hidable-rows-drawn.d.ts +0 -1
- package/dist/editor/lib/puck/hidable-rows-drawn.js +0 -1
- package/dist/editor/lib/puck/locations-focus.d.ts +0 -1
- package/dist/editor/lib/puck/locations-focus.js +0 -1
- package/dist/editor/lib/puck/locked-blocks.d.ts +0 -1
- package/dist/editor/lib/puck/locked-blocks.js +0 -1
- package/dist/editor/lib/puck/logo-color-fields.d.ts +0 -1
- package/dist/editor/lib/puck/logo-color-fields.js +0 -1
- package/dist/editor/lib/puck/overrides.d.ts +0 -1
- package/dist/editor/lib/puck/overrides.js +0 -1
- package/dist/editor/lib/puck/page-root-fields.d.ts +0 -1
- package/dist/editor/lib/puck/page-root-fields.js +0 -1
- package/dist/editor/lib/puck/page-root.d.ts +0 -1
- package/dist/editor/lib/puck/page-root.js +0 -1
- package/dist/editor/lib/puck/panel-drop-empty-headings.d.ts +0 -1
- package/dist/editor/lib/puck/panel-drop-empty-headings.js +0 -1
- package/dist/editor/lib/puck/panel-heading-scope.d.ts +0 -1
- package/dist/editor/lib/puck/panel-heading-scope.js +0 -1
- package/dist/editor/lib/puck/part-anchors.d.ts +0 -1
- package/dist/editor/lib/puck/part-anchors.js +0 -1
- package/dist/editor/lib/puck/part-row-field.d.ts +0 -1
- package/dist/editor/lib/puck/part-row-field.js +0 -1
- package/dist/editor/lib/puck/part-typing.d.ts +0 -1
- package/dist/editor/lib/puck/part-typing.js +0 -1
- package/dist/editor/lib/puck/passes/inspector.d.ts +0 -1
- package/dist/editor/lib/puck/passes/inspector.js +0 -1
- package/dist/editor/lib/puck/pinned-in-place-seed.d.ts +0 -1
- package/dist/editor/lib/puck/pinned-in-place-seed.js +0 -1
- package/dist/editor/lib/puck/registry.d.ts +0 -1
- package/dist/editor/lib/puck/registry.js +0 -1
- package/dist/editor/lib/puck/section-text-suppress.d.ts +0 -1
- package/dist/editor/lib/puck/section-text-suppress.js +0 -1
- package/dist/editor/lib/puck/section-width-fields.d.ts +0 -1
- package/dist/editor/lib/puck/section-width-fields.js +0 -1
- package/dist/editor/lib/puck/show-when-resolve.d.ts +0 -1
- package/dist/editor/lib/puck/show-when-resolve.js +0 -1
- package/dist/editor/lib/puck/template-field.d.ts +0 -1
- package/dist/editor/lib/puck/template-field.js +0 -1
- package/dist/editor/lib/puck/text-part-shape.d.ts +0 -1
- package/dist/editor/lib/puck/text-part-shape.js +0 -1
- package/dist/editor/lib/puck/theme-swatches.d.ts +0 -1
- package/dist/editor/lib/puck/theme-swatches.js +0 -1
- package/dist/format/lib/puck/blocks/block-types.d.ts +0 -1
- package/dist/format/lib/puck/blocks/block-types.js +0 -1
- package/dist/format/lib/puck/blocks/general/Banner/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Banner/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Breadcrumb/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ButtonBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Cards/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Cards/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/CategoryBar/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CategoryBar/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Chart/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Chart/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ContactLocations/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ContactLocations/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Countdown/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Countdown/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/fields.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/fields.js +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/CustomHTML/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Divider/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Divider/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocBody/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocBody/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocMasthead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocMasthead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocMetaCards/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/DocTabs/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/DocTabs/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Eyebrow/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Eyebrow/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/FAQ/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/FAQ/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/FeaturedCover/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Flex/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Flex/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Footprint/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Footprint/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Grid/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Grid/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Heading/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Heading/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Hero/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Hero/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroGroup/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroGroup/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSingle/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSingle/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSlide/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/HeroSlide/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ImageBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ImageBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Integrations/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Integrations/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/IntroBleed/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/IntroBleed/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/KeyFeatures/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/LogoBlock/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/LogoBlock/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Logos/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Logos/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/LongRead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/LongRead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Manifesto/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Manifesto/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Masthead/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Masthead/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Mockup/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Mockup/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/OrderSummary/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/OrderSummary/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ParagraphsA/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/PaymentBadges/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/PostCard/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/PostCard/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/ProcessSteps/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Prose/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Prose/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/SectionHeader/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/SectionHeader/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Series/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Series/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/fields.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/fields.js +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Spacer/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/SpecStrip/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/SpecStrip/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Split/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Split/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Stats/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Stats/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/StatsParagraph/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Testimonials/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Testimonials/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Text/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Text/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Ticker/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Ticker/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/Timeline/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/Timeline/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/TimelineTrack/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/TitleWithButtons/meta.js +0 -1
- package/dist/format/lib/puck/blocks/general/metas.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/metas.js +0 -1
- package/dist/format/lib/puck/blocks/general/section-bg-built-in.d.ts +0 -1
- package/dist/format/lib/puck/blocks/general/section-bg-built-in.js +0 -1
- package/dist/format/lib/puck/blocks/general/text-part-shapes.json +0 -2162
- package/dist/format/lib/puck/blocks/placeholders.d.ts +0 -1
- package/dist/format/lib/puck/blocks/placeholders.js +0 -1
- package/dist/format/lib/puck/box-footer.d.ts +0 -1
- package/dist/format/lib/puck/box-footer.js +0 -1
- package/dist/format/lib/puck/cap-hero-groups.d.ts +0 -1
- package/dist/format/lib/puck/cap-hero-groups.js +0 -1
- package/dist/format/lib/puck/card-template-layers.d.ts +0 -1
- package/dist/format/lib/puck/card-template-layers.js +0 -1
- package/dist/format/lib/puck/container-blocks.d.ts +0 -1
- package/dist/format/lib/puck/container-blocks.js +0 -1
- package/dist/format/lib/puck/editor-page-context.d.ts +0 -1
- package/dist/format/lib/puck/editor-page-context.js +0 -1
- package/dist/format/lib/puck/field-noun.d.ts +0 -1
- package/dist/format/lib/puck/field-noun.js +0 -1
- package/dist/format/lib/puck/footer-block-row-name.d.ts +0 -1
- package/dist/format/lib/puck/footer-block-row-name.js +0 -1
- package/dist/format/lib/puck/general-order.d.ts +0 -1
- package/dist/format/lib/puck/general-order.js +0 -1
- package/dist/format/lib/puck/home-page.d.ts +0 -1
- package/dist/format/lib/puck/home-page.js +0 -1
- package/dist/format/lib/puck/left-view.d.ts +0 -1
- package/dist/format/lib/puck/left-view.js +0 -1
- package/dist/format/lib/puck/locations-tree.d.ts +0 -1
- package/dist/format/lib/puck/locations-tree.js +0 -1
- package/dist/format/lib/puck/media-drop.d.ts +0 -1
- package/dist/format/lib/puck/media-drop.js +0 -1
- package/dist/format/lib/puck/media-manifest.json +0 -147
- package/dist/format/lib/puck/mockup-variant-fields.d.ts +0 -1
- package/dist/format/lib/puck/mockup-variant-fields.js +0 -1
- package/dist/format/lib/puck/nestable-content-sections.d.ts +0 -1
- package/dist/format/lib/puck/nestable-content-sections.js +0 -1
- package/dist/format/lib/puck/neutralization-contracts.d.ts +0 -1
- package/dist/format/lib/puck/neutralization-contracts.js +0 -1
- package/dist/format/lib/puck/new-site-header-seed.d.ts +0 -1
- package/dist/format/lib/puck/new-site-header-seed.js +0 -1
- package/dist/format/lib/puck/one-h1.d.ts +0 -1
- package/dist/format/lib/puck/one-h1.js +0 -1
- package/dist/format/lib/puck/overlay-portal.d.ts +0 -1
- package/dist/format/lib/puck/overlay-portal.js +0 -1
- package/dist/format/lib/puck/own-box.d.ts +0 -1
- package/dist/format/lib/puck/own-box.js +0 -1
- package/dist/format/lib/puck/panel-bands.d.ts +0 -1
- package/dist/format/lib/puck/panel-bands.js +0 -1
- package/dist/format/lib/puck/part-inks.d.ts +0 -1
- package/dist/format/lib/puck/part-inks.js +0 -1
- package/dist/format/lib/puck/part-key.d.ts +0 -1
- package/dist/format/lib/puck/part-key.js +0 -1
- package/dist/format/lib/puck/passes/catalogue-labels.d.ts +0 -1
- package/dist/format/lib/puck/passes/catalogue-labels.js +0 -1
- package/dist/format/lib/puck/passes/document-position.d.ts +0 -1
- package/dist/format/lib/puck/passes/document-position.js +0 -1
- package/dist/format/lib/puck/passes/empty-headings.d.ts +0 -1
- package/dist/format/lib/puck/passes/empty-headings.js +0 -1
- package/dist/format/lib/puck/passes/hidden-nodes.d.ts +0 -1
- package/dist/format/lib/puck/passes/hidden-nodes.js +0 -1
- package/dist/format/lib/puck/passes/media-values.d.ts +0 -1
- package/dist/format/lib/puck/passes/media-values.js +0 -1
- package/dist/format/lib/puck/passes/registry-context.d.ts +0 -1
- package/dist/format/lib/puck/passes/registry-context.js +0 -1
- package/dist/format/lib/puck/passes/settings-groups.d.ts +0 -1
- package/dist/format/lib/puck/passes/settings-groups.js +0 -1
- package/dist/format/lib/puck/passes/show-when-rows.d.ts +0 -1
- package/dist/format/lib/puck/passes/show-when-rows.js +0 -1
- package/dist/format/lib/puck/passes/slot-rules.d.ts +0 -1
- package/dist/format/lib/puck/passes/slot-rules.js +0 -1
- package/dist/format/lib/puck/passes/types.d.ts +0 -1
- package/dist/format/lib/puck/passes/types.js +0 -1
- package/dist/format/lib/puck/phone-override.d.ts +0 -1
- package/dist/format/lib/puck/phone-override.js +0 -1
- package/dist/format/lib/puck/pinned-seed-gate.d.ts +0 -1
- package/dist/format/lib/puck/pinned-seed-gate.js +0 -1
- package/dist/format/lib/puck/renamed-props.d.ts +0 -1
- package/dist/format/lib/puck/renamed-props.js +0 -1
- package/dist/format/lib/puck/section-catalog.d.ts +0 -1
- package/dist/format/lib/puck/section-catalog.js +0 -1
- package/dist/format/lib/puck/section-descriptions.d.ts +0 -1
- package/dist/format/lib/puck/section-descriptions.js +0 -1
- package/dist/format/lib/puck/section-groups.d.ts +0 -1
- package/dist/format/lib/puck/section-groups.js +0 -1
- package/dist/format/lib/puck/show-when-attach.d.ts +0 -1
- package/dist/format/lib/puck/show-when-attach.js +0 -1
- package/dist/format/lib/puck/site-gap-fields.d.ts +0 -1
- package/dist/format/lib/puck/site-gap-fields.js +0 -1
- package/dist/format/lib/puck/snapshot-contracts.d.ts +0 -1
- package/dist/format/lib/puck/snapshot-contracts.js +0 -1
- package/dist/format/lib/puck/source-bound-parts.d.ts +0 -1
- package/dist/format/lib/puck/source-bound-parts.js +0 -1
- package/dist/format/lib/puck/source-row-name.d.ts +0 -1
- package/dist/format/lib/puck/source-row-name.js +0 -1
- package/dist/format/lib/puck/templateFields.d.ts +0 -1
- package/dist/format/lib/puck/templateFields.js +0 -1
- package/dist/format/lib/puck/text-seeds.d.ts +0 -1
- package/dist/format/lib/puck/text-seeds.js +0 -1
- package/dist/format/lib/source-rules/editor-puck-drag-off.d.ts +0 -2
- package/dist/format/lib/source-rules/editor-puck-drag-off.js +0 -1
- package/dist/format/lib/source-rules/puck-document-surfaces.d.ts +0 -2
- package/dist/format/lib/source-rules/puck-document-surfaces.js +0 -1
- package/dist/render/lib/puck/blocks/general/Banner/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Banner/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Breadcrumb/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Breadcrumb/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ButtonBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ButtonBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Cards/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Cards/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/CategoryBar/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/CategoryBar/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Chart/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Chart/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ContactLocations/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ContactLocations/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Countdown/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Countdown/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/CustomHTML/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/CustomHTML/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Divider/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Divider/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocBody/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocBody/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocMasthead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocMasthead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocMetaCards/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocMetaCards/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/DocTabs/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/DocTabs/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Eyebrow/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Eyebrow/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/FAQ/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/FAQ/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/FeaturedCover/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/FeaturedCover/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Flex/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Flex/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Footprint/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Footprint/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Grid/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Grid/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Heading/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Heading/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Hero/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Hero/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroGroup/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroGroup/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSingle/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSingle/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSlide/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/HeroSlide/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ImageBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ImageBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Integrations/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Integrations/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/IntroBleed/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/IntroBleed/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/KeyFeatures/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/KeyFeatures/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/LogoBlock/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/LogoBlock/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Logos/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Logos/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/LongRead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/LongRead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Manifesto/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Manifesto/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Masthead/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Masthead/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Mockup/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Mockup/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/OrderSummary/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/OrderSummary/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ParagraphsA/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ParagraphsA/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/PaymentBadges/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/PaymentBadges/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/PostCard/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/PostCard/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/ProcessSteps/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/ProcessSteps/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Prose/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Prose/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/SectionHeader/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/SectionHeader/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Series/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Series/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Spacer/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Spacer/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/SpecStrip/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/SpecStrip/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Split/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Split/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Stats/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Stats/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/StatsParagraph/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/StatsParagraph/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Testimonials/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Testimonials/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Text/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Text/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Ticker/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Ticker/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/Timeline/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/Timeline/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/TimelineTrack/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/TimelineTrack/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/TitleWithButtons/render.js +0 -1
- package/dist/render/lib/puck/blocks/general/render-config.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/render-config.js +0 -1
- package/dist/render/lib/puck/blocks/general/renders.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/renders.js +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-row-parts.js +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-rows.d.ts +0 -1
- package/dist/render/lib/puck/blocks/general/section-to-box-rows.js +0 -1
- package/dist/render/lib/puck/blocks/scaffold.d.ts +0 -1
- package/dist/render/lib/puck/blocks/scaffold.js +0 -1
- package/dist/render/lib/puck/booking-preview.d.ts +0 -1
- package/dist/render/lib/puck/booking-preview.js +0 -1
- package/dist/render/lib/puck/editing-bridges.d.ts +0 -1
- package/dist/render/lib/puck/editing-bridges.js +0 -1
- package/dist/render/lib/puck/header-clearance.d.ts +0 -1
- package/dist/render/lib/puck/header-clearance.js +0 -1
- package/dist/render/lib/puck/header-ink.d.ts +0 -1
- package/dist/render/lib/puck/header-ink.js +0 -1
- package/dist/render/lib/puck/hero-media-parts.d.ts +0 -1
- package/dist/render/lib/puck/hero-media-parts.js +0 -1
- package/dist/render/lib/puck/migrate-legacy.d.ts +0 -1
- package/dist/render/lib/puck/migrate-legacy.js +0 -1
- package/dist/render/lib/puck/page-frame.d.ts +0 -1
- package/dist/render/lib/puck/page-frame.js +0 -1
- package/dist/render/lib/puck/page-render.d.ts +0 -2
- package/dist/render/lib/puck/page-render.js +0 -1
- package/dist/render/lib/puck/part-rows.d.ts +0 -1
- package/dist/render/lib/puck/part-rows.js +0 -1
- package/dist/render/lib/puck/part-styles.d.ts +0 -1
- package/dist/render/lib/puck/part-styles.js +0 -1
- package/dist/render/lib/puck/part-text.d.ts +0 -1
- package/dist/render/lib/puck/part-text.js +0 -1
- package/dist/render/lib/puck/passes/borders.d.ts +0 -1
- package/dist/render/lib/puck/passes/borders.js +0 -1
- package/dist/render/lib/puck/passes/cell-width.d.ts +0 -1
- package/dist/render/lib/puck/passes/cell-width.js +0 -1
- package/dist/render/lib/puck/passes/clickable-parts.d.ts +0 -1
- package/dist/render/lib/puck/passes/clickable-parts.js +0 -1
- package/dist/render/lib/puck/passes/corners.d.ts +0 -1
- package/dist/render/lib/puck/passes/corners.js +0 -1
- package/dist/render/lib/puck/passes/index.d.ts +0 -1
- package/dist/render/lib/puck/passes/index.js +0 -1
- package/dist/render/lib/puck/passes/section-anchor.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-anchor.js +0 -1
- package/dist/render/lib/puck/passes/section-animation.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-animation.js +0 -1
- package/dist/render/lib/puck/passes/section-height.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-height.js +0 -1
- package/dist/render/lib/puck/passes/section-padding.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-padding.js +0 -1
- package/dist/render/lib/puck/passes/section-sticky.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-sticky.js +0 -1
- package/dist/render/lib/puck/passes/section-theme.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-theme.js +0 -1
- package/dist/render/lib/puck/passes/section-width.d.ts +0 -1
- package/dist/render/lib/puck/passes/section-width.js +0 -1
- package/dist/render/lib/puck/render-registry.d.ts +0 -1
- package/dist/render/lib/puck/render-registry.js +0 -1
- package/dist/render/lib/puck/sanitize.d.ts +0 -1
- package/dist/render/lib/puck/sanitize.js +0 -1
- package/dist/render/lib/puck/selection-parent.d.ts +0 -1
- package/dist/render/lib/puck/selection-parent.js +0 -1
- package/dist/render/lib/puck/show-when.d.ts +0 -1
- package/dist/render/lib/puck/show-when.js +0 -1
- package/dist/render/lib/puck/slot-specs.d.ts +0 -1
- package/dist/render/lib/puck/slot-specs.js +0 -1
- package/dist/render/lib/puck/text-parts.d.ts +0 -1
- package/dist/render/lib/puck/text-parts.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,
|
|
1
|
+
"use client";import{useEffect as j,useRef as q}from"react";import{createNode as T,newId as I}from"efficient-easel/data";import{useEaselApi as J}from"efficient-easel/easel";import{useScreenDocument as K}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as M}from"efficient-easel/screen/lib/session-context";import{SITE_FOOTER_SLUG as L}from"../../format/lib/content/footer.js";import{boxFooterFromFooter as U}from"../../format/lib/document/box-footer.js";import{useSectionToBoxPass as Q}from"./useSectionToBoxPass.js";import{ROOT_ZONE as l,missingPinnedTypes as V,pinnedDuplicateIds as O}from"efficient-easel/draw";import{FOOTER_TYPE as a,HEADER_TYPE as E,buildDefaultFooterBlocks as b,buildDefaultHeaderNode as N}from"../lib/document/footer-blocks.js";import{canSeedPinnedChrome as W}from"../../format/lib/document/pinned-seed-gate.js";import{siteFooterDocChrome as X,SITE_FOOTER_TYPE as f}from"../../format/lib/document/section-groups.js";import{inPlaceSeedPlan as $}from"../lib/document/pinned-in-place-seed.js";import{seedNewSiteHeader as ee}from"../../format/lib/document/new-site-header-seed.js";import{SITE_HEADER_TYPE as R}from"../../format/lib/document/section-groups.js";import{blocksOf as te}from"../lib/website-session.js";function De(t,D){const{adapter:_,capabilities:y,currentSlug:w,docId:S,data:C,saveStatus:H,siteId:v,tokenRef:x}=K(),z=M(),{hasSiteSettings:B,hasPinnedChrome:Y}=y;Q(t);const A=!!y.editsPinnedInPlace&&w!==L,g=w===L,h=J().getState,P=q(null);j(()=>{if(!W({docId:S,saveStatus:H,seededDocId:P.current})||(P.current=S,!Y))return;const p=h().appState.data,n=p.content,d=C?.content??[],r=(e,s)=>e.some(i=>i?.type===s);if(!B){const e=new Set(O(n)),s=e.size?n.filter(c=>!e.has(c.props.id)):n;if(e.size&&t.setDocument({...p,content:s}),g)return;const i=V(s,d);if(i.includes(a)){const c=s.length,o=t.insertSection(a,c);t.replaceComponent(l,c,{type:a,props:{id:o,blocks:b()}})}i.includes(E)&&t.insertNode(l,0,N());return}if(g){const e=X(n);if(e!==n&&t.setDocument({...p,content:[...e]}),!e.find(i=>i.type===a)&&!r(d,a)&&!r(e,f)&&!r(d,f)){const i=(o,m)=>T(D,o,m),c={type:a,props:{blocks:b()}};t.insertNode(l,e.length,U(c,i,I(f)))}return}if(A){const e=!!_?.pinnedChrome?.state().docId,s=$(n,{hasChromeDoc:e}),i=new Set([...s.remove,...O(n.filter(o=>!s.remove.includes(String(o.props.id))))]),c=i.size?n.filter(o=>!i.has(String(o.props.id))):n;if(c.length!==n.length&&t.setDocument({...p,content:c}),s.seedFooter&&!r(d,a)&&!r(d,f)){const o=(u,Z)=>T(D,u,Z),m={type:a,props:{blocks:b()}};t.insertNode(l,c.length,U(m,o,I(f)))}if(s.seedHeader&&!r(d,E)){const o=c[0]?.type===R?1:0;t.insertNode(l,o,N())}if(s.seedSiteHeader&&!r(d,R)&&!r(d,a)&&!r(d,f)){const o=S;ee({blocks:te(z),make:(m,u)=>T(D,m,u),id:I(R),siteId:v??null,token:x.current,latest:()=>h().appState.data.content,stillOpen:()=>P.current===o,write:m=>{const u=h().appState.data;t.setDocument({...u,content:[...m]})}})}return}const k=n.filter(e=>e.type!==a),G=new Set(O(k)),F=G.size?k.filter(e=>!G.has(e.props.id)):k;F.length!==n.length&&t.setDocument({...p,content:F}),!r(F,E)&&!r(d,E)&&t.insertNode(l,0,N())},[S,H,C,h,t,B,Y,g,A,_,z,v,x])}export{De as usePinnedChromeSeed};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import type { ScreenDocumentOps } from "efficient-easel/screen/lib/screen-parts";
|
|
2
|
+
import { type SectionToBoxEdit } from "../../render/lib/sections/section-to-box.js";
|
|
2
3
|
export declare function useSectionToBoxPass(ops: ScreenDocumentOps): void;
|
|
4
|
+
export declare function applySectionToBoxEdits(edits: readonly SectionToBoxEdit[], ops: Pick<ScreenDocumentOps, "replaceComponent" | "insertNode">, done: Set<string>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useEffect as
|
|
1
|
+
"use client";import{useEffect as p,useRef as a}from"react";import{useEasel as d}from"efficient-easel/easel";import{ROOT_ZONE as s}from"efficient-easel/draw";import{sectionToBoxEdits as m}from"../../render/lib/sections/section-to-box.js";function T(t){const o=d(e=>e.appState.data.content),n=a(new Set);p(()=>{u(m(o),t,n.current)},[o,t])}function u(t,o,n){for(const{index:e,nodes:c}of[...t].sort((i,r)=>r.index-i.index)){const i=String(c[0].props.id);n.has(i)||(n.add(i),o.replaceComponent(s,e,c[0]),c.slice(1).forEach((r,f)=>{o.insertNode(s,e+1+f,r),o.replaceComponent(s,e+1+f,r)}))}}export{u as applySectionToBoxEdits,T as useSectionToBoxPass};
|
|
@@ -7,8 +7,8 @@ export declare function useSocialSettings({ token, siteId, enabled, }: {
|
|
|
7
7
|
siteId: string | null;
|
|
8
8
|
enabled: boolean;
|
|
9
9
|
}): {
|
|
10
|
-
links: Partial<Record<"facebook" | "instagram" | "pinterest" | "telegram" | "tiktok" | "whatsapp" | "youtube" | "
|
|
11
|
-
rows: Record<"facebook" | "instagram" | "pinterest" | "telegram" | "tiktok" | "whatsapp" | "youtube" | "
|
|
10
|
+
links: Partial<Record<"facebook" | "instagram" | "pinterest" | "telegram" | "tiktok" | "whatsapp" | "youtube" | "line" | "x" | "linkedin" | "wechat", string>>;
|
|
11
|
+
rows: Record<"facebook" | "instagram" | "pinterest" | "telegram" | "tiktok" | "whatsapp" | "youtube" | "line" | "x" | "linkedin" | "wechat", SocialRowState>;
|
|
12
12
|
canSave: boolean;
|
|
13
13
|
saveLink: (platform: SocialPlatform, value: string) => Promise<SocialSaveOutcome>;
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from "react";
|
|
2
|
-
export declare function ColourControl({ value, onChange, label, id, caption, inherited, ariaLabel, }: {
|
|
2
|
+
export declare function ColourControl({ value, onChange, label, id, caption, inherited, ariaLabel, opacity, onOpacityChange, }: {
|
|
3
3
|
value: string;
|
|
4
4
|
onChange: (next: string) => void;
|
|
5
5
|
label: string;
|
|
@@ -7,6 +7,8 @@ export declare function ColourControl({ value, onChange, label, id, caption, inh
|
|
|
7
7
|
caption?: string;
|
|
8
8
|
inherited?: string;
|
|
9
9
|
ariaLabel?: string;
|
|
10
|
+
opacity?: number;
|
|
11
|
+
onOpacityChange?: (opacity: number) => void;
|
|
10
12
|
}): import("react").JSX.Element;
|
|
11
13
|
export declare function AnyColourSwatch({ value, onChange, label, }: {
|
|
12
14
|
value: string;
|
|
@@ -21,7 +23,7 @@ export declare function ColourRow({ label, icon, changed, hint, onReset, resetTo
|
|
|
21
23
|
resetTo?: string;
|
|
22
24
|
children?: ReactNode;
|
|
23
25
|
}): import("react").JSX.Element;
|
|
24
|
-
export declare function InheritedColourRow({ label, icon, value, inherited, resetTo, onChange, onReset, hint, }: {
|
|
26
|
+
export declare function InheritedColourRow({ label, icon, value, inherited, resetTo, onChange, onReset, hint, opacity, onOpacityChange, changed, }: {
|
|
25
27
|
label: string;
|
|
26
28
|
icon?: ReactElement;
|
|
27
29
|
value: string;
|
|
@@ -30,4 +32,7 @@ export declare function InheritedColourRow({ label, icon, value, inherited, rese
|
|
|
30
32
|
onChange: (hex: string) => void;
|
|
31
33
|
onReset: () => void;
|
|
32
34
|
hint?: ReactNode;
|
|
35
|
+
opacity?: number;
|
|
36
|
+
onOpacityChange?: (opacity: number) => void;
|
|
37
|
+
changed?: boolean;
|
|
33
38
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as s,jsxs as
|
|
1
|
+
"use client";import{jsx as s,jsxs as g}from"react/jsx-runtime";import{ColorPicker as m,HexInput as w}from"efficient-shell/ui";import{SettingsDefaultReset as C,SettingsField as b}from"efficient-easel/panel";import{typedHex as p}from"efficient-easel/pick";import{usePreviewHeader as N}from"../../../render/components/PreviewHeaderContext.js";import{editorEaselWords as S,say as h}from"../../../format/lib/editor-words.js";import{themeSwatches as j}from"./theme-swatches.js";function k({value:e,onChange:n,label:o,id:r,caption:t,inherited:a,ariaLabel:d,opacity:i,onOpacityChange:c}){return s(H,{value:e,onChange:n,label:h(d??o),id:r,caption:t,inherited:a,...c?{opacity:i,onOpacityChange:c}:{}})}function z(){const{theme:e}=N();return j(e).map(n=>({value:n.value,label:n.name}))}function H({value:e,onChange:n,label:o,id:r,caption:t,inherited:a,opacity:d,onOpacityChange:i}){const c=z(),l=e?null:p(a??""),f=t!==void 0&&(!e||p(t)!==p(e))?t:null,u=x=>{x!==e&&n(x)};return i?s("div",{className:"sf-colour",children:s(m,{id:r,value:e,onChange:u,label:o,presets:c,fallback:l??void 0,size:"md",align:"start",showHexInput:!0,opacity:d,onOpacityChange:i})}):g("div",{className:"sf-colour",children:[s(m,{id:r,value:e,onChange:u,label:o,presets:c,fallback:l??void 0,size:"md",align:"start"}),f!==null?s("span",{className:"sf-colour-caption",children:f}):s("span",{className:"sf-colour-hexwrap",children:s(w,{value:e||l||"",onChange:u,label:h("{label} hex code",{label:o}),placeholder:e||l?void 0:h("Not set"),className:l?"sf-colour-hex is-inherited":"sf-colour-hex",size:"md"})})]})}function _({value:e,onChange:n,label:o}){return s(m,{value:e,onChange:r=>{r&&r!==e&&n(r)},label:h(o),size:"sm",align:"end"})}function P({label:e,icon:n,changed:o,hint:r,onReset:t,resetTo:a,children:d,...i}){return g(b,{label:e,icon:n,htmlFor:i.id,changed:o,hint:r,action:t?s(C,{words:S()?.panel,label:e,changed:!!o,detail:a,onReset:t}):void 0,children:[k({...i,label:e}),d]})}function A({label:e,icon:n,value:o,inherited:r,resetTo:t,onChange:a,onReset:d,hint:i,opacity:c,onOpacityChange:l,changed:f}){const u=!!o;return s(P,{label:e,icon:n,value:o,inherited:u?void 0:r,onChange:a,changed:f??u,onReset:d,resetTo:t,hint:i,...l?{opacity:c,onOpacityChange:l}:{}})}export{_ as AnyColourSwatch,k as ColourControl,P as ColourRow,A as InheritedColourRow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as t,jsxs as I}from"react/jsx-runtime";import{ButtonIcon as F,ButtonIconIcon as g,GroundIcon as x,IconAfterTextIcon as T,IconBeforeTextIcon as y,TextColorIcon as C,WidthIcon as _}from"efficient-easel/icons";import*as B from"efficient-easel/icons";import{SettingsField as O}from"efficient-easel/panel";import{useSelectedFields as d}from"efficient-easel/easel";import{IconPicker as S,Segmented as k}from"efficient-shell/ui";import{StorefrontTextLinkField as w}from"../../../../../components/StorefrontLinkField.js";import{BUTTON_ICONS as L,buttonIconChoice as N,buttonIconSide as v,buttonWidth as W}from"../../../../../../format/lib/content/button-icon.js";import{BUTTON_PAD_BUILT_IN as z,BUTTON_PAD_KEYS as P,buttonLook as A}from"../../../../../../format/lib/content/button-look.js";import{say as n}from"../../../../../../format/lib/editor-words.js";import{FOLLOWS_SITE_BUTTON as U,FOLLOWS_SITE_BUTTON_INK as R,buttonBorderField as j,buttonWordsEntryField as E,colorInput as u,group as f,inOwnBox as D,linkField as K,plainText as G,section as m,segmented as Y,sidesPaddingFields as M}from"../../../controls.js";import{NoControlMark as V,noControlField as $}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{alignField as q}from"../../shared-fields.js";import{CARD_ROW_FACTS as H,cardRowField as p,cardRowFields as J}from"../../../card-row-fields.js";import{consentWordsKept as Q,withConsentWordsRow as X}from"../../../consent-words-field.js";const c=o=>({...$({type:"custom",render:()=>t(V,{})},"always"),reachedBy:o});function h(o){const e=(o==="none"?"no-symbol":o).replace(/(^|-)([a-z])/g,(r,s,a)=>a.toUpperCase()),l=B[`${e}Icon`];return l?t(l,{size:16}):null}const Z=L.map(o=>({value:o,icon:h(o)}));function oo({value:o,onChange:i}){const e=d(),l=e.values.href,r=typeof o=="string"?o:o&&typeof o=="object"&&"text"in o?String(o.text??""):"";return t(w,{label:"Button",icon:t(F,{size:18}),text:r,onTextChange:i,link:typeof l=="string"?l:"",onLinkChange:s=>e.onChange("href",s)})}function to({value:o,onChange:i}){const e=d(),l=N(o,e.values.arrow),r=v(e.values.iconPosition),s=W(e.values.widthFit)==="fill",a=h("icon-at-end");return t(O,{label:n("Icon"),icon:t(g,{size:18}),children:I("div",{className:"flex items-center gap-2",children:[t(S,{label:n("Icon"),value:l,emptyValue:"none",options:Z,onChange:i}),l!=="none"&&t(k,{size:"sm",block:!0,label:n("Icon position"),value:r==="end"&&!s?"after":r,onChange:b=>e.onChange("iconPosition",b),options:[{value:"before",icon:t(y,{size:16}),label:t("span",{className:"sr-only",children:n("Icon before text")}),title:n("Icon before text")},{value:"after",icon:t(T,{size:16}),label:t("span",{className:"sr-only",children:n("Icon after text")}),title:n("Icon after text")},...s?[{value:"end",icon:a,label:t("span",{className:"sr-only",children:n("Icon at the far end")}),title:n("Icon at the far end")}]:[]]})]})})}const eo={key:"buttonFillOpacity",unsetFrom:"variant",unset:o=>A({variant:o}).fillOpacity},Fo={fields:{label:D(G("Button"),o=>t(oo,{value:o.value,onChange:o.onChange})),labelText:E("label"),href:{...K("Button link"),...c("label")},consentWords:Q("label"),_gButton:f("Button"),rowField:p("Shows","text"),rowLinkField:p("Link from","link"),_dSize:m("Size"),widthFit:Y("Width",t(_,{}),[{label:"Fit content",value:"fit"},{label:"Fill",value:"fill"}],"fit"),...M({keys:P,fallback:z,group:!1}),_gStyle:f("Style"),variant:c("buttonColor"),icon:{type:"custom",render:o=>t(to,{value:o.value,onChange:o.onChange})},iconPosition:c("icon"),arrow:c("icon"),buttonColor:u("Fill color",U,t(x,{}),eo),buttonFillOpacity:c("buttonColor"),buttonBorder:j(),buttonTextColor:u("Text color",R,t(C,{})),_dLayout:m("Layout"),align:q()},resolveFields:(o,i)=>X(J(i.fields,o,i),o.props,"label",["href"]),showWhenFacts:H};export{Fo as ButtonBlockFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{EyeOffIcon as r,StylesIcon as d,WeightIcon as c,WidthIcon as p}from"efficient-easel/icons";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{NoControlMark as m,noControlField as f}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{select as g,sidesPaddingFields as I,slider as i,swapPadding as h,toggle as y}from"../../../controls.js";import{DEFAULT_DIVIDER_STYLE as s,DIVIDER_SPACE_PX as D,DIVIDER_STYLE_OPTIONS as E,parseDividerSpacing as _}from"../../../../../../format/lib/sections/divider-style.js";import{withRowRules as S}from"../../../../../../render/lib/document/show-when.js";const P={any:[{field:"style",set:!1},{field:"style",is:s}]},R={not:{field:"style",is:"none"}},v={fields:S({style:g("Style",e(d,{}),E,s),spacing:{...f({type:"custom",render:()=>e(m,{})},"always"),reachedBy:"sectionPaddingTop"},thickness:i("Thickness",e(c,{}),1,8,1,1,"px"),lengthPct:i("Length",e(p,{}),10,100,1,100,"%"),hideOnMobile:a("mobile",y("Hide",!1,e(r,{})))},[[["thickness"],P],[["lengthPct"],R]]),resolveFields:(t,{fields:n})=>{const o=D[_(t.props.spacing)],l=I({fallback:{top:o,bottom:o}});return h(n,l)}};export{v as DividerFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{BOX_CARD_PAD as a,BOX_DARKEN as o,BOX_DARKEN_STYLES as l,isBackgroundBox as S}from"../../../../../../format/lib/content/box-background.js";import{containerDirectionPoints as f}from"../../../../../../format/lib/content/container-direction.js";import{BOX_TAB_SHAPES as k,REEL_SHAPE_LABELS as h}from"../../../../../../format/lib/reel.js";import{deviceField as r}from"efficient-easel/screen/lib/document/device-fields";import{OpacityIcon as x,ShadowIcon as F,StylesIcon as p}from"efficient-easel/icons";import{boxAlignField as _,boxBlockSpacingField as u,boxJustifyField as y,boxPhoneRowField as B,boxShareField as w,boxWrapField as A,gapField as I,group as i,placementField as P,plainText as R,select as s,sidesPaddingFields as d,slider as D,swapPadding as m,toggle as E,upload as g,withPanelOnly as O}from"../../../controls.js";import{withRowRules as L}from"../../../../../../render/lib/document/show-when.js";import{FlexSlots as T}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";const C={field:"bgImage",set:!0},X={field:"direction",is:"tabs"},Y={fields:L({_gContent:i("Content"),content:T.content,_gLayout:i("Layout"),direction:{type:"radio",options:f("Flex")},tabShape:s("Tab shape",t(p,{}),k.map(e=>({label:h[e],value:e})),"tabs"),label:O(R("Tab name")),gap:I("Flex"),justify:y(),align:_(),wrap:A(),share:w(),phoneRow:B(),blockSpacing:u(),_gShadow:i("Shadow"),shadow:E("Shadow",!1,t(F,{})),_gBackground:i("Background image"),bgImage:r("desktop",g("Image","image/*")),bgImagePhone:r("mobile",g("Image","image/*")),darken:D("Darken",t(x,{}),o.min,o.max,o.step,o.fallback,o.unit),darkenStyle:s("Darken style",t(p,{}),l,l[0].value),placement:P("Content position",{stacking:!1})},[[["darken","darkenStyle","placement"],C],[["tabShape"],X]]),resolveFields:(e,{fields:n})=>{const c=e.props;if(S(c.bgImage)){const b=d({fallback:{top:a.desktop,bottom:a.desktop,left:a.side,right:a.side}});return m(n,b)}return e.props.padV2!==!0?m(n,d({fallback:{top:24,bottom:24}})):n}};export{Y as FlexFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{BlockVideoIcon as m,ClockIcon as r,ImageIcon as t,MediaIcon as n,OpacityIcon as g,PlayIcon as p}from"efficient-easel/icons";import{colorInput as s,focusKeptField as o,group as i,loadingShowsField as c,MEDIA_TYPE_OPTIONS as I,plainText as f,segmented as F,slider as l,text as v,upload as a,withIdentifier as S,withPanelOnly as d}from"../../../controls.js";import{LOADING_SHOWS_IMAGE as _}from"../../../../../../format/lib/hero-video.js";import{PH as u}from"../../../../../../format/lib/document/blocks/placeholders.js";import{slotNoticeField as h}from"../../shared-fields.js";import{heroMediaFields as y,VIDEO_FILE_LABEL as O,VIDEO_FILE_PROMPT as P}from"../../../../../../render/lib/document/hero-media-parts.js";import{HeroSlideSlots as T}from"../../../../../../format/lib/document/blocks/general/HeroSlide/meta.js";const H={fields:y({_gContent:i("Content"),name:d(S(f("Slide name",u.slideName))),process:d(v("Reel label","Label")),groupNotice:h("HeroSlide"),groups:T.groups,_gMedia:i("Media"),mediaType:F("Type",e(n,{}),I,"video"),mediaVideo:a(O,"video/*",P,{frame:"videoFrame"}),videoSpeed:l("Playback speed",e(p,{}),25,100,5,100,"%"),loadingShows:c("Show while loading",e(r,{}),{frame:e(m,{}),image:e(t,{})}),videoFrame:o(),mediaImage:a("Background image","image/*","Upload a background image",{focus:"imageFocal"}),imageFocal:o(),imageFocalPhone:o(),poster:a("Image","image/*","Choose an image"),_gTint:i("Image tint"),tintColor:s("Tint color","#000000"),overlay:l("Overlay",e(g,{}),0,100,5,0,"%")},{onlyFor:{image:["mediaImage","imageFocal","imageFocalPhone","_gTint","tintColor","overlay"],video:["mediaVideo","videoSpeed","loadingShows","videoFrame"]},fallback:"video",rules:{poster:{all:[{field:"mediaType",is:"video",default:"video"},_]}}})};export{H as HeroSlideFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{BlackAndWhiteIcon as a,ColumnsIcon as s,HeightIcon as n,PaddingYIcon as r,StylesIcon as g}from"efficient-easel/icons";import{group as l,plainText as i,select as m,slider as e,textarea as d,toggle as O,upload as _,withPanelOnly as c}from"../../../controls.js";import{DEFAULT_LOGO_LOOK as p,LOGO_LOOK_OPTIONS as S}from"../../../../../../format/lib/sections/logo-look.js";import{HEAD_ROWS_SHOW_WHEN as y,OWN_BOX_ROWS_SHOW_WHEN as L}from"../../../../../../format/lib/sections/section-head-placement.js";import{withRowRules as h}from"../../../../../../render/lib/document/show-when.js";import{LogosSlots as W}from"../../../../../../format/lib/document/blocks/general/Logos/meta.js";const u=["items","heading","bandPadding"],H=["look"],E={fields:h({_gContent:l("Content"),heading:d("Heading","Trusted by *teams worldwide*"),items:{type:"array",label:"Logos",arrayFields:{src:_("Image","image/*"),alt:c(i("Name / alt"))},getItemSummary:t=>t.alt||t.src||"logo"},logos:W.logos,_gStyle:l("Style"),columns:e("Columns",o(s,{}),3,6,1,5),logoHeight:e("Logo height",o(n,{}),20,72,2,28,"px"),bandPadding:e("Space above and below",o(r,{}),16,120,4,40,"px"),grayscale:O("Black and white logos",!0,o(a,{})),look:m("Logo style",o(g,{}),S,p)},[[u,y],[H,L]])};export{E as LogosFields};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{FieldGlyph as t}from"../../../../../components/FieldGlyph.js";import{CARD_ROW_FACTS as r,cardRowField as a,cardRowFields as i}from"../../../card-row-fields.js";import{group as s,select as d,textarea as n}from"../../../controls.js";import{PH as p}from"../../../../../../format/lib/document/blocks/placeholders.js";import{alignField as h,toneField as m}from"../../shared-fields.js";import{consentWordsKept as x,withConsentWordsRow as F}from"../../../consent-words-field.js";const w={fields:{text:n("Body",p.body),consentWords:x("text"),align:h(),tone:m(),_gText:s("Text"),rowField:a("Shows","text"),tag:d("HTML tag",o(t,{noun:"heading"}),[{label:"Paragraph",value:"p"},{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"}],"p")},resolveFields:(e,l)=>F(i(l.fields,e,l),e.props,"text"),showWhenFacts:r};export{w as TextFields};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const assembleGeneralBlocks: () => Record<"Grid" | "Flex" | "HeroGroup" | "Ticker" | "Prose" | "Logos" | "Divider" | "LogoBlock" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "Footprint" | "ParagraphsA" | "Split" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "
|
|
2
|
-
export declare const generalBlocks: Record<"Grid" | "Flex" | "HeroGroup" | "Ticker" | "Prose" | "Logos" | "Divider" | "LogoBlock" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "Footprint" | "ParagraphsA" | "Split" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "
|
|
1
|
+
export declare const assembleGeneralBlocks: () => Record<"Grid" | "Flex" | "HeroGroup" | "Ticker" | "Prose" | "Logos" | "Divider" | "LogoBlock" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "Footprint" | "ParagraphsA" | "Split" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "CustomHTML" | "TimelineTrack" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "ButtonBlock" | "PostCard" | "HeroSlide" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
|
|
2
|
+
export declare const generalBlocks: Record<"Grid" | "Flex" | "HeroGroup" | "Ticker" | "Prose" | "Logos" | "Divider" | "LogoBlock" | "Text" | "Hero" | "HeroSingle" | "IntroBleed" | "SpecStrip" | "ProcessSteps" | "OrderSummary" | "PaymentBadges" | "Manifesto" | "Timeline" | "Footprint" | "ParagraphsA" | "Split" | "Cards" | "Stats" | "StatsParagraph" | "Chart" | "Mockup" | "Testimonials" | "Banner" | "TitleWithButtons" | "Countdown" | "Masthead" | "FeaturedCover" | "LongRead" | "Series" | "Breadcrumb" | "CategoryBar" | "DocTabs" | "DocMasthead" | "DocBody" | "DocMetaCards" | "FAQ" | "ContactLocations" | "SectionHeader" | "CustomHTML" | "TimelineTrack" | "Spacer" | "KeyFeatures" | "Heading" | "Eyebrow" | "ImageBlock" | "ButtonBlock" | "PostCard" | "HeroSlide" | "Integrations", import("efficient-easel/blocks").ComponentConfig<any, any, Omit<import("efficient-easel/blocks").ComponentData<any, string, Record<string, import("efficient-easel/blocks").DefaultComponentProps>>, "type">>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useSyncExternalStore as T}from"react";import{rowBound as P}from"../../../format/lib/content/card-template.js";import{SHOP_MARKUP as S}from"../../../format/lib/markup.js";import{readHidable as k,textFieldOffPage as v}from"./controls.js";import{decodePartId as
|
|
1
|
+
import{useSyncExternalStore as T}from"react";import{rowBound as P}from"../../../format/lib/content/card-template.js";import{SHOP_MARKUP as S}from"../../../format/lib/markup.js";import{readHidable as k,textFieldOffPage as v}from"./controls.js";import{decodePartId as O}from"efficient-easel/draw";import{PART_ATTR as y}from"../../../render/lib/document/text-parts.js";import{partRowField as b}from"./part-row-field.js";import{decodePartKey as K,partRowValue as w}from"../../../render/lib/document/part-rows.js";import{isMultilineKind as A,typeInPlaceKind as R}from"../../../render/lib/document/part-text.js";import{commitPartText as C}from"./part-typing.js";import{consentWordsOf as F}from"../../../format/lib/content/consent-banner.js";const E=["bold","italic","underline","strike","link","sup","sub"],I=["bullet","number"];function _(e,t){return e?[...E,...t?I:[]]:[]}function g(e,t){const r=O(e);if(!r?.propKey)return null;const{nodeId:u,propKey:s}=r,o=t.getItemById(u),c=t.getSelectorForId(u);if(!o||!c)return null;const{key:n,row:i}=K(s),p=t.components[o.type]?.fields?.[n],d=i?b(p,i):p,m=R(d);if(!m)return null;const l=o.props??{};if(F(l)!==null||!i&&P(o.type,l,n)||i&&!(Array.isArray(l[n])&&i.index<l[n].length))return null;const x=i?w(l[n],i):l[n];return{node:o,selector:c,propKey:s,kind:m,stored:x,offPage:v(d)}}function G(e,t){const r=g(e,t);if(!r||r.offPage)return null;const{text:u,hidden:s}=k(r.stored);if(s)return null;const o=A(r.kind);return{partId:e,value:u,rules:S,multiline:o,offered:_(r.kind!=="plainText",o),write:c=>{const n=g(e,t);n&&C({node:n.node,propKey:n.propKey,kind:n.kind,zone:n.selector.zone,index:n.selector.index},c,t.replace)}}}function J(e,t,r){return e?.isConnected&&e.getAttribute(y)===r?e:t?.querySelector(`[${y}="${B(r)}"]`)??null}function B(e){return e.replace(/["\\]/g,"\\$&")}function Q(e){const t=e.activeElement;return t?t.tagName==="IFRAME"||!!t.closest(".es-canvas"):!1}let f=null;const a=new Set;function L(){return f}function X(e){if(e!==f){f=e;for(const t of a)t()}}function M(e){return a.add(e),()=>{a.delete(e)}}function Y(){return T(M,L,()=>null)}export{L as canvasTypingPart,Q as keysOnCanvas,J as partElement,_ as partTextTools,G as partTypingTarget,X as setCanvasTypingPart,M as subscribeCanvasTypingPart,Y as useCanvasTypingPart};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function consentWordsKept(wordsRow: string): {
|
|
2
|
+
reachedBy: string;
|
|
3
|
+
type: "custom";
|
|
4
|
+
render: () => import("react").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export declare function withConsentWordsRow<F extends Record<string, unknown>>(fields: F, props: Record<string, unknown> | undefined, wordsRow: string, dropped?: readonly string[]): F;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{LockIcon as c}from"efficient-easel/icons";import{FieldText as u}from"efficient-easel/fields";import{SettingsField as d}from"efficient-easel/panel";import{NoControlMark as l,noControlField as p}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{CONSENT_WORDS_PROP as f,consentWordsOf as a}from"../../../format/lib/content/consent-banner.js";import{say as i}from"../../../format/lib/editor-words.js";function y(){return{type:"custom",render:({id:r,name:n})=>{const o=`${r??n??f}-words`;return e(d,{label:i("Words"),icon:e(c,{}),htmlFor:o,children:e(u,{id:o,value:i("Set by country"),onChange:()=>{},readOnly:!0})})}}}function b(r){return{...p({type:"custom",render:()=>e(l,{})},"always"),reachedBy:r}}function j(r,n,o,s=[]){return a(n)===null?r:Object.fromEntries(Object.entries(r).filter(([t])=>!s.includes(t)).map(([t,m])=>[t,t===o?y():m]))}export{b as consentWordsKept,j as withConsentWordsRow};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
-
import type
|
|
2
|
+
import { type MediaValue } from "../../../format/lib/media-value.js";
|
|
3
|
+
import { type LoadingShows } from "../../../format/lib/hero-video.js";
|
|
3
4
|
import { readHidable, hidableText, type HidableValue } from "efficient-easel/draw";
|
|
4
5
|
import { FOLD_FIELD_MARKER, LINK_FIELD_MARKER, MEDIA_FIELD_MARKER, SCAFFOLD_FIELD_MARKER, TEXT_FIELD_MARKER, foldMetaOf, textFieldIdentifier, type EdgeCell, type FoldFieldMeta, type TextFieldMeta, type TextListRendering } from "efficient-easel/draw";
|
|
5
6
|
import type { ShowWhenRule } from "../../../render/lib/document/show-when.js";
|
|
@@ -172,11 +173,14 @@ interface CornersRowTier {
|
|
|
172
173
|
}
|
|
173
174
|
export declare function cornersRowField(tier: CornersRowTier): CustomField<number | null>;
|
|
174
175
|
export declare function useSelectedSibling(key: string): [unknown, (next: unknown) => void];
|
|
176
|
+
export declare function useSelectedPatch(): (patch: Record<string, unknown>) => void;
|
|
175
177
|
export declare function cornerSidesField(): CustomField<string[] | null>;
|
|
176
178
|
export declare function sectionCornersField(): CustomField<number | null>;
|
|
177
179
|
export declare const SECTION_BLEEDS_HINT = "This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";
|
|
178
180
|
export declare function sectionShapeFields(): Record<string, unknown>;
|
|
179
181
|
export declare function sectionBorderField(tier: "desktop" | "mobile"): CustomField<SettingsBorderValue | undefined>;
|
|
182
|
+
export declare function buttonWordsEntryField(partKey: string): CustomField<undefined>;
|
|
183
|
+
export declare function buttonBorderField(): CustomField<SettingsBorderValue | undefined>;
|
|
180
184
|
export declare function sectionAnimationFields(): Record<string, unknown>;
|
|
181
185
|
export declare function cardCornersField(): CustomField<number | null>;
|
|
182
186
|
export declare function templateField<V>(inner: CustomField<V>): CustomField<V>;
|
|
@@ -269,6 +273,7 @@ export type SidesPaddingOptions = {
|
|
|
269
273
|
step?: number;
|
|
270
274
|
};
|
|
271
275
|
export declare function sidesPaddingFields(opts?: SidesPaddingOptions): Record<string, CustomField<undefined> | CustomField<number>>;
|
|
276
|
+
export declare function swapPadding(fields: Record<string, unknown>, padding: Record<string, unknown>): Record<string, unknown>;
|
|
272
277
|
type PositionKeys = {
|
|
273
278
|
x: string;
|
|
274
279
|
y: string;
|
|
@@ -295,7 +300,12 @@ export type FollowsSiteButton = {
|
|
|
295
300
|
};
|
|
296
301
|
export declare const FOLLOWS_SITE_BUTTON: FollowsSiteButton;
|
|
297
302
|
export declare const FOLLOWS_SITE_BUTTON_INK: FollowsSiteButton;
|
|
298
|
-
export
|
|
303
|
+
export type ColourOpacity = {
|
|
304
|
+
key: string;
|
|
305
|
+
unsetFrom: string;
|
|
306
|
+
unset: (from: unknown) => number;
|
|
307
|
+
};
|
|
308
|
+
export declare function colorInput(label: string, fallback: string | FollowsSiteButton, icon?: ReactElement, opacity?: ColourOpacity): CustomField<string>;
|
|
299
309
|
export declare const FOCAL_POINTS: {
|
|
300
310
|
value: string;
|
|
301
311
|
label: string;
|
|
@@ -372,9 +382,11 @@ export declare function segmented<V>(label: string, icon: ReactElement, options:
|
|
|
372
382
|
value: V;
|
|
373
383
|
picture?: ReactElement;
|
|
374
384
|
}[], fallback: V): CustomField<V>;
|
|
385
|
+
export declare function loadingShowsField(label: string, icon: ReactElement, pictures: Readonly<Record<LoadingShows, ReactElement>>): CustomField<LoadingShows>;
|
|
375
386
|
export declare function upload(label: string, accept: string, placeholder?: string, opts?: {
|
|
376
387
|
focus?: string;
|
|
377
388
|
focusWhen?: (props: Record<string, unknown>) => boolean;
|
|
389
|
+
frame?: string;
|
|
378
390
|
}): CustomField<MediaValue>;
|
|
379
391
|
export declare const CUSTOM_FIELD_MEDIA: Record<string, string[]>;
|
|
380
392
|
export declare function CoordsField({ value, onChange, label, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as r,jsxs as O,Fragment as I}from"react/jsx-runtime";import{cloneElement as ge,useId as yt,useRef as re,useState as U}from"react";import{useEasel as j,useSelectedFields as ie}from"efficient-easel/easel";import{say as l,editorEaselWords as x}from"../../../format/lib/editor-words.js";import{readHidable as be,hidableText as xe}from"efficient-easel/draw";import{FOLD_FIELD_MARKER as q,LINK_FIELD_MARKER as ye,MEDIA_FIELD_MARKER as Se,SCAFFOLD_FIELD_MARKER as Ce,TEXT_FIELD_MARKER as E,foldMetaOf as le,textFieldIdentifier as St}from"efficient-easel/draw";import Ct from"../../components/ApplyCornersToSiblings.js";import _t from"../../components/TemplateFieldRow.js";import{CARD_IMAGE_RADIUS_STEP as It,CORNER_RADIUS_MAX as _e,CORNER_RADIUS_MIN as B}from"../../../format/lib/content/card-image-shape.js";import{IMAGE_CORNER_STEP as Et,IMAGE_CORNERS_LABEL as Tt}from"../../../format/lib/content/image-corners.js";import{GRID_MAX_COLUMNS as Ot}from"../../../format/lib/content/grid-span.js";import{GALLERY_ACROSS_BUCKETS as Rt,GALLERY_LAYOUTS as X,GALLERY_LAYOUT_KEYS as Ie}from"../../../format/lib/content/gallery-layout.js";import{anchorSiblingsOf as wt,HERO_GROUP_PLACEMENTS as Pt,HERO_GROUP_PLACEMENT_DEFAULT as kt,normalisePlacement as Lt,placementPoints as Ee}from"../../../format/lib/hero-group-placement.js";import Nt from"../../components/KeepHint.js";import vt from"../../components/AnchorField.js";import{AdjustIcon as At,AlignLeftIcon as Ft,EyeIcon as Dt,AlignSeparateIcon as Bt,AnimationIcon as Te,BackgroundIcon as Ht,BorderAllIcon as Gt,BlockSectionIcon as Mt,CartIcon as Kt,ColumnWidthsIcon as Oe,ColumnsIcon as Re,CornerIcon as Wt,DirectionDownIcon as Ut,DirectionLeftIcon as jt,DirectionRightIcon as Xt,DirectionUpIcon as $t,DollarIcon as zt,FinishIcon as Vt,GapIcon as we,GridIcon as Yt,GroundIcon as qt,HashIcon as Pe,HeightIcon as Jt,ImageIcon as Zt,ListIcon as Qt,LocationIcon as ae,NudgeIcon as en,PaddingAllIcon as tn,PaddingBottomIcon as ke,PaddingLeftIcon as Le,PaddingRightIcon as Ne,PaddingTopIcon as ve,PageIcon as Ae,PlacementIcon as nn,ProductSizeIcon as on,StickyIcon as rn,RotateIcon as ln,SquareIcon as an,TypeIcon as sn,WidthIcon as cn,WrapIcon as dn}from"efficient-easel/icons";import{FieldGlyph as Fe}from"../../components/FieldGlyph.js";import{resolvePageBackground as un}from"../../../format/lib/content/page-background.js";import{CORNER_SIDES as De,CORNER_SIDE_POINTS as pn,hasOwnSectionCorners as fn,normalizeCornerSides as Be}from"../../../format/lib/content/section-corners.js";import{SECTION_MOTION_NONE as hn,SECTION_MOTION_OPTIONS as mn}from"../../../format/lib/content/section-animation.js";import{enclosingSectionProps as He}from"./enclosing-section.js";import{SettingsDefaultReset as y,SettingsField as m,SettingsGroup as gn,SettingsGroupSub as bn,SettingsBorder as xn,SettingsSegmented as yn,SettingsSides as Sn,SettingsSidesEach as Ge,sidesStartEach as Cn,SettingsSwitch as Me,borderSides as _n,borderStartEach as In}from"efficient-easel/panel";import{FieldSelect as En,ListField as Tn}from"efficient-easel/fields";import{DisplayChips as On}from"efficient-shell/ui";import{desktopDisplayChanged as Rn,partShownOnDesktop as wn,partShownOnPhone as Pn,phoneDisplayChanged as kn,withDesktopPart as Ln,withPhonePart as Nn}from"../../../format/lib/content/part-display.js";import{AlignmentGrid as vn,Checkbox as An,CornersInput as Fn,DateTimePicker as Dn,FOCAL_DEFAULT as Bn,PictureTiles as Ke,PositionInput as Hn,Slider as Gn,Tooltip as We}from"efficient-shell/ui";import{ColourRow as Ue,InheritedColourRow as Mn}from"./ColourControl.js";import je from"./MarkupToolbar.js";import{deviceField as g}from"efficient-easel/screen/lib/document/device-fields";import{NO_CONTROL_FIELD as Kn,NoControlMark as J,noControlField as $}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{OWN_BOX_FIELD as Wn}from"../../../format/lib/document/own-box.js";import{PHONE_CLEAR as Un,resolvePhoneValue as se}from"../../../format/lib/document/phone-override.js";import{phoneKey as H}from"efficient-easel/draw";import{SuppressibleText as jn}from"./section-text-suppress.js";import{CARD_INDEX_OPTIONS as Xn,CARD_OUTLINE_OPTIONS as $n,DEFAULT_CARD_INDEX_FORMAT as zn,DEFAULT_CARD_OUTLINE as Vn}from"../../../format/lib/sections/product-card-style.js";import{COVER_INDEX_OPTIONS as Yn,DEFAULT_COVER_INDEX as qn}from"../../../format/lib/sections/card-cover-index.js";import{SCALAR_TEXT_CONTROLS as Jn}from"efficient-easel/draw";import Zn from"../../components/MediaUploadField.js";import Qn from"../../components/MultiSelectField.js";import eo from"../../components/SectionThemePicker.js";import to from"../../components/SearchSelectField.js";import no from"../../components/StorefrontLinkField.js";import{UiIcon as Xe}from"efficient-easel/draw/client";import{SECTION_PADDING as T}from"../../../format/lib/content/section-padding.js";import{hasPhoneHeight as oo,resolveSectionMinHeight as ro}from"../../../format/lib/content/section-min-height.js";import{SECTION_STICK_DISTANCE as Z,SECTION_STICK_LABEL as ce,hasPhoneStick as io,resolveSectionStick as lo}from"../../../format/lib/content/section-sticky.js";import{SECTION_MIN_HEIGHT as ao,SECTION_MIN_HEIGHT_GROUP_LABEL as z,SECTION_SCREEN_PCT as so}from"../../../format/lib/content/section-min-height.js";import{CONTAINER_DIRECTION_LABEL as co,containerDirectionPoints as uo,resolveContainerDirection as $e}from"../../../format/lib/content/container-direction.js";import{BOX_ALIGN_POINTS as po,BOX_BLOCK_SPACING_LABEL as fo,BOX_BLOCK_SPACING_POINTS as ze,BOX_JUSTIFY_POINTS as Ve,BOX_PHONE_ROW_LABEL as ho,BOX_PHONE_ROW_MAX as mo,BOX_PHONE_ROW_MIN as Ye,BOX_SHARE_LABEL as qe,BOX_SHARE_POINTS as de,BOX_WRAP_LABEL as go,BOX_WRAP_POINTS as Je}from"../../../format/lib/content/box-layout.js";import{usePreviewHeader as G}from"../../../render/components/PreviewHeaderContext.js";import{BORDER_MAX as bo}from"../../../format/lib/content/borders.js";import{DEFAULT_SURFACES as xo,normalizeTheme as yo,siteButtonPaint as So}from"../../../format/lib/theme.js";import{CONTAINER_GAP as ue,CONTAINER_GAP_BUILT_IN as Co,GAP_FIELD_CONTAINER as _o,hasOwnContainerGap as Io,resolveContainerGap as Eo}from"../../../format/lib/content/container-gap.js";import{CARD_IMAGE_BG_INHERIT as To,CARD_IMAGE_BG_OFF as Oo,CARD_IMAGE_BG_SWATCH_NAMES as Ro,CARD_IMAGE_BG_SWATCHES as wo,isCardImageBackgroundInheriting as Po,cardImageBackgroundChoice as ko,THEME_CARD_IMAGE_BG as Lo}from"../../../format/lib/content/card-image-background.js";import{SECTION_BG_INHERIT as No,SECTION_BG_SWATCHES as vo,SECTION_BG_SWATCH_NAMES as Ao,THEME_SECTION_BG as Fo,isSectionBackgroundInheriting as Do}from"../../../format/lib/content/section-background.js";import{SECTION_THEME_GROUP_LABEL as Bo}from"../../../format/lib/content/section-surface.js";import{TYPE_SIZE_FIXED as Ho,TYPE_SIZE_INHERIT as Go,isTypeSizeInheriting as Mo}from"../../../format/lib/content/section-type-size.js";import{SECTION_WIDTH_CHOICES as Ko,WIDTH_CHOICE_LABEL as Wo,WIDTH_INHERIT as Uo,resolveWidth as jo,sectionRunsFullWidth as Ze}from"../../../format/lib/content/section-width.js";import{useFoldHeadingLevel as Xo}from"./panel-heading-scope.js";import{withStyleKind as $o}from"efficient-easel/style-clipboard";import{useEaselSession as zo}from"efficient-easel/screen/lib/session-context";import{backendOf as Vo}from"../website-session.js";import{describedAs as R}from"../../../format/lib/host-document-bridge.js";function M(e){for(const[t,n]of Object.entries(e))n&&typeof n=="object"&&!le(n)&&$o(n,`section:${t}`);return e}function al({children:e}){return r("div",{className:"sf-field-label",children:typeof e=="string"?l(e):e})}function Qe(){return null}function Yo(e){if(!e.trim())throw new Error("noGlyph() needs a reason naming the ruling that decided it.");return r(Qe,{},e)}function qo(e){return e.type===Qe}function k(e){return qo(e)?void 0:e}function N(e,t){return l("{value} from {from}",{value:e,from:t})}function Jo(){const{appState:e}=j(i=>i),t=e.data.root?.props??{},{mode:n,pageWidth:o}=jo(t,"full");return n==="page"?N(`${o}px`,l("the page")):n==="contained"?N(l("Contained"),l("the page")):N(l("Full"),l("the page"))}function Zo(){const{blockGap:e}=G();return e===null?l("this container's own spacing"):N(`${e}px`,l("Styles"))}function Qo({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Zo(),onReset:t})}function er({inherited:e,onReset:t,label:n}){return r(y,{words:x()?.panel,label:l(n),changed:!e,detail:Jo(),onReset:t})}function v({value:e,onChange:t,label:n,placeholder:o,hint:i,multiline:a,hideable:c=!0,markup:s=!0}){const{text:d,hidden:u}=be(e),f=re(null),p=re(null),h=P=>t(c?{text:P,hidden:u}:P),b=()=>t({text:d,hidden:!u}),C=c&&u,w=yt(),_=i?ir(i)?r("span",{className:"sf-hint-keep sf-hint-while-typing",children:l(i)}):r(Nt,{children:l(i)}):void 0,Y=u?l("Show {label} on the slide",{label:l(n)}):l("Hide {label} on the slide",{label:l(n)});return r(m,{label:l(n),icon:r(sn,{}),htmlFor:w,className:C?"is-hidden":void 0,hint:_,action:c?r(We,{content:Y,children:r("button",{type:"button",className:"sf-field-eye","aria-pressed":u,"aria-label":Y,onClick:b,children:u?r(Xe,{name:"eye-off",size:14}):r(Xe,{name:"eye",size:14})})}):void 0,children:O("div",{className:"sf-copybox",children:[s&&r(je,{target:a?p:f,value:d,onChange:h}),a?r("textarea",{id:w,ref:p,value:d,placeholder:o===void 0?void 0:l(o),onChange:P=>h(P.target.value)}):r("input",{id:w,ref:f,type:"text",value:d,placeholder:o===void 0?void 0:l(o),onChange:P=>h(P.target.value)})]})})}function sl(e,t){return{...e,[Ce]:t}}function cl(e){const t=e[E];if(!t)throw new Error("withOffPage: the field holds no authored text");return{...e,[E]:{...t,offPage:!0}}}function dl(e){return!e||typeof e!="object"?!1:e[E]?.offPage===!0}const et="sfPanelOnly";function ul(e){if(!e[E])throw new Error("withPanelOnly: the field holds no authored text");return{...e,[et]:!0}}function pl(e){return!!e&&typeof e=="object"&&e[et]===!0}function fl(e){const t=e[E];if(!t)throw new Error("withIdentifier: the field holds no authored text");return{...e,[E]:{...t,identifier:!0}}}import{TEXT_CONTROL_KINDS as va,SCALAR_TEXT_CONTROLS as Aa}from"efficient-easel/draw";function hl(e,t){if(!e[E])throw new Error("inOwnBox: the field holds no authored text");const{[Kn]:o,...i}=e;return{...i,[Wn]:!0,render:t}}const tr=new Set(Jn),Q={type:"radio",options:[{value:!0},{value:!1}]},tt={text:{type:"object",objectFields:{text:{type:"text"},hidden:Q}},textarea:{type:"object",objectFields:{text:{type:"textarea"},hidden:Q}},plainText:{type:"text"},copyText:{type:"text"},plainTextarea:{type:"textarea"},textList:{type:"array",arrayFields:{text:{type:"text"}}}},A=(e,t)=>{const n=R({...t,[E]:e},{...tt[e.control],label:e.label});if(!tr.has(e.control))return n;const o=t.render;return{...$(n,"authored-copy"),render:i=>r(jn,{name:i.name,children:o(i)})}},ml="Everything else on this block comes from the linked post. Unlink it to edit by hand.",nr={field:"source.slug",set:!0},gl={not:nr},or="Select a word, then press the highlighter.",rr=new Set([or]),ir=e=>rr.has(e);function bl(e,t,n){return A({control:"text",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n})})}function xl(e,t,n){return A({control:"textarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,multiline:!0})})}function yl(e,t,n){return A({control:"plainText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,hideable:!1,markup:!1})})}function Sl(e,t,n){return A({control:"copyText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,hideable:!1})})}function Cl(e){return{type:"custom",[ye]:{label:e},...R({},{type:"text",label:e}),render:({value:t,onChange:n})=>r(no,{value:xe(t),onChange:n,label:e})}}function _l(e,t,n){return A({control:"plainTextarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:e,placeholder:t,hint:n,multiline:!0,hideable:!1})})}const Il={Design:At,Animation:Te};function El(e,t){return e.includes("Design")?t!=="Design":null}function nt(e,t){return{type:"custom",[q]:{label:e,level:t},marker:!0,fold:e,render:()=>r(I,{})}}function S(e){return nt(e,2)}function Tl(e){return{type:"custom",render:()=>r(lr,{text:e})}}function lr({text:e}){return r("p",{className:"sf-note",children:l(e)})}function Ol(e){return nt(e,1)}function Rl(e){return le(e)!==null&&e?.tabs!==void 0}const ot=new Map;function wl(e,t){const n=`${e}\0${t?t.join(""):""}`,o=ot.get(n)??{type:"custom",tabs:t,[q]:{label:e,level:1},bucket:e,marker:!0,render:()=>r(I,{})};return ot.set(n,o),o}const rt=new Map;function Pl(e){const t=rt.get(e)??{type:"custom",[q]:{label:e,level:1},designGroup:e,marker:!0,...e==="Content"?{}:{fold:e},render:()=>r(I,{})};return rt.set(e,t),t}function ar(e){const t=e;return t?.marker===!0&&typeof t.fold=="string"?t.fold:null}function kl(e,t){return ar(e)===t?e:{...e,marker:!0,fold:t,render:()=>r(I,{})}}function Ll(e){const t=e;if(t.marker===!0&&t.fold===void 0)return e;const{fold:n,...o}=e;return{...o,marker:!0,render:()=>r(I,{})}}function Nl({title:e,children:t}){const[n,o]=U(()=>!pe.has(e));return r(gn,{title:e,open:n,onToggle:i=>{o(i),i?pe.delete(e):pe.add(e)},children:t})}const pe=new Set;function vl({label:e}){return r(bn,{title:l(e),level:Xo(2)})}function it({swatches:e,current:t,onPick:n,names:o}){const i=e.find(s=>s.toLowerCase()===t.toLowerCase()),a=i?o?.[i]:void 0,c=a?l(a):t;return O("div",{className:"sf-swatches",children:[e.map(s=>{const d=o?.[s]?l(o[s]):s;return r(We,{content:d,children:r("button",{type:"button","aria-pressed":t.toLowerCase()===s.toLowerCase(),className:`sf-swatch ${t.toLowerCase()===s.toLowerCase()?"is-active":""}`,style:{background:s},onClick:()=>n(s),"aria-label":d})},s)}),r("span",{className:"sf-swatch-hex",children:c})]})}function Al(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=Do(n,t);return r(m,{label:l(e),icon:r(Ht,{}),changed:!i,action:r(y,{words:x()?.panel,label:l(e),changed:!i,detail:l("the theme's section background"),onReset:()=>o(No)}),children:it({swatches:vo,current:i?Fo:n??t??"",onPick:o,names:Ao})})}}}function sr(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const i=n,a=Po(i,t);return r(m,{label:l(e),icon:r(qt,{}),changed:!a,action:r(y,{words:x()?.panel,label:l(e),changed:!a,detail:l("the theme's image stage"),onReset:()=>o(To)}),children:it({swatches:wo,current:a?Lo:ko(i,t),onPick:o,names:Ro})})}}}function Fl(e=n=>n,t){return M({_gSectionTheme:S(Bo),sectionAccent:{type:"custom",render:({value:n,onChange:o})=>r(eo,{value:e(n),onChange:o,followLabel:t})}})}function K({min:e,max:t,step:n,value:o,onChange:i,suffix:a="",readout:c=!0,notch:s,ariaLabel:d,disabled:u=!1}){const f=s!==void 0&&Number.isFinite(s)&&s>=e&&s<=t;return r("div",{className:f?"sf-slider has-notch":"sf-slider",style:f?{"--sf-notch":(s-e)/(t-e)}:void 0,children:r(Gn,{min:e,max:t,step:n,value:o,suffix:a||void 0,showInput:c,label:d===void 0?void 0:l(d),disabled:u,size:"sm",boxSize:"md",className:"sf-slider-track",onChange:p=>{p!==null&&p!==o&&i(p)}})})}function W(e,t,n,o,i,a,c="",s){return{type:"custom",...R({},{type:"number",label:e}),render:d=>r(m,{label:l(e),icon:k(t),action:s?s("storedValue"in d?d.storedValue:d.value,d.onChange):void 0,children:K({min:n,max:o,step:i,value:typeof d.value=="number"?d.value:a,suffix:c,ariaLabel:e,onChange:d.onChange})})}}function lt(e,t){const{min:n,max:o,step:i=1,unsetLabel:a,hint:c,restTrack:s,unsetMark:d,icon:u}=t;return{type:"custom",render:({value:f,onChange:p})=>{const h=typeof f=="number"?f:null,b=h===null;return r(m,{label:l(e),icon:u?k(u):void 0,value:b?d||a===void 0?void 0:l(a):`${h}px`,changed:!b,action:d?ge(d,{changed:!b,onReset:()=>p(null)}):r(y,{words:x()?.panel,label:l(e),changed:!b,onReset:()=>p(null)}),hint:typeof c=="string"?l(c):c,children:s?s({min:n,max:o,step:i,px:h,label:e,onChange:p}):K({min:n,max:o,step:i,value:h??n,readout:!1,ariaLabel:e,onChange:p})})}}}function Dl(e){const t=W("Gap",r(we,{}),ue.min,ue.max,ue.step,Co[e],"px",(n,o)=>r(Qo,{inherited:!Io(e,n),onReset:()=>o(void 0),label:"Gap"}));return{type:"custom",[_o]:e,render:n=>t.render({...n,value:Eo(e,n.value,n.field?.siteGap),storedValue:n.value,onChange:o=>n.onChange(o)})}}const ee="Corners";function fe(e){return{type:"custom",render:({value:t,onChange:n})=>{const o=typeof t=="number"&&Number.isFinite(t)?t:null,i=o!==null;return r(m,{label:l(ee),icon:r(Wt,{}),changed:i,action:ge(e.mark,{changed:i,onReset:()=>n(null)}),hint:e.hint,children:r(cr,{tier:e,px:o,onRadius:n})})}}}function at(e){let t=null;try{t=ie()}catch{t=null}return[t?.values?.[e],n=>t?.onChange(e,n)]}function cr({tier:e,px:t,onRadius:n}){const o=e.useFollowed(),i=e.useClosedReason?e.useClosedReason():null,[a,c]=at(e.sidesKey),s=Be(a)??[...De];return r(Fn,{label:l(ee),value:s,corners:pn,onChange:d=>{const u=Be(d)??[];c(u.length===De.length?null:u)},radius:t,onRadiusChange:n,radiusMin:B,radiusMax:_e,radiusStep:e.step??1,radiusPlaceholder:String(o),disabled:i!==null,disabledReason:i??void 0})}function st(){return $({type:"custom",render:()=>r(J,{})},"always")}function dr({label:e,changed:t=!1,onReset:n=()=>{}}){const{cornerRadiusPx:o}=G(),i=typeof o=="number"?`${o}px`:l("not set");return r(y,{words:x()?.panel,label:l(e),changed:t,detail:o==null?l("the built-in corners"):N(i,l("Styles")),onReset:n})}function ur(){const{cornerRadiusPx:e}=G();return typeof e=="number"?e:B}function pr(){return fe({sidesKey:"sectionCornerSides",useFollowed:ur,useClosedReason:()=>dt()?l(ct):null,mark:r(dr,{label:ee}),hint:r(fr,{})})}const ct="This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";function dt(){return Ze(F())}function fr(){return r(I,{children:dt()?ct:"Follows Styles ▸ Basics ▸ Corners until you set a number here."})}function Bl(){return M({_gShape:S("Shape"),sectionCorners:pr(),sectionCornerSides:st(),sectionBorder:ut("desktop"),sectionBorderPhone:ut("mobile")})}const hr=()=>({width:l("Border width"),sides:{top:l("Border top"),right:l("Border right"),bottom:l("Border bottom"),left:l("Border left")},style:l("Border style"),styles:{solid:l("Solid"),dashed:l("Dashed"),dotted:l("Dotted")},color:l("Border color"),unit:"px"});function mr(e){const t=Object.fromEntries(Object.entries(e).filter(([,n])=>n!=null&&n!==""));return Object.keys(t).length?t:void 0}function gr(){let e;try{const t=yo(G().theme);e=t.themes[t.selected]?.line}catch{e=void 0}return e||xo.line}function br({value:e,onChange:t,tier:n}){const[o]=at("sectionBorder"),i=gr(),a=e&&typeof e=="object"?e:{},c=n==="mobile"?o&&typeof o=="object"?o:{}:{},[s,d]=U(()=>In(a,c)),u=hr();return r(m,{label:l("Border"),icon:r(Gt,{}),action:r(Ge,{each:s,label:l("Each side"),onChange:d}),children:r(xn,{label:l("Border"),value:a,each:s,onChange:f=>t(mr(f)),placeholder:{sides:_n(c),style:c.style??"solid",color:c.color||i},presets:[i],words:u,max:bo})})}function ut(e){return g(e,{type:"custom",render:({value:t,onChange:n})=>r(br,{value:t,onChange:n,tier:e})})}function Hl(){return{_gMotion:S("Motion"),sectionAnimation:me("Entrance",r(Te,{}),[...mn],hn)}}function he(){let e=null;try{const{appState:t,selectedItem:n}=j(i=>i),o=n?.props?.id?String(n.props.id):void 0;e=o?He(t?.data,o):null}catch{e=null}return e!==null&&Ze(e)}function pt(e){const{cornerRadiusPx:t}=G(),n=he(),o=typeof t=="number"?t:e;let i=null;try{const{appState:c,selectedItem:s}=j(u=>u),d=s?.props?.id?String(s.props.id):void 0;i=d?He(c?.data,d):null}catch{i=null}if(n||!i)return o;const a=i.sectionCorners;return fn(a)?a:o}function xr({label:e,changed:t=!1,onReset:n=()=>{}}){const o=he(),i=pt(B),a=o?"Site":"Section";return r(y,{words:x()?.panel,label:l(e),changed:t,detail:N(`${i}px`,o?l("Styles"):l("the section")),onReset:n})}function yr(){return r(I,{children:he()?l("The section is full width, so this card follows Styles ▸ Basics ▸ Corners."):l("Follows the section's Corners until you set a number here.")})}function Sr(){return fe({sidesKey:"cardCornerSides",useFollowed:()=>pt(B),mark:r(xr,{label:ee}),hint:r(yr,{})})}function Cr(){return{type:"custom",render:()=>r(Ct,{})}}function Gl(e){return{...e,render:t=>r(_t,{render:e.render,props:t})}}function Ml(){return{_gShape:S("Shape"),cardCorners:Sr(),cardCornerSides:st(),cardCornersApplyAll:Cr()}}function Kl(){return L("Justify",r(Bt,{}),Ve,Ve[0].value)}function Wl(){return L("Item alignment",r(Ft,{}),po,"stretch")}function Ul(){return L(go,r(dn,{}),Je,Je[0].value)}function jl(){return{type:"custom",render:({value:e,onChange:t})=>{const n=de.find(o=>o.value===e)??de[0];return r(m,{label:l(qe),icon:r(Oe,{}),value:l(n.label),children:r(Ke,{className:"sf-gallery-layouts",label:l(qe),value:n.value,onChange:t,options:de.map(o=>({value:o.value,label:l(o.label),picture:r("span",{className:"sf-gallery-pic",children:_r(o.weights).map((i,a)=>r("i",{style:{gridColumn:`span ${i}`}},a))})}))})})}}}function _r(e){if(!e)return[3,4];const t=e.reduce((n,o)=>n+o,0);return e.map(n=>Math.round(n/t*12))}function Xl(){return L(fo,r(we,{}),ze,ze[0].value)}function $l(){return g("mobile",W(ho,r(Re,{}),Ye,mo,1,Ye))}function zl(e){const t=me(co,Yo("`Direction` names how a container's children run — a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),uo(e),$e(e,void 0));return{type:"custom",render:n=>t.render({...n,value:$e(e,n.value),onChange:o=>n.onChange(o)})}}function Vl(e,t,n,o,i,a){return{type:"custom",render:({value:c,onChange:s})=>r(m,{label:l(e),icon:r(Fe,{noun:a}),action:r(y,{words:x()?.panel,label:l(e),changed:!Mo(c),detail:l("the Text style in Styles"),onReset:()=>s(Go),defaultAction:{onPress:()=>s(Ho),title:l("Keep this section's own built-in size"),icon:r(Mt,{})}}),children:K({min:t,max:n,step:o,value:typeof c=="number"?c:i,suffix:"px",ariaLabel:e,onChange:s})})}}function Yl(){return{_gCellWidth:S("Cell width"),gridSpan:L("Positions",r(Oe,{}),[{label:"Auto",value:""},...Array.from({length:Ot},(e,t)=>({label:t===0?"1 position":`${t+1} positions`,value:String(t+1)}))],"")}}function F(){let e=null;try{e=j(t=>t).selectedItem}catch{e=null}return e?.props??{}}function Ir({min:e,max:t,step:n,px:o,label:i,onChange:a,desktopKey:c,fallback:s}){const d=F()[c],u=se(void 0,d,s);return r(I,{children:K({min:e,max:t,step:n,value:se(o,d,s),readout:!1,ariaLabel:i,notch:u,onChange:a})})}function Er({label:e,desktopKey:t,fallback:n,changed:o=!1,onReset:i=()=>{}}){const a=F()[t],c=se(void 0,a,n);return r(y,{words:x()?.panel,label:l(e),changed:o,detail:l("{value} on desktop",{value:`${c}px`}),onReset:i})}function Tr(e){return lt(e.label,{icon:e.icon,min:e.min,max:e.max,step:e.step,unsetLabel:"Follows Desktop",unsetMark:r(Er,{label:e.label,desktopKey:e.desktopKey,fallback:e.fallback}),restTrack:t=>r(Ir,{...t,desktopKey:e.desktopKey,fallback:e.fallback})})}function ql(e){return{type:"custom",render:({value:t,onChange:n})=>r(Rr,{...e,value:t,onChange:n})}}function Or({label:e,icon:t,options:n,value:o,resolved:i,restWord:a,onChange:c}){const s=n.some(d=>d.value===o);return r(m,{label:l(e),icon:k(t),action:r(y,{words:x()?.panel,label:l(e),changed:s,detail:l("{value} on desktop",{value:l(a)}),onReset:()=>c(void 0)}),children:ne({options:n,value:s?o:i,onChange:d=>c(d),ariaLabel:e})})}function Rr({label:e,icon:t,options:n,desktopKey:o,resolve:i,value:a,onChange:c}){const s=F()[o],d=i(void 0,s),u=n.find(f=>f.value===d)?.label??"";return r(Or,{label:e,icon:t,options:n,value:a,resolved:d,restWord:u,onChange:c})}const wr={Top:"Padding top",Bottom:"Padding bottom",Left:"Padding left",Right:"Padding right"},Pr={Top:ve,Bottom:ke,Left:Le,Right:Ne},kr=e=>{const t=Pr[e];return r(t,{})};function Jl(e={}){const t=e.keys?.top??"sectionPaddingTop",n=e.keys?.bottom??"sectionPaddingBottom",o=e.group!==!1,i=_=>wr[_],a=_=>W(i("Top"),r(ve,{}),T.min,T.max,T.step,_,"px"),c=(_,Y,P,oe=T)=>g("mobile",Tr({label:i(_),icon:kr(_),desktopKey:Y,min:oe.min,max:oe.max,step:oe.step,fallback:P})),s=e.top??T.min,d=e.bottom??T.min,u="sectionPaddingLeft",f="sectionPaddingRight",p=e.sideBounds??T,h=e.side??p.min,b=e.sidePhone??h,C=e.phone===!0,w=_=>C?g("desktop",_):_;return M({...o?{_gSpacing:S("Padding")}:{},[t]:w(a(s)),...C?{[H(t)]:c("Top",t,s)}:{},...e.only==="top"?{}:{[n]:w(W(i("Bottom"),r(ke,{}),T.min,T.max,T.step,d,"px")),...C?{[H(n)]:c("Bottom",n,d)}:{}},...e.sides?{[u]:w(W(i("Left"),r(Le,{}),p.min,p.max,p.step,h,"px")),...C?{[H(u)]:c("Left",u,b,p)}:{},[f]:w(W(i("Right"),r(Ne,{}),p.min,p.max,p.step,h,"px")),...C?{[H(f)]:c("Right",f,b,p)}:{}}:{}})}const V=["top","right","bottom","left"],Lr={top:"sectionPaddingTop",right:"sectionPaddingRight",bottom:"sectionPaddingBottom",left:"sectionPaddingLeft"},ft=e=>typeof e=="number"?e:null;function Nr(e,t,n){const o={};for(const i of V)n[i]!==t[i]&&(o[e[i]]=n[i]??void 0);return o}function vr({tier:e,o:t}){let n=null;try{n=ie()}catch{n=null}const o=n?.values??{},i=e==="mobile"?t.phoneKeys:t.keys,a=Object.fromEntries(V.map(u=>[u,ft(o[i[u]])])),c=Object.fromEntries(V.map(u=>[u,String(e==="mobile"?ft(o[t.keys[u]])??t.fallback[u]:t.fallback[u])])),[s,d]=U(()=>Cn(a,c));return r(m,{label:l("Padding"),icon:r(tn,{}),action:r(Ge,{each:s,label:l("Each side"),onChange:d}),children:r(Sn,{label:l("Padding"),each:s,value:a,placeholder:c,min:t.min,max:t.max,step:t.step,onChange:u=>{const f=Nr(i,a,u);Object.keys(f).length&&n?.onChangeMany(f)},words:{sides:{top:l("Padding top"),right:l("Padding right"),bottom:l("Padding bottom"),left:l("Padding left")},vertical:l("Top and bottom"),horizontal:l("Left and right"),unit:"px"}})})}function Zl(e={}){const t={...Lr,...e.keys},n={keys:t,phoneKeys:Object.fromEntries(V.map(s=>[s,H(t[s])])),fallback:{top:0,right:0,bottom:0,left:0,...e.fallback},min:e.min??0,max:e.max??200,step:e.step??4},o=e.phone!==!1,i=s=>{const d={type:"custom",render:()=>r(vr,{tier:s,o:n})};return o?g(s,d):d},a=()=>$({type:"custom",render:()=>r(J,{})},"always"),c=V.filter(s=>s!=="top");return M({...e.group===!1?{}:{_gSpacing:S("Padding")},[n.keys.top]:i("desktop"),...o?{[n.phoneKeys.top]:i("mobile")}:{},...Object.fromEntries(c.map(s=>[n.keys[s],{...a(),reachedBy:n.keys.top}])),...o?Object.fromEntries(c.map(s=>[n.phoneKeys[s],g("mobile",a())])):{}})}const ht=e=>typeof e=="number"?e:null;function Ar(e,t,n){const o={};for(const i of["x","y"])n[i]!==t[i]&&(o[e[i]]=n[i]??void 0);return o}function Fr({o:e}){let t=null;try{t=ie()}catch{t=null}const n=t?.values??{},o={x:ht(n[e.keys.x]),y:ht(n[e.keys.y])},i=l(e.label??"Position"),a=!!(o.x||o.y),c=u=>{const f=Ar(e.keys,o,u);Object.keys(f).length&&t?.onChangeMany(f)},s=r(Hn,{label:i,value:o,onChange:c,words:{x:l("Left and right"),y:l("Up and down"),unit:"px"},placeholder:{x:"0",y:"0"},min:e.min,max:e.max,step:e.step??1}),d=r(y,{words:x()?.panel,label:i,changed:a,detail:"0 px, 0 px",onReset:()=>c({x:null,y:null})});return e.label===null?O("div",{className:"sf-position-line",children:[s,d]}):r(m,{label:i,icon:r(en,{}),changed:a,action:d,children:s})}function Ql(e){return{[e.keys.x]:{type:"custom",render:()=>r(Fr,{o:e})},[e.keys.y]:{...$({type:"custom",render:()=>r(J,{})},"always"),reachedBy:e.keys.x}}}const Dr={contained:"Contained",page:"Page",full:"Full"},te="Width";function ea(e,t=Ko,n=!0){const o=t.map(i=>({label:Wo[i]??Dr[i],value:i}));return M({...n?{_gWidth:S(te)}:{},widthMode:{type:"custom",render:({onChange:i,field:a})=>r(m,{label:l(te),icon:r(cn,{}),action:n?r(er,{inherited:a?.inherited??!1,onReset:()=>i(Uo),label:te}):void 0,children:ne({options:o,value:a?.currentValue||e,onChange:i,ariaLabel:te})})}})}function ta(){const e=o=>({type:"custom",render:({value:i,onChange:a})=>r(m,{label:z,icon:k(r(Jt,{})),action:o?o(a):void 0,children:ne({options:[{label:"Auto",value:"auto"},{label:"Fixed",value:"fixed"},{label:"Screen",value:"screen"}],value:["auto","fixed","screen"].includes(i)?i:"auto",onChange:a,ariaLabel:z})})}),t=()=>({type:"custom",render:({value:o,onChange:i,field:a})=>{const c=a?.unit==="%"?"%":"px",s=c==="%"?so:ao;return r("div",{className:"sf-field",children:K({min:s.min,max:s.max,step:s.step,value:typeof o=="number"?o:s.fallback,suffix:c,ariaLabel:z,onChange:i})})}}),n=()=>me("Unit",r(Pe,{}),[{label:"px",value:"px"},{label:"%",value:"%"}],"px");return M({_gHeight:S(z),sectionHeightMode:g("desktop",e()),sectionHeightValue:g("desktop",t()),sectionHeightUnit:g("desktop",n()),sectionHeightModePhone:g("mobile",e(o=>r(Br,{onClear:()=>o(void 0)}))),sectionHeightValuePhone:g("mobile",t()),sectionHeightUnitPhone:g("mobile",n())})}function Br({onClear:e}){const t=F(),n=oo(t),o=ro(t),i=l("{value} on desktop",{value:o.mode==="auto"?l("Auto"):`${o.value}${o.unit}`});return r(y,{words:x()?.panel,label:l(z),changed:n,detail:i,onReset:e})}function na(){const e=n=>({type:"custom",render:({value:o,onChange:i,id:a,name:c})=>r(Hr,{value:o,onChange:i,labelId:`${a??c??"stickTop"}-label`,phone:n})}),t=()=>({type:"custom",render:({value:n,onChange:o})=>r("div",{className:"sf-field",children:K({min:Z.min,max:Z.max,step:Z.step,value:typeof n=="number"?n:Z.fallback,suffix:"px",ariaLabel:l("Distance from top"),onChange:o})})});return{_gStick:S(ce),stickTop:g("desktop",e(!1)),stickTopDistance:g("desktop",t()),stickTopPhone:g("mobile",e(!0)),stickTopDistancePhone:g("mobile",t())}}function Hr({value:e,onChange:t,labelId:n,phone:o}){const i=F(),a=lo(i),c=o?a.phone:e===!0;return r(m,{label:l(ce),labelId:n,icon:k(r(rn,{})),action:O(I,{children:[o?r(y,{words:x()?.panel,label:l(ce),changed:io(i),detail:l("{value} on desktop",{value:a.desktop?`${a.desktopDistance}px`:l("Off")}),onReset:()=>t(void 0)}):null,r(Me,{checked:c,onChange:t,ariaLabelledBy:n})]})})}const mt="e.g. about";function oa(){return{_gAnchor:S("Anchor"),anchor:A({control:"plainText",label:"Name",placeholder:mt},{type:"custom",render:({value:e,onChange:t})=>r(vt,{value:e,onChange:t,nameBox:(n,o)=>r(v,{value:n,onChange:o,label:"Name",placeholder:mt,hideable:!1,markup:!1})})})}}function ra(e,t,n){return{type:"custom",render:({value:o,onChange:i,id:a,name:c})=>{const s=`${a??c??e}-datetime`,d=Date.parse(typeof o=="string"?o:"");return r(m,{label:l(e),icon:t,htmlFor:s,hint:n===void 0?void 0:l(n),children:r(Dn,{id:s,value:Number.isFinite(d)?new Date(d):null,onChange:u=>i(u?u.toISOString():"")})})}}}function D(e,t,n){return{type:"custom",...R({},{...Q,label:e}),render:({value:o,onChange:i,id:a,name:c})=>{const s=typeof o=="boolean"?o:t,d=`${a??c??e}-label`;return r(m,{label:l(e),labelId:d,icon:n,action:r(Me,{checked:s,onChange:i,ariaLabelledBy:d})})}}}function ia(){return{type:"custom",render:({value:e,onChange:t,id:n,name:o})=>{const i=`${String(n??o??"pageBackground")}-colour`;return r(Ue,{label:l("Background"),icon:r(Ae,{}),id:i,value:un(e),onChange:t})}}}function la(e,t){return{type:"custom",...R({},{...Q,label:e}),render:({value:n,onChange:o,id:i})=>{const a=typeof n=="boolean"?n:t,c=`${i??e}-checkbox`;return r(m,{label:l(e),htmlFor:c,className:"sf-checkbox",action:r(An,{id:c,checked:a,onChange:o})})}}}const aa={follows:"fill"},sa={follows:"ink"};function ca(e,t,n){if(typeof t!="string"){const o=t.follows;return{type:"custom",render:({value:i,onChange:a})=>r(Gr,{label:e,part:o,icon:n,value:i,onChange:a})}}return{type:"custom",render:({value:o,onChange:i})=>r(Ue,{label:l(e),icon:n,value:o||t,onChange:i})}}function Gr({label:e,part:t,icon:n,value:o,onChange:i}){const a=So(G().theme),c=t==="fill"?a.fill:a.ink;return r(Mn,{label:l(e),icon:n,value:o||"",inherited:c,resetTo:N(c.toUpperCase(),l("Styles")),onChange:i,onReset:()=>i("")})}const Mr=[{value:"0% 0%",label:"Top left"},{value:"50% 0%",label:"Top"},{value:"100% 0%",label:"Top right"},{value:"0% 50%",label:"Left"},{value:"50% 50%",label:"Center"},{value:"100% 50%",label:"Right"},{value:"0% 100%",label:"Bottom left"},{value:"50% 100%",label:"Bottom"},{value:"100% 100%",label:"Bottom right"}];function gt({label:e,value:t,onChange:n,points:o=Mr}){const i=o.map(a=>({...a,label:l(a.label),...a.title?{title:l(a.title)}:null}));return r(vn,{label:l(e),value:t,points:i,onChange:n})}function da(){return $({type:"custom",render:()=>r(J,{})},"always")}const Kr=Ee([]);function ua(e,{stacking:t,fallback:n=kt}){return{type:"custom",render:({value:o,onChange:i})=>{const a=Pt.includes(o)?o:n;return t?r(Wr,{label:e,value:a,onChange:i}):bt({label:e,value:a,onChange:i,points:Kr})}}}function Wr({label:e,value:t,onChange:n}){const{appState:o,selectedItem:i}=j(s=>s),a=i?.props?.id?String(i.props.id):void 0,c=a?wt(o?.data,a):[];return bt({label:e,value:t,onChange:n,points:Ee(c,a)})}function bt({label:e,value:t,onChange:n,points:o}){const i=o.find(a=>a.disabled);return r(m,{label:l(e),icon:r(nn,{}),hint:i?.title?l(i.title):void 0,children:gt({label:e,value:Lt(t),onChange:n,points:o})})}const pa={top:r($t,{}),right:r(Xt,{}),bottom:r(Ut,{}),left:r(jt,{})};function fa(e,t,n,o,i,a){const c=f=>t.find(p=>p.value===f),s=f=>({value:f,label:"",disabled:!0,title:o}),d=f=>{const p=t.find(b=>b.cell===f);if(!p)return s(`missing-${f}`);const h=a?.[f];return h?{value:p.value,label:p.label,icon:h}:{value:p.value,label:p.label}},u=[s("corner-top-left"),d("top"),s("corner-top-right"),d("left"),s("centre"),d("right"),s("corner-bottom-left"),d("bottom"),s("corner-bottom-right")];return{type:"custom",render:({value:f,onChange:p})=>{const h=t.some(b=>b.value===f)?f:n;return r(m,{label:l(e),icon:i,value:c(h)?.label?l(c(h).label):"",children:gt({label:e,value:h,onChange:p,points:u})})}}}const Ur="\0note";function L(e,t,n,o,i){return{type:"custom",options:n,fallback:o,...i?{note:i}:{},...R({},{type:"select",label:e}),render:({value:a,onChange:c,field:s})=>{const d=s.options??n,u=s.fallback??o,f=d.some(p=>p.value===a)?a:u;return r(m,{label:l(e),icon:k(t),children:r(En,{value:f,ariaLabel:l(e),onChange:c,options:[...i?[{label:l(i),value:Ur,disabled:!0}]:[],...d.map(p=>({label:l(p.label),value:p.value}))]})})}}}function ha(e,t,n){return{type:"custom",options:t,render:({value:o,onChange:i,field:a})=>r(Qn,{label:e,options:(a.options??t).map(c=>({...c,label:l(c.label)})),value:Array.isArray(o)?o:[],onChange:i,...n?{emptyLabel:l(n)}:{}})}}function ma(e,t,n,o){return{type:"custom",options:t,fallback:n,...R({},{type:"select",label:e}),render:({value:i,onChange:a,field:c})=>r(to,{label:e,options:(c.options??t).map(s=>({...s,label:l(s.label)})),fallback:c.fallback??n,value:i,onChange:a,placeholder:o===void 0?void 0:l(o)})}}function ga(e,t={}){return{type:"custom",render:({value:n,onChange:o})=>{const i={value:n,onChange:o,...t};return r(e,{...i})}}}function ne({options:e,value:t,onChange:n,ariaLabel:o,disabled:i=!1}){return r(yn,{options:e.map(a=>a.picture?{id:a.value,label:a.picture,title:l(a.title??a.label)}:{id:a.value,label:l(a.label),title:a.title===void 0?void 0:l(a.title)}),value:t,onChange:n,ariaLabel:l(o),disabled:i})}const ba=[{label:"Image",value:"image"},{label:"Video",value:"video"}];function me(e,t,n,o){const i=n.map(a=>typeof a=="string"?{label:a,value:a}:a);return{type:"custom",...R({},{type:"radio",label:e,options:i.map(a=>({value:a.value,label:a.label}))}),render:({value:a,onChange:c,field:s})=>r(m,{label:l(e),icon:k(t),children:ne({options:i,value:i.some(d=>d.value===a)?a:a||s?.currentValue||o,onChange:c,ariaLabel:e})})}}function xa(e,t,n,o={}){return{type:"custom",[Se]:!0,render:({value:i,onChange:a})=>r(Zn,{value:i||"",onChange:a,label:e,accept:t,placeholder:n,focusKey:o.focus,focusWhen:o.focusWhen})}}const ya={HeroSingle:["imageFocal"],ContactLocations:["locations[].photo"],ProcessSteps:["steps[].image"]};function Sa({value:e,onChange:t,label:n}){const o=e||{},i=!!o.pending,a=i?"var(--fg-dim, #888)":o.ok?"#1d9e75":"#d85a30",c=!!Vo(zo()).geocode,s=(d,u)=>t({...o,[d]:u===""?void 0:Number(u)});return O(m,{label:l(n),icon:r(ae,{}),children:[c&&O(I,{children:[r("button",{type:"button",disabled:i,onClick:()=>t({...o,pending:!0,ok:!1,status:"Finding…"}),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 10px",fontSize:13,cursor:i?"default":"pointer",opacity:i?.6:1,border:"1px solid var(--border-strong, #ccc)",borderRadius:6,background:"transparent",color:"inherit"},children:i?l("Finding…"):l("Find coordinates")}),o.status&&r("div",{style:{marginTop:6,fontSize:12,lineHeight:1.4,color:a},children:l(o.status)}),r("div",{style:{marginTop:6,fontSize:11,color:"var(--fg-dim, #999)"},children:l("Coordinates from OpenStreetMap")})]}),r("button",{type:"button",onClick:()=>t({...o,manual:!o.manual}),style:{marginTop:8,padding:0,border:"none",background:"none",font:"inherit",fontSize:12,color:"var(--sf-accent, #2563eb)",cursor:"pointer",textDecoration:"underline"},children:o.manual?l("Hide manual coordinates"):l("Enter coordinates manually")}),o.manual&&O("div",{style:{marginTop:8,display:"grid",gap:8},children:[r(m,{label:l("Latitude"),icon:r(ae,{}),children:r("input",{type:"number",step:"any",placeholder:l("e.g. {example}",{example:"34.0990198"}),value:typeof o.lat=="number"?o.lat:"",onChange:d=>s("lat",d.target.value)})}),r(m,{label:l("Longitude"),icon:r(ae,{}),children:r("input",{type:"number",step:"any",placeholder:l("e.g. {example}",{example:"-117.9842833"}),value:typeof o.lng=="number"?o.lng:"",onChange:d=>s("lng",d.target.value)})})]})]})}function jr(e,t){return t===null||t<0||t>=e.length?"":e[t]?.text??""}function Xr(e,t,n){const o=e.map(i=>({text:i?.text??""}));return t===null||t<0||t>=e.length?o:o.map((i,a)=>a===t?{text:n}:i)}function Ca(e,t){return e===null?null:t>e?e:null}function $r(e,t,n){if(n===null||n>=t.length)return null;for(let o=0;o<n;o+=1)if(e[o]!==t[o])return null;return e[n]!==t[n]&&t.includes(e[n])||e[n]!==t[n]&&t.length!==e.length?null:n}const _a={label:"Ticker items",icon:r(Qt,{})};function Ia(e,t,n,o){return{type:"custom",[E]:{control:"textList",label:e,placeholder:n,itemKey:"text",rendering:o},...R({},{...tt.textList,label:e}),render:({value:i,onChange:a})=>r(zr,{label:e,icon:k(t),items:Array.isArray(i)?i:[],placeholder:n,onChange:a,markup:o==="markup"})}}function zr({label:e,icon:t,items:n,placeholder:o,onChange:i,markup:a=!1}){const c=re(null),[s,d]=U(null),u=p=>p.map(h=>({text:h?.text??""})),f=p=>{const h=$r(n,p,s);h===null&&(c.current=null),d(h),i(u(p))};return r(Tn,{label:l(e),icon:t,noun:l("item"),items:n,onChange:f,newItem:()=>({text:""}),open:null,onOpen:()=>{},renderItem:()=>null,above:a?r(je,{target:c,value:jr(n,s),onChange:p=>i(Xr(n,s??-1,p)),disabled:s===null,label:s===null?l("Formatting — click a row first"):l("Formatting — row {n}",{n:s+1})}):void 0,renderRow:(p,h,b)=>r("input",{type:"text",className:a&&s===h?"sf-list-marking":void 0,value:p?.text??"",placeholder:l(o),"aria-label":l("{label} {n}",{label:l(e),n:h+1}),onChange:C=>b({text:C.target.value}),onFocus:C=>{c.current=C.currentTarget,d(h)}})})}function Ea(e,t){const n=`${e.label} — row ${t+1}`;return A({control:"plainText",label:n,placeholder:e.placeholder,offPage:e.offPage},{type:"custom",render:({value:o,onChange:i})=>r(v,{value:o,onChange:i,label:l("{label} — row {n}",{label:l(e.label),n:t+1}),placeholder:e.placeholder,hideable:!1,markup:e.rendering==="markup"})})}function Ta(e){return{_gCards:S("Cards"),coverIndex:L("Cover image",r(Zt,{}),Yn,String(qn),e?.coverHint??"A card's opening picture — a card pinned to a finish keeps its own."),imageBackground:sr("Image background",Oo),cardImage:Yr(),spinOnHover:D("Rotate on hover",e?.spinDefault??!0,r(ln,{}))}}function Oa(){return{outline:L("Card outline",r(an,{}),$n,Vn),indexBadge:L("Card number",r(Pe,{}),Xn,zn),showBadge:D("Product badge",!0,r(Fe,{noun:"tag"}))}}function Ra(e){const t=e&&"bottomDefault"in e?e.bottomDefault:!0,n=e&&"defaults"in e?e.defaults:{showCardSizes:t,showCardBuy:t,showCardPage:t};return{_gShowOnCard:S("Show on a card"),showCardPrice:D("Price",!0,r(zt,{})),showCardFinishes:D("Finish swatches",!0,r(Vt,{})),showCardSizes:D("Sizes",n.showCardSizes,r(on,{})),showCardBuy:D("Buy button",n.showCardBuy,r(Kt,{})),showCardPage:D("Page button",n.showCardPage,r(Ae,{}))}}function wa(e,t="display"){const n=H(t);return{[t]:g("desktop",{type:"custom",render:({value:o,onChange:i})=>r(xt,{parts:e,changed:Rn(o),shown:a=>wn(o,a),onPress:(a,c)=>i(Ln(o,a,c)),onReset:()=>i(void 0)})}),[n]:g("mobile",{type:"custom",render:({value:o,onChange:i})=>r(Vr,{parts:e,desktopKey:t,value:o,onChange:i})})}}function xt({parts:e,changed:t,shown:n,onPress:o,onReset:i,detail:a}){const c=l("Display");return r(m,{label:c,icon:r(Dt,{}),changed:t,action:r(y,{words:x()?.panel,label:c,changed:t,detail:a,onReset:i}),children:r(On,{label:c,items:e.map(s=>({id:s.id,label:l(s.label),shown:n(s.id)})),onChange:o})})}function Vr({parts:e,desktopKey:t,value:n,onChange:o}){const i=F()[t];return r(xt,{parts:e,changed:kn(n),shown:a=>Pn(i,n,a),onPress:(a,c)=>o(Nn(n,a,c)),onReset:()=>o(Un),detail:l("the same as Desktop")})}function Yr(){return lt("Card image",{min:B,max:_e,step:It,hint:"Rounds the picture. The card's own corner is in Styles."})}function Pa(){return fe({sidesKey:"cornerSides",step:Et,useFollowed:()=>B,mark:r(qr,{label:Tt}),hint:l("Rounds the picture. Left alone it stays square.")})}function qr({label:e,changed:t=!1,onReset:n=()=>{}}){return r(y,{words:x()?.panel,label:l(e),changed:t,onReset:n})}function ka(){return{type:"custom",render:({value:e,onChange:t})=>r(Jr,{value:typeof e=="string"?e:"",onChange:t})}}function Jr({value:e,onChange:t}){const[n,o]=U(null),i=Ie.filter(c=>n===null||X[c].across===n),a=e&&e in X?X[e]:null;return O(I,{children:[r(m,{label:l("Photos in a row"),icon:r(Re,{}),children:O("div",{className:"sf-gallery-filter",children:[r("button",{type:"button","aria-pressed":n===null,onClick:()=>o(null),children:l("All")}),Rt.map(c=>r("button",{type:"button","aria-pressed":n===c,onClick:()=>o(c),children:c},c))]})}),r(m,{label:l("Layout"),icon:r(Yt,{}),value:a?l(a.label):l("Not chosen"),hint:l("{n} of {total} layouts",{n:i.length,total:Ie.length}),children:r(Ke,{className:"sf-gallery-layouts",label:l("Layout"),value:e,onChange:t,onClear:()=>t(""),options:i.map(c=>({value:c,label:l(X[c].label),picture:r("span",{className:"sf-gallery-pic",children:X[c].desktop.map(([s,d],u)=>r("i",{style:{gridColumn:`span ${s}`,gridRow:`span ${d}`}},u))})}))})})]})}export{nr as BOUND_TO_POST,ml as BOUND_TO_POST_NOTE,Il as BUCKET_ICONS,ya as CUSTOM_FIELD_MEDIA,Sa as CoordsField,pa as EDGE_ARROWS,Bn as FOCAL_DEFAULT,Mr as FOCAL_POINTS,q as FOLD_FIELD_MARKER,aa as FOLLOWS_SITE_BUTTON,sa as FOLLOWS_SITE_BUTTON_INK,gt as FocalPicker,vl as GroupLabel,or as HIGHLIGHT_HINT,v as HidableTextField,ye as LINK_FIELD_MARKER,al as Label,Se as MEDIA_FIELD_MARKER,ba as MEDIA_TYPE_OPTIONS,gl as NOT_BOUND_TO_POST,Nl as PanelBand,lr as PanelNoteLine,Rr as PhoneChoiceRow,Or as PhoneChoiceStrip,bt as PlacementGridView,Ce as SCAFFOLD_FIELD_MARKER,Aa as SCALAR_TEXT_CONTROLS,ct as SECTION_BLEEDS_HINT,Lr as SIDE_PAD_KEYS,ne as Segmented,Qo as SiteGapDefaultReset,K as Slider,it as Swatches,va as TEXT_CONTROL_KINDS,E as TEXT_FIELD_MARKER,_a as TICKER_ITEMS_ROW,zr as TextListField,er as WidthDefaultReset,$r as aimAfterListChange,oa as anchorFields,N as backTo,Al as backgroundField,Wl as boxAlignField,Xl as boxBlockSpacingField,Kl as boxJustifyField,$l as boxPhoneRowField,jl as boxShareField,Ul as boxWrapField,wl as bucketHeader,Sr as cardCornersField,sr as cardImageBackgroundField,Yr as cardImageField,Ta as cardMediaFields,Ml as cardShapeFields,Ra as cardShowFields,Oa as cardStyleFields,Yl as cellWidthFields,la as checkbox,ca as colorInput,Sl as copyText,st as cornerSidesField,fe as cornersRowField,ra as dateTime,Pl as designGroupHeader,zl as directionField,wa as displayFields,fa as edgePad,El as entriesHiddenForTab,Ca as focusAfterRemove,da as focusKeptField,kl as foldMarker,le as foldMetaOf,ar as foldTitleOf,ka as galleryLayoutField,Dl as gapField,S as group,ta as heightFields,xe as hidableText,ir as hintIsWhileTyping,k as iconOf,Pa as imageCornersField,hl as inOwnBox,Rl as isBucketHeader,qo as isNoGlyph,Cl as linkField,ha as multiSelect,Yo as noGlyph,ia as pageBackgroundField,Tl as panelNote,ql as phoneChoiceField,Tr as phoneOverrideField,ua as placementField,yl as plainText,_l as plainTextarea,Ql as positionFields,Ar as positionPatch,lt as pxField,Ll as quietMarker,be as readHidable,jr as rowText,ma as searchSelect,Ol as section,Hl as sectionAnimationFields,ut as sectionBorderField,pr as sectionCornersField,Bl as sectionShapeFields,Fl as sectionThemeFields,me as segmented,L as select,Xr as setRowText,M as sharedStyleKinds,Zl as sidesPaddingFields,Nr as sidesPaddingPatch,Vl as sizeField,W as slider,ga as sourceField,Jl as spacingFields,na as stickFields,Gl as templateField,bl as text,St as textFieldIdentifier,dl as textFieldOffPage,pl as textFieldPanelOnly,Ia as textList,Ea as textListRowField,xl as textarea,D as toggle,xa as upload,Jo as usePageWidthDetail,F as useSelectedProps,at as useSelectedSibling,Zo as useSiteGapDetail,ea as widthField,fl as withIdentifier,cl as withOffPage,ul as withPanelOnly,sl as withScaffold};
|
|
1
|
+
"use client";import{jsx as i,jsxs as O,Fragment as I}from"react/jsx-runtime";import{cloneElement as be,useId as It,useRef as ae,useState as j}from"react";import{useEasel as X}from"efficient-easel/easel";import{say as a,editorEaselWords as y}from"../../../format/lib/editor-words.js";import{mediaValueSrc as ye}from"../../../format/lib/media-value.js";import{LOADING_SHOWS_LABELS as xe,loadingShowsOf as Et}from"../../../format/lib/hero-video.js";import{readHidable as Se,hidableText as Ce}from"efficient-easel/draw";import{FOLD_FIELD_MARKER as Q,LINK_FIELD_MARKER as _e,MEDIA_FIELD_MARKER as Ie,SCAFFOLD_FIELD_MARKER as Ee,TEXT_FIELD_MARKER as E,foldMetaOf as ee,textFieldIdentifier as Tt}from"efficient-easel/draw";import wt from"../../components/ApplyCornersToSiblings.js";import Ot from"../../components/TemplateFieldRow.js";import{CARD_IMAGE_RADIUS_STEP as Rt,CORNER_RADIUS_MAX as Te,CORNER_RADIUS_MIN as G}from"../../../format/lib/content/card-image-shape.js";import{IMAGE_CORNER_STEP as Pt,IMAGE_CORNERS_LABEL as vt}from"../../../format/lib/content/image-corners.js";import{GRID_MAX_COLUMNS as Lt}from"../../../format/lib/content/grid-span.js";import{GALLERY_ACROSS_BUCKETS as kt,GALLERY_LAYOUTS as $,GALLERY_LAYOUT_KEYS as we,galleryPictureCells as Nt}from"../../../format/lib/content/gallery-layout.js";import{anchorSiblingsOf as Ft,HERO_GROUP_PLACEMENTS as At,HERO_GROUP_PLACEMENT_DEFAULT as Bt,normalisePlacement as Dt,placementPoints as Oe}from"../../../format/lib/hero-group-placement.js";import Ht from"../../components/KeepHint.js";import Gt from"../../components/AnchorField.js";import{AdjustIcon as Mt,AlignLeftIcon as Wt,EyeIcon as Kt,AlignSeparateIcon as Ut,AnimationIcon as Re,BackgroundIcon as jt,BorderAllIcon as Xt,BlockSectionIcon as $t,CartIcon as zt,ColumnWidthsIcon as Pe,ColumnsIcon as ve,CornerIcon as Vt,DirectionDownIcon as Yt,DirectionLeftIcon as qt,DirectionRightIcon as Jt,DirectionUpIcon as Zt,DollarIcon as Qt,FinishIcon as en,GapIcon as Le,GridIcon as tn,GroundIcon as nn,HashIcon as ke,HeightIcon as on,ImageIcon as rn,ListIcon as ln,LocationIcon as se,NudgeIcon as an,PaddingAllIcon as sn,PaddingBottomIcon as Ne,PaddingLeftIcon as Fe,PaddingRightIcon as Ae,PaddingTopIcon as Be,PageIcon as De,PlacementIcon as cn,ProductSizeIcon as dn,StickyIcon as un,RotateIcon as pn,SquareIcon as fn,TypeIcon as mn,WidthIcon as hn,WrapIcon as gn}from"efficient-easel/icons";import{FieldGlyph as He}from"../../components/FieldGlyph.js";import{resolvePageBackground as bn}from"../../../format/lib/content/page-background.js";import{CORNER_SIDES as Ge,CORNER_SIDE_POINTS as yn,hasOwnSectionCorners as xn,normalizeCornerSides as Me}from"../../../format/lib/content/section-corners.js";import{SECTION_MOTION_NONE as Sn,SECTION_MOTION_OPTIONS as Cn}from"../../../format/lib/content/section-animation.js";import{enclosingSectionProps as We}from"./enclosing-section.js";import{SettingsDefaultReset as x,SettingsDrill as _n,SettingsField as h,SettingsGroup as In,SettingsGroupSub as En,SettingsBorder as Tn,SettingsSegmented as wn,SettingsSides as On,SettingsSidesEach as Ke,sidesStartEach as Rn,SettingsSwitch as Ue,borderSides as Pn,borderStartEach as vn}from"efficient-easel/panel";import{FieldSelect as Ln,ListField as kn}from"efficient-easel/fields";import{DisplayChips as Nn}from"efficient-shell/ui";import{desktopDisplayChanged as Fn,partShownOnDesktop as An,partShownOnPhone as Bn,phoneDisplayChanged as Dn,withDesktopPart as Hn,withPhonePart as Gn}from"../../../format/lib/content/part-display.js";import{AlignmentGrid as Mn,Checkbox as Wn,CornersInput as Kn,DateTimePicker as Un,FOCAL_DEFAULT as jn,PictureTiles as je,PositionInput as Xn,Slider as $n,Tooltip as Xe}from"efficient-shell/ui";import{ColourRow as $e,InheritedColourRow as zn}from"./ColourControl.js";import ze from"./MarkupToolbar.js";import{deviceField as g}from"efficient-easel/screen/lib/document/device-fields";import{NO_CONTROL_FIELD as Vn,NoControlMark as te,noControlField as z}from"efficient-easel/screen/lib/document/panel-no-control-mark";import{OWN_BOX_FIELD as Yn}from"../../../format/lib/document/own-box.js";import{PHONE_CLEAR as qn,resolvePhoneValue as ce}from"../../../format/lib/document/phone-override.js";import{phoneKey as M}from"efficient-easel/draw";import{SuppressibleText as Jn}from"./section-text-suppress.js";import{CARD_INDEX_OPTIONS as Zn,CARD_OUTLINE_OPTIONS as Qn,DEFAULT_CARD_INDEX_FORMAT as eo,DEFAULT_CARD_OUTLINE as to}from"../../../format/lib/sections/product-card-style.js";import{COVER_INDEX_OPTIONS as no,DEFAULT_COVER_INDEX as oo}from"../../../format/lib/sections/card-cover-index.js";import{SCALAR_TEXT_CONTROLS as ro}from"efficient-easel/draw";import io from"../../components/MediaUploadField.js";import{useSelectedHost as V}from"./selected-host.js";import lo from"../../components/MultiSelectField.js";import ao from"../../components/SectionThemePicker.js";import so from"../../components/SearchSelectField.js";import co from"../../components/StorefrontLinkField.js";import{UiIcon as Ve}from"efficient-easel/draw/client";import{SECTION_PADDING as T}from"../../../format/lib/content/section-padding.js";import{buttonLook as uo,buttonWordsSummary as po}from"../../../format/lib/content/button-look.js";import{nonEmptyString as fo}from"../../../format/lib/non-empty-string.js";import{usePreviewParts as mo}from"efficient-easel/draw/client";import{encodePartId as ho}from"efficient-easel/draw";import{DEFAULT_EASEL_STRINGS as go,useEaselStrings as bo}from"efficient-easel/strings";import{hasPhoneHeight as yo,resolveSectionMinHeight as xo}from"../../../format/lib/content/section-min-height.js";import{SECTION_STICK_DISTANCE as ne,SECTION_STICK_LABEL as de,hasPhoneStick as So,resolveSectionStick as Co}from"../../../format/lib/content/section-sticky.js";import{SECTION_MIN_HEIGHT as _o,SECTION_MIN_HEIGHT_GROUP_LABEL as Y,SECTION_SCREEN_PCT as Io}from"../../../format/lib/content/section-min-height.js";import{CONTAINER_DIRECTION_LABEL as Eo,containerDirectionPoints as To,resolveContainerDirection as Ye}from"../../../format/lib/content/container-direction.js";import{BOX_ALIGN_POINTS as wo,BOX_BLOCK_SPACING_LABEL as Oo,BOX_BLOCK_SPACING_POINTS as qe,BOX_JUSTIFY_POINTS as Je,BOX_PHONE_ROW_LABEL as Ro,BOX_PHONE_ROW_MAX as Po,BOX_PHONE_ROW_MIN as Ze,BOX_SHARE_LABEL as Qe,BOX_SHARE_POINTS as ue,BOX_WRAP_LABEL as vo,BOX_WRAP_POINTS as et}from"../../../format/lib/content/box-layout.js";import{usePreviewHeader as L}from"../../../render/components/PreviewHeaderContext.js";import{BORDER_MAX as Lo}from"../../../format/lib/content/borders.js";import{DEFAULT_SURFACES as ko,normalizeTheme as No,selectedThemeColors as Fo,siteButtonPaint as tt}from"../../../format/lib/theme.js";import{CONTAINER_GAP as pe,CONTAINER_GAP_BUILT_IN as Ao,GAP_FIELD_CONTAINER as Bo,hasOwnContainerGap as Do,resolveContainerGap as Ho}from"../../../format/lib/content/container-gap.js";import{CARD_IMAGE_BG_INHERIT as Go,CARD_IMAGE_BG_OFF as Mo,CARD_IMAGE_BG_SWATCH_NAMES as Wo,CARD_IMAGE_BG_SWATCHES as Ko,isCardImageBackgroundInheriting as Uo,cardImageBackgroundChoice as jo,THEME_CARD_IMAGE_BG as Xo}from"../../../format/lib/content/card-image-background.js";import{SECTION_BG_INHERIT as $o,SECTION_BG_SWATCHES as zo,SECTION_BG_SWATCH_NAMES as Vo,THEME_SECTION_BG as Yo,isSectionBackgroundInheriting as qo}from"../../../format/lib/content/section-background.js";import{SECTION_THEME_GROUP_LABEL as Jo}from"../../../format/lib/content/section-surface.js";import{TYPE_SIZE_FIXED as Zo,TYPE_SIZE_INHERIT as Qo,isTypeSizeInheriting as er}from"../../../format/lib/content/section-type-size.js";import{SECTION_WIDTH_CHOICES as tr,WIDTH_CHOICE_LABEL as nr,WIDTH_INHERIT as or,resolveWidth as rr,sectionRunsFullWidth as nt}from"../../../format/lib/content/section-width.js";import{useFoldHeadingLevel as ir}from"./panel-heading-scope.js";import{withStyleKind as lr}from"efficient-easel/style-clipboard";import{useEaselSession as ar}from"efficient-easel/screen/lib/session-context";import{backendOf as sr}from"../website-session.js";import{describedAs as w}from"../../../format/lib/host-document-bridge.js";function W(e){for(const[t,n]of Object.entries(e))n&&typeof n=="object"&&!ee(n)&&lr(n,`section:${t}`);return e}function kl({children:e}){return i("div",{className:"sf-field-label",children:typeof e=="string"?a(e):e})}function ot(){return null}function cr(e){if(!e.trim())throw new Error("noGlyph() needs a reason naming the ruling that decided it.");return i(ot,{},e)}function dr(e){return e.type===ot}function R(e){return dr(e)?void 0:e}function F(e,t){return a("{value} from {from}",{value:e,from:t})}function ur(){const{appState:e}=X(r=>r),t=e.data.root?.props??{},{mode:n,pageWidth:o}=rr(t,"full");return n==="page"?F(`${o}px`,a("the page")):n==="contained"?F(a("Contained"),a("the page")):F(a("Full"),a("the page"))}function pr(){const{blockGap:e}=L();return e===null?a("this container's own spacing"):F(`${e}px`,a("Styles"))}function fr({inherited:e,onReset:t,label:n}){return i(x,{words:y()?.panel,label:a(n),changed:!e,detail:pr(),onReset:t})}function mr({inherited:e,onReset:t,label:n}){return i(x,{words:y()?.panel,label:a(n),changed:!e,detail:ur(),onReset:t})}function A({value:e,onChange:t,label:n,placeholder:o,hint:r,multiline:l,hideable:s=!0,markup:c=!0}){const{text:d,hidden:u}=Se(e),f=ae(null),p=ae(null),m=v=>t(s?{text:v,hidden:u}:v),b=()=>t({text:d,hidden:!u}),C=s&&u,P=It(),_=r?xr(r)?i("span",{className:"sf-hint-keep sf-hint-while-typing",children:a(r)}):i(Ht,{children:a(r)}):void 0,Z=u?a("Show {label} on the slide",{label:a(n)}):a("Hide {label} on the slide",{label:a(n)});return i(h,{label:a(n),icon:i(mn,{}),htmlFor:P,className:C?"is-hidden":void 0,hint:_,action:s?i(Xe,{content:Z,children:i("button",{type:"button",className:"sf-field-eye","aria-pressed":u,"aria-label":Z,onClick:b,children:u?i(Ve,{name:"eye-off",size:14}):i(Ve,{name:"eye",size:14})})}):void 0,children:O("div",{className:"sf-copybox",children:[c&&i(ze,{target:l?p:f,value:d,onChange:m}),l?i("textarea",{id:P,ref:p,value:d,placeholder:o===void 0?void 0:a(o),onChange:v=>m(v.target.value)}):i("input",{id:P,ref:f,type:"text",value:d,placeholder:o===void 0?void 0:a(o),onChange:v=>m(v.target.value)})]})})}function Nl(e,t){return{...e,[Ee]:t}}function Fl(e){const t=e[E];if(!t)throw new Error("withOffPage: the field holds no authored text");return{...e,[E]:{...t,offPage:!0}}}function Al(e){return!e||typeof e!="object"?!1:e[E]?.offPage===!0}const rt="sfPanelOnly";function Bl(e){if(!e[E])throw new Error("withPanelOnly: the field holds no authored text");return{...e,[rt]:!0}}function Dl(e){return!!e&&typeof e=="object"&&e[rt]===!0}function Hl(e){const t=e[E];if(!t)throw new Error("withIdentifier: the field holds no authored text");return{...e,[E]:{...t,identifier:!0}}}import{TEXT_CONTROL_KINDS as cs,SCALAR_TEXT_CONTROLS as ds}from"efficient-easel/draw";function Gl(e,t){if(!e[E])throw new Error("inOwnBox: the field holds no authored text");const{[Vn]:o,...r}=e;return{...r,[Yn]:!0,render:t}}const hr=new Set(ro),oe={type:"radio",options:[{value:!0},{value:!1}]},it={text:{type:"object",objectFields:{text:{type:"text"},hidden:oe}},textarea:{type:"object",objectFields:{text:{type:"textarea"},hidden:oe}},plainText:{type:"text"},copyText:{type:"text"},plainTextarea:{type:"textarea"},textList:{type:"array",arrayFields:{text:{type:"text"}}}},B=(e,t)=>{const n=w({...t,[E]:e},{...it[e.control],label:e.label});if(!hr.has(e.control))return n;const o=t.render;return{...z(n,"authored-copy"),render:r=>i(Jn,{name:r.name,children:o(r)})}},Ml="Everything else on this block comes from the linked post. Unlink it to edit by hand.",gr={field:"source.slug",set:!0},Wl={not:gr},br="Select a word, then press the highlighter.",yr=new Set([br]),xr=e=>yr.has(e);function Kl(e,t,n){return B({control:"text",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:e,placeholder:t,hint:n})})}function Ul(e,t,n){return B({control:"textarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:e,placeholder:t,hint:n,multiline:!0})})}function jl(e,t,n){return B({control:"plainText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:e,placeholder:t,hint:n,hideable:!1,markup:!1})})}function Xl(e,t,n){return B({control:"copyText",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:e,placeholder:t,hint:n,hideable:!1})})}function $l(e){return{type:"custom",[_e]:{label:e},...w({},{type:"text",label:e}),render:({value:t,onChange:n})=>i(co,{value:Ce(t),onChange:n,label:e})}}function zl(e,t,n){return B({control:"plainTextarea",label:e,placeholder:t,hint:n},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:e,placeholder:t,hint:n,multiline:!0,hideable:!1})})}const Vl={Design:Mt,Animation:Re};function Yl(e,t){return e.includes("Design")?t!=="Design":null}function lt(e,t){return{type:"custom",[Q]:{label:e,level:t},marker:!0,fold:e,render:()=>i(I,{})}}function S(e){return lt(e,2)}function ql(e){return{type:"custom",render:()=>i(Sr,{text:e})}}function Sr({text:e}){return i("p",{className:"sf-note",children:a(e)})}function Jl(e){return lt(e,1)}function Zl(e){return ee(e)!==null&&e?.tabs!==void 0}const at=new Map;function Ql(e,t){const n=`${e}\0${t?t.join(""):""}`,o=at.get(n)??{type:"custom",tabs:t,[Q]:{label:e,level:1},bucket:e,marker:!0,render:()=>i(I,{})};return at.set(n,o),o}const st=new Map;function ea(e){const t=st.get(e)??{type:"custom",[Q]:{label:e,level:1},designGroup:e,marker:!0,...e==="Content"?{}:{fold:e},render:()=>i(I,{})};return st.set(e,t),t}function Cr(e){const t=e;return t?.marker===!0&&typeof t.fold=="string"?t.fold:null}function ta(e,t){return Cr(e)===t?e:{...e,marker:!0,fold:t,render:()=>i(I,{})}}function na(e){const t=e;if(t.marker===!0&&t.fold===void 0)return e;const{fold:n,...o}=e;return{...o,marker:!0,render:()=>i(I,{})}}function oa({title:e,children:t}){const[n,o]=j(()=>!fe.has(e));return i(In,{title:e,open:n,onToggle:r=>{o(r),r?fe.delete(e):fe.add(e)},children:t})}const fe=new Set;function ra({label:e}){return i(En,{title:a(e),level:ir(2)})}function ct({swatches:e,current:t,onPick:n,names:o}){const r=e.find(c=>c.toLowerCase()===t.toLowerCase()),l=r?o?.[r]:void 0,s=l?a(l):t;return O("div",{className:"sf-swatches",children:[e.map(c=>{const d=o?.[c]?a(o[c]):c;return i(Xe,{content:d,children:i("button",{type:"button","aria-pressed":t.toLowerCase()===c.toLowerCase(),className:`sf-swatch ${t.toLowerCase()===c.toLowerCase()?"is-active":""}`,style:{background:c},onClick:()=>n(c),"aria-label":d})},c)}),i("span",{className:"sf-swatch-hex",children:s})]})}function ia(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const r=qo(n,t);return i(h,{label:a(e),icon:i(jt,{}),changed:!r,action:i(x,{words:y()?.panel,label:a(e),changed:!r,detail:a("the theme's section background"),onReset:()=>o($o)}),children:ct({swatches:zo,current:r?Yo:n??t??"",onPick:o,names:Vo})})}}}function _r(e,t){return{type:"custom",render:({value:n,onChange:o})=>{const r=n,l=Uo(r,t);return i(h,{label:a(e),icon:i(nn,{}),changed:!l,action:i(x,{words:y()?.panel,label:a(e),changed:!l,detail:a("the theme's image stage"),onReset:()=>o(Go)}),children:ct({swatches:Ko,current:l?Xo:jo(r,t),onPick:o,names:Wo})})}}}function la(e=n=>n,t){return W({_gSectionTheme:S(Jo),sectionAccent:{type:"custom",render:({value:n,onChange:o})=>i(ao,{value:e(n),onChange:o,followLabel:t})}})}function K({min:e,max:t,step:n,value:o,onChange:r,suffix:l="",readout:s=!0,notch:c,ariaLabel:d,disabled:u=!1}){const f=c!==void 0&&Number.isFinite(c)&&c>=e&&c<=t;return i("div",{className:f?"sf-slider has-notch":"sf-slider",style:f?{"--sf-notch":(c-e)/(t-e)}:void 0,children:i($n,{min:e,max:t,step:n,value:o,suffix:l||void 0,showInput:s,label:d===void 0?void 0:a(d),disabled:u,size:"sm",boxSize:"md",className:"sf-slider-track",onChange:p=>{p!==null&&p!==o&&r(p)}})})}function U(e,t,n,o,r,l,s="",c){return{type:"custom",...w({},{type:"number",label:e}),render:d=>i(h,{label:a(e),icon:R(t),action:c?c("storedValue"in d?d.storedValue:d.value,d.onChange):void 0,children:K({min:n,max:o,step:r,value:typeof d.value=="number"?d.value:l,suffix:s,ariaLabel:e,onChange:d.onChange})})}}function dt(e,t){const{min:n,max:o,step:r=1,unsetLabel:l,hint:s,restTrack:c,unsetMark:d,icon:u}=t;return{type:"custom",render:({value:f,onChange:p})=>{const m=typeof f=="number"?f:null,b=m===null;return i(h,{label:a(e),icon:u?R(u):void 0,value:b?d||l===void 0?void 0:a(l):`${m}px`,changed:!b,action:d?be(d,{changed:!b,onReset:()=>p(null)}):i(x,{words:y()?.panel,label:a(e),changed:!b,onReset:()=>p(null)}),hint:typeof s=="string"?a(s):s,children:c?c({min:n,max:o,step:r,px:m,label:e,onChange:p}):K({min:n,max:o,step:r,value:m??n,readout:!1,ariaLabel:e,onChange:p})})}}}function aa(e){const t=U("Gap",i(Le,{}),pe.min,pe.max,pe.step,Ao[e],"px",(n,o)=>i(fr,{inherited:!Do(e,n),onReset:()=>o(void 0),label:"Gap"}));return{type:"custom",[Bo]:e,render:n=>t.render({...n,value:Ho(e,n.value,n.field?.siteGap),storedValue:n.value,onChange:o=>n.onChange(o)})}}const re="Corners";function me(e){return{type:"custom",render:({value:t,onChange:n})=>{const o=typeof t=="number"&&Number.isFinite(t)?t:null,r=o!==null;return i(h,{label:a(re),icon:i(Vt,{}),changed:r,action:be(e.mark,{changed:r,onReset:()=>n(null)}),hint:e.hint,children:i(Ir,{tier:e,px:o,onRadius:n})})}}}function k(e){const t=V();return[t?.values?.[e],n=>t?.onChange(e,n)]}function sa(){const e=V();return t=>e?.onChangeMany(t)}function Ir({tier:e,px:t,onRadius:n}){const o=e.useFollowed(),r=e.useClosedReason?e.useClosedReason():null,[l,s]=k(e.sidesKey),c=Me(l)??[...Ge];return i(Kn,{label:a(re),value:c,corners:yn,onChange:d=>{const u=Me(d)??[];s(u.length===Ge.length?null:u)},radius:t,onRadiusChange:n,radiusMin:G,radiusMax:Te,radiusStep:e.step??1,radiusPlaceholder:String(o),disabled:r!==null,disabledReason:r??void 0})}function ut(){return z({type:"custom",render:()=>i(te,{})},"always")}function Er({label:e,changed:t=!1,onReset:n=()=>{}}){const{cornerRadiusPx:o}=L(),r=typeof o=="number"?`${o}px`:a("not set");return i(x,{words:y()?.panel,label:a(e),changed:t,detail:o==null?a("the built-in corners"):F(r,a("Styles")),onReset:n})}function Tr(){const{cornerRadiusPx:e}=L();return typeof e=="number"?e:G}function wr(){return me({sidesKey:"sectionCornerSides",useFollowed:Tr,useClosedReason:()=>ft()?a(pt):null,mark:i(Er,{label:re}),hint:i(Or,{})})}const pt="This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";function ft(){return nt(D())}function Or(){return i(I,{children:ft()?pt:"Follows Styles ▸ Basics ▸ Corners until you set a number here."})}function ca(){return W({_gShape:S("Shape"),sectionCorners:wr(),sectionCornerSides:ut(),sectionBorder:ht("desktop"),sectionBorderPhone:ht("mobile")})}const Rr=()=>({width:a("Border width"),sides:{top:a("Border top"),right:a("Border right"),bottom:a("Border bottom"),left:a("Border left")},style:a("Border style"),styles:{solid:a("Solid"),dashed:a("Dashed"),dotted:a("Dotted")},color:a("Border color"),unit:"px"});function Pr(e){const t=Object.fromEntries(Object.entries(e).filter(([,n])=>n!=null&&n!==""));return Object.keys(t).length?t:void 0}function vr(){let e;try{const t=No(L().theme);e=t.themes[t.selected]?.line}catch{e=void 0}return e||ko.line}function mt({value:e,onChange:t,placeholder:n,presets:o,sides:r=!0,styles:l=!0,above:s={}}){const c=e&&typeof e=="object"?e:{},[d,u]=j(()=>r?vn(c,s):!1),f=Rr(),p=m=>Pr(r&&l?m:{width:m.width,color:m.color,...l?{style:m.style}:{}});return i(h,{label:a("Border"),icon:i(Xt,{}),action:r?i(Ke,{each:d,label:a("Each side"),onChange:u}):void 0,children:i(Tn,{label:a("Border"),value:c,each:d,onChange:m=>t(p(m)),placeholder:n,presets:o,words:f,styles:l,max:Lo})})}function Lr({value:e,onChange:t,tier:n}){const[o]=k("sectionBorder"),r=vr(),l=n==="mobile"?o&&typeof o=="object"?o:{}:{};return i(mt,{value:e,onChange:t,placeholder:{sides:Pn(l),style:l.style??"solid",color:l.color||r},presets:[r],above:l})}function ht(e){return g(e,{type:"custom",render:({value:t,onChange:n})=>i(Lr,{value:t,onChange:n,tier:e})})}function da(e){return{type:"custom",render:()=>i(kr,{partKey:e})}}function kr({partKey:e}){const[t]=k("id"),[n]=k("_partStyles"),{textStyles:o}=L(),r=bo();let l=null;try{l=mo().select}catch{l=null}const s=n&&typeof n=="object"?n[e]:void 0,c=Array.isArray(o)?o:null;return i(_n,{name:a("Text"),preview:po(s,c,{noStyle:a("No style"),styleName:r.textStyles.styleName,cases:(r.copy.panel??go.copy.panel).cases}),onOpen:()=>{l&&typeof t=="string"&&l(ho(t,e))}})}function ua(){return{type:"custom",render:({value:e,onChange:t})=>i(Nr,{value:e,onChange:t})}}function Nr({value:e,onChange:t}){const[n]=k("variant"),[o]=k("buttonColor"),{theme:r}=L(),s=uo({variant:n,buttonColor:o,buttonBorder:e&&typeof e=="object"?e:{}}).border.width,c=fo(o)??(n==="ghost"?Fo(r).text:tt(r).fill);return i(mt,{value:e,onChange:t,placeholder:{sides:{top:s,right:s,bottom:s,left:s},style:"solid",color:c},presets:[c],sides:!1,styles:!1})}function pa(){return{_gMotion:S("Motion"),sectionAnimation:ge("Entrance",i(Re,{}),[...Cn],Sn)}}function he(){let e=null;try{const{appState:t,selectedItem:n}=X(r=>r),o=n?.props?.id?String(n.props.id):void 0;e=o?We(t?.data,o):null}catch{e=null}return e!==null&&nt(e)}function gt(e){const{cornerRadiusPx:t}=L(),n=he(),o=typeof t=="number"?t:e;let r=null;try{const{appState:s,selectedItem:c}=X(u=>u),d=c?.props?.id?String(c.props.id):void 0;r=d?We(s?.data,d):null}catch{r=null}if(n||!r)return o;const l=r.sectionCorners;return xn(l)?l:o}function Fr({label:e,changed:t=!1,onReset:n=()=>{}}){const o=he(),r=gt(G),l=o?"Site":"Section";return i(x,{words:y()?.panel,label:a(e),changed:t,detail:F(`${r}px`,o?a("Styles"):a("the section")),onReset:n})}function Ar(){return i(I,{children:he()?a("The section is full width, so this card follows Styles ▸ Basics ▸ Corners."):a("Follows the section's Corners until you set a number here.")})}function Br(){return me({sidesKey:"cardCornerSides",useFollowed:()=>gt(G),mark:i(Fr,{label:re}),hint:i(Ar,{})})}function Dr(){return{type:"custom",render:()=>i(wt,{})}}function fa(e){return{...e,render:t=>i(Ot,{render:e.render,props:t})}}function ma(){return{_gShape:S("Shape"),cardCorners:Br(),cardCornerSides:ut(),cardCornersApplyAll:Dr()}}function ha(){return N("Justify",i(Ut,{}),Je,Je[0].value)}function ga(){return N("Item alignment",i(Wt,{}),wo,"stretch")}function ba(){return N(vo,i(gn,{}),et,et[0].value)}function ya(){return{type:"custom",render:({value:e,onChange:t})=>{const n=ue.find(o=>o.value===e)??ue[0];return i(h,{label:a(Qe),icon:i(Pe,{}),value:a(n.label),children:i(je,{className:"sf-gallery-layouts",label:a(Qe),value:n.value,onChange:t,options:ue.map(o=>({value:o.value,label:a(o.label),picture:i("span",{className:"sf-gallery-pic",children:Hr(o.weights).map((r,l)=>i("i",{style:{gridColumn:`span ${r}`}},l))})}))})})}}}function Hr(e){if(!e)return[3,4];const t=e.reduce((n,o)=>n+o,0);return e.map(n=>Math.round(n/t*12))}function xa(){return N(Oo,i(Le,{}),qe,qe[0].value)}function Sa(){return g("mobile",U(Ro,i(ve,{}),Ze,Po,1,Ze))}function Ca(e){const t=ge(Eo,cr("`Direction` names how a container's children run — a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),To(e),Ye(e,void 0));return{type:"custom",render:n=>t.render({...n,value:Ye(e,n.value),onChange:o=>n.onChange(o)})}}function _a(e,t,n,o,r,l){return{type:"custom",render:({value:s,onChange:c})=>i(h,{label:a(e),icon:i(He,{noun:l}),action:i(x,{words:y()?.panel,label:a(e),changed:!er(s),detail:a("the Text style in Styles"),onReset:()=>c(Qo),defaultAction:{onPress:()=>c(Zo),title:a("Keep this section's own built-in size"),icon:i($t,{})}}),children:K({min:t,max:n,step:o,value:typeof s=="number"?s:r,suffix:"px",ariaLabel:e,onChange:c})})}}function Ia(){return{_gCellWidth:S("Cell width"),gridSpan:N("Positions",i(Pe,{}),[{label:"Auto",value:""},...Array.from({length:Lt},(e,t)=>({label:t===0?"1 position":`${t+1} positions`,value:String(t+1)}))],"")}}function D(){let e=null;try{e=X(t=>t).selectedItem}catch{e=null}return e?.props??{}}function Gr({min:e,max:t,step:n,px:o,label:r,onChange:l,desktopKey:s,fallback:c}){const d=D()[s],u=ce(void 0,d,c);return i(I,{children:K({min:e,max:t,step:n,value:ce(o,d,c),readout:!1,ariaLabel:r,notch:u,onChange:l})})}function Mr({label:e,desktopKey:t,fallback:n,changed:o=!1,onReset:r=()=>{}}){const l=D()[t],s=ce(void 0,l,n);return i(x,{words:y()?.panel,label:a(e),changed:o,detail:a("{value} on desktop",{value:`${s}px`}),onReset:r})}function Wr(e){return dt(e.label,{icon:e.icon,min:e.min,max:e.max,step:e.step,unsetLabel:"Follows Desktop",unsetMark:i(Mr,{label:e.label,desktopKey:e.desktopKey,fallback:e.fallback}),restTrack:t=>i(Gr,{...t,desktopKey:e.desktopKey,fallback:e.fallback})})}function Ea(e){return{type:"custom",render:({value:t,onChange:n})=>i(Ur,{...e,value:t,onChange:n})}}function Kr({label:e,icon:t,options:n,value:o,resolved:r,restWord:l,onChange:s}){const c=n.some(d=>d.value===o);return i(h,{label:a(e),icon:R(t),action:i(x,{words:y()?.panel,label:a(e),changed:c,detail:a("{value} on desktop",{value:a(l)}),onReset:()=>s(void 0)}),children:J({options:n,value:c?o:r,onChange:d=>s(d),ariaLabel:e})})}function Ur({label:e,icon:t,options:n,desktopKey:o,resolve:r,value:l,onChange:s}){const c=D()[o],d=r(void 0,c),u=n.find(f=>f.value===d)?.label??"";return i(Kr,{label:e,icon:t,options:n,value:l,resolved:d,restWord:u,onChange:s})}const jr={Top:"Padding top",Bottom:"Padding bottom",Left:"Padding left",Right:"Padding right"},Xr={Top:Be,Bottom:Ne,Left:Fe,Right:Ae},$r=e=>{const t=Xr[e];return i(t,{})};function Ta(e={}){const t=e.keys?.top??"sectionPaddingTop",n=e.keys?.bottom??"sectionPaddingBottom",o=e.group!==!1,r=_=>jr[_],l=_=>U(r("Top"),i(Be,{}),T.min,T.max,T.step,_,"px"),s=(_,Z,v,le=T)=>g("mobile",Wr({label:r(_),icon:$r(_),desktopKey:Z,min:le.min,max:le.max,step:le.step,fallback:v})),c=e.top??T.min,d=e.bottom??T.min,u="sectionPaddingLeft",f="sectionPaddingRight",p=e.sideBounds??T,m=e.side??p.min,b=e.sidePhone??m,C=e.phone===!0,P=_=>C?g("desktop",_):_;return W({...o?{_gSpacing:S("Padding")}:{},[t]:P(l(c)),...C?{[M(t)]:s("Top",t,c)}:{},...e.only==="top"?{}:{[n]:P(U(r("Bottom"),i(Ne,{}),T.min,T.max,T.step,d,"px")),...C?{[M(n)]:s("Bottom",n,d)}:{}},...e.sides?{[u]:P(U(r("Left"),i(Fe,{}),p.min,p.max,p.step,m,"px")),...C?{[M(u)]:s("Left",u,b,p)}:{},[f]:P(U(r("Right"),i(Ae,{}),p.min,p.max,p.step,m,"px")),...C?{[M(f)]:s("Right",f,b,p)}:{}}:{}})}const q=["top","right","bottom","left"],zr={top:"sectionPaddingTop",right:"sectionPaddingRight",bottom:"sectionPaddingBottom",left:"sectionPaddingLeft"},bt=e=>typeof e=="number"?e:null;function Vr(e,t,n){const o={};for(const r of q)n[r]!==t[r]&&(o[e[r]]=n[r]??void 0);return o}function Yr({tier:e,o:t}){const n=V(),o=n?.values??{},r=e==="mobile"?t.phoneKeys:t.keys,l=Object.fromEntries(q.map(u=>[u,bt(o[r[u]])])),s=Object.fromEntries(q.map(u=>[u,String(e==="mobile"?bt(o[t.keys[u]])??t.fallback[u]:t.fallback[u])])),[c,d]=j(()=>Rn(l,s));return i(h,{label:a("Padding"),icon:i(sn,{}),action:i(Ke,{each:c,label:a("Each side"),onChange:d}),children:i(On,{label:a("Padding"),each:c,value:l,placeholder:s,min:t.min,max:t.max,step:t.step,onChange:u=>{const f=Vr(r,l,u);Object.keys(f).length&&n?.onChangeMany(f)},words:{sides:{top:a("Padding top"),right:a("Padding right"),bottom:a("Padding bottom"),left:a("Padding left")},vertical:a("Top and bottom"),horizontal:a("Left and right"),unit:"px"}})})}function wa(e={}){const t={...zr,...e.keys},n={keys:t,phoneKeys:Object.fromEntries(q.map(c=>[c,M(t[c])])),fallback:{top:0,right:0,bottom:0,left:0,...e.fallback},min:e.min??0,max:e.max??200,step:e.step??4},o=e.phone!==!1,r=c=>{const d={type:"custom",render:()=>i(Yr,{tier:c,o:n})};return o?g(c,d):d},l=()=>z({type:"custom",render:()=>i(te,{})},"always"),s=q.filter(c=>c!=="top");return W({...e.group===!1?{}:{_gSpacing:S("Padding")},[n.keys.top]:r("desktop"),...o?{[n.phoneKeys.top]:r("mobile")}:{},...Object.fromEntries(s.map(c=>[n.keys[c],{...l(),reachedBy:n.keys.top}])),...o?Object.fromEntries(s.map(c=>[n.phoneKeys[c],g("mobile",l())])):{}})}function Oa(e,t){const n=Object.fromEntries(Object.entries(t).map(([l,s])=>[l,l in e&&ee(s)?e[l]:s])),o={};let r=!1;for(const[l,s]of Object.entries(e)){if(l in t){r||Object.assign(o,n),r=!0;continue}o[l]=s}return r||Object.assign(o,n),o}const yt=e=>typeof e=="number"?e:null;function qr(e,t,n){const o={};for(const r of["x","y"])n[r]!==t[r]&&(o[e[r]]=n[r]??void 0);return o}function Jr({o:e}){const t=V(),n=t?.values??{},o={x:yt(n[e.keys.x]),y:yt(n[e.keys.y])},r=a(e.label??"Position"),l=!!(o.x||o.y),s=u=>{const f=qr(e.keys,o,u);Object.keys(f).length&&t?.onChangeMany(f)},c=i(Xn,{label:r,value:o,onChange:s,words:{x:a("Left and right"),y:a("Up and down"),unit:"px"},placeholder:{x:"0",y:"0"},min:e.min,max:e.max,step:e.step??1}),d=i(x,{words:y()?.panel,label:r,changed:l,detail:"0 px, 0 px",onReset:()=>s({x:null,y:null})});return e.label===null?O("div",{className:"sf-position-line",children:[c,d]}):i(h,{label:r,icon:i(an,{}),changed:l,action:d,children:c})}function Ra(e){return{[e.keys.x]:{type:"custom",render:()=>i(Jr,{o:e})},[e.keys.y]:{...z({type:"custom",render:()=>i(te,{})},"always"),reachedBy:e.keys.x}}}const Zr={contained:"Contained",page:"Page",full:"Full"},ie="Width";function Pa(e,t=tr,n=!0){const o=t.map(r=>({label:nr[r]??Zr[r],value:r}));return W({...n?{_gWidth:S(ie)}:{},widthMode:{type:"custom",render:({onChange:r,field:l})=>i(h,{label:a(ie),icon:i(hn,{}),action:n?i(mr,{inherited:l?.inherited??!1,onReset:()=>r(or),label:ie}):void 0,children:J({options:o,value:l?.currentValue||e,onChange:r,ariaLabel:ie})})}})}function va(){const e=o=>({type:"custom",render:({value:r,onChange:l})=>i(h,{label:Y,icon:R(i(on,{})),action:o?o(l):void 0,children:J({options:[{label:"Auto",value:"auto"},{label:"Fixed",value:"fixed"},{label:"Screen",value:"screen"}],value:["auto","fixed","screen"].includes(r)?r:"auto",onChange:l,ariaLabel:Y})})}),t=()=>({type:"custom",render:({value:o,onChange:r,field:l})=>{const s=l?.unit==="%"?"%":"px",c=s==="%"?Io:_o;return i("div",{className:"sf-field",children:K({min:c.min,max:c.max,step:c.step,value:typeof o=="number"?o:c.fallback,suffix:s,ariaLabel:Y,onChange:r})})}}),n=()=>ge("Unit",i(ke,{}),[{label:"px",value:"px"},{label:"%",value:"%"}],"px");return W({_gHeight:S(Y),sectionHeightMode:g("desktop",e()),sectionHeightValue:g("desktop",t()),sectionHeightUnit:g("desktop",n()),sectionHeightModePhone:g("mobile",e(o=>i(Qr,{onClear:()=>o(void 0)}))),sectionHeightValuePhone:g("mobile",t()),sectionHeightUnitPhone:g("mobile",n())})}function Qr({onClear:e}){const t=D(),n=yo(t),o=xo(t),r=a("{value} on desktop",{value:o.mode==="auto"?a("Auto"):`${o.value}${o.unit}`});return i(x,{words:y()?.panel,label:a(Y),changed:n,detail:r,onReset:e})}function La(){const e=n=>({type:"custom",render:({value:o,onChange:r,id:l,name:s})=>i(ei,{value:o,onChange:r,labelId:`${l??s??"stickTop"}-label`,phone:n})}),t=()=>({type:"custom",render:({value:n,onChange:o})=>i("div",{className:"sf-field",children:K({min:ne.min,max:ne.max,step:ne.step,value:typeof n=="number"?n:ne.fallback,suffix:"px",ariaLabel:a("Distance from top"),onChange:o})})});return{_gStick:S(de),stickTop:g("desktop",e(!1)),stickTopDistance:g("desktop",t()),stickTopPhone:g("mobile",e(!0)),stickTopDistancePhone:g("mobile",t())}}function ei({value:e,onChange:t,labelId:n,phone:o}){const r=D(),l=Co(r),s=o?l.phone:e===!0;return i(h,{label:a(de),labelId:n,icon:R(i(un,{})),action:O(I,{children:[o?i(x,{words:y()?.panel,label:a(de),changed:So(r),detail:a("{value} on desktop",{value:l.desktop?`${l.desktopDistance}px`:a("Off")}),onReset:()=>t(void 0)}):null,i(Ue,{checked:s,onChange:t,ariaLabelledBy:n})]})})}const xt="e.g. about";function ka(){return{_gAnchor:S("Anchor"),anchor:B({control:"plainText",label:"Name",placeholder:xt},{type:"custom",render:({value:e,onChange:t})=>i(Gt,{value:e,onChange:t,nameBox:(n,o)=>i(A,{value:n,onChange:o,label:"Name",placeholder:xt,hideable:!1,markup:!1})})})}}function Na(e,t,n){return{type:"custom",render:({value:o,onChange:r,id:l,name:s})=>{const c=`${l??s??e}-datetime`,d=Date.parse(typeof o=="string"?o:"");return i(h,{label:a(e),icon:t,htmlFor:c,hint:n===void 0?void 0:a(n),children:i(Un,{id:c,value:Number.isFinite(d)?new Date(d):null,onChange:u=>r(u?u.toISOString():"")})})}}}function H(e,t,n){return{type:"custom",...w({},{...oe,label:e}),render:({value:o,onChange:r,id:l,name:s})=>{const c=typeof o=="boolean"?o:t,d=`${l??s??e}-label`;return i(h,{label:a(e),labelId:d,icon:n,action:i(Ue,{checked:c,onChange:r,ariaLabelledBy:d})})}}}function Fa(){return{type:"custom",render:({value:e,onChange:t,id:n,name:o})=>{const r=`${String(n??o??"pageBackground")}-colour`;return i($e,{label:a("Background"),icon:i(De,{}),id:r,value:bn(e),onChange:t})}}}function Aa(e,t){return{type:"custom",...w({},{...oe,label:e}),render:({value:n,onChange:o,id:r})=>{const l=typeof n=="boolean"?n:t,s=`${r??e}-checkbox`;return i(h,{label:a(e),htmlFor:s,className:"sf-checkbox",action:i(Wn,{id:s,checked:l,onChange:o})})}}}const Ba={follows:"fill"},Da={follows:"ink"};function Ha(e,t,n,o){if(typeof t!="string"){const r=t.follows;return{type:"custom",render:({value:l,onChange:s})=>i(ti,{label:e,part:r,icon:n,value:l,onChange:s,opacity:o})}}return{type:"custom",render:({value:r,onChange:l})=>i($e,{label:a(e),icon:n,value:r||t,onChange:l})}}function ti({label:e,part:t,icon:n,value:o,onChange:r,opacity:l}){const s=tt(L().theme),c=t==="fill"?s.fill:s.ink,[d,u]=k(l?.key??""),[f]=k(l?.unsetFrom??""),p=typeof d=="number";return i(zn,{label:a(e),icon:n,value:o||"",inherited:c,resetTo:F(c.toUpperCase(),a("Styles")),onChange:r,onReset:()=>{r(""),l&&p&&u(void 0)},...l?{opacity:p?d:l.unset(f),onOpacityChange:m=>u(m),changed:!!o||p}:{}})}const ni=[{value:"0% 0%",label:"Top left"},{value:"50% 0%",label:"Top"},{value:"100% 0%",label:"Top right"},{value:"0% 50%",label:"Left"},{value:"50% 50%",label:"Center"},{value:"100% 50%",label:"Right"},{value:"0% 100%",label:"Bottom left"},{value:"50% 100%",label:"Bottom"},{value:"100% 100%",label:"Bottom right"}];function St({label:e,value:t,onChange:n,points:o=ni}){const r=o.map(l=>({...l,label:a(l.label),...l.title?{title:a(l.title)}:null}));return i(Mn,{label:a(e),value:t,points:r,onChange:n})}function Ga(){return z({type:"custom",render:()=>i(te,{})},"always")}const oi=Oe([]);function Ma(e,{stacking:t,fallback:n=Bt}){return{type:"custom",render:({value:o,onChange:r})=>{const l=At.includes(o)?o:n;return t?i(ri,{label:e,value:l,onChange:r}):Ct({label:e,value:l,onChange:r,points:oi})}}}function ri({label:e,value:t,onChange:n}){const{appState:o,selectedItem:r}=X(c=>c),l=r?.props?.id?String(r.props.id):void 0,s=l?Ft(o?.data,l):[];return Ct({label:e,value:t,onChange:n,points:Oe(s,l)})}function Ct({label:e,value:t,onChange:n,points:o}){const r=o.find(l=>l.disabled);return i(h,{label:a(e),icon:i(cn,{}),hint:r?.title?a(r.title):void 0,children:St({label:e,value:Dt(t),onChange:n,points:o})})}const Wa={top:i(Zt,{}),right:i(Jt,{}),bottom:i(Yt,{}),left:i(qt,{})};function Ka(e,t,n,o,r,l){const s=f=>t.find(p=>p.value===f),c=f=>({value:f,label:"",disabled:!0,title:o}),d=f=>{const p=t.find(b=>b.cell===f);if(!p)return c(`missing-${f}`);const m=l?.[f];return m?{value:p.value,label:p.label,icon:m}:{value:p.value,label:p.label}},u=[c("corner-top-left"),d("top"),c("corner-top-right"),d("left"),c("centre"),d("right"),c("corner-bottom-left"),d("bottom"),c("corner-bottom-right")];return{type:"custom",render:({value:f,onChange:p})=>{const m=t.some(b=>b.value===f)?f:n;return i(h,{label:a(e),icon:r,value:s(m)?.label?a(s(m).label):"",children:St({label:e,value:m,onChange:p,points:u})})}}}const ii="\0note";function N(e,t,n,o,r){return{type:"custom",options:n,fallback:o,...r?{note:r}:{},...w({},{type:"select",label:e}),render:({value:l,onChange:s,field:c})=>{const d=c.options??n,u=c.fallback??o,f=d.some(p=>p.value===l)?l:u;return i(h,{label:a(e),icon:R(t),children:i(Ln,{value:f,ariaLabel:a(e),onChange:s,options:[...r?[{label:a(r),value:ii,disabled:!0}]:[],...d.map(p=>({label:a(p.label),value:p.value}))]})})}}}function Ua(e,t,n){return{type:"custom",options:t,render:({value:o,onChange:r,field:l})=>i(lo,{label:e,options:(l.options??t).map(s=>({...s,label:a(s.label)})),value:Array.isArray(o)?o:[],onChange:r,...n?{emptyLabel:a(n)}:{}})}}function ja(e,t,n,o){return{type:"custom",options:t,fallback:n,...w({},{type:"select",label:e}),render:({value:r,onChange:l,field:s})=>i(so,{label:e,options:(s.options??t).map(c=>({...c,label:a(c.label)})),fallback:s.fallback??n,value:r,onChange:l,placeholder:o===void 0?void 0:a(o)})}}function Xa(e,t={}){return{type:"custom",render:({value:n,onChange:o})=>{const r={value:n,onChange:o,...t};return i(e,{...r})}}}function J({options:e,value:t,onChange:n,ariaLabel:o,disabled:r=!1}){return i(wn,{options:e.map(l=>l.picture?{id:l.value,label:l.picture,title:a(l.title??l.label)}:{id:l.value,label:a(l.label),title:l.title===void 0?void 0:a(l.title)}),value:t,onChange:n,ariaLabel:a(o),disabled:r})}const $a=[{label:"Image",value:"image"},{label:"Video",value:"video"}];function ge(e,t,n,o){const r=n.map(l=>typeof l=="string"?{label:l,value:l}:l);return{type:"custom",...w({},{type:"radio",label:e,options:r.map(l=>({value:l.value,label:l.label}))}),render:({value:l,onChange:s,field:c})=>i(h,{label:a(e),icon:R(t),children:J({options:r,value:r.some(d=>d.value===l)?l:l||c?.currentValue||o,onChange:s,ariaLabel:e})})}}function za(e,t,n){const o=Object.keys(xe).map(r=>({label:xe[r],value:r,picture:n[r]}));return{type:"custom",...w({},{type:"radio",label:e,options:o.map(r=>({value:r.value,label:r.label}))}),render:({onChange:r})=>i(li,{label:e,icon:t,options:o,onChange:r})}}function li({label:e,icon:t,options:n,onChange:o}){const r=V()?.values??{},l=Et(r),s=l==="frame"&&!!ye(r.mediaVideo)&&!ye(r.videoFrame);return i(h,{label:a(e),icon:R(t),hint:s?a("This video has no frame yet. The slide shows its background colour until one is made."):void 0,children:J({options:n,value:l,onChange:o,ariaLabel:e})})}function Va(e,t,n,o={}){return{type:"custom",[Ie]:!0,render:({value:r,onChange:l,name:s})=>i(io,{value:r||"",onChange:l,fieldKey:s,label:e,accept:t,placeholder:n,focusKey:o.focus,focusWhen:o.focusWhen,frameKey:o.frame})}}const Ya={HeroSingle:["imageFocal"],HeroSlide:["videoFrame"],ContactLocations:["locations[].photo"],ProcessSteps:["steps[].image"]};function qa({value:e,onChange:t,label:n}){const o=e||{},r=!!o.pending,l=r?"var(--fg-dim, #888)":o.ok?"#1d9e75":"#d85a30",s=!!sr(ar()).geocode,c=(d,u)=>t({...o,[d]:u===""?void 0:Number(u)});return O(h,{label:a(n),icon:i(se,{}),children:[s&&O(I,{children:[i("button",{type:"button",disabled:r,onClick:()=>t({...o,pending:!0,ok:!1,status:"Finding…"}),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 10px",fontSize:13,cursor:r?"default":"pointer",opacity:r?.6:1,border:"1px solid var(--border-strong, #ccc)",borderRadius:6,background:"transparent",color:"inherit"},children:r?a("Finding…"):a("Find coordinates")}),o.status&&i("div",{style:{marginTop:6,fontSize:12,lineHeight:1.4,color:l},children:a(o.status)}),i("div",{style:{marginTop:6,fontSize:11,color:"var(--fg-dim, #999)"},children:a("Coordinates from OpenStreetMap")})]}),i("button",{type:"button",onClick:()=>t({...o,manual:!o.manual}),style:{marginTop:8,padding:0,border:"none",background:"none",font:"inherit",fontSize:12,color:"var(--sf-accent, #2563eb)",cursor:"pointer",textDecoration:"underline"},children:o.manual?a("Hide manual coordinates"):a("Enter coordinates manually")}),o.manual&&O("div",{style:{marginTop:8,display:"grid",gap:8},children:[i(h,{label:a("Latitude"),icon:i(se,{}),children:i("input",{type:"number",step:"any",placeholder:a("e.g. {example}",{example:"34.0990198"}),value:typeof o.lat=="number"?o.lat:"",onChange:d=>c("lat",d.target.value)})}),i(h,{label:a("Longitude"),icon:i(se,{}),children:i("input",{type:"number",step:"any",placeholder:a("e.g. {example}",{example:"-117.9842833"}),value:typeof o.lng=="number"?o.lng:"",onChange:d=>c("lng",d.target.value)})})]})]})}function ai(e,t){return t===null||t<0||t>=e.length?"":e[t]?.text??""}function si(e,t,n){const o=e.map(r=>({text:r?.text??""}));return t===null||t<0||t>=e.length?o:o.map((r,l)=>l===t?{text:n}:r)}function Ja(e,t){return e===null?null:t>e?e:null}function ci(e,t,n){if(n===null||n>=t.length)return null;for(let o=0;o<n;o+=1)if(e[o]!==t[o])return null;return e[n]!==t[n]&&t.includes(e[n])||e[n]!==t[n]&&t.length!==e.length?null:n}const Za={label:"Ticker items",icon:i(ln,{})};function Qa(e,t,n,o){return{type:"custom",[E]:{control:"textList",label:e,placeholder:n,itemKey:"text",rendering:o},...w({},{...it.textList,label:e}),render:({value:r,onChange:l})=>i(di,{label:e,icon:R(t),items:Array.isArray(r)?r:[],placeholder:n,onChange:l,markup:o==="markup"})}}function di({label:e,icon:t,items:n,placeholder:o,onChange:r,markup:l=!1}){const s=ae(null),[c,d]=j(null),u=p=>p.map(m=>({text:m?.text??""})),f=p=>{const m=ci(n,p,c);m===null&&(s.current=null),d(m),r(u(p))};return i(kn,{label:a(e),icon:t,noun:a("item"),items:n,onChange:f,newItem:()=>({text:""}),open:null,onOpen:()=>{},renderItem:()=>null,above:l?i(ze,{target:s,value:ai(n,c),onChange:p=>r(si(n,c??-1,p)),disabled:c===null,label:c===null?a("Formatting — click a row first"):a("Formatting — row {n}",{n:c+1})}):void 0,renderRow:(p,m,b)=>i("input",{type:"text",className:l&&c===m?"sf-list-marking":void 0,value:p?.text??"",placeholder:a(o),"aria-label":a("{label} {n}",{label:a(e),n:m+1}),onChange:C=>b({text:C.target.value}),onFocus:C=>{s.current=C.currentTarget,d(m)}})})}function es(e,t){const n=`${e.label} — row ${t+1}`;return B({control:"plainText",label:n,placeholder:e.placeholder,offPage:e.offPage},{type:"custom",render:({value:o,onChange:r})=>i(A,{value:o,onChange:r,label:a("{label} — row {n}",{label:a(e.label),n:t+1}),placeholder:e.placeholder,hideable:!1,markup:e.rendering==="markup"})})}function ts(e){return{_gCards:S("Cards"),coverIndex:N("Cover image",i(rn,{}),no,String(oo),e?.coverHint??"A card's opening picture — a card pinned to a finish keeps its own."),imageBackground:_r("Image background",Mo),cardImage:pi(),spinOnHover:H("Rotate on hover",e?.spinDefault??!0,i(pn,{}))}}function ns(){return{outline:N("Card outline",i(fn,{}),Qn,to),indexBadge:N("Card number",i(ke,{}),Zn,eo),showBadge:H("Product badge",!0,i(He,{noun:"tag"}))}}function os(e){const t=e&&"bottomDefault"in e?e.bottomDefault:!0,n=e&&"defaults"in e?e.defaults:{showCardSizes:t,showCardBuy:t,showCardPage:t};return{_gShowOnCard:S("Show on a card"),showCardPrice:H("Price",!0,i(Qt,{})),showCardFinishes:H("Finish swatches",!0,i(en,{})),showCardSizes:H("Sizes",n.showCardSizes,i(dn,{})),showCardBuy:H("Buy button",n.showCardBuy,i(zt,{})),showCardPage:H("Page button",n.showCardPage,i(De,{}))}}function rs(e,t="display"){const n=M(t);return{[t]:g("desktop",{type:"custom",render:({value:o,onChange:r})=>i(_t,{parts:e,changed:Fn(o),shown:l=>An(o,l),onPress:(l,s)=>r(Hn(o,l,s)),onReset:()=>r(void 0)})}),[n]:g("mobile",{type:"custom",render:({value:o,onChange:r})=>i(ui,{parts:e,desktopKey:t,value:o,onChange:r})})}}function _t({parts:e,changed:t,shown:n,onPress:o,onReset:r,detail:l}){const s=a("Display");return i(h,{label:s,icon:i(Kt,{}),changed:t,action:i(x,{words:y()?.panel,label:s,changed:t,detail:l,onReset:r}),children:i(Nn,{label:s,items:e.map(c=>({id:c.id,label:a(c.label),shown:n(c.id)})),onChange:o})})}function ui({parts:e,desktopKey:t,value:n,onChange:o}){const r=D()[t];return i(_t,{parts:e,changed:Dn(n),shown:l=>Bn(r,n,l),onPress:(l,s)=>o(Gn(n,l,s)),onReset:()=>o(qn),detail:a("the same as Desktop")})}function pi(){return dt("Card image",{min:G,max:Te,step:Rt,hint:"Rounds the picture. The card's own corner is in Styles."})}function is(){return me({sidesKey:"cornerSides",step:Pt,useFollowed:()=>G,mark:i(fi,{label:vt}),hint:a("Rounds the picture. Left alone it stays square.")})}function fi({label:e,changed:t=!1,onReset:n=()=>{}}){return i(x,{words:y()?.panel,label:a(e),changed:t,onReset:n})}function ls(){return{type:"custom",render:({value:e,onChange:t})=>i(mi,{value:typeof e=="string"?e:"",onChange:t})}}function mi({value:e,onChange:t}){const[n,o]=j(null),r=we.filter(s=>n===null||$[s].across===n),l=e&&e in $?$[e]:null;return O(I,{children:[i(h,{label:a("Photos in a row"),icon:i(ve,{}),children:O("div",{className:"sf-gallery-filter",children:[i("button",{type:"button","aria-pressed":n===null,onClick:()=>o(null),children:a("All")}),kt.map(s=>i("button",{type:"button","aria-pressed":n===s,onClick:()=>o(s),children:s},s))]})}),i(h,{label:a("Layout"),icon:i(tn,{}),value:l?a(l.label):a("Not chosen"),hint:a("{n} of {total} layouts",{n:r.length,total:we.length}),children:i(je,{className:"sf-gallery-layouts",label:a("Layout"),value:e,onChange:t,onClear:()=>t(""),options:r.map(s=>({value:s,label:a($[s].label),picture:i("span",{className:"sf-gallery-pic",children:Nt($[s]).map(([c,d],u)=>i("i",{style:{gridColumn:`span ${c}`,gridRow:`span ${d}`}},u))})}))})})]})}export{gr as BOUND_TO_POST,Ml as BOUND_TO_POST_NOTE,Vl as BUCKET_ICONS,Ya as CUSTOM_FIELD_MEDIA,qa as CoordsField,Wa as EDGE_ARROWS,jn as FOCAL_DEFAULT,ni as FOCAL_POINTS,Q as FOLD_FIELD_MARKER,Ba as FOLLOWS_SITE_BUTTON,Da as FOLLOWS_SITE_BUTTON_INK,St as FocalPicker,ra as GroupLabel,br as HIGHLIGHT_HINT,A as HidableTextField,_e as LINK_FIELD_MARKER,kl as Label,Ie as MEDIA_FIELD_MARKER,$a as MEDIA_TYPE_OPTIONS,Wl as NOT_BOUND_TO_POST,oa as PanelBand,Sr as PanelNoteLine,Ur as PhoneChoiceRow,Kr as PhoneChoiceStrip,Ct as PlacementGridView,Ee as SCAFFOLD_FIELD_MARKER,ds as SCALAR_TEXT_CONTROLS,pt as SECTION_BLEEDS_HINT,zr as SIDE_PAD_KEYS,J as Segmented,fr as SiteGapDefaultReset,K as Slider,ct as Swatches,cs as TEXT_CONTROL_KINDS,E as TEXT_FIELD_MARKER,Za as TICKER_ITEMS_ROW,di as TextListField,mr as WidthDefaultReset,ci as aimAfterListChange,ka as anchorFields,F as backTo,ia as backgroundField,ga as boxAlignField,xa as boxBlockSpacingField,ha as boxJustifyField,Sa as boxPhoneRowField,ya as boxShareField,ba as boxWrapField,Ql as bucketHeader,ua as buttonBorderField,da as buttonWordsEntryField,Br as cardCornersField,_r as cardImageBackgroundField,pi as cardImageField,ts as cardMediaFields,ma as cardShapeFields,os as cardShowFields,ns as cardStyleFields,Ia as cellWidthFields,Aa as checkbox,Ha as colorInput,Xl as copyText,ut as cornerSidesField,me as cornersRowField,Na as dateTime,ea as designGroupHeader,Ca as directionField,rs as displayFields,Ka as edgePad,Yl as entriesHiddenForTab,Ja as focusAfterRemove,Ga as focusKeptField,ta as foldMarker,ee as foldMetaOf,Cr as foldTitleOf,ls as galleryLayoutField,aa as gapField,S as group,va as heightFields,Ce as hidableText,xr as hintIsWhileTyping,R as iconOf,is as imageCornersField,Gl as inOwnBox,Zl as isBucketHeader,dr as isNoGlyph,$l as linkField,za as loadingShowsField,Ua as multiSelect,cr as noGlyph,Fa as pageBackgroundField,ql as panelNote,Ea as phoneChoiceField,Wr as phoneOverrideField,Ma as placementField,jl as plainText,zl as plainTextarea,Ra as positionFields,qr as positionPatch,dt as pxField,na as quietMarker,Se as readHidable,ai as rowText,ja as searchSelect,Jl as section,pa as sectionAnimationFields,ht as sectionBorderField,wr as sectionCornersField,ca as sectionShapeFields,la as sectionThemeFields,ge as segmented,N as select,si as setRowText,W as sharedStyleKinds,wa as sidesPaddingFields,Vr as sidesPaddingPatch,_a as sizeField,U as slider,Xa as sourceField,Ta as spacingFields,La as stickFields,Oa as swapPadding,fa as templateField,Kl as text,Tt as textFieldIdentifier,Al as textFieldOffPage,Dl as textFieldPanelOnly,Qa as textList,es as textListRowField,Ul as textarea,H as toggle,Va as upload,ur as usePageWidthDetail,sa as useSelectedPatch,D as useSelectedProps,k as useSelectedSibling,pr as useSiteGapDetail,Pa as widthField,Hl as withIdentifier,Fl as withOffPage,Bl as withPanelOnly,Nl as withScaffold};
|