easy-email-extensions 4.1.13 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ export interface ConfigurationPanelProps {
2
+ showSourceCode: boolean;
3
+ height: string;
4
+ onBack?: () => void;
5
+ compact?: boolean;
6
+ }
7
+ export declare function ConfigurationPanel({ showSourceCode, height, onBack, compact, }: ConfigurationPanelProps): JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare function Blocks(): JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function ConfigurationDrawer({ height, compact, }: {
2
+ height: string;
3
+ compact: boolean;
4
+ }): JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function EditPanel(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ExtensionProps } from '../components/Providers/ExtensionProvider';
3
+ export declare const StandardLayout: React.FC<ExtensionProps>;
@@ -0,0 +1 @@
1
+ export { StandardLayout } from './StandardLayout';
@@ -0,0 +1,5 @@
1
+ export interface ColorPickerContentProps {
2
+ onChange: (val: string) => void;
3
+ value: string;
4
+ }
5
+ export declare function ColorPickerContent(props: ColorPickerContentProps): JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { PopoverProps } from '@arco-design/web-react';
2
+ import React from 'react';
3
+ export interface ColorPickerProps extends PopoverProps {
4
+ onChange?: (val: string) => void;
5
+ value?: string;
6
+ label: string;
7
+ children?: React.ReactNode;
8
+ showInput?: boolean;
9
+ fixed?: boolean;
10
+ }
11
+ export declare function ColorPicker(props: ColorPickerProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import 'overlayscrollbars/css/OverlayScrollbars.css';
3
+ export declare const FullHeightOverlayScrollbars: React.FC<{
4
+ height: string | number;
5
+ }>;
@@ -0,0 +1,39 @@
1
+ import { BlockLayerProps } from '../../BlockLayer';
2
+ import React from 'react';
3
+ export interface ExtensionProps extends BlockLayerProps {
4
+ categories: Array<{
5
+ label: string;
6
+ active?: boolean;
7
+ blocks: Array<{
8
+ type: string;
9
+ payload?: any;
10
+ title?: string | undefined;
11
+ }>;
12
+ displayType?: 'grid';
13
+ } | {
14
+ label: string;
15
+ active?: boolean;
16
+ blocks: Array<{
17
+ payload?: any;
18
+ title?: string | undefined;
19
+ }>;
20
+ displayType: 'column';
21
+ } | {
22
+ label: string;
23
+ active?: boolean;
24
+ blocks: Array<{
25
+ payload?: any;
26
+ }>;
27
+ displayType: 'widget';
28
+ } | {
29
+ label: string;
30
+ active?: boolean;
31
+ blocks: Array<React.ReactNode>;
32
+ displayType: 'custom';
33
+ }>;
34
+ showSourceCode?: boolean;
35
+ compact?: boolean;
36
+ }
37
+ export declare const ExtensionContext: React.Context<ExtensionProps>;
38
+ export declare const ExtensionProvider: React.FC<ExtensionProps>;
39
+ export declare function useExtensionProps(): ExtensionProps;
package/lib/index.d.ts CHANGED
@@ -5,7 +5,9 @@ export * from './ShortcutToolbar';
5
5
  export * from './SourceCodePanel';
6
6
  export * from './InteractivePrompt';
7
7
  export * from './SimpleLayout';
8
+ export * from './StandardLayout';
8
9
  export * from './MergeTagBadgePrompt';
10
+ export * from './components/Providers/ExtensionProvider';
9
11
  export * from './constants';
10
12
  export * from './components/Form';
11
13
  export { getContextMergeTags } from './utils/getContextMergeTags';
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, a2 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, a6 as CheckboxField, x as ClassName, C as Color, Z as ColorPickerField, h as ContainerBackgroundColor, a5 as DatePickerField, D as Decoration, n as Direction, a8 as EditGridTabField, a7 as EditTabField, F as FontFamily, r as FontSize, u as FontStyle, w as FontWeight, H as Height, $ as ImageUploaderField, a9 as InlineTextField, O as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, k as LineHeight, o as Link, M as Margin, J as MergeTagBadgePrompt, s as MergeTags, N as NavbarLinkPadding, X as NumberField, P as Padding, R as RICH_TEXT_TOOL_BAR, a3 as RadioGroupField, ab as RichTextField, Q as SearchField, a0 as SelectField, S as ShortcutToolbar, G as SimpleLayout, Y as SliderField, E as SourceCodePanel, a4 as SwitchField, T as TextAlign, U as TextAreaField, i as TextDecoration, K as TextField, l as TextTransform, a1 as TreeSelectField, _ as UploadField, V as VerticalAlign, W as Width, aa as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType } from "./index2.js";
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, aa as CheckboxField, x as ClassName, C as Color, a1 as ColorPickerField, h as ContainerBackgroundColor, a9 as DatePickerField, D as Decoration, n as Direction, ac as EditGridTabField, ab 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, ad 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, af 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, ae 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";