@factorialco/f0-react 9.2.1 → 9.3.1
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/{ChatDocxThumbnail-DTpOzL9A.js → ChatDocxThumbnail-Brbh1wem.js} +1 -1
- package/dist/{ChatPdfThumbnail-CAOAs-qh.js → ChatPdfThumbnail-D4DN5xr2.js} +1 -1
- package/dist/{ChatPostComposerDialog-BuzKBfwA.js → ChatPostComposerDialog-l1iabm-7.js} +3 -3
- package/dist/{ChatSheetThumbnail-P76Jt0_u.js → ChatSheetThumbnail-C_C2oIV_.js} +1 -1
- package/dist/{CoachmarkProvider-CQJNVR53.js → CoachmarkProvider-B1YG7W1t.js} +10919 -11003
- package/dist/{DocumentToolbar-BIIQvnf3.js → DocumentToolbar-CmyNC2wp.js} +2 -2
- package/dist/{DocxViewer-DVeatd9-.js → DocxViewer-de6X1Pon.js} +3 -3
- package/dist/{F0AiProcessingOverlay-CHEMsQma.js → F0AiProcessingOverlay-DB5NFWs5.js} +22 -22
- package/dist/{F0CanvasPanel-jtcjSLLr.js → F0CanvasPanel-DKFZlybo.js} +30705 -28790
- package/dist/{F0DocumentViewer-Bg7uiU9c.js → F0DocumentViewer-DTY1Upm6.js} +21 -21
- package/dist/{F0Map-DLJ6sRN_.js → F0Map-Ib5OFPWf.js} +5 -5
- package/dist/{F0VideoPlayer-B8kLFnbf.js → F0VideoPlayer-B7zpyW3g.js} +44 -44
- package/dist/{LocationMap-B-e88fW6.js → LocationMap-C6TZJaOq.js} +1 -1
- package/dist/{SheetViewer-B8BmAg0d.js → SheetViewer-BO_8Vz3d.js} +4 -4
- package/dist/{TextViewer-DDtUtmWj.js → TextViewer-BGDy0VE3.js} +2 -2
- package/dist/ai.d.ts +19 -19
- package/dist/ai.js +2 -2
- package/dist/{axe-mZXA-kzX.js → axe-Cc8MuO-E.js} +1 -1
- package/dist/component-status.d.ts +19 -19
- package/dist/component-status.js +69 -63
- package/dist/{experimental-4hJ9yljk.js → experimental-CJxYO3TS.js} +1914 -1914
- package/dist/experimental.d.ts +120 -33
- package/dist/experimental.js +146 -145
- package/dist/f0.d.ts +30 -30
- package/dist/f0.js +10588 -11481
- package/dist/i18n-provider-defaults.d.ts +19 -19
- package/dist/index-5n9cK7fI.js +4 -0
- package/dist/{index-D0AH60ev.js → index-B4YJYrDq.js} +21 -21
- package/dist/{index-C8h4kG2n.js → index-B_CHe0P4.js} +3 -3
- package/dist/{index-B5dJ814t.js → index-C1hywv0e.js} +1 -1
- package/dist/index-D3eRTe5Y.js +8 -0
- package/dist/{maplibre-gl-BFrhpbuU.js → maplibre-gl-CF3gv2QL.js} +1 -1
- package/dist/{papaparse.min-Bh1MVuzw.js → papaparse.min-l46A1xl2.js} +1 -1
- package/dist/{pdfWorker-BRAGbLi_.js → pdfWorker-Ddggmoi-.js} +3 -4
- package/dist/{renderDocx-CVEzw9MK.js → renderDocx-E222oLTQ.js} +1 -1
- package/dist/{sheetPreview-BiccmyTD.js → sheetPreview-DC9RRwv0.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/tooltip-VHD1kZdF.js +7433 -0
- package/package.json +1 -2
- package/dist/_commonjsHelpers-ByX85dGu.js +0 -33
- package/dist/index-CW8sa9GP.js +0 -8
- package/dist/index-k8Xsj0d1.js +0 -4
- package/dist/tooltip-CrXp1Uaz.js +0 -4641
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as w, useCallback as d, useMemo as x } from "react";
|
|
3
|
-
import { u as C, j as S, k, l as N, m as h } from "./F0CanvasPanel-
|
|
4
|
-
import { n as v, b as F, f as $, t as j, c as b, T as n, d as D } from "./F0DocumentViewer-
|
|
3
|
+
import { u as C, j as S, k, l as N, m as h } from "./F0CanvasPanel-DKFZlybo.js";
|
|
4
|
+
import { n as v, b as F, f as $, t as j, c as b, T as n, d as D } from "./F0DocumentViewer-DTY1Upm6.js";
|
|
5
5
|
const g = () => {
|
|
6
6
|
const [t, e] = w(1), c = d(
|
|
7
7
|
() => e((o) => v(o) ?? o),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as b, useState as p, useEffect as w } from "react";
|
|
3
|
-
import { r as v } from "./renderDocx-
|
|
4
|
-
import { u as x, S as y } from "./F0CanvasPanel-
|
|
5
|
-
import { u as k, D } from "./DocumentToolbar-
|
|
3
|
+
import { r as v } from "./renderDocx-E222oLTQ.js";
|
|
4
|
+
import { u as x, S as y } from "./F0CanvasPanel-DKFZlybo.js";
|
|
5
|
+
import { u as k, D } from "./DocumentToolbar-CmyNC2wp.js";
|
|
6
6
|
const z = ({
|
|
7
7
|
url: l,
|
|
8
8
|
filename: g,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r, Fragment as F1 } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as mn, forwardRef as m, useState as I, useRef as B, useCallback as P, useEffect as z, useLayoutEffect as q1, useMemo as W, useId as z1, createContext as X1, useContext as P1, createElement as gn, memo as wn } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { d as L, f as l1
|
|
3
|
+
import { ae as Ft, an as vn, ao as xn, ap as Nt, aq as Ln, ar as bn, as as kn, at as yn, au as Mn, av as Rn, aw as St, ax as Fn, ay as Nn, az as ue, aA as Sn, aB as Vn, aC as Tn, aD as Hn, aE as An, aF as En, aG as $n, aH as Bn, aI as In, O as Vt, aJ as Pn, aK as Dn, aL as _n, x as fe, aM as Tt, aN as D1, B as Ht, aO as Zn, aP as On, aQ as jn, aR as Un, aS as zn, aT as Gn, al as N1, aU as Wn, aV as At, aW as qn, aX as Xn, aY as Yn, m as R1, aZ as Kn, a_ as Qn, a$ as Et, b0 as Jn, b1 as eo, b2 as to, b3 as ro, b4 as no, b5 as oo, b6 as $t, b7 as so, b8 as ao, b9 as io, ba as lo, bb as co, bc as uo, bd as fo, be as ho, bf as Co, bg as po, bh as mo, ac as go, bi as wo, bj as vo, bk as xo, bl as Lo, W as bo, bm as ko, bn as yo, bo as Mo, bp as Ro, bq as Fo, br as No, bs as So, bt as Vo, bu as To, bv as Ho, bw as Ao, bx as Eo, by as $o, bz as Bo, bA as Io, bB as Po, bC as Do, bD as _o, bE as Zo, a5 as Bt, bF as Oo, bG as jo, bH as Uo, bI as zo, bJ as It, bK as Go, a4 as Pt, bL as Wo, j as qo, bM as Xo, bN as Yo, af as Ko, bO as Qo, bP as Jo, bQ as e5, bR as t5, bS as he, bT as r5, bU as n5, bV as o5, bW as s5, bX as a5, bY as i5, bZ as l5, k as c5, b_ as Dt, b$ as _t, c0 as d5, c1 as Zt, c2 as u5, c3 as Ce, E as f5, c4 as pe, c5 as h5, U as C5, c6 as p5, c7 as me, a2 as m5, a3 as g5, c8 as Ot, c9 as w5, ca as v5, cb as x5, cc as L5, cd as b5, ce as k5, ad as y5, cf as M5, cg as R5, ch as F5, ci as jt, cj as N5, ck as S5, cl as V5, cm as T5, cn as H5, u as O, L as Y1, M as ge, N as K1, w as r1, co as Q1, cp as t1, cq as A5, S as f1, cr as Ut, cs as E5, A as g1, a7 as $5, ct as n1, ag as h1, a8 as k1, a9 as K, cu as zt, cv as B5, b as w1, cw as I5, cx as P5, cy as D5, d as Gt, cz as _5, i as Z5, cA as O5, cB as j5, cC as U5, cD as Ze, cE as z5, cF as Wt, cG as qt, cH as Xt, cI as Yt, cJ as Kt, cK as Qt, cL as G5, cM as W5, cN as q5, cO as X5, cP as Y5, cQ as Jt, n as K5, cR as Q5, cS as J5, ak as I1, t as er, v as tr, y as rr, c as ce, cT as Oe, cU as e0, cV as nr, cW as t0, cX as r0, cY as _1, cZ as n0, q as o0, c_ as s0, c$ as we, d0 as a0, d1 as i0, d2 as l0, d3 as c0, d4 as d0, d5 as u0, G as f0, J as h0, ab as ne, d6 as je, d7 as or, d8 as sr, d9 as C0, da as p0, db as m0, dc as g0, dd as w0, de as v0 } from "./F0CanvasPanel-DKFZlybo.js";
|
|
4
|
+
import { d as L, f as l1 } from "./tooltip-VHD1kZdF.js";
|
|
5
5
|
import { createPortal as ar } from "react-dom";
|
|
6
6
|
import { defaultTranslations as x0 } from "./i18n-provider-defaults.js";
|
|
7
7
|
import { useTrackVolume as L0 } from "@livekit/components-react";
|
|
@@ -8498,7 +8498,7 @@ const U9 = ({
|
|
|
8498
8498
|
onToggleActive: f,
|
|
8499
8499
|
onConfirm: u
|
|
8500
8500
|
}) => {
|
|
8501
|
-
const w = O().ai.clarifyingQuestion.typeYourAnswer, h = B(null), p =
|
|
8501
|
+
const w = O().ai.clarifyingQuestion.typeYourAnswer, h = B(null), p = e0(h, i);
|
|
8502
8502
|
q1(() => {
|
|
8503
8503
|
const g = h.current;
|
|
8504
8504
|
if (!g)
|
|
@@ -9457,11 +9457,11 @@ const a3 = 10, i3 = 2, l3 = 0.5, c3 = 0.2, d3 = 1.5, p1 = {
|
|
|
9457
9457
|
repeatType: "mirror"
|
|
9458
9458
|
};
|
|
9459
9459
|
function U1(e) {
|
|
9460
|
-
const [t, n] = I(e), o =
|
|
9460
|
+
const [t, n] = I(e), o = t0(e), s = B(null);
|
|
9461
9461
|
R0(o, "change", (i) => n(i));
|
|
9462
9462
|
const a = P(
|
|
9463
9463
|
(i, d) => {
|
|
9464
|
-
s.current =
|
|
9464
|
+
s.current = r0(o, i, d);
|
|
9465
9465
|
},
|
|
9466
9466
|
[o]
|
|
9467
9467
|
);
|
|
@@ -10506,7 +10506,7 @@ const Il = ({
|
|
|
10506
10506
|
ease: [0.33, 1, 0.68, 1]
|
|
10507
10507
|
},
|
|
10508
10508
|
children: /* @__PURE__ */ r(
|
|
10509
|
-
|
|
10509
|
+
n0,
|
|
10510
10510
|
{
|
|
10511
10511
|
size: "md",
|
|
10512
10512
|
label: o.ai.ask,
|
|
@@ -10532,7 +10532,7 @@ const Il = ({
|
|
|
10532
10532
|
t,
|
|
10533
10533
|
e ? /* @__PURE__ */ r("span", { className: L(Zr()), children: e }) : null
|
|
10534
10534
|
] }), H3 = ({ balance: e }) => /* @__PURE__ */ r(
|
|
10535
|
-
|
|
10535
|
+
i0,
|
|
10536
10536
|
{
|
|
10537
10537
|
amount: e.amount,
|
|
10538
10538
|
percentage: e.percentage ?? void 0,
|
|
@@ -10549,8 +10549,8 @@ const Il = ({
|
|
|
10549
10549
|
src: e.avatar.src,
|
|
10550
10550
|
size: "xs"
|
|
10551
10551
|
}
|
|
10552
|
-
) }) : e.content === "people" ? /* @__PURE__ */ r(
|
|
10553
|
-
|
|
10552
|
+
) }) : e.content === "people" ? /* @__PURE__ */ r(o0, { type: "person", avatars: e.avatars, size: "md", max: 3 }) : e.content === "team" ? /* @__PURE__ */ r(le, { label: t, children: /* @__PURE__ */ r(
|
|
10553
|
+
s0,
|
|
10554
10554
|
{
|
|
10555
10555
|
name: e.avatar.name,
|
|
10556
10556
|
src: e.avatar.src,
|
|
@@ -10563,7 +10563,7 @@ const Il = ({
|
|
|
10563
10563
|
src: e.avatar.src,
|
|
10564
10564
|
size: "xs"
|
|
10565
10565
|
}
|
|
10566
|
-
) }) : e.content === "alert" ? /* @__PURE__ */ r(
|
|
10566
|
+
) }) : e.content === "alert" ? /* @__PURE__ */ r(a0, { text: e.alertLabel, level: e.level }) : e.content === "balance" ? /* @__PURE__ */ r(H3, { balance: e.balance }) : null;
|
|
10567
10567
|
}, E3 = (e) => {
|
|
10568
10568
|
const {
|
|
10569
10569
|
heading: t,
|
|
@@ -10655,8 +10655,8 @@ const B3 = ({
|
|
|
10655
10655
|
role: "img",
|
|
10656
10656
|
"aria-label": `Sparkline chart showing ${a} trend`,
|
|
10657
10657
|
children: [
|
|
10658
|
-
/* @__PURE__ */ r(
|
|
10659
|
-
|
|
10658
|
+
/* @__PURE__ */ r(l0, { width: "100%", height: "100%", children: /* @__PURE__ */ c(
|
|
10659
|
+
c0,
|
|
10660
10660
|
{
|
|
10661
10661
|
data: e,
|
|
10662
10662
|
margin: { top: 4, right: 4, bottom: 0, left: 0 },
|
|
@@ -10665,9 +10665,9 @@ const B3 = ({
|
|
|
10665
10665
|
/* @__PURE__ */ r("stop", { offset: "5%", stopColor: i.fill, stopOpacity: 0.3 }),
|
|
10666
10666
|
/* @__PURE__ */ r("stop", { offset: "95%", stopColor: i.fill, stopOpacity: 0.02 })
|
|
10667
10667
|
] }) }),
|
|
10668
|
-
/* @__PURE__ */ r(
|
|
10668
|
+
/* @__PURE__ */ r(d0, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
|
|
10669
10669
|
/* @__PURE__ */ r(
|
|
10670
|
-
|
|
10670
|
+
u0,
|
|
10671
10671
|
{
|
|
10672
10672
|
type: "linear",
|
|
10673
10673
|
dataKey: "value",
|
|
@@ -10832,8 +10832,8 @@ const _3 = () => /* @__PURE__ */ c(
|
|
|
10832
10832
|
] })
|
|
10833
10833
|
]
|
|
10834
10834
|
}
|
|
10835
|
-
), Pl =
|
|
10836
|
-
|
|
10835
|
+
), Pl = f0(
|
|
10836
|
+
h0(Ur, _3)
|
|
10837
10837
|
), Dl = [
|
|
10838
10838
|
"text",
|
|
10839
10839
|
"person",
|
|
@@ -11539,7 +11539,7 @@ const de = ({
|
|
|
11539
11539
|
};
|
|
11540
11540
|
function rl(e) {
|
|
11541
11541
|
const t = new Date(e), n = /* @__PURE__ */ new Date();
|
|
11542
|
-
return or(t) ? "today" : sr(t) ? "yesterday" :
|
|
11542
|
+
return or(t) ? "today" : sr(t) ? "yesterday" : p0(t, n) ? "thisMonth" : "older";
|
|
11543
11543
|
}
|
|
11544
11544
|
function nl(e, t, n) {
|
|
11545
11545
|
const o = new Date(e), s = je(o, "p", { locale: n });
|
|
@@ -11547,7 +11547,7 @@ function nl(e, t, n) {
|
|
|
11547
11547
|
return `${t.today}, ${s}`;
|
|
11548
11548
|
if (sr(o))
|
|
11549
11549
|
return `${t.yesterday}, ${s}`;
|
|
11550
|
-
const a = !
|
|
11550
|
+
const a = !C0(o, /* @__PURE__ */ new Date());
|
|
11551
11551
|
return `${je(o, a ? "MMM d yyyy" : "MMM d", {
|
|
11552
11552
|
locale: n
|
|
11553
11553
|
})}, ${s}`;
|
|
@@ -11576,7 +11576,7 @@ function sl({
|
|
|
11576
11576
|
onDelete: d,
|
|
11577
11577
|
className: l
|
|
11578
11578
|
}) {
|
|
11579
|
-
const f = O(), u =
|
|
11579
|
+
const f = O(), u = m0(), C = W(
|
|
11580
11580
|
() => [
|
|
11581
11581
|
{
|
|
11582
11582
|
label: t ? f.ai.unpinChat : f.ai.pinChat,
|
|
@@ -11648,7 +11648,7 @@ function sl({
|
|
|
11648
11648
|
{
|
|
11649
11649
|
className: "flex h-7 w-7 shrink-0 items-center justify-center",
|
|
11650
11650
|
"aria-label": f.ai.threadOptions,
|
|
11651
|
-
children: /* @__PURE__ */ r(
|
|
11651
|
+
children: /* @__PURE__ */ r(g0, { size: "small" })
|
|
11652
11652
|
}
|
|
11653
11653
|
)
|
|
11654
11654
|
) : /* @__PURE__ */ r(
|
|
@@ -11907,11 +11907,11 @@ const Ol = ({
|
|
|
11907
11907
|
);
|
|
11908
11908
|
}, Gr = "f0-ai-pinned-threads";
|
|
11909
11909
|
function ll() {
|
|
11910
|
-
const e =
|
|
11910
|
+
const e = w0(Gr, []);
|
|
11911
11911
|
return new Set(Array.isArray(e) ? e : []);
|
|
11912
11912
|
}
|
|
11913
11913
|
function Rt(e) {
|
|
11914
|
-
|
|
11914
|
+
v0(Gr, [...e]);
|
|
11915
11915
|
}
|
|
11916
11916
|
function jl({
|
|
11917
11917
|
enabled: e = !1,
|