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.
Files changed (23) hide show
  1. package/dist/{AIChatPlugin-r4Q1CC4S.js → AIChatPlugin-BUWq8ixX.js} +3 -3
  2. package/dist/{CombinedAutocompletGrammarPlugin-BuAfoCfe.js → CombinedAutocompletGrammarPlugin-Dq25w8tq.js} +2 -2
  3. package/dist/{CommentBubblePlugin-B8Q5ZxWY.js → CommentBubblePlugin-B77d3Qq6.js} +1 -1
  4. package/dist/{CommentPlugin-BICzJnwy.js → CommentPlugin-BJQyKmrN.js} +60 -45
  5. package/dist/{NotePanelPlugin-igN9zPi_.js → NotePanelPlugin-BqOdcg07.js} +1 -1
  6. package/dist/{TextEnhancePlugin-q9i0TKCN.js → TextEnhancePlugin-BnmdRgUu.js} +6 -6
  7. package/dist/assets/style.css +1 -1
  8. package/dist/{generateDocxThumbnail-wh4lnFAw.js → generateDocxThumbnail-DBMxjZ83.js} +1 -1
  9. package/dist/{generatePdfThumbnail-DQyYzjOS.js → generatePdfThumbnail-Cv2-ZCzh.js} +1 -1
  10. package/dist/{generateXlsxThumbnail-DqvyM6q9.js → generateXlsxThumbnail-UHmNc7Fa.js} +1 -1
  11. package/dist/{index-Bzry1HiS.js → index-BaWQzoL2.js} +11 -11
  12. package/dist/{index-jEC_qTLD.js → index-Bex3G_eE.js} +5100 -5017
  13. package/dist/{index-w_DzPr7S.js → index-C_mjLQUF.js} +2 -2
  14. package/dist/{index-m-NFtIUR.js → index-ChSepytp.js} +21 -21
  15. package/dist/{index-DEW_Wgag.js → index-Cl_A9eof.js} +59 -59
  16. package/dist/{index-DQah7JmS.js → index-DcHU8PlQ.js} +1 -1
  17. package/dist/{index-BWs0p6X8.js → index-q_TW8dU1.js} +15 -15
  18. package/dist/index.js +3 -3
  19. package/dist/nodes/ButtonNode.d.ts +1 -1
  20. package/dist/{sparkles-N8q1Rg6P.js → sparkles-C-XoMho5.js} +1 -1
  21. package/dist/ui/Icons.d.ts +14 -3
  22. package/dist/{useVoiceToText-BSB1QOIb.js → useVoiceToText-BzaLSbRi.js} +6 -6
  23. 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, aO as Ee } from "./index-jEC_qTLD.js";
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,4 +1,4 @@
1
- import { aa as u, aO as b } from "./index-jEC_qTLD.js";
1
+ import { aa as u, aN as b } from "./index-Bex3G_eE.js";
2
2
  const m = "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174";
3
3
  let w = null;
4
4
  async function C() {
@@ -1,5 +1,5 @@
1
1
  import { h as Ci } from "./html2canvas.esm-BD_Vwvv8.js";
2
- import { aa as yi, aO as Di } from "./index-jEC_qTLD.js";
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, aA as I, aB as w } from "./index-jEC_qTLD.js";
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 Q(o = [], e) {
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 z(o, e) {
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 B(o) {
57
- return z(o, 0);
56
+ function H(o) {
57
+ return Q(o, 0);
58
58
  }
59
- class H extends R {
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 V({
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 = Q(o, r), { isDark: a } = I(), f = C("/", {
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 H(
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 : B(n),
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
- V,
126
+ q,
127
127
  {
128
128
  index: u,
129
129
  isSelected: s === u,