eddyter 1.4.19-beta.0 → 1.4.19
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/{AIChatPlugin-r4Q1CC4S.js → AIChatPlugin-BUWq8ixX.js} +3 -3
- package/dist/{CombinedAutocompletGrammarPlugin-BuAfoCfe.js → CombinedAutocompletGrammarPlugin-Dq25w8tq.js} +2 -2
- package/dist/{CommentBubblePlugin-B8Q5ZxWY.js → CommentBubblePlugin-B77d3Qq6.js} +1 -1
- package/dist/{CommentPlugin-BICzJnwy.js → CommentPlugin-BJQyKmrN.js} +60 -45
- package/dist/{NotePanelPlugin-igN9zPi_.js → NotePanelPlugin-BqOdcg07.js} +1 -1
- package/dist/{TextEnhancePlugin-q9i0TKCN.js → TextEnhancePlugin-BnmdRgUu.js} +6 -6
- package/dist/assets/style.css +1 -1
- package/dist/{generateDocxThumbnail-wh4lnFAw.js → generateDocxThumbnail-DBMxjZ83.js} +1 -1
- package/dist/{generatePdfThumbnail-DQyYzjOS.js → generatePdfThumbnail-Cv2-ZCzh.js} +1 -1
- package/dist/{generateXlsxThumbnail-DqvyM6q9.js → generateXlsxThumbnail-UHmNc7Fa.js} +1 -1
- package/dist/{index-Bzry1HiS.js → index-BaWQzoL2.js} +11 -11
- package/dist/{index-jEC_qTLD.js → index-Bex3G_eE.js} +5100 -5017
- package/dist/{index-w_DzPr7S.js → index-C_mjLQUF.js} +2 -2
- package/dist/{index-m-NFtIUR.js → index-ChSepytp.js} +21 -21
- package/dist/{index-DEW_Wgag.js → index-Cl_A9eof.js} +59 -59
- package/dist/{index-DQah7JmS.js → index-DcHU8PlQ.js} +1 -1
- package/dist/{index-BWs0p6X8.js → index-q_TW8dU1.js} +15 -15
- package/dist/index.js +3 -3
- package/dist/nodes/ButtonNode.d.ts +1 -1
- package/dist/{sparkles-N8q1Rg6P.js → sparkles-C-XoMho5.js} +1 -1
- package/dist/ui/Icons.d.ts +14 -3
- package/dist/{useVoiceToText-BSB1QOIb.js → useVoiceToText-BzaLSbRi.js} +6 -6
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as Tt, g as Se } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
2
2
|
import { h as Ce } from "./html2canvas.esm-BD_Vwvv8.js";
|
|
3
|
-
import { aa as xe,
|
|
3
|
+
import { aa as xe, aN as Ee } from "./index-Bex3G_eE.js";
|
|
4
4
|
function Ft(c) {
|
|
5
5
|
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.');
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as Ci } from "./html2canvas.esm-BD_Vwvv8.js";
|
|
2
|
-
import { aa as yi,
|
|
2
|
+
import { aa as yi, aN as Di } from "./index-Bex3G_eE.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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as b } from "react/jsx-runtime";
|
|
2
2
|
import { useLexicalComposerContext as k } from "@lexical/react/LexicalComposerContext";
|
|
3
|
-
import { c as L,
|
|
3
|
+
import { c as L, az as I, aA as w } from "./index-Bex3G_eE.js";
|
|
4
4
|
import { useBasicTypeaheadTriggerMatch as C, LexicalTypeaheadMenuPlugin as S, MenuOption as R } from "@lexical/react/LexicalTypeaheadMenuPlugin";
|
|
5
5
|
import { useState as y, useMemo as v, useCallback as g, useEffect as O } from "react";
|
|
6
6
|
import * as A from "react-dom";
|
|
@@ -21,7 +21,7 @@ const E = L("UserRound", [
|
|
|
21
21
|
}, 500);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function z(o = [], e) {
|
|
25
25
|
const [r, c] = y([]);
|
|
26
26
|
return O(() => {
|
|
27
27
|
const t = m.get(e);
|
|
@@ -40,7 +40,7 @@ function Q(o = [], e) {
|
|
|
40
40
|
}
|
|
41
41
|
}, [e]), r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Q(o, e) {
|
|
44
44
|
const r = D.exec(o);
|
|
45
45
|
if (r !== null) {
|
|
46
46
|
const c = r[1], t = r[3];
|
|
@@ -53,17 +53,17 @@ function z(o, e) {
|
|
|
53
53
|
}
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function H(o) {
|
|
57
|
+
return Q(o, 0);
|
|
58
58
|
}
|
|
59
|
-
class
|
|
59
|
+
class V extends R {
|
|
60
60
|
name;
|
|
61
61
|
picture;
|
|
62
62
|
constructor(e, r) {
|
|
63
63
|
super(e), this.name = e, this.picture = r;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function q({
|
|
67
67
|
index: o,
|
|
68
68
|
isSelected: e,
|
|
69
69
|
onClick: r,
|
|
@@ -92,11 +92,11 @@ function V({
|
|
|
92
92
|
function Y({
|
|
93
93
|
userList: o
|
|
94
94
|
}) {
|
|
95
|
-
const [e] = k(), [r, c] = y(null), t =
|
|
95
|
+
const [e] = k(), [r, c] = y(null), t = z(o, r), { isDark: a } = I(), f = C("/", {
|
|
96
96
|
minLength: 0
|
|
97
97
|
}), l = v(
|
|
98
98
|
() => t.map(
|
|
99
|
-
(n) => new
|
|
99
|
+
(n) => new V(
|
|
100
100
|
n,
|
|
101
101
|
/* @__PURE__ */ i("i", { className: "cteditor-flex cteditor-items-center cteditor-justify-center cteditor-w-6 cteditor-h-6 cteditor-rounded-full cteditor-bg-muted cteditor-shrink-0 group-[.selected]:cteditor-bg-primary-foreground/20", children: /* @__PURE__ */ i(E, { size: 14 }) })
|
|
102
102
|
)
|
|
@@ -111,7 +111,7 @@ function Y({
|
|
|
111
111
|
},
|
|
112
112
|
[e]
|
|
113
113
|
), T = g(
|
|
114
|
-
(n) => f(n, e) !== null ? null :
|
|
114
|
+
(n) => f(n, e) !== null ? null : H(n),
|
|
115
115
|
[f, e]
|
|
116
116
|
);
|
|
117
117
|
return /* @__PURE__ */ i(
|
|
@@ -123,7 +123,7 @@ function Y({
|
|
|
123
123
|
options: l,
|
|
124
124
|
menuRenderFn: (n, { selectedIndex: s, selectOptionAndCleanUp: p, setHighlightedIndex: d }) => n.current ? A.createPortal(
|
|
125
125
|
/* @__PURE__ */ i("div", { id: "ct-editor-f47ac10b", className: `typeahead-popover mentions-menu eddyter-scope ${a ? "dark cteditor-dark" : ""} `, style: { width: "fit-content", borderRadius: "6px" }, children: l.length > 0 ? /* @__PURE__ */ i("ul", { className: "cteditor-list-none cteditor-m-0 cteditor-p-0 cteditor-w-fit cteditor-border cteditor-rounded-md cteditor-border-foreground/10", children: l.map((h, u) => /* @__PURE__ */ i(
|
|
126
|
-
|
|
126
|
+
q,
|
|
127
127
|
{
|
|
128
128
|
index: u,
|
|
129
129
|
isSelected: s === u,
|