easy-email-extensions 4.4.4 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ export declare const JsonAdapter: {
2
+ format(obj: any): string;
3
+ parse(val: string): any;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const colorAdapter: {
2
+ format(val: string): string;
3
+ parse(val: string): string | undefined;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const imageHeightAdapter: {
2
+ format(val: string): string | undefined;
3
+ parse(val: string | number): string | undefined;
4
+ };
@@ -0,0 +1,5 @@
1
+ export { JsonAdapter } from './Json.adapter';
2
+ export { pixelAdapter } from './pixel.adapter';
3
+ export { sliderAdapter } from './slider.adapter';
4
+ export { colorAdapter } from './color.adapter';
5
+ export { imageHeightAdapter } from './image-height.adapter';
@@ -0,0 +1,4 @@
1
+ export declare const pixelAdapter: {
2
+ format(val: string): string;
3
+ parse(val: string | number): string | undefined;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const sliderAdapter: {
2
+ format(val: string): number;
3
+ parse(val: string): string | undefined;
4
+ };
@@ -1,3 +1,5 @@
1
- export declare function Height({ inline }: {
1
+ import { UseFieldConfig } from 'react-final-form';
2
+ export declare function Height({ inline, config, }: {
2
3
  inline?: boolean;
4
+ config?: UseFieldConfig<any>;
3
5
  }): JSX.Element;
@@ -2,5 +2,6 @@ export interface PaddingProps {
2
2
  title?: string;
3
3
  attributeName?: 'padding' | 'inner-padding' | 'text-padding';
4
4
  name?: string;
5
+ showResetAll?: boolean;
5
6
  }
6
7
  export declare function Padding(props?: PaddingProps): JSX.Element;
@@ -1,5 +1,7 @@
1
1
  import { InputWithUnitProps } from '../../../components/Form/InputWithUnit';
2
- export declare function Width({ inline, unitOptions, }: {
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;
@@ -10,4 +10,4 @@ export interface IBlockDataWithId extends IBlockData {
10
10
  export interface BlockLayerProps {
11
11
  renderTitle?: (block: IBlockDataWithId) => React.ReactNode;
12
12
  }
13
- export declare function BlockLayer(props: BlockLayerProps): JSX.Element | null;
13
+ export declare function BlockLayer(props: BlockLayerProps): JSX.Element;
@@ -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, 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";
1
+ export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a6 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, a9 as CheckboxField, y as ClassName, h as CollapseWrapper, C as Color, ad as ColorPickerField, i as ContainerBackgroundColor, D as Decoration, o as Direction, ab as EditGridTabField, aa as EditTabField, Q as ExtensionContext, R as ExtensionProvider, F as FontFamily, s as FontSize, v as FontStyle, x as FontWeight, H as Height, a3 as ImageUploaderField, ac 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, a7 as RadioGroupField, af as RichTextField, _ as SearchField, a4 as SelectField, S as ShortcutToolbar, J as SimpleLayout, a1 as SliderField, G as SourceCodePanel, K as StandardLayout, a8 as SwitchField, T as TextAlign, $ as TextAreaField, j as TextDecoration, Y as TextField, m as TextTransform, a5 as TreeSelectField, a2 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";