@factorialco/f0-react 1.446.0 → 1.447.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/{F0AiChat-B95s1fWA.js → F0AiChat-DJw3VBYG.js} +2 -2
- package/dist/ai.js +2 -2
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +36 -2
- package/dist/f0.js +2780 -2652
- package/dist/{index-Drho_LGp.js → index-DXzcSrxG.js} +1 -1
- package/dist/{types-CEI7lcP8.js → types-BcyYSuqx.js} +1 -1
- package/package.json +1 -1
|
@@ -222521,8 +222521,8 @@ export {
|
|
|
222521
222521
|
uye as ds,
|
|
222522
222522
|
b3t as dt,
|
|
222523
222523
|
pE as du,
|
|
222524
|
-
|
|
222525
|
-
|
|
222524
|
+
F3t as dv,
|
|
222525
|
+
ott as dw,
|
|
222526
222526
|
DC as dx,
|
|
222527
222527
|
$G as dy,
|
|
222528
222528
|
ZG as dz,
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-DJw3VBYG.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-
|
|
3
|
+
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-BcyYSuqx.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-
|
|
2
|
-
import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-
|
|
1
|
+
import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-DJw3VBYG.js";
|
|
2
|
+
import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-DJw3VBYG.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import * as De from "react";
|
|
5
5
|
import re, { forwardRef as E, useRef as G, useTransition as Il, useState as T, useLayoutEffect as za, useContext as Je, createContext as Ft, useCallback as Q, useMemo as q, useEffect as j, useId as kl, memo as Pa, Fragment as Sl, isValidElement as Al, cloneElement as Ra, Children as $a } from "react";
|
|
6
|
-
import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-
|
|
7
|
-
import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-
|
|
6
|
+
import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-DXzcSrxG.js";
|
|
7
|
+
import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-DXzcSrxG.js";
|
|
8
8
|
const Ml = zn("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -7724,6 +7724,9 @@ declare interface F0TimelineRowBaseProps {
|
|
|
7724
7724
|
hideStatus?: boolean;
|
|
7725
7725
|
}
|
|
7726
7726
|
|
|
7727
|
+
/** Item types that can be rendered inside a multitask row */
|
|
7728
|
+
export declare type F0TimelineRowMultitaskItemProps = F0TimelineRowTaskProps | F0TimelineRowNestedtaskProps;
|
|
7729
|
+
|
|
7727
7730
|
/** Props for a multitask (collapsible group) timeline row */
|
|
7728
7731
|
export declare interface F0TimelineRowMultitaskProps extends F0TimelineRowBaseProps {
|
|
7729
7732
|
/** Number of grouped tasks */
|
|
@@ -7734,13 +7737,44 @@ export declare interface F0TimelineRowMultitaskProps extends F0TimelineRowBasePr
|
|
|
7734
7737
|
expanded: boolean;
|
|
7735
7738
|
/** Callback when multitask row expand/collapse is toggled */
|
|
7736
7739
|
onExpandToggle: () => void;
|
|
7737
|
-
/** The subtask items to render when expanded */
|
|
7740
|
+
/** The subtask items to render when expanded. Can be single tasks or nestedtask groups */
|
|
7741
|
+
items: F0TimelineRowMultitaskItemProps[];
|
|
7742
|
+
}
|
|
7743
|
+
|
|
7744
|
+
/**
|
|
7745
|
+
* Props for a nestedtask timeline row.
|
|
7746
|
+
* Renders a task-style header (custom icon, title, description, chevron toggle)
|
|
7747
|
+
* with collapsible nested items and optional group-level metadata (assignees, file chips, etc.).
|
|
7748
|
+
* Unlike multitask, the header looks like a regular task row with expand/collapse capability.
|
|
7749
|
+
*/
|
|
7750
|
+
export declare interface F0TimelineRowNestedtaskProps extends F0TimelineRowBaseProps {
|
|
7751
|
+
/** The icon representing the task type */
|
|
7752
|
+
icon: IconType;
|
|
7753
|
+
/** Description text (e.g., "Estimated on 18/07/2025") */
|
|
7754
|
+
description?: string;
|
|
7755
|
+
/** Number of nested items (displayed in the progress pill) */
|
|
7756
|
+
taskCount: number;
|
|
7757
|
+
/** Number of completed items (displayed in the progress pill) */
|
|
7758
|
+
completedCount?: number;
|
|
7759
|
+
/** Whether the row is expanded (controlled) */
|
|
7760
|
+
expanded: boolean;
|
|
7761
|
+
/** Callback when expand/collapse is toggled */
|
|
7762
|
+
onExpandToggle: () => void;
|
|
7763
|
+
/** Metadata items displayed below the header (e.g., assignees, file chips). Always visible regardless of expand/collapse */
|
|
7764
|
+
metadata?: (MetadataItem | undefined | boolean)[];
|
|
7765
|
+
/** The nested task items to render when expanded */
|
|
7738
7766
|
items: F0TimelineRowTaskProps[];
|
|
7767
|
+
/** Primary action button (displayed on the right after a divider) */
|
|
7768
|
+
primaryAction?: F0TimelineRowAction;
|
|
7769
|
+
/** Secondary action buttons (displayed on the left) */
|
|
7770
|
+
secondaryActions?: F0TimelineRowAction[];
|
|
7771
|
+
/** Overflow menu items (displayed as a dropdown via ellipsis button) */
|
|
7772
|
+
otherActions?: F0TimelineRowOtherAction[];
|
|
7739
7773
|
}
|
|
7740
7774
|
|
|
7741
7775
|
export declare type F0TimelineRowOtherAction = DropdownItem;
|
|
7742
7776
|
|
|
7743
|
-
export declare type F0TimelineRowProps = F0TimelineRowTaskProps | F0TimelineRowMultitaskProps;
|
|
7777
|
+
export declare type F0TimelineRowProps = F0TimelineRowTaskProps | F0TimelineRowMultitaskProps | F0TimelineRowNestedtaskProps;
|
|
7744
7778
|
|
|
7745
7779
|
/** Props for a single-task timeline row */
|
|
7746
7780
|
export declare interface F0TimelineRowTaskProps extends F0TimelineRowBaseProps {
|