@factorialco/f0-react 4.57.0 → 4.59.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/f0.d.ts CHANGED
@@ -123,6 +123,7 @@ import { PieChartProps } from './PieChart';
123
123
  import { PopoverContentProps } from '@radix-ui/react-popover';
124
124
  import { ProgressBarCellValue } from './f0';
125
125
  import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
126
+ import { ProgressSeriesCellValue } from './types/progressSeries';
126
127
  import { Props as Props_2 } from './types';
127
128
  import { RadarChartProps } from './RadarChart';
128
129
  import * as React_2 from 'react';
@@ -5069,6 +5070,10 @@ export declare const defaultTranslations: {
5069
5070
  readonly description: "Try a different date or fewer filters";
5070
5071
  };
5071
5072
  };
5073
+ readonly progressSeries: {
5074
+ readonly noData: "No data";
5075
+ readonly canceled: "Canceled";
5076
+ };
5072
5077
  readonly select: {
5073
5078
  readonly noResults: "No results found";
5074
5079
  readonly loadingMore: "Loading...";
@@ -13311,7 +13316,7 @@ export declare function injectSectionEnds(items: FlatFormItem[], inSectionQuesti
13311
13316
  */
13312
13317
  export declare const Input: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
13313
13318
 
13314
- declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
13319
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "isEmpty" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
13315
13320
 
13316
13321
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
13317
13322
 
@@ -13553,6 +13558,11 @@ declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toL
13553
13558
 
13554
13559
  declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
13555
13560
  lanes: ReadonlyArray<KanbanLaneDefinition>;
13561
+ /** Per-group columns: when grouping is active, each group's board renders the
13562
+ * lanes this returns instead of the global `lanes` (lane ids must exist in
13563
+ * `source.lanes`). Enables the onboarding case where each policy version has
13564
+ * its own phases. NOTE: API shape pending Foundations review. */
13565
+ getLanesForGroup?: (groupKey: string) => ReadonlyArray<KanbanLaneDefinition>;
13556
13566
  title?: (record: Record) => string;
13557
13567
  description?: (record: Record) => string;
13558
13568
  avatar?: (record: Record) => CardAvatarVariant;
@@ -18253,6 +18263,7 @@ declare const valueDisplayRenderers: {
18253
18263
  readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
18254
18264
  readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext_2) => JSX_2.Element | null;
18255
18265
  readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => JSX_2.Element | null;
18266
+ readonly progressSeries: (args: ProgressSeriesCellValue, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
18256
18267
  readonly barSeries: (args: BarSeriesCellValue, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
18257
18268
  readonly categoryBarChart: (args: CategoryBarChartCellValue, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
18258
18269
  readonly hourDistribution: (args: HourDistributionCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
package/dist/f0.js CHANGED
@@ -1,16 +1,16 @@
1
- import { gP as uN, w as rt, cb as T_, J as vn, gx as cN, H as fn, eV as WV, gQ as fN, s as qv, S as Q, u as Re, V as tt, dv as Rl, O as pl, y as UV, Y as _d, bS as Ma, r as Bt, ad as Jc, gR as $V, ak as il, gu as qy, gS as YV, gT as XV, gU as Dw, e5 as qV, gV as ZV, gW as hN, gX as jV, gY as KV, gZ as dN, g_ as QV, c2 as vN, c3 as pN, W as ef, X as tf, m as Je, $ as rf, fY as gN, a4 as $t, aj as nf, a6 as Wo, aT as D_, ar as A_, g$ as JV, bd as eF, e0 as Aw, n as mN, o as gl, be as tF, aH as Zv, aI as jv, aJ as Kv, cW as xd, c9 as yN, h0 as rF, gw as Mw, fy as nF, h1 as Ew, fs as iF, h2 as aF, bM as bN, bX as _N, fH as Zy, ag as Fr, aw as oF, d5 as jy, bY as xN, g3 as Ol, g4 as af, g6 as wN, gD as sF, fW as SN, fV as lF, bT as M_, bU as E_, h3 as Qv, dE as L_, gk as uF, ab as CN, fr as cF, cu as fF, gM as N_, bA as TN, bF as hF, bG as dF, bH as vF, d as pF, U as DN, db as es, dQ as AN, dD as MN, cx as I_, bP as EN, c$ as P_, f_ as al, f$ as ol, _ as sl, g0 as ll, fZ as ha, bZ as LN, j as gF, dB as wd, bp as ml, bh as Er, cE as mF, aa as NN, dF as Ky, e1 as _c, cD as yF, a7 as Bl, b0 as IN, aG as bF, gd as Rr, h4 as _F, h5 as xF, h6 as PN, h7 as Jv, h8 as wF, h9 as SF, d_ as CF, ha as TF, aW as kN, bV as DF, bW as AF, cc as zl, cg as Vl, cn as of, dS as MF, cd as EF, bc as LF, a0 as RN, bg as NF, a9 as IF, by as Lw, dP as xc, fu as PF, fv as kF, hb as RF, a$ as OF, ch as BF, l as ON, ae as zF, c6 as VF, gA as FF, b3 as GF, M as BN, hc as zN, hd as HF, he as WF, I as UF, hf as $F, hg as YF, hh as XF, hi as qF } from "./F0CanvasPanel-B7F3sn6X.js";
2
- import { hy as phe, C as ghe, D as mhe, aU as yhe, c as bhe, F as _he, a as xhe, hr as whe, f as She, bk as Che, aV as The, cp as Dhe, c1 as Ahe, aM as Mhe, bt as Ehe, aq as Lhe, e4 as Nhe, ay as Ihe, cB as Phe, g as khe, bI as Rhe, cC as Ohe, hm as Bhe, hD as zhe, bN as Vhe, e as Fhe, bQ as Ghe, k as Hhe, ci as Whe, ht as Uhe, b7 as $he, hu as Yhe, hw as Xhe, hx as qhe, cZ as Zhe, hA as jhe, cS as Khe, cT as Qhe, P as Jhe, cX as ede, hv as tde, cU as rde, hz as nde, hE as ide, hj as ade, hk as ode, hl as sde, cV as lde, hC as ude, hs as cde, hp as fde, ho as hde, cY as dde, fT as vde, gl as pde, hB as gde, aZ as mde, cR as yde, cO as bde, cQ as _de, cN as xde, hq as wde, gn as Sde, gh as Cde, g7 as Tde, hH as Dde, cF as Ade, cP as Mde, hG as Ede, bu as Lde, dY as Nde, fS as Ide, g8 as Pde, b as kde, bx as Rde, gC as Ode, aX as Bde, dZ as zde, hn as Vde, gj as Fde, gi as Gde, hF as Hde } from "./F0CanvasPanel-B7F3sn6X.js";
1
+ import { gQ as uN, w as rt, cb as T_, J as vn, gy as cN, H as fn, eW as WV, gR as fN, s as qv, S as Q, u as Re, V as tt, dw as Rl, O as pl, y as UV, Y as _d, bS as Ma, r as Bt, ad as Jc, gS as $V, ak as il, gv as qy, gT as YV, gU as XV, gV as Dw, e6 as qV, gW as ZV, gX as hN, gY as jV, gZ as KV, g_ as dN, g$ as QV, c2 as vN, c3 as pN, W as ef, X as tf, m as Je, $ as rf, fZ as gN, a4 as $t, aj as nf, a6 as Wo, aT as D_, ar as A_, h0 as JV, bd as eF, e1 as Aw, n as mN, o as gl, be as tF, aH as Zv, aI as jv, aJ as Kv, cX as xd, c9 as yN, h1 as rF, gx as Mw, fz as nF, h2 as Ew, ft as iF, h3 as aF, bM as bN, bX as _N, fI as Zy, ag as Fr, aw as oF, d6 as jy, bY as xN, g4 as Ol, g5 as af, g7 as wN, gE as sF, fX as SN, fW as lF, bT as M_, bU as E_, h4 as Qv, dF as L_, gl as uF, ab as CN, fs as cF, cu as fF, gN as N_, bA as TN, bF as hF, bG as dF, bH as vF, d as pF, U as DN, dc as es, dR as AN, dE as MN, cx as I_, bP as EN, d0 as P_, f$ as al, g0 as ol, _ as sl, g1 as ll, f_ as ha, bZ as LN, j as gF, dC as wd, bp as ml, bh as Er, cF as mF, aa as NN, dG as Ky, e2 as _c, cE as yF, a7 as Bl, b0 as IN, aG as bF, ge as Rr, h5 as _F, h6 as xF, h7 as PN, h8 as Jv, h9 as wF, ha as SF, d$ as CF, hb as TF, aW as kN, bV as DF, bW as AF, cc as zl, cg as Vl, cn as of, dT as MF, cd as EF, bc as LF, a0 as RN, bg as NF, a9 as IF, by as Lw, dQ as xc, fv as PF, fw as kF, hc as RF, a$ as OF, ch as BF, l as ON, ae as zF, c6 as VF, gB as FF, b3 as GF, M as BN, hd as zN, he as HF, hf as WF, I as UF, hg as $F, hh as YF, hi as XF, hj as qF } from "./F0CanvasPanel-Bm-rOddX.js";
2
+ import { hz as phe, C as ghe, D as mhe, aU as yhe, c as bhe, F as _he, a as xhe, hs as whe, f as She, bk as Che, aV as The, cp as Dhe, c1 as Ahe, aM as Mhe, bt as Ehe, aq as Lhe, e5 as Nhe, ay as Ihe, cB as Phe, g as khe, bI as Rhe, cC as Ohe, hn as Bhe, hE as zhe, bN as Vhe, e as Fhe, bQ as Ghe, k as Hhe, ci as Whe, hu as Uhe, b7 as $he, hv as Yhe, hx as Xhe, hy as qhe, c_ as Zhe, hB as jhe, cT as Khe, cU as Qhe, P as Jhe, cY as ede, hw as tde, cV as rde, hA as nde, hF as ide, hk as ade, hl as ode, hm as sde, cW as lde, hD as ude, ht as cde, hq as fde, hp as hde, cZ as dde, fU as vde, gm as pde, hC as gde, aZ as mde, cS as yde, cP as bde, cR as _de, cO as xde, hr as wde, go as Sde, gi as Cde, g8 as Tde, hI as Dde, cG as Ade, cQ as Mde, hH as Ede, bu as Lde, dZ as Nde, fT as Ide, g9 as Pde, b as kde, bx as Rde, gD as Ode, aX as Bde, d_ as zde, ho as Vde, gk as Fde, gj as Gde, hG as Hde } from "./F0CanvasPanel-Bm-rOddX.js";
3
3
  import { jsx as w, jsxs as O, Fragment as it } from "react/jsx-runtime";
4
4
  import * as bt from "react";
5
5
  import ZF, { forwardRef as Dr, useRef as ie, useImperativeHandle as jF, Children as Sd, createContext as Ba, useContext as ts, useState as se, useMemo as ye, useEffect as me, useCallback as le, useLayoutEffect as Nw, isValidElement as VN, Fragment as Fl, useSyncExternalStore as yl, useId as ic, memo as KF } from "react";
6
- import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-oR419tUE.js";
7
- import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-oR419tUE.js";
6
+ import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-C3PLGL9k.js";
7
+ import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-C3PLGL9k.js";
8
8
  import { d as J, u as ep, g as c5, h as js, P as sf, i as Gl, j as f5, f as yi } from "./tooltip-BH6Se8A4.js";
9
9
  import { createPortal as tp } from "react-dom";
10
- import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-DaAesvIC.js";
11
- import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-DaAesvIC.js";
12
- import { F as Epe, p as Lpe } from "./index-Db0lCoib.js";
13
- import { c as Ipe } from "./pdfWorker-D8-ImR1V.js";
10
+ import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-CbHjzW27.js";
11
+ import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-CbHjzW27.js";
12
+ import { F as Epe, p as Lpe } from "./index-BihWWw-L.js";
13
+ import { c as Ipe } from "./pdfWorker-BJ-lBzFV.js";
14
14
  import { g as K5 } from "./_commonjsHelpers-ByX85dGu.js";
15
15
  import { utils as ul, write as ZN } from "./xlsx-CzlURDDb.js";
16
16
  import { defaultTranslations as kpe } from "./i18n-provider-defaults.js";
@@ -697,6 +697,10 @@ export declare const defaultTranslations: {
697
697
  readonly description: "Try a different date or fewer filters";
698
698
  };
699
699
  };
700
+ readonly progressSeries: {
701
+ readonly noData: "No data";
702
+ readonly canceled: "Canceled";
703
+ };
700
704
  readonly select: {
701
705
  readonly noResults: "No results found";
702
706
  readonly loadingMore: "Loading...";
@@ -720,6 +720,10 @@ const e = {
720
720
  description: "Try a different date or fewer filters"
721
721
  }
722
722
  },
723
+ progressSeries: {
724
+ noData: "No data",
725
+ canceled: "Canceled"
726
+ },
723
727
  select: {
724
728
  noResults: "No results found",
725
729
  loadingMore: "Loading...",
@@ -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-B7F3sn6X.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-Bm-rOddX.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-D8-ImR1V.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BJ-lBzFV.js";
5
5
  import { F as We } from "./Printer-B7iDPx2r.js";
6
6
  import { d as ae } from "./tooltip-BH6Se8A4.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-DAS3K7Jo.js")), Ge = J(() => import("./DocxViewer-DQppG2kg.js")), Ze = J(() => import("./TextViewer-BHXsdcFD.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-CyFUTGAF.js")), Ge = J(() => import("./DocxViewer-f1Qx-1g7.js")), Ze = J(() => import("./TextViewer-CyJFvBXS.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 });