pagepilot-visual-editor 1.0.2
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 +64 -0
- package/LICENSE +21 -0
- package/README.md +553 -0
- package/dist/PagePilotEditor.d.ts +17 -0
- package/dist/blocks-internal/block-button/src/NudegeIcons.d.ts +18 -0
- package/dist/blocks-internal/block-button/src/icons.d.ts +5 -0
- package/dist/blocks-internal/block-button/src/index.d.ts +145 -0
- package/dist/blocks-internal/block-button-group/src/index.d.ts +35 -0
- package/dist/blocks-internal/block-columns-container/src/index.d.ts +38 -0
- package/dist/blocks-internal/block-container/src/index.d.ts +72 -0
- package/dist/blocks-internal/block-divider/src/index.d.ts +23 -0
- package/dist/blocks-internal/block-grid/src/index.d.ts +32 -0
- package/dist/blocks-internal/block-heading/src/index.d.ts +99 -0
- package/dist/blocks-internal/block-html/src/index.d.ts +56 -0
- package/dist/blocks-internal/block-iframe/src/index.d.ts +26 -0
- package/dist/blocks-internal/block-image/src/index.d.ts +68 -0
- package/dist/blocks-internal/block-logo/src/index.d.ts +64 -0
- package/dist/blocks-internal/block-stepper/src/index.d.ts +52 -0
- package/dist/blocks-internal/block-text/src/EmailMarkdown.d.ts +8 -0
- package/dist/blocks-internal/block-text/src/index.d.ts +70 -0
- package/dist/blocks-internal/block-video/src/index.d.ts +46 -0
- package/dist/blocks-internal/block-youtube-url/src/index.d.ts +32 -0
- package/dist/editor/Shell.d.ts +6 -0
- package/dist/editor/StatusPill.d.ts +3 -0
- package/dist/editor/Topbar.d.ts +27 -0
- package/dist/editor/blockToggles.d.ts +12 -0
- package/dist/editor/theme.d.ts +10 -0
- package/dist/editor/types.d.ts +128 -0
- package/dist/editor-sample/App/InspectorDrawer/BehaviourPanel.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/BlockStyleClipboardBar.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/blockStyleClipboard.d.ts +83 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/index.d.ts +5 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccessibilityToolsSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccordionSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonGroupSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CalendlySidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CarouselSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumns/ColumnSection.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumnsSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/GridSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/IframeSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/LogoSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MarqueeSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PagePilotLayoutSidebarPanel.d.ts +24 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.styled.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/RatingSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SkipLinkSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/StepperSidebarPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TabsBlockSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/VideoSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/CollapsibleSection.d.ts +13 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/ContrastWarning.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/MediaLibraryButton.d.ts +17 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/SectionWrapper.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/contrast.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/CodeEditor.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +28 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +11 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontStyleInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/NumberInput.d.ts +22 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadiusInput.d.ts +20 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SwitchInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDecorationInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +24 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInputWithSelect.d.ts +12 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +13 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/EditorBehavior.d.ts +21 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanel.d.ts +2 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +27 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/BlocksPanel.d.ts +3 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/icons/index.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/index.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/StylesPanel.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/hooks/useScalarFieldInput.d.ts +23 -0
- package/dist/editor-sample/App/InspectorDrawer/icons/index.d.ts +53 -0
- package/dist/editor-sample/App/InspectorDrawer/index.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/layerClipboard.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +35 -0
- package/dist/editor-sample/App/SelectionOverlay/index.d.ts +0 -0
- package/dist/editor-sample/App/TemplatePanel/HtmlPanel.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/JsonPanel.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +7 -0
- package/dist/editor-sample/App/TemplatePanel/helper/highlighters.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/index.d.ts +3 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/useDragSelection.d.ts +23 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/useMainBoxStyles.d.ts +12 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/usePanelPositioning.d.ts +25 -0
- package/dist/editor-sample/App/TemplatePanel/index.d.ts +17 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/AhdMarkerLayer.d.ts +19 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/elementBounds.d.ts +24 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/iframeSrcDoc.d.ts +6 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/useAhdMarkers.d.ts +28 -0
- package/dist/editor-sample/App/TemplatePanel/types.d.ts +36 -0
- package/dist/editor-sample/App/TemplatePanel/utils/index.d.ts +1 -0
- package/dist/editor-sample/App/TemplatePanel/utils/positioningUtils.d.ts +16 -0
- package/dist/editor-sample/App/hooks/constants.d.ts +10 -0
- package/dist/editor-sample/App/hooks/page/menuHrefBaselines.d.ts +10 -0
- package/dist/editor-sample/App/hooks/page/saveMenuHrefEdits.d.ts +1 -0
- package/dist/editor-sample/App/hooks/page/useSaveHandler.d.ts +21 -0
- package/dist/editor-sample/App/hooks/useGetPageType.d.ts +3 -0
- package/dist/editor-sample/App/hooks/usePreviewScreen.d.ts +8 -0
- package/dist/editor-sample/App/shared/AddSectionDialog.d.ts +12 -0
- package/dist/editor-sample/App/shared/PagePreviewFrame.d.ts +16 -0
- package/dist/editor-sample/App/shared/PreviewDialog.d.ts +15 -0
- package/dist/editor-sample/App/shared/SectionsDropdown.d.ts +10 -0
- package/dist/editor-sample/App/shared/editor.styles.d.ts +21 -0
- package/dist/editor-sample/App/shared/multipleSections.styled.d.ts +18 -0
- package/dist/editor-sample/App/shared/pageSections.d.ts +28 -0
- package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Accordion/AccordionEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +41 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
- package/dist/editor-sample/documents/blocks/Carousel/CarouselEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +49 -0
- package/dist/editor-sample/documents/blocks/Container/ContainerEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +52 -0
- package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Grid/GridEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +48 -0
- package/dist/editor-sample/documents/blocks/Marquee/MarqueeEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +37 -0
- package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutEditor.d.ts +2 -0
- package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +151 -0
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
- package/dist/editor-sample/documents/blocks/Rating/RatingEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +31 -0
- package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockInsertAboveContext.d.ts +2 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +10 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/ScopePickerMenu.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/brandButtonDefaults.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineEditableText.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/FullscreenOverlay.d.ts +20 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/constants.d.ts +22 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/ImageDialog.d.ts +20 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/LinkDialog.d.ts +23 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/VideoDialog.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dom.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/focusGuard.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/format.d.ts +19 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useCodeView.d.ts +35 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatPainter.d.ts +18 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatState.d.ts +11 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFullscreen.d.ts +24 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarCommands.d.ts +66 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarDrag.d.ts +21 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarPosition.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/index.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/inlineEditChrome.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ColorSwatchPopover.d.ts +21 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ImagePopover.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/OverflowMenu.d.ts +13 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/TableGridPicker.d.ts +10 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Divider.d.ts +8 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Dropdown.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/HoverButton.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/IconBtn.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MenuItem.d.ts +32 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MicIcon.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/NoteIcon.d.ts +15 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/selection.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/styles.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/types.d.ts +36 -0
- package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/TemplateTokenOverlay.d.ts +44 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +8 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +18 -0
- package/dist/editor-sample/documents/blocks/helpers/blockVisibility.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +126 -0
- package/dist/editor-sample/documents/blocks/helpers/fontFamily.d.ts +33 -0
- package/dist/editor-sample/documents/blocks/helpers/fontWeight.d.ts +13 -0
- package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +48 -0
- package/dist/editor-sample/documents/editor/EditorBlock.d.ts +13 -0
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +347 -0
- package/dist/editor-sample/documents/editor/EditorVariantContext.d.ts +4 -0
- package/dist/editor-sample/documents/editor/LazyEditorBlock.d.ts +26 -0
- package/dist/editor-sample/documents/editor/core.d.ts +1212 -0
- package/dist/editor-sample/documents/editor/prefillDefaultValues.d.ts +12 -0
- package/dist/editor-sample/documents/editor/templateVariables.d.ts +50 -0
- package/dist/editor-sample/getConfiguration/index.d.ts +1 -0
- package/dist/editor-sample/getConfiguration/sample/empty-email-message.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/one-time-passcode.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/order-ecommerce.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/post-metrics-report.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/reservation-reminder.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/reset-password.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/respond-to-message.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/subscription-receipt.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/welcome.d.ts +3 -0
- package/dist/editor-sample/utils/editorKvStore.d.ts +5 -0
- package/dist/email-builder-core/Reader/ReaderBlockShim.d.ts +10 -0
- package/dist/email-builder-core/Reader/core.d.ts +35 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +79 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/icons.d.ts +4 -0
- package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +35 -0
- package/dist/email-builder-core/blocks/Accordion/AccordionReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +24 -0
- package/dist/email-builder-core/blocks/Calendly/CalendlyReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
- package/dist/email-builder-core/blocks/Carousel/CarouselReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +53 -0
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +52 -0
- package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +44 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsReader.d.ts +2 -0
- package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +10 -0
- package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +48 -0
- package/dist/email-builder-core/blocks/Grid/GridReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +36 -0
- package/dist/email-builder-core/blocks/Marquee/MarqueeReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +103 -0
- package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +30 -0
- package/dist/email-builder-core/blocks/Rating/RatingReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +42 -0
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +15 -0
- package/dist/email-builder-core/helpers/fontFamily.d.ts +33 -0
- package/dist/email-builder-core/helpers/fontWeight.d.ts +13 -0
- package/dist/email-builder-core/helpers/screen.d.ts +13 -0
- package/dist/email-builder-core/helpers/templateVariables.d.ts +14 -0
- package/dist/email-builder-core/index.d.ts +3 -0
- package/dist/email-builder-core/renderers/accessibilityTools.d.ts +35 -0
- package/dist/email-builder-core/renderers/pageScripts.d.ts +7 -0
- package/dist/email-builder-core/renderers/renderDynamicCss.d.ts +1 -0
- package/dist/email-builder-core/renderers/renderToStaticMarkup.d.ts +41 -0
- package/dist/host-stubs/_passthrough.d.ts +2 -0
- package/dist/host-stubs/i18n.d.ts +8 -0
- package/dist/host-stubs/style/menu.styled.d.ts +15 -0
- package/dist/host-stubs/style/styled.d.ts +34 -0
- package/dist/host-stubs/theme/theme.d.ts +2 -0
- package/dist/host-stubs/view/images/Icons.d.ts +649 -0
- package/dist/host-stubs/view/media/MediaGalleryDialog.d.ts +2 -0
- package/dist/host-stubs/view/shared/message.d.ts +11 -0
- package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +11 -0
- package/dist/index.cjs +1630 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +168332 -0
- package/dist/style.css +1 -0
- package/package.json +115 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageTypes } from '../hooks/constants';
|
|
3
|
+
declare const PreviewDialog: ({ previewDialogOpen, setPreviewDialogOpen, previewUrl, previewHtml, pageType, onIntegrate, onBackToDashboard, record, }: {
|
|
4
|
+
previewDialogOpen: boolean;
|
|
5
|
+
setPreviewDialogOpen: (open: boolean) => void;
|
|
6
|
+
previewUrl: string | null;
|
|
7
|
+
/** Inline HTML — rendered via iframe `srcDoc`, used when there's no backend
|
|
8
|
+
* preview URL (e.g. the standalone @pagepilot/visual-editor package). */
|
|
9
|
+
previewHtml?: string | null;
|
|
10
|
+
pageType?: PageTypes | string;
|
|
11
|
+
onIntegrate?: () => void;
|
|
12
|
+
onBackToDashboard?: () => void;
|
|
13
|
+
record?: any;
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
|
+
export default PreviewDialog;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PageSection } from './pageSections';
|
|
2
|
+
type Props = {
|
|
3
|
+
sections: PageSection[];
|
|
4
|
+
activeSectionIndex: number;
|
|
5
|
+
onSelectSection: (index: number) => void;
|
|
6
|
+
onDeleteSection: (index: number) => void;
|
|
7
|
+
onEditSection: (index: number) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const SectionsDropdown: ({ sections, activeSectionIndex, onSelectSection, onDeleteSection, onEditSection, }: Props) => import("react").JSX.Element;
|
|
10
|
+
export default SectionsDropdown;
|
|
@@ -0,0 +1,21 @@
|
|
|
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" | "fontSize" | "fontFamily" | "fontWeight" | "textAlign" | "padding" | "style" | "borderRadius" | "borderColor" | "width" | "borderTop" | "border" | "flex" | "children" | "className" | "color" | "position" | "lineHeight" | "fontStyle" | "p" | "align" | "bgcolor" | "height" | "display" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "maxWidth" | "maxHeight" | "margin" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "typography" | "displayPrint" | "classes" | "sx" | "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" | "fontSize" | "fontFamily" | "fontWeight" | "textAlign" | "padding" | "style" | "borderRadius" | "borderColor" | "width" | "borderTop" | "border" | "flex" | "children" | "className" | "color" | "position" | "lineHeight" | "fontStyle" | "p" | "align" | "bgcolor" | "height" | "display" | "overflow" | "marginBottom" | "gap" | "paddingX" | "paddingY" | "maxWidth" | "maxHeight" | "margin" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "typography" | "displayPrint" | "classes" | "sx" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
3
|
+
export declare const widthUnitSelectSx: {
|
|
4
|
+
'& .MuiOutlinedInput-notchedOutline': {
|
|
5
|
+
border: string;
|
|
6
|
+
};
|
|
7
|
+
'&:hover .MuiOutlinedInput-notchedOutline': {
|
|
8
|
+
border: string;
|
|
9
|
+
};
|
|
10
|
+
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
11
|
+
border: string;
|
|
12
|
+
};
|
|
13
|
+
'&.Mui-focused': {
|
|
14
|
+
boxShadow: string;
|
|
15
|
+
};
|
|
16
|
+
'& .MuiSelect-select': {
|
|
17
|
+
paddingTop: string;
|
|
18
|
+
paddingBottom: string;
|
|
19
|
+
};
|
|
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>, "style" | "size" | "action" | "children" | "className" | "color" | "disabled" | "tabIndex" | "loading" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "edge"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
export declare const addSectionDialogStyles: (theme: Theme) => {
|
|
3
|
+
paper: SxProps<Theme>;
|
|
4
|
+
title: SxProps<Theme>;
|
|
5
|
+
actions: SxProps<Theme>;
|
|
6
|
+
button: SxProps<Theme>;
|
|
7
|
+
};
|
|
8
|
+
export declare const getAddSectionFieldSx: (theme: Theme) => SxProps<Theme>;
|
|
9
|
+
export declare const getAddSectionLabelSx: (theme: Theme) => SxProps<Theme>;
|
|
10
|
+
export declare const addSectionExternalNoteSx: SxProps<Theme>;
|
|
11
|
+
export declare const sectionsTriggerSx: SxProps<Theme>;
|
|
12
|
+
export declare const sectionsTriggerLabelSx: SxProps<Theme>;
|
|
13
|
+
export declare const sectionsMenuPaperSx: SxProps<Theme>;
|
|
14
|
+
export declare const sectionsMenuItemSx: SxProps<Theme>;
|
|
15
|
+
export declare const sectionsExternalChipSx: SxProps<Theme>;
|
|
16
|
+
export declare const sectionsDeleteBtnSx: SxProps<Theme>;
|
|
17
|
+
export declare const sectionsConfirmPopoverPaperSx: SxProps<Theme>;
|
|
18
|
+
export declare const sectionsConfirmActionBtnSx: SxProps<Theme>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TEditorConfiguration } from '../../documents/editor/core';
|
|
2
|
+
export type PageSectionType = 'internal' | 'external';
|
|
3
|
+
export type PageSection = {
|
|
4
|
+
_id?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
identifier?: string;
|
|
7
|
+
sectionType?: PageSectionType;
|
|
8
|
+
content?: string;
|
|
9
|
+
contentMetadata?: {
|
|
10
|
+
document?: TEditorConfiguration | any;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
/** Draft submitted from AddSectionDialog — identifier is auto-generated. */
|
|
16
|
+
export type SectionDraft = {
|
|
17
|
+
title: string;
|
|
18
|
+
sectionType: PageSectionType;
|
|
19
|
+
};
|
|
20
|
+
export declare const isExternalSection: (section: Partial<PageSection> | undefined) => boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new section from a user draft.
|
|
23
|
+
* Only `sectionType` and `identifier` are new fields vs the default section.
|
|
24
|
+
* Identifier is auto-generated as `${sectionType}-${Date.now()}`.
|
|
25
|
+
*/
|
|
26
|
+
export declare const createPageSectionFromDraft: (draft: SectionDraft, defaultDocument: TEditorConfiguration) => PageSection;
|
|
27
|
+
/** Writes the live editor document back into the active section before switching or saving. */
|
|
28
|
+
export declare const mergeCurrentDocumentIntoSections: (sections: PageSection[], activeSectionIndex: number, document: TEditorConfiguration) => PageSection[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AccessibilityToolsProps } from '../../../../email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema';
|
|
3
|
+
export default function AccessibilityToolsEditor({ style, props }: AccessibilityToolsProps): React.JSX.Element;
|
package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AccessibilityToolsPropsSchema as default, type AccessibilityToolsProps, AccessibilityToolsDefaults, } from '../../../../email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const AccordionItemSchema: z.ZodObject<{
|
|
3
|
+
titleChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
4
|
+
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
declare const AccordionPropsSchema: z.ZodObject<{
|
|
7
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
|
+
top: z.ZodNumber;
|
|
12
|
+
right: z.ZodNumber;
|
|
13
|
+
bottom: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
|
|
17
|
+
topLeft: z.ZodNumber;
|
|
18
|
+
topRight: z.ZodNumber;
|
|
19
|
+
bottomRight: z.ZodNumber;
|
|
20
|
+
bottomLeft: z.ZodNumber;
|
|
21
|
+
}, z.core.$strip>]>>>;
|
|
22
|
+
marginBottom: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
|
+
top: z.ZodNumber;
|
|
25
|
+
bottom: z.ZodNumber;
|
|
26
|
+
right: z.ZodNumber;
|
|
27
|
+
left: z.ZodNumber;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
}, z.core.$strip>>>;
|
|
30
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
titleChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
33
|
+
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
34
|
+
}, z.core.$strip>>>>;
|
|
35
|
+
iconColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
iconSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type AccordionProps = z.infer<typeof AccordionPropsSchema>;
|
|
40
|
+
export type AccordionItem = z.infer<typeof AccordionItemSchema>;
|
|
41
|
+
export default AccordionPropsSchema;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
5
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
top: z.ZodNumber;
|
|
7
|
+
bottom: z.ZodNumber;
|
|
8
|
+
right: z.ZodNumber;
|
|
9
|
+
left: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
|
+
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
column: "column";
|
|
16
|
+
row: "row";
|
|
17
|
+
}>>>;
|
|
18
|
+
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
center: "center";
|
|
21
|
+
end: "end";
|
|
22
|
+
start: "start";
|
|
23
|
+
"space-between": "space-between";
|
|
24
|
+
}>>>;
|
|
25
|
+
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
26
|
+
fullWidthOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
+
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export type ButtonGroupEditorProps = z.infer<typeof ButtonGroupPropsSchema>;
|
|
31
|
+
export default ButtonGroupPropsSchema;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const CarouselSlideSchema: z.ZodObject<{
|
|
3
|
+
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
declare const CarouselPropsSchema: z.ZodObject<{
|
|
6
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
|
|
10
|
+
topLeft: z.ZodNumber;
|
|
11
|
+
topRight: z.ZodNumber;
|
|
12
|
+
bottomRight: z.ZodNumber;
|
|
13
|
+
bottomLeft: z.ZodNumber;
|
|
14
|
+
}, z.core.$strip>]>>>;
|
|
15
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
16
|
+
top: z.ZodNumber;
|
|
17
|
+
bottom: z.ZodNumber;
|
|
18
|
+
right: z.ZodNumber;
|
|
19
|
+
left: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
slideGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
arrowColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
arrowBgColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
arrowBorderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
arrowSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
+
dotColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
dotActiveColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
dotSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
29
|
+
}, z.core.$strip>>>;
|
|
30
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
slidesPerView: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
slidesPerViewTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
33
|
+
slidesPerViewMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
34
|
+
showArrows: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
35
|
+
showDots: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
36
|
+
autoplay: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
autoplayInterval: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
38
|
+
loop: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
39
|
+
transitionMs: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
|
+
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
42
|
+
}, z.core.$strip>>>>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export type CarouselProps = z.infer<typeof CarouselPropsSchema>;
|
|
46
|
+
export type CarouselSlide = z.infer<typeof CarouselSlideSchema>;
|
|
47
|
+
export default CarouselPropsSchema;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5
|
+
topLeft: z.ZodNumber;
|
|
6
|
+
topRight: z.ZodNumber;
|
|
7
|
+
bottomRight: z.ZodNumber;
|
|
8
|
+
bottomLeft: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>]>>>;
|
|
10
|
+
borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12
|
+
top: z.ZodNumber;
|
|
13
|
+
right: z.ZodNumber;
|
|
14
|
+
bottom: z.ZodNumber;
|
|
15
|
+
left: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
18
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
top: z.ZodNumber;
|
|
20
|
+
bottom: z.ZodNumber;
|
|
21
|
+
right: z.ZodNumber;
|
|
22
|
+
left: z.ZodNumber;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>>;
|
|
25
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
27
|
+
childrenIds: z.ZodArray<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
fill: "fill";
|
|
31
|
+
fixed: "fixed";
|
|
32
|
+
fit: "fit";
|
|
33
|
+
}>>>;
|
|
34
|
+
fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>], null>>>;
|
|
35
|
+
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
36
|
+
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
+
columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
horizontal: "horizontal";
|
|
39
|
+
vertical: "vertical";
|
|
40
|
+
}>>>;
|
|
41
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
top: "top";
|
|
43
|
+
bottom: "bottom";
|
|
44
|
+
middle: "middle";
|
|
45
|
+
}>>>;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export type ColumnsContainerProps = z.infer<typeof ColumnsContainerPropsSchema>;
|
|
49
|
+
export default ColumnsContainerPropsSchema;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const ContainerPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
5
|
+
backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
backgroundSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
borderColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
8
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
9
|
+
topLeft: z.ZodNumber;
|
|
10
|
+
topRight: z.ZodNumber;
|
|
11
|
+
bottomRight: z.ZodNumber;
|
|
12
|
+
bottomLeft: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>]>>>;
|
|
14
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
top: z.ZodNumber;
|
|
16
|
+
bottom: z.ZodNumber;
|
|
17
|
+
right: z.ZodNumber;
|
|
18
|
+
left: z.ZodNumber;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
21
|
+
top: z.ZodNumber;
|
|
22
|
+
bottom: z.ZodNumber;
|
|
23
|
+
right: z.ZodNumber;
|
|
24
|
+
left: z.ZodNumber;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
27
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
28
|
+
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
29
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
fill: "fill";
|
|
31
|
+
fixed: "fixed";
|
|
32
|
+
fit: "fit";
|
|
33
|
+
}>>>;
|
|
34
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
35
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
div: "div";
|
|
39
|
+
article: "article";
|
|
40
|
+
aside: "aside";
|
|
41
|
+
footer: "footer";
|
|
42
|
+
header: "header";
|
|
43
|
+
main: "main";
|
|
44
|
+
nav: "nav";
|
|
45
|
+
section: "section";
|
|
46
|
+
}>>>;
|
|
47
|
+
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
elementId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export default ContainerPropsSchema;
|
|
52
|
+
export type ContainerProps = z.infer<typeof ContainerPropsSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type FlexColumnsProps, } from '../../../../email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const GridPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
top: z.ZodNumber;
|
|
7
|
+
right: z.ZodNumber;
|
|
8
|
+
bottom: z.ZodNumber;
|
|
9
|
+
left: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
12
|
+
topLeft: z.ZodNumber;
|
|
13
|
+
topRight: z.ZodNumber;
|
|
14
|
+
bottomRight: z.ZodNumber;
|
|
15
|
+
bottomLeft: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>]>>>;
|
|
17
|
+
borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
top: z.ZodNumber;
|
|
20
|
+
right: z.ZodNumber;
|
|
21
|
+
bottom: z.ZodNumber;
|
|
22
|
+
left: z.ZodNumber;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>>;
|
|
25
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
27
|
+
childrenIds: z.ZodArray<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
top: "top";
|
|
31
|
+
bottom: "bottom";
|
|
32
|
+
middle: "middle";
|
|
33
|
+
}>>>;
|
|
34
|
+
horizontalAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
right: "right";
|
|
36
|
+
left: "left";
|
|
37
|
+
center: "center";
|
|
38
|
+
}>>>;
|
|
39
|
+
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
columnsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
41
|
+
columnsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
42
|
+
rowsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
43
|
+
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
44
|
+
rowsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export type GridEditorProps = z.infer<typeof GridPropsSchema>;
|
|
48
|
+
export default GridPropsSchema;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const MarqueePropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
borderColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
|
|
7
|
+
topLeft: z.ZodNumber;
|
|
8
|
+
topRight: z.ZodNumber;
|
|
9
|
+
bottomRight: z.ZodNumber;
|
|
10
|
+
bottomLeft: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>]>>>;
|
|
12
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
|
+
top: z.ZodNumber;
|
|
14
|
+
bottom: z.ZodNumber;
|
|
15
|
+
right: z.ZodNumber;
|
|
16
|
+
left: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
itemGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
21
|
+
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
right: "right";
|
|
23
|
+
left: "left";
|
|
24
|
+
up: "up";
|
|
25
|
+
down: "down";
|
|
26
|
+
}>>>;
|
|
27
|
+
speed: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
28
|
+
pauseOnHover: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
29
|
+
repeat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
30
|
+
fadeEdges: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
33
|
+
}, z.core.$strip>>>>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export type MarqueeProps = z.infer<typeof MarqueePropsSchema>;
|
|
37
|
+
export default MarqueePropsSchema;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const PagePilotLayoutPropsSchema: z.ZodObject<{
|
|
3
|
+
lang: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4
|
+
skipLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
+
paddingX: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11
|
+
paddingY: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
12
|
+
position: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
"top-left": "top-left";
|
|
14
|
+
"top-center": "top-center";
|
|
15
|
+
"top-right": "top-right";
|
|
16
|
+
}>>>;
|
|
17
|
+
displayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
"focus-only": "focus-only";
|
|
19
|
+
"always-visible": "always-visible";
|
|
20
|
+
}>>>;
|
|
21
|
+
}, z.core.$strip>>>;
|
|
22
|
+
accessibilityTools: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
23
|
+
enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
24
|
+
position: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
"top-left": "top-left";
|
|
26
|
+
"top-right": "top-right";
|
|
27
|
+
"bottom-right": "bottom-right";
|
|
28
|
+
"bottom-left": "bottom-left";
|
|
29
|
+
}>>>;
|
|
30
|
+
features: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
contrast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
32
|
+
invert: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
33
|
+
saturation: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
34
|
+
highlightLinks: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
35
|
+
textSize: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
36
|
+
textSpacing: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
38
|
+
hideImages: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
39
|
+
bigCursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
40
|
+
reset: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
formFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
value: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>>>>;
|
|
49
|
+
maxWidth: z.ZodDefault<z.ZodString>;
|
|
50
|
+
maxHeight: z.ZodDefault<z.ZodString>;
|
|
51
|
+
backdropColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
52
|
+
borderColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
53
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
54
|
+
topLeft: z.ZodNumber;
|
|
55
|
+
topRight: z.ZodNumber;
|
|
56
|
+
bottomRight: z.ZodNumber;
|
|
57
|
+
bottomLeft: z.ZodNumber;
|
|
58
|
+
}, z.core.$strip>]>>>;
|
|
59
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
60
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
61
|
+
top: z.ZodNumber;
|
|
62
|
+
bottom: z.ZodNumber;
|
|
63
|
+
right: z.ZodNumber;
|
|
64
|
+
left: z.ZodNumber;
|
|
65
|
+
}, z.core.$strip>>>;
|
|
66
|
+
canvasColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
67
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
68
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
69
|
+
MODERN_SANS: "MODERN_SANS";
|
|
70
|
+
BOOK_SANS: "BOOK_SANS";
|
|
71
|
+
ORGANIC_SANS: "ORGANIC_SANS";
|
|
72
|
+
GEOMETRIC_SANS: "GEOMETRIC_SANS";
|
|
73
|
+
HEAVY_SANS: "HEAVY_SANS";
|
|
74
|
+
ROUNDED_SANS: "ROUNDED_SANS";
|
|
75
|
+
MODERN_SERIF: "MODERN_SERIF";
|
|
76
|
+
BOOK_SERIF: "BOOK_SERIF";
|
|
77
|
+
MONOSPACE: "MONOSPACE";
|
|
78
|
+
ROBOTO: "ROBOTO";
|
|
79
|
+
OPEN_SANS: "OPEN_SANS";
|
|
80
|
+
LATO: "LATO";
|
|
81
|
+
POPPINS: "POPPINS";
|
|
82
|
+
INTER: "INTER";
|
|
83
|
+
MONTSERRAT: "MONTSERRAT";
|
|
84
|
+
RALEWAY: "RALEWAY";
|
|
85
|
+
NUNITO: "NUNITO";
|
|
86
|
+
PLAYFAIR_DISPLAY: "PLAYFAIR_DISPLAY";
|
|
87
|
+
MERRIWEATHER: "MERRIWEATHER";
|
|
88
|
+
PT_SANS: "PT_SANS";
|
|
89
|
+
OSWALD: "OSWALD";
|
|
90
|
+
SOURCE_SANS_PRO: "SOURCE_SANS_PRO";
|
|
91
|
+
RUBIK: "RUBIK";
|
|
92
|
+
WORK_SANS: "WORK_SANS";
|
|
93
|
+
NOTO_SANS: "NOTO_SANS";
|
|
94
|
+
DANCING_SCRIPT: "DANCING_SCRIPT";
|
|
95
|
+
PACIFICO: "PACIFICO";
|
|
96
|
+
LOBSTER: "LOBSTER";
|
|
97
|
+
BEBAS_NEUE: "BEBAS_NEUE";
|
|
98
|
+
}>>>;
|
|
99
|
+
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
100
|
+
top: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
101
|
+
left: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
102
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
103
|
+
top: z.ZodNumber;
|
|
104
|
+
bottom: z.ZodNumber;
|
|
105
|
+
right: z.ZodNumber;
|
|
106
|
+
left: z.ZodNumber;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
109
|
+
color: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
110
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
111
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
112
|
+
blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
113
|
+
spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
114
|
+
inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
115
|
+
}, z.core.$strip>>>;
|
|
116
|
+
backgroundImage: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
117
|
+
canvasWidth: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
118
|
+
canvasHeight: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
119
|
+
behaviour: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
120
|
+
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
top: "top";
|
|
122
|
+
bottom: "bottom";
|
|
123
|
+
right: "right";
|
|
124
|
+
left: "left";
|
|
125
|
+
center: "center";
|
|
126
|
+
"top-left": "top-left";
|
|
127
|
+
"top-right": "top-right";
|
|
128
|
+
"bottom-right": "bottom-right";
|
|
129
|
+
"bottom-left": "bottom-left";
|
|
130
|
+
}>>>;
|
|
131
|
+
isCaret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
132
|
+
selector: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
}, z.core.$loose>>>;
|
|
134
|
+
linkHref: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
135
|
+
showCtaBtn: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
136
|
+
ctaButtonBgColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
137
|
+
ctaButtonText: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
138
|
+
ctaButtonTextColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
139
|
+
ctaNavigationLink: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
140
|
+
ctaButtonPosition: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
center: "center";
|
|
142
|
+
"top-left": "top-left";
|
|
143
|
+
"top-center": "top-center";
|
|
144
|
+
"top-right": "top-right";
|
|
145
|
+
"bottom-right": "bottom-right";
|
|
146
|
+
"bottom-left": "bottom-left";
|
|
147
|
+
"bottom-center": "bottom-center";
|
|
148
|
+
}>>>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
export default PagePilotLayoutPropsSchema;
|
|
151
|
+
export type PagePilotLayoutProps = z.infer<typeof PagePilotLayoutPropsSchema>;
|