@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.
@@ -1,4 +1,4 @@
1
- import { UseFieldConfig } from 'easy-email-editor';
1
+ import { UseFieldConfig } from '@thanhpv102/easy-email-editor';
2
2
  export declare function Height({ inline, config, }: {
3
3
  inline?: boolean;
4
4
  config?: UseFieldConfig;
@@ -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,4 +1,4 @@
1
- import { IAdvancedTableData } from 'easy-email-core';
1
+ import { IAdvancedTableData } from '@thanhpv102/easy-email-core';
2
2
  export interface IOperationData extends IAdvancedTableData {
3
3
  top: number;
4
4
  bottom: number;
@@ -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,5 @@
1
1
  import React from 'react';
2
- import { IBlockData } from 'easy-email-core';
2
+ import { IBlockData } from '@thanhpv102/easy-email-core';
3
3
  export interface IBlockDataWithId extends IBlockData {
4
4
  id: string;
5
5
  icon?: React.ReactElement;
@@ -1,5 +1,6 @@
1
- import { i as e, n as t, t as n } from "./jsx-runtime-8YvX2TkJ.mjs";
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" }, c = n();
6241
- function l(e) {
6242
- let { value: t, onChange: n } = e;
6243
- return /* @__PURE__ */ (0, c.jsx)(o.Controlled, {
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, r) => n(r),
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 { l as default };
6263
+ export { c as default };
6261
6264
 
6262
- //# sourceMappingURL=CodemirrorEditor-B0nH-2n2.mjs.map
6265
+ //# sourceMappingURL=CodemirrorEditor-DYZlp2Fn.mjs.map