@factorialco/f0-react 16.22.0 → 16.24.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.
Files changed (64) hide show
  1. package/dist/{ArchiveThumbnail-G0aPl50L.js → ArchiveThumbnail-BWTI7ezC.js} +3 -3
  2. package/dist/{ArchiveViewer-Bj0bDPBP.js → ArchiveViewer-BlnfVLsJ.js} +5 -5
  3. package/dist/{ChatPostComposerDialog-DMk3uFWy.js → ChatPostComposerDialog-Ca3fcEzD.js} +3 -3
  4. package/dist/{CoachmarkProvider-CCHC0FZi.js → CoachmarkProvider-Bw3qcSzA.js} +9701 -9701
  5. package/dist/{CodeThumbnail-DJ9hJvLI.js → CodeThumbnail-PtY8O4_C.js} +1 -1
  6. package/dist/{CodeViewer-DxSm1H6J.js → CodeViewer-DWjmRhtn.js} +6 -6
  7. package/dist/{DocumentToolbar-DqeoImuf.js → DocumentToolbar-CKdCMI09.js} +7 -7
  8. package/dist/{DocxViewer-DlHsOT2G.js → DocxViewer-g_DkGE6G.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-BaiVAdOt.js → F0AiProcessingOverlay-Dh3YEI67.js} +39 -39
  10. package/dist/{F0Alert-guKRR8YO.js → F0Alert-BkUUU2Es.js} +5 -5
  11. package/dist/F0AudioPlayer-vHt8D_MA.js +2 -0
  12. package/dist/{F0Button-B217B6lh.js → F0Button-C1aRGjA7.js} +3 -3
  13. package/dist/{F0CanvasPanel-B5rOTxrn.js → F0CanvasPanel-D6eWdQK0.js} +209 -209
  14. package/dist/{F0DocumentViewer-CIA45h1L.js → F0DocumentViewer-BtD9t71V.js} +1 -1
  15. package/dist/{F0DocumentViewer-CipplAi8.js → F0DocumentViewer-DhffyI63.js} +4 -4
  16. package/dist/{F0Icon-CRETnjaC.js → F0Icon-CA8QrO7J.js} +1 -1
  17. package/dist/{F0Map-Bgcgl-b7.js → F0Map-ClnO_2tF.js} +17 -17
  18. package/dist/{F0Select-B5whw7YJ.js → F0Select-h6e4u9ej.js} +2165 -2149
  19. package/dist/{F0Text-DEJMiNLl.js → F0Text-C69-6-hA.js} +2 -2
  20. package/dist/F0VideoPlayer-Bdf6P4CE.js +1 -0
  21. package/dist/{F0VideoPlayer-Du_8UrJx.js → F0VideoPlayer-DaD7MnFA.js} +6 -6
  22. package/dist/{HtmlThumbnail-DLYEHdZx.js → HtmlThumbnail-DOW0qL8W.js} +1 -1
  23. package/dist/{HtmlViewer-erJIt-Wn.js → HtmlViewer-rIlra75S.js} +9 -9
  24. package/dist/{LayoutGroup-DECnUFBB.js → LayoutGroup-DnZBITzE.js} +1 -1
  25. package/dist/{Map-TbXJuia_.js → Map-Cs17xyE6.js} +10 -10
  26. package/dist/{PdfThumbnail-C0elGWNG.js → PdfThumbnail-CXGUzm25.js} +1 -1
  27. package/dist/{PdfViewer-Z-MUOaUP.js → PdfViewer-CTGhvHvW.js} +12 -12
  28. package/dist/{SandboxedHtmlFrame-Ba5FAjt6.js → SandboxedHtmlFrame-sIha8vuj.js} +2 -2
  29. package/dist/{SheetViewer-CjBwkzuZ.js → SheetViewer-0KUrMA5z.js} +5 -5
  30. package/dist/{TextViewer-DR8ee6qU.js → TextViewer-D3xpfBVm.js} +4 -4
  31. package/dist/ai.d.ts +3 -3
  32. package/dist/ai.js +4 -4
  33. package/dist/component-status.js +31 -9
  34. package/dist/{dist-ClS5kbGd.js → dist-CrKS7a4M.js} +1 -1
  35. package/dist/{dist-BAsn0JfF.js → dist-CsLQ4kGY.js} +1 -1
  36. package/dist/{dist-BCNVh6y5.js → dist-DMTFO2gF.js} +46 -0
  37. package/dist/{dist-CLXu6f__.js → dist-DRhAsNk-.js} +2 -2
  38. package/dist/{dist-CpxH3Mhm.js → dist-R_v43tri.js} +1 -1
  39. package/dist/{dist-CBsv_N04.js → dist-S2UAyvMo.js} +4 -4
  40. package/dist/experimental.d.ts +2 -2
  41. package/dist/experimental.js +467 -467
  42. package/dist/{exports-BSFis6g6.d.ts → exports-Ov8gD_6H.d.ts} +1 -1
  43. package/dist/f0.d.ts +137 -6
  44. package/dist/f0.js +2588 -2121
  45. package/dist/{google-CG30Y63J.js → google-DDQ7XfPD.js} +1 -1
  46. package/dist/{highlight-yovrsQLV.js → highlight-DeACQIIW.js} +1 -1
  47. package/dist/{i18n-provider-DyI_r6Au.js → i18n-provider-CCg0vfdK.js} +1 -1
  48. package/dist/{i18n-provider-defaults-FGAsdJJR.d.ts → i18n-provider-defaults-CXVl-d7E.d.ts} +8 -0
  49. package/dist/{i18n-provider-defaults-C8fwj3sA.js → i18n-provider-defaults-DdGz6_Og.js} +8 -0
  50. package/dist/i18n-provider-defaults.d.ts +1 -1
  51. package/dist/i18n-provider-defaults.js +1 -1
  52. package/dist/{index-DR7cCKE6.d.ts → index-DIIVN_RC.d.ts} +11 -1
  53. package/dist/{maplibre-BGo0FJAX.js → maplibre-Vwv9Nk1T.js} +2 -2
  54. package/dist/{pdfWorker-B-8PMeY2.js → pdfWorker-D54oefWJ.js} +1 -1
  55. package/dist/{popover-CKVOp9XF.js → popover-BFt-Tk2I.js} +1 -1
  56. package/dist/{skeleton-Dw-7r7zp.js → skeleton-B05pNPYx.js} +1 -1
  57. package/dist/styles.css +1 -1
  58. package/dist/{toolbarStyles-C_OrVxv7.js → toolbarStyles-Btq_icPl.js} +1 -1
  59. package/dist/{types-tXovhytw.d.ts → types-GYsHhskI.d.ts} +6 -5
  60. package/dist/{useData-CVTa0m1L.js → useData-CzdjLV9a.js} +170 -162
  61. package/package.json +2 -2
  62. package/tailwind.config.ts +26 -0
  63. package/dist/F0AudioPlayer-DzePrdJR.js +0 -2
  64. package/dist/F0VideoPlayer-CAFcGry7.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-NXXT56H4.js";
