@factorialco/f0-react 1.316.0 → 1.316.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.
@@ -6455,28 +6455,11 @@ declare global {
6455
6455
  }
6456
6456
  }
6457
6457
 
6458
- declare module "gridstack" {
6459
- interface GridStackWidget {
6460
- id?: string;
6461
- allowedSizes?: Array<{
6462
- w: number;
6463
- h: number;
6464
- }>;
6465
- meta?: Record<string, unknown>;
6466
- }
6467
- interface GridStackNode {
6468
- allowedSizes?: Array<{
6469
- w: number;
6470
- h: number;
6471
- }>;
6472
- }
6473
- }
6474
-
6475
6458
 
6476
6459
  declare module "@tiptap/core" {
6477
6460
  interface Commands<ReturnType> {
6478
- aiBlock: {
6479
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6461
+ liveCompanion: {
6462
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6480
6463
  };
6481
6464
  }
6482
6465
  }
@@ -6484,8 +6467,8 @@ declare module "@tiptap/core" {
6484
6467
 
6485
6468
  declare module "@tiptap/core" {
6486
6469
  interface Commands<ReturnType> {
6487
- liveCompanion: {
6488
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6470
+ aiBlock: {
6471
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6489
6472
  };
6490
6473
  }
6491
6474
  }
@@ -6499,6 +6482,23 @@ declare module "@tiptap/core" {
6499
6482
  }
6500
6483
  }
6501
6484
 
6485
+ declare module "gridstack" {
6486
+ interface GridStackWidget {
6487
+ id?: string;
6488
+ allowedSizes?: Array<{
6489
+ w: number;
6490
+ h: number;
6491
+ }>;
6492
+ meta?: Record<string, unknown>;
6493
+ }
6494
+ interface GridStackNode {
6495
+ allowedSizes?: Array<{
6496
+ w: number;
6497
+ h: number;
6498
+ }>;
6499
+ }
6500
+ }
6501
+
6502
6502
 
6503
6503
  declare module "@tiptap/core" {
6504
6504
  interface Commands<ReturnType> {
@@ -1,5 +1,5 @@
1
- import { bN as Xm, bO as gA, bP as $c, bQ as vA, bR as yA, bS as Ym, bT as p7, bU as Lo, az as d0, bV as Wr, bW as u0, bX as To, bY as Af, aD as bi, bZ as ol, b_ as Qm, b$ as xA, e as xo, c0 as zc, c1 as kA, c2 as wA, c3 as bA, c4 as CA, c5 as e3, c6 as m7, c7 as g7, c8 as _A, c9 as SA, ca as EA, d as ua, cb as t3, cc as Mf, cd as LA, ce as v7, cf as n3, cg as i3, ch as TA, ci as AA, cj as h0, aM as y7, ck as r3, cl as MA, cm as x7, cn as k7, co as M5, cp as Nf, cq as NA, cr as OA, cs as FA, ct as Nh, cu as DA, cv as IA, cw as RA, m as ge, cx as w7, cy as PA, cz as Of, l as Ua, cA as jc, z as k1, cB as b7, x as fd, cC as BA, n as Oh, cD as HA, q as VA, r as dd, i as $A, H as zA, J as jA, t as N5, cE as WA, G as O5, cF as UA, N as qA, cG as C7, cH as _7, cI as GA, aE as Te, F as $e, c as O, cJ as Ff, cK as o3, cL as s3, cM as qn, cN as Vn, cO as Df, cP as Ml, cQ as w1, bJ as Nl, b as Ze, cR as ko, A as ft, bc as lo, B as Dt, cS as KA, cT as a3, a as In, cU as F5, cV as ZA, cW as JA, cX as XA, aA as S7, aB as E7, cY as L7, cZ as T7, c_ as As, c$ as YA, d0 as D5, d1 as QA, d2 as eM, d3 as tM, w as Kt, S as ve, d4 as p0, d5 as Ci, d6 as A7, as as Oi, at as nM, d7 as M7, D as l3, bd as sl, d8 as i2, d9 as N7, da as O7, db as F7, dc as D7, dd as I7, aq as $t, de as R7, df as P7, dg as B7, dh as H7, di as V7, dj as iM, dk as rM, dl as m0, dm as $7, C as oM, bp as sM, dn as Fi, ay as Xs, g as hn, aw as c3, aC as z7, dp as aM, dq as b1, dr as lM, f as ha, ds as Ys, dt as j7, du as cM, dv as I5, dw as al, dx as f3, dy as If, dz as C1, dA as fM, dB as W7, dC as dM, dD as d3, dE as Wc, dF as Di, dG as uM, dH as hM, dI as Vo, dJ as Fh, dK as pM, dL as fc, dM as Fa, dN as mM, dO as U7, dP as gM, dQ as vM, dR as yM, dS as xM, O as ni, U as kM, Z as wM, _ as bM, a0 as CM, a5 as R5, a6 as P5, a7 as _M, a8 as SM, dT as EM, dU as Dh, dV as qa, dW as u3, dX as LM, dY as TM, dZ as AM, ba as MM, d_ as NM, bK as Rf, b9 as _1, d$ as r2, e0 as q7, h as Pi, e1 as g0, b6 as wo, e2 as OM, e3 as FM, e4 as G7, b4 as yr, e5 as DM, e6 as K7, e7 as Z7, e8 as Ol, e9 as h3, ea as IM, eb as J7, ec as RM, ed as PM, ao as p3, ap as m3, ar as g3, ee as X7, ef as BM, eg as HM, eh as VM, ei as Y7, aI as $M, ej as o2, ek as Q7, b1 as S1, el as zM, em as jM, en as WM, eo as UM, ep as qM, a_ as s2, bM as GM, bL as KM, eq as ex, ax as rs, er as ZM, es as JM, bj as v0, b2 as v3, aX as Pf, et as tx, b5 as XM, aZ as nx, aV as ix, eu as YM, ev as rx, ew as QM, aY as Fl, a$ as ox, aK as eN, ex as tN, br as nN, bs as iN, bz as y0, bx as y3, aG as x0, ey as k0, ez as w0, aH as b0, eA as x3, by as sx, b8 as k3, eB as rN, bD as oN, eC as a2, eD as sN, eE as E1, eF as aN, bt as L1, bE as lN, eG as cN, bC as ax, eH as fN, bB as dN, bA as uN, eI as hN, eJ as pN, eK as w3, eL as mN, eM as gN, eN as vN, eO as yN, eP as xN, eQ as kN, eR as wN, eS as bN, u as lx, bf as CN, bw as _N, eT as SN, eU as EN, eV as LN, b0 as TN, eW as Bf, eX as b3, b7 as C3, eY as _3, eZ as Hf, e_ as AN, e$ as cx, f0 as MN, f1 as NN, bF as fx, f2 as dx, bh as ux, f3 as ON, f4 as FN, f5 as DN, aJ as IN, aa as RN, ab as PN, ad as BN, ae as HN, af as VN, ac as $N, f6 as B5, f7 as zN, f8 as jN, K as WN, f9 as hx, fa as UN } from "./hooks-Cai7CCkN.js";
2
- import { aL as U4e, fd as q4e, fe as G4e, fc as K4e, b3 as Z4e, bb as J4e, fb as X4e, be as Y4e } from "./hooks-Cai7CCkN.js";
1
+ import { bN as Xm, bO as gA, bP as $c, bQ as vA, bR as yA, bS as Ym, bT as p7, bU as Lo, az as d0, bV as Wr, bW as u0, bX as To, bY as Af, aD as bi, bZ as ol, b_ as Qm, b$ as xA, e as xo, c0 as zc, c1 as kA, c2 as wA, c3 as bA, c4 as CA, c5 as e3, c6 as m7, c7 as g7, c8 as _A, c9 as SA, ca as EA, d as ua, cb as t3, cc as Mf, cd as LA, ce as v7, cf as n3, cg as i3, ch as TA, ci as AA, cj as h0, aM as y7, ck as r3, cl as MA, cm as x7, cn as k7, co as M5, cp as Nf, cq as NA, cr as OA, cs as FA, ct as Nh, cu as DA, cv as IA, cw as RA, m as ge, cx as w7, cy as PA, cz as Of, l as Ua, cA as jc, z as k1, cB as b7, x as fd, cC as BA, n as Oh, cD as HA, q as VA, r as dd, i as $A, H as zA, J as jA, t as N5, cE as WA, G as O5, cF as UA, N as qA, cG as C7, cH as _7, cI as GA, aE as Te, F as $e, c as O, cJ as Ff, cK as o3, cL as s3, cM as qn, cN as Vn, cO as Df, cP as Ml, cQ as w1, bJ as Nl, b as Ze, cR as ko, A as ft, bc as lo, B as Dt, cS as KA, cT as a3, a as In, cU as F5, cV as ZA, cW as JA, cX as XA, aA as S7, aB as E7, cY as L7, cZ as T7, c_ as As, c$ as YA, d0 as D5, d1 as QA, d2 as eM, d3 as tM, w as Kt, S as ve, d4 as p0, d5 as Ci, d6 as A7, as as Oi, at as nM, d7 as M7, D as l3, bd as sl, d8 as i2, d9 as N7, da as O7, db as F7, dc as D7, dd as I7, aq as $t, de as R7, df as P7, dg as B7, dh as H7, di as V7, dj as iM, dk as rM, dl as m0, dm as $7, C as oM, bp as sM, dn as Fi, ay as Xs, g as hn, aw as c3, aC as z7, dp as aM, dq as b1, dr as lM, f as ha, ds as Ys, dt as j7, du as cM, dv as I5, dw as al, dx as f3, dy as If, dz as C1, dA as fM, dB as W7, dC as dM, dD as d3, dE as Wc, dF as Di, dG as uM, dH as hM, dI as Vo, dJ as Fh, dK as pM, dL as fc, dM as Fa, dN as mM, dO as U7, dP as gM, dQ as vM, dR as yM, dS as xM, O as ni, U as kM, Z as wM, _ as bM, a0 as CM, a5 as R5, a6 as P5, a7 as _M, a8 as SM, dT as EM, dU as Dh, dV as qa, dW as u3, dX as LM, dY as TM, dZ as AM, ba as MM, d_ as NM, bK as Rf, b9 as _1, d$ as r2, e0 as q7, h as Pi, e1 as g0, b6 as wo, e2 as OM, e3 as FM, e4 as G7, b4 as yr, e5 as DM, e6 as K7, e7 as Z7, e8 as Ol, e9 as h3, ea as IM, eb as J7, ec as RM, ed as PM, ao as p3, ap as m3, ar as g3, ee as X7, ef as BM, eg as HM, eh as VM, ei as Y7, aI as $M, ej as o2, ek as Q7, b1 as S1, el as zM, em as jM, en as WM, eo as UM, ep as qM, a_ as s2, bM as GM, bL as KM, eq as ex, ax as rs, er as ZM, es as JM, bj as v0, b2 as v3, aX as Pf, et as tx, b5 as XM, aZ as nx, aV as ix, eu as YM, ev as rx, ew as QM, aY as Fl, a$ as ox, aK as eN, ex as tN, br as nN, bs as iN, bz as y0, bx as y3, aG as x0, ey as k0, ez as w0, aH as b0, eA as x3, by as sx, b8 as k3, eB as rN, bD as oN, eC as a2, eD as sN, eE as E1, eF as aN, bt as L1, bE as lN, eG as cN, bC as ax, eH as fN, bB as dN, bA as uN, eI as hN, eJ as pN, eK as w3, eL as mN, eM as gN, eN as vN, eO as yN, eP as xN, eQ as kN, eR as wN, eS as bN, u as lx, bf as CN, bw as _N, eT as SN, eU as EN, eV as LN, b0 as TN, eW as Bf, eX as b3, b7 as C3, eY as _3, eZ as Hf, e_ as AN, e$ as cx, f0 as MN, f1 as NN, bF as fx, f2 as dx, bh as ux, f3 as ON, f4 as FN, f5 as DN, aJ as IN, aa as RN, ab as PN, ad as BN, ae as HN, af as VN, ac as $N, f6 as B5, f7 as zN, f8 as jN, K as WN, f9 as hx, fa as UN } from "./hooks-BTk8LRGv.js";
2
+ import { aL as U4e, fd as q4e, fe as G4e, fc as K4e, b3 as Z4e, bb as J4e, fb as X4e, be as Y4e } from "./hooks-BTk8LRGv.js";
3
3
  import { jsxs as x, jsx as f, Fragment as Ge } from "react/jsx-runtime";
4
4
  import * as ke from "react";
5
5
  import xe, { forwardRef as P, createContext as si, useRef as we, useState as K, useCallback as Xe, useContext as Gn, useMemo as ye, useEffect as Ee, PureComponent as qN, useId as gs, useLayoutEffect as vs, useTransition as GN, memo as Vf, Fragment as Hr, isValidElement as px, cloneElement as S3, createElement as l2, useDebugValue as mx, createRef as KN, version as H5, useImperativeHandle as C0, Children as gx } from "react";
package/dist/f0.d.ts CHANGED
@@ -4929,28 +4929,11 @@ declare global {
4929
4929
  }
4930
4930
  }
4931
4931
 
4932
- declare module "gridstack" {
4933
- interface GridStackWidget {
4934
- id?: string;
4935
- allowedSizes?: Array<{
4936
- w: number;
4937
- h: number;
4938
- }>;
4939
- meta?: Record<string, unknown>;
4940
- }
4941
- interface GridStackNode {
4942
- allowedSizes?: Array<{
4943
- w: number;
4944
- h: number;
4945
- }>;
4946
- }
4947
- }
4948
-
4949
4932
 
4950
4933
  declare module "@tiptap/core" {
4951
4934
  interface Commands<ReturnType> {
4952
- aiBlock: {
4953
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4935
+ liveCompanion: {
4936
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4954
4937
  };
4955
4938
  }
4956
4939
  }
@@ -4958,8 +4941,8 @@ declare module "@tiptap/core" {
4958
4941
 
4959
4942
  declare module "@tiptap/core" {
4960
4943
  interface Commands<ReturnType> {
4961
- liveCompanion: {
4962
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4944
+ aiBlock: {
4945
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4963
4946
  };
4964
4947
  }
4965
4948
  }
@@ -4973,6 +4956,23 @@ declare module "@tiptap/core" {
4973
4956
  }
4974
4957
  }
4975
4958
 
4959
+ declare module "gridstack" {
4960
+ interface GridStackWidget {
4961
+ id?: string;
4962
+ allowedSizes?: Array<{
4963
+ w: number;
4964
+ h: number;
4965
+ }>;
4966
+ meta?: Record<string, unknown>;
4967
+ }
4968
+ interface GridStackNode {
4969
+ allowedSizes?: Array<{
4970
+ w: number;
4971
+ h: number;
4972
+ }>;
4973
+ }
4974
+ }
4975
+
4976
4976
 
4977
4977
  declare module "@tiptap/core" {
4978
4978
  interface Commands<ReturnType> {
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as _n, C as Ur, c as U, a as Di, u as En, m as Ri, i as Dn, B as Si, O as jr, p as Kr, w as Rn, S as xe, b as Xr, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, g as Zr, h as me, j as qi, k as Qr, l as di, n as lt, o as es, q as ts, r as At, s as Nn, E as is, t as zt, v as ns, x as rs, y as ss, z as os, G as Xe, H as An, I as as, J as ls, K as cs, M as Ji, N as ds, P as On, Q as us, R as kn, X as Tn, Y as vi, T as hs, U as zn, V as fs, W as gs, Z as ps, _ as ms, $ as vs, a0 as ys, a1 as bs, a2 as xs, a3 as Zi, a4 as ws, a5 as ct, a6 as ui, a7 as Cs, a8 as _s, a9 as Es, aa as Ds, ab as Rs, ac as Ss, ad as Ns, ae as As, af as Os, ag as ks, ah as Ts, ai as Qi, aj as zs, ak as Ps, al as Pn, am as Ms, an as Mt, ao as Mn, ap as Ln, aq as Ls, ar as In, as as Hn, at as Bn, au as Is, av as Hs, aw as Fn, ax as Bs, ay as Fs, az as Ws, aA as Gs, aB as $s, aC as Us, aD as Wn, aE as qe, aF as Gn, aG as js, aH as Ks, aI as en, aJ as Xs, aK as $n, aL as Ys, aM as Vs, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so } from "./hooks-Cai7CCkN.js";
2
- import { bo as ad, bB as ld, bK as cd, aX as dd, aY as ud, aZ as hd, a_ as fd, a$ as gd, b0 as pd, b1 as md, b2 as vd, b4 as yd, b5 as bd, b6 as xd, b7 as wd, b8 as Cd, b9 as _d, ba as Ed, bG as Dd, bc as Rd, bd as Sd, bh as Nd, bi as Ad, bj as Od, bl as kd, bm as Td, bn as zd, bq as Pd, bf as Md, bp as Ld, bg as Id, bk as Hd, bH as Bd, bA as Fd, bv as Wd, by as Gd, bu as $d, bL as Ud, bt as jd, bs as Kd, b3 as Xd, bb as Yd, be as Vd, br as qd, bw as Jd, bC as Zd, bD as Qd, bE as eu, bM as tu, bx as iu, bF as nu, bJ as ru, bz as su, bI as ou } from "./hooks-Cai7CCkN.js";
1
+ import { L as _n, C as Ur, c as U, a as Di, u as En, m as Ri, i as Dn, B as Si, O as jr, p as Kr, w as Rn, S as xe, b as Xr, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, g as Zr, h as me, j as qi, k as Qr, l as di, n as lt, o as es, q as ts, r as At, s as Nn, E as is, t as zt, v as ns, x as rs, y as ss, z as os, G as Xe, H as An, I as as, J as ls, K as cs, M as Ji, N as ds, P as On, Q as us, R as kn, X as Tn, Y as vi, T as hs, U as zn, V as fs, W as gs, Z as ps, _ as ms, $ as vs, a0 as ys, a1 as bs, a2 as xs, a3 as Zi, a4 as ws, a5 as ct, a6 as ui, a7 as Cs, a8 as _s, a9 as Es, aa as Ds, ab as Rs, ac as Ss, ad as Ns, ae as As, af as Os, ag as ks, ah as Ts, ai as Qi, aj as zs, ak as Ps, al as Pn, am as Ms, an as Mt, ao as Mn, ap as Ln, aq as Ls, ar as In, as as Hn, at as Bn, au as Is, av as Hs, aw as Fn, ax as Bs, ay as Fs, az as Ws, aA as Gs, aB as $s, aC as Us, aD as Wn, aE as qe, aF as Gn, aG as js, aH as Ks, aI as en, aJ as Xs, aK as $n, aL as Ys, aM as Vs, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so } from "./hooks-BTk8LRGv.js";
2
+ import { bo as ad, bB as ld, bK as cd, aX as dd, aY as ud, aZ as hd, a_ as fd, a$ as gd, b0 as pd, b1 as md, b2 as vd, b4 as yd, b5 as bd, b6 as xd, b7 as wd, b8 as Cd, b9 as _d, ba as Ed, bG as Dd, bc as Rd, bd as Sd, bh as Nd, bi as Ad, bj as Od, bl as kd, bm as Td, bn as zd, bq as Pd, bf as Md, bp as Ld, bg as Id, bk as Hd, bH as Bd, bA as Fd, bv as Wd, by as Gd, bu as $d, bL as Ud, bt as jd, bs as Kd, b3 as Xd, bb as Yd, be as Vd, br as qd, bw as Jd, bC as Zd, bD as Qd, bE as eu, bM as tu, bx as iu, bF as nu, bJ as ru, bz as su, bI as ou } from "./hooks-BTk8LRGv.js";
3
3
  import { jsx as f, jsxs as P, Fragment as qt } from "react/jsx-runtime";
4
4
  import M, { forwardRef as oe, useRef as L, useImperativeHandle as oo, Children as Lt, createContext as Ae, useContext as _e, useState as W, useMemo as H, useEffect as I, useCallback as j, useLayoutEffect as yi, createElement as tn, isValidElement as Un, Fragment as ao, memo as lo, useReducer as co, cloneElement as uo, PureComponent as ho } from "react";
5
5
  import { createPortal as jn, unstable_batchedUpdates as Ot } from "react-dom";