eddyter 1.4.13 → 1.4.14

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.
@@ -1,6 +1,6 @@
1
1
  import { useLexicalComposerContext as a } from "@lexical/react/LexicalComposerContext";
2
2
  import { useRef as y, useEffect as v } from "react";
3
- import { u as b } from "./index-DFEFJp4J.js";
3
+ import { u as b } from "./index-BH7a8CPx.js";
4
4
  const g = () => {
5
5
  const [n] = a(), { getCommentById: o } = b(), t = y(null);
6
6
  return v(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as j } from "react/jsx-runtime";
2
2
  import A, { Component as q, forwardRef as I } from "react";
3
3
  import { _ as V, a as $ } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
4
- import { i as N } from "./index-DFEFJp4J.js";
4
+ import { i as N } from "./index-BH7a8CPx.js";
5
5
  function H(e, n) {
6
6
  if (e == null) return {};
7
7
  var r, t, o = V(e, n);
@@ -1,4 +1,4 @@
1
- import { m as Tt, i as Se, V as Ce, z as xe } from "./index-DFEFJp4J.js";
1
+ import { m as Tt, i as Se, V as Ce, z as xe } from "./index-BH7a8CPx.js";
2
2
  import { h as Ee } from "./html2canvas.esm-BD_Vwvv8.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,4 +1,4 @@
1
- import { V as u, z as b } from "./index-DFEFJp4J.js";
1
+ import { V as u, z as b } from "./index-BH7a8CPx.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 { V as yi, z as Di } from "./index-DFEFJp4J.js";
2
+ import { V as yi, z as Di } from "./index-BH7a8CPx.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,4 +1,4 @@
1
- import { m as Ka, i as $u } from "./index-DFEFJp4J.js";
1
+ import { m as Ka, i as $u } from "./index-BH7a8CPx.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];
@@ -862,7 +862,7 @@ function Ew() {
862
862
  }
863
863
  function Sw() {
864
864
  try {
865
- return "1.4.13";
865
+ return "1.4.14";
866
866
  } catch {
867
867
  return "unknown";
868
868
  }
@@ -9918,7 +9918,7 @@ const dl = () => /* @__PURE__ */ m("svg", { width: "24", height: "24", viewBox:
9918
9918
  /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i("p", { children: "Comments" }) })
9919
9919
  ] }) })
9920
9920
  }
9921
- ), T_ = cv(S_), A_ = Ct.lazy(() => import("./index-Cojy1w7r.js"));
9921
+ ), T_ = cv(S_), A_ = Ct.lazy(() => import("./index-Cy8ozH1W.js"));
9922
9922
  function L_(t) {
9923
9923
  return t.parentElement != null && t.parentElement.tagName === "LI" && t.previousSibling === null && t.getAttribute("aria-roledescription") === "checkbox";
9924
9924
  }
@@ -13862,7 +13862,7 @@ function Wb({
13862
13862
  new Gs(t, e || "", r || Date.now(), o)
13863
13863
  );
13864
13864
  }
