easy-email-extensions 3.1.28 → 3.1.33
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/attributes/Width.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/utils/BlockMarketManager.d.ts +1 -1
- package/lib/components/Form/ImageUploader/index.d.ts +1 -1
- package/lib/components/Form/enhancer.d.ts +1 -1
- package/lib/index2.js +5 -12
- package/lib/index2.js.map +1 -1
- package/lib/style.css +1 -1
- package/lib/utils/getBlockTitle.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputWithUnitProps } from '
|
|
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;
|
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" }
|
|
@@ -41780,13 +41780,7 @@ function ContextMenu({
|
|
|
41780
41780
|
}, /* @__PURE__ */ React__default.createElement(IconFont, {
|
|
41781
41781
|
iconName: "icon-delete",
|
|
41782
41782
|
style: { marginRight: 10 }
|
|
41783
|
-
}), " ", /* @__PURE__ */ React__default.createElement(TextStyle, null, "Delete")), /* @__PURE__ */ React__default.createElement("div", {
|
|
41784
|
-
className: styles$5.listItem,
|
|
41785
|
-
onClick: handleAddToCollection
|
|
41786
|
-
}, /* @__PURE__ */ React__default.createElement(IconFont, {
|
|
41787
|
-
iconName: "icon-start",
|
|
41788
|
-
style: { marginRight: 10 }
|
|
41789
|
-
}), " ", /* @__PURE__ */ React__default.createElement(TextStyle, null, "Add to collection"))), /* @__PURE__ */ React__default.createElement("div", {
|
|
41783
|
+
}), " ", /* @__PURE__ */ React__default.createElement(TextStyle, null, "Delete"))), /* @__PURE__ */ React__default.createElement("div", {
|
|
41790
41784
|
className: styles$5.contextmenuMark,
|
|
41791
41785
|
onClick: onClose,
|
|
41792
41786
|
onContextMenu: (e) => {
|
|
@@ -44957,8 +44951,8 @@ function InteractivePrompt() {
|
|
|
44957
44951
|
return null;
|
|
44958
44952
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(HoverTooltip, null), /* @__PURE__ */ React__default.createElement(FocusTooltip, null));
|
|
44959
44953
|
}
|
|
44960
|
-
const SimpleLayout$1 = "
|
|
44961
|
-
const customScrollBar = "
|
|
44954
|
+
const SimpleLayout$1 = "_SimpleLayout_1fd8j_1";
|
|
44955
|
+
const customScrollBar = "_customScrollBar_1fd8j_8";
|
|
44962
44956
|
var styles = {
|
|
44963
44957
|
SimpleLayout: SimpleLayout$1,
|
|
44964
44958
|
customScrollBar
|
|
@@ -45173,7 +45167,6 @@ const SimpleLayout = (props) => {
|
|
|
45173
45167
|
bodyStyle: { padding: 0 },
|
|
45174
45168
|
className: styles.customScrollBar
|
|
45175
45169
|
}, /* @__PURE__ */ React__default.createElement(Tabs$1, null, /* @__PURE__ */ React__default.createElement(Tabs$1.TabPane, {
|
|
45176
|
-
style: { marginTop: 0 },
|
|
45177
45170
|
key: "Configuration",
|
|
45178
45171
|
title: "Configuration"
|
|
45179
45172
|
}, /* @__PURE__ */ React__default.createElement(AttributePanel, null)), showSourceCode && /* @__PURE__ */ React__default.createElement(Tabs$1.TabPane, {
|