@factorialco/f0-react 2.30.2 → 2.32.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/ai.d.ts CHANGED
@@ -812,6 +812,28 @@ export declare type CanvasActions = {
812
812
  dashboard?: DashboardCanvasActions;
813
813
  };
814
814
 
815
+ declare type CanvasCardAction = {
816
+ type: "open";
817
+ onOpen: () => void;
818
+ onClose: () => void;
819
+ /** When false, hides the Open/Close button but the card stays clickable. Default true. */
820
+ showButton?: boolean;
821
+ } | {
822
+ type: "custom";
823
+ icon: IconType;
824
+ label: string;
825
+ onClick: () => void;
826
+ hideLabel?: boolean;
827
+ };
828
+
829
+ declare type CanvasCardAvatar = {
830
+ type: "module";
831
+ module: ModuleId;
832
+ } | {
833
+ type: "file";
834
+ file: FileDef;
835
+ };
836
+
815
837
  /**
816
838
  * Discriminated union for canvas panel content.
817
839
  * Add new entity types to this union as they are implemented.
@@ -2911,30 +2933,25 @@ declare type F0AvatarTeamProps = {
2911
2933
 
2912
2934
  /**
2913
2935
  * Shared inline card rendered in the AI chat for any canvas entity.
2914
- * Shows a module avatar, title, description, and an Open/Close toggle button.
2915
- * When active, displays a focus ring and the button switches to "Close".
2936
+ * Shows an avatar, title, optional description, and a configurable action button.
2916
2937
  */
2917
- export declare function F0CanvasCard({ module: cardModule, title, description, onOpen, showOpenButton, onClose, isActive, children, }: F0CanvasCardProps): JSX_2.Element;
2938
+ export declare function F0CanvasCard({ avatar, title, description, isActive, action, children, }: F0CanvasCardProps): JSX_2.Element;
2918
2939
 
2919
2940
  export declare namespace F0CanvasCard {
2920
2941
  var displayName: string;
2921
2942
  }
2922
2943
 
2923
2944
  export declare type F0CanvasCardProps = {
2924
- /** Module avatar to display (e.g. "analytics", "surveys", "goals") */
2925
- module?: ModuleId;
2945
+ /** Avatar to display: a module icon or a file-type badge */
2946
+ avatar?: CanvasCardAvatar;
2926
2947
  /** Primary title */
2927
2948
  title: string;
2928
- /** Secondary description line */
2929
- description: string;
2930
- /** Called when the user clicks the "Open" button */
2931
- onOpen: () => void;
2932
- /** Whether to show the "Open" button */
2933
- showOpenButton?: boolean;
2934
- /** Called when the user clicks the "Close" button (active state) */
2935
- onClose: () => void;
2936
- /** Whether this card's content is currently shown in the canvas */
2937
- isActive: boolean;
2949
+ /** Optional secondary description line */
2950
+ description?: string;
2951
+ /** Whether this card's content is currently shown in the canvas (only meaningful for action.type === "open") */
2952
+ isActive?: boolean;
2953
+ /** Action exposed by the card: either an Open/Close toggle or a custom icon button */
2954
+ action: CanvasCardAction;
2938
2955
  /** Optional content rendered below the card header (e.g. a data preview) */
2939
2956
  children?: React.ReactNode;
2940
2957
  };
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-8cFWNhbQ.js";
1
+ import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-CxrYr5OJ.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-BLSpXWfe.js";
3
+ import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-CqUmb2mH.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -4556,6 +4556,10 @@ export declare type F0SelectTagProp = string | {
4556
4556
  type: "icon";
4557
4557
  text: string;
4558
4558
  icon: IconType;
4559
+ } | {
4560
+ type: "status";
4561
+ text: string;
4562
+ variant: StatusVariant;
4559
4563
  };
4560
4564
 
