easy-email-extensions 3.2.0 → 3.2.1-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. package/lib/AttributePanel/AttributePanel.d.ts +3 -3
  2. package/lib/AttributePanel/components/UI/Help/index.d.ts +7 -7
  3. package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +5 -5
  4. package/lib/AttributePanel/components/attributes/Align.d.ts +3 -3
  5. package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +6 -6
  6. package/lib/AttributePanel/components/attributes/Background.d.ts +1 -1
  7. package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +3 -3
  8. package/lib/AttributePanel/components/attributes/Border.d.ts +1 -1
  9. package/lib/AttributePanel/components/attributes/BorderColor.d.ts +1 -1
  10. package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +5 -5
  11. package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +1 -1
  12. package/lib/AttributePanel/components/attributes/ClassName.d.ts +1 -1
  13. package/lib/AttributePanel/components/attributes/CollapseWrapper/index.d.ts +5 -0
  14. package/lib/AttributePanel/components/attributes/Color.d.ts +4 -4
  15. package/lib/AttributePanel/components/attributes/Condition.d.ts +1 -0
  16. package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +3 -3
  17. package/lib/AttributePanel/components/attributes/Decoration.d.ts +1 -1
  18. package/lib/AttributePanel/components/attributes/Direction.d.ts +1 -1
  19. package/lib/AttributePanel/components/attributes/FontFamily.d.ts +1 -1
  20. package/lib/AttributePanel/components/attributes/FontSize.d.ts +1 -1
  21. package/lib/AttributePanel/components/attributes/FontStyle.d.ts +1 -1
  22. package/lib/AttributePanel/components/attributes/FontWeight.d.ts +1 -1
  23. package/lib/AttributePanel/components/attributes/Height.d.ts +3 -3
  24. package/lib/AttributePanel/components/attributes/Iteration.d.ts +1 -0
  25. package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +1 -1
  26. package/lib/AttributePanel/components/attributes/LineHeight.d.ts +1 -1
  27. package/lib/AttributePanel/components/attributes/Link.d.ts +1 -1
  28. package/lib/AttributePanel/components/attributes/Margin.d.ts +1 -1
  29. package/lib/AttributePanel/components/attributes/MergeTags.d.ts +6 -6
  30. package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +3 -3
  31. package/lib/AttributePanel/components/attributes/Padding.d.ts +5 -5
  32. package/lib/AttributePanel/components/attributes/TextAlign.d.ts +1 -1
  33. package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +1 -1
  34. package/lib/AttributePanel/components/attributes/TextTransform.d.ts +1 -1
  35. package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +3 -3
  36. package/lib/AttributePanel/components/attributes/Width.d.ts +5 -5
  37. package/lib/AttributePanel/components/attributes/index.d.ts +29 -29
  38. package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +1 -1
  39. package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +1 -1
  40. package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +1 -1
  41. package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +1 -1
  42. package/lib/AttributePanel/components/blocks/Button/index.d.ts +1 -1
  43. package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +1 -1
  44. package/lib/AttributePanel/components/blocks/Column/index.d.ts +1 -1
  45. package/lib/AttributePanel/components/blocks/Divider/index.d.ts +1 -1
  46. package/lib/AttributePanel/components/blocks/Group/index.d.ts +1 -1
  47. package/lib/AttributePanel/components/blocks/Hero/index.d.ts +1 -1
  48. package/lib/AttributePanel/components/blocks/Image/index.d.ts +1 -1
  49. package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +1 -1
  50. package/lib/AttributePanel/components/blocks/Page/index.d.ts +1 -1
  51. package/lib/AttributePanel/components/blocks/Raw/index.d.ts +1 -1
  52. package/lib/AttributePanel/components/blocks/Section/index.d.ts +1 -1
  53. package/lib/AttributePanel/components/blocks/Social/index.d.ts +1 -1
  54. package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +1 -1
  55. package/lib/AttributePanel/components/blocks/Table/index.d.ts +1 -1
  56. package/lib/AttributePanel/components/blocks/Text/index.d.ts +1 -1
  57. package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +1 -1
  58. package/lib/AttributePanel/components/blocks/index.d.ts +55 -42
  59. package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +6 -6
  60. package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +6 -6
  61. package/lib/AttributePanel/hooks/useSelectionRange.d.ts +7 -6
  62. package/lib/AttributePanel/index.d.ts +3 -3
  63. package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +10 -10
  64. package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +2 -2
  65. package/lib/AttributePanel/utils/PromiseEach.d.ts +1 -1
  66. package/lib/AttributePanel/utils/Uploader.d.ts +35 -35
  67. package/lib/AttributePanel/utils/awaitForElement.d.ts +4 -4
  68. package/lib/AttributePanel/utils/classnames.d.ts +1 -1
  69. package/lib/AttributePanel/utils/getImg.d.ts +8 -8
  70. package/lib/AttributePanel/utils/onDrag.d.ts +10 -10
  71. package/lib/AttributePanel/utils/previewLoadImage.d.ts +1 -1
  72. package/lib/BlockLayer/components/BlockTree/index.d.ts +51 -51
  73. package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +1 -1
  74. package/lib/BlockLayer/components/ContextMenu/index.d.ts +14 -14
  75. package/lib/BlockLayer/components/EyeIcon/index.d.ts +7 -7
  76. package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +24 -24
  77. package/lib/BlockLayer/index.d.ts +13 -13
  78. package/lib/InteractivePrompt/components/FocusTooltip.d.ts +1 -1
  79. package/lib/InteractivePrompt/components/HoverTooltip.d.ts +1 -1
  80. package/lib/InteractivePrompt/components/Toolbar.d.ts +1 -1
  81. package/lib/InteractivePrompt/index.d.ts +1 -1
  82. package/lib/InteractivePrompt/utils/awaitForElement.d.ts +4 -4
  83. package/lib/MergeTagBadge/index.d.ts +1 -0
  84. package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +1 -1
  85. package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +6 -6
  86. package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +2 -2
  87. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +1 -1
  88. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +1 -1
  89. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +1 -1
  90. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +1 -1
  91. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +1 -1
  92. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +1 -1
  93. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +1 -1
  94. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +1 -1
  95. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +1 -1
  96. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +1 -1
  97. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +1 -1
  98. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +1 -1
  99. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +1 -1
  100. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +1 -1
  101. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +1 -1
  102. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +18 -18
  103. package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +6 -0
  104. package/lib/ShortcutToolbar/components/Picture/index.d.ts +7 -7
  105. package/lib/ShortcutToolbar/index.d.ts +4 -4
  106. package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +32 -32
  107. package/lib/ShortcutToolbar/utils/getImg.d.ts +68 -68
  108. package/lib/SimpleLayout/SimpleLayout.d.ts +5 -5
  109. package/lib/SimpleLayout/index.d.ts +1 -1
  110. package/lib/SourceCodePanel/index.d.ts +1 -1
  111. package/lib/components/AddToCollection/index.d.ts +5 -5
  112. package/lib/components/Form/AddFont.d.ts +1 -1
  113. package/lib/components/Form/AutoComplete.d.ts +11 -11
  114. package/lib/components/Form/CheckBoxGroup.d.ts +14 -14
  115. package/lib/components/Form/CodemirrorEditor/index.d.ts +8 -8
  116. package/lib/components/Form/ColorPicker.d.ts +10 -10
  117. package/lib/components/Form/EditTab.d.ts +10 -10
  118. package/lib/components/Form/ImageUploader/index.d.ts +8 -8
  119. package/lib/components/Form/InlineTextField/index.d.ts +7 -7
  120. package/lib/components/Form/Input.d.ts +7 -7
  121. package/lib/components/Form/InputWithUnit.d.ts +10 -10
  122. package/lib/components/Form/RadioGroup.d.ts +13 -13
  123. package/lib/components/Form/RichTextField/index.d.ts +2 -2
  124. package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +3 -3
  125. package/lib/components/Form/RichTextToolBar/components/BasicTools.d.ts +1 -0
  126. package/lib/components/Form/RichTextToolBar/components/Bold/index.d.ts +6 -0
  127. package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +5 -3
  128. package/lib/components/Form/RichTextToolBar/components/FontSize/index.d.ts +5 -0
  129. package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +3 -3
  130. package/lib/components/Form/RichTextToolBar/components/Italic/index.d.ts +6 -0
  131. package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +12 -12
  132. package/lib/components/Form/RichTextToolBar/components/MergeTags/index.d.ts +5 -0
  133. package/lib/components/Form/RichTextToolBar/components/StrikeThrough/index.d.ts +6 -0
  134. package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +9 -7
  135. package/lib/components/Form/RichTextToolBar/components/Tools/IconBgColor/index.d.ts +5 -0
  136. package/lib/components/Form/RichTextToolBar/components/Tools/IconFontColor/index.d.ts +5 -0
  137. package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +4 -5
  138. package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +1 -1
  139. package/lib/components/Form/RichTextToolBar/components/Underline/index.d.ts +6 -0
  140. package/lib/components/Form/RichTextToolBar/components/Unlink/index.d.ts +12 -0
  141. package/lib/components/Form/RichTextToolBar/index.d.ts +1 -1
  142. package/lib/components/Form/Select.d.ts +11 -11
  143. package/lib/components/Form/UploadField.d.ts +8 -8
  144. package/lib/components/Form/enhancer.d.ts +20 -20
  145. package/lib/components/Form/index.d.ts +32 -32
  146. package/lib/components/RenderCount/index.d.ts +1 -1
  147. package/lib/components/ShadowDom/index.d.ts +2 -2
  148. package/lib/hooks/useAddToCollection.d.ts +6 -6
  149. package/lib/hooks/useFontFamily.d.ts +6 -6
  150. package/lib/index.d.ts +12 -11
  151. package/lib/index.js +2 -2
  152. package/lib/index2.js +2638 -1201
  153. package/lib/index2.js.map +1 -1
  154. package/lib/index3.js.map +1 -1
  155. package/lib/style.css +1 -1
  156. package/lib/utils/awaitForElement.d.ts +4 -4
  157. package/lib/utils/classnames.d.ts +1 -1
  158. package/lib/utils/getBlockTitle.d.ts +2 -2
  159. package/lib/utils/getContextMergeTags.d.ts +7 -7
  160. package/lib/utils/getIconNameByBlockType.d.ts +1 -1
  161. package/lib/utils/getPreviewClassName.d.ts +1 -1
  162. package/package.json +3 -3
  163. package/readme.md +138 -138
  164. package/lib/components/Form/RichTextToolBar/components/FontSizeList/index.d.ts +0 -3
