easy-email-extensions 3.1.29 → 3.1.30

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.
@@ -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,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/index2.js CHANGED
@@ -39222,11 +39222,11 @@ const MergeTags = React__default.memo((props) => {
39222
39222
  }, [props]);
39223
39223
  const mergeTagContent = useMemo(() => renderMergeTagContent ? renderMergeTagContent({
39224
39224
  onChange: props.onChange,
39225
- isSelect: props.isSelect,
39225
+ isSelect: Boolean(props.isSelect),
39226
39226
  value: props.value
39227
39227
  }) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null), [renderMergeTagContent, props.onChange, props.isSelect, props.value]);
39228
39228
  if (renderMergeTagContent) {
39229
- return mergeTagContent;
39229
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, mergeTagContent);
39230
39230
  }
39231
39231
  return /* @__PURE__ */ React__default.createElement("div", {
39232
39232
  style: { color: "#333" }