easy-email-extensions 3.1.10 → 3.1.13

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.
Files changed (147) hide show
  1. package/package.json +2 -2
  2. package/readme.md +138 -138
  3. package/lib/AttributePanel/AttributePanel.d.ts +0 -3
  4. package/lib/AttributePanel/components/UI/Help/index.d.ts +0 -7
  5. package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +0 -5
  6. package/lib/AttributePanel/components/attributes/Align.d.ts +0 -3
  7. package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +0 -6
  8. package/lib/AttributePanel/components/attributes/Background.d.ts +0 -1
  9. package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +0 -3
  10. package/lib/AttributePanel/components/attributes/Border.d.ts +0 -1
  11. package/lib/AttributePanel/components/attributes/BorderColor.d.ts +0 -1
  12. package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +0 -5
  13. package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +0 -1
  14. package/lib/AttributePanel/components/attributes/Color.d.ts +0 -4
  15. package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +0 -3
  16. package/lib/AttributePanel/components/attributes/Decoration.d.ts +0 -1
  17. package/lib/AttributePanel/components/attributes/Direction.d.ts +0 -1
  18. package/lib/AttributePanel/components/attributes/FontFamily.d.ts +0 -1
  19. package/lib/AttributePanel/components/attributes/FontSize.d.ts +0 -1
  20. package/lib/AttributePanel/components/attributes/FontStyle.d.ts +0 -1
  21. package/lib/AttributePanel/components/attributes/FontWeight.d.ts +0 -1
  22. package/lib/AttributePanel/components/attributes/Height.d.ts +0 -3
  23. package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +0 -1
  24. package/lib/AttributePanel/components/attributes/LineHeight.d.ts +0 -1
  25. package/lib/AttributePanel/components/attributes/Link.d.ts +0 -1
  26. package/lib/AttributePanel/components/attributes/Margin.d.ts +0 -1
  27. package/lib/AttributePanel/components/attributes/MergeTags.d.ts +0 -6
  28. package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +0 -3
  29. package/lib/AttributePanel/components/attributes/Padding.d.ts +0 -5
  30. package/lib/AttributePanel/components/attributes/TextAlign.d.ts +0 -1
  31. package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +0 -1
  32. package/lib/AttributePanel/components/attributes/TextTransform.d.ts +0 -1
  33. package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +0 -3
  34. package/lib/AttributePanel/components/attributes/Width.d.ts +0 -5
  35. package/lib/AttributePanel/components/attributes/index.d.ts +0 -29
  36. package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +0 -1
  37. package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +0 -1
  38. package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +0 -1
  39. package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +0 -1
  40. package/lib/AttributePanel/components/blocks/Button/index.d.ts +0 -1
  41. package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +0 -1
  42. package/lib/AttributePanel/components/blocks/Column/index.d.ts +0 -1
  43. package/lib/AttributePanel/components/blocks/Divider/index.d.ts +0 -1
  44. package/lib/AttributePanel/components/blocks/Group/index.d.ts +0 -1
  45. package/lib/AttributePanel/components/blocks/Hero/index.d.ts +0 -1
  46. package/lib/AttributePanel/components/blocks/Image/index.d.ts +0 -1
  47. package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +0 -1
  48. package/lib/AttributePanel/components/blocks/Page/index.d.ts +0 -1
  49. package/lib/AttributePanel/components/blocks/Raw/index.d.ts +0 -1
  50. package/lib/AttributePanel/components/blocks/Section/index.d.ts +0 -1
  51. package/lib/AttributePanel/components/blocks/Social/index.d.ts +0 -1
  52. package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +0 -1
  53. package/lib/AttributePanel/components/blocks/Table/index.d.ts +0 -1
  54. package/lib/AttributePanel/components/blocks/Text/index.d.ts +0 -1
  55. package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +0 -1
  56. package/lib/AttributePanel/components/blocks/index.d.ts +0 -42
  57. package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +0 -6
  58. package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +0 -6
  59. package/lib/AttributePanel/hooks/useSelectionRange.d.ts +0 -6
  60. package/lib/AttributePanel/index.d.ts +0 -3
  61. package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +0 -10
  62. package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +0 -2
  63. package/lib/AttributePanel/utils/PromiseEach.d.ts +0 -1
  64. package/lib/AttributePanel/utils/Uploader.d.ts +0 -35
  65. package/lib/AttributePanel/utils/awaitForElement.d.ts +0 -4
  66. package/lib/AttributePanel/utils/classnames.d.ts +0 -1
  67. package/lib/AttributePanel/utils/getIconNameByBlockType.d.ts +0 -1
  68. package/lib/AttributePanel/utils/getImg.d.ts +0 -8
  69. package/lib/AttributePanel/utils/onDrag.d.ts +0 -10
  70. package/lib/AttributePanel/utils/previewLoadImage.d.ts +0 -1
  71. package/lib/BlockLayer/components/BlockTree/index.d.ts +0 -51
  72. package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +0 -1
  73. package/lib/BlockLayer/components/ContextMenu/index.d.ts +0 -14
  74. package/lib/BlockLayer/components/EyeIcon/index.d.ts +0 -7
  75. package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +0 -24
  76. package/lib/BlockLayer/index.d.ts +0 -10
  77. package/lib/InteractivePrompt/components/FocusTooltip.d.ts +0 -1
  78. package/lib/InteractivePrompt/components/HoverTooltip.d.ts +0 -1
  79. package/lib/InteractivePrompt/components/Toolbar.d.ts +0 -5
  80. package/lib/InteractivePrompt/index.d.ts +0 -1
  81. package/lib/InteractivePrompt/utils/awaitForElement.d.ts +0 -4
  82. package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +0 -1
  83. package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +0 -6
  84. package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +0 -2
  85. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +0 -1
  86. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +0 -1
  87. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +0 -1
  88. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +0 -1
  89. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +0 -1
  90. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +0 -1
  91. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +0 -1
  92. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +0 -1
  93. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +0 -1
  94. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +0 -1
  95. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +0 -1
  96. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +0 -1
  97. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +0 -1
  98. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +0 -1
  99. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +0 -1
  100. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +0 -18
  101. package/lib/ShortcutToolbar/components/Picture/index.d.ts +0 -7
  102. package/lib/ShortcutToolbar/index.d.ts +0 -4
  103. package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +0 -32
  104. package/lib/ShortcutToolbar/utils/getImg.d.ts +0 -68
  105. package/lib/SimpleLayout/SimpleLayout.d.ts +0 -2
  106. package/lib/SimpleLayout/index.d.ts +0 -1
  107. package/lib/SourceCodePanel/index.d.ts +0 -1
  108. package/lib/components/AddToCollection/index.d.ts +0 -5
  109. package/lib/components/Form/AddFont.d.ts +0 -1
  110. package/lib/components/Form/AutoComplete.d.ts +0 -11
  111. package/lib/components/Form/CheckBoxGroup.d.ts +0 -14
  112. package/lib/components/Form/CodemirrorEditor/index.d.ts +0 -8
  113. package/lib/components/Form/ColorPicker.d.ts +0 -10
  114. package/lib/components/Form/EditTab.d.ts +0 -10
  115. package/lib/components/Form/ImageUploader/index.d.ts +0 -8
  116. package/lib/components/Form/InlineTextField/index.d.ts +0 -7
  117. package/lib/components/Form/Input.d.ts +0 -7
  118. package/lib/components/Form/InputWithUnit.d.ts +0 -10
  119. package/lib/components/Form/RadioGroup.d.ts +0 -13
  120. package/lib/components/Form/RichTextField/index.d.ts +0 -2
  121. package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +0 -3
  122. package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +0 -3
  123. package/lib/components/Form/RichTextToolBar/components/FontSizeList/index.d.ts +0 -3
  124. package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +0 -3
  125. package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +0 -12
  126. package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +0 -7
  127. package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +0 -5
  128. package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +0 -1
  129. package/lib/components/Form/RichTextToolBar/index.d.ts +0 -1
  130. package/lib/components/Form/Select.d.ts +0 -11
  131. package/lib/components/Form/UploadField.d.ts +0 -8
  132. package/lib/components/Form/enhancer.d.ts +0 -20
  133. package/lib/components/Form/index.d.ts +0 -32
  134. package/lib/components/RenderCount/index.d.ts +0 -1
  135. package/lib/components/ShadowDom/index.d.ts +0 -2
  136. package/lib/hooks/useAddToCollection.d.ts +0 -6
  137. package/lib/index.d.ts +0 -9
  138. package/lib/index.js +0 -7
  139. package/lib/index.js.map +0 -1
  140. package/lib/index2.js +0 -45220
  141. package/lib/index2.js.map +0 -1
  142. package/lib/index3.js +0 -11645
  143. package/lib/index3.js.map +0 -1
  144. package/lib/style.css +0 -1
  145. package/lib/utils/awaitForElement.d.ts +0 -4
  146. package/lib/utils/classnames.d.ts +0 -1
  147. package/lib/utils/getContextMergeTags.d.ts +0 -7
