@factorialco/f0-react 6.79.0 → 6.81.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,8 +1,8 @@
1
- import { cQ as Ob, cR as $B, cS as Jb, cT as jb, cU as Lb, cV as Xb, cW as vh, cX as e0, cY as kc, cZ as wA, c_ as qb, bY as zt, ct as ys, u as Rt, c$ as $b, d0 as e_, d1 as bh, cF as $I, cG as eC, bX as Cn, bD as t_, bC as ty, V as gi, z as i_, A as n_, bQ as li, b9 as iy, K as g_, B as a_, m as hi, ak as aC, S as Ft, c2 as ko, d2 as o_, d3 as r_, d4 as s_, _ as I_, d5 as C_, ar as Yg, ba as _h, aj as kh, bT as Da, c9 as us, d6 as A_, e as xh, c4 as lr, d7 as l_, a8 as Dh, cN as OA, w as Wn, r as nn, y as PA, t as cd, v as dd, bu as Sh, x as ud, aZ as ny, bO as c_, ah as gy, bV as Xn, s as og, cH as JA, d8 as vf, cv as jA, bN as t0, Y as d_, bW as Mn, d9 as ay, da as eh, cM as Us, db as Rh, dc as u_, ci as Mh, dd as oC, aQ as f_, bH as h_, X as m_, i as p_, cE as B_, de as Ar, df as Ph, dg as Ca, bg as F_, dh as y_, ae as U_, ca as dr, di as fd, dj as oy, dk as Q_, dl as w_, b6 as v_, dm as hd, dn as ry, j as md, dp as b_, as as __, k as tC, dq as sy, bn as k_, dr as x_, ds as D_, dt as S_, du as R_, dv as th, dw as Iy, cd as pd, aa as Cy, dx as M_, dy as P_, dz as V_, dA as G_, dB as Xa, dC as ih, cb as Vh, dD as Ay, cl as Qs, dE as Lc, dF as ly, dG as Gh, ch as E_, dH as iC, dI as T_, dJ as N_, c3 as Tc, bm as Z_, az as nh, ap as K_, dK as cy, dL as W_, b as dy, dM as Y_, a as z_, dN as Bd, dO as H_, g as O_, F as J_, bs as uy, cm as j_, o as Fd, co as L_, bw as Eh, J as X_, br as q_, bq as $_, a5 as fy, cx as ek, al as hy, dP as tk, bf as ik, be as nk, at as Xc, dQ as gk, dR as ak, dS as ok, dT as rk, dU as sk, dV as Ik, dW as Ck, dX as Ak, cc as gh, l as yd, bS as Th, O as ah, Q as xA, aX as lk, aN as ck, b7 as dk, bc as my, bj as py, bk as By, an as uk, dY as Fy, dZ as yy, d_ as Uy, d$ as Qy, cP as fk, cO as hk, e0 as Nh, bl as mk, b$ as pk, c1 as Zh, bR as Bk, e1 as wy, e2 as vy, e3 as by, bK as Fk, n as yk, c5 as Uk, c6 as Qk, c7 as wk, c8 as _y, ay as Ud, R as vk, U as bk, a6 as ky, $ as i0, a4 as xy, bv as _k, aO as kk, am as xk, cp as Dk, e4 as qa, e5 as Sk, e6 as Rk, e7 as Mk, e8 as Pk, e9 as Vk, cy as Gk, a_ as Dy, ea as qc, eb as Ek, bo as Tk, bF as Nk, aw as Zk, bA as bf, av as Kk, aY as Wk, aq as Yk, ag as zk, ec as Hk, bz as Ok, cr as Jk, cs as jk, ed as Lk, ee as Sy, ef as Xk, eg as qk } from "./F0CanvasPanel-DfOKlyiQ.js";
1
+ import { cQ as Ob, cR as $B, cS as Jb, cT as jb, cU as Lb, cV as Xb, cW as vh, cX as e0, cY as kc, cZ as wA, c_ as qb, bY as zt, ct as ys, u as Rt, c$ as $b, d0 as e_, d1 as bh, cF as $I, cG as eC, bX as Cn, bD as t_, bC as ty, V as gi, z as i_, A as n_, bQ as li, b9 as iy, K as g_, B as a_, m as hi, ak as aC, S as Ft, c2 as ko, d2 as o_, d3 as r_, d4 as s_, _ as I_, d5 as C_, ar as Yg, ba as _h, aj as kh, bT as Da, c9 as us, d6 as A_, e as xh, c4 as lr, d7 as l_, a8 as Dh, cN as OA, w as Wn, r as nn, y as PA, t as cd, v as dd, bu as Sh, x as ud, aZ as ny, bO as c_, ah as gy, bV as Xn, s as og, cH as JA, d8 as vf, cv as jA, bN as t0, Y as d_, bW as Mn, d9 as ay, da as eh, cM as Us, db as Rh, dc as u_, ci as Mh, dd as oC, aQ as f_, bH as h_, X as m_, i as p_, cE as B_, de as Ar, df as Ph, dg as Ca, bg as F_, dh as y_, ae as U_, ca as dr, di as fd, dj as oy, dk as Q_, dl as w_, b6 as v_, dm as hd, dn as ry, j as md, dp as b_, as as __, k as tC, dq as sy, bn as k_, dr as x_, ds as D_, dt as S_, du as R_, dv as th, dw as Iy, cd as pd, aa as Cy, dx as M_, dy as P_, dz as V_, dA as G_, dB as Xa, dC as ih, cb as Vh, dD as Ay, cl as Qs, dE as Lc, dF as ly, dG as Gh, ch as E_, dH as iC, dI as T_, dJ as N_, c3 as Tc, bm as Z_, az as nh, ap as K_, dK as cy, dL as W_, b as dy, dM as Y_, a as z_, dN as Bd, dO as H_, g as O_, F as J_, bs as uy, cm as j_, o as Fd, co as L_, bw as Eh, J as X_, br as q_, bq as $_, a5 as fy, cx as ek, al as hy, dP as tk, bf as ik, be as nk, at as Xc, dQ as gk, dR as ak, dS as ok, dT as rk, dU as sk, dV as Ik, dW as Ck, dX as Ak, cc as gh, l as yd, bS as Th, O as ah, Q as xA, aX as lk, aN as ck, b7 as dk, bc as my, bj as py, bk as By, an as uk, dY as Fy, dZ as yy, d_ as Uy, d$ as Qy, cP as fk, cO as hk, e0 as Nh, bl as mk, b$ as pk, c1 as Zh, bR as Bk, e1 as wy, e2 as vy, e3 as by, bK as Fk, n as yk, c5 as Uk, c6 as Qk, c7 as wk, c8 as _y, ay as Ud, R as vk, U as bk, a6 as ky, $ as i0, a4 as xy, bv as _k, aO as kk, am as xk, cp as Dk, e4 as qa, e5 as Sk, e6 as Rk, e7 as Mk, e8 as Pk, e9 as Vk, cy as Gk, a_ as Dy, ea as qc, eb as Ek, bo as Tk, bF as Nk, aw as Zk, bA as bf, av as Kk, aY as Wk, aq as Yk, ag as zk, ec as Hk, bz as Ok, cr as Jk, cs as jk, ed as Lk, ee as Sy, ef as Xk, eg as qk } from "./F0CanvasPanel-DhiUaCU2.js";
2
2
  import { jsx as m, jsxs as ee, Fragment as Ai } from "react/jsx-runtime";
