@ivanholiak/easy-email-extensions 4.16.4 → 4.16.6
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/blocks/AdvancedTable/Operation/tableTool.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/type.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/AdvancedTable/Operation/util.d.ts +1 -1
- package/lib/BlockLayer/components/ContextMenu/index.d.ts +1 -1
- package/lib/BlockLayer/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +1 -1
- package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/index2.js +2 -2
- package/lib/index2.js.map +1 -1
- package/lib/index3.js +2 -2
- package/lib/utils/MjmlToJson.d.ts +1 -1
- package/lib/utils/getBlockTitle.d.ts +1 -1
- package/lib/utils/parseXMLtoBlock.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBoundaryRect, IBoundingPosition, IOperationData } from './type';
|
|
2
|
-
import { AdvancedTableBlock } from 'easy-email-core';
|
|
2
|
+
import { AdvancedTableBlock } from '@ivanholiak/easy-email-core';
|
|
3
3
|
export declare const getBoundaryRectAndElement: (el1: Element, el2: Element) => {
|
|
4
4
|
leftTopCell: Element;
|
|
5
5
|
bottomRightCell: Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useBlock } from 'easy-email-editor';
|
|
2
|
+
import { useBlock } from '@ivanholiak/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 { AdvancedType } from 'easy-email-core';
|
|
2
|
+
import { AdvancedType } from '@ivanholiak/easy-email-core';
|
|
3
3
|
import { TextBlockItem } from './TextBlockItem';
|
|
4
4
|
import { ImageBlockItem } from './ImageBlockItem';
|
|
5
5
|
export declare const defaultCategories: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBlockData, RecursivePartial } from 'easy-email-core';
|
|
2
|
+
import { IBlockData, RecursivePartial } from '@ivanholiak/easy-email-core';
|
|
3
3
|
export interface DragIconProps<T extends IBlockData> {
|
|
4
4
|
type: string;
|
|
5
5
|
payload?: RecursivePartial<T>;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, ad as AutoCompleteField, l as Background, o as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, O as BlockMarketManager, Q as BlockMaskWrapper, r as Border, u as BorderColor, x as BorderStyle, z as BorderWidth, ag as CheckboxField, I as ClassName, h as CollapseWrapper, C as Color, ak as ColorPickerField, i as Condition, j as ContainerBackgroundColor, D as Decoration, P as DefaultPageConfigPanel, p as Direction, ai as EditGridTabField, ah as EditTabField, $ as ExtensionContext, a0 as ExtensionProvider, F as FontFamily, v as FontSize, y as FontStyle, E as FontWeight, H as Height, aa as ImageUploaderField, aj as InlineTextField, a4 as InputWithUnitField, U as InteractivePrompt, L as LetterSpacing, m as LineHeight, q as Link, t as Margin, Z as MergeTagBadgePrompt, w as MergeTags, M as MjmlToJson, N as NavbarLinkPadding, a7 as NumberField, G as Padding, J as PresetColorsProvider, a2 as RICH_TEXT_TOOL_BAR, ae as RadioGroupField, am as RichTextField, a5 as SearchField, ab as SelectField, S as SelectionRangeProvider, an as ShadowDom, K as ShortcutToolbar, X as SimpleLayout, a8 as SliderField, R as SourceCodePanel, Y as StandardLayout, af as SwitchField, T as TextAlign, a6 as TextAreaField, k as TextDecoration, a3 as TextField, n as TextTransform, ac as TreeSelectField, a9 as UploadField, V as VerticalAlign, W as Width, al as enhancer, c as getBlockTitle, g as getContextMergeTags, b as getIconNameByBlockType, s as setIconsMap, a1 as useExtensionProps } from "./index2.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import "easy-email-editor";
|
|
4
|
-
import "easy-email-core";
|
|
3
|
+
import "@ivanholiak/easy-email-editor";
|
|
4
|
+
import "@ivanholiak/easy-email-core";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "react-final-form";
|
|
7
7
|
import "uuid";
|
package/lib/index2.js
CHANGED
|
@@ -52,8 +52,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
52
52
|
};
|
|
53
53
|
import * as React$1 from "react";
|
|
54
54
|
import React__default, { createContext, useContext, isValidElement, Children, cloneElement, Component, useRef, useMemo, memo, forwardRef, createRef, useState, useImperativeHandle, useEffect, useLayoutEffect, useCallback, PureComponent, useReducer, Fragment, Suspense } from "react";
|
|
55
|
-
import { IconFont, useEditorProps, Stack as Stack$4, useRefState, getShadowRoot, DATA_CONTENT_EDITABLE_TYPE, ContentEditableType, TextStyle, useEditorContext, useBlock, useFocusIdx, DATA_CONTENT_EDITABLE_IDX, useFocusBlockLayout, MergeTagBadge, AvailableTools, FIXED_CONTAINER_ID, getPluginElement, RICH_TEXT_BAR_ID, CONTENT_EDITABLE_CLASS_NAME, getEditorRoot, scrollBlockEleIntoView, useHoverIdx, useDataTransfer, getBlockNodeByChildEle, getDirectionPosition, DATA_ATTRIBUTE_DROP_CONTAINER, BlockAvatarWrapper, isTextBlock, getBlockNodeByIdx, useLazyState, useActiveTab, ActiveTabKeys } from "easy-email-editor";
|
|
56
|
-
import { BasicType, ImageManager, EMAIL_BLOCK_CLASS_NAME, BlockManager, createBlockDataByType, AdvancedType, Operator, OperatorSymbol, isAdvancedBlock, getParentByIdx, getParentIdx, getIndexByIdx, getSiblingIdx, getNodeIdxFromClassName, getNodeIdxClassName, getPageIdx, getChildIdx, JsonToMjml, getNodeTypeFromClassName } from "easy-email-core";
|
|
55
|
+
import { IconFont, useEditorProps, Stack as Stack$4, useRefState, getShadowRoot, DATA_CONTENT_EDITABLE_TYPE, ContentEditableType, TextStyle, useEditorContext, useBlock, useFocusIdx, DATA_CONTENT_EDITABLE_IDX, useFocusBlockLayout, MergeTagBadge, AvailableTools, FIXED_CONTAINER_ID, getPluginElement, RICH_TEXT_BAR_ID, CONTENT_EDITABLE_CLASS_NAME, getEditorRoot, scrollBlockEleIntoView, useHoverIdx, useDataTransfer, getBlockNodeByChildEle, getDirectionPosition, DATA_ATTRIBUTE_DROP_CONTAINER, BlockAvatarWrapper, isTextBlock, getBlockNodeByIdx, useLazyState, useActiveTab, ActiveTabKeys } from "@ivanholiak/easy-email-editor";
|
|
56
|
+
import { BasicType, ImageManager, EMAIL_BLOCK_CLASS_NAME, BlockManager, createBlockDataByType, AdvancedType, Operator, OperatorSymbol, isAdvancedBlock, getParentByIdx, getParentIdx, getIndexByIdx, getSiblingIdx, getNodeIdxFromClassName, getNodeIdxClassName, getPageIdx, getChildIdx, JsonToMjml, getNodeTypeFromClassName } from "@ivanholiak/easy-email-core";
|
|
57
57
|
import ReactDOM$1, { createPortal } from "react-dom";
|
|
58
58
|
import { Field, useForm as useForm$1, useField, Form as Form$3, version as version$2, useFormState as useFormState$2 } from "react-final-form";
|
|
59
59
|
import { v4 } from "uuid";
|