eddyter 1.4.1-beta.3 → 1.4.1
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/{generateDocxThumbnail-KuVknHKp.js → generateDocxThumbnail-DMHM2faY.js} +1 -1
- package/dist/{generatePdfThumbnail-CMIKG-Xq.js → generatePdfThumbnail-DPyHgUN3.js} +1 -1
- package/dist/{generateXlsxThumbnail-BmJZYUO5.js → generateXlsxThumbnail-DUT9G8ak.js} +1 -1
- package/dist/{html2pdf.bundle.min-Dp_8vD0T.js → html2pdf.bundle.min-IWThDYz1.js} +1 -1
- package/dist/{index-5Np24Sit.js → index-CLkqYaRT.js} +4 -4
- package/dist/{index-CBo8rQAZ.js → index-CoePV4Hh.js} +1 -1
- package/dist/{index-CU0dESjk.js → index-DEq8XY_W.js} +6 -6
- package/dist/{index-CqGhl881.js → index-yAe6i5D7.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as Tt, v as Se, J as Ce, h as xe } from "./index-
|
|
1
|
+
import { s as Tt, v as Se, J as Ce, h as xe } from "./index-DEq8XY_W.js";
|
|
2
2
|
import { h as Ee } from "./html2canvas.esm-C2wu93Kq.js";
|
|
3
3
|
function Ft(c) {
|
|
4
4
|
throw new Error('Could not dynamically require "' + c + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as Ci } from "./html2canvas.esm-C2wu93Kq.js";
|
|
2
|
-
import { J as yi, h as Di } from "./index-
|
|
2
|
+
import { J as yi, h as Di } from "./index-DEq8XY_W.js";
|
|
3
3
|
var In = 1252, Oi = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], Zt = {
|
|
4
4
|
/*::[*/
|
|
5
5
|
0: 1252,
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { useLexicalComposerContext as B } from "@lexical/react/LexicalComposerContext";
|
|
3
3
|
import { $getNodeByKey as b } from "lexical";
|
|
4
4
|
import { useState as E, useEffect as N } from "react";
|
|
5
|
-
import { w as y, x as k, y as I, F as x, z as T, G as W } from "./index-
|
|
5
|
+
import { w as y, x as k, y as I, F as x, z as T, G as W } from "./index-DEq8XY_W.js";
|
|
6
6
|
function $(e, t) {
|
|
7
7
|
const c = e.split(".").pop()?.toLowerCase();
|
|
8
8
|
return c === "pdf" || t.startsWith("data:application/pdf") ? "pdf" : c === "docx" || t.startsWith("data:application/vnd.openxmlformats") && e.toLowerCase().endsWith(".docx") ? "docx" : c === "xlsx" || c === "xls" || t.startsWith("data:application/vnd.openxmlformats-officedocument.spreadsheetml") || t.startsWith("data:application/vnd.ms-excel") ? "xlsx" : null;
|
|
@@ -16,15 +16,15 @@ function z(e, t) {
|
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
18
|
let l = !1;
|
|
19
|
-
return d === "pdf" ? import("./generatePdfThumbnail-
|
|
19
|
+
return d === "pdf" ? import("./generatePdfThumbnail-DPyHgUN3.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
|
|
20
20
|
l || n(o);
|
|
21
21
|
}).catch(() => {
|
|
22
22
|
l || n(null);
|
|
23
|
-
}) : d === "docx" ? import("./generateDocxThumbnail-
|
|
23
|
+
}) : d === "docx" ? import("./generateDocxThumbnail-DMHM2faY.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
|
|
24
24
|
l || n(o);
|
|
25
25
|
}).catch(() => {
|
|
26
26
|
l || n(null);
|
|
27
|
-
}) : d === "xlsx" && import("./generateXlsxThumbnail-
|
|
27
|
+
}) : d === "xlsx" && import("./generateXlsxThumbnail-DUT9G8ak.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
|
|
28
28
|
l || n(o);
|
|
29
29
|
}).catch(() => {
|
|
30
30
|
l || n(null);
|
|
@@ -16,7 +16,7 @@ import { useLexicalNodeSelection as Te } from "@lexical/react/useLexicalNodeSele
|
|
|
16
16
|
import { mergeRegister as _e } from "@lexical/utils";
|
|
17
17
|
import { RootNode as Qt, TextNode as Zt, LineBreakNode as te, ParagraphNode as ee, $getSelection as et, $isNodeSelection as ct, $isParagraphNode as Pt, $setSelection as gt, $isRangeSelection as je, SELECTION_CHANGE_COMMAND as Ye, COMMAND_PRIORITY_LOW as K, CLICK_COMMAND as Oe, DRAGSTART_COMMAND as He, KEY_DELETE_COMMAND as Fe, KEY_BACKSPACE_COMMAND as Xe, KEY_ENTER_COMMAND as Be, KEY_ESCAPE_COMMAND as Ue, $getNodeByKey as rt, createCommand as Ke } from "lexical";
|
|
18
18
|
import ht, { useState as S, useRef as G, useMemo as _t, useCallback as I, useEffect as V, useLayoutEffect as qe, Suspense as Ge } from "react";
|
|
19
|
-
import { c as ft, D as re, a as oe, b as ie, d as ae, e as ne, f as se, B as jt, L as de, i as ce, C as xt, I as Ve, S as Je, u as Qe, $ as q, t as z, g as Ze, h as tr, W as er, j as rr, A as or, k as ir, l as ar, T as nr, m as sr, n as dr, E as cr, o as lr, p as ur, q as mr, r as gr } from "./index-
|
|
19
|
+
import { c as ft, D as re, a as oe, b as ie, d as ae, e as ne, f as se, B as jt, L as de, i as ce, C as xt, I as Ve, S as Je, u as Qe, $ as q, t as z, g as Ze, h as tr, W as er, j as rr, A as or, k as ir, l as ar, T as nr, m as sr, n as dr, E as cr, o as lr, p as ur, q as mr, r as gr } from "./index-DEq8XY_W.js";
|
|
20
20
|
import "react-dom";
|
|
21
21
|
const le = ft("Crop", [
|
|
22
22
|
["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
|
|
@@ -964,7 +964,7 @@ function cj(t) {
|
|
|
964
964
|
}
|
|
965
965
|
const Wn = vr(
|
|
966
966
|
"AI_ACTION_COMMAND"
|
|
967
|
-
), k4 = vr(), Oj = Pt.lazy(() => import("./index-
|
|
967
|
+
), k4 = vr(), Oj = Pt.lazy(() => import("./index-CoePV4Hh.js"));
|
|
968
968
|
function dj(t) {
|
|
969
969
|
return t.parentElement != null && t.parentElement.tagName === "LI" && t.previousSibling === null && t.getAttribute("aria-roledescription") === "checkbox";
|
|
970
970
|
}
|
|
@@ -61382,7 +61382,7 @@ const Ap = (t) => {
|
|
|
61382
61382
|
)
|
|
61383
61383
|
}
|
|
61384
61384
|
);
|
|
61385
|
-
}, X_e = _.lazy(() => import("./index-
|
|
61385
|
+
}, X_e = _.lazy(() => import("./index-CLkqYaRT.js"));
|
|
61386
61386
|
function R_e(t) {
|
|
61387
61387
|
if (t instanceof HTMLDivElement) {
|
|
61388
61388
|
const e = t.getAttribute("data-lexical-file-src"), r = t.getAttribute("data-lexical-file-name");
|
|
@@ -64330,7 +64330,7 @@ function kXe({
|
|
|
64330
64330
|
function Gy(t) {
|
|
64331
64331
|
return t instanceof UO;
|
|
64332
64332
|
}
|
|
64333
|
-
const TXe = Pt.lazy(() => import("./index-
|
|
64333
|
+
const TXe = Pt.lazy(() => import("./index-yAe6i5D7.js"));
|
|
64334
64334
|
function _Xe(t) {
|
|
64335
64335
|
const e = t;
|
|
64336
64336
|
if (e.src.startsWith("file:///"))
|
|
@@ -67626,7 +67626,7 @@ const Fo = {
|
|
|
67626
67626
|
NEAR_BLACK: "#111111"
|
|
67627
67627
|
}
|
|
67628
67628
|
}, v2e = async () => {
|
|
67629
|
-
const t = await import("./html2pdf.bundle.min-
|
|
67629
|
+
const t = await import("./html2pdf.bundle.min-IWThDYz1.js").then((e) => e.h);
|
|
67630
67630
|
return t?.default || t;
|
|
67631
67631
|
};
|
|
67632
67632
|
async function P2e(t, e = "document.pdf", r) {
|
|
@@ -86769,7 +86769,7 @@ const t4e = 2 * 60 * 1e3, r4e = ({
|
|
|
86769
86769
|
className: a ? "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-2" : "cteditor-text-[10px] cteditor-text-gray-500 dark:cteditor-text-gray-400",
|
|
86770
86770
|
children: [
|
|
86771
86771
|
"v",
|
|
86772
|
-
"1.4.1
|
|
86772
|
+
"1.4.1"
|
|
86773
86773
|
]
|
|
86774
86774
|
}
|
|
86775
86775
|
)
|
|
@@ -87516,7 +87516,7 @@ const Jd = ({
|
|
|
87516
87516
|
className: e = "",
|
|
87517
87517
|
darkMode: r
|
|
87518
87518
|
}) => {
|
|
87519
|
-
const [n, i] = q(() => r !== void 0 ? r : document.documentElement.classList.contains("dark") || document.body.classList.contains("dark")), [o, a] = q(null), s = se(null);
|
|
87519
|
+
const [n, i] = q(() => r !== void 0 ? r : typeof document > "u" ? !1 : document.documentElement.classList.contains("dark") || document.body.classList.contains("dark")), [o, a] = q(null), s = se(null);
|
|
87520
87520
|
return K(() => {
|
|
87521
87521
|
s.current && a(s.current), w4e(w0.defaultFontFamilies);
|
|
87522
87522
|
}, []), K(() => {
|
|
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as ht } from "@lexical/react/useLexicalNodeSele
|
|
|
15
15
|
import { mergeRegister as pt } from "@lexical/utils";
|
|
16
16
|
import { $getSelection as L, $isNodeSelection as h, $setSelection as O, SELECTION_CHANGE_COMMAND as bt, COMMAND_PRIORITY_LOW as f, CLICK_COMMAND as Ct, DRAGSTART_COMMAND as Nt, KEY_DELETE_COMMAND as xt, KEY_BACKSPACE_COMMAND as vt, KEY_ENTER_COMMAND as Et, KEY_ESCAPE_COMMAND as yt, RootNode as Rt, TextNode as kt, LineBreakNode as At, ParagraphNode as St, $getNodeByKey as k, $isParagraphNode as T } from "lexical";
|
|
17
17
|
import { useRef as P, useState as j, useCallback as x, useEffect as Dt } from "react";
|
|
18
|
-
import { H as v, W as Lt, j as Pt, A as Mt, k as _t, l as $t, T as zt, y as It, L as Wt, i as Ot } from "./index-
|
|
18
|
+
import { H as v, W as Lt, j as Pt, A as Mt, k as _t, l as $t, T as zt, y as It, L as Wt, i as Ot } from "./index-DEq8XY_W.js";
|
|
19
19
|
function ie({
|
|
20
20
|
src: w,
|
|
21
21
|
nodeKey: g,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as a, M as r, N as t, O as s, P as o, Q as d, R as v, U as u, V as f, X as n, Y as l, Z as w } from "./index-
|
|
1
|
+
import { K as a, M as r, N as t, O as s, P as o, Q as d, R as v, U as u, V as f, X as n, Y as l, Z as w } from "./index-DEq8XY_W.js";
|
|
2
2
|
export {
|
|
3
3
|
a as ConfigurableEditor,
|
|
4
4
|
r as ConfigurableEditorWithAuth,
|