easy-email-extensions 4.3.8 → 4.4.0
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/BackgroundColor.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Color.d.ts +1 -1
- package/lib/EditPanel/ConfigurationDrawer/index.d.ts +2 -1
- package/lib/EditPanel/index.d.ts +3 -1
- 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 +1044 -4216
- package/lib/index2.js.map +1 -1
- package/package.json +2 -2
package/lib/EditPanel/index.d.ts
CHANGED
@@ -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, a6 as AutoCompleteField, j as Background, m as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, y as BlockMarketManager, z as BlockMaskWrapper, p as Border, q as BorderColor, t as BorderStyle, v as BorderWidth,
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a6 as AutoCompleteField, j as Background, m as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, y as BlockMarketManager, z as BlockMaskWrapper, p as Border, q as BorderColor, t as BorderStyle, v as BorderWidth, a9 as CheckboxField, x as ClassName, C as Color, a1 as ColorPickerField, h as ContainerBackgroundColor, D as Decoration, n as Direction, ab as EditGridTabField, aa as EditTabField, O as ExtensionContext, Q as ExtensionProvider, F as FontFamily, r as FontSize, u as FontStyle, w as FontWeight, H as Height, a3 as ImageUploaderField, ac as InlineTextField, Y as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, k as LineHeight, o as Link, M as Margin, K as MergeTagBadgePrompt, s as MergeTags, N as NavbarLinkPadding, $ as NumberField, P as Padding, U as RICH_TEXT_TOOL_BAR, a7 as RadioGroupField, ae as RichTextField, Z as SearchField, a4 as SelectField, S as ShortcutToolbar, G as SimpleLayout, a0 as SliderField, E as SourceCodePanel, J as StandardLayout, a8 as SwitchField, T as TextAlign, _ as TextAreaField, i as TextDecoration, X as TextField, l as TextTransform, a5 as TreeSelectField, a2 as UploadField, V as VerticalAlign, W as Width, ad as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, R as useExtensionProps } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|