2
- import { i as t, t as n } from "./highlight-yovrsQLV.js";
2
+ import { i as t, t as n } from "./highlight-DeACQIIW.js";
3
3
  import { t as r } from "./useThumbnailText-DwXQvLIe.js";
4
4
  import { useEffect as i, useState as a } from "react";
5
5
  import { jsx as o } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
- import { r as e } from "./i18n-provider-DyI_r6Au.js";
2
- import { t } from "./skeleton-Dw-7r7zp.js";
1
+ import { r as e } from "./i18n-provider-CCg0vfdK.js";
2
+ import { t } from "./skeleton-B05pNPYx.js";
3
3
  import { L as n } from "./tooltip-NXXT56H4.js";
4
- import { Al as r, Ei as i } from "./F0CanvasPanel-B5rOTxrn.js";
5
- import { Pt as a } from "./F0Select-B5whw7YJ.js";
4
+ import { Al as r, Ei as i } from "./F0CanvasPanel-D6eWdQK0.js";
5
+ import { Pt as a } from "./F0Select-h6e4u9ej.js";
6
6
  import { t as o } from "./purify.es-CJ7gZxxn.js";
7
- import { n as s, t as c } from "./DocumentToolbar-DqeoImuf.js";
8
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "./highlight-yovrsQLV.js";
7
+ import { n as s, t as c } from "./DocumentToolbar-CKdCMI09.js";
8
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "./highlight-DeACQIIW.js";
9
9
  import { t as h } from "./useFetchedText-BR3_KLXx.js";
10
10
  import { useEffect as g, useMemo as _, useState as v } from "react";
