easy-email-extensions 4.3.9 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Color.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/index.d.ts +1 -0
- package/lib/components/Form/AutoComplete.d.ts +1 -0
- package/lib/components/Form/InputWithUnit.d.ts +1 -0
- package/lib/components/Form/enhancer.d.ts +20 -15
- package/lib/components/Form/index.d.ts +20 -20
- package/lib/index.js +1 -1
- package/lib/index2.js +1125 -4303
- package/lib/index2.js.map +1 -1
- package/package.json +2 -2
@@ -3,6 +3,7 @@ export { Color } from './Color';
|
|
3
3
|
export { Height } from './Height';
|
4
4
|
export { TextAlign } from './TextAlign';
|
5
5
|
export { AttributesPanelWrapper } from './AttributesPanelWrapper';
|
6
|
+
export { CollapseWrapper } from './CollapseWrapper';
|
6
7
|
export { ContainerBackgroundColor } from './ContainerBackgroundColor';
|
7
8
|
export { LetterSpacing } from './LetterSpacing';
|
8
9
|
export { TextDecoration } from './TextDecoration';
|
@@ -1,20 +1,25 @@
|
|
1
|
-
import {
|
2
|
-
import { FieldProps } from 'react-final-form';
|
1
|
+
import { UseFieldConfig } from 'react-final-form';
|
3
2
|
import React from 'react';
|
4
|
-
import {
|
5
|
-
export interface EnhancerProps
|
3
|
+
import { FormItemProps } from '@arco-design/web-react';
|
4
|
+
export interface EnhancerProps {
|
6
5
|
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
6
|
onChangeAdapter?: (value: any) => any;
|
16
7
|
validate?: (value: any) => string | undefined | Promise<string | undefined>;
|
17
|
-
|
18
|
-
|
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;
|
19
20
|
}
|
20
|
-
export default function enhancer<P
|
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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SliderProps, InputNumberProps, SwitchProps,
|
1
|
+
import { SliderProps, InputNumberProps, SwitchProps, 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';
|
@@ -11,24 +11,24 @@ import { EditTabProps } from './EditTab';
|
|
11
11
|
import { EditGridTabProps } from './EditGridTab';
|
12
12
|
import { InlineTextProps } from './InlineTextField';
|
13
13
|
import { AutoCompleteProps } from './AutoComplete';
|
14
|
+
import { InputSearchProps } from '@arco-design/web-react/es/Input';
|
14
15
|
export { RichTextField } from './RichTextField';
|
15
|
-
export declare const TextField: (props: import("./enhancer").EnhancerProps
|
16
|
-
export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps
|
17
|
-
export declare const SearchField: (props: import("./enhancer").EnhancerProps
|
18
|
-
export declare const TextAreaField: (props: import("./enhancer").EnhancerProps
|
19
|
-
export declare const NumberField: (props: import("./enhancer").EnhancerProps
|
20
|
-
export declare const SliderField: (props: import("./enhancer").EnhancerProps
|
21
|
-
export declare const ColorPickerField: (props: import("./enhancer").EnhancerProps
|
22
|
-
export declare const UploadField: (props: import("./enhancer").EnhancerProps
|
23
|
-
export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps
|
24
|
-
export declare const SelectField: (props: import("./enhancer").EnhancerProps
|
25
|
-
export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps
|
26
|
-
export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps
|
27
|
-
export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps
|
28
|
-
export declare const SwitchField: (props: import("./enhancer").EnhancerProps
|
29
|
-
export declare const
|
30
|
-
export declare const
|
31
|
-
export declare const
|
32
|
-
export declare const
|
33
|
-
export declare const InlineTextField: (props: import("./enhancer").EnhancerProps<InlineTextProps> & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
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 ColorPickerField: (props: import("./enhancer").EnhancerProps & Omit<ColorPickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
23
|
+
export declare const UploadField: (props: import("./enhancer").EnhancerProps & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
24
|
+
export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
25
|
+
export declare const SelectField: (props: import("./enhancer").EnhancerProps & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
26
|
+
export declare const TreeSelectField: (props: import("./enhancer").EnhancerProps & Omit<TreeSelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
27
|
+
export declare const AutoCompleteField: (props: import("./enhancer").EnhancerProps & Omit<AutoCompleteProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
28
|
+
export declare const RadioGroupField: (props: import("./enhancer").EnhancerProps & Omit<RadioGroupProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
29
|
+
export declare const SwitchField: (props: import("./enhancer").EnhancerProps & Omit<SwitchProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
30
|
+
export declare const CheckboxField: (props: import("./enhancer").EnhancerProps & Omit<CheckboxGroupProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
31
|
+
export declare const EditTabField: (props: import("./enhancer").EnhancerProps & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
32
|
+
export declare const EditGridTabField: (props: import("./enhancer").EnhancerProps & Omit<EditGridTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
33
|
+
export declare const InlineTextField: (props: import("./enhancer").EnhancerProps & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
34
34
|
export { enhancer };
|
package/lib/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper,
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a7 as AutoCompleteField, k as Background, n as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, z as BlockMarketManager, E as BlockMaskWrapper, q as Border, r as BorderColor, u as BorderStyle, w as BorderWidth, aa as CheckboxField, y as ClassName, h as CollapseWrapper, C as Color, a2 as ColorPickerField, i as ContainerBackgroundColor, D as Decoration, o as Direction, ac as EditGridTabField, ab as EditTabField, Q as ExtensionContext, R as ExtensionProvider, F as FontFamily, s as FontSize, v as FontStyle, x as FontWeight, H as Height, a4 as ImageUploaderField, ad as InlineTextField, Z as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, l as LineHeight, p as Link, M as Margin, O as MergeTagBadgePrompt, t as MergeTags, N as NavbarLinkPadding, a0 as NumberField, P as Padding, X as RICH_TEXT_TOOL_BAR, a8 as RadioGroupField, af as RichTextField, _ as SearchField, a5 as SelectField, S as ShortcutToolbar, J as SimpleLayout, a1 as SliderField, G as SourceCodePanel, K as StandardLayout, a9 as SwitchField, T as TextAlign, $ as TextAreaField, j as TextDecoration, Y as TextField, m as TextTransform, a6 as TreeSelectField, a3 as UploadField, V as VerticalAlign, W as Width, ae as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, U as useExtensionProps } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|