@factorialco/f0-react 6.69.0 → 6.71.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 { cP as r1, cQ as Em, cR as A1, cS as s1, cT as a1, cU as l1, cV as ap, cW as km, cX as mc, cY as ma, cZ as c1, bX as Jt, cs as pr, u as Gt, c_ as d1, c$ as u1, d0 as lp, cE as JA, cF as HA, bW as oI, bC as h1, bB as v0, V as ng, z as p1, A as B1, bP as ag, b8 as R0, K as f1, B as m1, m as dg, ak as qA, S as dt, c1 as wo, d1 as F1, d2 as U1, d3 as Q1, _ as y1, d4 as w1, aq as Zi, b9 as cp, aj as dp, bS as _n, c8 as ar, d5 as b1, e as up, c3 as AC, d6 as x1, a8 as hp, cM as Ta, w as KI, r as qg, y as Da, t as pp, v as Bp, bt as M0, x as fp, aY as V0, bN as D1, ah as P0, bU as jI, s as ii, cG as Na, d7 as dh, cu as Za, bM as Tm, Y as _1, bV as vI, d8 as G0, d9 as Th, cL as Br, da as mp, db as S1, ch as Fp, dc as $A, aP as v1, bG as R1, X as M1, i as V1, cD as P1, dd as rC, de as Up, df as An, bf as G1, dg as E1, ae as k1, c9 as aC, dh as nd, di as E0, dj as T1, dk as N1, b5 as Z1, dl as od, dm as k0, j as Cd, dn as K1, ar as W1, k as OA, dp as T0, bm as Y1, dq as z1, dr as J1, ds as H1, dt as O1, du as Nh, dv as N0, cc as rd, aa as Z0, dw as j1, dx as L1, dy as X1, dz as q1, dA as fr, dB as Zh, ca as Qp, dC as $1, ck as es, dD as Nm, dE as eD, dF as K0, cg as tD, dG as jA, dH as gD, dI as ID, c2 as vc, bl as iD, ay as Kh, ao as nD, dJ as W0, dK as oD, b as Y0, dL as CD, a as rD, dM as Ad, dN as AD, g as sD, F as aD, br as z0, cl as lD, o as sd, cn as cD, bv as yp, J as dD, bq as uD, bp as hD, a5 as J0, cw as pD, al as H0, dO as BD, be as fD, bd as mD, as as Kc, dP as FD, dQ as UD, dR as QD, dS as yD, dT as wD, dU as bD, dV as xD, cb as Wh, l as ad, bR as wp, O as Yh, Q as Rc, aW as DD, aM as _D, b6 as SD, bb as O0, bi as j0, bj as L0, bk as vD, c4 as RD, c5 as MD, c6 as VD, c7 as PD, dW as X0, dX as GD, b_ as ED, c0 as bp, bQ as kD, dY as q0, dZ as $0, d_ as eU, bJ as TD, d$ as tU, n as ND, ax as ld, R as ZD, U as KD, a6 as gU, $ as Zm, a4 as IU, bu as WD, aN as YD, am as zD, co as JD, e0 as HD, e1 as OD, e2 as jD, e3 as LD, e4 as Hn, e5 as XD, e6 as qD, e7 as $D, e8 as e_, e9 as t_, cx as g_, aZ as iU, ea as Wc, eb as I_, bn as i_, bE as n_, av as o_, bz as uh, au as C_, aX as r_, ap as A_, ag as s_, ec as a_, by as l_, cq as c_, cr as d_, ed as u_, ee as nU, ef as h_, eg as p_ } from "./F0CanvasPanel-B2_yKht7.js";
1
+ import { cP as r1, cQ as Em, cR as A1, cS as s1, cT as a1, cU as l1, cV as ap, cW as km, cX as mc, cY as ma, cZ as c1, bX as Jt, cs as pr, u as Gt, c_ as d1, c$ as u1, d0 as lp, cE as JA, cF as HA, bW as oI, bC as h1, bB as v0, V as ng, z as p1, A as B1, bP as ag, b8 as R0, K as f1, B as m1, m as dg, ak as qA, S as dt, c1 as wo, d1 as F1, d2 as U1, d3 as Q1, _ as y1, d4 as w1, aq as Zi, b9 as cp, aj as dp, bS as _n, c8 as ar, d5 as b1, e as up, c3 as AC, d6 as x1, a8 as hp, cM as Ta, w as KI, r as qg, y as Da, t as pp, v as Bp, bt as M0, x as fp, aY as V0, bN as D1, ah as P0, bU as jI, s as ii, cG as Na, d7 as dh, cu as Za, bM as Tm, Y as _1, bV as vI, d8 as G0, d9 as Th, cL as Br, da as mp, db as S1, ch as Fp, dc as $A, aP as v1, bG as R1, X as M1, i as V1, cD as P1, dd as rC, de as Up, df as An, bf as G1, dg as E1, ae as k1, c9 as aC, dh as nd, di as E0, dj as T1, dk as N1, b5 as Z1, dl as od, dm as k0, j as Cd, dn as K1, ar as W1, k as OA, dp as T0, bm as Y1, dq as z1, dr as J1, ds as H1, dt as O1, du as Nh, dv as N0, cc as rd, aa as Z0, dw as j1, dx as L1, dy as X1, dz as q1, dA as fr, dB as Zh, ca as Qp, dC as $1, ck as es, dD as Nm, dE as eD, dF as K0, cg as tD, dG as jA, dH as gD, dI as ID, c2 as vc, bl as iD, ay as Kh, ao as nD, dJ as W0, dK as oD, b as Y0, dL as CD, a as rD, dM as Ad, dN as AD, g as sD, F as aD, br as z0, cl as lD, o as sd, cn as cD, bv as yp, J as dD, bq as uD, bp as hD, a5 as J0, cw as pD, al as H0, dO as BD, be as fD, bd as mD, as as Kc, dP as FD, dQ as UD, dR as QD, dS as yD, dT as wD, dU as bD, dV as xD, cb as Wh, l as ad, bR as wp, O as Yh, Q as Rc, aW as DD, aM as _D, b6 as SD, bb as O0, bi as j0, bj as L0, bk as vD, c4 as RD, c5 as MD, c6 as VD, c7 as PD, dW as X0, dX as GD, b_ as ED, c0 as bp, bQ as kD, dY as q0, dZ as $0, d_ as eU, bJ as TD, d$ as tU, n as ND, ax as ld, R as ZD, U as KD, a6 as gU, $ as Zm, a4 as IU, bu as WD, aN as YD, am as zD, co as JD, e0 as HD, e1 as OD, e2 as jD, e3 as LD, e4 as Hn, e5 as XD, e6 as qD, e7 as $D, e8 as e_, e9 as t_, cx as g_, aZ as iU, ea as Wc, eb as I_, bn as i_, bE as n_, av as o_, bz as uh, au as C_, aX as r_, ap as A_, ag as s_, ec as a_, by as l_, cq as c_, cr as d_, ed as u_, ee as nU, ef as h_, eg as p_ } from "./F0CanvasPanel-C_tJ-Kgt.js";
2
2
  import { jsx as p, jsxs as te, Fragment as ug } from "react/jsx-runtime";
