easy-email-extensions 4.4.5 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/AttributePanel/components/adapter/Json.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/color.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/image-height.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/index.d.ts +5 -0
- package/lib/AttributePanel/components/adapter/pixel.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/adapter/slider.adapter.d.ts +4 -0
- package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Height.d.ts +3 -1
- package/lib/AttributePanel/components/attributes/Padding.d.ts +1 -0
- package/lib/AttributePanel/components/attributes/Width.d.ts +3 -1
- package/lib/AttributePanel/components/blocks/Page/index.d.ts +6 -1
- package/lib/AttributePanel/index.d.ts +1 -0
- package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +2 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +5 -5
- package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +1 -2
- package/lib/components/Form/ColorPickerField/index.d.ts +5 -0
- package/lib/components/Form/index.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/index2.js +1202 -911
- package/lib/index2.js.map +1 -1
- package/package.json +3 -3
@@ -1,5 +1,7 @@
|
|
1
1
|
import { InputWithUnitProps } from '../../../components/Form/InputWithUnit';
|
2
|
-
|
2
|
+
import { UseFieldConfig } from 'react-final-form';
|
3
|
+
export declare function Width({ inline, unitOptions, config, }: {
|
3
4
|
inline?: boolean;
|
4
5
|
unitOptions?: InputWithUnitProps['unitOptions'];
|
6
|
+
config?: UseFieldConfig<any>;
|
5
7
|
}): JSX.Element;
|
@@ -2,17 +2,17 @@ import { AdvancedType } from 'easy-email-core';
|
|
2
2
|
import { TextBlockItem } from './TextBlockItem';
|
3
3
|
import { ImageBlockItem } from './ImageBlockItem';
|
4
4
|
export declare const defaultCategories: {
|
5
|
-
title: string;
|
5
|
+
readonly title: string;
|
6
6
|
name: string;
|
7
7
|
blocks: ({
|
8
8
|
type: AdvancedType;
|
9
|
-
title: string;
|
10
|
-
description: string;
|
9
|
+
readonly title: string;
|
10
|
+
readonly description: string;
|
11
11
|
component: typeof TextBlockItem;
|
12
12
|
} | {
|
13
13
|
type: AdvancedType;
|
14
|
-
title: string;
|
15
|
-
description: JSX.Element;
|
14
|
+
readonly title: string;
|
15
|
+
readonly description: JSX.Element;
|
16
16
|
component: typeof ImageBlockItem;
|
17
17
|
})[];
|
18
18
|
}[];
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { IBlockData } from 'easy-email-core';
|
2
|
-
import { RecursivePartial } from 'easy-email-core';
|
1
|
+
import { IBlockData, RecursivePartial } from 'easy-email-core';
|
3
2
|
export interface DragIconProps<T extends IBlockData> {
|
4
3
|
type: string;
|
5
4
|
payload?: RecursivePartial<T>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ComponentProps } from 'react';
|
2
|
+
import { ColorPickerProps } from '../ColorPicker';
|
3
|
+
declare const ColorPickerFieldSource: (props: import("../enhancer").EnhancerProps & Omit<ColorPickerProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
4
|
+
export declare const ColorPickerField: (props: ComponentProps<typeof ColorPickerFieldSource>) => JSX.Element;
|
5
|
+
export {};
|
@@ -1,7 +1,6 @@
|
|
1
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
|
-
import { ColorPickerProps } from './ColorPicker';
|
5
4
|
import { SelectProps } from './Select';
|
6
5
|
import { RadioGroupProps } from './RadioGroup';
|
7
6
|
import enhancer from './enhancer';
|
@@ -12,6 +11,7 @@ import { EditGridTabProps } from './EditGridTab';
|
|
12
11
|
import { InlineTextProps } from './InlineTextField';
|
13
12
|
import { AutoCompleteProps } from './AutoComplete';
|
14
13
|
import { InputSearchProps } from '@arco-design/web-react/es/Input';
|
14
|
+
import { ColorPickerField } from './ColorPickerField';
|
15
15
|
export { RichTextField } from './RichTextField';
|
16
16
|
export declare const TextField: (props: import("./enhancer").EnhancerProps & Omit<InputProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
17
17
|
export declare const InputWithUnitField: (props: import("./enhancer").EnhancerProps & Omit<InputWithUnitProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
@@ -19,7 +19,6 @@ export declare const SearchField: (props: import("./enhancer").EnhancerProps & O
|
|
19
19
|
export declare const TextAreaField: (props: import("./enhancer").EnhancerProps & Omit<TextAreaProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
20
20
|
export declare const NumberField: (props: import("./enhancer").EnhancerProps & Omit<InputNumberProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
21
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
22
|
export declare const UploadField: (props: import("./enhancer").EnhancerProps & Omit<UploadFieldProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
24
23
|
export declare const ImageUploaderField: (props: import("./enhancer").EnhancerProps & Omit<ImageUploaderProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
25
24
|
export declare const SelectField: (props: import("./enhancer").EnhancerProps & Omit<SelectProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
@@ -31,4 +30,5 @@ export declare const CheckboxField: (props: import("./enhancer").EnhancerProps &
|
|
31
30
|
export declare const EditTabField: (props: import("./enhancer").EnhancerProps & Omit<EditTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
32
31
|
export declare const EditGridTabField: (props: import("./enhancer").EnhancerProps & Omit<EditGridTabProps<any>, "value" | "onChange" | "mutators">) => JSX.Element;
|
33
32
|
export declare const InlineTextField: (props: import("./enhancer").EnhancerProps & Omit<InlineTextProps, "value" | "onChange" | "mutators">) => JSX.Element;
|
33
|
+
export { ColorPickerField };
|
34
34
|
export { enhancer };
|
package/lib/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
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,
|
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, E as BlockMarketManager, G as BlockMaskWrapper, q as Border, r as BorderColor, u as BorderStyle, w as BorderWidth, aa as CheckboxField, z as ClassName, h as CollapseWrapper, C as Color, ae as ColorPickerField, i as ContainerBackgroundColor, D as Decoration, P as DefaultPageConfigPanel, o as Direction, ac as EditGridTabField, ab as EditTabField, R as ExtensionContext, U as ExtensionProvider, F as FontFamily, s as FontSize, v as FontStyle, x as FontWeight, H as Height, a4 as ImageUploaderField, ad as InlineTextField, _ as InputWithUnitField, J as InteractivePrompt, L as LetterSpacing, l as LineHeight, p as Link, M as Margin, Q as MergeTagBadgePrompt, t as MergeTags, N as NavbarLinkPadding, a1 as NumberField, y as Padding, Y as RICH_TEXT_TOOL_BAR, a8 as RadioGroupField, ag as RichTextField, $ as SearchField, a5 as SelectField, S as ShortcutToolbar, K as SimpleLayout, a2 as SliderField, I as SourceCodePanel, O as StandardLayout, a9 as SwitchField, T as TextAlign, a0 as TextAreaField, j as TextDecoration, Z as TextField, m as TextTransform, a6 as TreeSelectField, a3 as UploadField, V as VerticalAlign, W as Width, af as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, X as useExtensionProps } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|