pagepilot-visual-editor 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/dist/blocks-internal/block-button/src/index.d.ts +44 -10
- package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -6
- package/dist/blocks-internal/block-columns-container/src/index.d.ts +6 -6
- package/dist/blocks-internal/block-container/src/index.d.ts +34 -8
- package/dist/blocks-internal/block-grid/src/index.d.ts +1 -1
- package/dist/blocks-internal/block-heading/src/index.d.ts +8 -7
- package/dist/blocks-internal/block-html/src/index.d.ts +2 -2
- package/dist/blocks-internal/block-iframe/src/index.d.ts +2 -2
- package/dist/blocks-internal/block-image/src/index.d.ts +62 -3
- package/dist/blocks-internal/block-list/src/index.d.ts +5 -5
- package/dist/blocks-internal/block-logo/src/index.d.ts +43 -2
- package/dist/blocks-internal/block-stepper/src/index.d.ts +4 -4
- package/dist/blocks-internal/block-text/src/index.d.ts +5 -4
- package/dist/blocks-internal/block-video/src/index.d.ts +3 -3
- package/dist/blocks-internal/block-youtube-url/src/index.d.ts +3 -3
- package/dist/editor/renderSections.d.ts +2 -68
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +1 -1
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +3 -1
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/AnimationSection.d.ts +18 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BoxShadowControls.d.ts +19 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/HoverEffectSection.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +2 -39
- package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +4 -2
- package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Avatar/AvatarPropsSchema.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +6 -6
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +53 -8
- package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +4 -3
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
- package/dist/editor-sample/documents/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
- package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +1 -1
- package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +3 -3
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +3 -3
- package/dist/editor-sample/documents/editor/core.d.ts +266 -94
- package/dist/editor-sample/documents/editor/templateVariables.d.ts +4 -75
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +6 -6
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +53 -8
- package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +5 -5
- package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutReader.d.ts +1 -1
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +7 -0
- package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +6 -6
- package/dist/email-builder-core/blocks/MenuPicker/MenuReader.d.ts +7 -1
- package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +5 -5
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +1 -0
- package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
- package/dist/email-builder-core/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
- package/dist/email-builder-core/blocks/animationSchema.d.ts +32 -0
- package/dist/email-builder-core/blocks/boxShadowSchema.d.ts +23 -0
- package/dist/email-builder-core/blocks/hoverEffectSchema.d.ts +20 -0
- package/dist/email-builder-core/helpers/templateVariables.d.ts +2 -14
- package/dist/email-builder-core/renderers/animationCss.d.ts +18 -0
- package/dist/email-builder-core/renderers/pageScripts.d.ts +10 -0
- package/dist/host-stubs/style/menu.styled.d.ts +10 -1
- package/dist/index.cjs +394 -244
- package/dist/index.js +27144 -25729
- package/dist/render-core/collectSubtreeIds.d.ts +1 -0
- package/dist/render-core/combineSections.d.ts +37 -0
- package/dist/render-core/stubs/editorContext.d.ts +10 -0
- package/dist/render-core/stubs/usePreviewScreen.d.ts +7 -0
- package/dist/render-core/templateBaking.d.ts +35 -0
- package/dist/render-core/templateEnvelope.d.ts +11 -0
- package/dist/render.cjs +873 -0
- package/dist/render.d.ts +4 -0
- package/dist/render.js +15409 -0
- package/dist/renderToStaticHtml.d.ts +1 -1
- package/package.json +11 -3
|
@@ -9,9 +9,9 @@ export declare const VideoPropsSchema: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
10
|
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
11
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
12
|
-
center: "center";
|
|
13
|
-
left: "left";
|
|
14
12
|
right: "right";
|
|
13
|
+
left: "left";
|
|
14
|
+
center: "center";
|
|
15
15
|
}>>>;
|
|
16
16
|
}, z.core.$strip>>>;
|
|
17
17
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -25,8 +25,8 @@ export declare const VideoPropsSchema: z.ZodObject<{
|
|
|
25
25
|
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
26
|
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
27
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
|
-
bottom: "bottom";
|
|
29
28
|
top: "top";
|
|
29
|
+
bottom: "bottom";
|
|
30
30
|
middle: "middle";
|
|
31
31
|
}>>>;
|
|
32
32
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -9,9 +9,9 @@ export declare const YouTubeUrlPropsSchema: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
10
|
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
11
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
12
|
-
center: "center";
|
|
13
|
-
left: "left";
|
|
14
12
|
right: "right";
|
|
13
|
+
left: "left";
|
|
14
|
+
center: "center";
|
|
15
15
|
}>>>;
|
|
16
16
|
}, z.core.$strip>>>;
|
|
17
17
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -25,8 +25,8 @@ export declare const YouTubeUrlPropsSchema: z.ZodObject<{
|
|
|
25
25
|
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
26
|
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
27
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
|
-
bottom: "bottom";
|
|
29
28
|
top: "top";
|
|
29
|
+
bottom: "bottom";
|
|
30
30
|
middle: "middle";
|
|
31
31
|
}>>>;
|
|
32
32
|
}, z.core.$strip>>>;
|
|
@@ -1,68 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
content?: string;
|
|
4
|
-
contentMetadata?: {
|
|
5
|
-
document?: any;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
export interface RenderDocumentForSaveOptions {
|
|
11
|
-
rootBlockId?: string;
|
|
12
|
-
injectTabsScrollSyncScript?: boolean;
|
|
13
|
-
injectCarouselScript?: boolean;
|
|
14
|
-
injectFontAssets?: boolean;
|
|
15
|
-
headHtml?: string;
|
|
16
|
-
bodyBottomHtml?: string;
|
|
17
|
-
isBanner?: boolean;
|
|
18
|
-
seo?: any;
|
|
19
|
-
}
|
|
20
|
-
export declare function isExternalSection(section: SectionForRender | undefined): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Same call `Shell.buildPayload` makes: `renderToStaticMarkup` with the
|
|
23
|
-
* defaults the editor persists on Save Changes (root id, ids injected,
|
|
24
|
-
* page CSS included, css minified, lang / skipLink / accessibilityTools
|
|
25
|
-
* auto-derived from the document's root data).
|
|
26
|
-
*/
|
|
27
|
-
export declare function renderDocumentForSave(document: any, options?: RenderDocumentForSaveOptions): string;
|
|
28
|
-
export interface CombineSectionsOptions extends RenderDocumentForSaveOptions {
|
|
29
|
-
/**
|
|
30
|
-
* External sections come from the API as stored `content` strings —
|
|
31
|
-
* usually `<div id="…"></div>` anchor placeholders. When true (default),
|
|
32
|
-
* that content is passed through. When false, external sections are
|
|
33
|
-
* skipped entirely.
|
|
34
|
-
*/
|
|
35
|
-
includeExternalSections?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* When false, only the concatenated fragments are returned — no
|
|
38
|
-
* `<!doctype html>` shell. Defaults to true, matching Shell.buildPayload.
|
|
39
|
-
*/
|
|
40
|
-
wrapInDocumentShell?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Overrides for the outer shell. When omitted, values come from the
|
|
43
|
-
* first internal section's EmailLayout root data.
|
|
44
|
-
*/
|
|
45
|
-
lang?: string;
|
|
46
|
-
canvasColor?: string;
|
|
47
|
-
fontFamily?: string;
|
|
48
|
-
seoTitle?: string;
|
|
49
|
-
seoDescription?: string;
|
|
50
|
-
extraHead?: string;
|
|
51
|
-
extraBodyBottom?: string;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Render each section's document to a fragment, then stitch them into the
|
|
55
|
-
* same `<!doctype html>` shell Shell.tsx uses on Save Changes.
|
|
56
|
-
*
|
|
57
|
-
* Returns `{ html, sectionHtml, flushedSections }`:
|
|
58
|
-
* - `html`: combined document (or bare fragments when `wrapInDocumentShell` is false).
|
|
59
|
-
* - `sectionHtml`: per-section fragments in input order.
|
|
60
|
-
* - `flushedSections`: input sections with their re-rendered `content` field
|
|
61
|
-
* written back — matches the shape `Shell.buildPayload` persists in
|
|
62
|
-
* `SaveChangesPayload.record.sections`.
|
|
63
|
-
*/
|
|
64
|
-
export declare function combineSectionsToHtml(sections: SectionForRender[], options?: CombineSectionsOptions): {
|
|
65
|
-
html: string;
|
|
66
|
-
sectionHtml: string[];
|
|
67
|
-
flushedSections: SectionForRender[];
|
|
68
|
-
};
|
|
1
|
+
export { isExternalSection, renderDocumentForSave, combineSectionsToHtml, } from '../render-core/combineSections';
|
|
2
|
+
export type { SectionForRender, RenderDocumentForSaveOptions, CombineSectionsOptions, } from '../render-core/combineSections';
|
|
@@ -20,7 +20,9 @@ type SettingRowProps = {
|
|
|
20
20
|
tooltip?: string;
|
|
21
21
|
/** Hide this row on the Tablet/Mobile device tabs (shared/content control). */
|
|
22
22
|
hideOnResponsive?: boolean;
|
|
23
|
+
/** Hide this row on Desktop — show it only on the Tablet/Mobile device tabs. */
|
|
24
|
+
hideOnDesktop?: boolean;
|
|
23
25
|
};
|
|
24
|
-
export declare const SettingRow: ({ label, children, divider, background, mt, maxHeight, tooltip, hideOnResponsive, }: SettingRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const SettingRow: ({ label, children, divider, background, mt, maxHeight, tooltip, hideOnResponsive, hideOnDesktop, }: SettingRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
27
|
declare function EmailLayoutSidebarFields({ data, setData, isTypeDemo, record, onBackgroundChange, }: EmailLayoutSidebarFieldsProps): import("react/jsx-runtime").JSX.Element;
|
|
26
28
|
export default EmailLayoutSidebarFields;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type TAnimationProps = {
|
|
2
|
+
type: 'none' | 'fade-in' | 'slide-left' | 'slide-right' | 'slide-up' | 'slide-down' | 'zoom-in' | 'bounce';
|
|
3
|
+
trigger: 'load' | 'scroll' | 'hover' | 'click';
|
|
4
|
+
speed: 'slow' | 'medium' | 'fast';
|
|
5
|
+
delay?: number | null;
|
|
6
|
+
disableOnMobile?: boolean | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Reusable "Animation" CollapsibleSection for any block whose props schema
|
|
10
|
+
* has an `animation` field of this shape (Image, Container, Button, Logo,
|
|
11
|
+
* Avatar). The parent panel owns `data`/`updateData` — this component only
|
|
12
|
+
* reads/writes `props.animation` off of whatever object `updateProps` merges
|
|
13
|
+
* into.
|
|
14
|
+
*/
|
|
15
|
+
export default function AnimationSection({ rawAnimation, updateProps, }: {
|
|
16
|
+
rawAnimation: Partial<TAnimationProps> | null | undefined;
|
|
17
|
+
updateProps: (patch: Record<string, any>) => void;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TBoxShadowValue = {
|
|
2
|
+
color?: string | null;
|
|
3
|
+
offsetX?: number;
|
|
4
|
+
offsetY?: number;
|
|
5
|
+
blur?: number;
|
|
6
|
+
spread?: number;
|
|
7
|
+
inset?: boolean;
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Reusable box-shadow control group: color, offsetX, offsetY, blur, spread,
|
|
11
|
+
* inset. Container puts `boxShadow` under `style`; Image / Button / Logo put
|
|
12
|
+
* it under `props`. Rather than branching this component on where the value
|
|
13
|
+
* lives, callers pass the current value + a single `onChange(next)` that
|
|
14
|
+
* writes it back to whichever slot they use.
|
|
15
|
+
*/
|
|
16
|
+
export default function BoxShadowControls({ value, onChange, }: {
|
|
17
|
+
value: TBoxShadowValue;
|
|
18
|
+
onChange: (next: TBoxShadowValue) => void;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type THoverEffectProps = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
scale?: number | null;
|
|
4
|
+
duration?: number | null;
|
|
5
|
+
easing?: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear' | null;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Reusable "Hover Effect" CollapsibleSection for Image and Container: a plain
|
|
9
|
+
* CSS `:hover` scale/transition, distinct from AnimationSection's trigger-based
|
|
10
|
+
* keyframe animations.
|
|
11
|
+
*/
|
|
12
|
+
export default function HoverEffectSection({ rawHoverEffect, updateProps, cancelParentPadding, }: {
|
|
13
|
+
rawHoverEffect: Partial<THoverEffectProps> | null | undefined;
|
|
14
|
+
updateProps: (patch: Record<string, any>) => void;
|
|
15
|
+
cancelParentPadding?: boolean;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,10 +4,10 @@ export declare const PanelRoot: import('@emotion/styled').StyledComponent<import
|
|
|
4
4
|
export declare const PanelHeader: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
5
5
|
export declare const PanelContent: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
6
6
|
export declare const HeaderBox: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
7
|
-
export declare const HeaderTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "
|
|
7
|
+
export declare const HeaderTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
8
8
|
export declare const ClipboardBar: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<Theme>> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
9
9
|
export declare const ActionSpan: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
10
|
-
export declare const ActionButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "className" | "
|
|
10
|
+
export declare const ActionButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "size" | "disabled" | "action" | "href" | "tabIndex" | "fullWidth" | "loading" | "classes" | "sx" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "disableElevation" | "endIcon" | "loadingPosition" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<Theme>, {}, {}>;
|
|
11
11
|
export declare const connectorVLineSx: (depth: number, isLast: boolean, INDENT: number) => SxProps<Theme>;
|
|
12
12
|
export declare const connectorHLineSx: (depth: number, INDENT: number) => SxProps<Theme>;
|
|
13
13
|
export declare const rowSx: (depth: number, INDENT: number, isSelected: boolean, dropPos: "before" | "after" | "inside" | null) => SxProps<Theme>;
|
|
@@ -1,42 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* where it's stored. Templates can put fields at four different spots:
|
|
4
|
-
*
|
|
5
|
-
* - `configuration.root.data.formFields` — page/document template.
|
|
6
|
-
* - `configuration.formFields` when `configuration.isIndividualBlock` —
|
|
7
|
-
* block template.
|
|
8
|
-
* - `configuration.steps[i].contentMetadata.document.root.data.formFields`
|
|
9
|
-
* / `configuration.slides[i].…` — multi-slot (tour/demo/carousel).
|
|
10
|
-
* - `configuration.step.contentMetadata.document.root.data.formFields` —
|
|
11
|
-
* single-step tooltip.
|
|
12
|
-
* - Legacy `templateRecord.formFields` mirror at the record root.
|
|
13
|
-
*/
|
|
14
|
-
export declare function resolveTemplateFormFields(templateRecord: any): any[];
|
|
15
|
-
/**
|
|
16
|
-
* Unwrap a saved template `configuration` down to the raw
|
|
17
|
-
* `{ root, "block-…" }` document tree the renderer / editor expect.
|
|
18
|
-
*
|
|
19
|
-
* The standalone editor is a **page-only** surface, so this helper only
|
|
20
|
-
* knows the page-shaped envelopes. Ordered by frequency, matches the
|
|
21
|
-
* `PageTypes.Page` branch of ahd-fe's `normalizeTemplateConfiguration`
|
|
22
|
-
* plus the block-template synthesis path:
|
|
23
|
-
*
|
|
24
|
-
* 1. `configuration.root` — flat document tree (legacy / tenant templates,
|
|
25
|
-
* most global page templates the backend serves today).
|
|
26
|
-
* 2. `configuration.isIndividualBlock` block template — no root exists;
|
|
27
|
-
* synthesize a minimal EmailLayout that hosts `configuration.rootBlockId`
|
|
28
|
-
* so the standalone renderer has something to walk. `formFields` on
|
|
29
|
-
* the configuration wrapper are hoisted onto the synthetic root's
|
|
30
|
-
* `data.formFields` so `bakeTemplateValues` finds them via the usual
|
|
31
|
-
* `getTemplateForms(document)` path.
|
|
32
|
-
* 3. `configuration.content.contentMetadata.document` — the page envelope
|
|
33
|
-
* the backend uses for page-derived global templates (CyberSecurity Page).
|
|
34
|
-
* 4. `configuration.contentMetadata.document` — one-off older shape.
|
|
35
|
-
* 5. `record.contentMetadata.document` — bare page-record envelope.
|
|
36
|
-
*
|
|
37
|
-
* Returns `null` when no candidate is available so callers can fall back.
|
|
38
|
-
*/
|
|
39
|
-
export declare function resolveTemplateDocument(templateRecord: any): any | null;
|
|
1
|
+
import { resolveTemplateFormFields, resolveTemplateDocument } from '../../../../render-core/templateEnvelope';
|
|
2
|
+
export { resolveTemplateFormFields, resolveTemplateDocument };
|
|
40
3
|
/**
|
|
41
4
|
* Rewrite container-repeat fields' `sourceBlockId` / `rowIds` through an id
|
|
42
5
|
* remap. Used by individual-block apply: block ids are regenerated so the
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TReaderDocument } from '../../../../email-builder-core/index.ts';
|
|
2
|
-
|
|
2
|
+
import { TDeviceType } from '../../../documents/blocks/helpers/responsiveStyle';
|
|
3
|
+
declare const REFERENCE_WIDTH: number;
|
|
3
4
|
type MiniMapFrameProps = {
|
|
4
5
|
document: TReaderDocument;
|
|
5
6
|
width: number;
|
|
6
7
|
height: number;
|
|
8
|
+
device: TDeviceType;
|
|
7
9
|
onNaturalHeightChange?: (naturalHeight: number) => void;
|
|
8
10
|
};
|
|
9
11
|
/**
|
|
@@ -13,5 +15,5 @@ type MiniMapFrameProps = {
|
|
|
13
15
|
* canvas scroll. `height` here is just an initial placeholder used before the
|
|
14
16
|
* iframe has reported its natural height.
|
|
15
17
|
*/
|
|
16
|
-
export default function MiniMapFrame({ document, width, height, onNaturalHeightChange }: MiniMapFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default function MiniMapFrame({ document, width, height, device, onNaturalHeightChange }: MiniMapFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
17
19
|
export { REFERENCE_WIDTH };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "
|
|
2
|
-
export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "
|
|
1
|
+
export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
2
|
+
export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "top" | "bottom" | "right" | "left" | "padding" | "margin" | "style" | "lineHeight" | "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "textAlign" | "flex" | "display" | "position" | "border" | "p" | "align" | "bgcolor" | "borderTop" | "width" | "px" | "height" | "borderRadius" | "borderColor" | "boxShadow" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "marginX" | "marginY" | "maxWidth" | "maxHeight" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "py" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
3
3
|
export declare const widthUnitSelectSx: {
|
|
4
4
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
5
5
|
border: string;
|
|
@@ -18,4 +18,4 @@ export declare const widthUnitSelectSx: {
|
|
|
18
18
|
paddingBottom: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "className" | "
|
|
21
|
+
export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "color" | "size" | "disabled" | "action" | "tabIndex" | "loading" | "classes" | "sx" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -12,35 +12,35 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
|
12
12
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
13
|
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
14
14
|
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
row: "row";
|
|
16
15
|
column: "column";
|
|
16
|
+
row: "row";
|
|
17
17
|
}>>>;
|
|
18
18
|
directionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
row: "row";
|
|
20
19
|
column: "column";
|
|
20
|
+
row: "row";
|
|
21
21
|
}>>>;
|
|
22
22
|
directionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
row: "row";
|
|
24
23
|
column: "column";
|
|
24
|
+
row: "row";
|
|
25
25
|
}>>>;
|
|
26
26
|
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
27
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
center: "center";
|
|
29
|
+
"space-between": "space-between";
|
|
29
30
|
end: "end";
|
|
30
31
|
start: "start";
|
|
31
|
-
"space-between": "space-between";
|
|
32
32
|
}>>>;
|
|
33
33
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
34
34
|
center: "center";
|
|
35
|
+
"space-between": "space-between";
|
|
35
36
|
end: "end";
|
|
36
37
|
start: "start";
|
|
37
|
-
"space-between": "space-between";
|
|
38
38
|
}>>>;
|
|
39
39
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
40
|
center: "center";
|
|
41
|
+
"space-between": "space-between";
|
|
41
42
|
end: "end";
|
|
42
43
|
start: "start";
|
|
43
|
-
"space-between": "space-between";
|
|
44
44
|
}>>>;
|
|
45
45
|
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
46
46
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts
CHANGED
|
@@ -55,30 +55,30 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
55
55
|
columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
56
56
|
columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
57
57
|
columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
58
|
-
horizontal: "horizontal";
|
|
59
58
|
vertical: "vertical";
|
|
59
|
+
horizontal: "horizontal";
|
|
60
60
|
}>>>;
|
|
61
61
|
columnsDirectionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
horizontal: "horizontal";
|
|
63
62
|
vertical: "vertical";
|
|
63
|
+
horizontal: "horizontal";
|
|
64
64
|
}>>>;
|
|
65
65
|
columnsDirectionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
horizontal: "horizontal";
|
|
67
66
|
vertical: "vertical";
|
|
67
|
+
horizontal: "horizontal";
|
|
68
68
|
}>>>;
|
|
69
69
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
bottom: "bottom";
|
|
71
70
|
top: "top";
|
|
71
|
+
bottom: "bottom";
|
|
72
72
|
middle: "middle";
|
|
73
73
|
}>>>;
|
|
74
74
|
contentAlignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
75
|
-
bottom: "bottom";
|
|
76
75
|
top: "top";
|
|
76
|
+
bottom: "bottom";
|
|
77
77
|
middle: "middle";
|
|
78
78
|
}>>>;
|
|
79
79
|
contentAlignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
bottom: "bottom";
|
|
81
80
|
top: "top";
|
|
81
|
+
bottom: "bottom";
|
|
82
82
|
middle: "middle";
|
|
83
83
|
}>>>;
|
|
84
84
|
}, z.core.$strip>>>;
|
|
@@ -33,6 +33,14 @@ declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
33
33
|
right: z.ZodNumber;
|
|
34
34
|
left: z.ZodNumber;
|
|
35
35
|
}, z.core.$strip>>>;
|
|
36
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
37
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
38
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
39
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
40
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
41
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
42
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
36
44
|
}, z.core.$strip>>>;
|
|
37
45
|
responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
38
46
|
tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -67,24 +75,24 @@ declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
67
75
|
heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
68
76
|
overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
69
77
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
center: "center";
|
|
71
|
-
left: "left";
|
|
72
78
|
right: "right";
|
|
79
|
+
left: "left";
|
|
80
|
+
center: "center";
|
|
73
81
|
}>>>;
|
|
74
82
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
75
|
-
center: "center";
|
|
76
|
-
left: "left";
|
|
77
83
|
right: "right";
|
|
84
|
+
left: "left";
|
|
85
|
+
center: "center";
|
|
78
86
|
}>>>;
|
|
79
87
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
center: "center";
|
|
81
|
-
left: "left";
|
|
82
88
|
right: "right";
|
|
89
|
+
left: "left";
|
|
90
|
+
center: "center";
|
|
83
91
|
}>>>;
|
|
84
92
|
tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
div: "div";
|
|
85
94
|
article: "article";
|
|
86
95
|
aside: "aside";
|
|
87
|
-
div: "div";
|
|
88
96
|
footer: "footer";
|
|
89
97
|
header: "header";
|
|
90
98
|
main: "main";
|
|
@@ -96,9 +104,46 @@ declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
96
104
|
showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
97
105
|
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
98
106
|
linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
99
|
-
_blank: "_blank";
|
|
100
107
|
_self: "_self";
|
|
108
|
+
_blank: "_blank";
|
|
101
109
|
}>>>;
|
|
110
|
+
animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
111
|
+
type: z.ZodEnum<{
|
|
112
|
+
none: "none";
|
|
113
|
+
"fade-in": "fade-in";
|
|
114
|
+
"slide-left": "slide-left";
|
|
115
|
+
"slide-right": "slide-right";
|
|
116
|
+
"slide-up": "slide-up";
|
|
117
|
+
"slide-down": "slide-down";
|
|
118
|
+
"zoom-in": "zoom-in";
|
|
119
|
+
bounce: "bounce";
|
|
120
|
+
}>;
|
|
121
|
+
trigger: z.ZodEnum<{
|
|
122
|
+
load: "load";
|
|
123
|
+
scroll: "scroll";
|
|
124
|
+
hover: "hover";
|
|
125
|
+
click: "click";
|
|
126
|
+
}>;
|
|
127
|
+
speed: z.ZodEnum<{
|
|
128
|
+
slow: "slow";
|
|
129
|
+
medium: "medium";
|
|
130
|
+
fast: "fast";
|
|
131
|
+
}>;
|
|
132
|
+
delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
133
|
+
disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
hoverEffect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
136
|
+
enabled: z.ZodBoolean;
|
|
137
|
+
scale: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
138
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
139
|
+
easing: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
ease: "ease";
|
|
141
|
+
"ease-in": "ease-in";
|
|
142
|
+
"ease-in-out": "ease-in-out";
|
|
143
|
+
"ease-out": "ease-out";
|
|
144
|
+
linear: "linear";
|
|
145
|
+
}>>>;
|
|
146
|
+
}, z.core.$strip>>>;
|
|
102
147
|
}, z.core.$strip>>>;
|
|
103
148
|
}, z.core.$strip>;
|
|
104
149
|
export default ContainerPropsSchema;
|
|
@@ -18,9 +18,9 @@ declare const DemoPropsSchema: z.ZodObject<{
|
|
|
18
18
|
left: z.ZodNumber;
|
|
19
19
|
}, z.core.$strip>>>;
|
|
20
20
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
center: "center";
|
|
22
|
-
left: "left";
|
|
23
21
|
right: "right";
|
|
22
|
+
left: "left";
|
|
23
|
+
center: "center";
|
|
24
24
|
}>>>;
|
|
25
25
|
}, z.core.$strip>>>;
|
|
26
26
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -165,11 +165,11 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>>>;
|
|
166
166
|
behaviour: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
167
167
|
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
168
|
-
|
|
168
|
+
top: "top";
|
|
169
169
|
bottom: "bottom";
|
|
170
|
-
left: "left";
|
|
171
170
|
right: "right";
|
|
172
|
-
|
|
171
|
+
left: "left";
|
|
172
|
+
center: "center";
|
|
173
173
|
"top-left": "top-left";
|
|
174
174
|
"top-right": "top-right";
|
|
175
175
|
"bottom-right": "bottom-right";
|
|
@@ -10,9 +10,9 @@ declare const FormsPropsSchema: z.ZodObject<{
|
|
|
10
10
|
heightTablet: z.ZodOptional<z.ZodString>;
|
|
11
11
|
heightMobile: z.ZodOptional<z.ZodString>;
|
|
12
12
|
alignment: z.ZodDefault<z.ZodEnum<{
|
|
13
|
-
center: "center";
|
|
14
|
-
left: "left";
|
|
15
13
|
right: "right";
|
|
14
|
+
left: "left";
|
|
15
|
+
center: "center";
|
|
16
16
|
}>>;
|
|
17
17
|
}, z.core.$strip>>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
@@ -39,14 +39,14 @@ declare const GridPropsSchema: z.ZodObject<{
|
|
|
39
39
|
columnsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
40
40
|
columnsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
41
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
bottom: "bottom";
|
|
43
42
|
top: "top";
|
|
43
|
+
bottom: "bottom";
|
|
44
44
|
middle: "middle";
|
|
45
45
|
}>>>;
|
|
46
46
|
horizontalAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
center: "center";
|
|
48
|
-
left: "left";
|
|
49
47
|
right: "right";
|
|
48
|
+
left: "left";
|
|
49
|
+
center: "center";
|
|
50
50
|
}>>>;
|
|
51
51
|
repeatableEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
52
52
|
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -31,8 +31,8 @@ declare const MarqueePropsSchema: z.ZodObject<{
|
|
|
31
31
|
}, z.core.$strip>>>;
|
|
32
32
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
33
33
|
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
34
|
-
left: "left";
|
|
35
34
|
right: "right";
|
|
35
|
+
left: "left";
|
|
36
36
|
up: "up";
|
|
37
37
|
down: "down";
|
|
38
38
|
}>>>;
|
|
@@ -41,8 +41,8 @@ declare const MarqueePropsSchema: z.ZodObject<{
|
|
|
41
41
|
repeat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
42
42
|
fadeEdges: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
43
43
|
verticalAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
44
|
-
bottom: "bottom";
|
|
45
44
|
top: "top";
|
|
45
|
+
bottom: "bottom";
|
|
46
46
|
middle: "middle";
|
|
47
47
|
}>>>;
|
|
48
48
|
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|