3
3
  import Nt, { forwardRef as bg, useRef as Ee, useTransition as B_, useState as Ye, useLayoutEffect as di, useId as LA, useContext as Ui, createContext as RI, useEffect as It, useCallback as qe, useMemo as _t, useImperativeHandle as f_, Fragment as vi, isValidElement as xp, cloneElement as oU, Suspense as cd, lazy as mr, createElement as Mc, memo as CU, Children as Dp } from "react";
4
4
  import { d as Ue, T as m_, a as F_, b as U_, f as Xg, c as Q_, g as y_ } from "./tooltip-DTpaXpXW.js";
5
- import { C as w_, P as b_, c as dd, n as x_, E as D_, a as _p, u as __, b as Ka, e as S_, f as v_, g as R_, h as M_, M as V_, p as P_, i as rU, R as Km, j as AU, k as G_, l as E_, m as k_, o as T_, q as N_, r as Z_, O as sU, s as aU, F as K_, W as ur, A as W_, B as Y_, L as z_, t as J_, V as H_, v as O_, w as j_, x as L_, y as Sp, S as X_, z as lU, D as cU, G as q_, H as $_, I as eS, J as tS, K as gS, N as IS, Q as iS, T as nS, U as oS, X as CS, Y as Wm, Z as rS, _ as AS } from "./CoachmarkProvider-Dl3ax2GV.js";
5
+ import { C as w_, P as b_, c as dd, n as x_, E as D_, a as _p, u as __, b as Ka, e as S_, f as v_, g as R_, h as M_, M as V_, p as P_, i as rU, R as Km, j as AU, k as G_, l as E_, m as k_, o as T_, q as N_, r as Z_, O as sU, s as aU, F as K_, W as ur, A as W_, B as Y_, L as z_, t as J_, V as H_, v as O_, w as j_, x as L_, y as Sp, S as X_, z as lU, D as cU, G as q_, H as $_, I as eS, J as tS, K as gS, N as IS, Q as iS, T as nS, U as oS, X as CS, Y as Wm, Z as rS, _ as AS } from "./CoachmarkProvider-Bc9Cps5U.js";
6
6
  import { g as sS } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import aS, { createPortal as zh } from "react-dom";
