eddyter 1.4.1-beta.2 → 1.4.1-beta.3
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-BI1KNMQ0.js → generateDocxThumbnail-KuVknHKp.js} +1 -1
- package/dist/{generatePdfThumbnail-BbeFjmU8.js → generatePdfThumbnail-CMIKG-Xq.js} +1 -1
- package/dist/{generateXlsxThumbnail-C-Nl4L4S.js → generateXlsxThumbnail-BmJZYUO5.js} +1 -1
- package/dist/{html2pdf.bundle.min-CkWPSMgx.js → html2pdf.bundle.min-Dp_8vD0T.js} +1 -1
- package/dist/{index-Ditr63DI.js → index-5Np24Sit.js} +4 -4
- package/dist/{index-CuTC2G3E.js → index-CBo8rQAZ.js} +1 -1
- package/dist/{index-BOOPaoFA.js → index-CU0dESjk.js} +258 -256
- package/dist/{index-_ZFyP1BG.js → index-CqGhl881.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-CU0dESjk.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-CU0dESjk.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-CU0dESjk.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-CMIKG-Xq.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-KuVknHKp.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-BmJZYUO5.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-CU0dESjk.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" }],
|