@factorialco/f0-react 4.57.0 → 4.58.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.
@@ -7452,6 +7452,11 @@ declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toL
7452
7452
 
7453
7453
  declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
7454
7454
  lanes: ReadonlyArray<KanbanLaneDefinition>;
7455
+ /** Per-group columns: when grouping is active, each group's board renders the
7456
+ * lanes this returns instead of the global `lanes` (lane ids must exist in
7457
+ * `source.lanes`). Enables the onboarding case where each policy version has
7458
+ * its own phases. NOTE: API shape pending Foundations review. */
7459
+ getLanesForGroup?: (groupKey: string) => ReadonlyArray<KanbanLaneDefinition>;
7455
7460
  title?: (record: Record) => string;
7456
7461
  description?: (record: Record) => string;
7457
7462
  avatar?: (record: Record) => CardAvatarVariant;
@@ -3,8 +3,8 @@ import { cK as k0, cJ as T0, cW as R0, cG as E0, cH as L0, cB as z0, cC as A0, c
3
3
  import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
4
4
  import Q, { forwardRef as Ae, useRef as _, useTransition as zd, useState as $, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Ad, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
5
  import { d as S, T as Fd, a as Pd, b as Md, f as Je, c as Od } from "./tooltip-BH6Se8A4.js";
6
- import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-DaAesvIC.js";
7
- import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-DaAesvIC.js";
6
+ import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-BZcVazs8.js";
7
+ import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-BZcVazs8.js";
8
8
  import ru from "react-dom";
9
9
  const ou = Sl("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8413,7 +8413,7 @@ const $h = {
8413
8413
  ] })
8414
8414
  ] }) });
8415
8415
  }, Jh = tn(
8416
- () => import("./index-Db0lCoib.js").then((e) => e.i).then((e) => ({
8416
+ () => import("./index-Bmo_bXr5.js").then((e) => e.i).then((e) => ({
8417
8417
  default: e.F0PdfViewer
8418
8418
  }))
8419
8419
  ), Zh = () => {
@@ -12629,7 +12629,7 @@ const Wp = (e) => {
12629
12629
  }
12630
12630
  )
12631
12631
  ] });
12632
- }, Jp = tn(() => import("./ChatPdfThumbnail-BVazHdz6.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12632
+ }, Jp = tn(() => import("./ChatPdfThumbnail-Dy0LRDdf.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12633
12633
  const [t, r] = $(!1);
12634
12634
  return te(() => {
12635
12635
  const o = e.current;
package/dist/f0.d.ts CHANGED
@@ -13553,6 +13553,11 @@ declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toL
13553
13553
 
13554
13554
  declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
13555
13555
  lanes: ReadonlyArray<KanbanLaneDefinition>;
13556
+ /** Per-group columns: when grouping is active, each group's board renders the
13557
+ * lanes this returns instead of the global `lanes` (lane ids must exist in
13558
+ * `source.lanes`). Enables the onboarding case where each policy version has
13559
+ * its own phases. NOTE: API shape pending Foundations review. */
13560
+ getLanesForGroup?: (groupKey: string) => ReadonlyArray<KanbanLaneDefinition>;
13556
13561
  title?: (record: Record) => string;
13557
13562
  description?: (record: Record) => string;
13558
13563
  avatar?: (record: Record) => CardAvatarVariant;
package/dist/f0.js CHANGED
@@ -7,10 +7,10 @@ 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_,
7
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";
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-BZcVazs8.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-BZcVazs8.js";
12
+ import { F as Epe, p as Lpe } from "./index-Bmo_bXr5.js";
13
+ import { c as Ipe } from "./pdfWorker-CbB54VeJ.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";