8
8
  import './experimental.css';const lS = r1("Search", [
@@ -35046,7 +35046,7 @@ const HM = 250, OM = () => {
35046
35046
  ),
35047
35047
  children: o
35048
35048
  }
35049
- ), ZQ = () => import("./ChatPdfThumbnail-CeYKdUjG.js"), KQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), WQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), YQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), XM = mr(ZQ), qM = mr(KQ), $M = mr(WQ), eV = mr(YQ), tV = {
35049
+ ), ZQ = () => import("./ChatPdfThumbnail-0W0Ulspr.js"), KQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), WQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), YQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), XM = mr(ZQ), qM = mr(KQ), $M = mr(WQ), eV = mr(YQ), tV = {
35050
35050
  pdf: ZQ,
35051
35051
  sheet: KQ,
35052
35052
  docx: WQ,
@@ -35234,7 +35234,7 @@ const HM = 250, OM = () => {
35234
35234
  ]
35235
35235
  }
35236
35236
  );
35237
- }, JQ = () => import("./LocationMap-7fbI8mQ0.js"), iV = mr(JQ), nV = 200, oV = ({ latitude: o, longitude: a }) => `https://www.google.com/maps?q=${o},${a}`, HQ = ({
35237
+ }, JQ = () => import("./LocationMap-DsZlUjft.js"), iV = mr(JQ), nV = 200, oV = ({ latitude: o, longitude: a }) => `https://www.google.com/maps?q=${o},${a}`, HQ = ({
35238
35238
  location: o,
35239
35239
  cornerClass: a = "rounded-xl",
35240
35240
  surfaceClassName: B
@@ -37057,7 +37057,7 @@ const yV = {
37057
37057
  }
37058
37058
  ) }) });
37059
37059
  }, VV = mr(
37060
- () => import("./index-oeaZ_upm.js").then((o) => o.i).then((o) => ({
37060
+ () => import("./index-B0qdgKs8.js").then((o) => o.i).then((o) => ({
37061
37061
  default: o.F0PdfViewer
37062
37062
  }))
37063
37063
  ), PV = () => {
@@ -41665,7 +41665,7 @@ const PG = (o) => {
41665
41665
  }
41666
41666
  )
41667
41667
  ] });