13865
- const DN = N.lazy(() => import("./index-C9Dld3-L.js"));
13865
+ const DN = N.lazy(() => import("./index-ChTbPFck.js"));
13866
13866
  function ON(t) {
13867
13867
  if (t instanceof HTMLDivElement) {
13868
13868
  const e = t.getAttribute("data-lexical-file-src"), r = t.getAttribute("data-lexical-file-name");
@@ -17215,7 +17215,7 @@ function GE({
17215
17215
  function dd(t) {
17216
17216
  return t instanceof ai;
17217
17217
  }
17218
- const ZE = Ct.lazy(() => import("./index-ZBDns08-.js"));
17218
+ const ZE = Ct.lazy(() => import("./index-BxZPRzTs.js"));
17219
17219
  function YE(t) {
17220
17220
  const e = t;
17221
17221
  if (e.src.startsWith("file:///"))
@@ -21107,7 +21107,7 @@ function N9() {
21107
21107
  So
21108
21108
  ), [t]), null;
21109
21109
  }
21110
- const E9 = ar(() => import("./LazySignatureCanvas-D5P1189T.js")), S9 = [
21110
+ const E9 = ar(() => import("./LazySignatureCanvas-BSUT19Vt.js")), S9 = [
21111
21111
  "#FFFFFF",
21112
21112
  // white
21113
21113
  "#000000",
@@ -22935,7 +22935,7 @@ const Kr = {
22935
22935
  NEAR_BLACK: "#111111"
22936
22936
  }
22937
22937
  }, a7 = async () => {
22938
- const t = await import("./html2pdf.bundle.min-DElEIEzd.js").then((e) => e.h);
22938
+ const t = await import("./html2pdf.bundle.min-COsPeKwZ.js").then((e) => e.h);
22939
22939
  return t?.default || t;
22940
22940
  };
22941
22941
  async function c7(t, e = "document.pdf", r) {
@@ -42239,7 +42239,7 @@ const dI = 120 * 1e3, uI = ({
42239
42239
  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",
42240
42240
  children: [
42241
42241
  "v",
42242
- "1.4.13"
42242
+ "1.4.14"
42243
42243
  ]
42244
42244
  }
42245
42245
  )
@@ -42303,7 +42303,7 @@ const dI = 120 * 1e3, uI = ({
42303
42303
  "cteditor-overflow-hidden cteditor-text-ellipsis md:cteditor-whitespace-nowrap cteditor-max-w-[calc(100%-1.5rem)]",
42304
42304
  "cteditor-select-none cteditor-pointer-events-none cteditor-inline-block"
42305
42305
  )
42306
- }), yI = ar(() => Promise.resolve().then(() => w7)), xI = ar(() => Promise.resolve().then(() => l9)), vI = ar(() => import("./CommentBubblePlugin-DDCERFQO.js")), wI = ar(() => Promise.resolve().then(() => gL)), CI = ar(() => import("./index-D_izLqTY.js")), kI = ar(() => import("./index-D11sRTul.js")), _I = ar(() => Promise.resolve().then(() => GT)), NI = ar(() => Promise.resolve().then(() => wL)), EI = (t) => {
42306
+ }), yI = ar(() => Promise.resolve().then(() => w7)), xI = ar(() => Promise.resolve().then(() => l9)), vI = ar(() => import("./CommentBubblePlugin-D3bL5RBS.js")), wI = ar(() => Promise.resolve().then(() => gL)), CI = ar(() => import("./index-DDfcBODy.js")), kI = ar(() => import("./index-BM5DZ48c.js")), _I = ar(() => Promise.resolve().then(() => GT)), NI = ar(() => Promise.resolve().then(() => wL)), EI = (t) => {
42307
42307
  const [e] = Ie();
42308
42308
  return /* @__PURE__ */ i(
42309
42309
  tA,
@@ -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, g as I, h as w } from "./index-DFEFJp4J.js";
3
+ import { c as L, g as I, h as w } from "./index-BH7a8CPx.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 E from "react-dom";
@@ -15,7 +15,7 @@ import { useLexicalNodeSelection as pt } from "@lexical/react/useLexicalNodeSele
15
15
  import { mergeRegister as ht } from "@lexical/utils";
16
16
  import { $getSelection as P, $isNodeSelection as p, $setSelection as W, 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 At, LineBreakNode as kt, ParagraphNode as St, $getNodeByKey as A, $isParagraphNode as T } from "lexical";
17
17
  import { useRef as L, useState as w, useCallback as x, useEffect as Dt } from "react";
18
- import { U as v, W as Pt, b as Lt, A as Mt, d as _t, e as $t, H as zt, T as It, N as Ot, O as Wt } from "./index-DFEFJp4J.js";
18
+ import { U as v, W as Pt, b as Lt, A as Mt, d as _t, e as $t, H as zt, T as It, N as Ot, O as Wt } from "./index-BH7a8CPx.js";
19
19
  function ie({
20
20
  src: j,
21
21
  nodeKey: g,
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
2
  import { useLexicalComposerContext as T } from "@lexical/react/LexicalComposerContext";
3
3
  import { $getNodeByKey as g } from "lexical";
4
4
  import { useState as B, useEffect as D } from "react";
5
- import { j as k, D as y, T as E, F as h, k as I, l as W } from "./index-DFEFJp4J.js";
5
+ import { j as k, D as y, T as E, F as h, k as I, l as W } from "./index-BH7a8CPx.js";
6
6
  function $(e, t) {
7
7
  const d = e.split(".").pop()?.toLowerCase();
8
8
  return d === "pdf" || t.startsWith("data:application/pdf") ? "pdf" : d === "docx" || t.startsWith("data:application/vnd.openxmlformats") && e.toLowerCase().endsWith(".docx") ? "docx" : d === "xlsx" || d === "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 c === "pdf" ? import("./generatePdfThumbnail-Pvt57kGy.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
19
+ return c === "pdf" ? import("./generatePdfThumbnail-D4U1YS2w.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
20
20
  l || n(o);
21
21
  }).catch(() => {
22
22
  l || n(null);
23
- }) : c === "docx" ? import("./generateDocxThumbnail-BVFpoKUP.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
23
+ }) : c === "docx" ? import("./generateDocxThumbnail-CKQuKnUT.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
24
24
  l || n(o);
25
25
  }).catch(() => {
26
26
  l || n(null);
27
- }) : c === "xlsx" && import("./generateXlsxThumbnail-DRggrLYK.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
27
+ }) : c === "xlsx" && import("./generateXlsxThumbnail-D5ERSQBB.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 Ue } from "@lexical/react/useLexicalNodeSele
16
16
  import { mergeRegister as Ge } from "@lexical/utils";
17
17
  import { $getRoot as Qt, $isNodeSelection as lt, $getSelection as rt, $isParagraphNode as _t, $setSelection as bt, $isRangeSelection as Ke, SELECTION_CHANGE_COMMAND as qe, COMMAND_PRIORITY_LOW as ot, CLICK_COMMAND as Ve, DRAGSTART_COMMAND as Je, KEY_DELETE_COMMAND as Qe, KEY_BACKSPACE_COMMAND as Ze, KEY_ENTER_COMMAND as tr, KEY_ESCAPE_COMMAND as er, $getNodeByKey as it, RootNode as rr, TextNode as or, LineBreakNode as ir, ParagraphNode as ar, createCommand as nr } from "lexical";
18
18
  import Nt, { useState as E, useEffect as K, useRef as G, useMemo as Zt, useCallback as S, useLayoutEffect as te, Suspense as sr } from "react";
19
- import { c as Et, n as ne, o as se, p as de, q as ce, r as le, s as ue, B as ee, t as zt, I as dr, S as cr, v as lr, w as Z, x as M, y as ur, z as mr, G as gr, W as fr, b as hr, A as pr, d as br, e as yr, H as xr, L as wr, J as vr, K as Cr, M as Nr, X as kr, N as Rr, O as Er, P as Ir, Q as Pr, R as Sr } from "./index-DFEFJp4J.js";
19
+ import { c as Et, n as ne, o as se, p as de, q as ce, r as le, s as ue, B as ee, t as zt, I as dr, S as cr, v as lr, w as Z, x as M, y as ur, z as mr, G as gr, W as fr, b as hr, A as pr, d as br, e as yr, H as xr, L as wr, J as vr, K as Cr, M as Nr, X as kr, N as Rr, O as Er, P as Ir, Q as Pr, R as Sr } from "./index-BH7a8CPx.js";
20
20
  import "react-dom";
21
21
  const me = Et("Crop", [
22
22
  ["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
@@ -5,7 +5,7 @@ import { mergeRegister as ce, $wrapNodeInElement as J } from "@lexical/utils";
5
5
  import { $isTableCellNode as ae } from "@lexical/table";
6
6
  import { $getNodeByKey as T, $createNodeSelection as G, $setSelection as H, $getSelection as S, $isNodeSelection as te, SELECTION_CHANGE_COMMAND as de, COMMAND_PRIORITY_LOW as ne, KEY_ENTER_COMMAND as le, $createParagraphNode as W, $isRootOrShadowRoot as V, PASTE_COMMAND as ue, $isRangeSelection as U, COMMAND_PRIORITY_CRITICAL as me } from "lexical";
7
7
  import { useState as M, useEffect as E, useCallback as _, useRef as Q } from "react";
8
- import { c as fe, E as k, L as pe, a as N, I as ge, C as he, W as be, b as ye, A as xe, d as Ee, e as Ce, f as ve, T as Ne, $ as Z } from "./index-DFEFJp4J.js";
8
+ import { c as fe, E as k, L as pe, a as N, I as ge, C as he, W as be, b as ye, A as xe, d as Ee, e as Ce, f as ve, T as Ne, $ as Z } from "./index-BH7a8CPx.js";
9
9
  import { createPortal as ke } from "react-dom";
10
10
  const Ae = fe("Copy", [
11
11
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as i, Z as r, _ as t, a0 as s, a1 as o, a2 as d, a3 as v, a4 as u, a5 as f, a6 as n, a7 as l, a8 as w } from "./index-DFEFJp4J.js";
1
+ import { Y as i, Z as r, _ as t, a0 as s, a1 as o, a2 as d, a3 as v, a4 as u, a5 as f, a6 as n, a7 as l, a8 as w } from "./index-BH7a8CPx.js";
2
2
  export {
3
3
  i as ConfigurableEditor,
4
4
  r as ConfigurableEditorWithAuth,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eddyter",
3
3
  "private": false,
4
- "version": "1.4.13",
4
+ "version": "1.4.14",
5
5
  "description": "Plug and Play AI Rich Text Editor for any website, blog, CRM, ERP, or web app. Built on Lexical with AI writing assistance, dark mode, and real-time collaboration.",
6
6
  "homepage": "https://www.eddyter.com",
7
7
  "repository": {