@factorialco/f0-react 2.40.0 → 2.40.1

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/f0.js CHANGED
@@ -1,13 +1,13 @@
1
- import { du as hk, a6 as yt, bd as Dg, m as ce, o as Oa, fZ as vk, n as Ws, eH as T3, ac as go, g2 as D3, ad as Ew, S as oe, u as tt, C as dt, cY as Vu, A as pk, i as A3, H as Wv, cK as yu, a7 as kr, a3 as md, g3 as M3, g4 as Xb, g5 as E3, g6 as L3, g7 as tT, dQ as N3, g8 as I3, g9 as gk, ga as k3, M as pt, aX as R3, aL as P3, b8 as O3, dM as rT, s as Fu, a1 as Lw, a2 as Us, b9 as B3, fh as V3, aB as Nw, aC as Iw, aD as kw, aj as mk, c0 as Uv, dv as yk, gb as F3, fl as z3, aF as bk, de as G3, br as H3, aV as xk, Y as zu, gc as W3, ae as U3, gd as Rw, ge as nT, ff as $3, gf as Y3, gg as X3, gh as q3, W as Pw, dN as bu, bH as Ow, dK as Z3, dp as Bw, at as ou, bI as _k, d5 as Vw, b6 as $s, a8 as Bn, ao as j3, cz as qb, cy as wk, gi as Ag, d6 as Fw, fR as K3, a0 as Sk, fe as Q3, by as J3, ab as Mg, dG as eH, dH as tH, dI as rH, c as nH, er as iH, z as Ck, cF as nl, dm as Tk, bB as zw, E as Eg, G as Lg, cp as Gw, L as Ng, V as Ar, X as xu, fx as su, fy as lu, K as uu, fz as cu, fv as aH, fw as io, cs as Dk, aq as oH, d3 as $v, gj as on, aA as sH, d9 as Ak, d8 as Mk, gk as lH, aN as Ek, aT as uH, dC as cH, dD as fH, dw as dH, be as Gu, bi as Hu, bp as yd, dq as hH, bf as vH, b0 as pH, N as Lk, b7 as gH, _ as mH, d0 as iT, dl as Of, fi as yH, fj as bH, gl as xH, aS as _H, bj as wH, cI as Nk, a4 as SH, cx as CH, g0 as TH, gm as DH, gn as AH, I as MH, go as EH, gp as LH, gq as NH, gr as IH } from "./F0CanvasPanel-C_tqaABp.js";
2
- import { gA as Mme, D as Eme, aM as Lme, F as Nme, a as Ime, e as kme, b1 as Rme, bs as Pme, bc as Ome, ai as Bme, dP as Vme, ar as Fme, bF as zme, f as Gme, dJ as Hme, dy as Wme, gE as Ume, d as $me, bG as Yme, bk as Xme, gv as qme, aZ as Zme, gw as jme, gy as Kme, gz as Qme, c1 as Jme, gB as eye, bY as tye, bZ as rye, P as nye, gx as iye, b_ as aye, gF as oye, gs as sye, gt as lye, gu as uye, b$ as cye, gD as fye, fS as dye, gC as hye, aQ as vye, bX as pye, bU as gye, bW as mye, bT as yye, fU as bye, fO as xye, bL as _ye, bV as wye, b as Sye, fN as Cye, g1 as Tye, aO as Dye, dt as Aye, fQ as Mye, fP as Eye, gG as Lye } from "./F0CanvasPanel-C_tqaABp.js";
1
+ import { du as hk, a6 as yt, bd as Dg, m as ce, o as Oa, fZ as vk, n as Ws, eH as T3, ac as go, g2 as D3, ad as Ew, S as oe, u as tt, C as dt, cY as Vu, A as pk, i as A3, H as Wv, cK as yu, a7 as kr, a3 as md, g3 as M3, g4 as Xb, g5 as E3, g6 as L3, g7 as tT, dQ as N3, g8 as I3, g9 as gk, ga as k3, M as pt, aX as R3, aL as P3, b8 as O3, dM as rT, s as Fu, a1 as Lw, a2 as Us, b9 as B3, fh as V3, aB as Nw, aC as Iw, aD as kw, aj as mk, c0 as Uv, dv as yk, gb as F3, fl as z3, aF as bk, de as G3, br as H3, aV as xk, Y as zu, gc as W3, ae as U3, gd as Rw, ge as nT, ff as $3, gf as Y3, gg as X3, gh as q3, W as Pw, dN as bu, bH as Ow, dK as Z3, dp as Bw, at as ou, bI as _k, d5 as Vw, b6 as $s, a8 as Bn, ao as j3, cz as qb, cy as wk, gi as Ag, d6 as Fw, fR as K3, a0 as Sk, fe as Q3, by as J3, ab as Mg, dG as eH, dH as tH, dI as rH, c as nH, er as iH, z as Ck, cF as nl, dm as Tk, bB as zw, E as Eg, G as Lg, cp as Gw, L as Ng, V as Ar, X as xu, fx as su, fy as lu, K as uu, fz as cu, fv as aH, fw as io, cs as Dk, aq as oH, d3 as $v, gj as on, aA as sH, d9 as Ak, d8 as Mk, gk as lH, aN as Ek, aT as uH, dC as cH, dD as fH, dw as dH, be as Gu, bi as Hu, bp as yd, dq as hH, bf as vH, b0 as pH, N as Lk, b7 as gH, _ as mH, d0 as iT, dl as Of, fi as yH, fj as bH, gl as xH, aS as _H, bj as wH, cI as Nk, a4 as SH, cx as CH, g0 as TH, gm as DH, gn as AH, I as MH, go as EH, gp as LH, gq as NH, gr as IH } from "./F0CanvasPanel-C-IsV7ll.js";
2
+ import { gA as Mme, D as Eme, aM as Lme, F as Nme, a as Ime, e as kme, b1 as Rme, bs as Pme, bc as Ome, ai as Bme, dP as Vme, ar as Fme, bF as zme, f as Gme, dJ as Hme, dy as Wme, gE as Ume, d as $me, bG as Yme, bk as Xme, gv as qme, aZ as Zme, gw as jme, gy as Kme, gz as Qme, c1 as Jme, gB as eye, bY as tye, bZ as rye, P as nye, gx as iye, b_ as aye, gF as oye, gs as sye, gt as lye, gu as uye, b$ as cye, gD as fye, fS as dye, gC as hye, aQ as vye, bX as pye, bU as gye, bW as mye, bT as yye, fU as bye, fO as xye, bL as _ye, bV as wye, b as Sye, fN as Cye, g1 as Tye, aO as Dye, dt as Aye, fQ as Mye, fP as Eye, gG as Lye } from "./F0CanvasPanel-C-IsV7ll.js";
3
3
  import { jsx as w, jsxs as B, Fragment as kt } from "react/jsx-runtime";