41668
- }, Gy = () => import("./index-CLmeYs2p.js").then((o) => ({
41668
+ }, Gy = () => import("./index-B9o9POms.js").then((o) => ({
41669
41669
  default: o.F0VideoPlayer
41670
41670
  })), HG = mr(Gy), OG = ({
41671
41671
  file: o,
@@ -4692,6 +4692,7 @@ declare const defaultTranslations: {
4692
4692
  readonly ofTotal: "of total";
4693
4693
  readonly total: "total";
4694
4694
  readonly target: "target";
4695
+ readonly ofTarget: "of target";
4695
4696
  readonly ofRange: "of range";
4696
4697
  readonly fromPrevious: "from previous";
4697
4698
  readonly fromStage: "from {{stage}}";
@@ -13844,19 +13845,41 @@ export declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<Omit<Tog
13844
13845
  */
13845
13846
  export declare const Tooltip: WithDataTestIdReturnType_3<(props: TooltipProps) => default_2.JSX.Element>;
13846
13847
 
13848
+ /**
13849
+ * The copy a tooltip shows. At least one of the three must be present — a
13850
+ * tooltip with nothing to say never opens.
13851
+ */
13852
+ declare type TooltipCopyProps = {
13853
+ label: string;
13854
+ description?: string;
13855
+ items?: TooltipListItem[];
13856
+ } | {
13857
+ label?: string;
13858
+ description: string;
13859
+ items?: TooltipListItem[];
13860
+ } | {
13861
+ label?: string;
13862
+ description?: string;
13863
+ items: TooltipListItem[];
13864
+ };
13865
+
13847
13866
  declare type TooltipInternalProps = {
13848
13867
  children: default_2.ReactNode;
13849
13868
  shortcut?: ComponentProps<typeof Shortcut>["keys"];
13850
13869
  delay?: number;
13851
13870
  instant?: boolean;
13852
13871
  onOpen?: () => void;
13853
- } & ({
13854
- label: string;
13872
+ } & TooltipCopyProps;
13873
+
13874
+ /**
13875
+ * One bullet of a tooltip's list. The object form gets a semibold lead so a
13876
+ * list of named things (alerts, broken rules) reads as a list rather than a run
13877
+ * of sentences.
13878
+ */
13879
+ declare type TooltipListItem = string | {
13880
+ title: string;
13855
13881
  description?: string;
13856
- } | {
13857
- label?: string;
13858
- description: string;
13859
- });
13882
+ };
13860
13883
 
13861
13884
  export declare type TooltipProps = Omit<TooltipInternalProps, (typeof privateProps_7)[number]>;
13862
13885
 
@@ -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 P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as Y, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ya, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-D5YcWVCS.js";
2
- import { dO as Be, ep as ye, eo as De, eC as Le, dl as We, em as ve, cd as ke, c3 as Oe, ca as _e, eh as fe, bY as xe, bY as Re, bR as He, ei as Me, cg as Ne, d$ as Ve, ci as we, eF as Ge, en as ze, ey as Ue, ez as je, d5 as qe, eD as Ye, k as Ke, dP as Xe, cM as $e, el as Je, er as Qe, eq as Ze, T as as, h as es, bS as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-B2_yKht7.js";
3
- import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Rs, a2 as Hs, as as Ms, ap as Ns, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ys, am as Ks, aw as Xs, aF as $s, O as Js, aH as Qs, a9 as Zs, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-Dl3ax2GV.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 P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as Y, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ya, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-CXqbP9O9.js";
2
+ import { dO as Be, ep as ye, eo as De, eC as Le, dl as We, em as ve, cd as ke, c3 as Oe, ca as _e, eh as fe, bY as xe, bY as Re, bR as He, ei as Me, cg as Ne, d$ as Ve, ci as we, eF as Ge, en as ze, ey as Ue, ez as je, d5 as qe, eD as Ye, k as Ke, dP as Xe, cM as $e, el as Je, er as Qe, eq as Ze, T as as, h as es, bS as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-C_tJ-Kgt.js";
3
+ import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Rs, a2 as Hs, as as Ms, ap as Ns, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ys, am as Ks, aw as Xs, aF as $s, O as Js, aH as Qs, a9 as Zs, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-Bc9Cps5U.js";
4
4
  export {
5
5
  hs as AUTO_PER_PAGE_MAX,
6
6
  Ps as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
package/dist/f0.d.ts CHANGED
@@ -5583,6 +5583,7 @@ export declare const defaultTranslations: {
5583
5583
  readonly ofTotal: "of total";
5584
5584
  readonly total: "total";
5585
5585
  readonly target: "target";
5586
+ readonly ofTarget: "of target";
5586
5587
  readonly ofRange: "of range";
5587
5588
  readonly fromPrevious: "from previous";
5588
5589
  readonly fromStage: "from {{stage}}";
@@ -9051,6 +9052,33 @@ export declare interface F0DataChartBarProps extends F0DataChartBaseProps {
9051
9052
  orientation?: "vertical" | "horizontal";
9052
9053
  /** Stack all series into a single bar per category. @default false */
9053
9054
  stacked?: boolean;
9055
+ /**
9056
+ * Draw the stretch of a bar that ran past its `target` in a darker shade of
9057
+ * the bar's own colour, split at the target.
9058
+ *
9059
+ * Left off, a target only shows as the faded ghost the bar has yet to reach,
9060
+ * so a bar that beat its target looks the same as one that landed exactly on
9061
+ * it — the reader has to eye its height against the ghosts beside it. Turn it
9062
+ * on wherever passing the target is itself the news: attainment against a
9063
+ * quota, a goal, a budget.
9064
+ *
9065
+ * Ignored by points with no target, and by negative values — "past the
9066
+ * target" has no single reading when the bar grows downwards.
9067
+ * @default false
9068
+ */
9069
+ highlightOverachievement?: boolean;
9070
+ /**
9071
+ * Add the share of the target the bar reached to its tooltip, under the
9072
+ * target row (e.g. "108.1% of target").
9073
+ *
9074
+ * Opt-in: the percentage answers "how did this do against its target", which
9075
+ * is the question on a quota or a goal, and noise on a chart where the target
9076
+ * is a reference line the reader is not scoring against.
9077
+ *
9078
+ * The percentage is `value / target`, the same two numbers the bar draws.
9079
+ * @default false
9080
+ */
9081
+ showTargetProgress?: boolean;
9054
9082
  /**
9055
9083
  * When {@link F0DataChartBaseProps.showLabels} is on, hide a category's value
9056
9084
  * labels if the widest value in that category doesn't fit the bar. The whole