easy-email-extensions 3.1.0 → 3.1.4
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/components/attributes/Align.d.ts +3 -1
- package/lib/AttributePanel/components/attributes/Color.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/FontStyle.d.ts +1 -3
- package/lib/AttributePanel/components/attributes/Width.d.ts +3 -1
- package/lib/AttributePanel/utils/getIconNameByBlockType.d.ts +1 -0
- package/lib/BlockLayer/components/BlockTree/index.d.ts +2 -1
- package/lib/BlockLayer/index.d.ts +2 -0
- package/lib/InteractivePrompt/components/Toolbar.d.ts +2 -2
- package/lib/components/Form/InputWithUnit.d.ts +10 -0
- package/lib/components/Form/index.d.ts +4 -1
- package/lib/index.js +1 -1
- package/lib/index2.js +3926 -3533
- package/lib/index2.js.map +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/lib/components/Form/RichTextToolBar/components/MergeTags/MergeTags.d.ts +0 -6
- package/lib/components/Form/RichTextToolBar/components/MergeTags/index.d.ts +0 -1
@@ -1,3 +1,5 @@
|
|
1
|
-
|
1
|
+
import { InputWithUnitProps } from '@extensions/components/Form/InputWithUnit';
|
2
|
+
export declare function Width({ inline, unitOptions, }: {
|
2
3
|
inline?: boolean;
|
4
|
+
unitOptions?: InputWithUnitProps['unitOptions'];
|
3
5
|
}): JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function getIconNameByBlockType(type: string): any;
|
@@ -5,7 +5,8 @@ interface TreeNode<T> {
|
|
5
5
|
}
|
6
6
|
export interface BlockTreeProps<T extends TreeNode<T>> {
|
7
7
|
treeData: T[];
|
8
|
-
|
8
|
+
selectedKeys?: string[];
|
9
|
+
expandedKeys?: string[];
|
9
10
|
onSelect: (selectedId: string) => void;
|
10
11
|
onContextMenu?: (nodeData: T, ev: React.MouseEvent) => void;
|
11
12
|
onDragStart?: () => void;
|
@@ -0,0 +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,4 +1,4 @@
|
|
1
|
-
import { SliderProps, InputNumberProps, SwitchProps, DatePickerProps, TextAreaProps, CheckboxGroupProps } from '@arco-design/web-react';
|
1
|
+
import { SliderProps, InputNumberProps, SwitchProps, DatePickerProps, TextAreaProps, CheckboxGroupProps, TreeSelectProps } from '@arco-design/web-react';
|
2
2
|
import { ImageUploaderProps } from './ImageUploader';
|
3
3
|
import { UploadFieldProps } from './UploadField';
|
4
4
|
import { ColorPickerProps } from './ColorPicker';
|
@@ -6,11 +6,13 @@ import { SelectProps } from './Select';
|
|
6
6
|
import { RadioGroupProps } from './RadioGroup';
|
7
7
|
import enhancer from './enhancer';
|
8
8
|
import { InputProps } from './Input';
|
9
|
+
import { InputWithUnitProps } from './InputWithUnit';
|
9
10
|
import { EditTabProps } from './EditTab';
|
10
11
|
import { InlineTextProps } from './InlineTextField';
|
11
12
|
import { AutoCompleteProps } from './AutoComplete';
|
12
13
|
export { RichTextField } from './RichTextField';
|
13
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;
|
14
16
|
export declare const SearchField: (props: import("./enhancer").EnhancerProps<InputProps> & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
15
17
|
export declare const TextAreaField: (props: import("./enhancer").EnhancerProps<TextAreaProps> & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
16
18
|
export declare const NumberField: (props: import("./enhancer").EnhancerProps<InputNumberProps> & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
@@ -19,6 +21,7 @@ export declare const ColorPickerField: (props: import("./enhancer").EnhancerProp
|
|
19
21
|
export declare const UploadField: (props: import("./enhancer").EnhancerProps<UploadFieldProps> & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
20
22
|
export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps<ImageUploaderProps> & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
21
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;
|
22
25
|
export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps<AutoCompleteProps> & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
23
26
|
export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps<RadioGroupProps> & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
24
27
|
export declare const SwitchField: (props: import("./enhancer").EnhancerProps<SwitchProps> & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
package/lib/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { b as Align, A as AttributePanel, d as AttributesPanelWrapper,
|
1
|
+
export { b as Align, A as AttributePanel, d as AttributesPanelWrapper, Y as AutoCompleteField, g as Background, j as BackgroundColor, a as BlockAttributeConfigurationManager, B as BlockLayer, u as BlockMarketManager, v as BlockMaskWrapper, m as Border, n as BorderColor, q as BorderStyle, s as BorderWidth, a0 as CheckboxField, C as Color, O as ColorPickerField, e as ContainerBackgroundColor, $ as DatePickerField, D as Decoration, k as Direction, a1 as EditTabField, F as FontFamily, o as FontSize, r as FontStyle, t as FontWeight, H as Height, Q as ImageUploaderField, a2 as InlineTextField, z as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, h as LineHeight, l as Link, M as Margin, p as MergeTags, N as NavbarLinkPadding, J as NumberField, P as Padding, Z as RadioGroupField, a4 as RichTextField, E as SearchField, R as SelectField, S as ShortcutToolbar, x as SimpleLayout, K as SliderField, w as SourceCodePanel, _ as SwitchField, T as TextAlign, G as TextAreaField, f as TextDecoration, y as TextField, i as TextTransform, X as TreeSelectField, U as UploadField, V as VerticalAlign, W as Width, a3 as enhancer } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|