@factorialco/f0-react 4.61.1 → 4.62.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-BvqoVZ2X.js → ChatPdfThumbnail-CbjsTpR4.js} +1 -1
- package/dist/{DocumentToolbar-o3LpYNlt.js → DocumentToolbar-DT0gyO1A.js} +1 -1
- package/dist/{DocxViewer-C2NRSKDS.js → DocxViewer-mC0BJR8R.js} +1 -1
- package/dist/{SheetViewer-wQApTl1z.js → SheetViewer-Bt7PwvEj.js} +1 -1
- package/dist/{TextViewer-D7UtF0eS.js → TextViewer-CMeFlTaI.js} +1 -1
- package/dist/ai.d.ts +7 -7
- package/dist/component-status.d.ts +7 -7
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +14 -7
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +14 -7
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/{index-BN83B1xz.js → index-BLYqC62j.js} +2 -2
- package/dist/{index-4f0dxc1K.js → index-y-Yg5X2z.js} +4011 -4007
- package/dist/{pdfWorker-DXwMD3Dk.js → pdfWorker-Cv5d3RGQ.js} +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -7556,6 +7556,13 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
|
|
|
7556
7556
|
* `source.lanes`). Enables the onboarding case where each policy version has
|
|
7557
7557
|
* its own phases. NOTE: API shape pending Foundations review. */
|
|
7558
7558
|
getLanesForGroup?: (groupKey: string) => ReadonlyArray<KanbanLaneDefinition>;
|
|
7559
|
+
/** Whether each group header shows a selection checkbox when the collection is
|
|
7560
|
+
* selectable. Defaults to `true` (parity with Card/List). Set to `false` to
|
|
7561
|
+
* keep per-card selection while hiding the group-level checkbox — e.g. when
|
|
7562
|
+
* "select a whole group" isn't a meaningful action for the consumer. Note: a
|
|
7563
|
+
* collapsed group unmounts its cards, so with `false` the group's items can
|
|
7564
|
+
* only be selected once the group is expanded. */
|
|
7565
|
+
selectableGroups?: boolean;
|
|
7559
7566
|
title?: (record: Record) => string;
|
|
7560
7567
|
description?: (record: Record) => string;
|
|
7561
7568
|
avatar?: (record: Record) => CardAvatarVariant;
|
|
@@ -11553,8 +11560,11 @@ declare module "@tiptap/core" {
|
|
|
11553
11560
|
|
|
11554
11561
|
declare module "@tiptap/core" {
|
|
11555
11562
|
interface Commands<ReturnType> {
|
|
11556
|
-
|
|
11557
|
-
|
|
11563
|
+
enhanceHighlight: {
|
|
11564
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
11565
|
+
placeholder?: string;
|
|
11566
|
+
}) => ReturnType;
|
|
11567
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
11558
11568
|
};
|
|
11559
11569
|
}
|
|
11560
11570
|
}
|
|
@@ -11562,11 +11572,8 @@ declare module "@tiptap/core" {
|
|
|
11562
11572
|
|
|
11563
11573
|
declare module "@tiptap/core" {
|
|
11564
11574
|
interface Commands<ReturnType> {
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
placeholder?: string;
|
|
11568
|
-
}) => ReturnType;
|
|
11569
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
11575
|
+
moodTracker: {
|
|
11576
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
11570
11577
|
};
|
|
11571
11578
|
}
|
|
11572
11579
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -3,8 +3,8 @@ import { cL as R0, cK as E0, cX as L0, cH as z0, cI as A0, cB as F0, cC as P0, 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-
|
|
7
|
-
import { a3 as ix, a4 as ax, t as sx, v as lx, r as cx, J as dx, w as ux, E as fx, ae as hx, I as mx, s as px, a1 as gx, ag as bx, af as vx, U as xx, aj as yx, F as wx, _ as Nx, X as Cx, N as Ix, al as Sx, Q as kx, $ as Tx, a0 as Rx, x as Ex, ah as Lx, ai as zx, T as Ax, a2 as Fx, ab as Px, ad as Mx, y as Ox, D as Dx, G as Bx, Y as _x, ak as Hx, Z as $x, W as Wx, am as jx, z as Vx, H as Ux, o as Gx, q as Kx, a7 as qx, a8 as Yx, a5 as Xx, ac as Qx, K as Jx, a9 as Zx, a6 as e1, aa as t1 } from "./index-
|
|
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-y-Yg5X2z.js";
|
|
7
|
+
import { a3 as ix, a4 as ax, t as sx, v as lx, r as cx, J as dx, w as ux, E as fx, ae as hx, I as mx, s as px, a1 as gx, ag as bx, af as vx, U as xx, aj as yx, F as wx, _ as Nx, X as Cx, N as Ix, al as Sx, Q as kx, $ as Tx, a0 as Rx, x as Ex, ah as Lx, ai as zx, T as Ax, a2 as Fx, ab as Px, ad as Mx, y as Ox, D as Dx, G as Bx, Y as _x, ak as Hx, Z as $x, W as Wx, am as jx, z as Vx, H as Ux, o as Gx, q as Kx, a7 as qx, a8 as Yx, a5 as Xx, ac as Qx, K as Jx, a9 as Zx, a6 as e1, aa as t1 } from "./index-y-Yg5X2z.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" }],
|
|
@@ -8425,7 +8425,7 @@ const $h = {
|
|
|
8425
8425
|
] })
|
|
8426
8426
|
] }) });
|
|
8427
8427
|
}, Jh = tn(
|
|
8428
|
-
() => import("./index-
|
|
8428
|
+
() => import("./index-BLYqC62j.js").then((e) => e.i).then((e) => ({
|
|
8429
8429
|
default: e.F0PdfViewer
|
|
8430
8430
|
}))
|
|
8431
8431
|
), Zh = () => {
|
|
@@ -12641,7 +12641,7 @@ const Wp = (e) => {
|
|
|
12641
12641
|
}
|
|
12642
12642
|
)
|
|
12643
12643
|
] });
|
|
12644
|
-
}, Jp = tn(() => import("./ChatPdfThumbnail-
|
|
12644
|
+
}, Jp = tn(() => import("./ChatPdfThumbnail-CbjsTpR4.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) => {
|
|
12645
12645
|
const [t, r] = $(!1);
|
|
12646
12646
|
return te(() => {
|
|
12647
12647
|
const o = e.current;
|
package/dist/f0.d.ts
CHANGED
|
@@ -13682,6 +13682,13 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
|
|
|
13682
13682
|
* `source.lanes`). Enables the onboarding case where each policy version has
|
|
13683
13683
|
* its own phases. NOTE: API shape pending Foundations review. */
|
|
13684
13684
|
getLanesForGroup?: (groupKey: string) => ReadonlyArray<KanbanLaneDefinition>;
|
|
13685
|
+
/** Whether each group header shows a selection checkbox when the collection is
|
|
13686
|
+
* selectable. Defaults to `true` (parity with Card/List). Set to `false` to
|
|
13687
|
+
* keep per-card selection while hiding the group-level checkbox — e.g. when
|
|
13688
|
+
* "select a whole group" isn't a meaningful action for the consumer. Note: a
|
|
13689
|
+
* collapsed group unmounts its cards, so with `false` the group's items can
|
|
13690
|
+
* only be selected once the group is expanded. */
|
|
13691
|
+
selectableGroups?: boolean;
|
|
13685
13692
|
title?: (record: Record) => string;
|
|
13686
13693
|
description?: (record: Record) => string;
|
|
13687
13694
|
avatar?: (record: Record) => CardAvatarVariant;
|
|
@@ -18748,8 +18755,11 @@ declare module "@tiptap/core" {
|
|
|
18748
18755
|
|
|
18749
18756
|
declare module "@tiptap/core" {
|
|
18750
18757
|
interface Commands<ReturnType> {
|
|
18751
|
-
|
|
18752
|
-
|
|
18758
|
+
enhanceHighlight: {
|
|
18759
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
18760
|
+
placeholder?: string;
|
|
18761
|
+
}) => ReturnType;
|
|
18762
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
18753
18763
|
};
|
|
18754
18764
|
}
|
|
18755
18765
|
}
|
|
@@ -18757,11 +18767,8 @@ declare module "@tiptap/core" {
|
|
|
18757
18767
|
|
|
18758
18768
|
declare module "@tiptap/core" {
|
|
18759
18769
|
interface Commands<ReturnType> {
|
|
18760
|
-
|
|
18761
|
-
|
|
18762
|
-
placeholder?: string;
|
|
18763
|
-
}) => ReturnType;
|
|
18764
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
18770
|
+
moodTracker: {
|
|
18771
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
18765
18772
|
};
|
|
18766
18773
|
}
|
|
18767
18774
|
}
|
package/dist/f0.js
CHANGED
|
@@ -7,10 +7,10 @@ import { D as TF, E as DF, G as AF, H as MF, I as rI, J as LF, K as EF, L as NF,
|
|
|
7
7
|
import { A as Eve, C as Nve, t as Ive, s as kve, v as Pve, y as Rve, l as Ove, i as Bve, q as zve, z as Vve, B as Fve, p as Gve, r as Hve, j as Wve, e as Uve, g as $ve, k as Yve, T as Xve, w as qve, h as Zve, a as jve, n as Kve, m as Qve, o as Jve, b as epe, f as tpe, x as rpe, c as npe, d as ipe, u as ape } from "./F0AiProcessingOverlay-DWjggPHl.js";
|
|
8
8
|
import { d as ee, u as ap, g as zF, h as nl, P as pf, i as Zl, j as VF, f as bi } from "./tooltip-BH6Se8A4.js";
|
|
9
9
|
import { createPortal as op } from "react-dom";
|
|
10
|
-
import { C as FF, an as GF, ao as HF, ap as WF, aq as Uw, ar as UF, as as $F, at as YF, au as XF, av as qF, aw as ZF, ax as jF, i as KF, F as aI, ay as QF, az as JF, aA as eG, aB as tG, aC as rG, aD as oI, aE as nG, aF as sp, aG as Ya, aH as iG, aI as U_, aJ as $_, I as aG, aK as oG, aL as ws, aM as sI, aN as sG, aO as lG, aP as uG, aQ as cG, aR as fG, aS as dG, _ as hG, ae as vG, aT as pG, U as gG, aU as mG, aV as yG, c as lp, R as Y_, u as X_, Y as lI, O as q_, aW as uI, aX as $w, aY as Z_, r as bG, e as cI, a2 as fI, aZ as _G, a_ as xG, a$ as wG, b0 as SG, M as CG } from "./index-
|
|
11
|
-
import { t as spe, v as lpe, J as upe, w as cpe, E as fpe, bm as dpe, bl as hpe, bf as vpe, b2 as ppe, b1 as gpe, b3 as mpe, b4 as ype, b6 as bpe, b7 as _pe, ag as xpe, af as wpe, aj as Spe, X as Cpe, N as Tpe, al as Dpe, Q as Ape, x as Mpe, bn as Lpe, ah as Epe, ai as Npe, T as Ipe, y as kpe, P as Ppe, D as Rpe, G as Ope, ak as Bpe, W as zpe, am as Vpe, z as Fpe, H as Gpe, bp as Hpe, o as Wpe, q as Upe, be as $pe, bj as Ype, bj as Xpe, bk as qpe, ba as Zpe, b9 as jpe, bo as Kpe, ac as Qpe, bc as Jpe, bd as ege, K as tge, bq as rge, br as nge, f as ige, bg as age, bh as oge, bi as sge, b5 as lge, bb as uge, g as cge, j as fge, b8 as dge, bs as hge } from "./index-
|
|
12
|
-
import { F as pge, p as gge } from "./index-
|
|
13
|
-
import { c as yge } from "./pdfWorker-
|
|
10
|
+
import { C as FF, an as GF, ao as HF, ap as WF, aq as Uw, ar as UF, as as $F, at as YF, au as XF, av as qF, aw as ZF, ax as jF, i as KF, F as aI, ay as QF, az as JF, aA as eG, aB as tG, aC as rG, aD as oI, aE as nG, aF as sp, aG as Ya, aH as iG, aI as U_, aJ as $_, I as aG, aK as oG, aL as ws, aM as sI, aN as sG, aO as lG, aP as uG, aQ as cG, aR as fG, aS as dG, _ as hG, ae as vG, aT as pG, U as gG, aU as mG, aV as yG, c as lp, R as Y_, u as X_, Y as lI, O as q_, aW as uI, aX as $w, aY as Z_, r as bG, e as cI, a2 as fI, aZ as _G, a_ as xG, a$ as wG, b0 as SG, M as CG } from "./index-y-Yg5X2z.js";
|
|
11
|
+
import { t as spe, v as lpe, J as upe, w as cpe, E as fpe, bm as dpe, bl as hpe, bf as vpe, b2 as ppe, b1 as gpe, b3 as mpe, b4 as ype, b6 as bpe, b7 as _pe, ag as xpe, af as wpe, aj as Spe, X as Cpe, N as Tpe, al as Dpe, Q as Ape, x as Mpe, bn as Lpe, ah as Epe, ai as Npe, T as Ipe, y as kpe, P as Ppe, D as Rpe, G as Ope, ak as Bpe, W as zpe, am as Vpe, z as Fpe, H as Gpe, bp as Hpe, o as Wpe, q as Upe, be as $pe, bj as Ype, bj as Xpe, bk as qpe, ba as Zpe, b9 as jpe, bo as Kpe, ac as Qpe, bc as Jpe, bd as ege, K as tge, bq as rge, br as nge, f as ige, bg as age, bh as oge, bi as sge, b5 as lge, bb as uge, g as cge, j as fge, b8 as dge, bs as hge } from "./index-y-Yg5X2z.js";
|
|
12
|
+
import { F as pge, p as gge } from "./index-BLYqC62j.js";
|
|
13
|
+
import { c as yge } from "./pdfWorker-Cv5d3RGQ.js";
|
|
14
14
|
import { g as TG } from "./_commonjsHelpers-ByX85dGu.js";
|
|
15
15
|
import { utils as hl, write as dI } from "./xlsx-CzlURDDb.js";
|
|
16
16
|
import { defaultTranslations as _ge } from "./i18n-provider-defaults.js";
|
|
@@ -1069,8 +1069,11 @@ declare module "@tiptap/core" {
|
|
|
1069
1069
|
|
|
1070
1070
|
declare module "@tiptap/core" {
|
|
1071
1071
|
interface Commands<ReturnType> {
|
|
1072
|
-
|
|
1073
|
-
|
|
1072
|
+
enhanceHighlight: {
|
|
1073
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
1074
|
+
placeholder?: string;
|
|
1075
|
+
}) => ReturnType;
|
|
1076
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
1074
1077
|
};
|
|
1075
1078
|
}
|
|
1076
1079
|
}
|
|
@@ -1078,11 +1081,8 @@ declare module "@tiptap/core" {
|
|
|
1078
1081
|
|
|
1079
1082
|
declare module "@tiptap/core" {
|
|
1080
1083
|
interface Commands<ReturnType> {
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
placeholder?: string;
|
|
1084
|
-
}) => ReturnType;
|
|
1085
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
1084
|
+
moodTracker: {
|
|
1085
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
1086
1086
|
};
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-DZnIZ1lj.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-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Cv5d3RGQ.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-
|
|
225
|
+
const qe = J(() => import("./SheetViewer-Bt7PwvEj.js")), Ge = J(() => import("./DocxViewer-mC0BJR8R.js")), Ze = J(() => import("./TextViewer-CMeFlTaI.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 });
|