@factorialco/f0-react 8.4.0 → 8.5.0

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 (30) hide show
  1. package/dist/{ChatPdfThumbnail-CVnpciH6.js → ChatPdfThumbnail-Zvb8T9ae.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-Dtnvl7ba.js → ChatPostComposerDialog-CqtSnrv1.js} +3 -3
  3. package/dist/{DocumentToolbar-O693bl3f.js → DocumentToolbar-BURsTTzt.js} +2 -2
  4. package/dist/{DocxViewer-WTgh5A1f.js → DocxViewer-C4lMNb2n.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CzSB2LO4.js → F0AiProcessingOverlay-DSqrHg0P.js} +1 -1
  6. package/dist/{F0CanvasPanel-BJXetkJd.js → F0CanvasPanel-Cnv8Z0Bu.js} +17286 -17200
  7. package/dist/{F0Map-4ViiMQSk.js → F0Map-BgVFbcJm.js} +4 -4
  8. package/dist/{F0VideoPlayer-D0yWIaUD.js → F0VideoPlayer-BtsW1ey2.js} +2 -2
  9. package/dist/{MapProvider-C84jne3O.js → MapProvider-C4uk2TNn.js} +2 -2
  10. package/dist/{SheetViewer-DUft1Ohd.js → SheetViewer-BQRIxKjN.js} +2 -2
  11. package/dist/{TextViewer-CvzooBWI.js → TextViewer-B-vpgqSD.js} +2 -2
  12. package/dist/ai.d.ts +12 -12
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +12 -12
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-SH5u5OFs.js → experimental-CRkywTY0.js} +7 -7
  17. package/dist/experimental.d.ts +37 -14
  18. package/dist/experimental.js +4 -4
  19. package/dist/f0.d.ts +38 -15
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +12 -12
  22. package/dist/{index-Cj48-P_6.js → index-9b8C3rnh.js} +3 -3
  23. package/dist/{index-CI4HFlA1.js → index-COdBgV0F.js} +3 -3
  24. package/dist/{index-BOqArG0M.js → index-Cj0YtUA_.js} +2 -2
  25. package/dist/{index-CZMT_8vp.js → index-Da5-UhV8.js} +1 -1
  26. package/dist/index-M3oGx2wU.js +4 -0
  27. package/dist/{pdfWorker-J0U9pY7G.js → pdfWorker-Dyzn49Gu.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-BTZ9wcj-.js +0 -4
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as O, Fragment as Ee } from "react/jsx-runtime";
2
2
  import { forwardRef as re, useState as F, useEffect as N, useRef as M, useContext as Ca, createContext as Aa, useCallback as B, useMemo as et, useId as Ia, useImperativeHandle as Fa } from "react";
3
- import { a3 as Xt, u as se, a4 as le, y as Ce, a5 as Ea, a6 as $a, a7 as Oa, i as Ba, n as be, a8 as Wa, v as Yt, a9 as Je, aa as tt, ab as Ie, ac as Da, ad as Ut, ae as Ha, af as Xa, ag as St, ah as Gt, ai as Ya } from "./F0CanvasPanel-BJXetkJd.js";
4
- import { c as Ua, d as Ga, e as Za } from "./MapProvider-C84jne3O.js";
3
+ import { a3 as Xt, u as se, a4 as le, y as Ce, a5 as Ea, a6 as $a, a7 as Oa, i as Ba, n as be, a8 as Wa, v as Yt, a9 as Je, aa as tt, ab as Ie, ac as Da, ad as Ut, ae as Ha, af as Xa, ag as St, ah as Gt, ai as Ya } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
+ import { c as Ua, d as Ga, e as Za } from "./MapProvider-C4uk2TNn.js";
5
5
  import { d as W, f as Ka } from "./tooltip-CrXp1Uaz.js";
6
6
  import { createPortal as qa } from "react-dom";
