@factorialco/f0-react 2.26.0 → 2.26.1
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/experimental.d.ts
CHANGED
|
@@ -3801,7 +3801,11 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
3801
3801
|
}) => void;
|
|
3802
3802
|
/**
|
|
3803
3803
|
* Returns a hint to display as an icon with tooltip inside the cell.
|
|
3804
|
-
* Use to warn the user when a value diverges from its formula-inferred value
|
|
3804
|
+
* Use to warn the user when a value diverges from its formula-inferred value,
|
|
3805
|
+
* or to provide extra context for non-editable / disabled cells (e.g. why a
|
|
3806
|
+
* value was inferred, who a row is backfilling, why editing is locked).
|
|
3807
|
+
*
|
|
3808
|
+
* Supported by all `editType` values, including `display-only` and `disabled`.
|
|
3805
3809
|
*
|
|
3806
3810
|
* Return `undefined` to hide the hint.
|
|
3807
3811
|
*
|
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ 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,
|
|
|
2
2
|
import { bH as Lc, bG as Ec, bT as _c, bD as Oc, bE as Dc, bw as Tc, bx as zc, bU as Pc, by as Bc, bF as Rc, bP as $c, bQ as Wc, bz as Mc, bJ as jc, bI as Vc, bA as Gc, bB as Hc, bR as Uc, bV as Kc, bS as qc, bO as Yc, bL as Zc, bN as Jc, bK as Xc, bC as Qc, bM as ed } from "./F0CanvasPanel-EHIkRGh1.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 jr, useState as _, useLayoutEffect as In, useId as ot, useContext as Ke, createContext as xt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Vr, isValidElement as Gr, cloneElement as Fn, Children as An } from "react";
|
|
5
|
-
import { C as Hr, P as Ur, g as Ln, c as Kr, a as En, F as ct, f as qr, b as Te, M as Yr, d as Zr, R as Dt, e as _n, u as Jr, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as Xr, o as Qr, S as el, p as tl, A as nl, B as al, L as rl, q as ll, V as il, r as sl, s as Tt, t as ol, v as cl, O as dl } from "./useDataCollectionSource-
|
|
6
|
-
import { E as nd, G as ad, z as rd, X as ld, H as id, Q as sd, ae as od, W as cd, D as dd, y as ud, a1 as fd, ak as md, a2 as hd, a3 as pd, I as gd, ag as bd, ah as xd, af as vd, ai as wd, Z as yd, a4 as Nd, ab as Cd, ad as kd, J as Sd, N as Id, T as Fd, $ as Ad, aj as Ld, a0 as Ed, _ as _d, K as Od, U as Dd, w as Td, x as zd, a6 as Pd, a7 as Bd, ac as Rd, Y as $d, a8 as Wd, a9 as Md, a5 as jd, aa as Vd } from "./useDataCollectionSource-
|
|
5
|
+
import { C as Hr, P as Ur, g as Ln, c as Kr, a as En, F as ct, f as qr, b as Te, M as Yr, d as Zr, R as Dt, e as _n, u as Jr, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as Xr, o as Qr, S as el, p as tl, A as nl, B as al, L as rl, q as ll, V as il, r as sl, s as Tt, t as ol, v as cl, O as dl } from "./useDataCollectionSource-q6ZqmOeN.js";
|
|
6
|
+
import { E as nd, G as ad, z as rd, X as ld, H as id, Q as sd, ae as od, W as cd, D as dd, y as ud, a1 as fd, ak as md, a2 as hd, a3 as pd, I as gd, ag as bd, ah as xd, af as vd, ai as wd, Z as yd, a4 as Nd, ab as Cd, ad as kd, J as Sd, N as Id, T as Fd, $ as Ad, aj as Ld, a0 as Ed, _ as _d, K as Od, U as Dd, w as Td, x as zd, a6 as Pd, a7 as Bd, ac as Rd, Y as $d, a8 as Wd, a9 as Md, a5 as jd, aa as Vd } from "./useDataCollectionSource-q6ZqmOeN.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
|
@@ -5016,7 +5016,11 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
5016
5016
|
}) => void;
|
|
5017
5017
|
/**
|
|
5018
5018
|
* Returns a hint to display as an icon with tooltip inside the cell.
|
|
5019
|
-
* Use to warn the user when a value diverges from its formula-inferred value
|
|
5019
|
+
* Use to warn the user when a value diverges from its formula-inferred value,
|
|
5020
|
+
* or to provide extra context for non-editable / disabled cells (e.g. why a
|
|
5021
|
+
* value was inferred, who a row is backfilling, why editing is locked).
|
|
5022
|
+
*
|
|
5023
|
+
* Supported by all `editType` values, including `display-only` and `disabled`.
|
|
5020
5024
|
*
|
|
5021
5025
|
* Return `undefined` to hide the hint.
|
|
5022
5026
|
*
|
package/dist/f0.js
CHANGED
|
@@ -6,8 +6,8 @@ import He, { forwardRef as Jr, useRef as se, useImperativeHandle as EH, Children
|
|
|
6
6
|
import { y as IH, z as kH, U as nT, D as iT, B as $m, E as aT, G as RH, H as Oa, I as nl, J as PH, K as Gw, L as Rr, M as fi, N as OH, O as BH, P as Ik, Z as Ho, Q as VH, R as FH, S as zH, T as kk, V as Xv, W as Hw, X as Rk, Y as Pk, _ as pn, $ as GH, a0 as HH, a1 as Ok, a2 as Rg, a3 as WH, a4 as UH, a5 as Bk, a6 as $H, a7 as YH, a8 as XH, a9 as qH, aa as ZH, ab as jH, F as KH } from "./useChatHistory-BD1x2gsG.js";
|
|
7
7
|
import { A as Sye, C as Cye, h as Tye, s as Dye, t as Aye, w as Mye, ag as Eye, m as Lye, j as Nye, q as Iye, x as kye, p as Rye, r as Pye, k as Oye, e as Bye, g as Vye, l as Fye, i as zye, a as Gye, n as Hye, ah as Wye, ae as Uye, ad as $ye, af as Yye, o as Xye, ac as qye, b as Zye, f as jye, v as Kye, c as Qye, d as Jye, u as e0e } from "./useChatHistory-BD1x2gsG.js";
|
|
8
8
|
import { createPortal as Vk, unstable_batchedUpdates as qd, flushSync as QH } from "react-dom";
|
|
9
|
-
import { C as JH, y as eW, b as Fk, W as jb, X as zk, al as Gk, Z as Hk, aj as tW, _ as rW, a0 as Wk, a1 as Ww, am as nW, an as Uw, ae as iW, ao as aW, ap as oW, e as Pg, aq as sW, R as $w, u as Yw, $ as Uk, O as Xw, ar as lW, as as $k, i as Gu, m as Hu, p as md, at as qw, z as uW, j as cW, a9 as Yk, a4 as Xk, au as fW, av as dW, aw as hW, ax as vW, ay as pW, M as gW } from "./useDataCollectionSource-
|
|
10
|
-
import { E as r0e, G as n0e, H as i0e, Q as a0e, aE as o0e, F as s0e, aC as l0e, ak as u0e, I as c0e, ag as f0e, ah as d0e, af as h0e, ai as v0e, J as p0e, P as g0e, N as m0e, T as y0e, K as b0e, U as x0e, w as _0e, x as w0e, az as S0e, aA as C0e, aB as T0e, aD as D0e, ac as A0e, Y as M0e, aF as E0e, aG as L0e, aH as N0e, h as I0e } from "./useDataCollectionSource-
|
|
9
|
+
import { C as JH, y as eW, b as Fk, W as jb, X as zk, al as Gk, Z as Hk, aj as tW, _ as rW, a0 as Wk, a1 as Ww, am as nW, an as Uw, ae as iW, ao as aW, ap as oW, e as Pg, aq as sW, R as $w, u as Yw, $ as Uk, O as Xw, ar as lW, as as $k, i as Gu, m as Hu, p as md, at as qw, z as uW, j as cW, a9 as Yk, a4 as Xk, au as fW, av as dW, aw as hW, ax as vW, ay as pW, M as gW } from "./useDataCollectionSource-q6ZqmOeN.js";
|
|
10
|
+
import { E as r0e, G as n0e, H as i0e, Q as a0e, aE as o0e, F as s0e, aC as l0e, ak as u0e, I as c0e, ag as f0e, ah as d0e, af as h0e, ai as v0e, J as p0e, P as g0e, N as m0e, T as y0e, K as b0e, U as x0e, w as _0e, x as w0e, az as S0e, aA as C0e, aB as T0e, aD as D0e, ac as A0e, Y as M0e, aF as E0e, aG as L0e, aH as N0e, h as I0e } from "./useDataCollectionSource-q6ZqmOeN.js";
|
|
11
11
|
import { utils as fu, write as qk } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as R0e } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const mW = {
|
|
@@ -52789,10 +52789,11 @@ function QY({
|
|
|
52789
52789
|
}
|
|
52790
52790
|
function ZY({
|
|
52791
52791
|
editableColumn: t,
|
|
52792
|
-
item: e
|
|
52792
|
+
item: e,
|
|
52793
|
+
hint: n
|
|
52793
52794
|
}) {
|
|
52794
|
-
const
|
|
52795
|
-
return /* @__PURE__ */ p(Fs, { borderOnHover: !1, children: /* @__PURE__ */ p(
|
|
52795
|
+
const i = Ne();
|
|
52796
|
+
return /* @__PURE__ */ p(Fs, { borderOnHover: !1, hint: n, children: /* @__PURE__ */ p(
|
|
52796
52797
|
"div",
|
|
52797
52798
|
{
|
|
52798
52799
|
className: D(
|
|
@@ -52801,17 +52802,18 @@ function ZY({
|
|
|
52801
52802
|
"bg-f1-background-disabled h-full",
|
|
52802
52803
|
"cursor-pointer w-full"
|
|
52803
52804
|
),
|
|
52804
|
-
children: Nd(e, t, "editableTable",
|
|
52805
|
+
children: Nd(e, t, "editableTable", i)
|
|
52805
52806
|
}
|
|
52806
52807
|
) });
|
|
52807
52808
|
}
|
|
52808
52809
|
function pC({
|
|
52809
52810
|
editableColumn: t,
|
|
52810
52811
|
item: e,
|
|
52811
|
-
isLastColumn: n
|
|
52812
|
+
isLastColumn: n,
|
|
52813
|
+
hint: i
|
|
52812
52814
|
}) {
|
|
52813
|
-
const
|
|
52814
|
-
return /* @__PURE__ */ p(Fs, { showRightBorder: !n, borderOnHover: !1, children: /* @__PURE__ */ p(
|
|
52815
|
+
const r = Ne();
|
|
52816
|
+
return /* @__PURE__ */ p(Fs, { showRightBorder: !n, borderOnHover: !1, hint: i, children: /* @__PURE__ */ p(
|
|
52815
52817
|
"div",
|
|
52816
52818
|
{
|
|
52817
52819
|
className: D(
|
|
@@ -52819,7 +52821,7 @@ function pC({
|
|
|
52819
52821
|
"cursor-pointer items-center px-3",
|
|
52820
52822
|
t.align === "right" && "justify-end"
|
|
52821
52823
|
),
|
|
52822
|
-
children: Nd(e, t, "editableTable",
|
|
52824
|
+
children: Nd(e, t, "editableTable", r)
|
|
52823
52825
|
}
|
|
52824
52826
|
) });
|
|
52825
52827
|
}
|