@factorialco/f0-react 8.0.0 → 8.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-D-SbGkQA.js → ChatPdfThumbnail-JAPBWPAq.js} +1 -1
- package/dist/{ChatPostComposerDialog-CUDmQrZz.js → ChatPostComposerDialog-DLIf-Gx3.js} +3 -3
- package/dist/{DocumentToolbar-DK5O8OLV.js → DocumentToolbar-FiVJsvkm.js} +2 -2
- package/dist/{DocxViewer-Dy7DmtpM.js → DocxViewer-lG7Y0L4F.js} +2 -2
- package/dist/{F0AiProcessingOverlay-B__L1Qjb.js → F0AiProcessingOverlay-ClWI2vh7.js} +1 -1
- package/dist/{F0CanvasPanel-bARAG7-q.js → F0CanvasPanel-DnOqQInr.js} +10041 -10007
- package/dist/{F0Map-37roF-Ab.js → F0Map-Cbx0DnAh.js} +4 -4
- package/dist/{F0VideoPlayer-B5WfvDdR.js → F0VideoPlayer-t_pQPcyo.js} +2 -2
- package/dist/{MapProvider-BwmXy5wI.js → MapProvider-Bcy7JzzB.js} +1932 -1910
- package/dist/{SheetViewer-pIMT9_6Q.js → SheetViewer-CezpXejz.js} +2 -2
- package/dist/{TextViewer-BaOlkj7e.js → TextViewer-BCZK5Ila.js} +2 -2
- package/dist/ai.d.ts +9 -9
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +9 -9
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BVi4bHVr.js → experimental-D0Ve_8kM.js} +7 -7
- package/dist/experimental.d.ts +29 -9
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +37 -10
- package/dist/f0.js +4298 -4277
- package/dist/i18n-provider-defaults.d.ts +9 -9
- package/dist/{index-_u67R3pt.js → index-B4Yg6WKd.js} +3 -3
- package/dist/index-D9xpeMNd.js +4 -0
- package/dist/{index-CF7sDswm.js → index-DaBMKMKl.js} +2 -2
- package/dist/{index-yc-TMHHq.js → index-DdvJomED.js} +3 -3
- package/dist/{index-MCMUqnnP.js → index-gYrswRfd.js} +1 -1
- package/dist/{pdfWorker-BKbUTkzK.js → pdfWorker-YYu2-1hI.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-KmC5kkby.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d7 as Nv, d8 as id, d9 as Iv, da as Tv, db as Pt, dc as Rv, dd as Ev, de as Vc, u as re, ab as _e, cl as Pe, aw as ro, aa as wn, d4 as ea, cQ as _i, B as Mn, E as gn, ai as Yn, L as gt, H as na, J as so, y as Me, b_ as ks, K as ia, am as Kc, ci as Yc, aG as ys, bq as lo, ad as Rn, s as Xc, v as ve, cp as Nn, t as Jc, z as ws, w as Qi, x as _s, df as Mv, S as oe, G as Pn, c_ as Li, q as ta, cg as Pr, cB as Ti, ak as Fv, dg as Qc, o as Lr, d3 as Mi, dh as xs, di as Av, aK as wt, aJ as Cs, m as fo, dj as Pv, aC as Lv, cC as xi, dk as co, dl as Zc, dm as Ov, dn as zv, bz as Bv, r as uo, dp as eu, j as mo, dq as Dv, aR as Hv, k as vt, dr as nu, bS as Wv, ds as jv, dt as $v, du as qv, dv as Gv, dw as Or, dx as iu, cF as ho, ay as tu, dy as Uv, dz as Vv, dA as Kv, a8 as au, dB as Yv, dC as Ci, cv as hi, dD as zr, cD as Ss, dE as ou, ah as _t, dF as Wa, dG as ru, dH as Ns, cJ as Xv, dI as Ei, co as oi, dJ as Jv, dK as Qv, dL as Zv, cw as ut, bR as ep, bX as aa, ck as wi, aZ as ja, aP as np, dM as su, a9 as Un, dN as ip, dO as lu, dP as Br, bf as tp, bM as ap, bN as op, bh as du, a1 as Is, dQ as fu, M as rp, N as sp, Q as lp, dR as dp, aY as oa, bG as go, bF as Ts, ch as cu, aU as Rs, bk as fp, bE as cp, bT as up, O as mp, aF as hp, c5 as uu, dS as Kn, cx as mu, cy as hu, cz as gu, bW as vu, dT as gp, dU as vp, dV as vo, dW as pp, dX as bp, a as kp, b as yp, dY as er, af as Dt, ag as Dr, dZ as po, g as wp, d_ as pu, F as _p, d$ as xp, e0 as Cp, bD as bo, e as Es, e1 as Sp, e2 as Np, e3 as Ms, e4 as td, e5 as ya, e6 as Rt, e7 as Ip, c7 as Tp, c6 as bu, bC as ko, b3 as Rp, e8 as Ep, e9 as Mp, bY as ku, c0 as yo, W as Fp, ae as Fs, at as yu, cT as Ap, aL as wo, ea as As, bJ as Pp, bI as Lp, aS as $a, eb as wu, ec as Op, ed as zp, ee as Bp, ef as Dp, eg as Hp, eh as Wp, av as Hr, bw as jp, aH as $p, aM as _o, ei as Ps, ej as Ls, ek as Os, cr as _u, bc as xu, aE as Cu, el as qp, l as xo, cE as zs, cn as Bs, $ as Wr, a0 as Lt, bo as Gp, bb as Up, bA as Vp, bO as Su, bP as Ds, aN as Kp, em as Nu, en as Iu, eo as Tu, ep as Ru, d6 as Yp, d5 as Xp, eq as Hs, bQ as Jp, cs as Qp, cu as Ws, cm as Zp, cd as e0, cA as js, a2 as n0, er as i0, au as Eu, an as ad, as as Mu, b$ as t0, bd as a0, R as nr, ce as o0, cM as r0, es as Si, et as s0, eu as l0, ev as d0, ew as f0, ex as c0, cU as u0, br as Fu, ey as qa, ez as m0, bU as h0, c9 as g0, aW as v0, c4 as ir, aV as p0, bp as b0, aQ as k0, eA as y0, c3 as w0, cO as _0, cP as x0, eB as C0, eC as Au, eD as S0, eE as N0 } from "./F0CanvasPanel-
|
|
1
|
+
import { d7 as Nv, d8 as id, d9 as Iv, da as Tv, db as Pt, dc as Rv, dd as Ev, de as Vc, u as re, ab as _e, cl as Pe, aw as ro, aa as wn, d4 as ea, cQ as _i, B as Mn, E as gn, ai as Yn, L as gt, H as na, J as so, y as Me, b_ as ks, K as ia, am as Kc, ci as Yc, aG as ys, bq as lo, ad as Rn, s as Xc, v as ve, cp as Nn, t as Jc, z as ws, w as Qi, x as _s, df as Mv, S as oe, G as Pn, c_ as Li, q as ta, cg as Pr, cB as Ti, ak as Fv, dg as Qc, o as Lr, d3 as Mi, dh as xs, di as Av, aK as wt, aJ as Cs, m as fo, dj as Pv, aC as Lv, cC as xi, dk as co, dl as Zc, dm as Ov, dn as zv, bz as Bv, r as uo, dp as eu, j as mo, dq as Dv, aR as Hv, k as vt, dr as nu, bS as Wv, ds as jv, dt as $v, du as qv, dv as Gv, dw as Or, dx as iu, cF as ho, ay as tu, dy as Uv, dz as Vv, dA as Kv, a8 as au, dB as Yv, dC as Ci, cv as hi, dD as zr, cD as Ss, dE as ou, ah as _t, dF as Wa, dG as ru, dH as Ns, cJ as Xv, dI as Ei, co as oi, dJ as Jv, dK as Qv, dL as Zv, cw as ut, bR as ep, bX as aa, ck as wi, aZ as ja, aP as np, dM as su, a9 as Un, dN as ip, dO as lu, dP as Br, bf as tp, bM as ap, bN as op, bh as du, a1 as Is, dQ as fu, M as rp, N as sp, Q as lp, dR as dp, aY as oa, bG as go, bF as Ts, ch as cu, aU as Rs, bk as fp, bE as cp, bT as up, O as mp, aF as hp, c5 as uu, dS as Kn, cx as mu, cy as hu, cz as gu, bW as vu, dT as gp, dU as vp, dV as vo, dW as pp, dX as bp, a as kp, b as yp, dY as er, af as Dt, ag as Dr, dZ as po, g as wp, d_ as pu, F as _p, d$ as xp, e0 as Cp, bD as bo, e as Es, e1 as Sp, e2 as Np, e3 as Ms, e4 as td, e5 as ya, e6 as Rt, e7 as Ip, c7 as Tp, c6 as bu, bC as ko, b3 as Rp, e8 as Ep, e9 as Mp, bY as ku, c0 as yo, W as Fp, ae as Fs, at as yu, cT as Ap, aL as wo, ea as As, bJ as Pp, bI as Lp, aS as $a, eb as wu, ec as Op, ed as zp, ee as Bp, ef as Dp, eg as Hp, eh as Wp, av as Hr, bw as jp, aH as $p, aM as _o, ei as Ps, ej as Ls, ek as Os, cr as _u, bc as xu, aE as Cu, el as qp, l as xo, cE as zs, cn as Bs, $ as Wr, a0 as Lt, bo as Gp, bb as Up, bA as Vp, bO as Su, bP as Ds, aN as Kp, em as Nu, en as Iu, eo as Tu, ep as Ru, d6 as Yp, d5 as Xp, eq as Hs, bQ as Jp, cs as Qp, cu as Ws, cm as Zp, cd as e0, cA as js, a2 as n0, er as i0, au as Eu, an as ad, as as Mu, b$ as t0, bd as a0, R as nr, ce as o0, cM as r0, es as Si, et as s0, eu as l0, ev as d0, ew as f0, ex as c0, cU as u0, br as Fu, ey as qa, ez as m0, bU as h0, c9 as g0, aW as v0, c4 as ir, aV as p0, bp as b0, aQ as k0, eA as y0, c3 as w0, cO as _0, cP as x0, eB as C0, eC as Au, eD as S0, eE as N0 } from "./F0CanvasPanel-DnOqQInr.js";
|
|
2
2
|
import { jsxs as v, jsx as a, Fragment as Ne } from "react/jsx-runtime";
|
|
3
3
|
import ge, { useRef as M, useEffect as K, useContext as yn, createContext as vn, useState as W, forwardRef as nn, useId as Oi, useMemo as ee, useCallback as O, useLayoutEffect as hn, Fragment as Hn, useSyncExternalStore as Pu, memo as Zi, useTransition as I0, isValidElement as $s, cloneElement as Lu, Suspense as ra, lazy as Bi, createElement as Ea, Children as qs } from "react";
|
|
4
4
|
import { d as N, u as Ou, f as Ve, P as T0, T as R0, a as E0, b as M0, c as F0 } from "./tooltip-CrXp1Uaz.js";
|
|
5
|
-
import { g as Co, n as zu, r as A0, E as P0, h as L0, p as Et, P as Bu, C as O0, i as z0, j as B0, k as D0, l as od, a as rd, m as H0, b as W0, M as j0, o as $0, q as Du, s as q0, t as G0, v as U0, R as sd, w as Hu, x as V0, y as K0, z as Y0, A as X0, B as J0, D as Wu, G as ju, H as Q0, U as Z0, O as $u, I as qu, J as eb, W as Ki, K as nb, L as ib, N as tb, Q as ab, V as ob, T as rb, X as sb, Y as lb, Z as Gs, _ as db, $ as fb, a0 as Gu, a1 as Uu, a2 as cb, a3 as ub, a4 as mb, a5 as hb, a6 as gb, a7 as vb, a8 as pb, a9 as bb, aa as kb, ab as ld, ac as yb, ad as wb } from "./MapProvider-
|
|
6
|
-
import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-
|
|
5
|
+
import { g as Co, n as zu, r as A0, E as P0, h as L0, p as Et, P as Bu, C as O0, i as z0, j as B0, k as D0, l as od, a as rd, m as H0, b as W0, M as j0, o as $0, q as Du, s as q0, t as G0, v as U0, R as sd, w as Hu, x as V0, y as K0, z as Y0, A as X0, B as J0, D as Wu, G as ju, H as Q0, U as Z0, O as $u, I as qu, J as eb, W as Ki, K as nb, L as ib, N as tb, Q as ab, V as ob, T as rb, X as sb, Y as lb, Z as Gs, _ as db, $ as fb, a0 as Gu, a1 as Uu, a2 as cb, a3 as ub, a4 as mb, a5 as hb, a6 as gb, a7 as vb, a8 as pb, a9 as bb, aa as kb, ab as ld, ac as yb, ad as wb } from "./MapProvider-Bcy7JzzB.js";
|
|
6
|
+
import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-Cbx0DnAh.js";
|
|
7
7
|
import Cb, { createPortal as Ht } from "react-dom";
|
|
8
8
|
import './maplibre-gl.css';/* empty css */
|
|
9
9
|
const Sb = Nv("Search", [
|
|
@@ -15954,7 +15954,7 @@ const Y4 = /* @__PURE__ */ new Set(["blob:", "data:"]), X4 = /* @__PURE__ */ new
|
|
|
15954
15954
|
),
|
|
15955
15955
|
children: e
|
|
15956
15956
|
}
|
|
15957
|
-
), n6 = () => import("./ChatPdfThumbnail-
|
|
15957
|
+
), n6 = () => import("./ChatPdfThumbnail-JAPBWPAq.js"), i6 = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), t6 = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), a6 = () => import("./ChatTextThumbnail-B53pSYUy.js"), o6 = Bi(n6), r6 = Bi(i6), s6 = Bi(t6), l6 = Bi(a6), d6 = 384, f6 = 160, c6 = ({
|
|
15958
15958
|
kind: e,
|
|
15959
15959
|
url: n,
|
|
15960
15960
|
width: i,
|
|
@@ -21746,7 +21746,7 @@ const IS = {
|
|
|
21746
21746
|
}
|
|
21747
21747
|
) }) });
|
|
21748
21748
|
}, LS = Bi(
|
|
21749
|
-
() => import("./index-
|
|
21749
|
+
() => import("./index-DdvJomED.js").then((e) => e.i).then((e) => ({
|
|
21750
21750
|
default: e.F0PdfViewer
|
|
21751
21751
|
}))
|
|
21752
21752
|
), OS = () => {
|
|
@@ -24435,7 +24435,7 @@ const o9 = 1e3, r9 = ({
|
|
|
24435
24435
|
]
|
|
24436
24436
|
}
|
|
24437
24437
|
);
|
|
24438
|
-
}, G9 = () => import("./index-
|
|
24438
|
+
}, G9 = () => import("./index-D9xpeMNd.js").then((e) => ({
|
|
24439
24439
|
default: e.F0VideoPlayer
|
|
24440
24440
|
})), U9 = Bi(G9), V9 = ({
|
|
24441
24441
|
file: e,
|
|
@@ -26125,7 +26125,7 @@ const o9 = 1e3, r9 = ({
|
|
|
26125
26125
|
}
|
|
26126
26126
|
);
|
|
26127
26127
|
}, zI = /* @__PURE__ */ new Set(), BI = Bi(
|
|
26128
|
-
() => import("./ChatPostComposerDialog-
|
|
26128
|
+
() => import("./ChatPostComposerDialog-DLIf-Gx3.js").then((e) => ({
|
|
26129
26129
|
default: e.ChatPostComposerDialog
|
|
26130
26130
|
}))
|
|
26131
26131
|
), DI = () => {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -13115,11 +13115,22 @@ export declare type GroupingDefinition<R extends RecordType> = {
|
|
|
13115
13115
|
label: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => string | Promise<string>;
|
|
13116
13116
|
defaultDirection?: SortOrder;
|
|
13117
13117
|
itemCount?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => number | undefined | Promise<number | undefined>;
|
|
13118
|
+
/**
|
|
13119
|
+
* Shown before the label, e.g. the person, team or company the group
|
|
13120
|
+
* stands for. Every visualization renders it, on first-level groups.
|
|
13121
|
+
*/
|
|
13122
|
+
avatar?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => AvatarVariant | undefined | Promise<AvatarVariant | undefined>;
|
|
13118
13123
|
/**
|
|
13119
13124
|
* Shown at the end of the group's row, like `itemActions`. Only the table
|
|
13120
13125
|
* visualizations render them, on first-level groups.
|
|
13121
13126
|
*/
|
|
13122
13127
|
actions?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => ActionDefinition[] | undefined;
|
|
13128
|
+
/**
|
|
13129
|
+
* Called when the group's row is clicked, on first-level groups of the
|
|
13130
|
+
* table visualizations. In a collapsible grouping the label, counter and
|
|
13131
|
+
* chevron keep opening and closing the group.
|
|
13132
|
+
*/
|
|
13133
|
+
onClick?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => void;
|
|
13123
13134
|
};
|
|
13124
13135
|
};
|
|
13125
13136
|
} & ({
|
|
@@ -13169,7 +13180,9 @@ declare type GroupRecord<RecordType> = {
|
|
|
13169
13180
|
key: string;
|
|
13170
13181
|
label: string | Promise<string>;
|
|
13171
13182
|
itemCount: number | undefined | Promise<number | undefined>;
|
|
13183
|
+
avatar?: AvatarVariant | Promise<AvatarVariant | undefined>;
|
|
13172
13184
|
actions?: ActionDefinition[];
|
|
13185
|
+
onClick?: () => void;
|
|
13173
13186
|
records: RecordType[];
|
|
13174
13187
|
/**
|
|
13175
13188
|
* The next grouping level cut out of `records`, present only when the
|
|
@@ -15162,6 +15175,8 @@ export declare type NavigationFilterComponentProps<T> = {
|
|
|
15162
15175
|
filter: NavigationFilterDefinition;
|
|
15163
15176
|
value: T;
|
|
15164
15177
|
onChange: (value: T) => void;
|
|
15178
|
+
/** View-only: the control renders but cannot change the value. */
|
|
15179
|
+
disabled?: boolean;
|
|
15165
15180
|
};
|
|
15166
15181
|
|
|
15167
15182
|
export declare type NavigationFilterDefinition = DateNavigatorFilterDefinition;
|
|
@@ -15999,6 +16014,11 @@ declare type OneFilterPickerRootProps<Definition extends FiltersDefinition> = {
|
|
|
15999
16014
|
presetActionState?: "save" | "none";
|
|
16000
16015
|
/** Opens the preset create/update dialog. */
|
|
16001
16016
|
onPresetAction?: () => void;
|
|
16017
|
+
/**
|
|
16018
|
+
* Renders the picker view-only: the trigger, chips and presets stay visible
|
|
16019
|
+
* so the reader sees which filters apply, but nothing can be changed.
|
|
16020
|
+
*/
|
|
16021
|
+
disabled?: boolean;
|
|
16002
16022
|
};
|
|
16003
16023
|
|
|
16004
16024
|
/**
|
|
@@ -20613,10 +20633,9 @@ declare module "@tiptap/core" {
|
|
|
20613
20633
|
|
|
20614
20634
|
declare module "@tiptap/core" {
|
|
20615
20635
|
interface Commands<ReturnType> {
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
outdent: () => ReturnType;
|
|
20636
|
+
fontSize: {
|
|
20637
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
20638
|
+
unsetFontSize: () => ReturnType;
|
|
20620
20639
|
};
|
|
20621
20640
|
}
|
|
20622
20641
|
}
|
|
@@ -20624,9 +20643,8 @@ declare module "@tiptap/core" {
|
|
|
20624
20643
|
|
|
20625
20644
|
declare module "@tiptap/core" {
|
|
20626
20645
|
interface Commands<ReturnType> {
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
unsetFontSize: () => ReturnType;
|
|
20646
|
+
moodTracker: {
|
|
20647
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
20630
20648
|
};
|
|
20631
20649
|
}
|
|
20632
20650
|
}
|
|
@@ -20634,8 +20652,10 @@ declare module "@tiptap/core" {
|
|
|
20634
20652
|
|
|
20635
20653
|
declare module "@tiptap/core" {
|
|
20636
20654
|
interface Commands<ReturnType> {
|
|
20637
|
-
|
|
20638
|
-
|
|
20655
|
+
indent: {
|
|
20656
|
+
setIndent: (level: number) => ReturnType;
|
|
20657
|
+
unsetIndent: () => ReturnType;
|
|
20658
|
+
outdent: () => ReturnType;
|
|
20639
20659
|
};
|
|
20640
20660
|
}
|
|
20641
20661
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { v as s, t, A as i, b as o, L as r, bi as n, bh as l, bj as S, B as d, w as b, y as g, N as u, bp as C, bq as c, bz as m, x as F, C as P, bo as p, bA as T, D as h, z as I, a5 as M, bV as E, c0 as A, M as f, bU as L, E as R, d as y, g as B, l as D, ap as _, as as k, aq as v, an as O, G as W, be as H, F as N, ay as x, h as V, aD as G, az as w, aA as U, aB as z, n as K, o as X, ar as j, H as q, bD as J, bE as Q, bs as Y, ax as Z, bH as $, bS as aa, bk as ea, aS as sa, aC as ta, aQ as ia, aP as oa, aI as ra, aR as na, a8 as la, bC as Sa, W as da, ah as ba, J as ga, O as ua, K as Ca, c4 as ca, X as ma, P as Fa, Q as Pa, T as pa, bl as Ta, R as ha, bQ as Ia, bW as Ma, S as Ea, ab as Aa, ac as fa, a0 as La, a1 as Ra, a2 as ya, $ as Ba, a3 as Da, Y as _a, a4 as ka, a6 as va, a7 as Oa, a9 as Wa, aa as Ha, ad as Na, ae as xa, af as Va, b_ as Ga, bZ as wa, bg as Ua, bf as za, bn as Ka, bB as Xa, by as ja, bm as qa, ag as Ja, bt as Qa, b$ as Ya, c2 as Za, br as $a, bw as ae, bu as ee, c3 as se, bx as te, bv as ie, c1 as oe, e as re, i as ne, aY as le, ak as Se, am as de, aL as be, bY as ge, bX as ue, al as Ce, at as ce, f as me, b9 as Fe, bd as Pe, b7 as pe, b8 as Te, b5 as he, b6 as Ie, ba as Me, bb as Ee, b4 as Ae, j as fe, k as Le, bc as Re, bK as ye, bI as Be, aw as De, au as _e, av as ke, aU as ve, bT as Oe, bJ as We, p as He, q as Ne, m as xe, a$ as Ve, I as Ge, r as we, b0 as Ue, bO as ze, aX as Ke, aW as Xe, b1 as je, bG as qe, bL as Je, ai as Qe, b2 as Ye, bR as Ze, aT as $e, aV as as, aZ as es, a_ as ss, c as ts, ao as is, aj as os, u as rs, aE as ns, aF as ls, aG as Ss, aH as ds, bF as bs, aM as gs, aN as us, aJ as Cs, aK as cs, V as ms, U as Fs, _ as Ps, Z as ps, aO as Ts, b3 as hs, bP as Is, bN as Ms, bM as Es } from "./experimental-
|
|
2
|
-
import { ea as fs, eN as Ls, eM as Rs, eZ as ys, r as Bs, eK as Ds, cG as _s, ck as ks, cD as vs, eF as Os, cq as Ws, cq as Hs, cn as Ns, eG as xs, cJ as Vs, eq as Gs, cK as ws, f0 as Us, eL as zs, eV as Ks, eW as Xs, e9 as js, e_ as qs, k as Js, eb as Qs, d4 as Ys, eJ as Zs, dT as $s, eO as at, T as et, h as st, co as tt, eX as it, f1 as ot, eY as rt, e$ as nt, eU as lt, eR as St, eT as dt, eP as bt, eH as gt, eI as ut, eB as Ct, eS as ct, eQ as mt, dV as Ft } from "./F0CanvasPanel-
|
|
3
|
-
import { aQ as pt, aR as Tt, ak as ht, al as It, ai as Mt, av as Et, s as At, am as ft, a$ as Lt, ar as Rt, a_ as yt, au as Bt, aj as Dt, aO as _t, aw as kt, b1 as vt, b0 as Ot, aE as Wt, aF as Ht, ax as Nt, aJ as xt, F as Vt, ah as Gt, aL as wt, aH as Ut, aI as zt, aC as Kt, aA as Xt, b5 as jt, aB as qt, aM as Jt, aN as Qt, an as Yt, b2 as Zt, b3 as $t, aD as ai, aP as ei, aX as si, O as ti, aZ as ii, ao as oi, b7 as ri, aq as ni, as as li, aJ as Si, b4 as di, aK as bi, aG as gi, b6 as ui, ap as Ci, W as ci, at as mi, ag as Fi, ae as Pi, af as pi, aU as Ti, aV as hi, aS as Ii, b8 as Mi, aY as Ei, az as Ai, ay as fi, u as Li, y as Ri, aT as yi, aW as Bi, Z as Di } from "./MapProvider-
|
|
4
|
-
import { b as ki, e as vi, i as Oi, g as Wi, h as Hi, a as Ni, R as xi, l as Vi, f as Gi, j as wi, k as Ui, u as zi } from "./F0Map-
|
|
1
|
+
import { v as s, t, A as i, b as o, L as r, bi as n, bh as l, bj as S, B as d, w as b, y as g, N as u, bp as C, bq as c, bz as m, x as F, C as P, bo as p, bA as T, D as h, z as I, a5 as M, bV as E, c0 as A, M as f, bU as L, E as R, d as y, g as B, l as D, ap as _, as as k, aq as v, an as O, G as W, be as H, F as N, ay as x, h as V, aD as G, az as w, aA as U, aB as z, n as K, o as X, ar as j, H as q, bD as J, bE as Q, bs as Y, ax as Z, bH as $, bS as aa, bk as ea, aS as sa, aC as ta, aQ as ia, aP as oa, aI as ra, aR as na, a8 as la, bC as Sa, W as da, ah as ba, J as ga, O as ua, K as Ca, c4 as ca, X as ma, P as Fa, Q as Pa, T as pa, bl as Ta, R as ha, bQ as Ia, bW as Ma, S as Ea, ab as Aa, ac as fa, a0 as La, a1 as Ra, a2 as ya, $ as Ba, a3 as Da, Y as _a, a4 as ka, a6 as va, a7 as Oa, a9 as Wa, aa as Ha, ad as Na, ae as xa, af as Va, b_ as Ga, bZ as wa, bg as Ua, bf as za, bn as Ka, bB as Xa, by as ja, bm as qa, ag as Ja, bt as Qa, b$ as Ya, c2 as Za, br as $a, bw as ae, bu as ee, c3 as se, bx as te, bv as ie, c1 as oe, e as re, i as ne, aY as le, ak as Se, am as de, aL as be, bY as ge, bX as ue, al as Ce, at as ce, f as me, b9 as Fe, bd as Pe, b7 as pe, b8 as Te, b5 as he, b6 as Ie, ba as Me, bb as Ee, b4 as Ae, j as fe, k as Le, bc as Re, bK as ye, bI as Be, aw as De, au as _e, av as ke, aU as ve, bT as Oe, bJ as We, p as He, q as Ne, m as xe, a$ as Ve, I as Ge, r as we, b0 as Ue, bO as ze, aX as Ke, aW as Xe, b1 as je, bG as qe, bL as Je, ai as Qe, b2 as Ye, bR as Ze, aT as $e, aV as as, aZ as es, a_ as ss, c as ts, ao as is, aj as os, u as rs, aE as ns, aF as ls, aG as Ss, aH as ds, bF as bs, aM as gs, aN as us, aJ as Cs, aK as cs, V as ms, U as Fs, _ as Ps, Z as ps, aO as Ts, b3 as hs, bP as Is, bN as Ms, bM as Es } from "./experimental-D0Ve_8kM.js";
|
|
2
|
+
import { ea as fs, eN as Ls, eM as Rs, eZ as ys, r as Bs, eK as Ds, cG as _s, ck as ks, cD as vs, eF as Os, cq as Ws, cq as Hs, cn as Ns, eG as xs, cJ as Vs, eq as Gs, cK as ws, f0 as Us, eL as zs, eV as Ks, eW as Xs, e9 as js, e_ as qs, k as Js, eb as Qs, d4 as Ys, eJ as Zs, dT as $s, eO as at, T as et, h as st, co as tt, eX as it, f1 as ot, eY as rt, e$ as nt, eU as lt, eR as St, eT as dt, eP as bt, eH as gt, eI as ut, eB as Ct, eS as ct, eQ as mt, dV as Ft } from "./F0CanvasPanel-DnOqQInr.js";
|
|
3
|
+
import { aQ as pt, aR as Tt, ak as ht, al as It, ai as Mt, av as Et, s as At, am as ft, a$ as Lt, ar as Rt, a_ as yt, au as Bt, aj as Dt, aO as _t, aw as kt, b1 as vt, b0 as Ot, aE as Wt, aF as Ht, ax as Nt, aJ as xt, F as Vt, ah as Gt, aL as wt, aH as Ut, aI as zt, aC as Kt, aA as Xt, b5 as jt, aB as qt, aM as Jt, aN as Qt, an as Yt, b2 as Zt, b3 as $t, aD as ai, aP as ei, aX as si, O as ti, aZ as ii, ao as oi, b7 as ri, aq as ni, as as li, aJ as Si, b4 as di, aK as bi, aG as gi, b6 as ui, ap as Ci, W as ci, at as mi, ag as Fi, ae as Pi, af as pi, aU as Ti, aV as hi, aS as Ii, b8 as Mi, aY as Ei, az as Ai, ay as fi, u as Li, y as Ri, aT as yi, aW as Bi, Z as Di } from "./MapProvider-Bcy7JzzB.js";
|
|
4
|
+
import { b as ki, e as vi, i as Oi, g as Wi, h as Hi, a as Ni, R as xi, l as Vi, f as Gi, j as wi, k as Ui, u as zi } from "./F0Map-Cbx0DnAh.js";
|
|
5
5
|
export {
|
|
6
6
|
pt as AUTO_PER_PAGE_MAX,
|
|
7
7
|
Tt as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
package/dist/f0.d.ts
CHANGED
|
@@ -8420,7 +8420,7 @@ export declare interface F0AlertProps {
|
|
|
8420
8420
|
* @experimental This is an experimental component use it at your own risk
|
|
8421
8421
|
*/
|
|
8422
8422
|
export declare const F0AnalyticsDashboard: {
|
|
8423
|
-
<Filters extends FiltersDefinition_2 = FiltersDefinition_2>({ filters, presets, defaultFilters, filtersValue, onFiltersChange, items, itemFilters, editMode, onLayoutChange, enableExport, exportFilename, onExportReady, resetKey, onTransformChart, onAskAi, onAskAiTarget, navigationFilters, filtersLoading, }: F0AnalyticsDashboardProps_2<Filters>): JSX_2.Element;
|
|
8423
|
+
<Filters extends FiltersDefinition_2 = FiltersDefinition_2>({ filters, presets, defaultFilters, filtersValue, onFiltersChange, items, itemFilters, editMode, readOnly, onLayoutChange, enableExport, exportFilename, onExportReady, resetKey, onTransformChart, onAskAi, onAskAiTarget, navigationFilters, filtersLoading, }: F0AnalyticsDashboardProps_2<Filters>): JSX_2.Element;
|
|
8424
8424
|
displayName: string;
|
|
8425
8425
|
};
|
|
8426
8426
|
|
|
@@ -8574,6 +8574,15 @@ export declare interface F0AnalyticsDashboardProps<Filters extends FiltersDefini
|
|
|
8574
8574
|
* Rendered above the grid alongside the regular filter bar.
|
|
8575
8575
|
*/
|
|
8576
8576
|
navigationFilters?: NavigationFiltersDefinition;
|
|
8577
|
+
/**
|
|
8578
|
+
* View-only dashboard for readers who may look but not change anything:
|
|
8579
|
+
* the filter bar and date navigator render disabled, and the per-widget
|
|
8580
|
+
* "Ask One" entry is withheld. It overrides `editMode`, `itemFilters` and
|
|
8581
|
+
* `onTransformChart`: widgets cannot be moved, resized, deleted, filtered or
|
|
8582
|
+
* switched to another chart type.
|
|
8583
|
+
* @default false
|
|
8584
|
+
*/
|
|
8585
|
+
readOnly?: boolean;
|
|
8577
8586
|
}
|
|
8578
8587
|
|
|
8579
8588
|
export declare type F0AnySectionConfig = F0PerSectionSectionConfig | F0ContentSectionConfig;
|
|
@@ -15838,11 +15847,22 @@ export declare type GroupingDefinition<R extends RecordType> = {
|
|
|
15838
15847
|
label: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => string | Promise<string>;
|
|
15839
15848
|
defaultDirection?: SortOrder;
|
|
15840
15849
|
itemCount?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => number | undefined | Promise<number | undefined>;
|
|
15850
|
+
/**
|
|
15851
|
+
* Shown before the label, e.g. the person, team or company the group
|
|
15852
|
+
* stands for. Every visualization renders it, on first-level groups.
|
|
15853
|
+
*/
|
|
15854
|
+
avatar?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => AvatarVariant | undefined | Promise<AvatarVariant | undefined>;
|
|
15841
15855
|
/**
|
|
15842
15856
|
* Shown at the end of the group's row, like `itemActions`. Only the table
|
|
15843
15857
|
* visualizations render them, on first-level groups.
|
|
15844
15858
|
*/
|
|
15845
15859
|
actions?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => ActionDefinition[] | undefined;
|
|
15860
|
+
/**
|
|
15861
|
+
* Called when the group's row is clicked, on first-level groups of the
|
|
15862
|
+
* table visualizations. In a collapsible grouping the label, counter and
|
|
15863
|
+
* chevron keep opening and closing the group.
|
|
15864
|
+
*/
|
|
15865
|
+
onClick?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => void;
|
|
15846
15866
|
};
|
|
15847
15867
|
};
|
|
15848
15868
|
} & ({
|
|
@@ -15892,7 +15912,9 @@ export declare type GroupRecord<RecordType> = {
|
|
|
15892
15912
|
key: string;
|
|
15893
15913
|
label: string | Promise<string>;
|
|
15894
15914
|
itemCount: number | undefined | Promise<number | undefined>;
|
|
15915
|
+
avatar?: AvatarVariant | Promise<AvatarVariant | undefined>;
|
|
15895
15916
|
actions?: ActionDefinition[];
|
|
15917
|
+
onClick?: () => void;
|
|
15896
15918
|
records: RecordType[];
|
|
15897
15919
|
/**
|
|
15898
15920
|
* The next grouping level cut out of `records`, present only when the
|
|
@@ -18098,6 +18120,11 @@ declare type OneFilterPickerRootProps<Definition extends FiltersDefinition> = {
|
|
|
18098
18120
|
presetActionState?: "save" | "none";
|
|
18099
18121
|
/** Opens the preset create/update dialog. */
|
|
18100
18122
|
onPresetAction?: () => void;
|
|
18123
|
+
/**
|
|
18124
|
+
* Renders the picker view-only: the trigger, chips and presets stay visible
|
|
18125
|
+
* so the reader sees which filters apply, but nothing can be changed.
|
|
18126
|
+
*/
|
|
18127
|
+
disabled?: boolean;
|
|
18101
18128
|
};
|
|
18102
18129
|
|
|
18103
18130
|
export declare type OneIconSize = (typeof oneIconSizes)[number];
|
|
@@ -22529,10 +22556,9 @@ declare module "@tiptap/core" {
|
|
|
22529
22556
|
|
|
22530
22557
|
declare module "@tiptap/core" {
|
|
22531
22558
|
interface Commands<ReturnType> {
|
|
22532
|
-
|
|
22533
|
-
|
|
22534
|
-
|
|
22535
|
-
outdent: () => ReturnType;
|
|
22559
|
+
fontSize: {
|
|
22560
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
22561
|
+
unsetFontSize: () => ReturnType;
|
|
22536
22562
|
};
|
|
22537
22563
|
}
|
|
22538
22564
|
}
|
|
@@ -22540,9 +22566,8 @@ declare module "@tiptap/core" {
|
|
|
22540
22566
|
|
|
22541
22567
|
declare module "@tiptap/core" {
|
|
22542
22568
|
interface Commands<ReturnType> {
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
unsetFontSize: () => ReturnType;
|
|
22569
|
+
moodTracker: {
|
|
22570
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
22546
22571
|
};
|
|
22547
22572
|
}
|
|
22548
22573
|
}
|
|
@@ -22550,8 +22575,10 @@ declare module "@tiptap/core" {
|
|
|
22550
22575
|
|
|
22551
22576
|
declare module "@tiptap/core" {
|
|
22552
22577
|
interface Commands<ReturnType> {
|
|
22553
|
-
|
|
22554
|
-
|
|
22578
|
+
indent: {
|
|
22579
|
+
setIndent: (level: number) => ReturnType;
|
|
22580
|
+
unsetIndent: () => ReturnType;
|
|
22581
|
+
outdent: () => ReturnType;
|
|
22555
22582
|
};
|
|
22556
22583
|
}
|
|
22557
22584
|
}
|