dune-react 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/puck-base/button.d.ts +1 -1
- package/dist/components/puck-base/button.js +5 -6
- package/dist/components/puck-base/card.d.ts +1 -1
- package/dist/components/puck-base/container.js +1 -1
- package/dist/components/puck-base/content.d.ts +1 -1
- package/dist/components/puck-base/image.js +16 -16
- package/dist/components/puck-base/index.d.ts +1 -13
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +13 -13
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +3 -25
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +8 -8
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +8 -6
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +3 -1
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +2 -2
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +2 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +92 -63
- package/dist/components/puck-block/cta-sections/props.js +46 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -73
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +2 -74
- package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +1 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +1 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +80 -64
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +1 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +72 -18
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +79 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +43 -1
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +42 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +4 -3
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +86 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +1 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +38 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +1 -1
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +55 -1
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +42 -1
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +55 -1
- package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +25 -28
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -2
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +68 -65
- package/dist/components/puck-block/gallery-sections/props.d.ts +11 -1
- package/dist/components/puck-block/gallery-sections/props.js +7 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +18 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +24 -27
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +25 -22
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +11 -1
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +3 -2
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +119 -17
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +162 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +143 -19
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +3 -2
- package/dist/components/puck-block/header-sections/props.d.ts +3 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +3 -2
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +50 -9
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +8 -8
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +6 -6
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -3
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +26 -17
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +3 -3
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +26 -29
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +60 -19
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +25 -28
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -2
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +2 -2
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +3 -3
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +18 -6
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +9 -7
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +7 -5
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +93 -44
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +4 -4
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -44
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +7 -2
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +96 -46
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +33 -10
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +14 -12
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/index.d.ts +2 -0
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +1 -1
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +1 -1
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +2 -2
- package/dist/components/puck-block/location-sections/props.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +1 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +1 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +2 -2
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +1 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +0 -22
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +1 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +39 -26
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +47 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +34 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +0 -22
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +1 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +3 -3
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -22
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -1
- package/dist/components/puck-block/registry.generated.d.ts +13408 -0
- package/dist/components/puck-block/registry.generated.js +558 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +1 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +1 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +1 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +1 -23
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +1 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-carousel/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-grid/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +2 -2
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +0 -22
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +1 -1
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +0 -22
- package/dist/components/puck-block/text-sections/blog-article/index.js +1 -1
- package/dist/components/puck-block/text-sections/prose-content/component.js +1 -1
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -23
- package/dist/components/puck-block/text-sections/side-media-content/component.js +1 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +3 -3
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +2 -2
- package/dist/components/puck-core/core/props/content.js +41 -1
- package/dist/components/puck-core/core/props/form.js +76 -0
- package/dist/components/puck-core/core/props/index.js +34 -0
- package/dist/components/puck-core/core/props/interactive.js +17 -0
- package/dist/components/puck-core/core/props/media.js +14 -5
- package/dist/components/puck-core/core/styles.d.ts +1 -1
- package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
- package/dist/components/{puck-base → puck-core}/core/with-editable.js +1 -1
- package/dist/components/puck-core/fields/action-field.js +1 -1
- package/dist/components/puck-core/fields/array-field.d.ts +7 -0
- package/dist/components/puck-core/fields/array-field.js +229 -0
- package/dist/components/{puck-base → puck-core}/fields/auto-field.js +11 -0
- package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +5 -5
- package/dist/components/puck-core/fields/index.d.ts +1 -0
- package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
- package/dist/components/{puck-base → puck-core}/fields/object-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +1 -0
- package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
- package/dist/index.js +121 -104
- package/dist/node_modules/.pnpm/@dnd-kit_accessibility@3.1.1_react@19.2.4/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +59 -0
- package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@dnd-kit/core/dist/core.esm.js +3093 -0
- package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4__react@19.2.4/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +592 -0
- package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.4/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +301 -0
- package/package.json +4 -1
- package/dist/components/puck-base/core/fields.d.ts +0 -827
- package/dist/components/puck-base/core/fields.js +0 -267
- package/dist/components/puck-base/core/hooks.d.ts +0 -19
- package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
- package/dist/components/puck-base/core/icon-catalog.js +0 -193
- package/dist/components/puck-base/core/styles.d.ts +0 -1942
- package/dist/components/puck-base/core/types.d.ts +0 -20
- package/dist/components/puck-base/core/types.js +0 -26
- package/dist/components/puck-base/core/utils.d.ts +0 -5
- package/dist/components/puck-base/core/with-editable.d.ts +0 -16
- package/dist/components/puck-base/error-boundary.d.ts +0 -4
- package/dist/components/puck-base/fields/action-field.d.ts +0 -30
- package/dist/components/puck-base/fields/action-field.js +0 -265
- package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
- package/dist/components/puck-base/fields/color-field.d.ts +0 -6
- package/dist/components/puck-base/fields/index.d.ts +0 -8
- package/dist/components/puck-base/fields/location-field.d.ts +0 -44
- package/dist/components/puck-base/fields/object-field.d.ts +0 -8
- package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
- package/dist/components/puck-base/fields/types.d.ts +0 -29
- package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
- package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
- package/dist/components/puck-base/icon-picker-field.js +0 -153
- package/dist/components/puck-base/image-upload-field.d.ts +0 -7
- package/dist/components/puck-base/inline-editable.d.ts +0 -14
- package/dist/components/puck-base/use-upload.d.ts +0 -42
- /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
- /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
|
@@ -1,827 +0,0 @@
|
|
|
1
|
-
import type { Field } from "@puckeditor/core";
|
|
2
|
-
import type { CompoundFormProps } from "../form";
|
|
3
|
-
import type { CompoundFieldProps } from "../field";
|
|
4
|
-
import { ActionField } from "../fields/action-field";
|
|
5
|
-
import { IconPickerField } from "../icon-picker-field";
|
|
6
|
-
export declare const icon: {
|
|
7
|
-
type: "custom";
|
|
8
|
-
render: typeof IconPickerField;
|
|
9
|
-
};
|
|
10
|
-
export declare const action: {
|
|
11
|
-
type: "custom";
|
|
12
|
-
label: string;
|
|
13
|
-
render: typeof ActionField;
|
|
14
|
-
};
|
|
15
|
-
export declare const actionDefaults: {
|
|
16
|
-
readonly type: "page";
|
|
17
|
-
readonly pageUrl: "";
|
|
18
|
-
readonly externalUrl: "";
|
|
19
|
-
readonly openInNewTab: "false";
|
|
20
|
-
readonly email: "";
|
|
21
|
-
readonly subject: "";
|
|
22
|
-
readonly phone: "";
|
|
23
|
-
readonly sectionId: "";
|
|
24
|
-
readonly downloadUrl: "";
|
|
25
|
-
};
|
|
26
|
-
export declare const button: {
|
|
27
|
-
readonly type: "object";
|
|
28
|
-
readonly objectFields: {
|
|
29
|
-
readonly label: {
|
|
30
|
-
readonly type: "text";
|
|
31
|
-
};
|
|
32
|
-
readonly action: {
|
|
33
|
-
type: "custom";
|
|
34
|
-
label: string;
|
|
35
|
-
render: typeof ActionField;
|
|
36
|
-
};
|
|
37
|
-
readonly variant: {
|
|
38
|
-
readonly type: "select";
|
|
39
|
-
readonly options: readonly [{
|
|
40
|
-
readonly label: "primary";
|
|
41
|
-
readonly value: "default";
|
|
42
|
-
}, {
|
|
43
|
-
readonly label: "secondary";
|
|
44
|
-
readonly value: "secondary";
|
|
45
|
-
}, {
|
|
46
|
-
readonly label: "outline";
|
|
47
|
-
readonly value: "outline";
|
|
48
|
-
}, {
|
|
49
|
-
readonly label: "ghost";
|
|
50
|
-
readonly value: "ghost";
|
|
51
|
-
}, {
|
|
52
|
-
readonly label: "link";
|
|
53
|
-
readonly value: "link";
|
|
54
|
-
}, {
|
|
55
|
-
readonly label: "destructive";
|
|
56
|
-
readonly value: "destructive";
|
|
57
|
-
}];
|
|
58
|
-
};
|
|
59
|
-
readonly size: {
|
|
60
|
-
readonly type: "select";
|
|
61
|
-
readonly options: readonly [{
|
|
62
|
-
readonly label: "default";
|
|
63
|
-
readonly value: "default";
|
|
64
|
-
}, {
|
|
65
|
-
readonly label: "sm";
|
|
66
|
-
readonly value: "sm";
|
|
67
|
-
}, {
|
|
68
|
-
readonly label: "lg";
|
|
69
|
-
readonly value: "lg";
|
|
70
|
-
}, {
|
|
71
|
-
readonly label: "icon";
|
|
72
|
-
readonly value: "icon";
|
|
73
|
-
}];
|
|
74
|
-
};
|
|
75
|
-
readonly icon: {
|
|
76
|
-
type: "custom";
|
|
77
|
-
render: typeof IconPickerField;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export declare const buttons: {
|
|
82
|
-
readonly type: "array";
|
|
83
|
-
readonly max: 3;
|
|
84
|
-
readonly getItemSummary: (item: {
|
|
85
|
-
label?: string;
|
|
86
|
-
}, index?: number) => string;
|
|
87
|
-
readonly arrayFields: {
|
|
88
|
-
readonly label: {
|
|
89
|
-
readonly type: "text";
|
|
90
|
-
};
|
|
91
|
-
readonly action: {
|
|
92
|
-
type: "custom";
|
|
93
|
-
label: string;
|
|
94
|
-
render: typeof ActionField;
|
|
95
|
-
};
|
|
96
|
-
readonly variant: {
|
|
97
|
-
readonly type: "select";
|
|
98
|
-
readonly options: readonly [{
|
|
99
|
-
readonly label: "primary";
|
|
100
|
-
readonly value: "default";
|
|
101
|
-
}, {
|
|
102
|
-
readonly label: "secondary";
|
|
103
|
-
readonly value: "secondary";
|
|
104
|
-
}, {
|
|
105
|
-
readonly label: "outline";
|
|
106
|
-
readonly value: "outline";
|
|
107
|
-
}, {
|
|
108
|
-
readonly label: "ghost";
|
|
109
|
-
readonly value: "ghost";
|
|
110
|
-
}, {
|
|
111
|
-
readonly label: "link";
|
|
112
|
-
readonly value: "link";
|
|
113
|
-
}, {
|
|
114
|
-
readonly label: "destructive";
|
|
115
|
-
readonly value: "destructive";
|
|
116
|
-
}];
|
|
117
|
-
};
|
|
118
|
-
readonly size: {
|
|
119
|
-
readonly type: "select";
|
|
120
|
-
readonly options: readonly [{
|
|
121
|
-
readonly label: "default";
|
|
122
|
-
readonly value: "default";
|
|
123
|
-
}, {
|
|
124
|
-
readonly label: "sm";
|
|
125
|
-
readonly value: "sm";
|
|
126
|
-
}, {
|
|
127
|
-
readonly label: "lg";
|
|
128
|
-
readonly value: "lg";
|
|
129
|
-
}, {
|
|
130
|
-
readonly label: "icon";
|
|
131
|
-
readonly value: "icon";
|
|
132
|
-
}];
|
|
133
|
-
};
|
|
134
|
-
readonly icon: {
|
|
135
|
-
type: "custom";
|
|
136
|
-
render: typeof IconPickerField;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
readonly defaultItemProps: {
|
|
140
|
-
readonly label: "Button";
|
|
141
|
-
readonly action: {
|
|
142
|
-
readonly type: "page";
|
|
143
|
-
readonly pageUrl: "";
|
|
144
|
-
readonly externalUrl: "";
|
|
145
|
-
readonly openInNewTab: "false";
|
|
146
|
-
readonly email: "";
|
|
147
|
-
readonly subject: "";
|
|
148
|
-
readonly phone: "";
|
|
149
|
-
readonly sectionId: "";
|
|
150
|
-
readonly downloadUrl: "";
|
|
151
|
-
};
|
|
152
|
-
readonly variant: "default";
|
|
153
|
-
readonly size: "default";
|
|
154
|
-
readonly icon: "none";
|
|
155
|
-
};
|
|
156
|
-
readonly ai: {
|
|
157
|
-
readonly instructions: "Buttons must use the same size";
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
export declare const badge: {
|
|
161
|
-
readonly type: "object";
|
|
162
|
-
readonly objectFields: {
|
|
163
|
-
readonly label: {
|
|
164
|
-
readonly type: "text";
|
|
165
|
-
};
|
|
166
|
-
readonly url: {
|
|
167
|
-
readonly type: "text";
|
|
168
|
-
};
|
|
169
|
-
readonly variant: {
|
|
170
|
-
readonly type: "select";
|
|
171
|
-
readonly options: readonly [{
|
|
172
|
-
readonly label: "default";
|
|
173
|
-
readonly value: "default";
|
|
174
|
-
}, {
|
|
175
|
-
readonly label: "secondary";
|
|
176
|
-
readonly value: "secondary";
|
|
177
|
-
}, {
|
|
178
|
-
readonly label: "destructive";
|
|
179
|
-
readonly value: "destructive";
|
|
180
|
-
}, {
|
|
181
|
-
readonly label: "outline";
|
|
182
|
-
readonly value: "outline";
|
|
183
|
-
}];
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
export declare const image: {
|
|
188
|
-
type: "object";
|
|
189
|
-
objectFields: {
|
|
190
|
-
src: Field<string>;
|
|
191
|
-
alt: {
|
|
192
|
-
type: "text";
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
export declare const getPlaceholderImageUrl: (size: string, text?: string) => string;
|
|
197
|
-
export declare const image16x9Placeholder: {
|
|
198
|
-
alt: string;
|
|
199
|
-
src: string;
|
|
200
|
-
};
|
|
201
|
-
export declare const image1x1Placeholder: {
|
|
202
|
-
alt: string;
|
|
203
|
-
src: string;
|
|
204
|
-
};
|
|
205
|
-
export declare const image9x16Placeholder: {
|
|
206
|
-
alt: string;
|
|
207
|
-
src: string;
|
|
208
|
-
};
|
|
209
|
-
export declare const images: {
|
|
210
|
-
readonly type: "array";
|
|
211
|
-
readonly max: 10;
|
|
212
|
-
readonly getItemSummary: (item: {
|
|
213
|
-
alt?: string;
|
|
214
|
-
}, index?: number) => string;
|
|
215
|
-
readonly arrayFields: {
|
|
216
|
-
readonly src: Field<string>;
|
|
217
|
-
readonly alt: {
|
|
218
|
-
type: "text";
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
readonly defaultItemProps: {
|
|
222
|
-
alt: string;
|
|
223
|
-
src: string;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
export declare const heading: {
|
|
227
|
-
readonly type: "text";
|
|
228
|
-
readonly contentEditable: true;
|
|
229
|
-
};
|
|
230
|
-
export declare const description: {
|
|
231
|
-
readonly type: "textarea";
|
|
232
|
-
readonly contentEditable: true;
|
|
233
|
-
};
|
|
234
|
-
export declare const features: {
|
|
235
|
-
readonly type: "array";
|
|
236
|
-
readonly max: 5;
|
|
237
|
-
readonly getItemSummary: (item: {
|
|
238
|
-
name?: string;
|
|
239
|
-
}, index?: number) => string;
|
|
240
|
-
readonly arrayFields: {
|
|
241
|
-
readonly icon: {
|
|
242
|
-
type: "custom";
|
|
243
|
-
render: typeof IconPickerField;
|
|
244
|
-
};
|
|
245
|
-
readonly name: {
|
|
246
|
-
readonly type: "text";
|
|
247
|
-
readonly contentEditable: true;
|
|
248
|
-
};
|
|
249
|
-
readonly description: {
|
|
250
|
-
readonly type: "textarea";
|
|
251
|
-
readonly contentEditable: true;
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
readonly defaultItemProps: {
|
|
255
|
-
readonly icon: "check";
|
|
256
|
-
readonly name: "Feature name";
|
|
257
|
-
readonly description: "Description of the feature";
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
export declare const contentFields: {
|
|
261
|
-
readonly heading: {
|
|
262
|
-
readonly type: "text";
|
|
263
|
-
readonly contentEditable: true;
|
|
264
|
-
};
|
|
265
|
-
readonly description: {
|
|
266
|
-
readonly type: "textarea";
|
|
267
|
-
readonly contentEditable: true;
|
|
268
|
-
};
|
|
269
|
-
readonly badge: {
|
|
270
|
-
readonly type: "object";
|
|
271
|
-
readonly objectFields: {
|
|
272
|
-
readonly label: {
|
|
273
|
-
readonly type: "text";
|
|
274
|
-
};
|
|
275
|
-
readonly url: {
|
|
276
|
-
readonly type: "text";
|
|
277
|
-
};
|
|
278
|
-
readonly variant: {
|
|
279
|
-
readonly type: "select";
|
|
280
|
-
readonly options: readonly [{
|
|
281
|
-
readonly label: "default";
|
|
282
|
-
readonly value: "default";
|
|
283
|
-
}, {
|
|
284
|
-
readonly label: "secondary";
|
|
285
|
-
readonly value: "secondary";
|
|
286
|
-
}, {
|
|
287
|
-
readonly label: "destructive";
|
|
288
|
-
readonly value: "destructive";
|
|
289
|
-
}, {
|
|
290
|
-
readonly label: "outline";
|
|
291
|
-
readonly value: "outline";
|
|
292
|
-
}];
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
readonly buttons: {
|
|
297
|
-
readonly type: "array";
|
|
298
|
-
readonly max: 3;
|
|
299
|
-
readonly getItemSummary: (item: {
|
|
300
|
-
label?: string;
|
|
301
|
-
}, index?: number) => string;
|
|
302
|
-
readonly arrayFields: {
|
|
303
|
-
readonly label: {
|
|
304
|
-
readonly type: "text";
|
|
305
|
-
};
|
|
306
|
-
readonly action: {
|
|
307
|
-
type: "custom";
|
|
308
|
-
label: string;
|
|
309
|
-
render: typeof ActionField;
|
|
310
|
-
};
|
|
311
|
-
readonly variant: {
|
|
312
|
-
readonly type: "select";
|
|
313
|
-
readonly options: readonly [{
|
|
314
|
-
readonly label: "primary";
|
|
315
|
-
readonly value: "default";
|
|
316
|
-
}, {
|
|
317
|
-
readonly label: "secondary";
|
|
318
|
-
readonly value: "secondary";
|
|
319
|
-
}, {
|
|
320
|
-
readonly label: "outline";
|
|
321
|
-
readonly value: "outline";
|
|
322
|
-
}, {
|
|
323
|
-
readonly label: "ghost";
|
|
324
|
-
readonly value: "ghost";
|
|
325
|
-
}, {
|
|
326
|
-
readonly label: "link";
|
|
327
|
-
readonly value: "link";
|
|
328
|
-
}, {
|
|
329
|
-
readonly label: "destructive";
|
|
330
|
-
readonly value: "destructive";
|
|
331
|
-
}];
|
|
332
|
-
};
|
|
333
|
-
readonly size: {
|
|
334
|
-
readonly type: "select";
|
|
335
|
-
readonly options: readonly [{
|
|
336
|
-
readonly label: "default";
|
|
337
|
-
readonly value: "default";
|
|
338
|
-
}, {
|
|
339
|
-
readonly label: "sm";
|
|
340
|
-
readonly value: "sm";
|
|
341
|
-
}, {
|
|
342
|
-
readonly label: "lg";
|
|
343
|
-
readonly value: "lg";
|
|
344
|
-
}, {
|
|
345
|
-
readonly label: "icon";
|
|
346
|
-
readonly value: "icon";
|
|
347
|
-
}];
|
|
348
|
-
};
|
|
349
|
-
readonly icon: {
|
|
350
|
-
type: "custom";
|
|
351
|
-
render: typeof IconPickerField;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
readonly defaultItemProps: {
|
|
355
|
-
readonly label: "Button";
|
|
356
|
-
readonly action: {
|
|
357
|
-
readonly type: "page";
|
|
358
|
-
readonly pageUrl: "";
|
|
359
|
-
readonly externalUrl: "";
|
|
360
|
-
readonly openInNewTab: "false";
|
|
361
|
-
readonly email: "";
|
|
362
|
-
readonly subject: "";
|
|
363
|
-
readonly phone: "";
|
|
364
|
-
readonly sectionId: "";
|
|
365
|
-
readonly downloadUrl: "";
|
|
366
|
-
};
|
|
367
|
-
readonly variant: "default";
|
|
368
|
-
readonly size: "default";
|
|
369
|
-
readonly icon: "none";
|
|
370
|
-
};
|
|
371
|
-
readonly ai: {
|
|
372
|
-
readonly instructions: "Buttons must use the same size";
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
export declare const contentFieldsWithFeatures: {
|
|
377
|
-
readonly heading: {
|
|
378
|
-
readonly type: "text";
|
|
379
|
-
readonly contentEditable: true;
|
|
380
|
-
};
|
|
381
|
-
readonly description: {
|
|
382
|
-
readonly type: "textarea";
|
|
383
|
-
readonly contentEditable: true;
|
|
384
|
-
};
|
|
385
|
-
readonly badge: {
|
|
386
|
-
readonly type: "object";
|
|
387
|
-
readonly objectFields: {
|
|
388
|
-
readonly label: {
|
|
389
|
-
readonly type: "text";
|
|
390
|
-
};
|
|
391
|
-
readonly url: {
|
|
392
|
-
readonly type: "text";
|
|
393
|
-
};
|
|
394
|
-
readonly variant: {
|
|
395
|
-
readonly type: "select";
|
|
396
|
-
readonly options: readonly [{
|
|
397
|
-
readonly label: "default";
|
|
398
|
-
readonly value: "default";
|
|
399
|
-
}, {
|
|
400
|
-
readonly label: "secondary";
|
|
401
|
-
readonly value: "secondary";
|
|
402
|
-
}, {
|
|
403
|
-
readonly label: "destructive";
|
|
404
|
-
readonly value: "destructive";
|
|
405
|
-
}, {
|
|
406
|
-
readonly label: "outline";
|
|
407
|
-
readonly value: "outline";
|
|
408
|
-
}];
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
readonly features: {
|
|
413
|
-
readonly type: "array";
|
|
414
|
-
readonly max: 5;
|
|
415
|
-
readonly getItemSummary: (item: {
|
|
416
|
-
name?: string;
|
|
417
|
-
}, index?: number) => string;
|
|
418
|
-
readonly arrayFields: {
|
|
419
|
-
readonly icon: {
|
|
420
|
-
type: "custom";
|
|
421
|
-
render: typeof IconPickerField;
|
|
422
|
-
};
|
|
423
|
-
readonly name: {
|
|
424
|
-
readonly type: "text";
|
|
425
|
-
readonly contentEditable: true;
|
|
426
|
-
};
|
|
427
|
-
readonly description: {
|
|
428
|
-
readonly type: "textarea";
|
|
429
|
-
readonly contentEditable: true;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
readonly defaultItemProps: {
|
|
433
|
-
readonly icon: "check";
|
|
434
|
-
readonly name: "Feature name";
|
|
435
|
-
readonly description: "Description of the feature";
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
readonly buttons: {
|
|
439
|
-
readonly type: "array";
|
|
440
|
-
readonly max: 3;
|
|
441
|
-
readonly getItemSummary: (item: {
|
|
442
|
-
label?: string;
|
|
443
|
-
}, index?: number) => string;
|
|
444
|
-
readonly arrayFields: {
|
|
445
|
-
readonly label: {
|
|
446
|
-
readonly type: "text";
|
|
447
|
-
};
|
|
448
|
-
readonly action: {
|
|
449
|
-
type: "custom";
|
|
450
|
-
label: string;
|
|
451
|
-
render: typeof ActionField;
|
|
452
|
-
};
|
|
453
|
-
readonly variant: {
|
|
454
|
-
readonly type: "select";
|
|
455
|
-
readonly options: readonly [{
|
|
456
|
-
readonly label: "primary";
|
|
457
|
-
readonly value: "default";
|
|
458
|
-
}, {
|
|
459
|
-
readonly label: "secondary";
|
|
460
|
-
readonly value: "secondary";
|
|
461
|
-
}, {
|
|
462
|
-
readonly label: "outline";
|
|
463
|
-
readonly value: "outline";
|
|
464
|
-
}, {
|
|
465
|
-
readonly label: "ghost";
|
|
466
|
-
readonly value: "ghost";
|
|
467
|
-
}, {
|
|
468
|
-
readonly label: "link";
|
|
469
|
-
readonly value: "link";
|
|
470
|
-
}, {
|
|
471
|
-
readonly label: "destructive";
|
|
472
|
-
readonly value: "destructive";
|
|
473
|
-
}];
|
|
474
|
-
};
|
|
475
|
-
readonly size: {
|
|
476
|
-
readonly type: "select";
|
|
477
|
-
readonly options: readonly [{
|
|
478
|
-
readonly label: "default";
|
|
479
|
-
readonly value: "default";
|
|
480
|
-
}, {
|
|
481
|
-
readonly label: "sm";
|
|
482
|
-
readonly value: "sm";
|
|
483
|
-
}, {
|
|
484
|
-
readonly label: "lg";
|
|
485
|
-
readonly value: "lg";
|
|
486
|
-
}, {
|
|
487
|
-
readonly label: "icon";
|
|
488
|
-
readonly value: "icon";
|
|
489
|
-
}];
|
|
490
|
-
};
|
|
491
|
-
readonly icon: {
|
|
492
|
-
type: "custom";
|
|
493
|
-
render: typeof IconPickerField;
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
readonly defaultItemProps: {
|
|
497
|
-
readonly label: "Button";
|
|
498
|
-
readonly action: {
|
|
499
|
-
readonly type: "page";
|
|
500
|
-
readonly pageUrl: "";
|
|
501
|
-
readonly externalUrl: "";
|
|
502
|
-
readonly openInNewTab: "false";
|
|
503
|
-
readonly email: "";
|
|
504
|
-
readonly subject: "";
|
|
505
|
-
readonly phone: "";
|
|
506
|
-
readonly sectionId: "";
|
|
507
|
-
readonly downloadUrl: "";
|
|
508
|
-
};
|
|
509
|
-
readonly variant: "default";
|
|
510
|
-
readonly size: "default";
|
|
511
|
-
readonly icon: "none";
|
|
512
|
-
};
|
|
513
|
-
readonly ai: {
|
|
514
|
-
readonly instructions: "Buttons must use the same size";
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
export declare const card: {
|
|
519
|
-
readonly type: "object";
|
|
520
|
-
readonly objectFields: {
|
|
521
|
-
readonly icon: {
|
|
522
|
-
type: "custom";
|
|
523
|
-
render: typeof IconPickerField;
|
|
524
|
-
};
|
|
525
|
-
readonly heading: {
|
|
526
|
-
readonly type: "text";
|
|
527
|
-
readonly contentEditable: true;
|
|
528
|
-
};
|
|
529
|
-
readonly description: {
|
|
530
|
-
readonly type: "textarea";
|
|
531
|
-
readonly contentEditable: true;
|
|
532
|
-
};
|
|
533
|
-
readonly button: {
|
|
534
|
-
readonly type: "object";
|
|
535
|
-
readonly objectFields: {
|
|
536
|
-
readonly label: {
|
|
537
|
-
readonly type: "text";
|
|
538
|
-
};
|
|
539
|
-
readonly action: {
|
|
540
|
-
type: "custom";
|
|
541
|
-
label: string;
|
|
542
|
-
render: typeof ActionField;
|
|
543
|
-
};
|
|
544
|
-
readonly variant: {
|
|
545
|
-
readonly type: "select";
|
|
546
|
-
readonly options: readonly [{
|
|
547
|
-
readonly label: "primary";
|
|
548
|
-
readonly value: "default";
|
|
549
|
-
}, {
|
|
550
|
-
readonly label: "secondary";
|
|
551
|
-
readonly value: "secondary";
|
|
552
|
-
}, {
|
|
553
|
-
readonly label: "outline";
|
|
554
|
-
readonly value: "outline";
|
|
555
|
-
}, {
|
|
556
|
-
readonly label: "ghost";
|
|
557
|
-
readonly value: "ghost";
|
|
558
|
-
}, {
|
|
559
|
-
readonly label: "link";
|
|
560
|
-
readonly value: "link";
|
|
561
|
-
}, {
|
|
562
|
-
readonly label: "destructive";
|
|
563
|
-
readonly value: "destructive";
|
|
564
|
-
}];
|
|
565
|
-
};
|
|
566
|
-
readonly size: {
|
|
567
|
-
readonly type: "select";
|
|
568
|
-
readonly options: readonly [{
|
|
569
|
-
readonly label: "default";
|
|
570
|
-
readonly value: "default";
|
|
571
|
-
}, {
|
|
572
|
-
readonly label: "sm";
|
|
573
|
-
readonly value: "sm";
|
|
574
|
-
}, {
|
|
575
|
-
readonly label: "lg";
|
|
576
|
-
readonly value: "lg";
|
|
577
|
-
}, {
|
|
578
|
-
readonly label: "icon";
|
|
579
|
-
readonly value: "icon";
|
|
580
|
-
}];
|
|
581
|
-
};
|
|
582
|
-
readonly icon: {
|
|
583
|
-
type: "custom";
|
|
584
|
-
render: typeof IconPickerField;
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
};
|
|
588
|
-
};
|
|
589
|
-
};
|
|
590
|
-
export declare const cards: {
|
|
591
|
-
readonly type: "array";
|
|
592
|
-
readonly getItemSummary: (item: {
|
|
593
|
-
heading?: string;
|
|
594
|
-
}, index?: number) => string;
|
|
595
|
-
readonly arrayFields: {
|
|
596
|
-
readonly icon: {
|
|
597
|
-
type: "custom";
|
|
598
|
-
render: typeof IconPickerField;
|
|
599
|
-
};
|
|
600
|
-
readonly heading: {
|
|
601
|
-
readonly type: "text";
|
|
602
|
-
readonly contentEditable: true;
|
|
603
|
-
};
|
|
604
|
-
readonly description: {
|
|
605
|
-
readonly type: "textarea";
|
|
606
|
-
readonly contentEditable: true;
|
|
607
|
-
};
|
|
608
|
-
readonly button: {
|
|
609
|
-
readonly type: "object";
|
|
610
|
-
readonly objectFields: {
|
|
611
|
-
readonly label: {
|
|
612
|
-
readonly type: "text";
|
|
613
|
-
};
|
|
614
|
-
readonly action: {
|
|
615
|
-
type: "custom";
|
|
616
|
-
label: string;
|
|
617
|
-
render: typeof ActionField;
|
|
618
|
-
};
|
|
619
|
-
readonly variant: {
|
|
620
|
-
readonly type: "select";
|
|
621
|
-
readonly options: readonly [{
|
|
622
|
-
readonly label: "primary";
|
|
623
|
-
readonly value: "default";
|
|
624
|
-
}, {
|
|
625
|
-
readonly label: "secondary";
|
|
626
|
-
readonly value: "secondary";
|
|
627
|
-
}, {
|
|
628
|
-
readonly label: "outline";
|
|
629
|
-
readonly value: "outline";
|
|
630
|
-
}, {
|
|
631
|
-
readonly label: "ghost";
|
|
632
|
-
readonly value: "ghost";
|
|
633
|
-
}, {
|
|
634
|
-
readonly label: "link";
|
|
635
|
-
readonly value: "link";
|
|
636
|
-
}, {
|
|
637
|
-
readonly label: "destructive";
|
|
638
|
-
readonly value: "destructive";
|
|
639
|
-
}];
|
|
640
|
-
};
|
|
641
|
-
readonly size: {
|
|
642
|
-
readonly type: "select";
|
|
643
|
-
readonly options: readonly [{
|
|
644
|
-
readonly label: "default";
|
|
645
|
-
readonly value: "default";
|
|
646
|
-
}, {
|
|
647
|
-
readonly label: "sm";
|
|
648
|
-
readonly value: "sm";
|
|
649
|
-
}, {
|
|
650
|
-
readonly label: "lg";
|
|
651
|
-
readonly value: "lg";
|
|
652
|
-
}, {
|
|
653
|
-
readonly label: "icon";
|
|
654
|
-
readonly value: "icon";
|
|
655
|
-
}];
|
|
656
|
-
};
|
|
657
|
-
readonly icon: {
|
|
658
|
-
type: "custom";
|
|
659
|
-
render: typeof IconPickerField;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
readonly defaultItemProps: {
|
|
665
|
-
readonly icon: "activity";
|
|
666
|
-
readonly heading: "Heading";
|
|
667
|
-
readonly description: "Description";
|
|
668
|
-
readonly button: {
|
|
669
|
-
readonly label: "Button";
|
|
670
|
-
readonly action: {
|
|
671
|
-
readonly type: "page";
|
|
672
|
-
readonly pageUrl: "";
|
|
673
|
-
readonly externalUrl: "";
|
|
674
|
-
readonly openInNewTab: "false";
|
|
675
|
-
readonly email: "";
|
|
676
|
-
readonly subject: "";
|
|
677
|
-
readonly phone: "";
|
|
678
|
-
readonly sectionId: "";
|
|
679
|
-
readonly downloadUrl: "";
|
|
680
|
-
};
|
|
681
|
-
readonly variant: "default";
|
|
682
|
-
readonly size: "default";
|
|
683
|
-
readonly icon: "none";
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
export declare const field: {
|
|
688
|
-
type: string;
|
|
689
|
-
objectFields: {
|
|
690
|
-
label: {
|
|
691
|
-
type: string;
|
|
692
|
-
contentEditable: boolean;
|
|
693
|
-
};
|
|
694
|
-
name: {
|
|
695
|
-
type: string;
|
|
696
|
-
};
|
|
697
|
-
type: {
|
|
698
|
-
type: string;
|
|
699
|
-
options: {
|
|
700
|
-
label: "number" | "text" | "date" | "file" | "password";
|
|
701
|
-
value: "number" | "text" | "date" | "file" | "password";
|
|
702
|
-
}[];
|
|
703
|
-
};
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
|
-
export declare const fieldDefaults: CompoundFieldProps;
|
|
707
|
-
export declare const form: {
|
|
708
|
-
type: string;
|
|
709
|
-
objectFields: {
|
|
710
|
-
title: {
|
|
711
|
-
type: string;
|
|
712
|
-
contentEditable: boolean;
|
|
713
|
-
};
|
|
714
|
-
fields: {
|
|
715
|
-
type: string;
|
|
716
|
-
min: number;
|
|
717
|
-
max: number;
|
|
718
|
-
arrayFields: {
|
|
719
|
-
label: {
|
|
720
|
-
type: string;
|
|
721
|
-
contentEditable: boolean;
|
|
722
|
-
};
|
|
723
|
-
name: {
|
|
724
|
-
type: string;
|
|
725
|
-
};
|
|
726
|
-
type: {
|
|
727
|
-
type: string;
|
|
728
|
-
options: {
|
|
729
|
-
label: "number" | "text" | "date" | "file" | "password";
|
|
730
|
-
value: "number" | "text" | "date" | "file" | "password";
|
|
731
|
-
}[];
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
getItemSummary: (item: {
|
|
735
|
-
label?: string;
|
|
736
|
-
}, index?: number) => string;
|
|
737
|
-
defaultItemProps: CompoundFieldProps;
|
|
738
|
-
};
|
|
739
|
-
action: {
|
|
740
|
-
type: string;
|
|
741
|
-
label: string;
|
|
742
|
-
};
|
|
743
|
-
method: {
|
|
744
|
-
type: string;
|
|
745
|
-
label: string;
|
|
746
|
-
options: {
|
|
747
|
-
label: "delete" | "get" | "post" | "put" | "patch";
|
|
748
|
-
value: "delete" | "get" | "post" | "put" | "patch";
|
|
749
|
-
}[];
|
|
750
|
-
};
|
|
751
|
-
button: {
|
|
752
|
-
objectFields: {
|
|
753
|
-
label: {
|
|
754
|
-
readonly type: "text";
|
|
755
|
-
};
|
|
756
|
-
variant: {
|
|
757
|
-
readonly type: "select";
|
|
758
|
-
readonly options: readonly [{
|
|
759
|
-
readonly label: "primary";
|
|
760
|
-
readonly value: "default";
|
|
761
|
-
}, {
|
|
762
|
-
readonly label: "secondary";
|
|
763
|
-
readonly value: "secondary";
|
|
764
|
-
}, {
|
|
765
|
-
readonly label: "outline";
|
|
766
|
-
readonly value: "outline";
|
|
767
|
-
}, {
|
|
768
|
-
readonly label: "ghost";
|
|
769
|
-
readonly value: "ghost";
|
|
770
|
-
}, {
|
|
771
|
-
readonly label: "link";
|
|
772
|
-
readonly value: "link";
|
|
773
|
-
}, {
|
|
774
|
-
readonly label: "destructive";
|
|
775
|
-
readonly value: "destructive";
|
|
776
|
-
}];
|
|
777
|
-
};
|
|
778
|
-
size: {
|
|
779
|
-
readonly type: "select";
|
|
780
|
-
readonly options: readonly [{
|
|
781
|
-
readonly label: "default";
|
|
782
|
-
readonly value: "default";
|
|
783
|
-
}, {
|
|
784
|
-
readonly label: "sm";
|
|
785
|
-
readonly value: "sm";
|
|
786
|
-
}, {
|
|
787
|
-
readonly label: "lg";
|
|
788
|
-
readonly value: "lg";
|
|
789
|
-
}, {
|
|
790
|
-
readonly label: "icon";
|
|
791
|
-
readonly value: "icon";
|
|
792
|
-
}];
|
|
793
|
-
};
|
|
794
|
-
icon: {
|
|
795
|
-
type: "custom";
|
|
796
|
-
render: typeof IconPickerField;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
type: "object";
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
};
|
|
803
|
-
export declare const formDefaults: CompoundFormProps;
|
|
804
|
-
/** 地图定位的核心数据:地址 + 坐标 */
|
|
805
|
-
export interface MapLocation {
|
|
806
|
-
/** 用户可读的完整地址(显示 & 搜索用) */
|
|
807
|
-
address: string;
|
|
808
|
-
/** 纬度 */
|
|
809
|
-
lat: number;
|
|
810
|
-
/** 经度 */
|
|
811
|
-
lng: number;
|
|
812
|
-
/** 地图缩放级别,默认 14 */
|
|
813
|
-
zoom?: number;
|
|
814
|
-
/** Google Place ID(可选,便于精确定位) */
|
|
815
|
-
placeId?: string;
|
|
816
|
-
}
|
|
817
|
-
/** 从 MapLocation 生成 Google Maps embed URL */
|
|
818
|
-
export declare function getMapEmbedUrl(loc: MapLocation): string;
|
|
819
|
-
/** 从 MapLocation 生成 Google Maps 导航 URL */
|
|
820
|
-
export declare function getDirectionsUrl(loc: MapLocation): string;
|
|
821
|
-
export declare const locationDefaults: MapLocation;
|
|
822
|
-
export declare const location: {
|
|
823
|
-
type: "custom";
|
|
824
|
-
label: string;
|
|
825
|
-
render: any;
|
|
826
|
-
};
|
|
827
|
-
export * from "./styles";
|