3
3
  import Nt, { forwardRef as yi, useRef as Me, useTransition as $k, useState as Ze, useLayoutEffect as hg, useId as Bs, useContext as wg, createContext as Yn, useEffect as et, useCallback as je, useMemo as vt, useImperativeHandle as ex, Fragment as Pg, isValidElement as Kh, cloneElement as Ry, Suspense as Qd, lazy as ws, createElement as Nc, memo as My, Children as Wh } from "react";
4
4
  import { d as Ue, T as tx, a as ix, b as nx, f as qi, c as gx, g as ax } from "./tooltip-CMBdJvJA.js";
5
- import { C as ox, P as rx, c as wd, n as sx, E as Ix, a as Cx, u as Ax, b as Py, e as lx, f as cx, g as dx, h as ux, i as n0, M as fx, p as hx, j as Vy, R as g0, k as Gy, l as mx, m as px, o as Bx, q as Fx, r as yx, s as Ux, O as Ey, t as Ty, F as Qx, W as ps, A as wx, B as vx, L as bx, v as _x, V as kx, w as xx, x as Dx, y as Sx, z as Yh, S as Rx, D as Ny, G as Zy, H as Mx, I as Px, J as Vx, K as Gx, N as Ex, Q as Tx, T as Nx, U as Zx, X as Kx, Y as Wx, Z as a0, _ as Yx, $ as zx } from "./CoachmarkProvider-CmKBxdi1.js";
5
+ import { C as ox, P as rx, c as wd, n as sx, E as Ix, a as Cx, u as Ax, b as Py, e as lx, f as cx, g as dx, h as ux, i as n0, M as fx, p as hx, j as Vy, R as g0, k as Gy, l as mx, m as px, o as Bx, q as Fx, r as yx, s as Ux, O as Ey, t as Ty, F as Qx, W as ps, A as wx, B as vx, L as bx, v as _x, V as kx, w as xx, x as Dx, y as Sx, z as Yh, S as Rx, D as Ny, G as Zy, H as Mx, I as Px, J as Vx, K as Gx, N as Ex, Q as Tx, T as Nx, U as Zx, X as Kx, Y as Wx, Z as a0, _ as Yx, $ as zx } from "./CoachmarkProvider-Vsu-tcOM.js";
6
6
  import { g as Hx } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import Ox, { createPortal as oh } from "react-dom";
8
8
  import './experimental.css';const Jx = Ob("Search", [
@@ -35166,7 +35166,7 @@ const Dd = (a, C) => {
35166
35166
  ),
35167
35167
  children: a
35168
35168
  }
35169
- ), LM = () => import("./ChatPdfThumbnail-Dt5DmhB5.js"), XM = () => import("./ChatSheetThumbnail-CxGL5ukQ.js"), qM = () => import("./ChatDocxThumbnail-DzNPNFya.js"), $M = () => import("./ChatTextThumbnail-FVwMzn0I.js"), eP = ws(LM), tP = ws(XM), iP = ws(qM), nP = ws($M), gP = 384, aP = 160, hU = ({
35169
+ ), LM = () => import("./ChatPdfThumbnail-Ca_n-RqI.js"), XM = () => import("./ChatSheetThumbnail-CxGL5ukQ.js"), qM = () => import("./ChatDocxThumbnail-DzNPNFya.js"), $M = () => import("./ChatTextThumbnail-FVwMzn0I.js"), eP = ws(LM), tP = ws(XM), iP = ws(qM), nP = ws($M), gP = 384, aP = 160, hU = ({
35170
35170
  file: a,
35171
35171
  kind: C,
35172
35172
  cornerClass: f = "rounded-xl",
@@ -35358,7 +35358,7 @@ const Dd = (a, C) => {
35358
35358
  });
35359
35359
  U.observe(k), f.current = U;
35360
35360
  }, []), shouldMount: a };