7
7
  const Va = (e, t) => ({
@@ -1425,11 +1425,11 @@ const cl = {
1425
1425
  }, []);
1426
1426
  return N(() => () => n.current?.disconnect(), []), { containerRef: l, isDark: e };
1427
1427
  }, Nn = {
1428
- maplibre: () => import("./index-BOqArG0M.js").then((e) => e.createMaplibreAdapter),
1428
+ maplibre: () => import("./index-Cj0YtUA_.js").then((e) => e.createMaplibreAdapter),
1429
1429
  // Google needs its script in the page before a map can be constructed, so the
1430
1430
  // loader resolves only once the API is up - which is what keeps the factory
1431
1431
  // itself synchronous for every engine.
1432
- google: (e) => import("./index-CZMT_8vp.js").then((t) => t.loadGoogleAdapter(e))
1432
+ google: (e) => import("./index-Da5-UhV8.js").then((t) => t.loadGoogleAdapter(e))
1433
1433
  }, Qe = /* @__PURE__ */ new Map(), jn = (e, t) => {
1434
1434
  const n = Qe.get(e);
1435
1435
  if (n)
@@ -1,9 +1,9 @@
1
- import { u as W, H as je, J as Xe, y as $, K as Ge, L as Ze, M as Ye, N as qe, O as Je, Q as Qe, R as et, U as tt, V as nt, W as rt, X as at, Y as ot, Z as st, _ as ye, $ as it, a0 as Pe, l as ct, a1 as lt, a2 as dt, v as ut, B as ft, E as mt } from "./F0CanvasPanel-BJXetkJd.js";
1
+ import { u as W, H as je, J as Xe, y as $, K as Ge, L as Ze, M as Ye, N as qe, O as Je, Q as Qe, R as et, U as tt, V as nt, W as rt, X as at, Y as ot, Z as st, _ as ye, $ as it, a0 as Pe, l as ct, a1 as lt, a2 as dt, v as ut, B as ft, E as mt } from "./F0CanvasPanel-Cnv8Z0Bu.js";
2
2
  import { jsxs as R, jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as J, useCallback as M } from "react";
4
4
  import { d as H, f as de } from "./tooltip-CrXp1Uaz.js";
5
5
  import { F as Ce, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
6
- import { b as vt } from "./MapProvider-C84jne3O.js";
6
+ import { b as vt } from "./MapProvider-C4uk2TNn.js";
7
7
  function Re(e) {
8
8
  return Array.isArray(e) && e.every(
9
9
  (t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
@@ -1,7 +1,7 @@
1
1
  import { jsx as m, jsxs as R, Fragment as Ue } from "react/jsx-runtime";
2
2
  import * as qe from "react";
3
3
  import re, { useRef as F, useState as J, useCallback as Y, useEffect as ie, useContext as gt, useMemo as Z, createContext as Ht, forwardRef as Ze, useLayoutEffect as qt, memo as Mt, useReducer as VB, cloneElement as MT, PureComponent as nd, useId as mi, useImperativeHandle as Js, Fragment as Bf, createElement as Am, isValidElement as WB, Suspense as UB, lazy as qB, useDebugValue as PT, version as u4, createRef as RT, useSyncExternalStore as h4 } from "react";
4
- import { f2 as p4, f3 as Ku, f4 as KB, cO as LT, f5 as GB, f6 as YB, f7 as XB, f8 as Cv, f9 as JB, fa as ZB, fb as QB, fc as ez, fd as tz, fe as nz, ff as iz, ab as tt, fg as FT, fh as rz, cl as jt, aJ as Gu, aK as id, au as oz, av as sz, cQ as fo, B as Lt, E as ii, G as rd, dh as Ck, et as Ek, eu as Tm, S as Be, fi as $T, ev as Nk, u as Re, v as ot, bj as Yu, co as pc, br as Py, r as Ak, cU as az, cB as BT, cR as lz, df as cz, e3 as zT, y as Ie, aY as Xu, fj as dz, b4 as fz, b5 as uz, fk as hz, cv as jT, dM as pz, fl as HT, d9 as VT, fm as mz, fn as gz, fo as ya, fp as Ft, fq as Ai, fr as WT, fs as yz, ft as UT, fu as vz, fv as Xn, fw as Ry, fx as pn, fy as qT, fz as Ly, fA as Tk, fB as Ok, fC as Dk, fD as Wn, fE as Ei, fF as Rb, fG as Fy, fH as bz, fI as ai, fJ as Po, fK as _i, fL as ll, fM as Ik, fN as $y, fO as qp, fP as By, ez as Mk, fQ as wz, fR as Kh, fS as Om, fT as xz, fU as kz, fV as _z, fW as Sz, fX as Cz, fY as Ez, fZ as KT, f_ as GT, f$ as YT, g0 as XT, g1 as JT, g2 as Nz, g3 as Dm, g4 as Az, g5 as Tz, g6 as Ju, g7 as Zs, cY as Ko, g8 as Pk, g9 as zo, ga as ZT, cZ as QT, gb as Oz, gc as Dz, cW as Iz, gd as Mz, cX as Pz, dj as li, ge as ci, gf as Rz, gg as Lz, gh as Fz, gi as $z, gj as Bz, gk as Lb, gl as zz, a4 as eO, gm as tO, es as yr, aa as Jt, eL as jz, dq as Rr, ck as od, d4 as Wa, am as Zu, an as Hz, dH as Vz, gn as nO, go as iO, o as rO, ad as Qs, cw as sd, ex as oO, cE as sO, cF as Rk, a9 as Qu, L as zy, gp as Wz, eq as aO, de as Uz, gq as lO, eP as $n, gr as cO, gs as dO, gt as Fb, gu as qz, gv as m4, gw as fO, er as eh, eX as uO, dv as hO, eR as jy, H as Hy, J as Lk, K as Vy, eV as Kz, k as Qn, aE as g4, aM as Gz, a_ as Yz, bw as Fk, gx as pO, gy as Xz, eQ as $k, gz as Bk, gA as mO, gB as cl, gC as Ev, bV as gO, cu as dl, ai as hr, dk as Hs, eo as Jz, gD as y4, ek as zk, gE as Zz, dT as Qz, e7 as ej, e5 as tj, gF as yO, gG as nj, cP as ij, gH as rj, gI as vO, af as bO, gJ as oj, gK as sj, gL as aj, gM as v4, gN as b4, gO as w4, gP as x4, gQ as lj, aC as cj, gR as wO, ds as dj, gS as fj, cK as ad, M as xO, N as kO, Q as _O, gT as uj, gU as hj, gV as k4, dR as Im, eJ as zf, U as SO, V as CO, X as EO, Y as NO, w as ea, cp as Lr, s as pj, x as mj, gW as gj, z as Wy, gX as AO, gY as TO, gZ as yj, g_ as Mm, g$ as vj, h0 as bj, h1 as Ma, h2 as wj, h3 as _4, h4 as xj, h5 as kj, h6 as Pm, h7 as _j, h8 as Sj, h9 as Cj, ha as OO, hb as Ej, hc as DO, hd as Nj, he as Uy, hf as ld, hg as Aj, hh as jk, hi as ln, cN as jf, hj as ti, c_ as th, hk as Tj, a7 as Ua, at as $b, dm as Oj, dn as Dj, cx as IO, cy as MO, cz as PO, hl as Hk, hm as Ij, d3 as RO, bP as nh, aS as Qo, ei as LO, ej as FO, aG as $O, aV as Mj, ce as BO, dG as Pj, hn as Rj, ho as Lj, hp as Rm, hq as Ao, m as Fj, c2 as $j, hr as Bj, dZ as zj, aR as Lm, c5 as zO, c0 as jj, ew as S4, eh as Hj, aZ as Vj, hs as Wj, ht as qy, hu as Ky, hv as Gy, cA as Yy, hw as Uj, hx as Fm, hy as qj, hz as Kj, dp as Gj, hA as jO, by as Nv, hB as Yj, hC as Xj, bB as Jj, bH as Zj, hD as C4, hE as Qj, hF as E4, hG as Av, hH as HO, a1 as VO, c1 as eH, a5 as tH, i as Vk, hI as nH, hJ as iH, dO as rH, j as Wk, eE as oH, bU as sH, bL as aH, bt as N4, bx as Uk, ca as lH, ef as cH, hK as WO, hL as dH, hM as qk, l as fH, ax as uH, aT as hH, c3 as pH, hN as mH, hO as gH, A as yH, hP as vH, hQ as bH, hR as wH, hS as xH, hT as UO, cd as kH, hU as Kk, hV as _H, hW as SH, hX as CH, hY as Tv, hZ as EH, h_ as De, h$ as ih, i0 as NH, i1 as AH, i2 as TH, i3 as OH, i4 as A4, i5 as DH, i6 as $m, R as IH, i7 as MH, i8 as Ov, i9 as Gh, ia as PH, ib as RH, ic as LH, id as FH, ie as $H, aw as BH, c as zH, c4 as jH, W as Dv, ig as rh, ih as Gk, ii as Yk, ij as oh, ik as HH, b_ as VH, eF as Xk, ea as T4, al as WH, ah as UH, ed as qH, az as KH, bs as GH, cc as YH, c8 as XH, bl as qO, bm as KO, bn as GO, bK as YO, aI as XO, aq as JO, ao as ZO, ar as QO, ap as eD, aO as tD, bZ as nD, cC as iD, il as rD, im as JH, cJ as ZH, ba as QH, b8 as eV, b7 as tV, b6 as nV, b9 as iV, bo as rV, cf as oV, cn as sV, cm as aV, cb as lV, bF as cV, bO as dV, a2 as fV, cs as uV, io as hV, ip as Iv, iq as pV, bu as mV, ir as oD, cI as gV, is as yV, it as vV, iu as bV, iv as wV, cD as xV, dQ as kV, cr as _V, iw as SV } from "./F0CanvasPanel-BJXetkJd.js";
4
+ import { f2 as p4, f3 as Ku, f4 as KB, cO as LT, f5 as GB, f6 as YB, f7 as XB, f8 as Cv, f9 as JB, fa as ZB, fb as QB, fc as ez, fd as tz, fe as nz, ff as iz, ab as tt, fg as FT, fh as rz, cl as jt, aJ as Gu, aK as id, au as oz, av as sz, cQ as fo, B as Lt, E as ii, G as rd, dh as Ck, et as Ek, eu as Tm, S as Be, fi as $T, ev as Nk, u as Re, v as ot, bj as Yu, co as pc, br as Py, r as Ak, cU as az, cB as BT, cR as lz, df as cz, e3 as zT, y as Ie, aY as Xu, fj as dz, b4 as fz, b5 as uz, fk as hz, cv as jT, dM as pz, fl as HT, d9 as VT, fm as mz, fn as gz, fo as ya, fp as Ft, fq as Ai, fr as WT, fs as yz, ft as UT, fu as vz, fv as Xn, fw as Ry, fx as pn, fy as qT, fz as Ly, fA as Tk, fB as Ok, fC as Dk, fD as Wn, fE as Ei, fF as Rb, fG as Fy, fH as bz, fI as ai, fJ as Po, fK as _i, fL as ll, fM as Ik, fN as $y, fO as qp, fP as By, ez as Mk, fQ as wz, fR as Kh, fS as Om, fT as xz, fU as kz, fV as _z, fW as Sz, fX as Cz, fY as Ez, fZ as KT, f_ as GT, f$ as YT, g0 as XT, g1 as JT, g2 as Nz, g3 as Dm, g4 as Az, g5 as Tz, g6 as Ju, g7 as Zs, cY as Ko, g8 as Pk, g9 as zo, ga as ZT, cZ as QT, gb as Oz, gc as Dz, cW as Iz, gd as Mz, cX as Pz, dj as li, ge as ci, gf as Rz, gg as Lz, gh as Fz, gi as $z, gj as Bz, gk as Lb, gl as zz, a4 as eO, gm as tO, es as yr, aa as Jt, eL as jz, dq as Rr, ck as od, d4 as Wa, am as Zu, an as Hz, dH as Vz, gn as nO, go as iO, o as rO, ad as Qs, cw as sd, ex as oO, cE as sO, cF as Rk, a9 as Qu, L as zy, gp as Wz, eq as aO, de as Uz, gq as lO, eP as $n, gr as cO, gs as dO, gt as Fb, gu as qz, gv as m4, gw as fO, er as eh, eX as uO, dv as hO, eR as jy, H as Hy, J as Lk, K as Vy, eV as Kz, k as Qn, aE as g4, aM as Gz, a_ as Yz, bw as Fk, gx as pO, gy as Xz, eQ as $k, gz as Bk, gA as mO, gB as cl, gC as Ev, bV as gO, cu as dl, ai as hr, dk as Hs, eo as Jz, gD as y4, ek as zk, gE as Zz, dT as Qz, e7 as ej, e5 as tj, gF as yO, gG as nj, cP as ij, gH as rj, gI as vO, af as bO, gJ as oj, gK as sj, gL as aj, gM as v4, gN as b4, gO as w4, gP as x4, gQ as lj, aC as cj, gR as wO, ds as dj, gS as fj, cK as ad, M as xO, N as kO, Q as _O, gT as uj, gU as hj, gV as k4, dR as Im, eJ as zf, U as SO, V as CO, X as EO, Y as NO, w as ea, cp as Lr, s as pj, x as mj, gW as gj, z as Wy, gX as AO, gY as TO, gZ as yj, g_ as Mm, g$ as vj, h0 as bj, h1 as Ma, h2 as wj, h3 as _4, h4 as xj, h5 as kj, h6 as Pm, h7 as _j, h8 as Sj, h9 as Cj, ha as OO, hb as Ej, hc as DO, hd as Nj, he as Uy, hf as ld, hg as Aj, hh as jk, hi as ln, cN as jf, hj as ti, c_ as th, hk as Tj, a7 as Ua, at as $b, dm as Oj, dn as Dj, cx as IO, cy as MO, cz as PO, hl as Hk, hm as Ij, d3 as RO, bP as nh, aS as Qo, ei as LO, ej as FO, aG as $O, aV as Mj, ce as BO, dG as Pj, hn as Rj, ho as Lj, hp as Rm, hq as Ao, m as Fj, c2 as $j, hr as Bj, dZ as zj, aR as Lm, c5 as zO, c0 as jj, ew as S4, eh as Hj, aZ as Vj, hs as Wj, ht as qy, hu as Ky, hv as Gy, cA as Yy, hw as Uj, hx as Fm, hy as qj, hz as Kj, dp as Gj, hA as jO, by as Nv, hB as Yj, hC as Xj, bB as Jj, bH as Zj, hD as C4, hE as Qj, hF as E4, hG as Av, hH as HO, a1 as VO, c1 as eH, a5 as tH, i as Vk, hI as nH, hJ as iH, dO as rH, j as Wk, eE as oH, bU as sH, bL as aH, bt as N4, bx as Uk, ca as lH, ef as cH, hK as WO, hL as dH, hM as qk, l as fH, ax as uH, aT as hH, c3 as pH, hN as mH, hO as gH, A as yH, hP as vH, hQ as bH, hR as wH, hS as xH, hT as UO, cd as kH, hU as Kk, hV as _H, hW as SH, hX as CH, hY as Tv, hZ as EH, h_ as De, h$ as ih, i0 as NH, i1 as AH, i2 as TH, i3 as OH, i4 as A4, i5 as DH, i6 as $m, R as IH, i7 as MH, i8 as Ov, i9 as Gh, ia as PH, ib as RH, ic as LH, id as FH, ie as $H, aw as BH, c as zH, c4 as jH, W as Dv, ig as rh, ih as Gk, ii as Yk, ij as oh, ik as HH, b_ as VH, eF as Xk, ea as T4, al as WH, ah as UH, ed as qH, az as KH, bs as GH, cc as YH, c8 as XH, bl as qO, bm as KO, bn as GO, bK as YO, aI as XO, aq as JO, ao as ZO, ar as QO, ap as eD, aO as tD, bZ as nD, cC as iD, il as rD, im as JH, cJ as ZH, ba as QH, b8 as eV, b7 as tV, b6 as nV, b9 as iV, bo as rV, cf as oV, cn as sV, cm as aV, cb as lV, bF as cV, bO as dV, a2 as fV, cs as uV, io as hV, ip as Iv, iq as pV, bu as mV, ir as oD, cI as gV, is as yV, it as vV, iu as bV, iv as wV, cD as xV, dQ as kV, cr as _V, iw as SV } from "./F0CanvasPanel-Cnv8Z0Bu.js";
5
5
  import { d as U, g as CV, e as di, T as sh, a as ah, b as lh, f as tn, u as Jk, S as EV, c as Xy } from "./tooltip-CrXp1Uaz.js";
6
6
  import { g as ch } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import sD, { unstable_batchedUpdates as Yh, createPortal as Jy, flushSync as NV } from "react-dom";
@@ -38787,7 +38787,7 @@ const E0 = ({
38787
38787
  }
38788
38788
  );
38789
38789
  }, que = qB(
38790
- () => import("./index-Cj48-P_6.js").then((e) => ({ default: e.MapCollection }))
38790
+ () => import("./index-9b8C3rnh.js").then((e) => ({ default: e.MapCollection }))
38791
38791
  ), Ws = {
38792
38792
  table: {
38793
38793
  name: "Table",
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
- import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-BJXetkJd.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-O693bl3f.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-BURsTTzt.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
- import { u as x, S as p, p as w } from "./F0CanvasPanel-BJXetkJd.js";
4
- import { u as y, D as g } from "./DocumentToolbar-O693bl3f.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-BURsTTzt.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -6761,11 +6761,9 @@ declare namespace Calendar {
6761
6761
 
6762
6762
  declare module "@tiptap/core" {
6763
6763
  interface Commands<ReturnType> {
6764
- enhanceHighlight: {
6765
- setEnhanceHighlight: (from: number, to: number, options?: {
6766
- placeholder?: string;
6767
- }) => ReturnType;
6768
- clearEnhanceHighlight: () => ReturnType;
6764
+ aiBlock: {
6765
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6766
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6769
6767
  };
6770
6768
  }
6771
6769
  }
@@ -6773,10 +6771,11 @@ declare module "@tiptap/core" {
6773
6771
 
6774
6772
  declare module "@tiptap/core" {
6775
6773
  interface Commands<ReturnType> {
6776
- indent: {
6777
- setIndent: (level: number) => ReturnType;
6778
- unsetIndent: () => ReturnType;
6779
- outdent: () => ReturnType;
6774
+ enhanceHighlight: {
6775
+ setEnhanceHighlight: (from: number, to: number, options?: {
6776
+ placeholder?: string;
6777
+ }) => ReturnType;
6778
+ clearEnhanceHighlight: () => ReturnType;
6780
6779
  };
6781
6780
  }
6782
6781
  }
@@ -6794,9 +6793,10 @@ declare module "@tiptap/core" {
6794
6793
 
6795
6794
  declare module "@tiptap/core" {
6796
6795
  interface Commands<ReturnType> {
6797
- aiBlock: {
6798
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6799
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6796
+ indent: {
6797
+ setIndent: (level: number) => ReturnType;
6798
+ unsetIndent: () => ReturnType;
6799
+ outdent: () => ReturnType;
6800
6800
  };
6801
6801
  }
6802
6802
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-BJXetkJd.js";
1
+ import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-Cnv8Z0Bu.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-CzSB2LO4.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DSqrHg0P.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -296,11 +296,9 @@ declare namespace Calendar {
296
296
 
297
297
  declare module "@tiptap/core" {
298
298
  interface Commands<ReturnType> {
299
- enhanceHighlight: {
300
- setEnhanceHighlight: (from: number, to: number, options?: {
301
- placeholder?: string;
302
- }) => ReturnType;
303
- clearEnhanceHighlight: () => ReturnType;
299
+ aiBlock: {
300
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
301
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
304
302
  };
305
303
  }
306
304
  }
@@ -308,10 +306,11 @@ declare module "@tiptap/core" {
308
306
 
309
307
  declare module "@tiptap/core" {
310
308
  interface Commands<ReturnType> {
311
- indent: {
312
- setIndent: (level: number) => ReturnType;
313
- unsetIndent: () => ReturnType;
314
- outdent: () => ReturnType;
309
+ enhanceHighlight: {
310
+ setEnhanceHighlight: (from: number, to: number, options?: {
311
+ placeholder?: string;
312
+ }) => ReturnType;
313
+ clearEnhanceHighlight: () => ReturnType;
315
314
  };
316
315
  }
317
316
  }
@@ -329,9 +328,10 @@ declare module "@tiptap/core" {
329
328
 
330
329
  declare module "@tiptap/core" {
331
330
  interface Commands<ReturnType> {
332
- aiBlock: {
333
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
334
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
331
+ indent: {
332
+ setIndent: (level: number) => ReturnType;
333
+ unsetIndent: () => ReturnType;
334
+ outdent: () => ReturnType;
335
335
  };
336
336
  }
337
337
  }