eddyter 1.3.59 → 1.3.60
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/api/ai/aiAgentService.d.ts +44 -0
- package/dist/assets/style.css +1 -1
- package/dist/babel-44680aef.js +7744 -0
- package/dist/components/TextEnhanceDialog/index.d.ts +1 -1
- package/dist/editorConfig.d.ts +1 -0
- package/dist/estree-a7dc9ac5.js +4647 -0
- package/dist/html-f2fcab26.js +2882 -0
- package/dist/{html2pdf.bundle-eacf777f.js → html2pdf.bundle-519d30c0.js} +1 -1
- package/dist/{html2pdf.bundle.min-d9ce156b.js → html2pdf.bundle.min-8451fd59.js} +1 -1
- package/dist/{index-1da728d1.js → index-8889e1ba.js} +4 -3
- package/dist/{index-940faa12.js → index-98d915c4.js} +4 -3
- package/dist/{index-25fd6b76.js → index-e3302f38.js} +14624 -14366
- package/dist/index.js +14 -13
- package/dist/markdown-48d2f5f1.js +3592 -0
- package/dist/plugins/AIChatPlugin.d.ts +1 -2
- package/dist/postcss-9ac167c3.js +5172 -0
- package/dist/standalone-2029bc8b.js +2467 -0
- package/dist/types.d.ts +2 -0
- package/dist/typescript-bd1bb88f.js +13632 -0
- package/package.json +4 -2
- package/dist/babel-2d5b260f.js +0 -7770
- package/dist/estree-28f5912a.js +0 -4920
- package/dist/html-3f297a3a.js +0 -3021
- package/dist/markdown-08edd93b.js +0 -3625
- package/dist/postcss-0e22bc25.js +0 -5187
- package/dist/standalone-83d5947a.js +0 -2728
- package/dist/typescript-0559ee85.js +0 -13660
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Gu = Object.defineProperty;
|
|
2
2
|
var zu = (fo, ho, qi) => ho in fo ? Gu(fo, ho, { enumerable: !0, configurable: !0, writable: !0, value: qi }) : fo[ho] = qi;
|
|
3
3
|
var fn = (fo, ho, qi) => (zu(fo, typeof ho != "symbol" ? ho + "" : ho, qi), qi);
|
|
4
|
-
import { g as Wu, c as ql } from "./index-
|
|
4
|
+
import { g as Wu, c as ql } from "./index-e3302f38.js";
|
|
5
5
|
function Xu(fo, ho) {
|
|
6
6
|
for (var qi = 0; qi < ho.length; qi++) {
|
|
7
7
|
const Ko = ho[qi];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var tc = Object.defineProperty;
|
|
2
2
|
var ec = (Si, Li, Gs) => Li in Si ? tc(Si, Li, { enumerable: !0, configurable: !0, writable: !0, value: Gs }) : Si[Li] = Gs;
|
|
3
3
|
var en = (Si, Li, Gs) => (ec(Si, typeof Li != "symbol" ? Li + "" : Li, Gs), Gs);
|
|
4
|
-
import { g as Ac, c as Ma } from "./index-
|
|
4
|
+
import { g as Ac, c as Ma } from "./index-e3302f38.js";
|
|
5
5
|
function rc(Si, Li) {
|
|
6
6
|
for (var Gs = 0; Gs < Li.length; Gs++) {
|
|
7
7
|
const qs = Li[Gs];
|
|
@@ -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, u as C, v as D } from "./index-
|
|
4
|
+
import { q as k, r as F, F as y, s as N, u as C, v as D } from "./index-e3302f38.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "axios";
|
|
7
7
|
import "react-dom";
|
|
@@ -19,6 +19,7 @@ import "@lexical/react/LexicalRichTextPlugin";
|
|
|
19
19
|
import "@lexical/react/LexicalTablePlugin";
|
|
20
20
|
import "@lexical/table";
|
|
21
21
|
import "@lexical/utils";
|
|
22
|
+
import "@lexical/markdown";
|
|
22
23
|
import "@lexical/code";
|
|
23
24
|
import "@lexical/link";
|
|
24
25
|
import "@lexical/list";
|
|
@@ -38,7 +39,7 @@ const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFix
|
|
|
38
39
|
}, L = (t) => {
|
|
39
40
|
const o = E(t);
|
|
40
41
|
return ["pdf", "doc", "docx", "txt", "odt"].includes(o) ? /* @__PURE__ */ r(y, { className: "cteditor-w-8 cteditor-h-8 cteditor-text-blue-500" }) : ["zip", "rar", "7z", "tar", "gz"].includes(o) ? /* @__PURE__ */ r(N, { className: "cteditor-w-8 cteditor-h-8 cteditor-text-orange-500" }) : /* @__PURE__ */ r(C, { className: "cteditor-w-8 cteditor-h-8 cteditor-text-gray-500" });
|
|
41
|
-
},
|
|
42
|
+
}, mt = ({ src: t, fileName: o, fileSize: n, nodeKey: s }) => {
|
|
42
43
|
const [x] = v();
|
|
43
44
|
if (!t || !o)
|
|
44
45
|
return console.error("FileView: Missing required props", { src: t, fileName: o, fileSize: n, nodeKey: s }), /* @__PURE__ */ r("div", { className: "cteditor-inline-flex cteditor-items-center cteditor-gap-3 cteditor-px-4 cteditor-py-3 cteditor-my-2 cteditor-border cteditor-border-destructive cteditor-rounded-lg cteditor-bg-destructive/10", children: /* @__PURE__ */ r("div", { className: "cteditor-text-sm cteditor-text-destructive", children: "Error loading file" }) });
|
|
@@ -109,5 +110,5 @@ const B = (t) => t ? t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFix
|
|
|
109
110
|
);
|
|
110
111
|
};
|
|
111
112
|
export {
|
|
112
|
-
|
|
113
|
+
mt as default
|
|
113
114
|
};
|
|
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as st } from "@lexical/react/useLexicalNodeSele
|
|
|
15
15
|
import { calculateZoomLevel as xe, mergeRegister as dt } from "@lexical/utils";
|
|
16
16
|
import { RootNode as Se, TextNode as Le, LineBreakNode as We, ParagraphNode as Ae, $getSelection as J, $isNodeSelection as X, $isParagraphNode as we, $setSelection as ce, $isRangeSelection as lt, SELECTION_CHANGE_COMMAND as mt, COMMAND_PRIORITY_LOW as M, CLICK_COMMAND as ut, DRAGSTART_COMMAND as gt, KEY_DELETE_COMMAND as ht, KEY_BACKSPACE_COMMAND as pt, KEY_ENTER_COMMAND as ft, KEY_ESCAPE_COMMAND as bt, createCommand as yt, $getNodeByKey as U } from "lexical";
|
|
17
17
|
import { useRef as T, useState as R, useEffect as ae, useCallback as W, Suspense as xt } from "react";
|
|
18
|
-
import { a as wt, D as Ct, b as Nt, d as vt, e as kt, f as Et, h as It, B as Ce, L as Me, i as $e, $ as F, W as Pt, j as Rt, A as Dt, k as zt, l as St, T as Lt, m as Wt, S as At, E as Mt, n as $t, t as $, o as _t, p as Ot, C as Ht } from "./index-
|
|
18
|
+
import { a as wt, D as Ct, b as Nt, d as vt, e as kt, f as Et, h as It, B as Ce, L as Me, i as $e, $ as F, W as Pt, j as Rt, A as Dt, k as zt, l as St, T as Lt, m as Wt, S as At, E as Mt, n as $t, t as $, o as _t, p as Ot, C as Ht } from "./index-e3302f38.js";
|
|
19
19
|
import "axios";
|
|
20
20
|
import "react-dom";
|
|
21
21
|
import "@emotion/styled";
|
|
@@ -26,6 +26,7 @@ import "@lexical/react/LexicalHorizontalRulePlugin";
|
|
|
26
26
|
import "@lexical/react/LexicalListPlugin";
|
|
27
27
|
import "@lexical/react/LexicalTablePlugin";
|
|
28
28
|
import "@lexical/table";
|
|
29
|
+
import "@lexical/markdown";
|
|
29
30
|
import "@lexical/list";
|
|
30
31
|
import "@lexical/rich-text";
|
|
31
32
|
import "@lexical/selection";
|
|
@@ -401,7 +402,7 @@ function Ft() {
|
|
|
401
402
|
}
|
|
402
403
|
);
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
+
function Lr({
|
|
405
406
|
src: u,
|
|
406
407
|
altText: f,
|
|
407
408
|
nodeKey: b,
|
|
@@ -1011,5 +1012,5 @@ function Sr({
|
|
|
1011
1012
|
}
|
|
1012
1013
|
export {
|
|
1013
1014
|
Ne as RIGHT_CLICK_IMAGE_COMMAND,
|
|
1014
|
-
|
|
1015
|
+
Lr as default
|
|
1015
1016
|
};
|