4
4
  import * as Yn from "react";
5
5
  import He, { forwardRef as Jr, useRef as se, useImperativeHandle as kH, Children as Yv, createContext as en, useContext as _r, useState as ye, useMemo as ae, useEffect as _e, useCallback as te, useLayoutEffect as Zb, createElement as Xd, isValidElement as Ik, Fragment as Ig, memo as kk, useReducer as RH, cloneElement as PH, useId as kg } from "react";
6
- import { z as OH, B as BH, U as aT, D as oT, E as $m, G as sT, H as VH, I as na, J as Io, K as FH, L as Hw, M as Rr, N as fi, O as zH, P as GH, Q as Rk, Z as Wo, R as HH, S as WH, T as UH, V as Pk, W as Xv, X as Ww, Y as Ok, _ as Bk, $ as pn, a0 as $H, a1 as YH, a2 as Vk, a3 as Rg, a4 as XH, a5 as qH, a6 as Fk, a7 as ZH, a8 as jH, a9 as KH, aa as QH, ab as JH, ac as eW, F as tW } from "./useChatHistory-Bubo_nNb.js";
7
- import { A as Iye, C as kye, h as Rye, t as Pye, v as Oye, x as Bye, ah as Vye, n as Fye, j as zye, r as Gye, y as Hye, q as Wye, s as Uye, k as $ye, e as Yye, g as Xye, l as qye, i as Zye, a as jye, p as Kye, ai as Qye, af as Jye, ae as e0e, ag as t0e, m as r0e, o as n0e, ad as i0e, b as a0e, f as o0e, w as s0e, c as l0e, d as u0e, u as c0e } from "./useChatHistory-Bubo_nNb.js";
6
+ import { z as OH, B as BH, U as aT, D as oT, E as $m, G as sT, H as VH, I as na, J as Io, K as FH, L as Hw, M as Rr, N as fi, O as zH, P as GH, Q as Rk, Z as Wo, R as HH, S as WH, T as UH, V as Pk, W as Xv, X as Ww, Y as Ok, _ as Bk, $ as pn, a0 as $H, a1 as YH, a2 as Vk, a3 as Rg, a4 as XH, a5 as qH, a6 as Fk, a7 as ZH, a8 as jH, a9 as KH, aa as QH, ab as JH, ac as eW, F as tW } from "./useChatHistory-iSsa0UCV.js";
7
+ import { A as Iye, C as kye, h as Rye, t as Pye, v as Oye, x as Bye, ah as Vye, n as Fye, j as zye, r as Gye, y as Hye, q as Wye, s as Uye, k as $ye, e as Yye, g as Xye, l as qye, i as Zye, a as jye, p as Kye, ai as Qye, af as Jye, ae as e0e, ag as t0e, m as r0e, o as n0e, ad as i0e, b as a0e, f as o0e, w as s0e, c as l0e, d as u0e, u as c0e } from "./useChatHistory-iSsa0UCV.js";
8
8
  import { createPortal as zk, unstable_batchedUpdates as qd, flushSync as rW } from "react-dom";
