@factorialco/f0-react 1.469.1 → 1.470.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.
@@ -237348,6 +237348,7 @@ const pBr = (e, t) => /* @__PURE__ */ f(
237348
237348
  B && (j ? /* @__PURE__ */ f(
237349
237349
  P5,
237350
237350
  {
237351
+ width: "fit",
237351
237352
  sticky: { right: 0 },
237352
237353
  className: "border-0 border-l-[1px] border-solid border-f1-border-secondary",
237353
237354
  children: /* @__PURE__ */ f("span", { className: "sr-only", children: C.collections.actions.actions })
@@ -237422,6 +237423,7 @@ const pBr = (e, t) => /* @__PURE__ */ f(
237422
237423
  B && (j ? /* @__PURE__ */ f(
237423
237424
  P5,
237424
237425
  {
237426
+ width: "fit",
237425
237427
  sticky: { right: 0 },
237426
237428
  className: "border-0 border-l-[1px] border-solid border-f1-border-secondary",
237427
237429
  children: /* @__PURE__ */ f("span", { className: "sr-only", children: C.collections.actions.actions })
@@ -237753,8 +237755,12 @@ const pBr = (e, t) => /* @__PURE__ */ f(
237753
237755
  ] }) });
237754
237756
  };
237755
237757
  function VBr({ message: e, children: t }) {
237756
- const [n, r] = fe(!1), i = Ee(() => r(!0), []), a = Ee(() => r(!1), []);
237757
- return /* @__PURE__ */ f("div", { className: "relative h-full w-full", children: /* @__PURE__ */ f(af, { delayDuration: 100, disableHoverableContent: !0, children: /* @__PURE__ */ A(of, { open: n, onOpenChange: r, children: [
237758
+ const [n, r] = fe(!1), i = Ee(() => {
237759
+ e && r(!0);
237760
+ }, [e]), a = Ee(() => r(!1), []);
237761
+ return Ve(() => {
237762
+ e || r(!1);
237763
+ }, [e]), /* @__PURE__ */ f("div", { className: "relative h-full w-full", children: /* @__PURE__ */ f(af, { delayDuration: 100, disableHoverableContent: !0, children: /* @__PURE__ */ A(of, { open: n && !!e, onOpenChange: r, children: [
237758
237764
  /* @__PURE__ */ f(sf, { asChild: !0, className: "pointer-events-auto h-full w-full", children: /* @__PURE__ */ f(
237759
237765
  "div",
237760
237766
  {
@@ -237764,11 +237770,11 @@ function VBr({ message: e, children: t }) {
237764
237770
  children: t
237765
237771
  }
237766
237772
  ) }),
237767
- /* @__PURE__ */ A(
237773
+ e && /* @__PURE__ */ A(
237768
237774
  U7,
237769
237775
  {
237770
237776
  side: "top",
237771
- className: "flex items-center gap-1 border-black/10 bg-[#fff] shadow-md",
237777
+ className: "border-black/10 flex items-center gap-1 bg-[#fff] shadow-md",
237772
237778
  children: [
237773
237779
  /* @__PURE__ */ f(yt, { icon: s5, color: "critical", size: "sm" }),
237774
237780
  /* @__PURE__ */ f("span", { className: "text-sm font-medium text-f1-foreground-critical", children: e })
@@ -237803,7 +237809,7 @@ function Ju({
237803
237809
  a ? "relative z-[1] border-r-0 bg-f1-background-critical/10 shadow-[inset_0_0_0_1px_hsl(var(--critical-50))]" : r ? "relative z-[1] border-r-0 bg-f1-background shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]" : i ? "shadow-none [&:not(:focus-within)]:hover:shadow-[inset_0_0_0_1px_hsl(var(--neutral-30))] focus-within:relative focus-within:z-[1] focus-within:border-r-0 focus-within:bg-f1-background focus-within:shadow-[inset_0_0_0_1px_hsl(var(--selected-50))]" : "shadow-none",
237804
237810
  e && "bg-f1-background-secondary"
237805
237811
  ),
237806
- children: a ? /* @__PURE__ */ f(VBr, { message: a, children: o }) : o
237812
+ children: /* @__PURE__ */ f(VBr, { message: a, children: o })
237807
237813
  }
237808
237814
  );
237809
237815
  }
@@ -237894,12 +237900,16 @@ function Lrt({
237894
237900
  onChange: i,
237895
237901
  item: a
237896
237902
  }) {
237897
- const o = e.numberConfig, [s, l] = fe(0), c = typeof t == "string" ? t.trim() : t, u = c !== "" && c != null ? Number(c) : NaN, d = isFinite(u) ? u : 0, { ref: h, width: p, locale: m, units: v, unitsBefore: g } = $Br(
237903
+ const o = e.numberConfig, [s, l] = fe(0), c = typeof t == "string" ? t.trim() : t, u = c !== "" && c != null ? Number(c) : NaN, d = isFinite(u) ? u : null, { ref: h, width: p, locale: m, units: v, unitsBefore: g } = $Br(
237898
237904
  o,
237899
237905
  d,
237900
237906
  a
237901
237907
  ), C = (w) => {
237902
- let x = w ?? 0;
237908
+ if (w == null) {
237909
+ t !== "" && i(null);
237910
+ return;
237911
+ }
237912
+ let x = w;
237903
237913
  o?.min != null && x < o.min && (x = o.min), o?.max != null && x > o.max && (x = o.max);
237904
237914
  const k = String(x);
237905
237915
  k !== t ? i(k) : l((_) => _ + 1);
package/dist/ai.d.ts CHANGED
@@ -3310,9 +3310,9 @@ declare namespace Calendar {
3310
3310
 
3311
3311
  declare module "@tiptap/core" {
3312
3312
  interface Commands<ReturnType> {
3313
- enhanceHighlight: {
3314
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3315
- clearEnhanceHighlight: () => ReturnType;
3313
+ aiBlock: {
3314
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3315
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3316
3316
  };
3317
3317
  }
3318
3318
  }
@@ -3320,9 +3320,9 @@ declare module "@tiptap/core" {
3320
3320
 
3321
3321
  declare module "@tiptap/core" {
3322
3322
  interface Commands<ReturnType> {
3323
- aiBlock: {
3324
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3325
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3323
+ enhanceHighlight: {
3324
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3325
+ clearEnhanceHighlight: () => ReturnType;
3326
3326
  };
3327
3327
  }
3328
3328
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-B9fVu77n.js";
1
+ import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-XZjqd4AY.js";
2
2
  import { defaultTranslations as S } from "./i18n-provider-defaults.js";
3
- import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-osvVCRdA.js";
3
+ import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-_SCbiXxu.js";
4
4
  export {
5
5
  v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -8060,9 +8060,9 @@ declare namespace Calendar {
8060
8060
 
8061
8061
  declare module "@tiptap/core" {
8062
8062
  interface Commands<ReturnType> {
8063
- enhanceHighlight: {
8064
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8065
- clearEnhanceHighlight: () => ReturnType;
8063
+ aiBlock: {
8064
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8065
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8066
8066
  };
8067
8067
  }
8068
8068
  }
@@ -8070,9 +8070,9 @@ declare module "@tiptap/core" {
8070
8070
 
8071
8071
  declare module "@tiptap/core" {
8072
8072
  interface Commands<ReturnType> {
8073
- aiBlock: {
8074
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8075
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8073
+ enhanceHighlight: {
8074
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8075
+ clearEnhanceHighlight: () => ReturnType;
8076
8076
  };
8077
8077
  }
8078
8078
  }
@@ -1,9 +1,9 @@
1
- import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-B9fVu77n.js";
2
- import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-B9fVu77n.js";
1
+ import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-XZjqd4AY.js";
2
+ import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-XZjqd4AY.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
5
- import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-BU0KMij1.js";
6
- import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-BU0KMij1.js";
5
+ import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-_wtftEvC.js";
6
+ import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-_wtftEvC.js";
7
7
  const dl = oa("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -13630,9 +13630,9 @@ declare namespace Calendar {
13630
13630
 
13631
13631
  declare module "@tiptap/core" {
13632
13632
  interface Commands<ReturnType> {
13633
- enhanceHighlight: {
13634
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
13635
- clearEnhanceHighlight: () => ReturnType;
13633
+ aiBlock: {
13634
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13635
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13636
13636
  };
13637
13637
  }
13638
13638
  }
@@ -13640,9 +13640,9 @@ declare module "@tiptap/core" {
13640
13640
 
13641
13641
  declare module "@tiptap/core" {
13642
13642
  interface Commands<ReturnType> {
13643
- aiBlock: {
13644
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
13645
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
13643
+ enhanceHighlight: {
13644
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
13645
+ clearEnhanceHighlight: () => ReturnType;
13646
13646
  };
13647
13647
  }
13648
13648
  }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { fz as Or, a6 as se, bU as Tn, O as P, P as ht, fA as Mr, W as yt, dG as zo, aS as Yi, fB as Io, a7 as zr, a8 as de, u as oe, ar as he, fq as Ut, U as Bo, ac as Po, M as Ir, fC as un, aO as Oe, aL as hi, fD as Ho, fE as Wo, fF as qo, fG as Ji, a0 as Go, fH as $o, fI as Br, fJ as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fK as Hr, fL as Uo, eg as Vo, fM as Zi, ef as Qo, fN as Ko, fO as wt, fP as Vt, fQ as Xo, fR as Wr, fS as Yo, fT as Jo, fU as An, fV as Zo, fW as ea, R as We, b0 as ta, d4 as si, d3 as qr, fX as na, fY as pi, cn as ia, fZ as ra, f_ as Gr, f$ as Ln, g0 as sa, g1 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g2 as ca, aR as On, g3 as $r, g4 as da, g5 as ua, g6 as ha, g7 as fa, cB as ma, m as ga, dq as pa, aq as jr, f5 as ft, g8 as Ur, f3 as Vr, g9 as mn, ga as Qr, ch as Kr, gb as Xr, as as bi, at as yi, gc as xi, aw as wi, aB as De, gd as Ci, aD as xt, ge as At, gf as Lt, av as Ot, gg as Mt, gh as va, gi as Zt, gj as Yr, gk as gn, bM as Pt, gl as _e, cs as ba, gm as Jr, gn as ya, go as pn, cr as xa, cq as wa, gp as Ca, gq as Sa, bO as Mn, aE as zn, gr as Zr, bJ as Si, bP as Ei, bc as Ea, gs as Ae, gt as Na, gu as _a, gv as es, gw as In, gx as Da, gy as Ra, cj as ts, gz as ka, gA as Ta, gB as Fa, gC as Aa, bp as ns, bv as La, ft as Oa, fu as Ma, fw as za, gD as is, bW as Ia, b_ as Ba, gE as er, c5 as Pa, gF as rs, gG as Ha, gH as Wa } from "./F0AiChat-B9fVu77n.js";
2
- import { hl as Lf, gM as Of, co as Mf, l as zf, hz as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hc as Gf, b as $f, gZ as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gJ as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gT as nm, gX as im, gK as rm, gY as sm, g_ as om, h0 as am, hE as lm, bx as cm, n as dm, hw as um, b5 as hm, $ as fm, hg as mm, bB as gm, hh as pm, hj as vm, hk as bm, d1 as ym, c$ as xm, d as wm, gN as Cm, hm as Sm, gO as Em, gP as Nm, gQ as _m, cN as Dm, cO as Rm, gI as km, gR as Tm, hD as Fm, gS as Am, bu as Lm, d0 as Om, hi as Mm, cP as zm, cm as Im, hF as Bm, gU as Pm, gV as Hm, gW as Wm, gL as qm, cQ as Gm, hy as $m, hr as jm, he as Um, h5 as Vm, h4 as Qm, h3 as Km, hb as Xm, hu as Ym, g as Jm, hq as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, ha as rg, cI as sg, h6 as og, hp as ag, ho as lg, h7 as cg, cw as dg, cK as ug, h1 as hg, h2 as fg, h8 as mg, c as gg, hn as pg, hs as vg, h as bg, hA as yg, hB as xg, hC as wg, bq as Cg, hd as Sg, g$ as Eg, hf as Ng, e as _g, hx as Dg, ht as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h9 as Lg, hv as Og, f as Mg, hG as zg } from "./F0AiChat-B9fVu77n.js";
1
+ import { fz as Or, a6 as se, bU as Tn, O as P, P as ht, fA as Mr, W as yt, dG as zo, aS as Yi, fB as Io, a7 as zr, a8 as de, u as oe, ar as he, fq as Ut, U as Bo, ac as Po, M as Ir, fC as un, aO as Oe, aL as hi, fD as Ho, fE as Wo, fF as qo, fG as Ji, a0 as Go, fH as $o, fI as Br, fJ as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fK as Hr, fL as Uo, eg as Vo, fM as Zi, ef as Qo, fN as Ko, fO as wt, fP as Vt, fQ as Xo, fR as Wr, fS as Yo, fT as Jo, fU as An, fV as Zo, fW as ea, R as We, b0 as ta, d4 as si, d3 as qr, fX as na, fY as pi, cn as ia, fZ as ra, f_ as Gr, f$ as Ln, g0 as sa, g1 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g2 as ca, aR as On, g3 as $r, g4 as da, g5 as ua, g6 as ha, g7 as fa, cB as ma, m as ga, dq as pa, aq as jr, f5 as ft, g8 as Ur, f3 as Vr, g9 as mn, ga as Qr, ch as Kr, gb as Xr, as as bi, at as yi, gc as xi, aw as wi, aB as De, gd as Ci, aD as xt, ge as At, gf as Lt, av as Ot, gg as Mt, gh as va, gi as Zt, gj as Yr, gk as gn, bM as Pt, gl as _e, cs as ba, gm as Jr, gn as ya, go as pn, cr as xa, cq as wa, gp as Ca, gq as Sa, bO as Mn, aE as zn, gr as Zr, bJ as Si, bP as Ei, bc as Ea, gs as Ae, gt as Na, gu as _a, gv as es, gw as In, gx as Da, gy as Ra, cj as ts, gz as ka, gA as Ta, gB as Fa, gC as Aa, bp as ns, bv as La, ft as Oa, fu as Ma, fw as za, gD as is, bW as Ia, b_ as Ba, gE as er, c5 as Pa, gF as rs, gG as Ha, gH as Wa } from "./F0AiChat-XZjqd4AY.js";
2
+ import { hl as Lf, gM as Of, co as Mf, l as zf, hz as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hc as Gf, b as $f, gZ as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gJ as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gT as nm, gX as im, gK as rm, gY as sm, g_ as om, h0 as am, hE as lm, bx as cm, n as dm, hw as um, b5 as hm, $ as fm, hg as mm, bB as gm, hh as pm, hj as vm, hk as bm, d1 as ym, c$ as xm, d as wm, gN as Cm, hm as Sm, gO as Em, gP as Nm, gQ as _m, cN as Dm, cO as Rm, gI as km, gR as Tm, hD as Fm, gS as Am, bu as Lm, d0 as Om, hi as Mm, cP as zm, cm as Im, hF as Bm, gU as Pm, gV as Hm, gW as Wm, gL as qm, cQ as Gm, hy as $m, hr as jm, he as Um, h5 as Vm, h4 as Qm, h3 as Km, hb as Xm, hu as Ym, g as Jm, hq as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, ha as rg, cI as sg, h6 as og, hp as ag, ho as lg, h7 as cg, cw as dg, cK as ug, h1 as hg, h2 as fg, h8 as mg, c as gg, hn as pg, hs as vg, h as bg, hA as yg, hB as xg, hC as wg, bq as Cg, hd as Sg, g$ as Eg, hf as Ng, e as _g, hx as Dg, ht as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h9 as Lg, hv as Og, f as Mg, hG as zg } from "./F0AiChat-XZjqd4AY.js";
3
3
  import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
4
4
  import ae, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as vn, createContext as Qe, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as oi, createElement as en, isValidElement as ss, Fragment as Ga, memo as os, useReducer as $a, cloneElement as ja, useId as as } from "react";
5
- import { g as Ua, h as Va } from "./types-osvVCRdA.js";
6
- import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-osvVCRdA.js";
5
+ import { g as Ua, h as Va } from "./types-_SCbiXxu.js";
6
+ import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-_SCbiXxu.js";
7
7
  import { createPortal as ls, unstable_batchedUpdates as tn } from "react-dom";
8
- import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-BU0KMij1.js";
9
- import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-BU0KMij1.js";
8
+ import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-_wtftEvC.js";
9
+ import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-_wtftEvC.js";
10
10
  import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Ja = {
12
12
  xs: 1,
@@ -824,9 +824,9 @@ declare namespace Calendar {
824
824
 
825
825
  declare module "@tiptap/core" {
826
826
  interface Commands<ReturnType> {
827
- enhanceHighlight: {
828
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
829
- clearEnhanceHighlight: () => ReturnType;
827
+ aiBlock: {
828
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
829
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
830
830
  };
831
831
  }
832
832
  }
@@ -834,9 +834,9 @@ declare module "@tiptap/core" {
834
834
 
835
835
  declare module "@tiptap/core" {
836
836
  interface Commands<ReturnType> {
837
- aiBlock: {
838
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
839
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
837
+ enhanceHighlight: {
838
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
839
+ clearEnhanceHighlight: () => ReturnType;
840
840
  };
841
841
  }
842
842
  }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, jsx as m, Fragment as Bt } from "react/jsx-runtime";
2
2
  import * as K from "react";
3
3
  import C, { useRef as ot, useState as ae, useCallback as Ye, useEffect as Ze, useLayoutEffect as kc, PureComponent as Kn, useMemo as $s, forwardRef as Pt, useId as Ac, useImperativeHandle as Cc, memo as wf, Fragment as Ia } from "react";
4
- import { M as Pn, aG as xf, O as z, ax as Sf, d3 as kf, d4 as Af, P as js, a6 as Re, aO as Ki, d5 as An, d6 as Cf, d7 as Ef, d8 as Ra, d9 as $a, da as ja, db as Fa, dc as za, dd as Of, de as _f, df as Nf, dg as Tf, dh as Ec, di as Oc, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Pf, dp as Nc, dq as Fs, dr as Df, ds as ye, dt as Gi, du as oe, dv as Tc, dw as Yi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as qi, dE as Mf, dF as Oe, dG as Xi, dH as Te, dI as pn, dJ as Hs, dK as Ji, dL as ui, dM as Zi, c9 as Ws, dN as Lf, dO as Qr, dP as Si, dQ as If, dR as Rf, dS as $f, dT as jf, dU as Ff, dV as zf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Bf, e0 as ki, e1 as Vf, e2 as Hf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Wf, e9 as Uf, a1 as Kf, ea as Gf, bV as Yf, a2 as qf, eb as fe, ec as we, aj as Xf, ak as Jf, al as Zf, ao as Qf, ed as jc, ee as eh, ef as Fc, bU as Dt, ar as _t, bp as th, Q, aE as Ks, eg as nh, cI as Ce, eh as Ao, ei as et, ej as gt, ek as $e, el as rh, em as di, en as rt, eo as zc, ep as qe, eq as Gs, er as Qe, es as Ba, et as ih, eu as Bc, ev as be, ew as Ve, ex as vr, ey as Ai, ez as Vc, eA as oh, eB as mn, eC as sh, eD as ah, eE as lh, a8 as j, aS as Hc, bu as ch, a7 as Wc, eF as Fr, eG as zr, eH as Ys, eI as uh, eJ as Uc, eK as Kc, eL as Gc, eM as dh, eN as Yc, eO as qc, eP as Xc, eQ as Jc, eR as Zc, eS as Qc, eT as fh, eU as hh, u as gn, aN as ph, bM as Qi, U as eu, W as tn, bo as mh, b7 as gh, br as yh, eV as bh, eW as vh, eX as wh, eY as xh, eZ as Sh, e_ as kh, aJ as tu, aK as qs, aL as eo, e$ as Va, f0 as Ah, f1 as Ch, f2 as Eh, f3 as Oh, f4 as _h, f5 as Nh, f6 as Th, f7 as Ph, f8 as Dh, f9 as Mh, fa as Lh, fb as Ih, fc as Rh, fd as $h, fe as jh, ff as Fh, fg as zh, X as Bh, aC as Vh, aQ as Hh, bB as Wh, bv as Ha, Y as Uh, aI as Kh, bN as nu, aH as Wa, b$ as Gh, cA as ru, fh as Yh, fi as qh, fj as Xh, fk as Jh, fl as Zh, fm as Qh, fn as ep, b3 as Yo, aX as iu, fo as tp, c7 as ou, fp as np, b2 as rp, fq as ip, fr as op, fs as sp, ft as ap, fu as lp, fv as cp, fw as up, fx as dp, fy as fp, c6 as Ua } from "./F0AiChat-B9fVu77n.js";
4
+ import { M as Pn, aG as xf, O as z, ax as Sf, d3 as kf, d4 as Af, P as js, a6 as Re, aO as Ki, d5 as An, d6 as Cf, d7 as Ef, d8 as Ra, d9 as $a, da as ja, db as Fa, dc as za, dd as Of, de as _f, df as Nf, dg as Tf, dh as Ec, di as Oc, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Pf, dp as Nc, dq as Fs, dr as Df, ds as ye, dt as Gi, du as oe, dv as Tc, dw as Yi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as qi, dE as Mf, dF as Oe, dG as Xi, dH as Te, dI as pn, dJ as Hs, dK as Ji, dL as ui, dM as Zi, c9 as Ws, dN as Lf, dO as Qr, dP as Si, dQ as If, dR as Rf, dS as $f, dT as jf, dU as Ff, dV as zf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Bf, e0 as ki, e1 as Vf, e2 as Hf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Wf, e9 as Uf, a1 as Kf, ea as Gf, bV as Yf, a2 as qf, eb as fe, ec as we, aj as Xf, ak as Jf, al as Zf, ao as Qf, ed as jc, ee as eh, ef as Fc, bU as Dt, ar as _t, bp as th, Q, aE as Ks, eg as nh, cI as Ce, eh as Ao, ei as et, ej as gt, ek as $e, el as rh, em as di, en as rt, eo as zc, ep as qe, eq as Gs, er as Qe, es as Ba, et as ih, eu as Bc, ev as be, ew as Ve, ex as vr, ey as Ai, ez as Vc, eA as oh, eB as mn, eC as sh, eD as ah, eE as lh, a8 as j, aS as Hc, bu as ch, a7 as Wc, eF as Fr, eG as zr, eH as Ys, eI as uh, eJ as Uc, eK as Kc, eL as Gc, eM as dh, eN as Yc, eO as qc, eP as Xc, eQ as Jc, eR as Zc, eS as Qc, eT as fh, eU as hh, u as gn, aN as ph, bM as Qi, U as eu, W as tn, bo as mh, b7 as gh, br as yh, eV as bh, eW as vh, eX as wh, eY as xh, eZ as Sh, e_ as kh, aJ as tu, aK as qs, aL as eo, e$ as Va, f0 as Ah, f1 as Ch, f2 as Eh, f3 as Oh, f4 as _h, f5 as Nh, f6 as Th, f7 as Ph, f8 as Dh, f9 as Mh, fa as Lh, fb as Ih, fc as Rh, fd as $h, fe as jh, ff as Fh, fg as zh, X as Bh, aC as Vh, aQ as Hh, bB as Wh, bv as Ha, Y as Uh, aI as Kh, bN as nu, aH as Wa, b$ as Gh, cA as ru, fh as Yh, fi as qh, fj as Xh, fk as Jh, fl as Zh, fm as Qh, fn as ep, b3 as Yo, aX as iu, fo as tp, c7 as ou, fp as np, b2 as rp, fq as ip, fr as op, fs as sp, ft as ap, fu as lp, fv as cp, fw as up, fx as dp, fy as fp, c6 as Ua } from "./F0AiChat-XZjqd4AY.js";
5
5
  import './index.css';const hp = {
6
6
  active: !0,
7
7
  breakpoints: {},
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as rt } from "./i18n-provider-defaults.js";
2
2
  import { jsx as h, jsxs as M, Fragment as Ge } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as nt, forwardRef as me, createContext as ot, useContext as it, useRef as D, useEffect as ue, useState as de, useCallback as at, useMemo as st, useId as ct, createElement as lt } from "react";
4
- import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-B9fVu77n.js";
4
+ import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-XZjqd4AY.js";
5
5
  import { useTrackVolume as qt } from "@livekit/components-react";
6
6
  function Ht(t, e, r) {
7
7
  nt(() => t.on(e, r), [t, e, r]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.469.1",
3
+ "version": "1.470.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",