35361
- }, Sd = "w-[24rem] max-w-full", rP = "w-[32rem] max-w-full", sP = "gap-0.5", IP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", CP = "bg-[hsl(222_31%_11%)]", AP = "bg-[hsl(220_39%_6%/0.72)]", lP = "bg-[hsl(220_39%_6%/0.6)]", cP = "bg-[hsl(220_39%_6%/0.55)]", dP = () => import("./LocationMap-BAR9Umg5.js"), uP = ws(dP), fP = 3 / 2, hP = ({ latitude: a, longitude: C }) => `https://www.google.com/maps?q=${a},${C}`, mU = ({
35361
+ }, Sd = "w-[24rem] max-w-full", rP = "w-[32rem] max-w-full", sP = "gap-0.5", IP = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", CP = "bg-[hsl(222_31%_11%)]", AP = "bg-[hsl(220_39%_6%/0.72)]", lP = "bg-[hsl(220_39%_6%/0.6)]", cP = "bg-[hsl(220_39%_6%/0.55)]", dP = () => import("./LocationMap-L0ZStboH.js"), uP = ws(dP), fP = 3 / 2, hP = ({ latitude: a, longitude: C }) => `https://www.google.com/maps?q=${a},${C}`, mU = ({
35362
35362
  location: a,
35363
35363
  cornerClass: C = "rounded-xl",
35364
35364
  surfaceClassName: f,
@@ -40761,7 +40761,7 @@ const BG = {
40761
40761
  }
40762
40762
  ) }) });