11
11
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { r as e } from "./i18n-provider-DyI_r6Au.js";
2
- import { el as t } from "./F0CanvasPanel-B5rOTxrn.js";
3
- import { z as n } from "./useData-CVTa0m1L.js";
4
- import { br as r, t as i } from "./F0Select-B5whw7YJ.js";
5
- import { a, c as o, n as s, o as c, r as l, s as u, t as d } from "./toolbarStyles-C_OrVxv7.js";
1
+ import { r as e } from "./i18n-provider-CCg0vfdK.js";
2
+ import { el as t } from "./F0CanvasPanel-D6eWdQK0.js";
3
+ import { B as n } from "./useData-CzdjLV9a.js";
4
+ import { t as r, xr as i } from "./F0Select-h6e4u9ej.js";
5
+ import { a, c as o, n as s, o as c, r as l, s as u, t as d } from "./toolbarStyles-Btq_icPl.js";
6
6
  import { useCallback as f, useMemo as p, useState as m } from "react";
7
7
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
8
8
  //#region src/addons/documents/F0DocumentViewer/components/DocumentToolbar.tsx
@@ -40,9 +40,9 @@ var _ = () => {
40
40
  /* @__PURE__ */ h(l, {
41
41
  label: S.zoomIn,
42
42
  onClick: _.zoomIn,
43
- icon: r
43
+ icon: i
44
44
  }),
45
- /* @__PURE__ */ h(i, {
45
+ /* @__PURE__ */ h(r, {
46
46
  hideLabel: !0,
47
47
  label: S.scaleSelector,
48
48
  options: C,
@@ -1,6 +1,6 @@
1
- import { r as e } from "./i18n-provider-DyI_r6Au.js";
2
- import { t } from "./skeleton-Dw-7r7zp.js";
3
- import { n, t as r } from "./DocumentToolbar-DqeoImuf.js";
1
+ import { r as e } from "./i18n-provider-CCg0vfdK.js";
2
+ import { t } from "./skeleton-B05pNPYx.js";
3
+ import { n, t as r } from "./DocumentToolbar-CKdCMI09.js";
4
4
  import { t as i } from "./renderDocx-BmKEajZl.js";
5
5
  import { useEffect as a, useRef as o, useState as s } from "react";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,18 +1,18 @@
1
- import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
2
- import { n, t as r } from "./skeleton-Dw-7r7zp.js";
1
+ import { a as e, r as t } from "./i18n-provider-CCg0vfdK.js";
2
+ import { n, t as r } from "./skeleton-B05pNPYx.js";
3
3
  import { L as i, R as a } from "./tooltip-NXXT56H4.js";
4
- import { A as o, D as s, K as c, R as l, V as u, Y as d, b as f, h as p, n as m, r as h, t as g, v as _ } from "./F0Button-B217B6lh.js";
5
- import { $ as v, As as y, At as b, B as x, Bn as S, Ca as C, D as w, Di as T, Dl as E, Ds as D, Dt as O, E as k, Ei as ee, El as te, En as A, Fn as j, Gs as M, Gt as N, Ht as ne, I as re, J as P, Jn as ie, Js as ae, Kn as oe, Kt as F, L as se, Ll as ce, Mn as le, Mt as ue, N as de, Nn as I, Nt as L, O as fe, Ol as pe, Os as me, Ot as he, P as ge, Pn as _e, Pt as ve, Q as ye, R, Rl as be, Rn as xe, Ro as z, Sn as Se, St as Ce, T as we, Ta as Te, Tn as Ee, Uo as De, Us as B, Ut as Oe, Vn as ke, Vt as Ae, Wt as je, X as V, Xt as Me, Y as H, Yi as Ne, Z as Pe, Zn as Fe, _i as Ie, _t as Le, a as Re, aa as ze, al as Be, at as Ve, b as He, ba as Ue, bn as We, bt as Ge, c as Ke, cn as qe, ct as Je, dn as Ye, dt as Xe, el as Ze, et as Qe, fc as $e, ft as et, gc as tt, gn as nt, gs as rt, gt as it, ht as at, il as ot, in as st, kn as ct, ks as lt, kt as ut, lc as dt, mc as ft, ml as pt, nc as mt, nt as ht, oa as gt, ot as _t, pi as vt, pn as yt, qn as bt, qs as xt, r as St, rn as Ct, rs as wt, s as Tt, sa as Et, si as Dt, sn as Ot, tt as kt, u as At, un as jt, uo as Mt, ut as Nt, vc as Pt, vn as Ft, vt as It, w as Lt, x as Rt, xa as zt, xc as Bt, xn as Vt, xt as Ht, y as Ut, yt as Wt, z as Gt, zn as Kt, zo as qt } from "./F0CanvasPanel-B5rOTxrn.js";
6
- import { o as Jt, t as U } from "./F0Icon-CRETnjaC.js";
7
- import { t as Yt } from "./i18n-provider-defaults-C8fwj3sA.js";
8
- import { C as Xt, H as Zt, I as Qt, N as W, U as $t, _ as en, b as tn, g as nn, h as rn, k as an, u as on } from "./useData-CVTa0m1L.js";
9
- import { Fr as sn, Gt as cn, In as ln, Ln as un, Nr as dn, Pr as fn, Rr as pn, Rt as mn, St as hn, _n as gn, bt as _n, dt as vn, xt as yn } from "./F0Select-B5whw7YJ.js";
4
+ import { A as o, D as s, K as c, R as l, V as u, Y as d, b as f, h as p, n as m, r as h, t as g, v as _ } from "./F0Button-C1aRGjA7.js";
5
+ import { $ as v, As as y, At as b, B as x, Bn as S, Ca as C, D as w, Di as T, Dl as E, Ds as D, Dt as O, E as k, Ei as ee, El as te, En as A, Fn as j, Gs as M, Gt as N, Ht as ne, I as re, J as P, Jn as ie, Js as ae, Kn as oe, Kt as F, L as se, Ll as ce, Mn as le, Mt as ue, N as de, Nn as I, Nt as L, O as fe, Ol as pe, Os as me, Ot as he, P as ge, Pn as _e, Pt as ve, Q as ye, R, Rl as be, Rn as xe, Ro as z, Sn as Se, St as Ce, T as we, Ta as Te, Tn as Ee, Uo as De, Us as B, Ut as Oe, Vn as ke, Vt as Ae, Wt as je, X as V, Xt as Me, Y as H, Yi as Ne, Z as Pe, Zn as Fe, _i as Ie, _t as Le, a as Re, aa as ze, al as Be, at as Ve, b as He, ba as Ue, bn as We, bt as Ge, c as Ke, cn as qe, ct as Je, dn as Ye, dt as Xe, el as Ze, et as Qe, fc as $e, ft as et, gc as tt, gn as nt, gs as rt, gt as it, ht as at, il as ot, in as st, kn as ct, ks as lt, kt as ut, lc as dt, mc as ft, ml as pt, nc as mt, nt as ht, oa as gt, ot as _t, pi as vt, pn as yt, qn as bt, qs as xt, r as St, rn as Ct, rs as wt, s as Tt, sa as Et, si as Dt, sn as Ot, tt as kt, u as At, un as jt, uo as Mt, ut as Nt, vc as Pt, vn as Ft, vt as It, w as Lt, x as Rt, xa as zt, xc as Bt, xn as Vt, xt as Ht, y as Ut, yt as Wt, z as Gt, zn as Kt, zo as qt } from "./F0CanvasPanel-D6eWdQK0.js";
6
+ import { o as Jt, t as U } from "./F0Icon-CA8QrO7J.js";
7
+ import { t as Yt } from "./i18n-provider-defaults-DdGz6_Og.js";
8
+ import { A as Xt, L as Zt, P as W, U as Qt, W as $t, _ as en, g as tn, u as nn, v as rn, w as an, x as on } from "./useData-CzdjLV9a.js";
9
+ import { Fr as sn, Gt as cn, Ir as ln, Ln as un, Pr as dn, Rn as fn, Rt as pn, St as mn, bt as hn, dt as gn, vn as _n, xt as vn, zr as yn } from "./F0Select-h6e4u9ej.js";
10
10
  import { t as bn } from "./Check-DAp9gCRh.js";
11
11
  import { t as xn } from "./Ellipsis-CBouJQYY.js";
12
12
  import { t as Sn } from "./ExternalLink-RdKU698E.js";
13
- import { $ as Cn, a as wn, i as Tn, n as En, t as Dn } from "./popover-CKVOp9XF.js";
14
- import { t as On } from "./F0Text-DEJMiNLl.js";
15
- import { a as kn } from "./dist-BCNVh6y5.js";
13
+ import { $ as Cn, a as wn, i as Tn, n as En, t as Dn } from "./popover-BFt-Tk2I.js";
14
+ import { t as On } from "./F0Text-C69-6-hA.js";
15
+ import { a as kn } from "./dist-DMTFO2gF.js";
16
16
  import { Children as An, Fragment as jn, createContext as Mn, createElement as Nn, forwardRef as Pn, isValidElement as Fn, memo as In, useCallback as G, useContext as Ln, useEffect as K, useId as Rn, useImperativeHandle as zn, useInsertionEffect as Bn, useLayoutEffect as Vn, useMemo as q, useRef as J, useState as Y } from "react";
17
17
  import { Fragment as Hn, jsx as X, jsxs as Z } from "react/jsx-runtime";
18
18
  import { createPortal as Un } from "react-dom";
@@ -799,7 +799,7 @@ function pr({ usage: e, error: n = !1, onOpenChange: r, trigger: o, side: s = "t
799
799
  className: "min-w-0 flex-1 truncate",
800
800
  children: c.t("ai.usageLimits.yourCompany")
801
801
  }), /* @__PURE__ */ X(U, {
802
- icon: fn,
802
+ icon: sn,
803
803
  size: "md",
804
804
  color: "default"
805
805
  })]
@@ -1533,7 +1533,7 @@ function si({ children: e, title: n, ...r }) {
1533
1533
  }), l && (c.after > 0 || c.left) ? /* @__PURE__ */ X(m, {
1534
1534
  variant: "ghost",
1535
1535
  size: "sm",
1536
- icon: c.after > 0 ? te : pn,
1536
+ icon: c.after > 0 ? te : yn,
1537
1537
  iconPosition: c.after > 0 ? "right" : "left",
1538
1538
  label: c.after > 0 ? o.t(c.after === 1 ? "ai.aiTable.moreColumns.one" : "ai.aiTable.moreColumns.other", { count: c.after }) : o.ai.aiTable.backToStart,
1539
1539
  className: "text-f1-foreground-secondary hover:text-f1-foreground",
@@ -1621,16 +1621,16 @@ function hi(e, t) {
1621
1621
  //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRefHoverCard.tsx
1622
1622
  function gi({ id: e, trigger: t, resolver: n, contentClassName: r = "w-64", ...a }) {
1623
1623
  let { card: o, load: s } = hi(e, n);
1624
- return /* @__PURE__ */ Z(_n, {
1624
+ return /* @__PURE__ */ Z(hn, {
1625
1625
  openDelay: 300,
1626
1626
  closeDelay: 100,
1627
1627
  onOpenChange: (e) => {
1628
1628
  e && s();
1629
1629
  },
1630
- children: [/* @__PURE__ */ X(hn, {
1630
+ children: [/* @__PURE__ */ X(mn, {
1631
1631
  asChild: !0,
1632
1632
  children: t
1633
- }), /* @__PURE__ */ X(yn, {
1633
+ }), /* @__PURE__ */ X(vn, {
1634
1634
  side: "top",
1635
1635
  align: "start",
1636
1636
  className: i(r, "rounded-2xl border-none bg-f1-background p-0 text-f1-foreground shadow-md"),
@@ -1890,7 +1890,7 @@ function ki({ id: e, label: n }) {
1890
1890
  label: a.t("ai.entityRef.requisition.status"),
1891
1891
  value: /* @__PURE__ */ X("div", {
1892
1892
  className: "flex items-center pt-1",
1893
- children: /* @__PURE__ */ X(ln, {
1893
+ children: /* @__PURE__ */ X(un, {
1894
1894
  text: e.status,
1895
1895
  variant: e.statusVariant ?? "neutral"
1896
1896
  })
@@ -1900,7 +1900,7 @@ function ki({ id: e, label: n }) {
1900
1900
  label: a.t("ai.entityRef.requisition.lineManager"),
1901
1901
  value: /* @__PURE__ */ Z("div", {
1902
1902
  className: "flex items-center gap-1.5 pt-1",
1903
- children: [/* @__PURE__ */ X(nn, {
1903
+ children: [/* @__PURE__ */ X(en, {
1904
1904
  firstName: e.lineManager.firstName,
1905
1905
  lastName: e.lineManager.lastName,
1906
1906
  src: e.lineManager.avatarUrl,
@@ -2356,13 +2356,13 @@ function Ca({ viewportRef: e, contentRef: t, lastTurnRef: n, turnsCount: r, isLo
2356
2356
  }
2357
2357
  //#endregion
2358
2358
  //#region src/addons/ai/canvas/F0CanvasCard/F0CanvasCard.tsx
2359
- var wa = ({ avatar: e }) => e?.type === "module" ? /* @__PURE__ */ X(an, {
2359
+ var wa = ({ avatar: e }) => e?.type === "module" ? /* @__PURE__ */ X(Xt, {
2360
2360
  module: e.module,
2361
2361
  size: "md"
2362
- }) : e?.type === "file" ? /* @__PURE__ */ X(tn, {
2362
+ }) : e?.type === "file" ? /* @__PURE__ */ X(on, {
2363
2363
  file: e.file,
2364
2364
  size: "lg"
2365
- }) : e?.type === "icon" ? /* @__PURE__ */ X(en, {
2365
+ }) : e?.type === "icon" ? /* @__PURE__ */ X(rn, {
2366
2366
  icon: e.icon,
2367
2367
  size: "md"
2368
2368
  }) : null, Ta = ({ action: e, isActive: n }) => {
@@ -3207,7 +3207,7 @@ var So = "-ml-1 flex w-5 shrink-0 flex-col items-center", Co = "w-px shrink-0 bg
3207
3207
  children: /* @__PURE__ */ Z("span", { children: [t, o ? null : /* @__PURE__ */ X("span", {
3208
3208
  className: "ml-[3px] inline-flex align-middle group-data-[state=open]/rail:rotate-90",
3209
3209
  children: /* @__PURE__ */ X(U, {
3210
- icon: fn,
3210
+ icon: sn,
3211
3211
  size: "sm"
3212
3212
  })
3213
3213
  })] })
@@ -3960,7 +3960,7 @@ var Ss = ({ canProceed: e, submitDisabled: n, label: r, onConfirm: i, onSkip: a,
3960
3960
  let t = Math.min(e.scrollHeight, ws);
3961
3961
  e.style.height = `${t}px`, e.style.overflowY = e.scrollHeight > ws ? "auto" : "hidden";
3962
3962
  }, [a]);
3963
- let g = e === "single" ? /* @__PURE__ */ X(Cs, { isSelected: r && !n }) : /* @__PURE__ */ X(vn, {
3963
+ let g = e === "single" ? /* @__PURE__ */ X(Cs, { isSelected: r && !n }) : /* @__PURE__ */ X(gn, {
3964
3964
  checked: o,
3965
3965
  onCheckedChange: () => d(!o),
3966
3966
  title: p,
@@ -4004,7 +4004,7 @@ var Ss = ({ canProceed: e, submitDisabled: n, label: r, onConfirm: i, onSkip: a,
4004
4004
  height: "9",
4005
4005
  shrink: !1,
4006
4006
  alignItems: "center",
4007
- children: /* @__PURE__ */ X(vn, {
4007
+ children: /* @__PURE__ */ X(gn, {
4008
4008
  checked: t,
4009
4009
  onCheckedChange: () => o(e.id),
4010
4010
  title: e.label,
@@ -4139,7 +4139,7 @@ var Ds = [
4139
4139
  disabled: r,
4140
4140
  label: l.ai.clarifyingQuestion.back,
4141
4141
  hideLabel: !0,
4142
- icon: sn
4142
+ icon: ln
4143
4143
  }),
4144
4144
  /* @__PURE__ */ X("span", {
4145
4145
  className: "translate-y-px text-sm font-semibold text-f1-foreground-tertiary",
@@ -4153,7 +4153,7 @@ var Ds = [
4153
4153
  disabled: i || !a,
4154
4154
  label: l.ai.clarifyingQuestion.next,
4155
4155
  hideLabel: !0,
4156
- icon: fn
4156
+ icon: sn
4157
4157
  })
4158
4158
  ]
4159
4159
  }) : null,
@@ -5267,32 +5267,32 @@ var Ic = ({ text: e, description: t, avatar: n, confirmationText: r, onConfirm:
5267
5267
  let { label: t } = e;
5268
5268
  return e.content === "person" ? /* @__PURE__ */ X(Uc, {
5269
5269
  label: t,
5270
- children: /* @__PURE__ */ X(nn, {
5270
+ children: /* @__PURE__ */ X(en, {
5271
5271
  firstName: e.avatar.firstName,
5272
5272
  lastName: e.avatar.lastName,
5273
5273
  src: e.avatar.src,
5274
5274
  size: "xs"
5275
5275
  })
5276
- }) : e.content === "people" ? /* @__PURE__ */ X(on, {
5276
+ }) : e.content === "people" ? /* @__PURE__ */ X(nn, {
5277
5277
  type: "person",
5278
5278
  avatars: e.avatars,
5279
5279
  size: "md",
5280
5280
  max: 3
5281
5281
  }) : e.content === "team" ? /* @__PURE__ */ X(Uc, {
5282
5282
  label: t,
5283
- children: /* @__PURE__ */ X(rn, {
5283
+ children: /* @__PURE__ */ X(tn, {
5284
5284
  name: e.avatar.name,
5285
5285
  src: e.avatar.src,
5286
5286
  size: "xs"
5287
5287
  })
5288
5288
  }) : e.content === "company" ? /* @__PURE__ */ X(Uc, {
5289
5289
  label: t,
5290
- children: /* @__PURE__ */ X(Xt, {
5290
+ children: /* @__PURE__ */ X(an, {
5291
5291
  name: e.avatar.name,
5292
5292
  src: e.avatar.src,
5293
5293
  size: "xs"
5294
5294
  })
5295
- }) : e.content === "alert" ? /* @__PURE__ */ X(un, {
5295
+ }) : e.content === "alert" ? /* @__PURE__ */ X(fn, {
5296
5296
  text: e.alertLabel,
5297
5297
  level: e.level
5298
5298
  }) : e.content === "balance" ? /* @__PURE__ */ X(Wc, { balance: e.balance }) : null;
@@ -5518,7 +5518,7 @@ function ol(e) {
5518
5518
  children: [
5519
5519
  /* @__PURE__ */ Z("div", {
5520
5520
  className: "flex items-center gap-3 px-4 py-3",
5521
- children: [t ? /* @__PURE__ */ X(an, {
5521
+ children: [t ? /* @__PURE__ */ X(Xt, {
5522
5522
  module: t,
5523
5523
  size: "md"
5524
5524
  }) : null, /* @__PURE__ */ Z("div", {
@@ -5588,7 +5588,7 @@ var sl = ({ icon: e, title: t, children: n }) => {
5588
5588
  children: t
5589
5589
  }),
5590
5590
  /* @__PURE__ */ X(U, {
5591
- icon: fn,
5591
+ icon: sn,
5592
5592
  className: "h-4 w-4 transition-transform duration-200"
5593
5593
  })
5594
5594
  ]
@@ -5629,7 +5629,7 @@ function ul({ sources: e, title: n }) {
5629
5629
  if (!e || e.length === 0 || !Array.isArray(e)) return null;
5630
5630
  let i = n ?? r.ai.resourcesGroupTitle;
5631
5631
  return /* @__PURE__ */ X(sl, {
5632
- icon: Qt,
5632
+ icon: Zt,
5633
5633
  title: i,
5634
5634
  children: /* @__PURE__ */ X("div", {
5635
5635
  className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2",
@@ -5907,7 +5907,7 @@ function wl({ id: e, status: n }) {
5907
5907
  }), n === "running" ? /* @__PURE__ */ X(W, {
5908
5908
  display: "flex",
5909
5909
  "aria-hidden": "true",
5910
- children: /* @__PURE__ */ X(mn, { size: "small" })
5910
+ children: /* @__PURE__ */ X(pn, { size: "small" })
5911
5911
  }) : /* @__PURE__ */ X(pl, { status: n })]
5912
5912
  });
5913
5913
  }
@@ -5923,7 +5923,7 @@ function Tl({ items: e, status: n, statusId: r, isPending: a }) {
5923
5923
  alignItems: "center",
5924
5924
  justifyContent: "center",
5925
5925
  "aria-label": o.ai.threadOptions,
5926
- children: /* @__PURE__ */ X(mn, { size: "small" })
5926
+ children: /* @__PURE__ */ X(pn, { size: "small" })
5927
5927
  }) : /* @__PURE__ */ Z("div", {
5928
5928
  "data-testid": "thread-actions-slot",
5929
5929
  className: n ? i("group/slot relative flex h-7 w-7 shrink-0 items-center justify-center", "[@media(hover:none)]:w-auto [@media(hover:none)]:gap-1", "[@media(pointer:coarse)]:w-auto [@media(pointer:coarse)]:gap-1") : "contents",
@@ -6022,7 +6022,7 @@ function Dl({ label: e, threads: t, pinnedIds: n, activeThreadId: r, onSelect: o
6022
6022
  }), /* @__PURE__ */ X("span", {
6023
6023
  className: i("flex opacity-0 transition-opacity duration-150 group-hover/label:opacity-100 group-focus-visible/label:opacity-100 motion-reduce:transition-none", !d && "opacity-100"),
6024
6024
  children: /* @__PURE__ */ X(U, {
6025
- icon: d ? Zt : dn,
6025
+ icon: d ? Qt : dn,
6026
6026
  color: "secondary",
6027
6027
  size: "xs"
6028
6028
  })
@@ -6114,7 +6114,7 @@ function Nl({ value: e, onChange: n }) {
6114
6114
  className: "flex h-12 shrink-0 items-center gap-2 border-0 border-b border-solid border-f1-border-secondary pl-5 pr-2",
6115
6115
  children: [
6116
6116
  /* @__PURE__ */ X(U, {
6117
- icon: Qt,
6117
+ icon: Zt,
6118
6118
  color: "secondary",
6119
6119
  size: "md"
6120
6120
  }),
@@ -6159,7 +6159,7 @@ var Pl = () => {
6159
6159
  //#region src/addons/ai/F0AiChatHistory/utils.ts
6160
6160
  function Fl(e) {
6161
6161
  let t = new Date(e), n = /* @__PURE__ */ new Date();
6162
- return qt(t) ? "today" : z(t) ? "yesterday" : gn(t, n) ? "thisMonth" : "older";
6162
+ return qt(t) ? "today" : z(t) ? "yesterday" : _n(t, n) ? "thisMonth" : "older";
6163
6163
  }
6164
6164
  function Il(e) {
6165
6165
  let t = {
@@ -1,9 +1,9 @@
1
- import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
1
+ import { a as e, r as t } from "./i18n-provider-CCg0vfdK.js";
2
2
  import { L as n } from "./tooltip-NXXT56H4.js";
3
- import { t as r } from "./F0Button-B217B6lh.js";
4
- import { Ho as i, Xs as a, al as o, ca as s } from "./F0CanvasPanel-B5rOTxrn.js";
5
- import { o as c } from "./F0Icon-CRETnjaC.js";
6
- import { N as l, _ as u } from "./useData-CVTa0m1L.js";
3
+ import { t as r } from "./F0Button-C1aRGjA7.js";
4
+ import { Ho as i, Xs as a, al as o, ca as s } from "./F0CanvasPanel-D6eWdQK0.js";
5
+ import { o as c } from "./F0Icon-CA8QrO7J.js";
6
+ import { P as l, v as u } from "./useData-CzdjLV9a.js";
7
7
  import { useRef as d } from "react";
8
8
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
9
9
  //#region src/elements/F0Alert/F0Alert.tsx
@@ -0,0 +1,2 @@
1
+ export { la as F0AudioPlayer } from "./F0CanvasPanel-D6eWdQK0.js";
2
+ import "./f0.js";
@@ -1,8 +1,8 @@
1
1
  import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BItFwnF5.js";
2
- import { a, d as o, l as s, r as c } from "./i18n-provider-DyI_r6Au.js";
3
- import { n as l, t as u } from "./skeleton-Dw-7r7zp.js";
2
+ import { a, d as o, l as s, r as c } from "./i18n-provider-CCg0vfdK.js";
3
+ import { n as l, t as u } from "./skeleton-B05pNPYx.js";
4
4
  import { L as d, R as f, i as p, n as m, r as h, t as g } from "./tooltip-NXXT56H4.js";
5
- import { o as _, t as v } from "./F0Icon-CRETnjaC.js";
5
+ import { o as _, t as v } from "./F0Icon-CA8QrO7J.js";
6
6
  import { t as y } from "./purify.es-CJ7gZxxn.js";
7
7
  import * as b from "react";
8
8
  import x, { Children as S, Component as C, Fragment as w, cloneElement as T, createContext as E, createElement as ee, forwardRef as D, isValidElement as te, useCallback as O, useContext as k, useEffect as A, useId as j, useInsertionEffect as ne, useLayoutEffect as re, useMemo as M, useRef as N, useState as P } from "react";