@groovymedia/easy-email-extensions 4.14.1-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/lib/AttributePanel/AttributePanel.d.ts +3 -0
- package/lib/AttributePanel/components/UI/Help/index.d.ts +7 -0
- package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +5 -0
- package/lib/AttributePanel/components/adapter/Json.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/color.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/image-height.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/index.d.ts +5 -0
- package/lib/AttributePanel/components/adapter/pixel.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/slider.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/attributes/Align.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +7 -0
- package/lib/AttributePanel/components/attributes/Background.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Border.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/BorderColor.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +5 -0
- package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/ClassName.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/CollapseWrapper/index.d.ts +6 -0
- package/lib/AttributePanel/components/attributes/Color.d.ts +4 -0
- package/lib/AttributePanel/components/attributes/Condition.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Decoration.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/Direction.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/FontFamily.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/FontSize.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/FontStyle.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/FontWeight.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Height.d.ts +5 -0
- package/lib/AttributePanel/components/attributes/Iteration.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/LineHeight.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Link.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/Margin.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/MergeTags.d.ts +6 -0
- package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Padding.d.ts +7 -0
- package/lib/AttributePanel/components/attributes/TextAlign.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/TextTransform.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +3 -0
- package/lib/AttributePanel/components/attributes/Width.d.ts +7 -0
- package/lib/AttributePanel/components/attributes/index.d.ts +32 -0
- package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Button/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Column/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Divider/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Group/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Hero/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Image/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Page/index.d.ts +6 -0
- package/lib/AttributePanel/components/blocks/Raw/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Section/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Social/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Table/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Text/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +1 -0
- package/lib/AttributePanel/components/blocks/index.d.ts +56 -0
- package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +8 -0
- package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +8 -0
- package/lib/AttributePanel/components/provider/index.d.ts +2 -0
- package/lib/AttributePanel/hooks/useSelectionRange.d.ts +7 -0
- package/lib/AttributePanel/index.d.ts +5 -0
- package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +11 -0
- package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +2 -0
- package/lib/AttributePanel/utils/PromiseEach.d.ts +1 -0
- package/lib/AttributePanel/utils/Uploader.d.ts +35 -0
- package/lib/AttributePanel/utils/awaitForElement.d.ts +4 -0
- package/lib/AttributePanel/utils/classnames.d.ts +1 -0
- package/lib/AttributePanel/utils/getImg.d.ts +8 -0
- package/lib/AttributePanel/utils/onDrag.d.ts +10 -0
- package/lib/AttributePanel/utils/previewLoadImage.d.ts +1 -0
- package/lib/BlockLayer/components/BlockTree/index.d.ts +51 -0
- package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +1 -0
- package/lib/BlockLayer/components/ContextMenu/index.d.ts +14 -0
- package/lib/BlockLayer/components/EyeIcon/index.d.ts +7 -0
- package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +24 -0
- package/lib/BlockLayer/index.d.ts +13 -0
- package/lib/ConfigurationPanel/index.d.ts +9 -0
- package/lib/EditPanel/Blocks/index.d.ts +1 -0
- package/lib/EditPanel/ConfigurationDrawer/index.d.ts +7 -0
- package/lib/EditPanel/index.d.ts +5 -0
- package/lib/InteractivePrompt/components/FocusTooltip.d.ts +1 -0
- package/lib/InteractivePrompt/components/HoverTooltip.d.ts +1 -0
- package/lib/InteractivePrompt/components/Toolbar.d.ts +1 -0
- package/lib/InteractivePrompt/index.d.ts +1 -0
- package/lib/InteractivePrompt/utils/awaitForElement.d.ts +4 -0
- package/lib/MergeTagBadgePrompt/index.d.ts +1 -0
- package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +7 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +4 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +1 -0
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +18 -0
- package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +7 -0
- package/lib/ShortcutToolbar/components/Picture/index.d.ts +7 -0
- package/lib/ShortcutToolbar/index.d.ts +4 -0
- package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +32 -0
- package/lib/ShortcutToolbar/utils/getImg.d.ts +68 -0
- package/lib/SimpleLayout/SimpleLayout.d.ts +9 -0
- package/lib/SimpleLayout/index.d.ts +1 -0
- package/lib/SourceCodePanel/index.d.ts +4 -0
- package/lib/StandardLayout/StandardLayout.d.ts +3 -0
- package/lib/StandardLayout/index.d.ts +1 -0
- package/lib/components/AddToCollection/index.d.ts +5 -0
- package/lib/components/Form/AddFont.d.ts +1 -0
- package/lib/components/Form/AutoComplete.d.ts +12 -0
- package/lib/components/Form/CheckBoxGroup.d.ts +14 -0
- package/lib/components/Form/CodemirrorEditor/index.d.ts +8 -0
- package/lib/components/Form/ColorPicker/ColorPickerContent.d.ts +5 -0
- package/lib/components/Form/ColorPicker/index.d.ts +11 -0
- package/lib/components/Form/ColorPicker2.d.ts +10 -0
- package/lib/components/Form/ColorPickerField/index.d.ts +5 -0
- package/lib/components/Form/EditGridTab.d.ts +10 -0
- package/lib/components/Form/EditTab.d.ts +10 -0
- package/lib/components/Form/ImageUploader/index.d.ts +13 -0
- package/lib/components/Form/InlineTextField/index.d.ts +7 -0
- package/lib/components/Form/Input.d.ts +7 -0
- package/lib/components/Form/InputWithUnit.d.ts +11 -0
- package/lib/components/Form/RadioGroup.d.ts +13 -0
- package/lib/components/Form/RichTextField/index.d.ts +2 -0
- package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +3 -0
- package/lib/components/Form/RichTextToolBar/components/BasicTools.d.ts +1 -0
- package/lib/components/Form/RichTextToolBar/components/Bold/index.d.ts +6 -0
- package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +5 -0
- package/lib/components/Form/RichTextToolBar/components/FontSize/index.d.ts +5 -0
- package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +3 -0
- package/lib/components/Form/RichTextToolBar/components/Italic/index.d.ts +6 -0
- package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +12 -0
- package/lib/components/Form/RichTextToolBar/components/MergeTags/index.d.ts +5 -0
- package/lib/components/Form/RichTextToolBar/components/StrikeThrough/index.d.ts +6 -0
- package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +9 -0
- package/lib/components/Form/RichTextToolBar/components/Tools/IconBgColor/index.d.ts +5 -0
- package/lib/components/Form/RichTextToolBar/components/Tools/IconFontColor/index.d.ts +5 -0
- package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +4 -0
- package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +1 -0
- package/lib/components/Form/RichTextToolBar/components/Underline/index.d.ts +6 -0
- package/lib/components/Form/RichTextToolBar/components/Unlink/index.d.ts +12 -0
- package/lib/components/Form/RichTextToolBar/index.d.ts +1 -0
- package/lib/components/Form/Select.d.ts +11 -0
- package/lib/components/Form/UploadField.d.ts +8 -0
- package/lib/components/Form/enhancer.d.ts +25 -0
- package/lib/components/Form/index.d.ts +34 -0
- package/lib/components/FullHeightOverlayScrollbars/index.d.ts +6 -0
- package/lib/components/Providers/ExtensionProvider.d.ts +42 -0
- package/lib/components/RenderCount/index.d.ts +1 -0
- package/lib/components/ShadowDom/index.d.ts +2 -0
- package/lib/constants.d.ts +1 -0
- package/lib/hooks/useAddToCollection.d.ts +6 -0
- package/lib/hooks/useFontFamily.d.ts +6 -0
- package/lib/index.d.ts +17 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/index2.js +46382 -0
- package/lib/index2.js.map +1 -0
- package/lib/index3.js +11646 -0
- package/lib/index3.js.map +1 -0
- package/lib/style.css +12 -0
- package/lib/typings/mjml-browser.d.ts +37 -0
- package/lib/utils/MjmlToJson.d.ts +5 -0
- package/lib/utils/awaitForElement.d.ts +4 -0
- package/lib/utils/classnames.d.ts +1 -0
- package/lib/utils/getBlockTitle.d.ts +2 -0
- package/lib/utils/getContextMergeTags.d.ts +7 -0
- package/lib/utils/getIconNameByBlockType.d.ts +1 -0
- package/lib/utils/getPreviewClassName.d.ts +1 -0
- package/lib/utils/parseXMLtoBlock.d.ts +2 -0
- package/package.json +109 -0
- package/readme.md +349 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PopoverProps } from '@arco-design/web-react';
|
|
2
|
+
export interface LinkParams {
|
|
3
|
+
link: string;
|
|
4
|
+
blank: boolean;
|
|
5
|
+
underline: boolean;
|
|
6
|
+
linkNode: HTMLAnchorElement | null;
|
|
7
|
+
}
|
|
8
|
+
export interface LinkProps extends PopoverProps {
|
|
9
|
+
currentRange: Range | null | undefined;
|
|
10
|
+
onChange: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function Unlink(props: LinkProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RichTextToolBar } from './RichTextToolBar';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SelectProps as ArcoSelectProps } from '@arco-design/web-react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface SelectProps extends ArcoSelectProps {
|
|
4
|
+
options: Array<{
|
|
5
|
+
value: string;
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
onChange?: (val: string) => void;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function Select(props: SelectProps): JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseFieldConfig } from 'react-final-form';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { FormItemProps } from '@arco-design/web-react';
|
|
4
|
+
export interface EnhancerProps {
|
|
5
|
+
name: string;
|
|
6
|
+
onChangeAdapter?: (value: any) => any;
|
|
7
|
+
validate?: (value: any) => string | undefined | Promise<string | undefined>;
|
|
8
|
+
config?: UseFieldConfig<any, any>;
|
|
9
|
+
changeOnBlur?: boolean;
|
|
10
|
+
formItem?: FormItemProps;
|
|
11
|
+
label?: FormItemProps['label'];
|
|
12
|
+
inline?: boolean;
|
|
13
|
+
equalSpacing?: boolean;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
autoComplete?: 'on' | 'off';
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
helpText?: React.ReactNode;
|
|
18
|
+
debounceTime?: number;
|
|
19
|
+
labelHidden?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export default function enhancer<P extends {
|
|
22
|
+
onChange?: (...rest: any) => any;
|
|
23
|
+
}>(Component: React.FC<any>, changeAdapter: (args: Parameters<NonNullable<P['onChange']>>) => any, option?: {
|
|
24
|
+
debounceTime: number;
|
|
25
|
+
}): (props: EnhancerProps & Omit<P, 'value' | 'onChange' | 'mutators'>) => JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SliderProps, InputNumberProps, SwitchProps, TextAreaProps, CheckboxGroupProps, TreeSelectProps } from '@arco-design/web-react';
|
|
2
|
+
import { ImageUploaderProps } from './ImageUploader';
|
|
3
|
+
import { UploadFieldProps } from './UploadField';
|
|
4
|
+
import { SelectProps } from './Select';
|
|
5
|
+
import { RadioGroupProps } from './RadioGroup';
|
|
6
|
+
import enhancer from './enhancer';
|
|
7
|
+
import { InputProps } from './Input';
|
|
8
|
+
import { InputWithUnitProps } from './InputWithUnit';
|
|
9
|
+
import { EditTabProps } from './EditTab';
|
|
10
|
+
import { EditGridTabProps } from './EditGridTab';
|
|
11
|
+
import { InlineTextProps } from './InlineTextField';
|
|
12
|
+
import { AutoCompleteProps } from './AutoComplete';
|
|
13
|
+
import { InputSearchProps } from '@arco-design/web-react/es/Input';
|
|
14
|
+
import { ColorPickerField } from './ColorPickerField';
|
|
15
|
+
export { RichTextField } from './RichTextField';
|
|
16
|
+
export declare const TextField: (props: import("./enhancer").EnhancerProps & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
17
|
+
export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps & Omit<InputWithUnitProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
18
|
+
export declare const SearchField: (props: import("./enhancer").EnhancerProps & Omit<InputSearchProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
19
|
+
export declare const TextAreaField: (props: import("./enhancer").EnhancerProps & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
20
|
+
export declare const NumberField: (props: import("./enhancer").EnhancerProps & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
21
|
+
export declare const SliderField: (props: import("./enhancer").EnhancerProps & Omit<SliderProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
22
|
+
export declare const UploadField: (props: import("./enhancer").EnhancerProps & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
23
|
+
export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
24
|
+
export declare const SelectField: (props: import("./enhancer").EnhancerProps & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
25
|
+
export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps & Omit<TreeSelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
26
|
+
export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
27
|
+
export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
28
|
+
export declare const SwitchField: (props: import("./enhancer").EnhancerProps & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
29
|
+
export declare const CheckboxField: (props: import("./enhancer").EnhancerProps & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
30
|
+
export declare const EditTabField: (props: import("./enhancer").EnhancerProps & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
31
|
+
export declare const EditGridTabField: (props: import("./enhancer").EnhancerProps & Omit<EditGridTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
32
|
+
export declare const InlineTextField: (props: import("./enhancer").EnhancerProps & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
|
33
|
+
export { ColorPickerField };
|
|
34
|
+
export { enhancer };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BlockLayerProps } from '../../BlockLayer';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ExtensionProps extends BlockLayerProps {
|
|
4
|
+
children?: React.ReactNode | React.ReactElement;
|
|
5
|
+
categories: Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
blocks: Array<{
|
|
9
|
+
type: string;
|
|
10
|
+
payload?: any;
|
|
11
|
+
title?: string | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
displayType?: 'grid';
|
|
14
|
+
} | {
|
|
15
|
+
label: string;
|
|
16
|
+
active?: boolean;
|
|
17
|
+
blocks: Array<{
|
|
18
|
+
payload?: any;
|
|
19
|
+
title?: string | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
displayType: 'column';
|
|
22
|
+
} | {
|
|
23
|
+
label: string;
|
|
24
|
+
active?: boolean;
|
|
25
|
+
blocks: Array<{
|
|
26
|
+
payload?: any;
|
|
27
|
+
}>;
|
|
28
|
+
displayType: 'widget';
|
|
29
|
+
} | {
|
|
30
|
+
label: string;
|
|
31
|
+
active?: boolean;
|
|
32
|
+
blocks: Array<React.ReactNode>;
|
|
33
|
+
displayType: 'custom';
|
|
34
|
+
}>;
|
|
35
|
+
showSourceCode?: boolean;
|
|
36
|
+
jsonReadOnly?: boolean;
|
|
37
|
+
mjmlReadOnly?: boolean;
|
|
38
|
+
compact?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare const ExtensionContext: React.Context<ExtensionProps>;
|
|
41
|
+
export declare const ExtensionProvider: React.FC<ExtensionProps>;
|
|
42
|
+
export declare function useExtensionProps(): ExtensionProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function RenderCount(): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RICH_TEXT_TOOL_BAR = "Tools";
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './index.scss';
|
|
2
|
+
export * from './BlockLayer';
|
|
3
|
+
export * from './AttributePanel';
|
|
4
|
+
export * from './ShortcutToolbar';
|
|
5
|
+
export * from './SourceCodePanel';
|
|
6
|
+
export * from './InteractivePrompt';
|
|
7
|
+
export * from './SimpleLayout';
|
|
8
|
+
export * from './StandardLayout';
|
|
9
|
+
export * from './MergeTagBadgePrompt';
|
|
10
|
+
export * from './components/Providers/ExtensionProvider';
|
|
11
|
+
export * from './constants';
|
|
12
|
+
export * from './components/Form';
|
|
13
|
+
export * from './components/ShadowDom';
|
|
14
|
+
export { getContextMergeTags } from './utils/getContextMergeTags';
|
|
15
|
+
export { getIconNameByBlockType } from './utils/getIconNameByBlockType';
|
|
16
|
+
export { getBlockTitle } from './utils/getBlockTitle';
|
|
17
|
+
export { MjmlToJson } from './utils/MjmlToJson';
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, ab as AutoCompleteField, l as Background, o as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, K as BlockMarketManager, O as BlockMaskWrapper, r as Border, t as BorderColor, w as BorderStyle, y as BorderWidth, ae as CheckboxField, G as ClassName, h as CollapseWrapper, C as Color, ai as ColorPickerField, i as Condition, j as ContainerBackgroundColor, D as Decoration, P as DefaultPageConfigPanel, p as Direction, ag as EditGridTabField, af as EditTabField, Z as ExtensionContext, _ as ExtensionProvider, F as FontFamily, u as FontSize, x as FontStyle, z as FontWeight, H as Height, a8 as ImageUploaderField, ah as InlineTextField, a2 as InputWithUnitField, R as InteractivePrompt, L as LetterSpacing, m as LineHeight, q as Link, s as Margin, Y as MergeTagBadgePrompt, v as MergeTags, M as MjmlToJson, N as NavbarLinkPadding, a5 as NumberField, E as Padding, I as PresetColorsProvider, a0 as RICH_TEXT_TOOL_BAR, ac as RadioGroupField, ak as RichTextField, a3 as SearchField, a9 as SelectField, S as SelectionRangeProvider, al as ShadowDom, J as ShortcutToolbar, U as SimpleLayout, a6 as SliderField, Q as SourceCodePanel, X as StandardLayout, ad as SwitchField, T as TextAlign, a4 as TextAreaField, k as TextDecoration, a1 as TextField, n as TextTransform, aa as TreeSelectField, a7 as UploadField, V as VerticalAlign, W as Width, aj as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, $ as useExtensionProps } from "./index2.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "easy-email-editor";
|
|
4
|
+
import "easy-email-core";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "react-final-form";
|
|
7
|
+
import "mjml-browser";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|