4561
4565
  /**
@@ -1,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-8cFWNhbQ.js";
2
- import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-8cFWNhbQ.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-CxrYr5OJ.js";
2
+ import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-CxrYr5OJ.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
- import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-CeczsYtn.js";
6
- import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-CeczsYtn.js";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-BDFT840X.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-BDFT840X.js";
7
7
  const ul = da("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -1862,6 +1862,28 @@ export declare type CanvasActions = {
1862
1862
  dashboard?: DashboardCanvasActions;
1863
1863
  };
1864
1864
 
1865
+ declare type CanvasCardAction = {
1866
+ type: "open";
1867
+ onOpen: () => void;
1868
+ onClose: () => void;
1869
+ /** When false, hides the Open/Close button but the card stays clickable. Default true. */
1870
+ showButton?: boolean;
1871
+ } | {
1872
+ type: "custom";
1873
+ icon: IconType;
1874
+ label: string;
1875
+ onClick: () => void;
1876
+ hideLabel?: boolean;
1877
+ };
1878
+
1879
+ declare type CanvasCardAvatar = {
1880
+ type: "module";
1881
+ module: ModuleId;
1882
+ } | {
1883
+ type: "file";
1884
+ file: FileDef;
1885
+ };
1886
+
1865
1887
  /**
1866
1888
  * Discriminated union for canvas panel content.
1867
1889
  * Add new entity types to this union as they are implemented.
@@ -6651,30 +6673,25 @@ export declare type F0ButtonToggleProps = Omit<F0ButtonToggleInternalProps, (typ
6651
6673
 
6652
6674
  /**
6653
6675
  * Shared inline card rendered in the AI chat for any canvas entity.
6654
- * Shows a module avatar, title, description, and an Open/Close toggle button.
6655
- * When active, displays a focus ring and the button switches to "Close".
6676
+ * Shows an avatar, title, optional description, and a configurable action button.
6656
6677
  */
6657
- export declare function F0CanvasCard({ module: cardModule, title, description, onOpen, showOpenButton, onClose, isActive, children, }: F0CanvasCardProps): JSX_2.Element;
6678
+ export declare function F0CanvasCard({ avatar, title, description, isActive, action, children, }: F0CanvasCardProps): JSX_2.Element;
6658
6679
 
6659
6680
  export declare namespace F0CanvasCard {
6660
6681
  var displayName: string;
6661
6682
  }
6662
6683
 
6663
6684
  export declare type F0CanvasCardProps = {
6664
- /** Module avatar to display (e.g. "analytics", "surveys", "goals") */
6665
- module?: ModuleId;
6685
+ /** Avatar to display: a module icon or a file-type badge */
6686
+ avatar?: CanvasCardAvatar;
6666
6687
  /** Primary title */
6667
6688
  title: string;
6668
- /** Secondary description line */
6669
- description: string;
6670
- /** Called when the user clicks the "Open" button */
6671
- onOpen: () => void;
6672
- /** Whether to show the "Open" button */
6673
- showOpenButton?: boolean;
6674
- /** Called when the user clicks the "Close" button (active state) */
6675
- onClose: () => void;
6676
- /** Whether this card's content is currently shown in the canvas */
6677
- isActive: boolean;
6689
+ /** Optional secondary description line */
6690
+ description?: string;
6691
+ /** Whether this card's content is currently shown in the canvas (only meaningful for action.type === "open") */
6692
+ isActive?: boolean;
6693
+ /** Action exposed by the card: either an Open/Close toggle or a custom icon button */
6694
+ action: CanvasCardAction;
6678
6695
  /** Optional content rendered below the card header (e.g. a data preview) */
6679
6696
  children?: React.ReactNode;
6680
6697
  };
@@ -9414,6 +9431,10 @@ export declare type F0SelectTagProp = string | {
9414
9431
  type: "icon";
9415
9432
  text: string;
9416
9433
  icon: IconType;
9434
+ } | {
9435
+ type: "status";
9436
+ text: string;
9437
+ variant: StatusVariant;
9417
9438
  };
9418
9439
 
