@factorialco/f0-react 2.28.1 → 2.29.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.
package/dist/ai.d.ts CHANGED
@@ -4195,9 +4195,9 @@ declare module "gridstack" {
4195
4195
 
4196
4196
  declare module "@tiptap/core" {
4197
4197
  interface Commands<ReturnType> {
4198
- enhanceHighlight: {
4199
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
4200
- clearEnhanceHighlight: () => ReturnType;
4198
+ aiBlock: {
4199
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4200
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4201
4201
  };
4202
4202
  }
4203
4203
  }
@@ -4205,9 +4205,9 @@ declare module "@tiptap/core" {
4205
4205
 
4206
4206
  declare module "@tiptap/core" {
4207
4207
  interface Commands<ReturnType> {
4208
- aiBlock: {
4209
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4210
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4208
+ enhanceHighlight: {
4209
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
4210
+ clearEnhanceHighlight: () => ReturnType;
4211
4211
  };
4212
4212
  }
4213
4213
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-CKuB_a-C.js";
1
+ import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-8cFWNhbQ.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-DHc7fgQg.js";
3
+ import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-BLSpXWfe.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -8549,9 +8549,9 @@ declare module "gridstack" {
8549
8549
 
8550
8550
  declare module "@tiptap/core" {
8551
8551
  interface Commands<ReturnType> {
8552
- enhanceHighlight: {
8553
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8554
- clearEnhanceHighlight: () => ReturnType;
8552
+ aiBlock: {
8553
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8554
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8555
8555
  };
8556
8556
  }
8557
8557
  }
@@ -8559,9 +8559,9 @@ declare module "@tiptap/core" {
8559
8559
 
8560
8560
  declare module "@tiptap/core" {
8561
8561
  interface Commands<ReturnType> {
8562
- aiBlock: {
8563
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8564
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8562
+ enhanceHighlight: {
8563
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8564
+ clearEnhanceHighlight: () => ReturnType;
8565
8565
  };
8566
8566
  }
8567
8567
  }
@@ -1,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-CKuB_a-C.js";
2
- import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-CKuB_a-C.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-8cFWNhbQ.js";
2
+ import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-8cFWNhbQ.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
- import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-CE-st2Wf.js";
6
- import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-CE-st2Wf.js";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-xx6dGFms.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-xx6dGFms.js";
7
7
  const ul = da("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
@@ -1995,6 +1995,28 @@ declare type CardAvatarVariant = AvatarVariant | {
1995
1995
  icon: IconType;
1996
1996
  };
1997
1997
 
1998
+ /**
1999
+ * Bookmark (save) toggle rendered as an icon button in the card's options overlay.
2000
+ * Shows an outline bookmark icon when not bookmarked and a filled one when bookmarked,
2001
+ * giving an at-a-glance indication of the saved state.
2002
+ */
2003
+ declare interface CardBookmark {
2004
+ /**
2005
+ * Whether the card is currently bookmarked (saved).
2006
+ * Controls the filled vs. outline icon and keeps the toggle visible while active.
2007
+ */
2008
+ bookmarked: boolean;
2009
+ /**
2010
+ * Called with the next bookmarked state when the user toggles the bookmark.
2011
+ */
2012
+ onBookmarkChange: (bookmarked: boolean) => void;
2013
+ /**
2014
+ * Accessible label for the toggle button (e.g. "Save product").
2015
+ * Falls back to the card `title` when omitted.
2016
+ */
2017
+ label?: string;
2018
+ }
2019
+
1998
2020
  /**
1999
2021
  * Group Cards: Renders
2000
2022
  */
@@ -2078,6 +2100,11 @@ declare interface CardInternalProps {
2078
2100
  * Actions to display in the dropdown menu inside the card content
2079
2101
  */
2080
2102
  otherActions?: DropdownItem[];
2103
+ /**
2104
+ * Bookmark (save) toggle rendered as an icon button in the card's options overlay.
2105
+ * Shows an outline bookmark when not bookmarked and a filled one when bookmarked.
2106
+ */
2107
+ bookmark?: CardBookmark;
2081
2108
  /**
2082
2109
  * Whether the card is selectable
2083
2110
  */
@@ -2103,6 +2130,12 @@ declare interface CardInternalProps {
2103
2130
  * Whether the card should have a full height
2104
2131
  */
2105
2132
  fullHeight?: boolean;
2133
+ /**
2134
+ * Use a softer/lighter border (`border-f1-border-secondary`) instead of the default
2135
+ * `border-f1-border`. Opt-in so existing cards keep their current appearance.
2136
+ * @default false
2137
+ */
2138
+ subtleBorder?: boolean;
2106
2139
  /**
2107
2140
  * When true, disables the full-card overlay link so parent components
2108
2141
  * can manage drag-and-drop while still allowing click navigation via onClick
@@ -15110,9 +15143,9 @@ declare module "gridstack" {
15110
15143
 
15111
15144
  declare module "@tiptap/core" {
15112
15145
  interface Commands<ReturnType> {
15113
- enhanceHighlight: {
15114
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
15115
- clearEnhanceHighlight: () => ReturnType;
15146
+ aiBlock: {
15147
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15148
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15116
15149
  };
15117
15150
  }
15118
15151
  }
@@ -15120,9 +15153,9 @@ declare module "@tiptap/core" {
15120
15153
 
15121
15154
  declare module "@tiptap/core" {
15122
15155
  interface Commands<ReturnType> {
15123
- aiBlock: {
15124
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15125
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15156
+ enhanceHighlight: {
15157
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
15158
+ clearEnhanceHighlight: () => ReturnType;
15126
15159
  };
15127
15160
  }
15128
15161
  }
package/dist/f0.js CHANGED
@@ -1,13 +1,13 @@
1
- import { ds as dk, a6 as yt, bd as Dg, m as ce, o as Pa, fZ as hk, n as Hs, eE as C3, ac as go, g0 as T3, ad as Mw, S as oe, u as tt, C as dt, cW as Vu, A as vk, i as D3, H as Wv, cI as yu, a7 as kr, a3 as gd, g1 as A3, g2 as Xb, g3 as M3, g4 as E3, g5 as JC, dN as L3, g6 as N3, g7 as pk, g8 as I3, M as pt, aX as k3, aL as R3, b8 as P3, dJ as eT, s as Fu, a1 as Ew, a2 as Ws, b9 as O3, ff as B3, aB as Lw, aC as Nw, aD as Iw, aj as gk, c0 as Uv, dt as mk, g9 as V3, fj as F3, aF as yk, dc as z3, br as G3, aV as bk, Y as zu, ga as H3, ae as W3, gb as kw, gc as tT, fc as U3, gd as $3, ge as Y3, gf as X3, W as Rw, dK as bu, bH as Pw, fe as q3, dm as Ow, at as ou, bI as xk, d3 as Bw, b6 as Us, a8 as Bn, ao as Z3, cz as qb, cy as _k, gg as Ag, d4 as Vw, fP as j3, a0 as wk, fb as K3, by as Q3, ab as Mg, dE as J3, dF as eH, dG as tH, c as rH, eo as nH, z as Sk, cD as rl, dk as Ck, bB as Fw, E as Eg, G as Lg, cp as zw, L as Ng, V as Ar, X as xu, fu as su, fv as lu, K as uu, fw as cu, fs as iH, ft as io, cs as Tk, aq as aH, d1 as $v, gh as on, aA as oH, d7 as Dk, d6 as Ak, gi as sH, aN as Mk, aT as lH, dA as uH, dB as cH, du as fH, be as Gu, bi as Hu, bp as md, dn as dH, bf as hH, b0 as vH, N as Ek, b7 as pH, _ as gH, c_ as rT, dj as Pf, fg as mH, fh as yH, gj as bH, aS as xH, bj as _H, cG as Lk, a4 as wH, cx as SH, f_ as CH, gk as TH, gl as DH, I as AH, gm as MH, gn as EH, go as LH, gp as NH } from "./F0CanvasPanel-CKuB_a-C.js";
2
- import { gy as Cme, D as Tme, aM as Dme, F as Ame, a as Mme, e as Eme, b1 as Lme, bs as Nme, bc as Ime, ai as kme, dM as Rme, ar as Pme, bF as Ome, f as Bme, dH as Vme, dw as Fme, gC as zme, d as Gme, bk as Hme, gt as Wme, aZ as Ume, gu as $me, gw as Yme, gx as Xme, c1 as qme, gz as Zme, bY as jme, bZ as Kme, P as Qme, gv as Jme, b_ as eye, gD as tye, gq as rye, gr as nye, gs as iye, b$ as aye, gB as oye, fQ as sye, gA as lye, aQ as uye, bX as cye, bU as fye, bW as dye, bT as hye, fS as vye, fM as pye, bL as gye, bV as mye, b as yye, fL as bye, f$ as xye, aO as _ye, dr as wye, fO as Sye, fN as Cye, gE as Tye } from "./F0CanvasPanel-CKuB_a-C.js";
1
+ import { du as dk, a6 as yt, bd as Dg, m as ce, o as Pa, f$ as hk, n as Hs, eG as C3, ac as go, g2 as T3, ad as Mw, S as oe, u as tt, C as dt, cY as Vu, A as vk, i as D3, H as Wv, cK as yu, a7 as kr, a3 as gd, g3 as A3, g4 as Xb, g5 as M3, g6 as E3, g7 as JC, dP as L3, g8 as N3, g9 as pk, ga as I3, M as pt, aX as k3, aL as R3, b8 as P3, dL as eT, s as Fu, a1 as Ew, a2 as Ws, b9 as O3, fh as B3, aB as Lw, aC as Nw, aD as Iw, aj as gk, c0 as Uv, dv as mk, gb as V3, fl as F3, aF as yk, de as z3, br as G3, aV as bk, Y as zu, gc as H3, ae as W3, gd as kw, ge as tT, fe as U3, gf as $3, gg as Y3, gh as X3, W as Rw, dM as bu, bH as Pw, fg as q3, dp as Ow, at as ou, bI as xk, d5 as Bw, b6 as Us, a8 as Bn, ao as Z3, cz as qb, cy as _k, gi as Ag, d6 as Vw, fR as j3, a0 as wk, fd as K3, by as Q3, ab as Mg, dG as J3, dH as eH, dI as tH, c as rH, eq as nH, z as Sk, cF as rl, dm as Ck, bB as Fw, E as Eg, G as Lg, cp as zw, L as Ng, V as Ar, X as xu, fw as su, fx as lu, K as uu, fy as cu, fu as iH, fv as io, cs as Tk, aq as aH, d3 as $v, gj as on, aA as oH, d9 as Dk, d8 as Ak, gk as sH, aN as Mk, aT as lH, dC as uH, dD as cH, dw as fH, be as Gu, bi as Hu, bp as md, dq as dH, bf as hH, b0 as vH, N as Ek, b7 as pH, _ as gH, d0 as rT, dl as Pf, fi as mH, fj as yH, gl as bH, aS as xH, bj as _H, cI as Lk, a4 as wH, cx as SH, g0 as CH, gm as TH, gn as DH, I as AH, go as MH, gp as EH, gq as LH, gr as NH } from "./F0CanvasPanel-8cFWNhbQ.js";
2
+ import { gA as Cme, D as Tme, aM as Dme, F as Ame, a as Mme, e as Eme, b1 as Lme, bs as Nme, bc as Ime, ai as kme, dO as Rme, ar as Pme, bF as Ome, f as Bme, dJ as Vme, dy as Fme, gE as zme, d as Gme, bk as Hme, gv as Wme, aZ as Ume, gw as $me, gy as Yme, gz as Xme, c1 as qme, gB as Zme, bY as jme, bZ as Kme, P as Qme, gx as Jme, b_ as eye, gF as tye, gs as rye, gt as nye, gu as iye, b$ as aye, gD as oye, fS as sye, gC as lye, aQ as uye, bX as cye, bU as fye, bW as dye, bT as hye, fU as vye, fO as pye, bL as gye, bV as mye, b as yye, fN as bye, g1 as xye, aO as _ye, dt as wye, fQ as Sye, fP as Cye, gG as Tye } from "./F0CanvasPanel-8cFWNhbQ.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 IH, 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 Nk, Fragment as Ig, memo as Ik, useReducer as kH, cloneElement as RH, useId as kg } from "react";
6
- import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-DHc7fgQg.js";
7
- import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-DHc7fgQg.js";
6
+ import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-BLSpXWfe.js";
7
+ import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-BLSpXWfe.js";
8
8
  import { createPortal as Fk, unstable_batchedUpdates as qd, flushSync as tW } from "react-dom";
9
- import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-CE-st2Wf.js";
10
- import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-CE-st2Wf.js";
9
+ import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-xx6dGFms.js";
10
+ import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-xx6dGFms.js";
11
11
  import { utils as fu, write as qk } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as P0e } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const mW = {
@@ -844,9 +844,9 @@ declare module "gridstack" {
844
844
 
845
845
  declare module "@tiptap/core" {
846
846
  interface Commands<ReturnType> {
847
- enhanceHighlight: {
848
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
849
- clearEnhanceHighlight: () => ReturnType;
847
+ aiBlock: {
848
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
849
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
850
850
  };
851
851
  }
852
852
  }
@@ -854,9 +854,9 @@ declare module "@tiptap/core" {
854
854
 
855
855
  declare module "@tiptap/core" {
856
856
  interface Commands<ReturnType> {
857
- aiBlock: {
858
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
859
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
857
+ enhanceHighlight: {
858
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
859
+ clearEnhanceHighlight: () => ReturnType;
860
860
  };
861
861
  }
862
862
  }