9
- import { C as nW, o as iW, G as jb, H as Gk, ag as Hk, Q as Wk, ae as aW, U as oW, X as Uk, Y as Uw, ah as $w, a9 as sW, ai as lW, aj as uW, d as Pg, ak as cW, R as Yw, u as Xw, W as $k, O as qw, al as Yk, am as Zw, p as fW, a4 as Xk, $ as qk, an as dW, ao as hW, ap as vW, aq as pW, ar as gW, M as mW, as as Kb } from "./useDataCollectionSource-BA6BeGvi.js";
10
- import { r as d0e, s as h0e, t as v0e, z as p0e, az as g0e, ay as m0e, au as y0e, F as b0e, J as x0e, af as _0e, K as w0e, v as S0e, aA as C0e, ab as T0e, ac as D0e, aa as A0e, ad as M0e, N as E0e, w as L0e, P as N0e, y as I0e, D as k0e, T as R0e, x as P0e, E as O0e, aC as B0e, m as V0e, n as F0e, at as z0e, aB as G0e, a7 as H0e, I as W0e, aD as U0e, aE as $0e, av as Y0e, aw as X0e, ax as q0e, e as Z0e, aF as j0e } from "./useDataCollectionSource-BA6BeGvi.js";
9
+ import { C as nW, o as iW, G as jb, H as Gk, ag as Hk, Q as Wk, ae as aW, U as oW, X as Uk, Y as Uw, ah as $w, a9 as sW, ai as lW, aj as uW, d as Pg, ak as cW, R as Yw, u as Xw, W as $k, O as qw, al as Yk, am as Zw, p as fW, a4 as Xk, $ as qk, an as dW, ao as hW, ap as vW, aq as pW, ar as gW, M as mW, as as Kb } from "./useDataCollectionSource-WlZT0ktq.js";
10
+ import { r as d0e, s as h0e, t as v0e, z as p0e, az as g0e, ay as m0e, au as y0e, F as b0e, J as x0e, af as _0e, K as w0e, v as S0e, aA as C0e, ab as T0e, ac as D0e, aa as A0e, ad as M0e, N as E0e, w as L0e, P as N0e, y as I0e, D as k0e, T as R0e, x as P0e, E as O0e, aC as B0e, m as V0e, n as F0e, at as z0e, aB as G0e, a7 as H0e, I as W0e, aD as U0e, aE as $0e, av as Y0e, aw as X0e, ax as q0e, e as Z0e, aF as j0e } from "./useDataCollectionSource-WlZT0ktq.js";
11
11
  import { utils as fu, write as Zk } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as Q0e } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const yW = {
@@ -852,9 +852,9 @@ declare module "gridstack" {
852
852
 
853
853
  declare module "@tiptap/core" {
854
854
  interface Commands<ReturnType> {
855
- enhanceHighlight: {
856
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
857
- clearEnhanceHighlight: () => ReturnType;
855
+ aiBlock: {
856
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
857
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
858
858
  };
859
859
  }
860
860
  }
@@ -862,9 +862,9 @@ declare module "@tiptap/core" {
862
862
 
863
863
  declare module "@tiptap/core" {
864
864
  interface Commands<ReturnType> {
865
- aiBlock: {
866
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
867
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
865
+ enhanceHighlight: {
866
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
867
+ clearEnhanceHighlight: () => ReturnType;
868
868
  };
869
869
  }
870
870
  }