easy-email-extensions 3.1.26 → 3.1.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { InputWithUnitProps } from '@extensions/components/Form/InputWithUnit';
1
+ import { InputWithUnitProps } from '../../../components/Form/InputWithUnit';
2
2
  export declare function Width({ inline, unitOptions, }: {
3
3
  inline?: boolean;
4
4
  unitOptions?: InputWithUnitProps['unitOptions'];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useBlock } from 'easy-email-editor';
2
+ import { useBlock } from '../../../../easy-email-editor';
3
3
  import { IBlockDataWithId } from '../../../BlockLayer';
4
4
  export declare function ContextMenu({ moveBlock, copyBlock, removeBlock, contextMenuData, onClose, }: {
5
5
  onClose: (ev?: React.MouseEvent) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IBlockData } from 'easy-email-core';
2
+ import { IBlockData } from '../../easy-email-core';
3
3
  export interface IBlockDataWithId extends IBlockData {
4
4
  id: string;
5
5
  icon?: React.ReactElement;
@@ -1,5 +1 @@
1
- import { IBlock } from 'easy-email-core';
2
- export declare function Toolbar({ block, blockNode, }: {
3
- block: IBlock;
4
- blockNode: HTMLElement;
5
- }): JSX.Element;
1
+ export declare function Toolbar(): JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BlockType } from 'easy-email-core';
2
+ import { BlockType } from '../../../../easy-email-core';
3
3
  export declare const BlockMaskWrapper: React.FC<{
4
4
  type: BlockType | string;
5
5
  payload: any;
@@ -1,4 +1,4 @@
1
- import { BasicType } from 'easy-email-core';
1
+ import { BasicType } from '../../../../../easy-email-core';
2
2
  import { TextBlockItem } from './TextBlockItem';
3
3
  import { ImageBlockItem } from './ImageBlockItem';
4
4
  export declare const defaultCategories: {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IBlockData } from 'easy-email-core';
2
+ import { IBlockData } from '../../../easy-email-core';
3
3
  export interface BlockMarketCategory {
4
4
  name: string;
5
5
  title: string;
@@ -1,4 +1,4 @@
1
- import { UploaderServer } from '@extensions/AttributePanel/utils/Uploader';
1
+ import { UploaderServer } from '../../../AttributePanel/utils/Uploader';
2
2
  export interface ImageUploaderProps {
3
3
  onChange: (val: string) => void;
4
4
  value: string;
@@ -1,4 +1,4 @@
1
- import { StackProps } from 'easy-email-editor';
1
+ import { StackProps } from '../../../easy-email-editor';
2
2
  import { FieldProps } from 'react-final-form';
3
3
  import React from 'react';
4
4
  import { InputProps } from './Input';
package/lib/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from './InteractivePrompt';
7
7
  export * from './SimpleLayout';
8
8
  export * from './components/Form';
9
9
  export { getContextMergeTags } from './utils/getContextMergeTags';
10
+ export { getIconNameByBlockType } from './utils/getIconNameByBlockType';
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { b as Align, A as AttributePanel, d as AttributesPanelWrapper, Z as AutoCompleteField, h as Background, k as BackgroundColor, a as BlockAttributeConfigurationManager, B as BlockLayer, v as BlockMarketManager, w as BlockMaskWrapper, n as Border, o as BorderColor, r as BorderStyle, t as BorderWidth, a1 as CheckboxField, C as Color, Q as ColorPickerField, e as ContainerBackgroundColor, a0 as DatePickerField, D as Decoration, l as Direction, a2 as EditTabField, F as FontFamily, p as FontSize, s as FontStyle, u as FontWeight, H as Height, R as ImageUploaderField, a3 as InlineTextField, E as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, i as LineHeight, m as Link, M as Margin, q as MergeTags, N as NavbarLinkPadding, K as NumberField, P as Padding, _ as RadioGroupField, a5 as RichTextField, G as SearchField, X as SelectField, S as ShortcutToolbar, y as SimpleLayout, O as SliderField, x as SourceCodePanel, $ as SwitchField, T as TextAlign, J as TextAreaField, f as TextDecoration, z as TextField, j as TextTransform, Y as TreeSelectField, U as UploadField, V as VerticalAlign, W as Width, a4 as enhancer, g as getContextMergeTags } from "./index2.js";
1
+ export { d as Align, A as AttributePanel, e as AttributesPanelWrapper, _ as AutoCompleteField, i as Background, l as BackgroundColor, b as BlockAttributeConfigurationManager, B as BlockLayer, w as BlockMarketManager, x as BlockMaskWrapper, o as Border, p as BorderColor, s as BorderStyle, u as BorderWidth, a2 as CheckboxField, C as Color, R as ColorPickerField, f as ContainerBackgroundColor, a1 as DatePickerField, D as Decoration, m as Direction, a3 as EditTabField, F as FontFamily, q as FontSize, t as FontStyle, v as FontWeight, H as Height, X as ImageUploaderField, a4 as InlineTextField, G as InputWithUnitField, I as InteractivePrompt, L as LetterSpacing, j as LineHeight, n as Link, M as Margin, r as MergeTags, N as NavbarLinkPadding, O as NumberField, P as Padding, $ as RadioGroupField, a6 as RichTextField, J as SearchField, Y as SelectField, S as ShortcutToolbar, z as SimpleLayout, Q as SliderField, y as SourceCodePanel, a0 as SwitchField, T as TextAlign, K as TextAreaField, h as TextDecoration, E as TextField, k as TextTransform, Z as TreeSelectField, U as UploadField, V as VerticalAlign, W as Width, a5 as enhancer, g as getContextMergeTags, a as getIconNameByBlockType } from "./index2.js";
2
2
  import "react";
3
3
  import "easy-email-editor";
4
4
  import "easy-email-core";