@factorialco/f0-react 1.218.0 → 1.220.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/experimental.d.ts +5 -1
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +5 -1
- package/dist/f0.js +2 -2
- package/dist/{hooks-BbcaGCWm.js → hooks-nEHPmQmV.js} +6122 -6104
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1359,6 +1359,8 @@ export declare type DataCollectionSourceDefinition<R extends RecordType = Record
|
|
|
1359
1359
|
/** Bulk actions that can be performed on the collection */
|
|
1360
1360
|
bulkActions?: BulkActionsDefinition<R, Filters>;
|
|
1361
1361
|
totalItemSummary?: (totalItems: number) => string;
|
|
1362
|
+
/** Item filter that can be used to filter the items before they are displayed */
|
|
1363
|
+
itemPreFilter?: (item: R) => boolean;
|
|
1362
1364
|
/** Lanes configuration */
|
|
1363
1365
|
lanes?: ReadonlyArray<Lane<Filters>>;
|
|
1364
1366
|
};
|
|
@@ -1439,6 +1441,8 @@ export declare type DataSource<R extends RecordType, Filters extends FiltersDefi
|
|
|
1439
1441
|
setCurrentGrouping: React.Dispatch<React.SetStateAction<GroupingState<R, Grouping>>>;
|
|
1440
1442
|
/** Function to provide an id for a record, necessary for append mode */
|
|
1441
1443
|
idProvider?: <Item extends R>(item: Item, index?: number) => string | number | symbol;
|
|
1444
|
+
/** Item filter that can be used to filter the items before they are displayed */
|
|
1445
|
+
itemPreFilter?: (item: R) => boolean;
|
|
1442
1446
|
};
|
|
1443
1447
|
|
|
1444
1448
|
/**
|
|
@@ -2743,7 +2747,7 @@ export declare type lastIntentType = {
|
|
|
2743
2747
|
customIntent?: string;
|
|
2744
2748
|
} | null;
|
|
2745
2749
|
|
|
2746
|
-
declare type Level = "info" | "warning" | "critical";
|
|
2750
|
+
declare type Level = "info" | "warning" | "critical" | "positive";
|
|
2747
2751
|
|
|
2748
2752
|
export declare const LineChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
2749
2753
|
chart: LineChartProps;
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aN as I5, aO as D5, aP as ay, aQ as pl, aR as LC, aS as EC, aT as MC, aU as Gu, aV as TC, aW as AC, aX as OC, aY as de, aZ as R5, a_ as IC, a$ as DC, b0 as RC, b1 as io, b2 as Ra, b3 as Wc, b4 as P5, b5 as Hl, b6 as PC, b7 as Ju, b8 as FC, b9 as BC, ba as Wl, bb as zC, bc as $C, bd as jC, be as ly, bf as VC, bg as cy, bh as HC, bi as F5, bj as B5, bk as WC, bl as Fo, q as Vt, a as T, bm as Ir, P as rt, bn as Xe, s as ge, j as mt, y as ue, bo as _f, bp as z5, L as Gi, bq as He, $ as $5, w as Zi, x as Xn, br as Ze, bs as j5, c as Cf, bt as Bo, bu as ml, bv as tn, bw as Qn, aJ as Os, bx as dy, by as Hr, bz as qc, bA as Uc, bB as qC, n as Sf, bC as V5, bD as te, bE as Ai, bF as xt, bG as H5, bH as W5, f as UC, bI as KC, bJ as GC, bK as JC, b as fy, bL as YC, bM as ZC, bN as Ln, ac as Kc, az as uy, bO as Is, bP as q5, bQ as pm, bR as XC, bS as mm, bT as QC, bU as eS, bV as U5, bW as tS, bX as mr, bY as nS, bZ as iS, b_ as rS, b$ as sS, c0 as oS, c1 as K5, c2 as aS, c3 as hy, c4 as lS, c5 as Dr, S as ei, t as gm, c6 as G5, at as cS, av as J5, aq as Y5, aw as Nf, c7 as ym, a0 as gl, r as nr, c8 as dS, c9 as vm, a9 as Oi, ca as un, cb as Lf, cc as Pa, cd as fS, ce as Z5, cf as uS, h as Ef, i as Mf, k as Tf, cg as bm, ch as hS, ci as X5, C as Pn, cj as Q5, ck as pS, cl as mS, G as gS, cm as e6, cn as xh, co as t6, a6 as Gc, cp as yS, cq as vS, cr as bS, cs as kS, ct as xS, aK as Af, a3 as wh, F as km, aM as wS, cu as Jn, aL as _S, cv as n6, cw as _n, cx as CS, cy as SS, cz as Cn, cA as Jc, cB as i6, ah as Of, a7 as xm, am as ks, cC as wm, cD as _m, cE as r6, cF as NS, aa as LS, a2 as s6, cG as Cm, cH as ES, cI as MS, cJ as TS, D as o6, u as a6, cK as py, cL as AS, cM as OS, cN as If, K as IS, m as DS, cO as _h, cP as RS, cQ as PS, cR as FS, cS as BS, cT as zS, cU as $S, cV as jS, cW as VS, cX as HS, cY as WS, cZ as qS, c_ as US, p as KS, ao as GS, c$ as l6, d0 as Df, v as Ch, d1 as my, Z as c6, d2 as yl, d3 as d6, d4 as f6, d5 as JS, a1 as zo, a4 as u6, I as YS, d6 as _t, d7 as gy, d8 as ZS, d9 as XS, da as QS, db as Yu, dc as eN, dd as tN, ar as nN, ay as Rf, z as Pf, de as Ff, df as Bf, E as zf, ax as h6, ab as p6, dg as iN, aD as rN, dh as Sh, di as sN, dj as Yc, dk as oN, as as Zc, aE as aN, dl as lN, aC as m6, dm as cN, aB as dN, aA as fN, dn as uN, dp as hN, dq as pN, dr as mN, ad as gN, ds as yN, dt as vN, du as bN, a5 as kN, dv as vl, dw as Sm, dx as Nm, dy as bl, dz as g6, dA as xN, dB as y6, dC as wN, aF as v6, dD as b6, ae as k6, dE as _N, dF as CN, dG as SN, H as NN, A as LN, B as EN, e as MN, g as TN, V as AN, d as ON, dH as yy, dI as IN, dJ as DN, dK as RN, dL as x6, dM as PN } from "./hooks-
|
|
2
|
-
import { J as $oe, dO as joe, a8 as Voe, dN as Hoe } from "./hooks-
|
|
1
|
+
import { aN as I5, aO as D5, aP as ay, aQ as pl, aR as LC, aS as EC, aT as MC, aU as Gu, aV as TC, aW as AC, aX as OC, aY as de, aZ as R5, a_ as IC, a$ as DC, b0 as RC, b1 as io, b2 as Ra, b3 as Wc, b4 as P5, b5 as Hl, b6 as PC, b7 as Ju, b8 as FC, b9 as BC, ba as Wl, bb as zC, bc as $C, bd as jC, be as ly, bf as VC, bg as cy, bh as HC, bi as F5, bj as B5, bk as WC, bl as Fo, q as Vt, a as T, bm as Ir, P as rt, bn as Xe, s as ge, j as mt, y as ue, bo as _f, bp as z5, L as Gi, bq as He, $ as $5, w as Zi, x as Xn, br as Ze, bs as j5, c as Cf, bt as Bo, bu as ml, bv as tn, bw as Qn, aJ as Os, bx as dy, by as Hr, bz as qc, bA as Uc, bB as qC, n as Sf, bC as V5, bD as te, bE as Ai, bF as xt, bG as H5, bH as W5, f as UC, bI as KC, bJ as GC, bK as JC, b as fy, bL as YC, bM as ZC, bN as Ln, ac as Kc, az as uy, bO as Is, bP as q5, bQ as pm, bR as XC, bS as mm, bT as QC, bU as eS, bV as U5, bW as tS, bX as mr, bY as nS, bZ as iS, b_ as rS, b$ as sS, c0 as oS, c1 as K5, c2 as aS, c3 as hy, c4 as lS, c5 as Dr, S as ei, t as gm, c6 as G5, at as cS, av as J5, aq as Y5, aw as Nf, c7 as ym, a0 as gl, r as nr, c8 as dS, c9 as vm, a9 as Oi, ca as un, cb as Lf, cc as Pa, cd as fS, ce as Z5, cf as uS, h as Ef, i as Mf, k as Tf, cg as bm, ch as hS, ci as X5, C as Pn, cj as Q5, ck as pS, cl as mS, G as gS, cm as e6, cn as xh, co as t6, a6 as Gc, cp as yS, cq as vS, cr as bS, cs as kS, ct as xS, aK as Af, a3 as wh, F as km, aM as wS, cu as Jn, aL as _S, cv as n6, cw as _n, cx as CS, cy as SS, cz as Cn, cA as Jc, cB as i6, ah as Of, a7 as xm, am as ks, cC as wm, cD as _m, cE as r6, cF as NS, aa as LS, a2 as s6, cG as Cm, cH as ES, cI as MS, cJ as TS, D as o6, u as a6, cK as py, cL as AS, cM as OS, cN as If, K as IS, m as DS, cO as _h, cP as RS, cQ as PS, cR as FS, cS as BS, cT as zS, cU as $S, cV as jS, cW as VS, cX as HS, cY as WS, cZ as qS, c_ as US, p as KS, ao as GS, c$ as l6, d0 as Df, v as Ch, d1 as my, Z as c6, d2 as yl, d3 as d6, d4 as f6, d5 as JS, a1 as zo, a4 as u6, I as YS, d6 as _t, d7 as gy, d8 as ZS, d9 as XS, da as QS, db as Yu, dc as eN, dd as tN, ar as nN, ay as Rf, z as Pf, de as Ff, df as Bf, E as zf, ax as h6, ab as p6, dg as iN, aD as rN, dh as Sh, di as sN, dj as Yc, dk as oN, as as Zc, aE as aN, dl as lN, aC as m6, dm as cN, aB as dN, aA as fN, dn as uN, dp as hN, dq as pN, dr as mN, ad as gN, ds as yN, dt as vN, du as bN, a5 as kN, dv as vl, dw as Sm, dx as Nm, dy as bl, dz as g6, dA as xN, dB as y6, dC as wN, aF as v6, dD as b6, ae as k6, dE as _N, dF as CN, dG as SN, H as NN, A as LN, B as EN, e as MN, g as TN, V as AN, d as ON, dH as yy, dI as IN, dJ as DN, dK as RN, dL as x6, dM as PN } from "./hooks-nEHPmQmV.js";
|
|
2
|
+
import { J as $oe, dO as joe, a8 as Voe, dN as Hoe } from "./hooks-nEHPmQmV.js";
|
|
3
3
|
import { jsxs as k, jsx as f, Fragment as Te } from "react/jsx-runtime";
|
|
4
4
|
import * as F from "react";
|
|
5
5
|
import re, { forwardRef as U, createContext as si, useRef as me, useState as V, useCallback as Ie, useContext as Sn, useMemo as he, useEffect as se, PureComponent as FN, useId as Wr, useLayoutEffect as Lm, memo as kl, Fragment as Rr, useTransition as BN, isValidElement as w6, cloneElement as Em, useDebugValue as _6, createRef as zN, createElement as $N, version as vy, useImperativeHandle as $f, Children as C6 } from "react";
|
package/dist/f0.d.ts
CHANGED
|
@@ -906,6 +906,8 @@ declare type DataCollectionSourceDefinition<R extends RecordType = RecordType, F
|
|
|
906
906
|
/** Bulk actions that can be performed on the collection */
|
|
907
907
|
bulkActions?: BulkActionsDefinition<R, Filters>;
|
|
908
908
|
totalItemSummary?: (totalItems: number) => string;
|
|
909
|
+
/** Item filter that can be used to filter the items before they are displayed */
|
|
910
|
+
itemPreFilter?: (item: R) => boolean;
|
|
909
911
|
/** Lanes configuration */
|
|
910
912
|
lanes?: ReadonlyArray<Lane<Filters>>;
|
|
911
913
|
};
|
|
@@ -968,6 +970,8 @@ export declare type DataSource<R extends RecordType, Filters extends FiltersDefi
|
|
|
968
970
|
setCurrentGrouping: React.Dispatch<React.SetStateAction<GroupingState<R, Grouping>>>;
|
|
969
971
|
/** Function to provide an id for a record, necessary for append mode */
|
|
970
972
|
idProvider?: <Item extends R>(item: Item, index?: number) => string | number | symbol;
|
|
973
|
+
/** Item filter that can be used to filter the items before they are displayed */
|
|
974
|
+
itemPreFilter?: (item: R) => boolean;
|
|
971
975
|
};
|
|
972
976
|
|
|
973
977
|
/**
|
|
@@ -2026,7 +2030,7 @@ declare const layoutVariants: (props?: ({
|
|
|
2026
2030
|
className?: ClassValue;
|
|
2027
2031
|
})) | undefined) => string;
|
|
2028
2032
|
|
|
2029
|
-
export declare type Level = "info" | "warning" | "critical";
|
|
2033
|
+
export declare type Level = "info" | "warning" | "critical" | "positive";
|
|
2030
2034
|
|
|
2031
2035
|
export declare const LineChart: ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
2032
2036
|
lineType?: "natural" | "linear";
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as g, L as pe, c as ge, P as G, a as b, f as ve, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as H, i as U, j as Pe, k as W, S as J, l as M, m as Y, n as Se, O as Fe, o as X, p as De, q as ke, F as K, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as Ae, N as qe, Q as Ge, R as He, X as Ue, T as We, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-
|
|
2
|
-
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Lr, au as Pr, ax as Sr, at as Fr, aL as Dr, as as kr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-
|
|
1
|
+
import { C as g, L as pe, c as ge, P as G, a as b, f as ve, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as H, i as U, j as Pe, k as W, S as J, l as M, m as Y, n as Se, O as Fe, o as X, p as De, q as ke, F as K, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as Ae, N as qe, Q as Ge, R as He, X as Ue, T as We, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-nEHPmQmV.js";
|
|
2
|
+
import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Lr, au as Pr, ax as Sr, at as Fr, aL as Dr, as as kr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-nEHPmQmV.js";
|
|
3
3
|
import { jsx as e, jsxs as c, Fragment as $ } from "react/jsx-runtime";
|
|
4
4
|
import * as E from "react";
|
|
5
5
|
import Qe, { useState as v, forwardRef as I, useRef as ae, useImperativeHandle as Ze, Children as ea, useEffect as re, createContext as aa } from "react";
|