@factorialco/f0-react 1.409.0 → 1.411.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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as $ } from "react/jsx-runtime";
2
2
  import { useRef as w, useCallback as v, useState as j, useEffect as R, useMemo as D } from "react";
3
- import { F as P } from "./F0AnalyticsDashboard-BpLckkpk.js";
3
+ import { F as P } from "./F0AnalyticsDashboard-HOK1Grhk.js";
4
4
  function _(t, e, n) {
5
5
  const r = w(null), y = w(), i = w(t);
6
6
  i.current = t;
@@ -310,16 +310,11 @@ declare module "gridstack" {
310
310
  }
311
311
 
312
312
 
313
- declare namespace Calendar {
314
- var displayName: string;
315
- }
316
-
317
-
318
313
  declare module "@tiptap/core" {
319
314
  interface Commands<ReturnType> {
320
- enhanceHighlight: {
321
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
322
- clearEnhanceHighlight: () => ReturnType;
315
+ aiBlock: {
316
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
317
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
323
318
  };
324
319
  }
325
320
  }
@@ -327,9 +322,9 @@ declare module "@tiptap/core" {
327
322
 
328
323
  declare module "@tiptap/core" {
329
324
  interface Commands<ReturnType> {
330
- aiBlock: {
331
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
332
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
325
+ enhanceHighlight: {
326
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
327
+ clearEnhanceHighlight: () => ReturnType;
333
328
  };
334
329
  }
335
330
  }
@@ -362,3 +357,8 @@ declare module "@tiptap/core" {
362
357
  };
363
358
  }
364
359
  }
360
+
361
+
362
+ declare namespace Calendar {
363
+ var displayName: string;
364
+ }
@@ -1,4 +1,4 @@
1
- import { F as r } from "./F0ChatDashboard-Cb5hmJwl.js";
1
+ import { F as r } from "./F0ChatDashboard-e_oKQtbl.js";
2
2
  export {
3
3
  r as F0ChatDashboard
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as ze, createContext as Xe, useContext as Ye, useRef as B, useEffect as ie, useState as Ue, useCallback as $e, useMemo as qe } from "react";
3
- import { r as He, i as je, m as Ke, a as Qe, b as Me, d as Je, c as Ze, f as et, e as tt, s as nt, g as Oe, p as rt, V as ot, h as it, j as st, k as at, S as ct, H as ut, v as se, l as lt, n as ft, o as ht, q as dt, t as mt, w as pt, F as fe, x as vt } from "./F0Input-xBidN3aT.js";
3
+ import { r as He, i as je, m as Ke, a as Qe, b as Me, d as Je, c as Ze, f as et, e as tt, s as nt, g as Oe, p as rt, V as ot, h as it, j as st, k as at, S as ct, H as ut, v as se, l as lt, n as ft, o as ht, q as dt, t as mt, w as pt, F as fe, x as vt } from "./F0Input-JjjfHKNJ.js";
4
4
  import { useTrackVolume as gt } from "@livekit/components-react";
5
5
  function wt(t, e, n) {
6
6
  ze(() => t.on(e, n), [t, e, n]);
@@ -62444,9 +62444,6 @@ const Nu2 = ({
62444
62444
  append: /* @__PURE__ */ o(C1, { icon: g0, size: r === "sm" ? "sm" : "md" }),
62445
62445
  pressed: d && !i,
62446
62446
  tooltip: l,
62447
- onClick: () => {
62448
- i || u(!d);
62449
- },
62450
62447
  children: m
62451
62448
  }
62452
62449
  )
package/dist/ai.d.ts CHANGED
@@ -1902,16 +1902,11 @@ declare module "gridstack" {
1902
1902
  }
1903
1903
 
1904
1904
 
1905
- declare namespace Calendar {
1906
- var displayName: string;
1907
- }
1908
-
1909
-
1910
1905
  declare module "@tiptap/core" {
1911
1906
  interface Commands<ReturnType> {
1912
- enhanceHighlight: {
1913
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
1914
- clearEnhanceHighlight: () => ReturnType;
1907
+ aiBlock: {
1908
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1909
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1915
1910
  };
1916
1911
  }
1917
1912
  }
@@ -1919,9 +1914,9 @@ declare module "@tiptap/core" {
1919
1914
 
1920
1915
  declare module "@tiptap/core" {
1921
1916
  interface Commands<ReturnType> {
1922
- aiBlock: {
1923
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1924
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1917
+ enhanceHighlight: {
1918
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
1919
+ clearEnhanceHighlight: () => ReturnType;
1925
1920
  };
1926
1921
  }
1927
1922
  }
@@ -1954,3 +1949,8 @@ declare module "@tiptap/core" {
1954
1949
  };
1955
1950
  }
1956
1951
  }
1952
+
1953
+
1954
+ declare namespace Calendar {
1955
+ var displayName: string;
1956
+ }
package/dist/ai.js CHANGED
@@ -1,7 +1,7 @@
1
- import { I as e, u as t } from "./F0Input-xBidN3aT.js";
1
+ import { I as e, u as t } from "./F0Input-JjjfHKNJ.js";
2
2
  import { defaultTranslations as i } from "./i18n-provider-defaults.js";
3
- import { A as r, B as l, C as A, p as F, E as c, g as u, F as h, a as C, z as d, h as m, b as T, i as f, j as p, v as I, w as S, x as g, y as k, c as x, q as H, r as M, s as P, H as b, I as w, L as O, O as v, t as R, P as D, S as E, T as L, m as q, n as y, o as z, U as B, k as U, l as j, u as V, d as G, f as J, e as K } from "./F0AiChat-jQP26RJL.js";
4
- import { A as Q, F as W, c as X, d as Y, b as Z, a as _, o as $, u as aa } from "./F0HILActionConfirmation-DSmdPfxW.js";
3
+ import { A as r, B as l, C as A, p as F, E as c, g as u, F as h, a as C, z as d, h as m, b as T, i as f, j as p, v as I, w as S, x as g, y as k, c as x, q as H, r as M, s as P, H as b, I as w, L as O, O as v, t as R, P as D, S as E, T as L, m as q, n as y, o as z, U as B, k as U, l as j, u as V, d as G, f as J, e as K } from "./F0AiChat-CA_dpVxM.js";
4
+ import { A as Q, F as W, c as X, d as Y, b as Z, a as _, o as $, u as aa } from "./F0HILActionConfirmation-CasXGy89.js";
5
5
  export {
6
6
  r as A,
7
7
  Q as AiChatTranslationsProvider,
@@ -366,6 +366,8 @@ declare type ActivityItemProps = {
366
366
  onVisible?: (id: string) => void;
367
367
  };
368
368
 
369
+ declare type AddRowActionsResult = PrimaryActionItemDefinition | PrimaryActionItemDefinition[] | undefined;
370
+
369
371
  declare type AiBannerAction = {
370
372
  label: string;
371
373
  onClick: () => void;
@@ -2987,12 +2989,26 @@ declare type EditableTableVisualizationOptions<R extends RecordType, _Filters ex
2987
2989
  * Rejection sets an error on the edited column.
2988
2990
  */
2989
2991
  onCellChange: (updatedItem: R) => Promise<void | Record<string, string>>;
2990
- /** When provided, renders an "Add" button row at the bottom of the table and nested rows. Receives the parent item when triggered from a nested row. Supports async functions for loading state. */
2991
- onAddRow?: (parentItem?: R) => void | Promise<void>;
2992
- /** Custom label for the root-level "Add row" button. Falls back to the default i18n translation. */
2993
- addRowButtonLabel?: string;
2994
- /** Custom label for the nested-row "Add row" button. Falls back to the default i18n translation. */
2995
- nestedAddRowButtonLabel?: string;
2992
+ /**
2993
+ * When provided, renders action buttons at the bottom of the root-level table.
2994
+ * Returns a single action, an array of actions, or undefined to hide the row.
2995
+ */
2996
+ addRowActions?: () => AddRowActionsResult;
2997
+ /**
2998
+ * Label for the dropdown trigger button when multiple root-level add-row
2999
+ * actions are provided. Falls back to the first action's label if omitted.
3000
+ */
3001
+ addRowActionsLabel?: string;
3002
+ /**
3003
+ * When provided, renders action buttons at the bottom of each expanded nested row.
3004
+ * Receives the parent item whose children the new row will be added to.
3005
+ */
3006
+ addNestedRowActions?: (parent: R) => AddRowActionsResult;
3007
+ /**
3008
+ * Label for the dropdown trigger button when multiple nested add-row
3009
+ * actions are provided. Falls back to the first action's label if omitted.
3010
+ */
3011
+ addNestedRowActionsLabel?: string;
2996
3012
  };
2997
3013
 
2998
3014
  declare type EditableTableVisualizationSettings = TableVisualizationSettings;
@@ -7108,16 +7124,11 @@ declare module "gridstack" {
7108
7124
  }
7109
7125
 
7110
7126
 
7111
- declare namespace Calendar {
7112
- var displayName: string;
7113
- }
7114
-
7115
-
7116
7127
  declare module "@tiptap/core" {
7117
7128
  interface Commands<ReturnType> {
7118
- enhanceHighlight: {
7119
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
7120
- clearEnhanceHighlight: () => ReturnType;
7129
+ aiBlock: {
7130
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7131
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7121
7132
  };
7122
7133
  }
7123
7134
  }
@@ -7125,9 +7136,9 @@ declare module "@tiptap/core" {
7125
7136
 
7126
7137
  declare module "@tiptap/core" {
7127
7138
  interface Commands<ReturnType> {
7128
- aiBlock: {
7129
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7130
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7139
+ enhanceHighlight: {
7140
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
7141
+ clearEnhanceHighlight: () => ReturnType;
7131
7142
  };
7132
7143
  }
7133
7144
  }
@@ -7160,3 +7171,8 @@ declare module "@tiptap/core" {
7160
7171
  };
7161
7172
  }
7162
7173
  }
7174
+
7175
+
7176
+ declare namespace Calendar {
7177
+ var displayName: string;
7178
+ }
@@ -1,16 +1,16 @@
1
- import { bM as mf, R as _r, aA as gf, L as bf, bN as As, bO as ga, bP as Bi, t as k, z as J, w as rt, u as de, bQ as wf, bR as xf, bS as yf, bT as vf, bU as kf, a4 as Re, bV as Cf, K as Et, G as H, aE as Sf, aF as Nf, B as Ht, aO as If, aG as Af, F as $, bW as _s, E, bX as it, bY as _f, bZ as Ef, aK as Tf, ak as Df, aJ as Lf, ar as Tt, b_ as ba, b$ as Rf, c0 as Dt, aU as kn, am as Es, an as cn, P as mt, c1 as wa, c2 as Of, c3 as ko, c4 as tn, c5 as Ts, c6 as jn, c7 as Er, c8 as Mf, c9 as xa, ca as Pf, cb as Ds, cc as Cn, cd as Le, ce as Ff, cf as zf, cg as kt, ch as gi, ci as $f, cj as yn, ck as Kt, cl as Bf, y as ue, cm as jf, cn as Hf, co as Vf, cp as Wf, cq as Uf, O as $e, D as fe, cr as Ls, bJ as Xr, cs as ya, ct as Rs, aB as Gf, cu as Kf, cv as qf, cw as Jf, cx as Yf, bc as nt, cy as va, cz as Xf, N as V, x as ka, cA as Ca, cB as Zf, aV as Os, T as Co, U as So, cC as Qf, cD as eh, a6 as dn, cE as th, cF as nh, cG as rh, au as Zr, cH as Sa, cI as Na, be as Ia, cJ as ih, as as Tr, cK as sh, cL as oh, cM as lh, cN as ah, cO as ch, a2 as dh, a3 as uh, a5 as fh, cP as hh, cQ as Aa, cR as ph, cS as _a, cT as mh, cU as gh, cV as bh, aj as No, cW as Ea, cX as ji, ab as Hi, cY as wh, cZ as xh, bI as Hn, aS as Ta, bL as yh, bK as vh, c_ as kh, aT as nn, c$ as Ch, ad as er, d0 as Vi, d1 as Sh, b8 as Da, bd as Nh, bp as La, bn as Ms, _ as Ih, bq as Ah, ba as Ps, ah as Ra, d2 as _h, d3 as Oa, d4 as Eh, b7 as Th, d5 as Dh, d6 as Lh, J as Rh, C as st, aZ as Fs, d7 as zs, d8 as $s, d9 as Ma, a_ as Bs, da as Pa, db as Oh, dc as Mh, dd as Ph, de as Fh, a$ as zh, df as $h, b9 as Bh, dg as jh, aC as Hh, dh as Fa, di as Vh, dj as Wh } from "./F0Input-xBidN3aT.js";
2
- import { dk as XI, ap as ZI, dl as QI, ds as eA, dt as tA, at as nA, du as rA, dr as iA, dn as sA, dq as oA, dm as lA, bb as aA, dp as cA } from "./F0Input-xBidN3aT.js";
1
+ import { bM as mf, R as _r, aA as gf, L as bf, bN as As, bO as ga, bP as Bi, t as k, z as J, w as rt, u as de, bQ as wf, bR as xf, bS as yf, bT as vf, bU as kf, a4 as Re, bV as Cf, K as Et, G as H, aE as Sf, aF as Nf, B as Ht, aO as If, aG as Af, F as $, bW as _s, E, bX as it, bY as _f, bZ as Ef, aK as Tf, ak as Df, aJ as Lf, ar as Tt, b_ as ba, b$ as Rf, c0 as Dt, aU as kn, am as Es, an as cn, P as mt, c1 as wa, c2 as Of, c3 as ko, c4 as tn, c5 as Ts, c6 as jn, c7 as Er, c8 as Mf, c9 as xa, ca as Pf, cb as Ds, cc as Cn, cd as Le, ce as Ff, cf as zf, cg as kt, ch as gi, ci as $f, cj as yn, ck as Kt, cl as Bf, y as ue, cm as jf, cn as Hf, co as Vf, cp as Wf, cq as Uf, O as $e, D as fe, cr as Ls, bJ as Xr, cs as ya, ct as Rs, aB as Gf, cu as Kf, cv as qf, cw as Jf, cx as Yf, bc as nt, cy as va, cz as Xf, N as V, x as ka, cA as Ca, cB as Zf, aV as Os, T as Co, U as So, cC as Qf, cD as eh, a6 as dn, cE as th, cF as nh, cG as rh, au as Zr, cH as Sa, cI as Na, be as Ia, cJ as ih, as as Tr, cK as sh, cL as oh, cM as lh, cN as ah, cO as ch, a2 as dh, a3 as uh, a5 as fh, cP as hh, cQ as Aa, cR as ph, cS as _a, cT as mh, cU as gh, cV as bh, aj as No, cW as Ea, cX as ji, ab as Hi, cY as wh, cZ as xh, bI as Hn, aS as Ta, bL as yh, bK as vh, c_ as kh, aT as nn, c$ as Ch, ad as er, d0 as Vi, d1 as Sh, b8 as Da, bd as Nh, bp as La, bn as Ms, _ as Ih, bq as Ah, ba as Ps, ah as Ra, d2 as _h, d3 as Oa, d4 as Eh, b7 as Th, d5 as Dh, d6 as Lh, J as Rh, C as st, aZ as Fs, d7 as zs, d8 as $s, d9 as Ma, a_ as Bs, da as Pa, db as Oh, dc as Mh, dd as Ph, de as Fh, a$ as zh, df as $h, b9 as Bh, dg as jh, aC as Hh, dh as Fa, di as Vh, dj as Wh } from "./F0Input-JjjfHKNJ.js";
2
+ import { dk as XI, ap as ZI, dl as QI, ds as eA, dt as tA, at as nA, du as rA, dr as iA, dn as sA, dq as oA, dm as lA, bb as aA, dp as cA } from "./F0Input-JjjfHKNJ.js";
3
3
  import { jsx as c, jsxs as g, Fragment as ee } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Uh, forwardRef as P, useRef as K, useTransition as Gh, useState as R, useLayoutEffect as za, useContext as js, createContext as Hs, useCallback as q, useMemo as te, useEffect as W, useId as $a, useImperativeHandle as Ba, memo as ja, Fragment as Kh, isValidElement as qh, cloneElement as Ha, Children as Va } from "react";
6
- import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-DWr1PlvN.js";
7
- import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-DWr1PlvN.js";
8
- import { i as Kp, M as qp, d as Lo, R as lc, u as Jp, b as ac, S as Yp, O as Xp } from "./F0AnalyticsDashboard-BpLckkpk.js";
9
- import { l as _A, p as EA, q as TA, m as DA, n as LA, o as RA } from "./F0AnalyticsDashboard-BpLckkpk.js";
10
- import { a6 as Zp, a7 as Qp, a8 as Ro, a9 as rr, aa as em, ab as tm, W as nm, ac as cc, x as dc, Q as Un, ad as rm, ae as im, af as sm, ag as om, ah as lm, ai as am, aj as cm, ak as dm, al as um, am as fm, X as hm, an as pm, ao as mm, ap as gm, aq as bm, D as wm, ar as xm, as as uc, at as Oo, au as ym, a0 as vm, u as fc, a as km, av as Cm, F as Sm, aw as hc, ax as pc, ay as Nm, az as Im, aA as Am, aB as _m, aC as Em, aD as Mo, aE as Po, aF as Fo, aG as Tm, aH as Dm } from "./F0AiChat-jQP26RJL.js";
11
- import { aJ as MA, aI as PA, aL as FA, aK as zA } from "./F0AiChat-jQP26RJL.js";
6
+ import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-nhYPkA3Y.js";
7
+ import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-nhYPkA3Y.js";
8
+ import { i as Kp, M as qp, d as Lo, R as lc, u as Jp, b as ac, S as Yp, O as Xp } from "./F0AnalyticsDashboard-HOK1Grhk.js";
9
+ import { l as _A, p as EA, q as TA, m as DA, n as LA, o as RA } from "./F0AnalyticsDashboard-HOK1Grhk.js";
10
+ import { a6 as Zp, a7 as Qp, a8 as Ro, a9 as rr, aa as em, ab as tm, W as nm, ac as cc, x as dc, Q as Un, ad as rm, ae as im, af as sm, ag as om, ah as lm, ai as am, aj as cm, ak as dm, al as um, am as fm, X as hm, an as pm, ao as mm, ap as gm, aq as bm, D as wm, ar as xm, as as uc, at as Oo, au as ym, a0 as vm, u as fc, a as km, av as Cm, F as Sm, aw as hc, ax as pc, ay as Nm, az as Im, aA as Am, aB as _m, aC as Em, aD as Mo, aE as Po, aF as Fo, aG as Tm, aH as Dm } from "./F0AiChat-CA_dpVxM.js";
11
+ import { aJ as MA, aI as PA, aL as FA, aK as zA } from "./F0AiChat-CA_dpVxM.js";
12
12
  import { useCopilotContext as Lm } from "@copilotkit/react-core";
13
- import { F as Rm } from "./F0ChatDashboard-Cb5hmJwl.js";
13
+ import { F as Rm } from "./F0ChatDashboard-e_oKQtbl.js";
14
14
  import './experimental.css';const Om = mf("Search", [
15
15
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
16
16
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -298,6 +298,8 @@ declare type ActionVariant = (typeof actionVariants)[number];
298
298
 
299
299
  declare const actionVariants: readonly ["default", "outline", "critical", "neutral", "ghost", "promote", "outlinePromote", "ai", "link", "unstyled", "mention"];
300
300
 
301
+ declare type AddRowActionsResult = PrimaryActionItemDefinition | PrimaryActionItemDefinition[] | undefined;
302
+
301
303
  /* Excluded from this release type: AgentState */
302
304
 
303
305
  export declare type AggregationType = "count" | "sum" | "avg" | "min" | "max" | "countDistinct";
@@ -3429,12 +3431,26 @@ declare type EditableTableVisualizationOptions<R extends RecordType, _Filters ex
3429
3431
  * Rejection sets an error on the edited column.
3430
3432
  */
3431
3433
  onCellChange: (updatedItem: R) => Promise<void | Record<string, string>>;
3432
- /** When provided, renders an "Add" button row at the bottom of the table and nested rows. Receives the parent item when triggered from a nested row. Supports async functions for loading state. */
3433
- onAddRow?: (parentItem?: R) => void | Promise<void>;
3434
- /** Custom label for the root-level "Add row" button. Falls back to the default i18n translation. */
3435
- addRowButtonLabel?: string;
3436
- /** Custom label for the nested-row "Add row" button. Falls back to the default i18n translation. */
3437
- nestedAddRowButtonLabel?: string;
3434
+ /**
3435
+ * When provided, renders action buttons at the bottom of the root-level table.
3436
+ * Returns a single action, an array of actions, or undefined to hide the row.
3437
+ */
3438
+ addRowActions?: () => AddRowActionsResult;
3439
+ /**
3440
+ * Label for the dropdown trigger button when multiple root-level add-row
3441
+ * actions are provided. Falls back to the first action's label if omitted.
3442
+ */
3443
+ addRowActionsLabel?: string;
3444
+ /**
3445
+ * When provided, renders action buttons at the bottom of each expanded nested row.
3446
+ * Receives the parent item whose children the new row will be added to.
3447
+ */
3448
+ addNestedRowActions?: (parent: R) => AddRowActionsResult;
3449
+ /**
3450
+ * Label for the dropdown trigger button when multiple nested add-row
3451
+ * actions are provided. Falls back to the first action's label if omitted.
3452
+ */
3453
+ addNestedRowActionsLabel?: string;
3438
3454
  };
3439
3455
 
3440
3456
  declare type EditableTableVisualizationSettings = TableVisualizationSettings;
@@ -10280,16 +10296,11 @@ declare module "gridstack" {
10280
10296
  }
10281
10297
 
10282
10298
 
10283
- declare namespace Calendar {
10284
- var displayName: string;
10285
- }
10286
-
10287
-
10288
10299
  declare module "@tiptap/core" {
10289
10300
  interface Commands<ReturnType> {
10290
- enhanceHighlight: {
10291
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
10292
- clearEnhanceHighlight: () => ReturnType;
10301
+ aiBlock: {
10302
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
10303
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
10293
10304
  };
10294
10305
  }
10295
10306
  }
@@ -10297,9 +10308,9 @@ declare module "@tiptap/core" {
10297
10308
 
10298
10309
  declare module "@tiptap/core" {
10299
10310
  interface Commands<ReturnType> {
10300
- aiBlock: {
10301
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
10302
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
10311
+ enhanceHighlight: {
10312
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
10313
+ clearEnhanceHighlight: () => ReturnType;
10303
10314
  };
10304
10315
  }
10305
10316
  }
@@ -10332,3 +10343,8 @@ declare module "@tiptap/core" {
10332
10343
  };
10333
10344
  }
10334
10345
  }
10346
+
10347
+
10348
+ declare namespace Calendar {
10349
+ var displayName: string;
10350
+ }
package/dist/f0.js CHANGED
@@ -1,16 +1,16 @@
1
- import { y as be, C as st, t as W, w as kt, z as Bn, B as Ys, O as Ui, A as td, D as ho, E as Ee, u as Ne, G as Dt, J as Un, K as nd, L as rd, M as mr, N as nt, P as jr, Q as sd, R as id, T as En, U as os, W as ad, X as od, Y as ld, Z as Qi, _ as cd, $ as dd, a0 as mo, a1 as ud, a2 as Js, a3 as ei, a4 as $r, a5 as ti, a6 as po, a7 as pr, a8 as go, a9 as fd, aa as hd, ab as md, ac as pd, ad as gd, F as Le, ae as vd, af as ni, ag as Hi, ah as bd, ai as yd, aj as xd, ak as vo, al as wd, am as Sd, an as ri, ao as si, ap as zr, aq as Cd, ar as Qn, as as an, at as bo, x as Vn, au as _d, av as yo, aw as kd, ax as Dd, ay as Nd, az as Ad, aA as Td, aB as xo, aC as wo, aD as ii, aE as Ed, aF as Fd, aG as Od, aH as Id, aI as ls, aJ as Rd, aK as gr, aL as Mt, aM as Gi, aN as Ki, aO as Xi, aP as Yi, aQ as Ld, aR as Pd, aS as So, aT as Md, aU as Bd, aV as Vd, aW as jd, aX as $d, aY as zd, aZ as qd, a_ as Wd, a$ as Zd, b0 as Ud, b1 as Qd, b2 as Hd, I as Gd, b3 as Kd, b4 as Xd, b5 as Yd, b6 as Jd } from "./F0Input-xBidN3aT.js";
2
- import { bu as px, bJ as gx, b7 as vx, b8 as bx, b9 as yx, ba as xx, bc as wx, bd as Sx, be as Cx, bf as _x, bj as kx, bk as Dx, bF as Nx, bn as Ax, bo as Tx, bp as Ex, bq as Fx, bs as Ox, bt as Ix, bv as Rx, bm as Lx, br as Px, bG as Mx, bg as Bx, bh as Vx, bi as jx, bA as $x, bD as zx, bz as qx, bK as Wx, by as Zx, bx as Ux, bb as Qx, bw as Hx, bB as Gx, bL as Kx, bl as Xx, bC as Yx, bI as Jx, bE as ew, bH as tw } from "./F0Input-xBidN3aT.js";
1
+ import { y as be, C as st, t as W, w as kt, z as Bn, B as Ys, O as Ui, A as td, D as ho, E as Ee, u as Ne, G as Dt, J as Un, K as nd, L as rd, M as mr, N as nt, P as jr, Q as sd, R as id, T as En, U as os, W as ad, X as od, Y as ld, Z as Qi, _ as cd, $ as dd, a0 as mo, a1 as ud, a2 as Js, a3 as ei, a4 as $r, a5 as ti, a6 as po, a7 as pr, a8 as go, a9 as fd, aa as hd, ab as md, ac as pd, ad as gd, F as Le, ae as vd, af as ni, ag as Hi, ah as bd, ai as yd, aj as xd, ak as vo, al as wd, am as Sd, an as ri, ao as si, ap as zr, aq as Cd, ar as Qn, as as an, at as bo, x as Vn, au as _d, av as yo, aw as kd, ax as Dd, ay as Nd, az as Ad, aA as Td, aB as xo, aC as wo, aD as ii, aE as Ed, aF as Fd, aG as Od, aH as Id, aI as ls, aJ as Rd, aK as gr, aL as Mt, aM as Gi, aN as Ki, aO as Xi, aP as Yi, aQ as Ld, aR as Pd, aS as So, aT as Md, aU as Bd, aV as Vd, aW as jd, aX as $d, aY as zd, aZ as qd, a_ as Wd, a$ as Zd, b0 as Ud, b1 as Qd, b2 as Hd, I as Gd, b3 as Kd, b4 as Xd, b5 as Yd, b6 as Jd } from "./F0Input-JjjfHKNJ.js";
2
+ import { bu as px, bJ as gx, b7 as vx, b8 as bx, b9 as yx, ba as xx, bc as wx, bd as Sx, be as Cx, bf as _x, bj as kx, bk as Dx, bF as Nx, bn as Ax, bo as Tx, bp as Ex, bq as Fx, bs as Ox, bt as Ix, bv as Rx, bm as Lx, br as Px, bG as Mx, bg as Bx, bh as Vx, bi as jx, bA as $x, bD as zx, bz as qx, bK as Wx, by as Zx, bx as Ux, bb as Qx, bw as Hx, bB as Gx, bL as Kx, bl as Xx, bC as Yx, bI as Jx, bE as ew, bH as tw } from "./F0Input-JjjfHKNJ.js";
3
3
  import { jsx as c, jsxs as O, Fragment as _t } from "react/jsx-runtime";
4
4
  import * as dt from "react";
5
5
  import K, { forwardRef as He, useRef as Q, useImperativeHandle as eu, Children as vr, useCallback as P, useMemo as V, useState as te, useEffect as le, createElement as rr, isValidElement as Co, Fragment as _o, useLayoutEffect as tu, createContext as Nt, memo as ko, useReducer as nu, useContext as Ye, cloneElement as ru, PureComponent as su, useId as ai } from "react";
6
- import { L as Do, a as No, i as iu, b as au, c as Ao, R as qr, d as oi, u as li, O as ou, U as To, e as Eo, F as lu, D as cu, M as du } from "./F0AnalyticsDashboard-BpLckkpk.js";
7
- import { g as rw, f as sw, h as iw, j as aw, k as ow } from "./F0AnalyticsDashboard-BpLckkpk.js";
6
+ import { L as Do, a as No, i as iu, b as au, c as Ao, R as qr, d as oi, u as li, O as ou, U as To, e as Eo, F as lu, D as cu, M as du } from "./F0AnalyticsDashboard-HOK1Grhk.js";
7
+ import { g as rw, f as sw, h as iw, j as aw, k as ow } from "./F0AnalyticsDashboard-HOK1Grhk.js";
8
8
  import { unstable_batchedUpdates as sr, createPortal as uu, flushSync as fu } from "react-dom";
9
- import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-DWr1PlvN.js";
10
- import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-DWr1PlvN.js";
11
- import { D as tf, G as nf, J as rf, K as sf, M as di, N as Vo, Q as ln, R as Fs, V as af, w as of, W as jo, X as $o, Y as zo, Z as br, _ as ui, $ as qo, a0 as yr, a1 as Wo, a2 as Zo, a3 as lf, a4 as cf, a5 as df } from "./F0AiChat-jQP26RJL.js";
12
- import { A as pw, B as gw, C as vw, p as bw, E as yw, g as xw, F as ww, a as Sw, z as Cw, h as _w, b as kw, i as Dw, j as Nw, v as Aw, x as Tw, y as Ew, c as Fw, q as Ow, r as Iw, s as Rw, H as Lw, I as Pw, L as Mw, O as Bw, t as Vw, P as jw, S as $w, T as zw, m as qw, n as Ww, o as Zw, U as Uw, k as Qw, l as Hw, u as Gw, d as Kw, f as Xw, e as Yw } from "./F0AiChat-jQP26RJL.js";
13
- import { A as e0, F as t0, c as n0, d as r0, b as s0, a as i0, o as a0, u as o0 } from "./F0HILActionConfirmation-DSmdPfxW.js";
9
+ import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-nhYPkA3Y.js";
10
+ import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-nhYPkA3Y.js";
11
+ import { D as tf, G as nf, J as rf, K as sf, M as di, N as Vo, Q as ln, R as Fs, V as af, w as of, W as jo, X as $o, Y as zo, Z as br, _ as ui, $ as qo, a0 as yr, a1 as Wo, a2 as Zo, a3 as lf, a4 as cf, a5 as df } from "./F0AiChat-CA_dpVxM.js";
12
+ import { A as pw, B as gw, C as vw, p as bw, E as yw, g as xw, F as ww, a as Sw, z as Cw, h as _w, b as kw, i as Dw, j as Nw, v as Aw, x as Tw, y as Ew, c as Fw, q as Ow, r as Iw, s as Rw, H as Lw, I as Pw, L as Mw, O as Bw, t as Vw, P as jw, S as $w, T as zw, m as qw, n as Ww, o as Zw, U as Uw, k as Qw, l as Hw, u as Gw, d as Kw, f as Xw, e as Yw } from "./F0AiChat-CA_dpVxM.js";
13
+ import { A as e0, F as t0, c as n0, d as r0, b as s0, a as i0, o as a0, u as o0 } from "./F0HILActionConfirmation-CasXGy89.js";
14
14
  import { defaultTranslations as c0 } from "./i18n-provider-defaults.js";
15
15
  const uf = {
16
16
  xs: 1,
@@ -691,16 +691,11 @@ declare module "gridstack" {
691
691
  }
692
692
 
693
693
 
694
- declare namespace Calendar {
695
- var displayName: string;
696
- }
697
-
698
-
699
694
  declare module "@tiptap/core" {
700
695
  interface Commands<ReturnType> {
701
- enhanceHighlight: {
702
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
703
- clearEnhanceHighlight: () => ReturnType;
696
+ aiBlock: {
697
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
698
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
704
699
  };
705
700
  }
706
701
  }
@@ -708,9 +703,9 @@ declare module "@tiptap/core" {
708
703
 
709
704
  declare module "@tiptap/core" {
710
705
  interface Commands<ReturnType> {
711
- aiBlock: {
712
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
713
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
706
+ enhanceHighlight: {
707
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
708
+ clearEnhanceHighlight: () => ReturnType;
714
709
  };
715
710
  }
716
711
  }
@@ -743,3 +738,8 @@ declare module "@tiptap/core" {
743
738
  };
744
739
  }
745
740
  }
741
+
742
+
743
+ declare namespace Calendar {
744
+ var displayName: string;
745
+ }
@@ -1,9 +1,9 @@
1
1
  import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
2
2
  import * as Ie from "react";
3
3
  import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ii, useImperativeHandle as lg, useMemo as yi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ei, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as KC, memo as B6, version as yb } from "react";
4
- import { B as ki, b$ as GC, t as fe, bW as F6, av as YC, w as z6, y as Ai, N as $r, e5 as eo, e6 as XC, e7 as JC, e8 as ZC, e9 as vb, ea as gb, eb as bb, ec as xb, ed as kb, ee as q6, ef as yc, eg as QC, eh as eT, ei as tT, cy as df, aA as Ye, R as Ee, cm as nT, T as Ki, U as Zn, bQ as iT, bR as rT, bS as aT, bV as oT, ej as H6, G as nn, aS as sT, F as Le, ar as hl, aa as fT, dm as Ut, aE as lT, aF as cT, M as ug, aG as uT, aJ as dT, aH as hT, aI as wb, aK as _b, at as W6, aM as pT, aN as mT, aO as yT, aP as vT, x as wd, u as ir, an as V6, K as gn, z as nt, J as gT, O as U6, au as bT, a4 as dg, bI as xT, dk as kT, a6 as wT, dl as hg, be as hf, P as K6, cr as G6, ad as _T, ek as ST, el as OT, cv as pl, em as _d, en as Sd, cx as ml, a2 as ET, a3 as AT, a5 as CT, bf as pg, d4 as TT, cJ as Y6, ct as MT, e3 as PT, aB as DT, d2 as NT, cu as $T, bc as IT, cw as RT, dJ as jT, aq as X6, c0 as Vy, L as LT, D as J6, E as hn, eo as BT, ah as Sb, cM as FT, C as Z6, b9 as zT, ab as qT, b7 as mg, aW as HT, aX as WT, aY as VT, df as Ob, ak as UT, cB as KT, bp as GT, aT as Eb, ba as YT, aU as XT, da as JT } from "./F0Input-xBidN3aT.js";
5
- import { R as ZT, aA as QT, aB as eM, $ as tM, aM as Q6, ai as nM, M as Ab, aN as iM, aO as Uy, aP as e5, aQ as t5, aR as n5, aS as rM, aT as aM, aU as oM, aV as sM, aj as fM, ak as lM, al as cM, am as uM, X as dM, ap as hM, aq as pM, Y as mM, aW as yM, a3 as vM, a4 as gM, aX as bM } from "./F0AiChat-jQP26RJL.js";
6
- import { r as yl, s as vl, t as ri, v as xM, w as i5, x as kM, y as ts, z as wM, A as r5, B as yg, C as a5, E as o5, G as _M, H as SM, I as s5, J as OM, K as EM, N as AM, P as Od, Q as CM, T as TM, V as MM, W as PM, i as Sa, X as DM, Y as NM, j as $M, Z as f5, _ as Cb, $ as IM, f as RM, g as jM, h as LM, a0 as BM, b as l5, a1 as FM, a2 as zM, a3 as qM } from "./F0AnalyticsDashboard-BpLckkpk.js";
4
+ import { B as ki, b$ as GC, t as fe, bW as F6, av as YC, w as z6, y as Ai, N as $r, e5 as eo, e6 as XC, e7 as JC, e8 as ZC, e9 as vb, ea as gb, eb as bb, ec as xb, ed as kb, ee as q6, ef as yc, eg as QC, eh as eT, ei as tT, cy as df, aA as Ye, R as Ee, cm as nT, T as Ki, U as Zn, bQ as iT, bR as rT, bS as aT, bV as oT, ej as H6, G as nn, aS as sT, F as Le, ar as hl, aa as fT, dm as Ut, aE as lT, aF as cT, M as ug, aG as uT, aJ as dT, aH as hT, aI as wb, aK as _b, at as W6, aM as pT, aN as mT, aO as yT, aP as vT, x as wd, u as ir, an as V6, K as gn, z as nt, J as gT, O as U6, au as bT, a4 as dg, bI as xT, dk as kT, a6 as wT, dl as hg, be as hf, P as K6, cr as G6, ad as _T, ek as ST, el as OT, cv as pl, em as _d, en as Sd, cx as ml, a2 as ET, a3 as AT, a5 as CT, bf as pg, d4 as TT, cJ as Y6, ct as MT, e3 as PT, aB as DT, d2 as NT, cu as $T, bc as IT, cw as RT, dJ as jT, aq as X6, c0 as Vy, L as LT, D as J6, E as hn, eo as BT, ah as Sb, cM as FT, C as Z6, b9 as zT, ab as qT, b7 as mg, aW as HT, aX as WT, aY as VT, df as Ob, ak as UT, cB as KT, bp as GT, aT as Eb, ba as YT, aU as XT, da as JT } from "./F0Input-JjjfHKNJ.js";
5
+ import { R as ZT, aA as QT, aB as eM, $ as tM, aM as Q6, ai as nM, M as Ab, aN as iM, aO as Uy, aP as e5, aQ as t5, aR as n5, aS as rM, aT as aM, aU as oM, aV as sM, aj as fM, ak as lM, al as cM, am as uM, X as dM, ap as hM, aq as pM, Y as mM, aW as yM, a3 as vM, a4 as gM, aX as bM } from "./F0AiChat-CA_dpVxM.js";
6
+ import { r as yl, s as vl, t as ri, v as xM, w as i5, x as kM, y as ts, z as wM, A as r5, B as yg, C as a5, E as o5, G as _M, H as SM, I as s5, J as OM, K as EM, N as AM, P as Od, Q as CM, T as TM, V as MM, W as PM, i as Sa, X as DM, Y as NM, j as $M, Z as f5, _ as Cb, $ as IM, f as RM, g as jM, h as LM, a0 as BM, b as l5, a1 as FM, a2 as zM, a3 as qM } from "./F0AnalyticsDashboard-HOK1Grhk.js";
7
7
  import vg from "react-dom";
8
8
  import './index.css';const HM = {
9
9
  active: !0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.409.0",
3
+ "version": "1.411.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",