eddyter 1.4.9-beta.1 → 1.4.9

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,4 +1,4 @@
1
- import { G as Tt, H as Se, K as Ce, l as xe } from "./index-2mVDVBbH.js";
1
+ import { G as Tt, H as Se, K as Ce, l as xe } from "./index-oIJfc57t.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,4 +1,4 @@
1
- import { K as u, l as b } from "./index-2mVDVBbH.js";
1
+ import { K as u, l as b } from "./index-oIJfc57t.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-C2wu93Kq.js";
2
- import { K as yi, l as Di } from "./index-2mVDVBbH.js";
2
+ import { K as yi, l as Di } from "./index-oIJfc57t.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 { G as Ka, H as $u } from "./index-2mVDVBbH.js";
1
+ import { G as Ka, H as $u } from "./index-oIJfc57t.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];
@@ -1,6 +1,6 @@
1
1
  import { jsxs as x, Fragment as rt, jsx as i } from "react/jsx-runtime";
2
2
  import { I as it } from "./ImageResizer-BVwxL4Eh.js";
3
- import { J as N, W as ot, m as nt, A as ct, n as lt, o as at, p as dt, T as st, M as ut, v as ft, w as gt } from "./index-2mVDVBbH.js";
3
+ import { J as N, W as ot, m as nt, A as ct, n as lt, o as at, p as dt, T as st, M as ut, v as ft, w as gt } from "./index-oIJfc57t.js";
4
4
  import { LinkNode as mt } from "@lexical/link";
5
5
  import { AutoFocusPlugin as pt } from "@lexical/react/LexicalAutoFocusPlugin";
6
6
  import { useLexicalComposerContext as ht } from "@lexical/react/LexicalComposerContext";
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
2
  import { useLexicalComposerContext as $ } from "@lexical/react/LexicalComposerContext";
3
3
  import { $getNodeByKey as g } from "lexical";
4
4
  import { useState as j, useEffect as D } from "react";
5
- import { $ as k, D as y, T as B, F as h, a as E, b as I } from "./index-2mVDVBbH.js";
5
+ import { $ as k, D as y, T as B, F as h, a as E, b as I } from "./index-oIJfc57t.js";
6
6
  function W(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-SmyMoDw3.js").then(({ generatePdfThumbnail: o }) => o(e)).then((o) => {
19
+ return c === "pdf" ? import("./generatePdfThumbnail-3ltsGn6c.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-Bt-gYnuS.js").then(({ generateDocxThumbnail: o }) => o(e)).then((o) => {
23
+ }) : c === "docx" ? import("./generateDocxThumbnail-C-ncaF7K.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-DQPkb-1m.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
27
+ }) : c === "xlsx" && import("./generateXlsxThumbnail-D7WwiJyR.js").then(({ generateXlsxThumbnail: o }) => o(e)).then((o) => {
28
28
  l || n(o);
29
29
  }).catch(() => {
30
30
  l || n(null);
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as h, Fragment as Kt } from "react/jsx-runtime";
2
2
  import { I as Ie } from "./ImageResizer-BVwxL4Eh.js";
3
- import { c as vt, d as re, e as oe, f as ie, g as ae, h as ne, i as se, B as Gt, C as It, I as Pe, S as Se, u as ze, j as et, t as A, k as Me, l as Ae, L as De, W as Le, m as $e, A as Te, n as We, o as je, p as Ye, q as _e, r as Oe, E as He, s as Fe, X as Xe, M as Be, v as Ue, w as Ke, x as Ge, y as qe, z as Ve } from "./index-2mVDVBbH.js";
3
+ import { c as vt, d as re, e as oe, f as ie, g as ae, h as ne, i as se, B as Gt, C as It, I as Pe, S as Se, u as ze, j as et, t as A, k as Me, l as Ae, L as De, W as Le, m as $e, A as Te, n as We, o as je, p as Ye, q as _e, r as Oe, E as He, s as Fe, X as Xe, M as Be, v as Ue, w as Ke, x as Ge, y as qe, z as Ve } from "./index-oIJfc57t.js";
4
4
  import { LinkNode as Je } from "@lexical/link";
5
5
  import { AutoFocusPlugin as Qe } from "@lexical/react/LexicalAutoFocusPlugin";
6
6
  import { useCollaborationContext as Ze } from "@lexical/react/LexicalCollaborationContext";
@@ -850,7 +850,7 @@ function Lj() {
850
850
  }
851
851
  function Mj() {
852
852
  try {
853
- return "1.4.9-beta.1";
853
+ return "1.4.9";
854
854
  } catch {
855
855
  return "unknown";
856
856
  }
@@ -1130,7 +1130,7 @@ function Bj(t) {
1130
1130
  }
1131
1131
  const Mn = xr(
1132
1132
  "AI_ACTION_COMMAND"
1133
- ), s7 = xr(), Hj = _t.lazy(() => import("./index-D3AhJxh2.js"));
1133
+ ), s7 = xr(), Hj = _t.lazy(() => import("./index-DvjIQ7q3.js"));
1134
1134
  function Kj(t) {
1135
1135
  return t.parentElement != null && t.parentElement.tagName === "LI" && t.previousSibling === null && t.getAttribute("aria-roledescription") === "checkbox";
1136
1136
  }
@@ -64870,7 +64870,7 @@ const ym = (t) => {
64870
64870
  )
64871
64871
  }
64872
64872
  );
64873
- }, UXe = C.lazy(() => import("./index-DIIIy9Nv.js"));
64873
+ }, UXe = C.lazy(() => import("./index-C2wTHo-G.js"));
64874
64874
  function AXe(t) {
64875
64875
  if (t instanceof HTMLDivElement) {
64876
64876
  const e = t.getAttribute("data-lexical-file-src"), r = t.getAttribute("data-lexical-file-name");
@@ -67865,7 +67865,7 @@ function q5e({
67865
67865
  function z0(t) {
67866
67866
  return t instanceof JO;
67867
67867
  }
67868
- const Z5e = _t.lazy(() => import("./index-FJ7W-1_d.js"));
67868
+ const Z5e = _t.lazy(() => import("./index-BoaegKBH.js"));
67869
67869
  function Y5e(t) {
67870
67870
  const e = t;
67871
67871
  if (e.src.startsWith("file:///"))
@@ -72902,7 +72902,7 @@ const na = {
72902
72902
  NEAR_BLACK: "#111111"
72903
72903
  }
72904
72904
  }, ERe = async () => {
72905
- const t = await import("./html2pdf.bundle.min-Cuuc_MEr.js").then((e) => e.h);
72905
+ const t = await import("./html2pdf.bundle.min-clbInSdL.js").then((e) => e.h);
72906
72906
  return t?.default || t;
72907
72907
  };
72908
72908
  async function zRe(t, e = "document.pdf", r) {
@@ -92075,7 +92075,7 @@ const U7e = 2 * 60 * 1e3, A7e = ({
92075
92075
  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",
92076
92076
  children: [
92077
92077
  "v",
92078
- "1.4.9-beta.1"
92078
+ "1.4.9"
92079
92079
  ]
92080
92080
  }
92081
92081
  )
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { N as a, O as r, P as t, Q as s, R as o, U as d, V as v, Y as u, Z as f, _ as n, a0 as l, a1 as w } from "./index-2mVDVBbH.js";
1
+ import { N as a, O as r, P as t, Q as s, R as o, U as d, V as v, Y as u, Z as f, _ as n, a0 as l, a1 as w } from "./index-oIJfc57t.js";
2
2
  export {
3
3
  a 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.9-beta.1",
4
+ "version": "1.4.9",
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
  "type": "module",