40763
40763
  }, _G = ws(
40764
- () => import("./index-EJ5SKMtO.js").then((a) => a.i).then((a) => ({
40764
+ () => import("./index-u1Q2gC6C.js").then((a) => a.i).then((a) => ({
40765
40765
  default: a.F0PdfViewer
40766
40766
  }))
40767
40767
  ), kG = () => {
@@ -42647,7 +42647,7 @@ const cQ = ({
42647
42647
  ]
42648
42648
  }
42649
42649
  );
42650
- }, iE = () => import("./index-CoYOndf2.js").then((a) => ({
42650
+ }, iE = () => import("./index-BjcsbfJr.js").then((a) => ({
42651
42651
  default: a.F0VideoPlayer
42652
42652
  })), nE = ws(iE), gE = ({
42653
42653
  file: a,
@@ -367,6 +367,8 @@ declare type ActionType = {
367
367
  critical?: boolean;
368
368
  description?: string;
369
369
  loading?: boolean;
370
+ /** Shown on hover. Its reason for existing is a disabled action. */
371
+ tooltip?: string;
370
372
  };
371
373
 
372
374
  export declare type actionType = {
@@ -1366,6 +1368,11 @@ export declare type BulkActionDefinition = {
1366
1368
  critical?: boolean;
1367
1369
  description?: string;
1368
1370
  disabled?: boolean;
1371
+ /**
1372
+ * Why the action is disabled, shown on hover. Only rendered while `disabled`
1373
+ * — an action the user can click explains itself by doing the thing.
1374
+ */
1375
+ disabledTooltip?: string;
1369
1376
  };
1370
1377
 
1371
1378
  export declare type BulkActionsDefinition<R extends RecordType, Filters extends FiltersDefinition> = (selectedItems: Parameters<OnBulkActionCallback<R, Filters>>[1]) => {
@@ -3665,6 +3672,23 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
3665
3672
  dataAdapter: DataAdapter<R, Filters>;
3666
3673
  /** Selectable items value under the checkbox column (undefined if not selectable) */
3667
3674
  selectable?: (item: R) => string | number | undefined;
3675
+ /**
3676
+ * Renders the row's checkbox disabled instead of hiding it. A disabled row is
3677
+ * left out of "select all" and of the selection counts, so the header
3678
+ * checkbox can still reach a fully-checked state.
3679
+ */
3680
+ selectionDisabled?: (item: R) => boolean;
3681
+ /**
3682
+ * A row selected through something else — a tree node picked above it, say.
3683
+ * Renders indeterminate and disabled, and never enters the selection, so the
3684
+ * payload keeps naming only real picks. Implies `selectionDisabled`.
3685
+ */
3686
+ selectionInherited?: (item: R) => boolean;
3687
+ /**
3688
+ * Removes the header select-all and the cross-page "Select all N items" CTA,
3689
+ * forcing row-by-row selection. Mirrors `F0Select`'s prop of the same name.
3690
+ */
3691
+ disableSelectAll?: boolean;
3668
3692
  /** Default selected items */
3669
3693
  defaultSelectedItems?: SelectedItemsState<R>;
3670
3694
  /**
@@ -12845,7 +12869,7 @@ declare type SelectCellConfig<R extends RecordType> = {
12845
12869
  source?: never;
12846
12870
  mapOptions?: never;
12847
12871
  } | {
12848
- source: Omit<DataSourceDefinition<RecordType, FiltersDefinition, SortingsDefinition, GroupingDefinition<RecordType>>, "selectable" | "grouping" | "defaultGrouping" | "currentGrouping" | "fetchChildren" | "itemsWithChildren" | "childrenCount">;
12872
+ source: Omit<DataSourceDefinition<RecordType, FiltersDefinition, SortingsDefinition, GroupingDefinition<RecordType>>, "selectable" | "selectionDisabled" | "selectionInherited" | "disableSelectAll" | "grouping" | "defaultGrouping" | "currentGrouping" | "fetchChildren" | "itemsWithChildren" | "childrenCount">;
12849
12873
  mapOptions: (record: RecordType) => F0SelectItemProps<string, RecordType>;
12850
12874
  options?: never;
12851
12875
  });
@@ -1,6 +1,6 @@
1
- import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as T, ax as P, aJ as p, D as F, z as I, a3 as E, b2 as A, b9 as B, K as L, b1 as y, E as D, b as W, i as v, ag as _, ah as k, G as O, an as N, F as f, j as x, n as R, o as H, k as M, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as K, aR as Q, b0 as X, at as Z, a6 as J, aL as Y, U as $, ac as aa, O as ea, bd as sa, V as ta, P as ia, M as oa, N as ra, au as na, R as la, a_ as da, b3 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b7 as Ba, b6 as La, ap as ya, ao as Da, aw as Wa, aK as va, aH as _a, av as ka, ab as Oa, aC as Na, b8 as fa, bb as xa, aA as Ra, aF as Ha, aD as Ma, bc as Va, aG as wa, aE as Ga, ba as za, d as Ua, af as ja, b5 as qa, b4 as Ka, aj as Qa, f as Xa, l as Za, p as Ja, g as Ya, h as $a, aU as ae, aS as ee, ak as se, al as te, aQ as ie, aT as oe, e as re, s as ne, aY as le, aP as de, aV as Se, ad as Ce, a$ as ge, u as me, ae as ue, ai as ce, aO as be, T as he, Q as Te, I as Pe, Y as pe, X as Fe, aZ as Ie, aX as Ee, aW as Ae } from "./experimental-QYDpPHwK.js";
2
- import { dP as Le, ep as ye, eo as De, eC as We, dm as ve, em as _e, ce as ke, c4 as Oe, cb as Ne, eh as fe, bZ as xe, bZ as Re, bS as He, ei as Me, ch as Ve, e0 as we, cj as Ge, eF as ze, en as Ue, ey as je, ez as qe, d6 as Ke, eD as Qe, k as Xe, dQ as Ze, cN as Je, el as Ye, er as $e, eq as as, T as es, h as ss, bT as ts, eA as is, eG as os, eB as rs, eE as ns, ex as ls, eu as ds, ew as Ss, es as Cs, ej as gs, ek as ms, ed as us, ev as cs, et as bs } from "./F0CanvasPanel-DfOKlyiQ.js";
3
- import { ay as Ts, az as Ps, a6 as ps, a7 as Fs, a4 as Is, ah as Es, C as As, a8 as Bs, aK as Ls, ad as ys, aJ as Ds, ag as Ws, a5 as vs, aw as _s, aM as ks, aL as Os, ao as Ns, ai as fs, ar as xs, aP as Rs, a3 as Hs, at as Ms, aq as Vs, al as ws, aR as Gs, am as zs, au as Us, av as js, a9 as qs, aN as Ks, aO as Qs, an as Xs, ax as Zs, aG as Js, O as Ys, aI as $s, aa as at, aT as et, ac as st, ae as tt, ar as it, aQ as ot, as as rt, ap as nt, aS as lt, ab as dt, W as St, af as Ct, a2 as gt, a0 as mt, a1 as ut, aC as ct, aD as bt, aA as ht, aH as Tt, ak as Pt, aj as pt, aE as Ft, m as It, aB as Et, aF as At, z as Bt } from "./CoachmarkProvider-CmKBxdi1.js";
1
+ import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as T, ax as P, aJ as p, D as F, z as I, a3 as E, b2 as A, b9 as B, K as L, b1 as y, E as D, b as W, i as v, ag as _, ah as k, G as O, an as N, F as f, j as x, n as R, o as H, k as M, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as K, aR as Q, b0 as X, at as Z, a6 as J, aL as Y, U as $, ac as aa, O as ea, bd as sa, V as ta, P as ia, M as oa, N as ra, au as na, R as la, a_ as da, b3 as Sa, S as Ca, a7 as ga, a8 as ma, _ as ua, $ as ca, a0 as ba, Z as ha, a1 as Ta, W as Pa, a2 as pa, a4 as Fa, a5 as Ia, a9 as Ea, aa as Aa, b7 as Ba, b6 as La, ap as ya, ao as Da, aw as Wa, aK as va, aH as _a, av as ka, ab as Oa, aC as Na, b8 as fa, bb as xa, aA as Ra, aF as Ha, aD as Ma, bc as Va, aG as wa, aE as Ga, ba as za, d as Ua, af as ja, b5 as qa, b4 as Ka, aj as Qa, f as Xa, l as Za, p as Ja, g as Ya, h as $a, aU as ae, aS as ee, ak as se, al as te, aQ as ie, aT as oe, e as re, s as ne, aY as le, aP as de, aV as Se, ad as Ce, a$ as ge, u as me, ae as ue, ai as ce, aO as be, T as he, Q as Te, I as Pe, Y as pe, X as Fe, aZ as Ie, aX as Ee, aW as Ae } from "./experimental-Ci0DuECN.js";
2
+ import { dP as Le, ep as ye, eo as De, eC as We, dm as ve, em as _e, ce as ke, c4 as Oe, cb as Ne, eh as fe, bZ as xe, bZ as Re, bS as He, ei as Me, ch as Ve, e0 as we, cj as Ge, eF as ze, en as Ue, ey as je, ez as qe, d6 as Ke, eD as Qe, k as Xe, dQ as Ze, cN as Je, el as Ye, er as $e, eq as as, T as es, h as ss, bT as ts, eA as is, eG as os, eB as rs, eE as ns, ex as ls, eu as ds, ew as Ss, es as Cs, ej as gs, ek as ms, ed as us, ev as cs, et as bs } from "./F0CanvasPanel-DhiUaCU2.js";
3
+ import { ay as Ts, az as Ps, a6 as ps, a7 as Fs, a4 as Is, ah as Es, C as As, a8 as Bs, aK as Ls, ad as ys, aJ as Ds, ag as Ws, a5 as vs, aw as _s, aM as ks, aL as Os, ao as Ns, ai as fs, ar as xs, aP as Rs, a3 as Hs, at as Ms, aq as Vs, al as ws, aR as Gs, am as zs, au as Us, av as js, a9 as qs, aN as Ks, aO as Qs, an as Xs, ax as Zs, aG as Js, O as Ys, aI as $s, aa as at, aT as et, ac as st, ae as tt, ar as it, aQ as ot, as as rt, ap as nt, aS as lt, ab as dt, W as St, af as Ct, a2 as gt, a0 as mt, a1 as ut, aC as ct, aD as bt, aA as ht, aH as Tt, ak as Pt, aj as pt, aE as Ft, m as It, aB as Et, aF as At, z as Bt } from "./CoachmarkProvider-Vsu-tcOM.js";
4
4
  export {
5
5
  Ts as AUTO_PER_PAGE_MAX,
6
6
  Ps as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
package/dist/f0.d.ts CHANGED
@@ -419,6 +419,8 @@ declare type ActionType_2 = {
419
419
  critical?: boolean;
420
420
  description?: string;
421
421
  loading?: boolean;
422
+ /** Shown on hover. Its reason for existing is a disabled action. */
423
+ tooltip?: string;
422
424
  };
423
425
 
424
426
  declare type ActionVariant = (typeof actionVariants)[number];
@@ -1960,6 +1962,11 @@ declare type BulkActionDefinition = {
1960
1962
  critical?: boolean;
1961
1963
  description?: string;
1962
1964
  disabled?: boolean;
1965
+ /**
1966
+ * Why the action is disabled, shown on hover. Only rendered while `disabled`
1967
+ * — an action the user can click explains itself by doing the thing.
1968
+ */
1969
+ disabledTooltip?: string;
1963
1970
  };
1964
1971
 
1965
1972
  declare type BulkActionsDefinition<R extends RecordType, Filters extends FiltersDefinition> = (selectedItems: Parameters<OnBulkActionCallback<R, Filters>>[1]) => {
@@ -3135,10 +3142,16 @@ declare interface ChatSpinnerProps {
3135
3142
  style?: CSSProperties;
3136
3143
  /**
3137
3144
  * "default" → spins 2 rotations, pauses, repeats.
3138
- * "continuous" → 2 rotations forward, then 2 backward, no pause. Used for
3139
- * "writing"-style activity where the indicator should never rest.
3145
+ * "continuous" → rotates forward at a constant rate, never pausing. Used
3146
+ * for "writing"-style activity where the indicator should never rest.
3140
3147
  */
3141
3148
  variant?: "default" | "continuous";
3149
+ /**
3150
+ * When false, the spinner rests at its base orientation (the static One
3151
+ * mark). A spin already in progress completes its current cycle before
3152
+ * resting, so toggling mid-spin never jumps. Only affects "default".
3153
+ */
3154
+ playing?: boolean;
3142
3155
  }
3143
3156
 
3144
3157
  export declare type ChatThread = {
@@ -4390,6 +4403,23 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
4390
4403
  dataAdapter: DataAdapter<R, Filters>;
4391
4404
  /** Selectable items value under the checkbox column (undefined if not selectable) */
4392
4405
  selectable?: (item: R) => string | number | undefined;
4406
+ /**
4407
+ * Renders the row's checkbox disabled instead of hiding it. A disabled row is
4408
+ * left out of "select all" and of the selection counts, so the header
4409
+ * checkbox can still reach a fully-checked state.
4410
+ */
4411
+ selectionDisabled?: (item: R) => boolean;
4412
+ /**
4413
+ * A row selected through something else — a tree node picked above it, say.
4414
+ * Renders indeterminate and disabled, and never enters the selection, so the
4415
+ * payload keeps naming only real picks. Implies `selectionDisabled`.
4416
+ */
4417
+ selectionInherited?: (item: R) => boolean;
4418
+ /**
4419
+ * Removes the header select-all and the cross-page "Select all N items" CTA,
4420
+ * forcing row-by-row selection. Mirrors `F0Select`'s prop of the same name.
4421
+ */
4422
+ disableSelectAll?: boolean;
4393
4423
  /** Default selected items */
4394
4424
  defaultSelectedItems?: SelectedItemsState<R>;
4395
4425
  /**
@@ -17718,7 +17748,7 @@ declare type SelectCellConfig<R extends RecordType> = {
17718
17748
  source?: never;
17719
17749
  mapOptions?: never;
17720
17750
  } | {
17721
- source: Omit<DataSourceDefinition<RecordType, FiltersDefinition, SortingsDefinition, GroupingDefinition<RecordType>>, "selectable" | "grouping" | "defaultGrouping" | "currentGrouping" | "fetchChildren" | "itemsWithChildren" | "childrenCount">;
17751
+ source: Omit<DataSourceDefinition<RecordType, FiltersDefinition, SortingsDefinition, GroupingDefinition<RecordType>>, "selectable" | "selectionDisabled" | "selectionInherited" | "disableSelectAll" | "grouping" | "defaultGrouping" | "currentGrouping" | "fetchChildren" | "itemsWithChildren" | "childrenCount">;
17722
17752
  mapOptions: (record: RecordType) => F0SelectItemProps<string, RecordType>;
17723
17753
  options?: never;
17724
17754
  });
@@ -19997,7 +20027,7 @@ export declare function useSchemaDefinition(schema: F0FormSchema, sections?: Rec
19997
20027
  * Custom hook to manage selection state for items and groups in a data table
19998
20028
  * Supports single/multi selection, grouped data, pagination, and filtering
19999
20029
  */
20000
- export declare function useSelectable<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>>({ data, paginationInfo, source, selectionMode, selectedState, onSelectItems, disableSelectAll, isSearchActive, allPagesSelection, resetOnPageChange, preserveSelectionOnDatasetChange, getRenderedSelectableEntries, renderedSelectableCount, }: UseSelectableProps<R, Filters, Sortings, Grouping>): UseSelectableReturn<R, Filters>;
20030
+ export declare function useSelectable<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>>({ data, paginationInfo, source, selectionMode, selectedState, onSelectItems, disableSelectAll: disableSelectAllProp, isSearchActive, allPagesSelection, resetOnPageChange, preserveSelectionOnDatasetChange, getRenderedSelectableEntries, renderedSelectableCount, }: UseSelectableProps<R, Filters, Sortings, Grouping>): UseSelectableReturn<R, Filters>;
20001
20031
 
20002
20032
  export declare type UseSelectableProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>> = {
20003
20033
  data: Data<R>;
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { h_ as SN, w as ct, e4 as I_, ct as gn, ho as CN, bY as Nn, fn as iF, h$ as aF, i0 as TN, r as tr, c4 as yf, i1 as oF, i2 as Fw, i3 as Lr, i4 as Qa, i5 as sF, u as Ge, bW as up, i6 as Ki, i7 as Ql, i8 as lF, i9 as DN, bV as bl, hl as Ky, ia as uF, S as ne, s as k_, ib as cF, ic as fF, id as Gw, cz as dF, ie as hF, ig as vF, ih as AN, ii as pF, t as bf, v as _f, m as at, x as xf, y as Wr, O as gF, Q as mF, z as es, A as ts, ay as Pa, B as rs, gv as Qy, d4 as Ct, V as it, ah as Nl, d5 as Ra, da as MN, di as P_, ij as yF, cm as bF, cn as Hw, n as EN, o as Il, bX as Rc, co as _F, eC as zh, d_ as LN, ik as xF, hn as Ww, d7 as wF, il as $w, dd as SF, im as CF, c1 as NN, e3 as IN, ge as Jy, dm as TF, a7 as e0, a6 as R_, gR as Jl, gS as wf, gU as kN, hu as DF, gt as PN, gs as AF, io as cp, b4 as O_, h8 as MF, c9 as RN, f$ as EF, av as LF, hV as B_, b7 as ON, c5 as NF, c6 as IF, c7 as kF, d as PF, bC as BN, ai as hs, bI as zN, b3 as VN, ag as z_, bK as FN, X as V_, G as _l, H as xl, K as wl, L as Sl, gw as Ni, $ as GN, j as RF, b1 as Vh, at as kl, J as kr, el as OF, bT as HN, b5 as t0, cq as Oc, cj as BF, aT as Sf, ar as eu, dH as WN, du as $N, h1 as zr, ip as zF, iq as VF, ir as UN, is as fp, it as FF, iu as GF, cE as ri, R as YN, U as XN, ci as HF, iv as WF, cb as qN, e1 as $F, e2 as UF, bQ as $o, db as tu, e7 as ru, e_ as Cf, bL as YF, e5 as XF, bs as qF, ak as ZN, dg as ZF, aj as jF, aX as Uw, bG as Bc, hs as KF, aP as QF, iw as JF, ix as e5, iy as t5, b as jN, eY as F_, ch as r5, a_ as n5, l as KN, a8 as i5, a5, iz as o5, iA as s5, iB as l5, hr as u5, cN as c5, c3 as f5, cF as QN, iC as JN, iD as d5, iE as h5, I as v5, iF as p5, iG as g5, iH as m5, iI as y5 } from "./F0CanvasPanel-DfOKlyiQ.js";
2
- import { iZ as lhe, C as uhe, D as che, dB as fhe, c as dhe, F as hhe, a as vhe, iS as phe, f as ghe, cx as mhe, dC as yhe, e9 as bhe, cc as _he, cd as xhe, cv as whe, ca as She, cw as Che, dp as The, eh as Dhe, g as Ahe, c8 as Mhe, bZ as Ehe, iN as Lhe, j2 as Nhe, bS as Ihe, e as khe, e0 as Phe, k as Rhe, cy as Ohe, iU as Bhe, dL as zhe, iV as Vhe, iX as Fhe, iY as Ghe, eF as Hhe, i$ as Whe, ey as $he, ez as Uhe, P as Yhe, eD as Xhe, iW as qhe, eA as Zhe, i_ as jhe, j3 as Khe, iK as Qhe, iL as Jhe, iM as eve, iJ as tve, eB as rve, j1 as nve, iT as ive, iQ as ave, iP as ove, eE as sve, gq as lve, h9 as uve, j0 as cve, dE as fve, ex as dve, eu as hve, ew as vve, es as pve, iR as gve, hb as mve, h5 as yve, gV as bve, j6 as _ve, ed as xve, ev as wve, j5 as Sve, dT as Cve, et as Tve, cf as Dve, gp as Ave, gW as Mve, dW as Eve, ht as Lve, dD as Nve, cg as Ive, iO as kve, h7 as Pve, h6 as Rve, j4 as Ove } from "./F0CanvasPanel-DfOKlyiQ.js";
1
+ import { h_ as SN, w as ct, e4 as I_, ct as gn, ho as CN, bY as Nn, fn as iF, h$ as aF, i0 as TN, r as tr, c4 as yf, i1 as oF, i2 as Fw, i3 as Lr, i4 as Qa, i5 as sF, u as Ge, bW as up, i6 as Ki, i7 as Ql, i8 as lF, i9 as DN, bV as bl, hl as Ky, ia as uF, S as ne, s as k_, ib as cF, ic as fF, id as Gw, cz as dF, ie as hF, ig as vF, ih as AN, ii as pF, t as bf, v as _f, m as at, x as xf, y as Wr, O as gF, Q as mF, z as es, A as ts, ay as Pa, B as rs, gv as Qy, d4 as Ct, V as it, ah as Nl, d5 as Ra, da as MN, di as P_, ij as yF, cm as bF, cn as Hw, n as EN, o as Il, bX as Rc, co as _F, eC as zh, d_ as LN, ik as xF, hn as Ww, d7 as wF, il as $w, dd as SF, im as CF, c1 as NN, e3 as IN, ge as Jy, dm as TF, a7 as e0, a6 as R_, gR as Jl, gS as wf, gU as kN, hu as DF, gt as PN, gs as AF, io as cp, b4 as O_, h8 as MF, c9 as RN, f$ as EF, av as LF, hV as B_, b7 as ON, c5 as NF, c6 as IF, c7 as kF, d as PF, bC as BN, ai as hs, bI as zN, b3 as VN, ag as z_, bK as FN, X as V_, G as _l, H as xl, K as wl, L as Sl, gw as Ni, $ as GN, j as RF, b1 as Vh, at as kl, J as kr, el as OF, bT as HN, b5 as t0, cq as Oc, cj as BF, aT as Sf, ar as eu, dH as WN, du as $N, h1 as zr, ip as zF, iq as VF, ir as UN, is as fp, it as FF, iu as GF, cE as ri, R as YN, U as XN, ci as HF, iv as WF, cb as qN, e1 as $F, e2 as UF, bQ as $o, db as tu, e7 as ru, e_ as Cf, bL as YF, e5 as XF, bs as qF, ak as ZN, dg as ZF, aj as jF, aX as Uw, bG as Bc, hs as KF, aP as QF, iw as JF, ix as e5, iy as t5, b as jN, eY as F_, ch as r5, a_ as n5, l as KN, a8 as i5, a5, iz as o5, iA as s5, iB as l5, hr as u5, cN as c5, c3 as f5, cF as QN, iC as JN, iD as d5, iE as h5, I as v5, iF as p5, iG as g5, iH as m5, iI as y5 } from "./F0CanvasPanel-DhiUaCU2.js";
2
+ import { iZ as lhe, C as uhe, D as che, dB as fhe, c as dhe, F as hhe, a as vhe, iS as phe, f as ghe, cx as mhe, dC as yhe, e9 as bhe, cc as _he, cd as xhe, cv as whe, ca as She, cw as Che, dp as The, eh as Dhe, g as Ahe, c8 as Mhe, bZ as Ehe, iN as Lhe, j2 as Nhe, bS as Ihe, e as khe, e0 as Phe, k as Rhe, cy as Ohe, iU as Bhe, dL as zhe, iV as Vhe, iX as Fhe, iY as Ghe, eF as Hhe, i$ as Whe, ey as $he, ez as Uhe, P as Yhe, eD as Xhe, iW as qhe, eA as Zhe, i_ as jhe, j3 as Khe, iK as Qhe, iL as Jhe, iM as eve, iJ as tve, eB as rve, j1 as nve, iT as ive, iQ as ave, iP as ove, eE as sve, gq as lve, h9 as uve, j0 as cve, dE as fve, ex as dve, eu as hve, ew as vve, es as pve, iR as gve, hb as mve, h5 as yve, gV as bve, j6 as _ve, ed as xve, ev as wve, j5 as Sve, dT as Cve, et as Tve, cf as Dve, gp as Ave, gW as Mve, dW as Eve, ht as Lve, dD as Nve, cg as Ive, iO as kve, h7 as Pve, h6 as Rve, j4 as Ove } from "./F0CanvasPanel-DhiUaCU2.js";
3
3
  import { jsx as x, jsxs as B, Fragment as ot } from "react/jsx-runtime";
4
- import { C as b5, W as _5, H as x5, I as w5, J as S5, K as Yw, aU as C5, aV as T5, _ as D5, N as A5, T as M5, X as E5, Z as L5, s as N5, a3 as eI, aW as I5, aX as k5, aY as P5, aZ as R5, a_ as O5, a$ as tI, b0 as B5, n as G_, b1 as Ja, b2 as z5, D as H_, b3 as W_, ag as V5, b4 as F5, b5 as Es, b6 as rI, b7 as G5, b8 as H5, b9 as W5, ba as $5, bb as U5, bc as Y5, at as X5, aJ as q5, bd as Z5, ao as j5, E as K5, a as Q5, k as dp, R as $_, l as U_, ar as nI, O as Y_, be as iI, bf as Xw, bg as X_, a4 as J5, bh as qw, F as eG, m as aI, ax as oI, bi as tG, bj as rG, bk as nG, bl as Ls, bm as iG, aK as aG, M as oG } from "./CoachmarkProvider-CmKBxdi1.js";
5
- import { a6 as zve, a7 as Vve, ah as Fve, a8 as Gve, ad as Hve, bI as Wve, bH as $ve, bA as Uve, bo as Yve, bn as Xve, bp as qve, bq as Zve, bs as jve, G as Kve, aM as Qve, aL as Jve, aP as epe, aq as tpe, al as rpe, aR as npe, am as ipe, a9 as ape, bJ as ope, aN as spe, aO as lpe, an as upe, aa as cpe, P as fpe, ac as dpe, ae as hpe, aQ as vpe, ap as ppe, aS as gpe, ab as mpe, af as ype, bL as bpe, a2 as _pe, a0 as xpe, a1 as wpe, bz as Spe, bF as Cpe, bF as Tpe, bG as Dpe, bv as Ape, bu as Mpe, bK as Epe, aH as Lpe, bx as Npe, by as Ipe, ak as kpe, aj as Ppe, bM as Rpe, bN as Ope, Y as Bpe, o as zpe, bB as Vpe, bC as Fpe, bD as Gpe, br as Hpe, bw as Wpe, q as $pe, bE as Upe, bt as Ype, bO as Xpe } from "./CoachmarkProvider-CmKBxdi1.js";
4
+ import { C as b5, W as _5, H as x5, I as w5, J as S5, K as Yw, aU as C5, aV as T5, _ as D5, N as A5, T as M5, X as E5, Z as L5, s as N5, a3 as eI, aW as I5, aX as k5, aY as P5, aZ as R5, a_ as O5, a$ as tI, b0 as B5, n as G_, b1 as Ja, b2 as z5, D as H_, b3 as W_, ag as V5, b4 as F5, b5 as Es, b6 as rI, b7 as G5, b8 as H5, b9 as W5, ba as $5, bb as U5, bc as Y5, at as X5, aJ as q5, bd as Z5, ao as j5, E as K5, a as Q5, k as dp, R as $_, l as U_, ar as nI, O as Y_, be as iI, bf as Xw, bg as X_, a4 as J5, bh as qw, F as eG, m as aI, ax as oI, bi as tG, bj as rG, bk as nG, bl as Ls, bm as iG, aK as aG, M as oG } from "./CoachmarkProvider-Vsu-tcOM.js";
5
+ import { a6 as zve, a7 as Vve, ah as Fve, a8 as Gve, ad as Hve, bI as Wve, bH as $ve, bA as Uve, bo as Yve, bn as Xve, bp as qve, bq as Zve, bs as jve, G as Kve, aM as Qve, aL as Jve, aP as epe, aq as tpe, al as rpe, aR as npe, am as ipe, a9 as ape, bJ as ope, aN as spe, aO as lpe, an as upe, aa as cpe, P as fpe, ac as dpe, ae as hpe, aQ as vpe, ap as ppe, aS as gpe, ab as mpe, af as ype, bL as bpe, a2 as _pe, a0 as xpe, a1 as wpe, bz as Spe, bF as Cpe, bF as Tpe, bG as Dpe, bv as Ape, bu as Mpe, bK as Epe, aH as Lpe, bx as Npe, by as Ipe, ak as kpe, aj as Ppe, bM as Rpe, bN as Ope, Y as Bpe, o as zpe, bB as Vpe, bC as Fpe, bD as Gpe, br as Hpe, bw as Wpe, q as $pe, bE as Upe, bt as Ype, bO as Xpe } from "./CoachmarkProvider-Vsu-tcOM.js";
6
6
  import * as Tt from "react";
7
7
  import sG, { forwardRef as Mr, useRef as ie, useImperativeHandle as lG, Children as Fh, createContext as $a, useContext as Ua, useState as se, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as zc, isValidElement as sI, Fragment as nu, memo as q_, useSyncExternalStore as Pl, useId as Cl } from "react";
8
8
  import { createPortal as Tf } from "react-dom";
9
9
  import { d as ae, g as Df, h as uG, i as fl, P as Af, u as iu, j as cG, f as Qi } from "./tooltip-CMBdJvJA.js";
10
- import { l as r0, c as lI, d as Gh, r as n0 } from "./F0VideoPlayer-_XfCzD0g.js";
11
- import { F as Zpe } from "./F0VideoPlayer-_XfCzD0g.js";
12
- import { F as Kpe, p as Qpe } from "./index-EJ5SKMtO.js";
13
- import { c as ege } from "./pdfWorker-Bd6vp6e3.js";
14
- import { D as fG, E as Hh, G as Z_, H as uI, I as cI, J as dG, K as hG, L as vG, M as pG, N as gG, F as mG } from "./F0AiProcessingOverlay-BghMjqVG.js";
15
- import { A as rge, C as nge, t as ige, s as age, v as oge, y as sge, l as lge, i as uge, q as cge, z as fge, B as dge, p as hge, r as vge, j as pge, e as gge, g as mge, k as yge, T as bge, w as _ge, h as xge, a as wge, n as Sge, m as Cge, o as Tge, b as Dge, f as Age, x as Mge, c as Ege, d as Lge, u as Nge } from "./F0AiProcessingOverlay-BghMjqVG.js";
10
+ import { l as r0, c as lI, d as Gh, r as n0 } from "./F0VideoPlayer-B2O9hwqX.js";
11
+ import { F as Zpe } from "./F0VideoPlayer-B2O9hwqX.js";
12
+ import { F as Kpe, p as Qpe } from "./index-u1Q2gC6C.js";
13
+ import { c as ege } from "./pdfWorker-M3VawDUs.js";
14
+ import { D as fG, E as Hh, G as Z_, H as uI, I as cI, J as dG, K as hG, L as vG, M as pG, N as gG, F as mG } from "./F0AiProcessingOverlay-BNt9VWJd.js";
15
+ import { A as rge, C as nge, t as ige, s as age, v as oge, y as sge, l as lge, i as uge, q as cge, z as fge, B as dge, p as hge, r as vge, j as pge, e as gge, g as mge, k as yge, T as bge, w as _ge, h as xge, a as wge, n as Sge, m as Cge, o as Tge, b as Dge, f as Age, x as Mge, c as Ege, d as Lge, u as Nge } from "./F0AiProcessingOverlay-BNt9VWJd.js";
16
16
  import { g as yG } from "./_commonjsHelpers-ByX85dGu.js";
17
17
  import { utils as Tl, write as fI } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as kge } from "./i18n-provider-defaults.js";
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-B2O9hwqX.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-DfOKlyiQ.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-DhiUaCU2.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Bd6vp6e3.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-M3VawDUs.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-CMBdJvJA.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-CRLdU2V5.js")), Ge = J(() => import("./DocxViewer-B0uyM_D4.js")), Ze = J(() => import("./TextViewer-BDGEnAeh.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-CPR3fWjN.js")), Ge = J(() => import("./DocxViewer-DkKz-EfF.js")), Ze = J(() => import("./TextViewer-CGw3CymP.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-CMBdJvJA.js";
4
- import { W as invariant } from "./F0CanvasPanel-DfOKlyiQ.js";
5
- import { d as dequal } from "./CoachmarkProvider-CmKBxdi1.js";
4
+ import { W as invariant } from "./F0CanvasPanel-DhiUaCU2.js";
5
+ import { d as dequal } from "./CoachmarkProvider-Vsu-tcOM.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };