@factorialco/f0-react 6.0.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPdfThumbnail-BQYptujt.js → ChatPdfThumbnail-DpcaTJ7y.js} +1 -1
- package/dist/{DocumentToolbar-DfMuLukk.js → DocumentToolbar-BBAm28KQ.js} +2 -2
- package/dist/{DocxViewer-RgxfFMad.js → DocxViewer-CjYrHEOR.js} +2 -2
- package/dist/{F0AiProcessingOverlay-B3LzHI-c.js → F0AiProcessingOverlay-DTie2_f2.js} +1 -1
- package/dist/{F0CanvasPanel-W66eCV0Y.js → F0CanvasPanel-wwIjnpaw.js} +15900 -15887
- package/dist/{F0VideoPlayer-KHOq_pHC.js → F0VideoPlayer-at2_vX20.js} +1 -1
- package/dist/{SheetViewer-Bjqi9Lp-.js → SheetViewer-CcI7vrZI.js} +2 -2
- package/dist/{TextViewer-8_RPl1ax.js → TextViewer-DmHtKCo2.js} +2 -2
- package/dist/ai.d.ts +20 -12
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +12 -12
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +20 -12
- package/dist/experimental.js +7 -7
- package/dist/f0.d.ts +134 -19
- package/dist/f0.js +13348 -13152
- package/dist/i18n-provider-defaults.d.ts +20 -12
- package/dist/i18n-provider-defaults.js +8 -0
- package/dist/{index-DzNPlwUX.js → index-BHEoqrq3.js} +3 -3
- package/dist/index-Bs1YsLbk.js +4 -0
- package/dist/{index-DU8BTxcj.js → index-DBnT4nT6.js} +1 -1
- package/dist/{pdfWorker-Dvf-df0z.js → pdfWorker-D5SwKD_E.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";
|
|
@@ -11950,16 +11958,6 @@ declare module "@tiptap/core" {
|
|
|
11950
11958
|
}
|
|
11951
11959
|
|
|
11952
11960
|
|
|
11953
|
-
declare module "@tiptap/core" {
|
|
11954
|
-
interface Commands<ReturnType> {
|
|
11955
|
-
fontSize: {
|
|
11956
|
-
setFontSize: (fontSize: string) => ReturnType;
|
|
11957
|
-
unsetFontSize: () => ReturnType;
|
|
11958
|
-
};
|
|
11959
|
-
}
|
|
11960
|
-
}
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
11961
|
declare module "@tiptap/core" {
|
|
11964
11962
|
interface Commands<ReturnType> {
|
|
11965
11963
|
enhanceHighlight: {
|
|
@@ -11974,8 +11972,9 @@ declare module "@tiptap/core" {
|
|
|
11974
11972
|
|
|
11975
11973
|
declare module "@tiptap/core" {
|
|
11976
11974
|
interface Commands<ReturnType> {
|
|
11977
|
-
|
|
11978
|
-
|
|
11975
|
+
fontSize: {
|
|
11976
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
11977
|
+
unsetFontSize: () => ReturnType;
|
|
11979
11978
|
};
|
|
11980
11979
|
}
|
|
11981
11980
|
}
|
|
@@ -11992,6 +11991,15 @@ declare module "@tiptap/core" {
|
|
|
11992
11991
|
}
|
|
11993
11992
|
|
|
11994
11993
|
|
|
11994
|
+
declare module "@tiptap/core" {
|
|
11995
|
+
interface Commands<ReturnType> {
|
|
11996
|
+
moodTracker: {
|
|
11997
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
11998
|
+
};
|
|
11999
|
+
}
|
|
12000
|
+
}
|
|
12001
|
+
|
|
12002
|
+
|
|
11995
12003
|
declare module "@tiptap/core" {
|
|
11996
12004
|
interface Commands<ReturnType> {
|
|
11997
12005
|
transcript: {
|
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-wwIjnpaw.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-wwIjnpaw.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-DBnT4nT6.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-DBnT4nT6.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-DpcaTJ7y.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-BHEoqrq3.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-Bs1YsLbk.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 */
|
|
@@ -3880,11 +3908,15 @@ declare type DataAttributes_2 = {
|
|
|
3880
3908
|
* + render-prop) into rendered output. Used internally by `F0DataChart` and
|
|
3881
3909
|
* reused by dashboard wrappers when data is absent.
|
|
3882
3910
|
*/
|
|
3883
|
-
export declare const DataChartEmptyStateView: ({
|
|
3911
|
+
export declare const DataChartEmptyStateView: ({ emptyState, }: DataChartEmptyStateViewProps) => JSX_2.Element;
|
|
3884
3912
|
|
|
3885
3913
|
declare interface DataChartEmptyStateViewProps {
|
|
3886
|
-
/**
|
|
3887
|
-
|
|
3914
|
+
/**
|
|
3915
|
+
* @deprecated No longer used — the empty state renders text only. Remove the prop.
|
|
3916
|
+
* @removeIn 5.0.0
|
|
3917
|
+
* @migration https://github.com/factorialco/f0/blob/main/packages/react/docs/migrations/f0-datachart-emptystate-charttype-removal.md
|
|
3918
|
+
*/
|
|
3919
|
+
chartType?: F0DataChartProps["type"];
|
|
3888
3920
|
emptyState?: F0DataChartEmptyStateProps;
|
|
3889
3921
|
}
|
|
3890
3922
|
|
|
@@ -5164,6 +5196,14 @@ export declare const defaultTranslations: {
|
|
|
5164
5196
|
readonly title: "No data available";
|
|
5165
5197
|
readonly description: "Try a different date or fewer filters";
|
|
5166
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
|
+
};
|
|
5167
5207
|
};
|
|
5168
5208
|
readonly progressSeries: {
|
|
5169
5209
|
readonly noData: "No data";
|
|
@@ -8382,8 +8422,10 @@ export declare interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
|
8382
8422
|
labelFontSize?: number;
|
|
8383
8423
|
/**
|
|
8384
8424
|
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
8385
|
-
* {@link F0DataChartBaseProps.valueFormatter}
|
|
8386
|
-
*
|
|
8425
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
8426
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
8427
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
8428
|
+
* ("107,505").
|
|
8387
8429
|
*/
|
|
8388
8430
|
tooltipValueFormatter?: (value: number) => string;
|
|
8389
8431
|
}
|
|
@@ -8493,6 +8535,13 @@ export declare interface F0DataChartFunnelProps extends F0DataChartCommonProps {
|
|
|
8493
8535
|
showConversion?: boolean;
|
|
8494
8536
|
/** Format the value displayed in labels and tooltip */
|
|
8495
8537
|
valueFormatter?: (value: number) => string;
|
|
8538
|
+
/**
|
|
8539
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8540
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8541
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8542
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8543
|
+
*/
|
|
8544
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8496
8545
|
/**
|
|
8497
8546
|
* Map stage colors to their values using a gradient scale (light→dark).
|
|
8498
8547
|
* When enabled, higher values get a more intense color. @default true
|
|
@@ -8536,6 +8585,13 @@ export declare interface F0DataChartGaugeProps extends F0DataChartCommonProps {
|
|
|
8536
8585
|
showValue?: boolean;
|
|
8537
8586
|
/** Format the value displayed */
|
|
8538
8587
|
valueFormatter?: (value: number) => string;
|
|
8588
|
+
/**
|
|
8589
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8590
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8591
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8592
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8593
|
+
*/
|
|
8594
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8539
8595
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8540
8596
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8541
8597
|
}
|
|
@@ -8566,6 +8622,13 @@ export declare interface F0DataChartHeatmapProps extends F0DataChartCommonProps
|
|
|
8566
8622
|
showVisualMap?: boolean;
|
|
8567
8623
|
/** Format values in labels and tooltip */
|
|
8568
8624
|
valueFormatter?: (value: number) => string;
|
|
8625
|
+
/**
|
|
8626
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8627
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8628
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8629
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8630
|
+
*/
|
|
8631
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8569
8632
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8570
8633
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8571
8634
|
}
|
|
@@ -8592,6 +8655,14 @@ export declare interface F0DataChartLineProps extends F0DataChartBaseProps {
|
|
|
8592
8655
|
showArea?: boolean;
|
|
8593
8656
|
/** Show data point dots on the lines. @default false */
|
|
8594
8657
|
showDots?: boolean;
|
|
8658
|
+
/**
|
|
8659
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
8660
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
8661
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
8662
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
8663
|
+
* ("107,505").
|
|
8664
|
+
*/
|
|
8665
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8595
8666
|
}
|
|
8596
8667
|
|
|
8597
8668
|
/**
|
|
@@ -8648,6 +8719,13 @@ export declare interface F0DataChartPieProps extends F0DataChartCommonProps {
|
|
|
8648
8719
|
showPercentage?: boolean;
|
|
8649
8720
|
/** Format the value displayed in labels and tooltip */
|
|
8650
8721
|
valueFormatter?: (value: number) => string;
|
|
8722
|
+
/**
|
|
8723
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8724
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8725
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8726
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8727
|
+
*/
|
|
8728
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8651
8729
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8652
8730
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8653
8731
|
}
|
|
@@ -8702,6 +8780,13 @@ export declare interface F0DataChartRadarProps extends F0DataChartCommonProps {
|
|
|
8702
8780
|
showLabels?: boolean;
|
|
8703
8781
|
/** Format values in labels and tooltip */
|
|
8704
8782
|
valueFormatter?: (value: number) => string;
|
|
8783
|
+
/**
|
|
8784
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
8785
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
8786
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
8787
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
8788
|
+
*/
|
|
8789
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
8705
8790
|
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
8706
8791
|
echartsOptions?: Partial<echarts_2.EChartsOption>;
|
|
8707
8792
|
}
|
|
@@ -12802,6 +12887,12 @@ export declare interface FunnelChartConfig {
|
|
|
12802
12887
|
colorScale?: boolean;
|
|
12803
12888
|
/** Format the value displayed in labels and tooltip */
|
|
12804
12889
|
valueFormatter?: (value: number) => string;
|
|
12890
|
+
/**
|
|
12891
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
12892
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
12893
|
+
* while the tooltip carries the exact figure.
|
|
12894
|
+
*/
|
|
12895
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12805
12896
|
}
|
|
12806
12897
|
|
|
12807
12898
|
/**
|
|
@@ -12855,6 +12946,12 @@ export declare interface GaugeChartConfig {
|
|
|
12855
12946
|
showValue?: boolean;
|
|
12856
12947
|
/** Format the value displayed inside the gauge */
|
|
12857
12948
|
valueFormatter?: (value: number) => string;
|
|
12949
|
+
/**
|
|
12950
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
12951
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
12952
|
+
* while the tooltip carries the exact figure.
|
|
12953
|
+
*/
|
|
12954
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12858
12955
|
}
|
|
12859
12956
|
|
|
12860
12957
|
/**
|
|
@@ -13345,6 +13442,12 @@ export declare interface HeatmapChartConfig {
|
|
|
13345
13442
|
showVisualMap?: boolean;
|
|
13346
13443
|
/** Format the value displayed in cells and tooltip */
|
|
13347
13444
|
valueFormatter?: (value: number) => string;
|
|
13445
|
+
/**
|
|
13446
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
13447
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
13448
|
+
* while the tooltip carries the exact figure.
|
|
13449
|
+
*/
|
|
13450
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
13348
13451
|
}
|
|
13349
13452
|
|
|
13350
13453
|
/**
|
|
@@ -15321,6 +15424,12 @@ export declare interface PieChartConfig {
|
|
|
15321
15424
|
showPercentage?: boolean;
|
|
15322
15425
|
/** Format the value displayed in labels and tooltip */
|
|
15323
15426
|
valueFormatter?: (value: number) => string;
|
|
15427
|
+
/**
|
|
15428
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
15429
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
15430
|
+
* while the tooltip carries the exact figure.
|
|
15431
|
+
*/
|
|
15432
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
15324
15433
|
}
|
|
15325
15434
|
|
|
15326
15435
|
/**
|
|
@@ -15731,6 +15840,12 @@ export declare interface RadarChartConfig {
|
|
|
15731
15840
|
showLabels?: boolean;
|
|
15732
15841
|
/** Format the value displayed in labels and tooltip */
|
|
15733
15842
|
valueFormatter?: (value: number) => string;
|
|
15843
|
+
/**
|
|
15844
|
+
* Format the value shown in the hover tooltip. Defaults to
|
|
15845
|
+
* {@link valueFormatter}; set it when the axis and labels must stay compact
|
|
15846
|
+
* while the tooltip carries the exact figure.
|
|
15847
|
+
*/
|
|
15848
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
15734
15849
|
}
|
|
15735
15850
|
|
|
15736
15851
|
/**
|
|
@@ -18947,16 +19062,6 @@ declare module "@tiptap/core" {
|
|
|
18947
19062
|
}
|
|
18948
19063
|
|
|
18949
19064
|
|
|
18950
|
-
declare module "@tiptap/core" {
|
|
18951
|
-
interface Commands<ReturnType> {
|
|
18952
|
-
fontSize: {
|
|
18953
|
-
setFontSize: (fontSize: string) => ReturnType;
|
|
18954
|
-
unsetFontSize: () => ReturnType;
|
|
18955
|
-
};
|
|
18956
|
-
}
|
|
18957
|
-
}
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
19065
|
declare module "@tiptap/core" {
|
|
18961
19066
|
interface Commands<ReturnType> {
|
|
18962
19067
|
enhanceHighlight: {
|
|
@@ -18971,8 +19076,9 @@ declare module "@tiptap/core" {
|
|
|
18971
19076
|
|
|
18972
19077
|
declare module "@tiptap/core" {
|
|
18973
19078
|
interface Commands<ReturnType> {
|
|
18974
|
-
|
|
18975
|
-
|
|
19079
|
+
fontSize: {
|
|
19080
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19081
|
+
unsetFontSize: () => ReturnType;
|
|
18976
19082
|
};
|
|
18977
19083
|
}
|
|
18978
19084
|
}
|
|
@@ -18989,6 +19095,15 @@ declare module "@tiptap/core" {
|
|
|
18989
19095
|
}
|
|
18990
19096
|
|
|
18991
19097
|
|
|
19098
|
+
declare module "@tiptap/core" {
|
|
19099
|
+
interface Commands<ReturnType> {
|
|
19100
|
+
moodTracker: {
|
|
19101
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
19102
|
+
};
|
|
19103
|
+
}
|
|
19104
|
+
}
|
|
19105
|
+
|
|
19106
|
+
|
|
18992
19107
|
declare module "@tiptap/core" {
|
|
18993
19108
|
interface Commands<ReturnType> {
|
|
18994
19109
|
transcript: {
|