@@ -1,68 +1,68 @@
1
- declare const defaultImagesMap: {
2
- IMAGE_08: string;
3
- IMAGE_09: string;
4
- IMAGE_10: string;
5
- IMAGE_11: string;
6
- IMAGE_12: string;
7
- IMAGE_13: string;
8
- IMAGE_14: string;
9
- IMAGE_15: string;
10
- IMAGE_16: string;
11
- IMAGE_17: string;
12
- IMAGE_18: string;
13
- IMAGE_19: string;
14
- IMAGE_20: string;
15
- IMAGE_21: string;
16
- IMAGE_22: string;
17
- IMAGE_23: string;
18
- IMAGE_24: string;
19
- IMAGE_25: string;
20
- IMAGE_26: string;
21
- IMAGE_27: string;
22
- IMAGE_28: string;
23
- IMAGE_29: string;
24
- IMAGE_30: string;
25
- IMAGE_31: string;
26
- IMAGE_32: string;
27
- IMAGE_33: string;
28
- IMAGE_34: string;
29
- IMAGE_35: string;
30
- IMAGE_36: string;
31
- IMAGE_37: string;
32
- IMAGE_38: string;
33
- IMAGE_39: string;
34
- IMAGE_40: string;
35
- IMAGE_41: string;
36
- IMAGE_42: string;
37
- IMAGE_43: string;
38
- IMAGE_44: string;
39
- IMAGE_45: string;
40
- IMAGE_46: string;
41
- IMAGE_47: string;
42
- IMAGE_48: string;
43
- IMAGE_49: string;
44
- IMAGE_50: string;
45
- IMAGE_51: string;
46
- IMAGE_52: string;
47
- IMAGE_53: string;
48
- IMAGE_54: string;
49
- IMAGE_55: string;
50
- IMAGE_56: string;
51
- IMAGE_57: string;
52
- IMAGE_58: string;
53
- IMAGE_59: string;
54
- IMAGE_60: string;
55
- IMAGE_61: string;
56
- IMAGE_62: string;
57
- IMAGE_63: string;
58
- IMAGE_64: string;
59
- IMAGE_65: string;
60
- IMAGE_66: string;
61
- IMAGE_67: string;
62
- IMAGE_68: string;
63
- IMAGE_69: string;
64
- IMAGE_70: string;
65
- IMAGE_71: string;
66
- };
67
- export declare function getImg(name: keyof typeof defaultImagesMap): string;
68
- export {};
1
+ declare const defaultImagesMap: {
2
+ IMAGE_08: string;
3
+ IMAGE_09: string;
4
+ IMAGE_10: string;
5
+ IMAGE_11: string;
6
+ IMAGE_12: string;
7
+ IMAGE_13: string;
8
+ IMAGE_14: string;
9
+ IMAGE_15: string;
10
+ IMAGE_16: string;
11
+ IMAGE_17: string;
12
+ IMAGE_18: string;
13
+ IMAGE_19: string;
14
+ IMAGE_20: string;
15
+ IMAGE_21: string;
16
+ IMAGE_22: string;
17
+ IMAGE_23: string;
18
+ IMAGE_24: string;
19
+ IMAGE_25: string;
20
+ IMAGE_26: string;
21
+ IMAGE_27: string;
22
+ IMAGE_28: string;
23
+ IMAGE_29: string;
24
+ IMAGE_30: string;
25
+ IMAGE_31: string;
26
+ IMAGE_32: string;
27
+ IMAGE_33: string;
28
+ IMAGE_34: string;
29
+ IMAGE_35: string;
30
+ IMAGE_36: string;
31
+ IMAGE_37: string;
32
+ IMAGE_38: string;
33
+ IMAGE_39: string;
34
+ IMAGE_40: string;
35
+ IMAGE_41: string;
36
+ IMAGE_42: string;
37
+ IMAGE_43: string;
38
+ IMAGE_44: string;
39
+ IMAGE_45: string;
40
+ IMAGE_46: string;
41
+ IMAGE_47: string;
42
+ IMAGE_48: string;
43
+ IMAGE_49: string;
44
+ IMAGE_50: string;
45
+ IMAGE_51: string;
46
+ IMAGE_52: string;
47
+ IMAGE_53: string;
48
+ IMAGE_54: string;
49
+ IMAGE_55: string;
50
+ IMAGE_56: string;
51
+ IMAGE_57: string;
52
+ IMAGE_58: string;
53
+ IMAGE_59: string;
54
+ IMAGE_60: string;
55
+ IMAGE_61: string;
56
+ IMAGE_62: string;
57
+ IMAGE_63: string;
58
+ IMAGE_64: string;
59
+ IMAGE_65: string;
60
+ IMAGE_66: string;
61
+ IMAGE_67: string;
62
+ IMAGE_68: string;
63
+ IMAGE_69: string;
64
+ IMAGE_70: string;
65
+ IMAGE_71: string;
66
+ };
67
+ export declare function getImg(name: keyof typeof defaultImagesMap): string;
68
+ export {};
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { BlockLayerProps } from '../BlockLayer';
3
- export declare const SimpleLayout: React.FC<{
4
- showSourceCode?: boolean;
5
- } & BlockLayerProps>;
1
+ import React from 'react';
2
+ import { BlockLayerProps } from '../BlockLayer';
3
+ export declare const SimpleLayout: React.FC<{
4
+ showSourceCode?: boolean;
5
+ } & BlockLayerProps>;
@@ -1 +1 @@
1
- export { SimpleLayout } from './SimpleLayout';
1
+ export { SimpleLayout } from './SimpleLayout';
@@ -1 +1 @@
1
- export declare function SourceCodePanel(): JSX.Element | null;
1
+ export declare function SourceCodePanel(): JSX.Element | null;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- export declare const AddToCollection: React.FC<{
3
- visible: boolean;
4
- setVisible: (v: boolean) => void;
5
- }>;
1
+ import React from 'react';
2
+ export declare const AddToCollection: React.FC<{
3
+ visible: boolean;
4
+ setVisible: (v: boolean) => void;
5
+ }>;
@@ -1 +1 @@
1
- export declare function AddFont(): JSX.Element;
1
+ export declare function AddFont(): JSX.Element;
@@ -1,11 +1,11 @@
1
- import { AutoCompleteProps as ArcoAutoCompleteProps } from '@arco-design/web-react';
2
- export interface AutoCompleteProps extends Omit<ArcoAutoCompleteProps, 'onChange' | 'options'> {
3
- quickchange?: boolean;
4
- value: string;
5
- options: Array<{
6
- value: any;
7
- label: any;
8
- }>;
9
- onChange: (val: string) => void;
10
- }
11
- export declare function AutoComplete(props: AutoCompleteProps): JSX.Element;
1
+ import { AutoCompleteProps as ArcoAutoCompleteProps } from '@arco-design/web-react';
2
+ export interface AutoCompleteProps extends Omit<ArcoAutoCompleteProps, 'onChange' | 'options'> {
3
+ quickchange?: boolean;
4
+ value: string;
5
+ options: Array<{
6
+ value: any;
7
+ label: any;
8
+ }>;
9
+ onChange: (val: string) => void;
10
+ }
11
+ export declare function AutoComplete(props: AutoCompleteProps): JSX.Element;
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- import { CheckboxGroupProps as ArcoCheckboxGroupProps } from '@arco-design/web-react';
3
- export interface CheckboxGroupProps extends ArcoCheckboxGroupProps<any> {
4
- options: Array<{
5
- value: string;
6
- label: React.ReactNode;
7
- }>;
8
- onChange?: (e: any[]) => void;
9
- value?: ArcoCheckboxGroupProps<any>['value'];
10
- style?: Partial<React.CSSProperties>;
11
- checkboxStyle?: Partial<React.CSSProperties>;
12
- vertical?: boolean;
13
- }
14
- export declare function CheckBoxGroup(props: CheckboxGroupProps): JSX.Element;
1
+ import React from 'react';
2
+ import { CheckboxGroupProps as ArcoCheckboxGroupProps } from '@arco-design/web-react';
3
+ export interface CheckboxGroupProps extends ArcoCheckboxGroupProps<any> {
4
+ options: Array<{
5
+ value: string;
6
+ label: React.ReactNode;
7
+ }>;
8
+ onChange?: (e: any[]) => void;
9
+ value?: ArcoCheckboxGroupProps<any>['value'];
10
+ style?: Partial<React.CSSProperties>;
11
+ checkboxStyle?: Partial<React.CSSProperties>;
12
+ vertical?: boolean;
13
+ }
14
+ export declare function CheckBoxGroup(props: CheckboxGroupProps): JSX.Element;
@@ -1,8 +1,8 @@
1
- import 'codemirror/lib/codemirror.css';
2
- import 'codemirror/theme/material.css';
3
- import 'codemirror/theme/neat.css';
4
- import 'codemirror/mode/xml/xml.js';
5
- export default function CodemirrorEditor(props: {
6
- value: string;
7
- onChange(val: string): void;
8
- }): JSX.Element;
1
+ import 'codemirror/lib/codemirror.css';
2
+ import 'codemirror/theme/material.css';
3
+ import 'codemirror/theme/neat.css';
4
+ import 'codemirror/mode/xml/xml.js';
5
+ export default function CodemirrorEditor(props: {
6
+ value: string;
7
+ onChange(val: string): void;
8
+ }): JSX.Element;
@@ -1,10 +1,10 @@
1
- import { PopoverProps } from '@arco-design/web-react';
2
- import React from 'react';
3
- export interface ColorPickerProps extends PopoverProps {
4
- onChange?: (val: string) => void;
5
- value?: string;
6
- label: string;
7
- children?: React.ReactNode;
8
- showInput?: boolean;
9
- }
10
- export declare function ColorPicker(props: ColorPickerProps): JSX.Element;
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ import React from 'react';
3
+ export interface ColorPickerProps extends PopoverProps {
4
+ onChange?: (val: string) => void;
5
+ value?: string;
6
+ label: string;
7
+ children?: React.ReactNode;
8
+ showInput?: boolean;
9
+ }
10
+ export declare function ColorPicker(props: ColorPickerProps): JSX.Element;
@@ -1,10 +1,10 @@
1
- import { TabsProps } from '@arco-design/web-react';
2
- import React from 'react';
3
- export interface EditTabProps<T extends any = any> extends Omit<TabsProps, 'onChange'> {
4
- value: Array<T>;
5
- renderItem: (item: T, index: number) => React.ReactNode;
6
- onChange: (vals: Array<T>) => any;
7
- additionItem: T;
8
- label: string;
9
- }
10
- export declare function EditTab<T extends any = any>(props: EditTabProps<T>): JSX.Element;
1
+ import { TabsProps } from '@arco-design/web-react';
2
+ import React from 'react';
3
+ export interface EditTabProps<T extends any = any> extends Omit<TabsProps, 'onChange'> {
4
+ value: Array<T>;
5
+ renderItem: (item: T, index: number) => React.ReactNode;
6
+ onChange: (vals: Array<T>) => any;
7
+ additionItem: T;
8
+ label: string;
9
+ }
10
+ export declare function EditTab<T extends any = any>(props: EditTabProps<T>): JSX.Element;
@@ -1,8 +1,8 @@
1
- import { UploaderServer } from '../../../AttributePanel/utils/Uploader';
2
- export interface ImageUploaderProps {
3
- onChange: (val: string) => void;
4
- value: string;
5
- label: string;
6
- uploadHandler?: UploaderServer;
7
- }
8
- export declare function ImageUploader(props: ImageUploaderProps): JSX.Element;
1
+ import { UploaderServer } from '../../../AttributePanel/utils/Uploader';
2
+ export interface ImageUploaderProps {
3
+ onChange: (val: string) => void;
4
+ value: string;
5
+ label: string;
6
+ uploadHandler?: UploaderServer;
7
+ }
8
+ export declare function ImageUploader(props: ImageUploaderProps): JSX.Element;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- export interface InlineTextProps {
3
- idx: string;
4
- children?: React.ReactNode;
5
- onChange: (content: string) => void;
6
- }
7
- export declare function InlineText({ idx, onChange, children }: InlineTextProps): JSX.Element;
1
+ import React from 'react';
2
+ export interface InlineTextProps {
3
+ idx: string;
4
+ children?: React.ReactNode;
5
+ onChange: (content: string) => void;
6
+ }
7
+ export declare function InlineText({ idx, onChange, children }: InlineTextProps): JSX.Element;
@@ -1,7 +1,7 @@
1
- import { InputProps as ArcoInputProps } from '@arco-design/web-react';
2
- export interface InputProps extends Omit<ArcoInputProps, 'onChange'> {
3
- quickchange?: boolean;
4
- value: string;
5
- onChange: (val: string) => void;
6
- }
7
- export declare function Input(props: InputProps): JSX.Element;
1
+ import { InputProps as ArcoInputProps } from '@arco-design/web-react';
2
+ export interface InputProps extends Omit<ArcoInputProps, 'onChange'> {
3
+ quickchange?: boolean;
4
+ value: string;
5
+ onChange: (val: string) => void;
6
+ }
7
+ export declare function Input(props: InputProps): JSX.Element;
@@ -1,10 +1,10 @@
1
- import { InputProps as ArcoInputProps } from '@arco-design/web-react';
2
- export interface InputWithUnitProps extends Omit<ArcoInputProps, 'onChange'> {
3
- value: string;
4
- onChange: (val: string) => void;
5
- unitOptions?: Array<{
6
- value: string;
7
- label: string;
8
- }> | 'default' | 'percent';
9
- }
10
- export declare function InputWithUnit(props: InputWithUnitProps): JSX.Element;
1
+ import { InputProps as ArcoInputProps } from '@arco-design/web-react';
2
+ export interface InputWithUnitProps extends Omit<ArcoInputProps, 'onChange'> {
3
+ value: string;
4
+ onChange: (val: string) => void;
5
+ unitOptions?: Array<{
6
+ value: string;
7
+ label: string;
8
+ }> | 'default' | 'percent';
9
+ }
10
+ export declare function InputWithUnit(props: InputWithUnitProps): JSX.Element;
@@ -1,13 +1,13 @@
1
- import { RadioGroupProps as ArcoRadioGroupProps } from '@arco-design/web-react';
2
- import React from 'react';
3
- export interface RadioGroupProps extends ArcoRadioGroupProps {
4
- options: Array<{
5
- value: string;
6
- label: React.ReactNode;
7
- }>;
8
- onChange?: (value: string) => void;
9
- value?: string;
10
- type?: 'radio' | 'button';
11
- vertical?: boolean;
12
- }
13
- export declare function RadioGroup(props: RadioGroupProps): JSX.Element;
1
+ import { RadioGroupProps as ArcoRadioGroupProps } from '@arco-design/web-react';
2
+ import React from 'react';
3
+ export interface RadioGroupProps extends ArcoRadioGroupProps {
4
+ options: Array<{
5
+ value: string;
6
+ label: React.ReactNode;
7
+ }>;
8
+ onChange?: (value: string) => void;
9
+ value?: string;
10
+ type?: 'radio' | 'button';
11
+ vertical?: boolean;
12
+ }
13
+ export declare function RadioGroup(props: RadioGroupProps): JSX.Element;
@@ -1,2 +1,2 @@
1
- import { InlineTextProps } from '../InlineTextField';
2
- export declare const RichTextField: (props: Omit<InlineTextProps, 'onChange' | 'mutators'>) => JSX.Element | null;
1
+ import { InlineTextProps } from '../InlineTextField';
2
+ export declare const RichTextField: (props: Omit<InlineTextProps, 'onChange' | 'mutators'>) => JSX.Element | null;
@@ -1,3 +1,3 @@
1
- export declare function RichTextToolBar(props: {
2
- onChange: (s: string) => void;
3
- }): JSX.Element | null;
1
+ export declare function RichTextToolBar(props: {
2
+ onChange: (s: string) => void;
3
+ }): JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare function BasicTools(): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ export interface LinkProps extends PopoverProps {
3
+ currentRange: Range | null | undefined;
4
+ onChange: () => void;
5
+ }
6
+ export declare function Bold(props: LinkProps): JSX.Element;
@@ -1,3 +1,5 @@
1
- export declare function FontFamily(props: {
2
- onChange: (val: string) => void;
3
- }): JSX.Element;
1
+ export interface FontFamilyProps {
2
+ execCommand: (cmd: string, value: any) => void;
3
+ getPopupContainer: () => HTMLElement;
4
+ }
5
+ export declare function FontFamily(props: FontFamilyProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ export interface FontSizeProps {
2
+ execCommand: (cmd: string, value: any) => void;
3
+ getPopupContainer: () => HTMLElement;
4
+ }
5
+ export declare function FontSize(props: FontSizeProps): JSX.Element;
@@ -1,3 +1,3 @@
1
- export declare function Heading(props: {
2
- onChange: (val: string) => void;
3
- }): JSX.Element;
1
+ export declare function Heading(props: {
2
+ onChange: (val: string) => void;
3
+ }): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ export interface LinkProps extends PopoverProps {
3
+ currentRange: Range | null | undefined;
4
+ onChange: () => void;
5
+ }
6
+ export declare function Italic(props: LinkProps): JSX.Element;
@@ -1,12 +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: (val: LinkParams) => void;
11
- }
12
- export declare function Link(props: LinkProps): JSX.Element;
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: (val: LinkParams) => void;
11
+ }
12
+ export declare function Link(props: LinkProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ export interface MergeTagsProps {
2
+ execCommand: (cmd: string, value: any) => void;
3
+ getPopupContainer: () => HTMLElement;
4
+ }
5
+ export declare function MergeTags(props: MergeTagsProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ export interface LinkProps extends PopoverProps {
3
+ currentRange: Range | null | undefined;
4
+ onChange: () => void;
5
+ }
6
+ export declare function StrikeThrough(props: LinkProps): JSX.Element;
@@ -1,7 +1,9 @@
1
- import React from 'react';
2
- export declare const ToolItem: React.FC<{
3
- title: string;
4
- icon: React.ReactNode;
5
- onClick?: () => void;
6
- trigger?: string;
7
- }>;
1
+ import React from 'react';
2
+ export declare const ToolItem: React.FC<{
3
+ title?: string;
4
+ icon: React.ReactNode;
5
+ onClick?: React.MouseEventHandler<any>;
6
+ trigger?: string;
7
+ style?: React.CSSProperties;
8
+ isActive?: boolean;
9
+ }>;
@@ -0,0 +1,5 @@
1
+ export declare function IconBgColor({ selectionRange, execCommand, getPopoverMountNode }: {
2
+ selectionRange: Range | null;
3
+ execCommand: (cmd: string, val?: any) => void;
4
+ getPopoverMountNode: () => HTMLElement;
5
+ }): JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare function IconFontColor({ selectionRange, execCommand, getPopoverMountNode }: {
2
+ selectionRange: Range | null;
3
+ execCommand: (cmd: string, val?: any) => void;
4
+ getPopoverMountNode: () => HTMLElement;
5
+ }): JSX.Element;
@@ -1,5 +1,4 @@
1
- export interface ToolsProps {
2
- onChange: (content: string) => any;
3
- container: HTMLElement | null;
4
- }
5
- export declare function Tools(props: ToolsProps): JSX.Element;
1
+ export interface ToolsProps {
2
+ onChange: (content: string) => any;
3
+ }
4
+ export declare function Tools(props: ToolsProps): JSX.Element;
@@ -1 +1 @@
1
- export { Tools } from './Tools';
1
+ export { Tools } from './Tools';
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ export interface LinkProps extends PopoverProps {
3
+ currentRange: Range | null | undefined;
4
+ onChange: () => void;
5
+ }
6
+ export declare function Underline(props: LinkProps): JSX.Element;
@@ -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;
@@ -1 +1 @@
1
- export { RichTextToolBar } from './RichTextToolBar';
1
+ export { RichTextToolBar } from './RichTextToolBar';
@@ -1,11 +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;
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;
@@ -1,8 +1,8 @@
1
- export interface UploadFieldProps {
2
- onChange: (val: string) => void;
3
- value: string;
4
- inputDisabled?: boolean;
5
- accept?: string;
6
- uploadHandler: (file: File) => Promise<string>;
7
- }
8
- export declare function UploadField(props: UploadFieldProps): JSX.Element;
1
+ export interface UploadFieldProps {
2
+ onChange: (val: string) => void;
3
+ value: string;
4
+ inputDisabled?: boolean;
5
+ accept?: string;
6
+ uploadHandler: (file: File) => Promise<string>;
7
+ }
8
+ export declare function UploadField(props: UploadFieldProps): JSX.Element;