eddyter 1.3.72 → 1.3.73
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/dist/{html2pdf.bundle-DtdbE3Ef.js → html2pdf.bundle-CQue4YDW.js} +1 -1
- package/dist/{html2pdf.bundle.min-ueEUqC7o.js → html2pdf.bundle.min-BEj2NT3U.js} +1 -1
- package/dist/{index-Bt9roHQt.js → index-BO5ICrpG.js} +1 -1
- package/dist/{index-BHfYWOP6.js → index-Buj5fA92.js} +1 -1
- package/dist/{index-Bi4uxun-.js → index-CX3cfSUQ.js} +1 -1
- package/dist/{index-Cb9vNKe0.js → index-CfRDm1jv.js} +8 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
|
|
3
3
|
import { $getNodeByKey as w } from "lexical";
|
|
4
|
-
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-
|
|
4
|
+
import { q as k, r as F, F as y, s as N, v as C, w as D } from "./index-CfRDm1jv.js";
|
|
5
5
|
const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : t < 1024 * 1024 * 1024 ? `${(t / (1024 * 1024)).toFixed(1)} MB` : `${(t / (1024 * 1024 * 1024)).toFixed(1)} GB` : "", E = (t) => {
|
|
6
6
|
const o = t.split(".");
|
|
7
7
|
return o.length > 1 ? o[o.length - 1].toLowerCase() : "";
|
|
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as me } from "@lexical/react/useLexicalNodeSele
|
|
|
15
15
|
import { mergeRegister as fe } from "@lexical/utils";
|
|
16
16
|
import { $getSelection as M, $isNodeSelection as m, $setSelection as $, SELECTION_CHANGE_COMMAND as ge, COMMAND_PRIORITY_LOW as u, CLICK_COMMAND as pe, DRAGSTART_COMMAND as Ce, KEY_DELETE_COMMAND as Ee, KEY_BACKSPACE_COMMAND as he, KEY_ENTER_COMMAND as Ne, KEY_ESCAPE_COMMAND as be, RootNode as ve, TextNode as Re, LineBreakNode as xe, ParagraphNode as De, $getNodeByKey as _ } from "lexical";
|
|
17
17
|
import { useRef as A, useState as B, useCallback as E, useEffect as Se } from "react";
|
|
18
|
-
import { x as v, r as Me, L as _e, i as Ae } from "./index-
|
|
18
|
+
import { x as v, r as Me, L as _e, i as Ae } from "./index-CfRDm1jv.js";
|
|
19
19
|
function Ge({
|
|
20
20
|
src: Y,
|
|
21
21
|
nodeKey: f,
|
|
@@ -16,7 +16,7 @@ import { useLexicalNodeSelection as lt } from "@lexical/react/useLexicalNodeSele
|
|
|
16
16
|
import { mergeRegister as mt } from "@lexical/utils";
|
|
17
17
|
import { RootNode as Re, TextNode as Pe, LineBreakNode as De, ParagraphNode as Se, $getSelection as O, $isNodeSelection as L, $isParagraphNode as Z, $setSelection as ee, $isRangeSelection as ut, SELECTION_CHANGE_COMMAND as gt, COMMAND_PRIORITY_LOW as v, CLICK_COMMAND as ft, DRAGSTART_COMMAND as pt, KEY_DELETE_COMMAND as ht, KEY_BACKSPACE_COMMAND as bt, KEY_ENTER_COMMAND as yt, KEY_ESCAPE_COMMAND as xt, createCommand as Ct, $getNodeByKey as _ } from "lexical";
|
|
18
18
|
import { useRef as z, useState as p, useEffect as te, useLayoutEffect as Nt, useCallback as x, Suspense as wt } from "react";
|
|
19
|
-
import { a as vt, D as Et, b as kt, d as It, e as Rt, f as Pt, h as Dt, B as be, L as Ae, i as Le, u as St, $ as M, W as At, j as Lt, A as Mt, k as $t, l as Ot, T as _t, m as zt, S as Wt, E as jt, n as Kt, t as E, o as Bt, p as Tt, C as Ft } from "./index-
|
|
19
|
+
import { a as vt, D as Et, b as kt, d as It, e as Rt, f as Pt, h as Dt, B as be, L as Ae, i as Le, u as St, $ as M, W as At, j as Lt, A as Mt, k as $t, l as Ot, T as _t, m as zt, S as Wt, E as jt, n as Kt, t as E, o as Bt, p as Tt, C as Ft } from "./index-CfRDm1jv.js";
|
|
20
20
|
const Gt = vt("Link2", [
|
|
21
21
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
22
22
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
@@ -65,7 +65,7 @@ const Dm = nc(
|
|
|
65
65
|
children: t
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
|
-
}, Fx = () => "
|
|
68
|
+
}, Fx = () => typeof window < "u" && window.location.hostname.includes("cteditor.com") ? "staging" : "prod", $x = Fx(), Hx = {
|
|
69
69
|
local: {
|
|
70
70
|
backendEndpoint: "http://localhost:3000",
|
|
71
71
|
validationEndpoint: "http://localhost:3000/api/license/validate",
|
|
@@ -1675,7 +1675,7 @@ const Ew = async ({ content: t, apiKey: e, userTextLength: r }) => {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
}, Tt = Rt(
|
|
1677
1677
|
"AI_ACTION_COMMAND"
|
|
1678
|
-
), Rw = ae.lazy(() => import("./index-
|
|
1678
|
+
), Rw = ae.lazy(() => import("./index-CX3cfSUQ.js"));
|
|
1679
1679
|
function Lw(t) {
|
|
1680
1680
|
return t.parentElement != null && t.parentElement.tagName === "LI" && t.previousSibling === null && t.getAttribute("aria-roledescription") === "checkbox";
|
|
1681
1681
|
}
|
|
@@ -15519,7 +15519,7 @@ const Ys = (t) => {
|
|
|
15519
15519
|
)
|
|
15520
15520
|
}
|
|
15521
15521
|
);
|
|
15522
|
-
}, oE = C.lazy(() => import("./index-
|
|
15522
|
+
}, oE = C.lazy(() => import("./index-BO5ICrpG.js"));
|
|
15523
15523
|
function nE(t) {
|
|
15524
15524
|
if (t instanceof HTMLDivElement) {
|
|
15525
15525
|
const e = t.getAttribute("data-lexical-file-src"), r = t.getAttribute("data-lexical-file-name");
|
|
@@ -18386,7 +18386,7 @@ function eS({
|
|
|
18386
18386
|
function Il(t) {
|
|
18387
18387
|
return t instanceof Yn;
|
|
18388
18388
|
}
|
|
18389
|
-
const tS = ae.lazy(() => import("./index-
|
|
18389
|
+
const tS = ae.lazy(() => import("./index-Buj5fA92.js"));
|
|
18390
18390
|
function rS(t) {
|
|
18391
18391
|
const e = t;
|
|
18392
18392
|
if (e.src.startsWith("file:///"))
|
|
@@ -20660,10 +20660,10 @@ const Jr = {
|
|
|
20660
20660
|
}
|
|
20661
20661
|
}, IS = async () => {
|
|
20662
20662
|
try {
|
|
20663
|
-
const t = await import("./html2pdf.bundle.min-
|
|
20663
|
+
const t = await import("./html2pdf.bundle.min-BEj2NT3U.js").then((e) => e.h);
|
|
20664
20664
|
return t?.default || t;
|
|
20665
20665
|
} catch {
|
|
20666
|
-
const t = await import("./html2pdf.bundle-
|
|
20666
|
+
const t = await import("./html2pdf.bundle-CQue4YDW.js").then((e) => e.h);
|
|
20667
20667
|
return t?.default || t;
|
|
20668
20668
|
}
|
|
20669
20669
|
};
|
|
@@ -38702,14 +38702,14 @@ const Q7 = 2 * 60 * 1e3, eR = ({
|
|
|
38702
38702
|
] }),
|
|
38703
38703
|
/* @__PURE__ */ b("span", { className: "cteditor-text-[10px] cteditor-text-gray-500 dark:cteditor-text-gray-400 cteditor-border-l cteditor-border-gray-200 dark:cteditor-border-gray-700 cteditor-pl-3", children: [
|
|
38704
38704
|
"v",
|
|
38705
|
-
"1.3.
|
|
38705
|
+
"1.3.73"
|
|
38706
38706
|
] })
|
|
38707
38707
|
] }) : /* @__PURE__ */ b("div", { className: "cteditor-flex cteditor-items-center cteditor-gap-1.5 cteditor-text-gray-500 dark:cteditor-text-gray-400", children: [
|
|
38708
38708
|
/* @__PURE__ */ i(tR, { size: 14, className: "cteditor-shrink-0" }),
|
|
38709
38709
|
/* @__PURE__ */ i("span", { className: "cteditor-font-medium cteditor-text-foreground/80", children: "eddyter" }),
|
|
38710
38710
|
/* @__PURE__ */ b("span", { className: "cteditor-text-[10px]", children: [
|
|
38711
38711
|
"v",
|
|
38712
|
-
"1.3.
|
|
38712
|
+
"1.3.73"
|
|
38713
38713
|
] })
|
|
38714
38714
|
] }) });
|
|
38715
38715
|
}, Mv = "draggable-block-menu";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as a, z as r, G as t, H as s, I as o, J as d, K as v, M as u, N as f, O as n, P as l, Q as w } from "./index-
|
|
1
|
+
import { y as a, z as r, G as t, H as s, I as o, J as d, K as v, M as u, N as f, O as n, P as l, Q as w } from "./index-CfRDm1jv.js";
|
|
2
2
|
export {
|
|
3
3
|
a as ConfigurableEditor,
|
|
4
4
|
r as ConfigurableEditorWithAuth,
|