9419
9440
  /**
package/dist/f0.js CHANGED
@@ -1,13 +1,13 @@
1
- import { du as dk, a6 as yt, bd as Dg, m as ce, o as Pa, f$ as hk, n as Hs, eG as C3, ac as go, g2 as T3, ad as Mw, S as oe, u as tt, C as dt, cY as Vu, A as vk, i as D3, H as Wv, cK as yu, a7 as kr, a3 as gd, g3 as A3, g4 as Xb, g5 as M3, g6 as E3, g7 as JC, dP as L3, g8 as N3, g9 as pk, ga as I3, M as pt, aX as k3, aL as R3, b8 as P3, dL as eT, s as Fu, a1 as Ew, a2 as Ws, b9 as O3, fh as B3, aB as Lw, aC as Nw, aD as Iw, aj as gk, c0 as Uv, dv as mk, gb as V3, fl as F3, aF as yk, de as z3, br as G3, aV as bk, Y as zu, gc as H3, ae as W3, gd as kw, ge as tT, fe as U3, gf as $3, gg as Y3, gh as X3, W as Rw, dM as bu, bH as Pw, fg as q3, dp as Ow, at as ou, bI as xk, d5 as Bw, b6 as Us, a8 as Bn, ao as Z3, cz as qb, cy as _k, gi as Ag, d6 as Vw, fR as j3, a0 as wk, fd as K3, by as Q3, ab as Mg, dG as J3, dH as eH, dI as tH, c as rH, eq as nH, z as Sk, cF as rl, dm as Ck, bB as Fw, E as Eg, G as Lg, cp as zw, L as Ng, V as Ar, X as xu, fw as su, fx as lu, K as uu, fy as cu, fu as iH, fv as io, cs as Tk, aq as aH, d3 as $v, gj as on, aA as oH, d9 as Dk, d8 as Ak, gk as sH, aN as Mk, aT as lH, dC as uH, dD as cH, dw as fH, be as Gu, bi as Hu, bp as md, dq as dH, bf as hH, b0 as vH, N as Ek, b7 as pH, _ as gH, d0 as rT, dl as Pf, fi as mH, fj as yH, gl as bH, aS as xH, bj as _H, cI as Lk, a4 as wH, cx as SH, g0 as CH, gm as TH, gn as DH, I as AH, go as MH, gp as EH, gq as LH, gr as NH } from "./F0CanvasPanel-8cFWNhbQ.js";
2
- import { gA as Cme, D as Tme, aM as Dme, F as Ame, a as Mme, e as Eme, b1 as Lme, bs as Nme, bc as Ime, ai as kme, dO as Rme, ar as Pme, bF as Ome, f as Bme, dJ as Vme, dy as Fme, gE as zme, d as Gme, bk as Hme, gv as Wme, aZ as Ume, gw as $me, gy as Yme, gz as Xme, c1 as qme, gB as Zme, bY as jme, bZ as Kme, P as Qme, gx as Jme, b_ as eye, gF as tye, gs as rye, gt as nye, gu as iye, b$ as aye, gD as oye, fS as sye, gC as lye, aQ as uye, bX as cye, bU as fye, bW as dye, bT as hye, fU as vye, fO as pye, bL as gye, bV as mye, b as yye, fN as bye, g1 as xye, aO as _ye, dt as wye, fQ as Sye, fP as Cye, gG as Tye } from "./F0CanvasPanel-8cFWNhbQ.js";
1
+ import { du as dk, a6 as yt, bd as Dg, m as ce, o as Pa, f$ as hk, n as Hs, eH as C3, ac as go, g2 as T3, ad as Mw, S as oe, u as tt, C as dt, cY as Vu, A as vk, i as D3, H as Wv, cK as yu, a7 as kr, a3 as gd, g3 as A3, g4 as Xb, g5 as M3, g6 as E3, g7 as JC, dQ as L3, g8 as N3, g9 as pk, ga as I3, M as pt, aX as k3, aL as R3, b8 as P3, dM as eT, s as Fu, a1 as Ew, a2 as Ws, b9 as O3, fh as B3, aB as Lw, aC as Nw, aD as Iw, aj as gk, c0 as Uv, dv as mk, gb as V3, fl as F3, aF as yk, de as z3, br as G3, aV as bk, Y as zu, gc as H3, ae as W3, gd as kw, ge as tT, ff as U3, gf as $3, gg as Y3, gh as X3, W as Rw, dN as bu, bH as Pw, dK as q3, dp as Ow, at as ou, bI as xk, d5 as Bw, b6 as Us, a8 as Bn, ao as Z3, cz as qb, cy as _k, gi as Ag, d6 as Vw, fR as j3, a0 as wk, fe as K3, by as Q3, ab as Mg, dG as J3, dH as eH, dI as tH, c as rH, er as nH, z as Sk, cF as rl, dm as Ck, bB as Fw, E as Eg, G as Lg, cp as zw, L as Ng, V as Ar, X as xu, fw as su, fx as lu, K as uu, fy as cu, fu as iH, fv as io, cs as Tk, aq as aH, d3 as $v, gj as on, aA as oH, d9 as Dk, d8 as Ak, gk as sH, aN as Mk, aT as lH, dC as uH, dD as cH, dw as fH, be as Gu, bi as Hu, bp as md, dq as dH, bf as hH, b0 as vH, N as Ek, b7 as pH, _ as gH, d0 as rT, dl as Pf, fi as mH, fj as yH, gl as bH, aS as xH, bj as _H, cI as Lk, a4 as wH, cx as SH, g0 as CH, gm as TH, gn as DH, I as AH, go as MH, gp as EH, gq as LH, gr as NH } from "./F0CanvasPanel-CxrYr5OJ.js";
2
+ import { gA as Cme, D as Tme, aM as Dme, F as Ame, a as Mme, e as Eme, b1 as Lme, bs as Nme, bc as Ime, ai as kme, dP as Rme, ar as Pme, bF as Ome, f as Bme, dJ as Vme, dy as Fme, gE as zme, d as Gme, bk as Hme, gv as Wme, aZ as Ume, gw as $me, gy as Yme, gz as Xme, c1 as qme, gB as Zme, bY as jme, bZ as Kme, P as Qme, gx as Jme, b_ as eye, gF as tye, gs as rye, gt as nye, gu as iye, b$ as aye, gD as oye, fS as sye, gC as lye, aQ as uye, bX as cye, bU as fye, bW as dye, bT as hye, fU as vye, fO as pye, bL as gye, bV as mye, b as yye, fN as bye, g1 as xye, aO as _ye, dt as wye, fQ as Sye, fP as Cye, gG as Tye } from "./F0CanvasPanel-CxrYr5OJ.js";
3
3
  import { jsx as w, jsxs as B, Fragment as kt } from "react/jsx-runtime";
4
4
  import * as Yn from "react";
5
5
  import He, { forwardRef as Jr, useRef as se, useImperativeHandle as IH, Children as Yv, createContext as en, useContext as _r, useState as ye, useMemo as ae, useEffect as _e, useCallback as te, useLayoutEffect as Zb, createElement as Xd, isValidElement as Nk, Fragment as Ig, memo as Ik, useReducer as kH, cloneElement as RH, useId as kg } from "react";
6
- import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-BLSpXWfe.js";
7
- import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-BLSpXWfe.js";
6
+ import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-CqUmb2mH.js";
7
+ import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-CqUmb2mH.js";
8
8
  import { createPortal as Fk, unstable_batchedUpdates as qd, flushSync as tW } from "react-dom";
9
- import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-CeczsYtn.js";
10
- import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-CeczsYtn.js";
9
+ import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-BDFT840X.js";
10
+ import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-BDFT840X.js";
11
11
  import { utils as fu, write as qk } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as P0e } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const mW = {