@@ -1,20 +0,0 @@
1
- import { StackProps } from 'easy-email-editor';
2
- import { FieldProps } from 'react-final-form';
3
- import React from 'react';
4
- import { InputProps } from './Input';
5
- export interface EnhancerProps<T> extends Partial<FieldProps<T, any>> {
6
- name: string;
7
- label: React.ReactNode | null;
8
- labelHidden?: boolean;
9
- alignment?: StackProps['alignment'];
10
- distribution?: StackProps['distribution'];
11
- helpText?: React.ReactNode;
12
- inline?: boolean;
13
- required?: boolean;
14
- valueAdapter?: (value: any) => any;
15
- onChangeAdapter?: (value: any) => any;
16
- validate?: (value: any) => string | undefined | Promise<string | undefined>;
17
- wrapper?: boolean;
18
- size?: InputProps['size'];
19
- }
20
- export default function enhancer<P, C extends (...rest: any[]) => any = any>(Component: any, changeAdapter: C): (props: EnhancerProps<P> & Omit<P, 'value' | 'onChange' | 'mutators'>) => JSX.Element;
@@ -1,32 +0,0 @@
1
- import { SliderProps, InputNumberProps, SwitchProps, DatePickerProps, TextAreaProps, CheckboxGroupProps, TreeSelectProps } from '@arco-design/web-react';
2
- import { ImageUploaderProps } from './ImageUploader';
3
- import { UploadFieldProps } from './UploadField';
4
- import { ColorPickerProps } from './ColorPicker';
5
- import { SelectProps } from './Select';
6
- import { RadioGroupProps } from './RadioGroup';
7
- import enhancer from './enhancer';
8
- import { InputProps } from './Input';
9
- import { InputWithUnitProps } from './InputWithUnit';
10
- import { EditTabProps } from './EditTab';
11
- import { InlineTextProps } from './InlineTextField';
12
- import { AutoCompleteProps } from './AutoComplete';
13
- export { RichTextField } from './RichTextField';
14
- export declare const TextField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
15
- export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps<InputWithUnitProps> & Omit<InputWithUnitProps, "value" | "onChange" | "mutators">) => JSX.Element;
16
- export declare const SearchField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
17
- export declare const TextAreaField: (props: import("./enhancer").EnhancerProps<TextAreaProps> & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
18
- export declare const NumberField: (props: import("./enhancer").EnhancerProps<InputNumberProps> & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
19
- export declare const SliderField: (props: import("./enhancer").EnhancerProps<SliderProps> & Omit<SliderProps, "value" | "onChange" | "mutators">) => JSX.Element;
20
- export declare const ColorPickerField: (props: import("./enhancer").EnhancerProps<ColorPickerProps> & Omit<ColorPickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
21
- export declare const UploadField: (props: import("./enhancer").EnhancerProps<UploadFieldProps> & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
22
- export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps<ImageUploaderProps> & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
23
- export declare const SelectField: (props: import("./enhancer").EnhancerProps<SelectProps> & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
24
- export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps<TreeSelectProps> & Omit<TreeSelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
25
- export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps<AutoCompleteProps> & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
26
- export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps<RadioGroupProps> & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
27
- export declare const SwitchField: (props: import("./enhancer").EnhancerProps<SwitchProps> & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
28
- export declare const DatePickerField: (props: import("./enhancer").EnhancerProps<DatePickerProps> & Omit<DatePickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
29
- export declare const CheckboxField: (props: import("./enhancer").EnhancerProps<CheckboxGroupProps<any>> & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
30
- export declare const EditTabField: (props: import("./enhancer").EnhancerProps<EditTabProps<any>> & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
31
- export declare const InlineTextField: (props: import("./enhancer").EnhancerProps<InlineTextProps> & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
32
- export { enhancer };
@@ -1 +0,0 @@
1
- export declare function RenderCount(): JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ShadowDom: React.FC<React.HTMLProps<HTMLElement>>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export declare function useAddToCollection(): {
3
- modal: JSX.Element;
4
- modalVisible: boolean;
5
- setModalVisible: React.Dispatch<React.SetStateAction<boolean>>;
6
- };
package/lib/index.d.ts DELETED
@@ -1,9 +0,0 @@
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 './components/Form';
9
- export { getContextMergeTags } from './utils/getContextMergeTags';
package/lib/index.js DELETED
@@ -1,7 +0,0 @@
1
- export { b as Align, A as AttributePanel, d as AttributesPanelWrapper, Z as AutoCompleteField, h as Background, k as BackgroundColor, a as BlockAttributeConfigurationManager, B as BlockLayer, v as BlockMarketManager, w as BlockMaskWrapper, n as Border, o as BorderColor, r as BorderStyle, t as BorderWidth, a1 as CheckboxField, C as Color, Q as ColorPickerField, e as ContainerBackgroundColor, a0 as DatePickerField, D as Decoration, l as Direction, a2 as EditTabField, F as FontFamily, p as FontSize, s as FontStyle, u as FontWeight, H as Height, R as ImageUploaderField, a3 as InlineTextField, E as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, i as LineHeight, m as Link, M as Margin, q as MergeTags, N as NavbarLinkPadding, K as NumberField, P as Padding, _ as RadioGroupField, a5 as RichTextField, G as SearchField, X as SelectField, S as ShortcutToolbar, y as SimpleLayout, O as SliderField, x as SourceCodePanel, $ as SwitchField, T as TextAlign, J as TextAreaField, f as TextDecoration, z as TextField, j as TextTransform, Y as TreeSelectField, U as UploadField, V as VerticalAlign, W as Width, a4 as enhancer, g as getContextMergeTags } 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
- //# sourceMappingURL=index.js.map
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}