@thanhpv102/easy-email-extensions 4.19.14 → 4.19.16
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/Height.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Width.d.ts +1 -1
- 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/{CodemirrorEditor-B0nH-2n2.mjs → CodemirrorEditor-DYZlp2Fn.mjs} +11 -8
- package/lib/{CodemirrorEditor-B0nH-2n2.mjs.map → CodemirrorEditor-DYZlp2Fn.mjs.map} +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/components/Form/RichTextField/index.d.ts +1 -1
- package/lib/components/Form/enhancer.d.ts +1 -1
- package/lib/index.js +4736 -66573
- package/lib/index.js.map +1 -1
- package/lib/utils/MjmlToJson.d.ts +1 -1
- package/lib/utils/formBridge.d.ts +2 -2
- package/lib/utils/getBlockTitle.d.ts +1 -1
- package/lib/utils/parseXMLtoBlock.d.ts +1 -1
- package/package.json +3 -3
- package/lib/jsx-runtime-8YvX2TkJ.mjs +0 -193
- package/lib/jsx-runtime-8YvX2TkJ.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputWithUnitProps } from '../../../components/Form/InputWithUnit';
|
|
2
|
-
import { UseFieldConfig } from 'easy-email-editor';
|
|
2
|
+
import { UseFieldConfig } from '@thanhpv102/easy-email-editor';
|
|
3
3
|
export declare function Width({ inline, unitOptions, config, }: {
|
|
4
4
|
inline?: boolean;
|
|
5
5
|
unitOptions?: InputWithUnitProps['unitOptions'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import TableOperationMenu from './tableOperationMenu';
|
|
2
|
-
import { AdvancedTableBlock } from 'easy-email-core';
|
|
2
|
+
import { AdvancedTableBlock } from '@thanhpv102/easy-email-core';
|
|
3
3
|
import { IOperationData } from './type';
|
|
4
4
|
export interface IBorderTool {
|
|
5
5
|
top: HTMLElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBoundaryRect, IBoundingPosition, IOperationData } from './type';
|
|
2
|
-
import { AdvancedTableBlock } from 'easy-email-core';
|
|
2
|
+
import { AdvancedTableBlock } from '@thanhpv102/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 '@thanhpv102/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,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e, t } from "./index.js";
|
|
2
2
|
import "react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
4
|
//#region ../../node_modules/.pnpm/codemirror@5.65.21/node_modules/codemirror/lib/codemirror.js
|
|
4
5
|
var r = /* @__PURE__ */ t(((e, t) => {
|
|
5
6
|
(function(n, r) {
|
|
@@ -6237,13 +6238,15 @@ var r = /* @__PURE__ */ t(((e, t) => {
|
|
|
6237
6238
|
}(o.Component);
|
|
6238
6239
|
}));
|
|
6239
6240
|
i();
|
|
6240
|
-
var o = a(), s = { container: "_container_13rz9_1" }
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6241
|
+
var o = a(), s = { container: "_container_13rz9_1" };
|
|
6242
|
+
//#endregion
|
|
6243
|
+
//#region src/components/Form/CodemirrorEditor/index.tsx
|
|
6244
|
+
function c(e) {
|
|
6245
|
+
let { value: t, onChange: r } = e;
|
|
6246
|
+
return /* @__PURE__ */ n(o.Controlled, {
|
|
6244
6247
|
className: s.container,
|
|
6245
6248
|
value: t,
|
|
6246
|
-
onBeforeChange: (e, t,
|
|
6249
|
+
onBeforeChange: (e, t, n) => r(n),
|
|
6247
6250
|
options: {
|
|
6248
6251
|
mode: "xml",
|
|
6249
6252
|
theme: "material",
|
|
@@ -6257,6 +6260,6 @@ function l(e) {
|
|
|
6257
6260
|
});
|
|
6258
6261
|
}
|
|
6259
6262
|
//#endregion
|
|
6260
|
-
export {
|
|
6263
|
+
export { c as default };
|
|
6261
6264
|
|
|
6262
|
-
//# sourceMappingURL=CodemirrorEditor-
|
|
6265
|
+
//# sourceMappingURL=CodemirrorEditor-DYZlp2Fn.mjs.map
|