@factorialco/f0-react 6.1.0 → 6.2.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/{ChatPdfThumbnail-BQYptujt.js → ChatPdfThumbnail-CzuQkZFw.js} +1 -1
- package/dist/{DocumentToolbar-DfMuLukk.js → DocumentToolbar-B0KTHS3c.js} +2 -2
- package/dist/{DocxViewer-RgxfFMad.js → DocxViewer-DXlFZ0a5.js} +2 -2
- package/dist/{F0AiProcessingOverlay-B3LzHI-c.js → F0AiProcessingOverlay-Dk7GnQns.js} +1 -1
- package/dist/{F0CanvasPanel-W66eCV0Y.js → F0CanvasPanel-o1LTTwSF.js} +17726 -17668
- package/dist/{F0VideoPlayer-KHOq_pHC.js → F0VideoPlayer-CYF7DmfJ.js} +1 -1
- package/dist/{SheetViewer-Bjqi9Lp-.js → SheetViewer-CVodG8W5.js} +2 -2
- package/dist/{TextViewer-8_RPl1ax.js → TextViewer-BUphAgy-.js} +2 -2
- package/dist/ai.d.ts +18 -5
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +18 -5
- package/dist/experimental.js +7 -7
- package/dist/f0.d.ts +125 -9
- package/dist/f0.js +12393 -12171
- package/dist/i18n-provider-defaults.d.ts +8 -0
- package/dist/i18n-provider-defaults.js +8 -0
- package/dist/index-BZ75fcLT.js +4 -0
- package/dist/{index-DzNPlwUX.js → index-C6WEXI8t.js} +3 -3
- package/dist/{index-DU8BTxcj.js → index-I-IS7yrG.js} +1 -1
- package/dist/{pdfWorker-Dvf-df0z.js → pdfWorker-CsC1I-6y.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-BBUAtI0e.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -3908,6 +3908,14 @@ declare const defaultTranslations: {
|
|
|
3908
3908
|
readonly title: "No data available";
|
|
3909
3909
|
readonly description: "Try a different date or fewer filters";
|
|
3910
3910
|
};
|
|
3911
|
+
readonly tooltip: {
|
|
3912
|
+
readonly ofTotal: "of total";
|
|
3913
|
+
readonly total: "total";
|
|
3914
|
+
readonly target: "target";
|
|
3915
|
+
readonly ofRange: "of range";
|
|
3916
|
+
readonly fromPrevious: "from previous";
|
|
3917
|
+
readonly fromStage: "from {{stage}}";
|
|
3918
|
+
};
|
|
3911
3919
|
};
|
|
3912
3920
|
readonly progressSeries: {
|
|
3913
3921
|
readonly noData: "No data";
|
|
@@ -4902,11 +4910,16 @@ declare type F0AvatarListProps = {
|
|
|
4902
4910
|
*/
|
|
4903
4911
|
layout?: "fill" | "compact";
|
|
4904
4912
|
/**
|
|
4905
|
-
*
|
|
4906
|
-
*
|
|
4907
|
-
*
|
|
4908
|
-
*
|
|
4909
|
-
*
|
|
4913
|
+
* @deprecated No longer has any effect. The `+N` popover now always caps at
|
|
4914
|
+
* the available viewport height and scrolls, and that scrolling is reachable
|
|
4915
|
+
* by keyboard — neither of the old values is worth selecting. `"vertical"`
|
|
4916
|
+
* used to cap and scroll inside a hover card, where Radix strips every tab
|
|
4917
|
+
* stop on each render, so no keyboard user could operate the scroll (axe
|
|
4918
|
+
* `scrollable-region-focusable`, WCAG 2.1.1); `"none"` avoided that by
|
|
4919
|
+
* letting the card grow without limit, off the screen for a large cluster.
|
|
4920
|
+
* @removeIn 5.0
|
|
4921
|
+
* @migration Remove the prop. The current behaviour is what `"vertical"`
|
|
4922
|
+
* always intended, minus the accessibility defect.
|
|
4910
4923
|
*/
|
|
4911
4924
|
tooltipScroll?: "vertical" | "none";
|
|
4912
4925
|
} & F0AvatarListPropsAvatars;
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { W as mc, X as yi, Y as hc, Z as pc, _ as gc, $ as bc, a0 as vc, a1 as wi, a2 as qn, a3 as Nn, a4 as xc, a5 as he, a6 as jt, u as se, a7 as yc, a8 as wc, a9 as Fo, aa as dr, ab as En, ac as Ye, ad as Nc, ae as Cc, U as ye, z as Ic, A as kc, af as Ne, ag as Ma, J as Sc, B as Tc, m as Ae, ah as Cr, S as te, ai as rn, aj as Rc, ak as Ec, al as Lc, am as zc, an as Ac, ao as xt, ap as Oa, aq as Da, ar as on, as as $t, at as Fc, e as Ba, au as tn, av as _a, aw as Bn, w as nt, r as $e, y as ur, t as Po, v as Mo, ax as Ut, ay as fr, az as $a, x as Oo, aA as Ha, aB as Pc, aC as Wa, aD as Ge, s as rt, aE as Do, aF as Ur, aG as Ir, aH as Ni, aI as Mc, aJ as it, aK as ja, aL as lo, aM as _n, aN as $n, aO as Oc, aP as Dc, aQ as Ht, aR as kr, aS as Bc, aT as _c, aU as $c, aV as Hc, aW as Sr, aX as Ua, j as Va, aY as Wc, aZ as jc, k as mr, a_ as Ga, a$ as Uc, b0 as Vc, b1 as Gc, b2 as Kc, b3 as qc, b4 as co, b5 as Ka, b6 as qa, b7 as Yc, b8 as Xc, b9 as Jc, ba as Ya, bb as Qc, bc as uo, bd as Xa, be as Zc, bf as Tr, bg as Ci, bh as ed, bi as td, bj as nd, bk as vn, bl as rd, bm as od, bn as kn, bo as Ii, bp as fo, bq as id, br as ad, b as Ja, bs as sd, a as ld, bt as Rr, bu as cd, g as dd, F as ud, bv as Qa, bw as fd, o as Bo, bx as md, by as _o, bz as an, H as hd, bA as pd, bB as gd, bC as bd, bD as Za, bE as vd, bF as xd, bG as yd, bH as mo, bI as wd, bJ as Nd, bK as Cd, bL as Id, bM as kd, bN as Sd, bO as Td, bP as ho, l as Er, bQ as $o, N as po, O as go, bR as Rd, bS as Ed, bT as Ld, bU as es, bV as ts, bW as ns, bX as zd, bY as Ad, bZ as Fd, b_ as Pd, b$ as Md, c0 as rs, c1 as Od, c2 as Dd, c3 as os, c4 as Bd, c5 as _d, c6 as $d, n as Hd, c7 as Wd, c8 as is, Q as jd, R as Ud, c9 as as, ca as ss, cb as ls, cc as Vd, cd as ki, ce as cs, cf as Gd, cg as Kd, ch as qd, ci as Yd, cj as Xd, ck as Jd, cl as Qd, cm as Zd, cn as eu, co as Mt, cp as Ho, cq as Wo, cr as ds, cs as jo, ct as us, cu as fs, cv as tu, cw as nu, cx as ru, cy as ou, cz as iu, cA as au, cB as su, cC as Si, cD as lu, cE as cu, cF as Ti, cG as du, cH as uu, cI as fu, cJ as mu, cK as ms, cL as hu, cM as pu } from "./F0CanvasPanel-
|
|
2
|
-
import { cX as l1, cW as c1, d7 as d1, cT as u1, cU as f1, cN as m1, cO as h1, cO as p1, cP as g1, cQ as b1, da as v1, cV as x1, d3 as y1, d4 as w1, d8 as N1, cR as C1, cZ as I1, cY as k1, T as S1, h as T1, d5 as R1, db as E1, d6 as L1, d9 as z1, d2 as A1, c$ as F1, d1 as P1, c_ as M1, cS as O1, d0 as D1 } from "./F0CanvasPanel-
|
|
1
|
+
import { W as mc, X as yi, Y as hc, Z as pc, _ as gc, $ as bc, a0 as vc, a1 as wi, a2 as qn, a3 as Nn, a4 as xc, a5 as he, a6 as jt, u as se, a7 as yc, a8 as wc, a9 as Fo, aa as dr, ab as En, ac as Ye, ad as Nc, ae as Cc, U as ye, z as Ic, A as kc, af as Ne, ag as Ma, J as Sc, B as Tc, m as Ae, ah as Cr, S as te, ai as rn, aj as Rc, ak as Ec, al as Lc, am as zc, an as Ac, ao as xt, ap as Oa, aq as Da, ar as on, as as $t, at as Fc, e as Ba, au as tn, av as _a, aw as Bn, w as nt, r as $e, y as ur, t as Po, v as Mo, ax as Ut, ay as fr, az as $a, x as Oo, aA as Ha, aB as Pc, aC as Wa, aD as Ge, s as rt, aE as Do, aF as Ur, aG as Ir, aH as Ni, aI as Mc, aJ as it, aK as ja, aL as lo, aM as _n, aN as $n, aO as Oc, aP as Dc, aQ as Ht, aR as kr, aS as Bc, aT as _c, aU as $c, aV as Hc, aW as Sr, aX as Ua, j as Va, aY as Wc, aZ as jc, k as mr, a_ as Ga, a$ as Uc, b0 as Vc, b1 as Gc, b2 as Kc, b3 as qc, b4 as co, b5 as Ka, b6 as qa, b7 as Yc, b8 as Xc, b9 as Jc, ba as Ya, bb as Qc, bc as uo, bd as Xa, be as Zc, bf as Tr, bg as Ci, bh as ed, bi as td, bj as nd, bk as vn, bl as rd, bm as od, bn as kn, bo as Ii, bp as fo, bq as id, br as ad, b as Ja, bs as sd, a as ld, bt as Rr, bu as cd, g as dd, F as ud, bv as Qa, bw as fd, o as Bo, bx as md, by as _o, bz as an, H as hd, bA as pd, bB as gd, bC as bd, bD as Za, bE as vd, bF as xd, bG as yd, bH as mo, bI as wd, bJ as Nd, bK as Cd, bL as Id, bM as kd, bN as Sd, bO as Td, bP as ho, l as Er, bQ as $o, N as po, O as go, bR as Rd, bS as Ed, bT as Ld, bU as es, bV as ts, bW as ns, bX as zd, bY as Ad, bZ as Fd, b_ as Pd, b$ as Md, c0 as rs, c1 as Od, c2 as Dd, c3 as os, c4 as Bd, c5 as _d, c6 as $d, n as Hd, c7 as Wd, c8 as is, Q as jd, R as Ud, c9 as as, ca as ss, cb as ls, cc as Vd, cd as ki, ce as cs, cf as Gd, cg as Kd, ch as qd, ci as Yd, cj as Xd, ck as Jd, cl as Qd, cm as Zd, cn as eu, co as Mt, cp as Ho, cq as Wo, cr as ds, cs as jo, ct as us, cu as fs, cv as tu, cw as nu, cx as ru, cy as ou, cz as iu, cA as au, cB as su, cC as Si, cD as lu, cE as cu, cF as Ti, cG as du, cH as uu, cI as fu, cJ as mu, cK as ms, cL as hu, cM as pu } from "./F0CanvasPanel-o1LTTwSF.js";
|
|
2
|
+
import { cX as l1, cW as c1, d7 as d1, cT as u1, cU as f1, cN as m1, cO as h1, cO as p1, cP as g1, cQ as b1, da as v1, cV as x1, d3 as y1, d4 as w1, d8 as N1, cR as C1, cZ as I1, cY as k1, T as S1, h as T1, d5 as R1, db as E1, d6 as L1, d9 as z1, d2 as A1, c$ as F1, d1 as P1, c_ as M1, cS as O1, d0 as D1 } from "./F0CanvasPanel-o1LTTwSF.js";
|
|
3
3
|
import { jsx as n, jsxs as h, Fragment as Fe } from "react/jsx-runtime";
|
|
4
4
|
import Y, { forwardRef as Oe, useRef as O, useTransition as gu, useState as B, useLayoutEffect as Hn, useId as Ln, useContext as zt, createContext as ht, useEffect as q, useCallback as U, useMemo as de, Fragment as _t, isValidElement as bu, cloneElement as hs, Suspense as Lr, lazy as sn, createElement as or, memo as ps, Children as gs } from "react";
|
|
5
5
|
import { d as k, T as vu, a as xu, b as yu, f as qe, c as wu, u as Nu } from "./tooltip-Cik7KBQT.js";
|
|
6
|
-
import { C as Cu, P as Iu, E as ku, a as Uo, b as Wn, M as Su, p as Tu, c as Ru, R as Ri, e as bs, u as Eu, f as Lu, g as zu, h as Au, i as Fu, j as Pu, O as vs, k as xs, S as Mu, A as Ou, B as Du, L as Bu, l as _u, V as $u, m as Hu, n as Wu, o as ju } from "./index-
|
|
7
|
-
import { a5 as _1, a6 as $1, v as H1, w as W1, s as j1, N as U1, x as V1, H as G1, ag as K1, K as q1, t as Y1, a3 as X1, ai as J1, ah as Q1, X as Z1, al as ey, F as ty, a0 as ny, Z as ry, T as oy, an as iy, U as ay, a1 as sy, a2 as ly, y as cy, aj as dy, ak as uy, W as fy, a4 as my, ad as hy, af as py, z as gy, G as by, I as vy, _ as xy, am as yy, $ as wy, Y as Ny, ao as Cy, D as Iy, J as ky, q as Sy, r as Ty, a9 as Ry, aa as Ey, a7 as Ly, ae as zy, Q as Ay, ab as Fy, a8 as Py, ac as My } from "./index-
|
|
6
|
+
import { C as Cu, P as Iu, E as ku, a as Uo, b as Wn, M as Su, p as Tu, c as Ru, R as Ri, e as bs, u as Eu, f as Lu, g as zu, h as Au, i as Fu, j as Pu, O as vs, k as xs, S as Mu, A as Ou, B as Du, L as Bu, l as _u, V as $u, m as Hu, n as Wu, o as ju } from "./index-I-IS7yrG.js";
|
|
7
|
+
import { a5 as _1, a6 as $1, v as H1, w as W1, s as j1, N as U1, x as V1, H as G1, ag as K1, K as q1, t as Y1, a3 as X1, ai as J1, ah as Q1, X as Z1, al as ey, F as ty, a0 as ny, Z as ry, T as oy, an as iy, U as ay, a1 as sy, a2 as ly, y as cy, aj as dy, ak as uy, W as fy, a4 as my, ad as hy, af as py, z as gy, G as by, I as vy, _ as xy, am as yy, $ as wy, Y as Ny, ao as Cy, D as Iy, J as ky, q as Sy, r as Ty, a9 as Ry, aa as Ey, a7 as Ly, ae as zy, Q as Ay, ab as Fy, a8 as Py, ac as My } from "./index-I-IS7yrG.js";
|
|
8
8
|
import Uu from "react-dom";
|
|
9
9
|
const Vu = mc("Search", [
|
|
10
10
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
@@ -7911,7 +7911,7 @@ const ul = () => Vt(rl, "useChatJump"), Zh = () => Vt(ol, "useChatHighlightedId"
|
|
|
7911
7911
|
}, Mr = (e, t) => {
|
|
7912
7912
|
const r = document.createElement("a");
|
|
7913
7913
|
r.href = e, r.download = t, r.rel = "noreferrer", r.click();
|
|
7914
|
-
}, rp = sn(() => import("./ChatPdfThumbnail-
|
|
7914
|
+
}, rp = sn(() => import("./ChatPdfThumbnail-CzuQkZFw.js")), op = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), ip = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), ap = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), sp = 288, lp = 160, cp = (e) => {
|
|
7915
7915
|
const [t, r] = B(!1);
|
|
7916
7916
|
return q(() => {
|
|
7917
7917
|
const o = e.current;
|
|
@@ -9954,7 +9954,7 @@ const Tp = {
|
|
|
9954
9954
|
] })
|
|
9955
9955
|
] }) });
|
|
9956
9956
|
}, _p = sn(
|
|
9957
|
-
() => import("./index-
|
|
9957
|
+
() => import("./index-C6WEXI8t.js").then((e) => e.i).then((e) => ({
|
|
9958
9958
|
default: e.F0PdfViewer
|
|
9959
9959
|
}))
|
|
9960
9960
|
), $p = () => {
|
|
@@ -14231,7 +14231,7 @@ const Lb = (e) => {
|
|
|
14231
14231
|
)
|
|
14232
14232
|
] });
|
|
14233
14233
|
}, Hb = sn(
|
|
14234
|
-
() => import("./index-
|
|
14234
|
+
() => import("./index-BZ75fcLT.js").then((e) => ({
|
|
14235
14235
|
default: e.F0VideoPlayer
|
|
14236
14236
|
}))
|
|
14237
14237
|
), Wb = ({
|
package/dist/f0.d.ts
CHANGED
|
@@ -2695,10 +2695,19 @@ declare interface ChartConfigBase {
|
|
|
2695
2695
|
showLegend?: boolean;
|
|
2696
2696
|
/** Show background grid lines. @default true */
|
|
2697
2697
|
showGrid?: boolean;
|
|
2698
|
-
/**
|
|
2698
|
+
/**
|
|
2699
|
+
* Show value labels on each data point.
|
|
2700
|
+
* @default true for bar charts, false otherwise
|
|
2701
|
+
*/
|
|
2699
2702
|
showLabels?: boolean;
|
|
2700
2703
|
/** Format the value axis tick labels */
|
|
2701
2704
|
valueFormatter?: (value: number) => string;
|
|
2705
|
+
/**
|
|
2706
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
2707
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
2708
|
+
* while the tooltip carries the exact figure.
|
|
2709
|
+
*/
|
|
2710
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
2702
2711
|
/** Format category axis tick labels */
|
|
2703
2712
|
categoryFormatter?: (value: string) => string;
|
|
2704
2713
|
}
|
|
@@ -2745,8 +2754,27 @@ declare interface ChartThemeColors {
|
|
|
2745
2754
|
border: string;
|
|
2746
2755
|
/** Tooltip background color (CSS rgba string) */
|
|
2747
2756
|
tooltipBackground: string;
|
|
2748
|
-
/**
|
|
2757
|
+
/** Page-level background token for the active mode */
|
|
2749
2758
|
background: string;
|
|
2759
|
+
/**
|
|
2760
|
+
* The color actually painted behind the chart — the nearest ancestor with a
|
|
2761
|
+
* non-transparent background, falling back to {@link background}. Use this
|
|
2762
|
+
* when a chart needs to blend into its own surface (a tinted card, a modal)
|
|
2763
|
+
* rather than into the page.
|
|
2764
|
+
*
|
|
2765
|
+
* Always set by {@link resolveChartTheme}; optional only so that themes built
|
|
2766
|
+
* by hand (test fixtures, consumer overrides) keep compiling — read it as
|
|
2767
|
+
* `containerBackground ?? background`.
|
|
2768
|
+
*/
|
|
2769
|
+
containerBackground?: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* Positive delta text (e.g. tooltip "+x% from previous"). Resolves from
|
|
2772
|
+
* --positive-70. Optional so a hand-built theme stays valid — tooltip rows
|
|
2773
|
+
* fall back to `foreground` when it is absent.
|
|
2774
|
+
*/
|
|
2775
|
+
positive?: string;
|
|
2776
|
+
/** Negative delta text. Resolves from --critical-70. Optional, as `positive`. */
|
|
2777
|
+
critical?: string;
|
|
2750
2778
|
}
|
|
2751
2779
|
|
|
2752
2780
|
/** Typography configuration */
|
|
@@ -5168,6 +5196,14 @@ export declare const defaultTranslations: {
|
|
|
5168
5196
|
readonly title: "No data available";
|
|
5169
5197
|
readonly description: "Try a different date or fewer filters";
|
|
5170
5198
|
};
|
|
5199
|
+
readonly tooltip: {
|
|
5200
|
+
readonly ofTotal: "of total";
|
|
5201
|
+
readonly total: "total";
|
|
5202
|
+
readonly target: "target";
|
|
5203
|
+
readonly ofRange: "of range";
|
|
5204
|
+
readonly fromPrevious: "from previous";
|
|
5205
|
+
readonly fromStage: "from {{stage}}";
|
|
5206
|
+
};
|
|
5171
5207
|
};
|
|
5172
5208
|
readonly progressSeries: {
|
|
5173
5209
|
readonly noData: "No data";
|
|
@@ -7505,11 +7541,16 @@ export declare type F0AvatarListProps = {
|
|
|
7505
7541
|
*/
|
|
7506
7542
|
layout?: "fill" | "compact";
|
|
7507
7543
|
/**
|
|
7508
|
-
*
|
|
7509
|
-
*
|
|
7510
|
-
*
|
|
7511
|
-
*
|
|
7512
|
-
*
|
|
7544
|
+
* @deprecated No longer has any effect. The `+N` popover now always caps at
|
|
7545
|
+
* the available viewport height and scrolls, and that scrolling is reachable
|
|
7546
|
+
* by keyboard — neither of the old values is worth selecting. `"vertical"`
|
|
7547
|
+
* used to cap and scroll inside a hover card, where Radix strips every tab
|
|
7548
|
+
* stop on each render, so no keyboard user could operate the scroll (axe
|
|
7549
|
+
* `scrollable-region-focusable`, WCAG 2.1.1); `"none"` avoided that by
|
|
7550
|
+
* letting the card grow without limit, off the screen for a large cluster.
|
|
7551
|
+
* @removeIn 5.0
|
|
7552
|
+
* @migration Remove the prop. The current behaviour is what `"vertical"`
|
|
7553
|
+
* always intended, minus the accessibility defect.
|
|
7513
7554
|
*/
|
|
7514
7555
|
tooltipScroll?: "vertical" | "none";
|
|
7515
7556
|
} & F0AvatarListPropsAvatars;
|
|
@@ -8386,8 +8427,10 @@ export declare interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
|
8386
8427
|
labelFontSize?: number;
|
|
8387
8428
|
/**
|
|
8388
8429
|
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
8389
|
-
* {@link F0DataChartBaseProps.valueFormatter}
|
|
8390
|
-
*
|
|
8430
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
8431
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
8432
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
8433
|
+
* ("107,505").
|
|
8391
8434
|
*/
|
|
8392
8435
|
tooltipValueFormatter?: (value: number) => string;
|
|
8393
8436
|
}
|
|
@@ -8497,6 +8540,13 @@ export declare interface F0DataChartFunnelProps extends F0DataChartCommonProps {
|
|
|
8497
8540
|
showConversion?: boolean;
|
|
8498
8541
|
/** Format the value displayed in labels and tooltip */
|
|
8499
8542
|
valueFormatter?: (value: number) => string;
|
|
8543
|
+
/**
|
|
8544
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8545
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8546
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8547
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8548
|
+
*/
|
|
8549
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8500
8550
|
/**
|
|
8501
8551
|
* Map stage colors to their values using a gradient scale (light→dark).
|
|
8502
8552
|
* When enabled, higher values get a more intense color. @default true
|
|
@@ -8540,6 +8590,13 @@ export declare interface F0DataChartGaugeProps extends F0DataChartCommonProps {
|
|
|
8540
8590
|
showValue?: boolean;
|
|
8541
8591
|
/** Format the value displayed */
|
|
8542
8592
|
valueFormatter?: (value: number) => string;
|
|
8593
|
+
/**
|
|
8594
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8595
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8596
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8597
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8598
|
+
*/
|
|
8599
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8543
8600
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8544
8601
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8545
8602
|
}
|
|
@@ -8570,6 +8627,13 @@ export declare interface F0DataChartHeatmapProps extends F0DataChartCommonProps
|
|
|
8570
8627
|
showVisualMap?: boolean;
|
|
8571
8628
|
/** Format values in labels and tooltip */
|
|
8572
8629
|
valueFormatter?: (value: number) => string;
|
|
8630
|
+
/**
|
|
8631
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8632
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8633
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8634
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8635
|
+
*/
|
|
8636
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8573
8637
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8574
8638
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8575
8639
|
}
|
|
@@ -8596,6 +8660,14 @@ export declare interface F0DataChartLineProps extends F0DataChartBaseProps {
|
|
|
8596
8660
|
showArea?: boolean;
|
|
8597
8661
|
/** Show data point dots on the lines. @default false */
|
|
8598
8662
|
showDots?: boolean;
|
|
8663
|
+
/**
|
|
8664
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
8665
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
8666
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
8667
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
8668
|
+
* ("107,505").
|
|
8669
|
+
*/
|
|
8670
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8599
8671
|
}
|
|
8600
8672
|
|
|
8601
8673
|
/**
|
|
@@ -8652,6 +8724,13 @@ export declare interface F0DataChartPieProps extends F0DataChartCommonProps {
|
|
|
8652
8724
|
showPercentage?: boolean;
|
|
8653
8725
|
/** Format the value displayed in labels and tooltip */
|
|
8654
8726
|
valueFormatter?: (value: number) => string;
|
|
8727
|
+
/**
|
|
8728
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8729
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8730
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8731
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8732
|
+
*/
|
|
8733
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8655
8734
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8656
8735
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8657
8736
|
}
|
|
@@ -8706,6 +8785,13 @@ export declare interface F0DataChartRadarProps extends F0DataChartCommonProps {
|
|
|
8706
8785
|
showLabels?: boolean;
|
|
8707
8786
|
/** Format values in labels and tooltip */
|
|
8708
8787
|
valueFormatter?: (value: number) => string;
|
|
8788
|
+
/**
|
|
8789
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8790
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8791
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8792
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8793
|
+
*/
|
|
8794
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8709
8795
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8710
8796
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8711
8797
|
}
|
|
@@ -12806,6 +12892,12 @@ export declare interface FunnelChartConfig {
|
|
|
12806
12892
|
colorScale?: boolean;
|
|
12807
12893
|
/** Format the value displayed in labels and tooltip */
|
|
12808
12894
|
valueFormatter?: (value: number) => string;
|
|
12895
|
+
/**
|
|
12896
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
12897
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
12898
|
+
* while the tooltip carries the exact figure.
|
|
12899
|
+
*/
|
|
12900
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12809
12901
|
}
|
|
12810
12902
|
|
|
12811
12903
|
/**
|
|
@@ -12859,6 +12951,12 @@ export declare interface GaugeChartConfig {
|
|
|
12859
12951
|
showValue?: boolean;
|
|
12860
12952
|
/** Format the value displayed inside the gauge */
|
|
12861
12953
|
valueFormatter?: (value: number) => string;
|
|
12954
|
+
/**
|
|
12955
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
12956
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
12957
|
+
* while the tooltip carries the exact figure.
|
|
12958
|
+
*/
|
|
12959
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12862
12960
|
}
|
|
12863
12961
|
|
|
12864
12962
|
/**
|
|
@@ -13349,6 +13447,12 @@ export declare interface HeatmapChartConfig {
|
|
|
13349
13447
|
showVisualMap?: boolean;
|
|
13350
13448
|
/** Format the value displayed in cells and tooltip */
|
|
13351
13449
|
valueFormatter?: (value: number) => string;
|
|
13450
|
+
/**
|
|
13451
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
13452
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
13453
|
+
* while the tooltip carries the exact figure.
|
|
13454
|
+
*/
|
|
13455
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
13352
13456
|
}
|
|
13353
13457
|
|
|
13354
13458
|
/**
|
|
@@ -15325,6 +15429,12 @@ export declare interface PieChartConfig {
|
|
|
15325
15429
|
showPercentage?: boolean;
|
|
15326
15430
|
/** Format the value displayed in labels and tooltip */
|
|
15327
15431
|
valueFormatter?: (value: number) => string;
|
|
15432
|
+
/**
|
|
15433
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
15434
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
15435
|
+
* while the tooltip carries the exact figure.
|
|
15436
|
+
*/
|
|
15437
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
15328
15438
|
}
|
|
15329
15439
|
|
|
15330
15440
|
/**
|
|
@@ -15735,6 +15845,12 @@ export declare interface RadarChartConfig {
|
|
|
15735
15845
|
showLabels?: boolean;
|
|
15736
15846
|
/** Format the value displayed in labels and tooltip */
|
|
15737
15847
|
valueFormatter?: (value: number) => string;
|
|
15848
|
+
/**
|
|
15849
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
15850
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
15851
|
+
* while the tooltip carries the exact figure.
|
|
15852
|
+
*/
|
|
15853
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
15738
15854
|
}
|
|
15739
15855
|
|
|
15740
15856
|
/**
|