@factorialco/f0-react 4.0.2 → 4.0.4

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.
@@ -141692,7 +141692,14 @@ function M33({
141692
141692
  // `[&>*]:shrink-0` keeps each rendered secondary, separator, link and
141693
141693
  // the "⋯" trigger at its natural width: the row overflows by shedding
141694
141694
  // into the menu, never by squeezing a button to nothing.
141695
- "relative flex min-w-0 flex-1 items-center gap-md [&>*]:shrink-0",
141695
+ "relative flex flex-1 items-center gap-md [&>*]:shrink-0",
141696
+ // `min-w-0` only when the cluster can shed: it lets the cluster shrink
141697
+ // below its content so the title truncates against it and plain
141698
+ // secondaries spill into the "⋯" menu. When the group can't overflow
141699
+ // (e.g. a confirm/reject pair), dropping `min-w-0` keeps the cluster's
141700
+ // min-content floor so the buttons reserve their width and are never
141701
+ // squeezed to nothing — there's no menu to catch what gets squeezed out.
141702
+ s && "min-w-0",
141696
141703
  i === "end" && "justify-end"
141697
141704
  ),
141698
141705
  children: [
@@ -141849,12 +141856,15 @@ function S33({
141849
141856
  }
141850
141857
  );
141851
141858
  }, y = (
141852
- // Icon-only, inline at the trailing edge.
141859
+ // Icon-only, inline at the trailing edge. Like the standard actions
141860
+ // wrapper, we deliberately omit `min-w-0` so the box keeps its min-content
141861
+ // floor: the confirm/reject pair reserves its width and the leading title
141862
+ // truncates against it, instead of the buttons being squeezed to nothing.
141853
141863
  /* @__PURE__ */ a(
141854
141864
  "div",
141855
141865
  {
141856
141866
  className: Q(
141857
- "relative z-[1] min-w-0 flex-1",
141867
+ "relative z-[1] flex-1",
141858
141868
  u,
141859
141869
  H33[s]
141860
141870
  ),
package/dist/ai.d.ts CHANGED
@@ -4708,11 +4708,9 @@ declare namespace Calendar {
4708
4708
 
4709
4709
  declare module "@tiptap/core" {
4710
4710
  interface Commands<ReturnType> {
4711
- enhanceHighlight: {
4712
- setEnhanceHighlight: (from: number, to: number, options?: {
4713
- placeholder?: string;
4714
- }) => ReturnType;
4715
- clearEnhanceHighlight: () => ReturnType;
4711
+ aiBlock: {
4712
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4713
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4716
4714
  };
4717
4715
  }
4718
4716
  }
@@ -4720,9 +4718,11 @@ declare module "@tiptap/core" {
4720
4718
 
4721
4719
  declare module "@tiptap/core" {
4722
4720
  interface Commands<ReturnType> {
4723
- aiBlock: {
4724
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4725
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4721
+ enhanceHighlight: {
4722
+ setEnhanceHighlight: (from: number, to: number, options?: {
4723
+ placeholder?: string;
4724
+ }) => ReturnType;
4725
+ clearEnhanceHighlight: () => ReturnType;
4726
4726
  };
4727
4727
  }
4728
4728
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as o, a as i, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-CKRcaMY6.js";
1
+ import { C as e, D as r, c as t, F as o, a as i, f as n, g as F, d as C, e as A, I as l, P as d, b as u, u as m } from "./F0CanvasPanel-BEfffklz.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-DXklkV_o.js";
3
+ import { A as P, s as v, t as f, w as g, l as p, i as T, q as y, x as S, p as x, r as H, j as V, e as b, g as k, k as w, F as M, h as O, a as D, n as j, m as q, o as z, b as B, f as E, v as L, c as R, d as G, u as J } from "./useChatHistory-XWv7ITeI.js";
4
4
  export {
5
5
  P as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -9733,11 +9733,9 @@ declare namespace Calendar {
9733
9733
 
9734
9734
  declare module "@tiptap/core" {
9735
9735
  interface Commands<ReturnType> {
9736
- enhanceHighlight: {
9737
- setEnhanceHighlight: (from: number, to: number, options?: {
9738
- placeholder?: string;
9739
- }) => ReturnType;
9740
- clearEnhanceHighlight: () => ReturnType;
9736
+ aiBlock: {
9737
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
9738
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
9741
9739
  };
9742
9740
  }
9743
9741
  }
@@ -9745,9 +9743,11 @@ declare module "@tiptap/core" {
9745
9743
 
9746
9744
  declare module "@tiptap/core" {
9747
9745
  interface Commands<ReturnType> {
9748
- aiBlock: {
9749
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
9750
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
9746
+ enhanceHighlight: {
9747
+ setEnhanceHighlight: (from: number, to: number, options?: {
9748
+ placeholder?: string;
9749
+ }) => ReturnType;
9750
+ clearEnhanceHighlight: () => ReturnType;
9751
9751
  };
9752
9752
  }
9753
9753
  }
@@ -1,9 +1,9 @@
1
- import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va, o as b, p as J, q as ye, u as oe, T as ya, r as wa, s as Na, R as Ca, t as Ia, v as ce, w as ka, x as Nt, y as ut, z as Ve, A as Le, E as Sa, G as Fa, H as U, J as Aa, K as La, L as xe, M as mn, N as Oa, O as Pa, Q as H, S as hn, U as z, V as ke, W as Ea, X as _a, Y as Da, Z as Ta, _ as za, $ as Oe, a0 as gn, a1 as Ra, a2 as we, a3 as Ue, a4 as Ba, e as pn, a5 as Ae, a6 as $a, a7 as bn, a8 as ie, a9 as X, aa as xn, ab as vn, ac as Ma, ad as yn, ae as pe, af as ae, ag as Wa, ah as ja, ai as Va, aj as Ua, ak as ve, al as Ye, am as Ha, an as Ga, ao as Ka, ap as qa, aq as Je, ar as wn, as as Ya, at as Ja, au as Za, av as He, aw as Xa, ax as Nn, ay as Qa, az as er, aA as tr, aB as nr, aC as ar, aD as rr, aE as ir, aF as lr, aG as ft, aH as Cn, aI as mt, aJ as In, aK as sr, aL as or, aM as cr, aN as dr, aO as ur, aP as Ze, aQ as Xe, aR as ht, aS as kn, aT as fr, aU as Ct, aV as mr, aW as hr, aX as gr, aY as Re, aZ as pr, a_ as br, a$ as $e, b0 as Tt, b1 as gt, b2 as xr, b3 as vr, a as yr, b as wr, b4 as Sn, b5 as Nr, g as Cr, F as Ir, b6 as kr, b7 as Fn, b8 as Sr, b9 as An, ba as Ln, bb as Fr, bc as Ar, bd as Lr, be as Or, bf as Pr, bg as Er, bh as _r, bi as Dr, bj as Tr, bk as On, bl as zr, bm as Rr, bn as Br, bo as $r, bp as ge, bq as It, br as kt, bs as St, bt as Pn, bu as Ft, bv as En, bw as _n, bx as Mr, by as Wr, bz as jr, bA as Vr, bB as Ur, bC as Hr, bD as Gr, bE as Kr, bF as zt, bG as qr, bH as Yr, bI as Rt, bJ as Bt, bK as $t, bL as Jr, bM as Zr, bN as Xr, bO as Qr, bP as Dn, bQ as ei, bR as ti } from "./F0CanvasPanel-CKRcaMY6.js";
2
- import { c2 as Kc, c1 as qc, ce as Yc, b_ as Jc, b$ as Zc, bS as Xc, bT as Qc, ch as ed, bU as td, bV as nd, ci as ad, c0 as rd, ca as id, cb as ld, cf as sd, bW as od, c4 as cd, c3 as dd, bX as ud, bY as fd, cc as md, cj as hd, cd as gd, cg as pd, c9 as bd, c6 as xd, c8 as vd, c5 as yd, bZ as wd, c7 as Nd } from "./F0CanvasPanel-CKRcaMY6.js";
1
+ import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va, o as b, p as J, q as ye, u as oe, T as ya, r as wa, s as Na, R as Ca, t as Ia, v as ce, w as ka, x as Nt, y as ut, z as Ve, A as Le, E as Sa, G as Fa, H as U, J as Aa, K as La, L as xe, M as mn, N as Oa, O as Pa, Q as H, S as hn, U as z, V as ke, W as Ea, X as _a, Y as Da, Z as Ta, _ as za, $ as Oe, a0 as gn, a1 as Ra, a2 as we, a3 as Ue, a4 as Ba, e as pn, a5 as Ae, a6 as $a, a7 as bn, a8 as ie, a9 as X, aa as xn, ab as vn, ac as Ma, ad as yn, ae as pe, af as ae, ag as Wa, ah as ja, ai as Va, aj as Ua, ak as ve, al as Ye, am as Ha, an as Ga, ao as Ka, ap as qa, aq as Je, ar as wn, as as Ya, at as Ja, au as Za, av as He, aw as Xa, ax as Nn, ay as Qa, az as er, aA as tr, aB as nr, aC as ar, aD as rr, aE as ir, aF as lr, aG as ft, aH as Cn, aI as mt, aJ as In, aK as sr, aL as or, aM as cr, aN as dr, aO as ur, aP as Ze, aQ as Xe, aR as ht, aS as kn, aT as fr, aU as Ct, aV as mr, aW as hr, aX as gr, aY as Re, aZ as pr, a_ as br, a$ as $e, b0 as Tt, b1 as gt, b2 as xr, b3 as vr, a as yr, b as wr, b4 as Sn, b5 as Nr, g as Cr, F as Ir, b6 as kr, b7 as Fn, b8 as Sr, b9 as An, ba as Ln, bb as Fr, bc as Ar, bd as Lr, be as Or, bf as Pr, bg as Er, bh as _r, bi as Dr, bj as Tr, bk as On, bl as zr, bm as Rr, bn as Br, bo as $r, bp as ge, bq as It, br as kt, bs as St, bt as Pn, bu as Ft, bv as En, bw as _n, bx as Mr, by as Wr, bz as jr, bA as Vr, bB as Ur, bC as Hr, bD as Gr, bE as Kr, bF as zt, bG as qr, bH as Yr, bI as Rt, bJ as Bt, bK as $t, bL as Jr, bM as Zr, bN as Xr, bO as Qr, bP as Dn, bQ as ei, bR as ti } from "./F0CanvasPanel-BEfffklz.js";
2
+ import { c2 as Kc, c1 as qc, ce as Yc, b_ as Jc, b$ as Zc, bS as Xc, bT as Qc, ch as ed, bU as td, bV as nd, ci as ad, c0 as rd, ca as id, cb as ld, cf as sd, bW as od, c4 as cd, c3 as dd, bX as ud, bY as fd, cc as md, cj as hd, cd as gd, cg as pd, c9 as bd, c6 as xd, c8 as vd, c5 as yd, bZ as wd, c7 as Nd } from "./F0CanvasPanel-BEfffklz.js";
3
3
  import { jsx as e, jsxs as o, Fragment as Z } from "react/jsx-runtime";
4
4
  import ue, { forwardRef as G, useRef as j, useTransition as ni, useState as D, useLayoutEffect as Tn, useId as pt, useContext as Pe, createContext as Qe, useEffect as W, useCallback as ne, useMemo as q, Fragment as ai, isValidElement as ri, cloneElement as zn, Children as Rn } from "react";
5
- import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-CIcHgldF.js";
6
- import { r as Id, s as kd, o as Sd, H as Fd, t as Ad, z as Ld, a8 as Od, G as Pd, q as Ed, aa as _d, a9 as Dd, Q as Td, ad as zd, F as Rd, Y as Bd, U as $d, J as Md, af as Wd, K as jd, Z as Vd, _ as Ud, v as Hd, ab as Gd, ac as Kd, N as qd, $ as Yd, a5 as Jd, a7 as Zd, w as Xd, y as Qd, D as eu, W as tu, ae as nu, X as au, T as ru, ag as iu, x as lu, E as su, m as ou, n as cu, a1 as du, a2 as uu, a6 as fu, I as mu, a3 as hu, a0 as gu, a4 as pu } from "./useDataCollectionSource-CIcHgldF.js";
5
+ import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-BIPtqfqk.js";
6
+ import { r as Id, s as kd, o as Sd, H as Fd, t as Ad, z as Ld, a8 as Od, G as Pd, q as Ed, aa as _d, a9 as Dd, Q as Td, ad as zd, F as Rd, Y as Bd, U as $d, J as Md, af as Wd, K as jd, Z as Vd, _ as Ud, v as Hd, ab as Gd, ac as Kd, N as qd, $ as Yd, a5 as Jd, a7 as Zd, w as Xd, y as Qd, D as eu, W as tu, ae as nu, X as au, T as ru, ag as iu, x as lu, E as su, m as ou, n as cu, a1 as du, a2 as uu, a6 as fu, I as mu, a3 as hu, a0 as gu, a4 as pu } from "./useDataCollectionSource-BIPtqfqk.js";
7
7
  const ki = ga("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
@@ -16777,11 +16777,9 @@ declare namespace Calendar {
16777
16777
 
16778
16778
  declare module "@tiptap/core" {
16779
16779
  interface Commands<ReturnType> {
16780
- enhanceHighlight: {
16781
- setEnhanceHighlight: (from: number, to: number, options?: {
16782
- placeholder?: string;
16783
- }) => ReturnType;
16784
- clearEnhanceHighlight: () => ReturnType;
16780
+ aiBlock: {
16781
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16782
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16785
16783
  };
16786
16784
  }
16787
16785
  }
@@ -16789,9 +16787,11 @@ declare module "@tiptap/core" {
16789
16787
 
16790
16788
  declare module "@tiptap/core" {
16791
16789
  interface Commands<ReturnType> {
16792
- aiBlock: {
16793
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16794
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16790
+ enhanceHighlight: {
16791
+ setEnhanceHighlight: (from: number, to: number, options?: {
16792
+ placeholder?: string;
16793
+ }) => ReturnType;
16794
+ clearEnhanceHighlight: () => ReturnType;
16795
16795
  };
16796
16796
  }
16797
16797
  }
package/dist/f0.js CHANGED
@@ -1,13 +1,13 @@
1
- import { gN as WI, a8 as rt, bp as M_, o as J, q as Ln, gH as $I, p as ta, eV as pG, gO as UI, af as Gp, U as K, u as $e, H as tt, dg as au, A as Hp, j as YI, L as Ka, d0 as Qa, a9 as qt, a5 as kf, gP as gG, ae as El, gE as q0, gQ as mG, gR as yG, gS as $S, e6 as bG, gT as xG, gU as XI, fv as E_, gV as _G, gW as wG, gX as _l, gY as Pf, gZ as ou, g_ as SG, g$ as qI, h0 as CG, h1 as TG, bJ as DG, bI as AG, v as Cs, J as Of, K as Bf, Q as ct, O as zf, fR as ZI, Y as Zt, ad as Vf, _ as hs, h2 as MG, aP as jI, bg as EG, e2 as US, cW as KI, ba as Gl, bh as LG, aD as L_, aE as N_, aF as I_, al as R_, ce as lv, h3 as k_, h4 as NG, gG as YS, fA as IG, h5 as uv, at as RG, gg as P_, h6 as kG, $ as Ff, c4 as PG, n as OG, l as BG, h7 as QI, h8 as zG, h9 as VG, ha as JI, y as FG, hb as GG, hc as HG, hd as WG, he as XS, ft as $G, hf as UG, fZ as su, f_ as Gf, gc as YG, fP as e2, aa as bn, aq as XG, cP as Z0, cO as t2, g0 as r2, fO as qG, hg as Wp, dr as O_, gs as ZG, a3 as n2, fs as jG, bL as KG, gh as B_, dV as QG, dW as JG, dX as e3, d as t3, eF as r3, G as i2, cV as Ts, dK as a2, dq as o2, bO as z_, dM as s2, cG as V_, fT as Ll, fU as Nl, N as Il, fV as Rl, fS as Pa, cI as l2, as as n3, dn as cv, be as Hl, g3 as Fr, bW as i3, a2 as u2, ds as j0, e3 as Kc, bV as a3, aY as c2, aC as o3, gm as jr, hh as s3, hi as l3, hj as f2, hk as $p, hl as u3, hm as c3, dv as d2, dt as h2, e0 as f3, hn as d3, aS as v2, ge as h3, gf as v3, bq as lu, bu as uu, bB as Hf, dN as p3, br as g3, b7 as m3, S as p2, bf as y3, a1 as b3, dk as qS, dJ as Qc, fw as x3, fx as _3, ho as w3, aX as S3, bv as C3, c_ as g2, a6 as T3, cN as D3, gK as A3, bD as M3, hp as E3, hq as L3, I as N3, hr as I3, hs as R3, ht as k3, hu as P3, hv as O3 } from "./F0CanvasPanel-CKRcaMY6.js";
2
- import { hL as Vpe, C as Fpe, D as Gpe, aQ as Hpe, c as Wpe, F as $pe, a as Upe, hE as Ype, f as Xpe, b8 as qpe, aR as Zpe, bE as jpe, dZ as Kpe, aI as Qpe, bk as Jpe, ak as ege, e5 as tge, bS as rge, g as nge, dY as ige, hz as age, hQ as oge, ch as sge, a$ as lge, e as uge, bU as cge, av as fge, bw as dge, hG as hge, b3 as vge, hH as pge, hJ as gge, hK as mge, ci as yge, hN as bge, ca as xge, cb as _ge, P as wge, cf as Sge, hI as Cge, cc as Tge, hM as Dge, hR as Age, hw as Mge, hx as Ege, hy as Lge, cd as Nge, hP as Ige, hF as Rge, hC as kge, hB as Pge, cg as Oge, fM as Bge, gt as zge, hO as Vge, aV as Fge, c9 as Gge, c6 as Hge, c8 as Wge, c5 as $ge, hD as Uge, gv as Yge, gp as Xge, g1 as qge, hU as Zge, bZ as jge, c7 as Kge, hT as Qge, bl as Jge, d_ as eme, fL as tme, g2 as rme, b as nme, bo as ime, gM as ame, aT as ome, d$ as sme, hA as lme, gr as ume, gq as cme, hS as fme } from "./F0CanvasPanel-CKRcaMY6.js";
1
+ import { gN as WI, a8 as rt, bp as M_, o as J, q as Ln, gH as $I, p as ta, eV as pG, gO as UI, af as Gp, U as K, u as $e, H as tt, dg as au, A as Hp, j as YI, L as Ka, d0 as Qa, a9 as qt, a5 as kf, gP as gG, ae as El, gE as q0, gQ as mG, gR as yG, gS as $S, e6 as bG, gT as xG, gU as XI, fv as E_, gV as _G, gW as wG, gX as _l, gY as Pf, gZ as ou, g_ as SG, g$ as qI, h0 as CG, h1 as TG, bJ as DG, bI as AG, v as Cs, J as Of, K as Bf, Q as ct, O as zf, fR as ZI, Y as Zt, ad as Vf, _ as hs, h2 as MG, aP as jI, bg as EG, e2 as US, cW as KI, ba as Gl, bh as LG, aD as L_, aE as N_, aF as I_, al as R_, ce as lv, h3 as k_, h4 as NG, gG as YS, fA as IG, h5 as uv, at as RG, gg as P_, h6 as kG, $ as Ff, c4 as PG, n as OG, l as BG, h7 as QI, h8 as zG, h9 as VG, ha as JI, y as FG, hb as GG, hc as HG, hd as WG, he as XS, ft as $G, hf as UG, fZ as su, f_ as Gf, gc as YG, fP as e2, aa as bn, aq as XG, cP as Z0, cO as t2, g0 as r2, fO as qG, hg as Wp, dr as O_, gs as ZG, a3 as n2, fs as jG, bL as KG, gh as B_, dV as QG, dW as JG, dX as e3, d as t3, eF as r3, G as i2, cV as Ts, dK as a2, dq as o2, bO as z_, dM as s2, cG as V_, fT as Ll, fU as Nl, N as Il, fV as Rl, fS as Pa, cI as l2, as as n3, dn as cv, be as Hl, g3 as Fr, bW as i3, a2 as u2, ds as j0, e3 as Kc, bV as a3, aY as c2, aC as o3, gm as jr, hh as s3, hi as l3, hj as f2, hk as $p, hl as u3, hm as c3, dv as d2, dt as h2, e0 as f3, hn as d3, aS as v2, ge as h3, gf as v3, bq as lu, bu as uu, bB as Hf, dN as p3, br as g3, b7 as m3, S as p2, bf as y3, a1 as b3, dk as qS, dJ as Qc, fw as x3, fx as _3, ho as w3, aX as S3, bv as C3, c_ as g2, a6 as T3, cN as D3, gK as A3, bD as M3, hp as E3, hq as L3, I as N3, hr as I3, hs as R3, ht as k3, hu as P3, hv as O3 } from "./F0CanvasPanel-BEfffklz.js";
2
+ import { hL as Vpe, C as Fpe, D as Gpe, aQ as Hpe, c as Wpe, F as $pe, a as Upe, hE as Ype, f as Xpe, b8 as qpe, aR as Zpe, bE as jpe, dZ as Kpe, aI as Qpe, bk as Jpe, ak as ege, e5 as tge, bS as rge, g as nge, dY as ige, hz as age, hQ as oge, ch as sge, a$ as lge, e as uge, bU as cge, av as fge, bw as dge, hG as hge, b3 as vge, hH as pge, hJ as gge, hK as mge, ci as yge, hN as bge, ca as xge, cb as _ge, P as wge, cf as Sge, hI as Cge, cc as Tge, hM as Dge, hR as Age, hw as Mge, hx as Ege, hy as Lge, cd as Nge, hP as Ige, hF as Rge, hC as kge, hB as Pge, cg as Oge, fM as Bge, gt as zge, hO as Vge, aV as Fge, c9 as Gge, c6 as Hge, c8 as Wge, c5 as $ge, hD as Uge, gv as Yge, gp as Xge, g1 as qge, hU as Zge, bZ as jge, c7 as Kge, hT as Qge, bl as Jge, d_ as eme, fL as tme, g2 as rme, b as nme, bo as ime, gM as ame, aT as ome, d$ as sme, hA as lme, gr as ume, gq as cme, hS as fme } from "./F0CanvasPanel-BEfffklz.js";
3
3
  import { jsx as S, jsxs as B, Fragment as nt } from "react/jsx-runtime";
4
4
  import * as St from "react";
5
5
  import xt, { forwardRef as hr, useRef as fe, useImperativeHandle as B3, Children as fv, createContext as Or, useContext as fr, useState as oe, useMemo as le, useEffect as pe, useCallback as ie, useLayoutEffect as K0, isValidElement as m2, Fragment as Up, memo as y2, useReducer as z3, cloneElement as V3, useId as Rc, useSyncExternalStore as ZS } from "react";
6
- import { y as F3, z as G3, B as H3, C as W3, D as b2, E as dv, G as F_, H as x2, I as _2, J as pi, K as $3, L as U3, M as Y3, N as X3, O as q3, F as Z3 } from "./useChatHistory-DXklkV_o.js";
7
- import { A as hme, s as vme, t as pme, w as gme, l as mme, i as yme, q as bme, x as xme, p as _me, r as wme, j as Sme, e as Cme, g as Tme, k as Dme, h as Ame, a as Mme, n as Eme, m as Lme, o as Nme, b as Ime, f as Rme, v as kme, c as Pme, d as Ome, u as Bme } from "./useChatHistory-DXklkV_o.js";
6
+ import { y as F3, z as G3, B as H3, C as W3, D as b2, E as dv, G as F_, H as x2, I as _2, J as pi, K as $3, L as U3, M as Y3, N as X3, O as q3, F as Z3 } from "./useChatHistory-XWv7ITeI.js";
7
+ import { A as hme, s as vme, t as pme, w as gme, l as mme, i as yme, q as bme, x as xme, p as _me, r as wme, j as Sme, e as Cme, g as Tme, k as Dme, h as Ame, a as Mme, n as Eme, m as Lme, o as Nme, b as Ime, f as Rme, v as kme, c as Pme, d as Ome, u as Bme } from "./useChatHistory-XWv7ITeI.js";
8
8
  import { createPortal as G_, unstable_batchedUpdates as vd } from "react-dom";
9
- import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-CIcHgldF.js";
10
- import { r as Vme, s as Fme, H as Gme, t as Hme, z as Wme, aQ as $me, aP as Ume, aL as Yme, aB as Xme, aA as qme, aC as Zme, aD as jme, aa as Kme, a9 as Qme, ad as Jme, U as eye, J as tye, af as rye, K as nye, v as iye, aR as aye, ab as oye, ac as sye, N as lye, w as uye, P as cye, y as fye, D as dye, ae as hye, T as vye, ag as pye, x as gye, E as mye, aT as yye, m as bye, n as xye, aK as _ye, aG as wye, aF as Sye, aS as Cye, a6 as Tye, aI as Dye, aJ as Aye, I as Mye, aU as Eye, aV as Lye, e as Nye, aM as Iye, aN as Rye, aO as kye, aH as Pye, f as Oye, h as Bye, aE as zye, aW as Vye } from "./useDataCollectionSource-CIcHgldF.js";
9
+ import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-BIPtqfqk.js";
10
+ import { r as Vme, s as Fme, H as Gme, t as Hme, z as Wme, aQ as $me, aP as Ume, aL as Yme, aB as Xme, aA as qme, aC as Zme, aD as jme, aa as Kme, a9 as Qme, ad as Jme, U as eye, J as tye, af as rye, K as nye, v as iye, aR as aye, ab as oye, ac as sye, N as lye, w as uye, P as cye, y as fye, D as dye, ae as hye, T as vye, ag as pye, x as gye, E as mye, aT as yye, m as bye, n as xye, aK as _ye, aG as wye, aF as Sye, aS as Cye, a6 as Tye, aI as Dye, aJ as Aye, I as Mye, aU as Eye, aV as Lye, e as Nye, aM as Iye, aN as Rye, aO as kye, aH as Pye, f as Oye, h as Bye, aE as zye, aW as Vye } from "./useDataCollectionSource-BIPtqfqk.js";
11
11
  import { utils as kl, write as A2 } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as Gye } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const gH = {
@@ -62460,7 +62460,7 @@ const bI = {
62460
62460
  onChange: D,
62461
62461
  disabled: z,
62462
62462
  className: J(
62463
- "w-full resize-none px-2 py-1 text-lg font-semibold disabled:text-f1-foreground [&::-webkit-search-cancel-button]:hidden",
62463
+ "w-full resize-none px-2 py-1 text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden",
62464
62464
  V && "cursor-not-allowed"
62465
62465
  ),
62466
62466
  style: bI
@@ -63150,7 +63150,7 @@ const Rde = {
63150
63150
  ),
63151
63151
  value: d,
63152
63152
  onChange: C,
63153
- className: "flex-1 resize-none font-medium",
63153
+ className: "flex-1 resize-none font-medium text-f1-foreground placeholder:text-f1-foreground-tertiary",
63154
63154
  style: Rde
63155
63155
  }
63156
63156
  ) : /* @__PURE__ */ S("p", { className: "flex-1 font-medium", children: d }),
@@ -63594,7 +63594,7 @@ const Rde = {
63594
63594
  onChange: g,
63595
63595
  disabled: _,
63596
63596
  className: J(
63597
- "w-full text-lg font-semibold disabled:text-f1-foreground [&::-webkit-search-cancel-button]:hidden",
63597
+ "w-full text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden",
63598
63598
  _ && "cursor-not-allowed"
63599
63599
  )
63600
63600
  }
@@ -863,11 +863,9 @@ declare namespace Calendar {
863
863
 
864
864
  declare module "@tiptap/core" {
865
865
  interface Commands<ReturnType> {
866
- enhanceHighlight: {
867
- setEnhanceHighlight: (from: number, to: number, options?: {
868
- placeholder?: string;
869
- }) => ReturnType;
870
- clearEnhanceHighlight: () => ReturnType;
866
+ aiBlock: {
867
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
868
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
871
869
  };
872
870
  }
873
871
  }
@@ -875,9 +873,11 @@ declare module "@tiptap/core" {
875
873
 
876
874
  declare module "@tiptap/core" {
877
875
  interface Commands<ReturnType> {
878
- aiBlock: {
879
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
880
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
876
+ enhanceHighlight: {
877
+ setEnhanceHighlight: (from: number, to: number, options?: {
878
+ placeholder?: string;
879
+ }) => ReturnType;
880
+ clearEnhanceHighlight: () => ReturnType;
881
881
  };
882
882
  }
883
883
  }