@factorialco/f0-react 7.27.0 → 7.28.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-C-c6MSWV.js → ChatPdfThumbnail-nPN7h1J_.js} +1 -1
- package/dist/{ChatPostComposerDialog-DKL_Zvpf.js → ChatPostComposerDialog-DgLx0nZo.js} +3 -3
- package/dist/{DocumentToolbar-D-xlO-Fr.js → DocumentToolbar-C7zG7ZUu.js} +2 -2
- package/dist/{DocxViewer-DoLGcfBJ.js → DocxViewer-eyg5mndl.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CrNESGQU.js → F0AiProcessingOverlay-jjEVkSpZ.js} +1 -1
- package/dist/{F0CanvasPanel-CwKo9Erm.js → F0CanvasPanel-CMwh5HFX.js} +400 -400
- package/dist/{F0Map-CSEncakw.js → F0Map-DwKK15l3.js} +4 -4
- package/dist/{F0VideoPlayer-g79r9plW.js → F0VideoPlayer-C5EwwFKi.js} +1 -1
- package/dist/{MapProvider-CyvdlnGL.js → MapProvider-C4kRQyql.js} +9452 -9330
- package/dist/{SheetViewer-DkxwDISW.js → SheetViewer-BLw1V__e.js} +2 -2
- package/dist/{TextViewer-DBzdVGnS.js → TextViewer-DM_pMS2I.js} +2 -2
- package/dist/ai.d.ts +14 -6
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-LrK4hnb9.js → experimental-Drx9E2I8.js} +8 -8
- package/dist/experimental.d.ts +14 -6
- package/dist/experimental.js +34 -34
- package/dist/f0.d.ts +140 -53
- package/dist/f0.js +16408 -14565
- package/dist/i18n-provider-defaults.d.ts +14 -6
- package/dist/i18n-provider-defaults.js +8 -0
- package/dist/index-BT8pDyvx.js +4 -0
- package/dist/{index-rpRAM6Tn.js → index-Df32kENo.js} +2 -2
- package/dist/{index-BeTVyOfH.js → index-byfMYN7B.js} +1 -1
- package/dist/{index-Cxj-k1oq.js → index-dy3bOSuJ.js} +3 -3
- package/dist/{index-BYjWSxVb.js → index-lalKcSOE.js} +3 -3
- package/dist/{pdfWorker-Dm7Gj_mw.js → pdfWorker-Ce9zqyou.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/tailwind.config.ts +11 -0
- package/dist/index-B7HhN1a3.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d5 as $v, d6 as Vl, d7 as qv, d8 as Gv, d9 as Pt, da as Uv, db as Vv, dc as Nc, u as se, ab as Se, ch as Oe, aw as so, aa as wn, d2 as Zt, cO as bi, B as Rn, E as vn, ai as $n, L as ht, H as ea, J as lo, y as Re, bX as fs, K as na, am as Ic, cf as Tc, aG as cs, bp as fo, ad as En, s as Rc, v as be, cm as In, t as Ec, z as us, w as Qi, x as ms, dd as Kv, S as ie, G as Fn, cY as Ai, q as ia, cd as Cr, cy as Ni, ak as Yv, de as Mc, o as Sr, d1 as Ti, df as hs, dg as Jv, aK as Zi, aJ as vs, m as gs, dh as Xv, aC as Qv, cz as ki, di as co, dj as Fc, dk as Zv, dl as eg, by as ng, r as uo, dm as Ac, j as mo, dn as ig, aR as tg, k as vt, dp as Pc, bP as ag, dq as og, dr as rg, ds as sg, dt as lg, du as Nr, dv as Lc, cD as ho, ay as zc, dw as dg, dx as fg, dy as cg, a8 as Oc, dz as ug, dA as yi, cs as Ri, dB as Ir, cB as ps, dC as Bc, ah as wt, dD as Wa, dE as Dc, dF as bs, cH as mg, dG as Pi, ck as ii, dH as hg, dI as vg, dJ as gg, ct, bO as pg, bU as ta, cA as pi, aZ as ja, aP as bg, dK as Hc, a9 as qn, dL as kg, dM as Wc, dN as jc, af as gt, ag as $a, a1 as ks, a2 as Tr, bs as yg, bf as wg, dO as _g, M as $c, N as qc, Q as Gc, dP as Uc, aY as aa, bF as ys, bE as ws, ce as Vc, aU as Kc, bj as xg, bD as Cg, bQ as Sg, O as Ng, aF as Ig, c2 as Yc, dQ as ei, cu as Jc, cv as Xc, cw as Qc, bT as Zc, dR as Tg, dS as oa, e as vo, dT as Rg, dU as Eg, dV as Mg, a as Fg, b as Ag, dW as Ko, dX as go, g as Pg, dY as eu, F as Lg, dZ as zg, d_ as Og, bC as _s, d$ as Bg, e0 as Dg, e1 as xs, e2 as Kl, e3 as ya, e4 as Et, e5 as Hg, c4 as Wg, c3 as nu, bB as iu, X as jg, e6 as $g, e7 as qg, e8 as Gg, e9 as Ug, bV as tu, bZ as po, W as Vg, at as au, cR as Kg, aL as bo, ea as Cs, ae as ou, bI as Yg, bH as Jg, aS as qa, eb as ru, ec as Xg, ed as Qg, ee as Zg, ef as ep, eg as np, eh as ip, av as Rr, bv as tp, aH as ap, aM as ko, ei as Ss, ej as Ns, ek as Is, co as op, bc as su, aE as lu, el as rp, l as yo, cC as Ts, cj as Rs, $ as Er, a0 as Lt, bn as sp, bb as lp, bz as dp, bL as du, bM as Es, aN as fp, em as fu, en as cu, eo as uu, ep as mu, d4 as cp, d3 as up, eq as Ms, bN as mp, cp as hp, cr as Fs, ci as vp, ca as gp, cx as hu, au as vu, an as Yl, as as gu, bY as pp, bd as bp, cK as kp, er as wi, es as yp, et as wp, eu as _p, ev as xp, ew as Cp, cS as Sp, bq as pu, ex as Ga, ey as Np, bR as Ip, c6 as Tp, aW as Rp, c1 as Yo, aV as Ep, bo as Mp, aQ as Fp, ez as Ap, c0 as Pp, cM as Lp, cN as zp, eA as Op, eB as bu, eC as Bp, eD as Dp } from "./F0CanvasPanel-
|
|
1
|
+
import { d5 as $v, d6 as Vl, d7 as qv, d8 as Gv, d9 as Pt, da as Uv, db as Vv, dc as Nc, u as se, ab as Se, ch as Oe, aw as so, aa as wn, d2 as Zt, cO as bi, B as Rn, E as vn, ai as $n, L as ht, H as ea, J as lo, y as Re, bX as fs, K as na, am as Ic, cf as Tc, aG as cs, bp as fo, ad as En, s as Rc, v as be, cm as In, t as Ec, z as us, w as Qi, x as ms, dd as Kv, S as ie, G as Fn, cY as Ai, q as ia, cd as Cr, cy as Ni, ak as Yv, de as Mc, o as Sr, d1 as Ti, df as hs, dg as Jv, aK as Zi, aJ as vs, m as gs, dh as Xv, aC as Qv, cz as ki, di as co, dj as Fc, dk as Zv, dl as eg, by as ng, r as uo, dm as Ac, j as mo, dn as ig, aR as tg, k as vt, dp as Pc, bP as ag, dq as og, dr as rg, ds as sg, dt as lg, du as Nr, dv as Lc, cD as ho, ay as zc, dw as dg, dx as fg, dy as cg, a8 as Oc, dz as ug, dA as yi, cs as Ri, dB as Ir, cB as ps, dC as Bc, ah as wt, dD as Wa, dE as Dc, dF as bs, cH as mg, dG as Pi, ck as ii, dH as hg, dI as vg, dJ as gg, ct, bO as pg, bU as ta, cA as pi, aZ as ja, aP as bg, dK as Hc, a9 as qn, dL as kg, dM as Wc, dN as jc, af as gt, ag as $a, a1 as ks, a2 as Tr, bs as yg, bf as wg, dO as _g, M as $c, N as qc, Q as Gc, dP as Uc, aY as aa, bF as ys, bE as ws, ce as Vc, aU as Kc, bj as xg, bD as Cg, bQ as Sg, O as Ng, aF as Ig, c2 as Yc, dQ as ei, cu as Jc, cv as Xc, cw as Qc, bT as Zc, dR as Tg, dS as oa, e as vo, dT as Rg, dU as Eg, dV as Mg, a as Fg, b as Ag, dW as Ko, dX as go, g as Pg, dY as eu, F as Lg, dZ as zg, d_ as Og, bC as _s, d$ as Bg, e0 as Dg, e1 as xs, e2 as Kl, e3 as ya, e4 as Et, e5 as Hg, c4 as Wg, c3 as nu, bB as iu, X as jg, e6 as $g, e7 as qg, e8 as Gg, e9 as Ug, bV as tu, bZ as po, W as Vg, at as au, cR as Kg, aL as bo, ea as Cs, ae as ou, bI as Yg, bH as Jg, aS as qa, eb as ru, ec as Xg, ed as Qg, ee as Zg, ef as ep, eg as np, eh as ip, av as Rr, bv as tp, aH as ap, aM as ko, ei as Ss, ej as Ns, ek as Is, co as op, bc as su, aE as lu, el as rp, l as yo, cC as Ts, cj as Rs, $ as Er, a0 as Lt, bn as sp, bb as lp, bz as dp, bL as du, bM as Es, aN as fp, em as fu, en as cu, eo as uu, ep as mu, d4 as cp, d3 as up, eq as Ms, bN as mp, cp as hp, cr as Fs, ci as vp, ca as gp, cx as hu, au as vu, an as Yl, as as gu, bY as pp, bd as bp, cK as kp, er as wi, es as yp, et as wp, eu as _p, ev as xp, ew as Cp, cS as Sp, bq as pu, ex as Ga, ey as Np, bR as Ip, c6 as Tp, aW as Rp, c1 as Yo, aV as Ep, bo as Mp, aQ as Fp, ez as Ap, c0 as Pp, cM as Lp, cN as zp, eA as Op, eB as bu, eC as Bp, eD as Dp } from "./F0CanvasPanel-CMwh5HFX.js";
|
|
2
2
|
import { jsxs as g, jsx as t, Fragment as Ae } from "react/jsx-runtime";
|
|
3
3
|
import ve, { useRef as E, useEffect as V, useContext as kn, createContext as pn, useState as D, forwardRef as en, useId as Li, useMemo as ne, useCallback as O, useLayoutEffect as hn, Fragment as Bn, useSyncExternalStore as ku, memo as _t, useTransition as Hp, isValidElement as As, cloneElement as yu, Suspense as ra, lazy as Oi, createElement as Ea, Children as Ps } from "react";
|
|
4
4
|
import { d as S, u as wu, f as Ye, P as Wp, T as jp, a as $p, b as qp, c as Gp } from "./tooltip-CrXp1Uaz.js";
|
|
5
|
-
import { f as wo, n as _u, r as Up, E as Vp, g as Kp, P as xu, C as Yp, h as Jp, i as Xp, j as Qp, k as Jl, a as Xl, M as Zp,
|
|
6
|
-
import { c as M0, u as xt, S as Fu, d as F0 } from "./F0Map-
|
|
5
|
+
import { f as wo, n as _u, r as Up, E as Vp, g as Kp, p as Mt, P as xu, C as Yp, h as Jp, i as Xp, j as Qp, k as Jl, a as Xl, M as Zp, l as e0, m as Cu, o as n0, q as i0, R as Ql, s as Su, t as t0, v as a0, w as o0, x as r0, y as s0, z as Nu, A as Iu, B as l0, O as Tu, D as Ru, G as d0, W as Ki, H as f0, I as c0, L as u0, J as m0, V as h0, K as v0, N as g0, Q as p0, T as Ls, U as b0, X as k0, Y as Eu, Z as Mu, _ as y0, $ as w0, a0 as _0, a1 as x0, a2 as C0, a3 as S0, a4 as N0, a5 as I0, a6 as T0, a7 as Zl, a8 as R0, a9 as E0 } from "./MapProvider-C4kRQyql.js";
|
|
6
|
+
import { c as M0, u as xt, S as Fu, d as F0 } from "./F0Map-DwKK15l3.js";
|
|
7
7
|
import A0, { createPortal as Dt } from "react-dom";
|
|
8
8
|
import './maplibre-gl.css';/* empty css */
|
|
9
9
|
const P0 = $v("Search", [
|
|
@@ -1398,7 +1398,7 @@ const zR = Fn(
|
|
|
1398
1398
|
lastName: o.join(" "),
|
|
1399
1399
|
tooltipDescription: n.email
|
|
1400
1400
|
};
|
|
1401
|
-
}),
|
|
1401
|
+
}), Ab = (e, n) => Ai(e, "p", { locale: n }), Pb = (e, n) => Ai(e, "d MMM", { locale: n }), Lb = ({
|
|
1402
1402
|
attendees: e,
|
|
1403
1403
|
relevantCount: n,
|
|
1404
1404
|
maxAvatars: i = Uu,
|
|
@@ -15356,7 +15356,7 @@ const K3 = /* @__PURE__ */ new Set(["blob:", "data:"]), Y3 = /* @__PURE__ */ new
|
|
|
15356
15356
|
),
|
|
15357
15357
|
children: e
|
|
15358
15358
|
}
|
|
15359
|
-
), e4 = () => import("./ChatPdfThumbnail-
|
|
15359
|
+
), e4 = () => import("./ChatPdfThumbnail-nPN7h1J_.js"), n4 = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), i4 = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), t4 = () => import("./ChatTextThumbnail-B53pSYUy.js"), a4 = Oi(e4), o4 = Oi(n4), r4 = Oi(i4), s4 = Oi(t4), l4 = 384, d4 = 160, f4 = ({
|
|
15360
15360
|
kind: e,
|
|
15361
15361
|
url: n,
|
|
15362
15362
|
width: i,
|
|
@@ -21148,7 +21148,7 @@ const NC = {
|
|
|
21148
21148
|
}
|
|
21149
21149
|
) }) });
|
|
21150
21150
|
}, PC = Oi(
|
|
21151
|
-
() => import("./index-
|
|
21151
|
+
() => import("./index-lalKcSOE.js").then((e) => e.i).then((e) => ({
|
|
21152
21152
|
default: e.F0PdfViewer
|
|
21153
21153
|
}))
|
|
21154
21154
|
), LC = () => {
|
|
@@ -23641,7 +23641,7 @@ const aN = 1e3, oN = ({
|
|
|
23641
23641
|
]
|
|
23642
23642
|
}
|
|
23643
23643
|
);
|
|
23644
|
-
}, jN = () => import("./index-
|
|
23644
|
+
}, jN = () => import("./index-BT8pDyvx.js").then((e) => ({
|
|
23645
23645
|
default: e.F0VideoPlayer
|
|
23646
23646
|
})), $N = Oi(jN), qN = ({
|
|
23647
23647
|
file: e,
|
|
@@ -25243,7 +25243,7 @@ const aN = 1e3, oN = ({
|
|
|
25243
25243
|
}
|
|
25244
25244
|
);
|
|
25245
25245
|
}, P9 = /* @__PURE__ */ new Set(), L9 = Oi(
|
|
25246
|
-
() => import("./ChatPostComposerDialog-
|
|
25246
|
+
() => import("./ChatPostComposerDialog-DgLx0nZo.js").then((e) => ({
|
|
25247
25247
|
default: e.ChatPostComposerDialog
|
|
25248
25248
|
}))
|
|
25249
25249
|
), z9 = () => {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -5657,6 +5657,14 @@ declare const defaultTranslations: {
|
|
|
5657
5657
|
readonly remove: "Remove favorite";
|
|
5658
5658
|
};
|
|
5659
5659
|
readonly notifications: "Notifications";
|
|
5660
|
+
readonly toasts: {
|
|
5661
|
+
readonly clearAll: "Clear all";
|
|
5662
|
+
readonly messages: "Messages";
|
|
5663
|
+
readonly moreMessages: {
|
|
5664
|
+
readonly one: "+{{count}} more message";
|
|
5665
|
+
readonly other: "+{{count}} more messages";
|
|
5666
|
+
};
|
|
5667
|
+
};
|
|
5660
5668
|
readonly ai: {
|
|
5661
5669
|
readonly openChat: "Open Chat with One AI";
|
|
5662
5670
|
readonly closeChat: "Close Chat with One AI";
|
|
@@ -20024,8 +20032,10 @@ declare module "@tiptap/core" {
|
|
|
20024
20032
|
|
|
20025
20033
|
declare module "@tiptap/core" {
|
|
20026
20034
|
interface Commands<ReturnType> {
|
|
20027
|
-
|
|
20028
|
-
|
|
20035
|
+
indent: {
|
|
20036
|
+
setIndent: (level: number) => ReturnType;
|
|
20037
|
+
unsetIndent: () => ReturnType;
|
|
20038
|
+
outdent: () => ReturnType;
|
|
20029
20039
|
};
|
|
20030
20040
|
}
|
|
20031
20041
|
}
|
|
@@ -20033,10 +20043,8 @@ declare module "@tiptap/core" {
|
|
|
20033
20043
|
|
|
20034
20044
|
declare module "@tiptap/core" {
|
|
20035
20045
|
interface Commands<ReturnType> {
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
unsetIndent: () => ReturnType;
|
|
20039
|
-
outdent: () => ReturnType;
|
|
20046
|
+
moodTracker: {
|
|
20047
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
20040
20048
|
};
|
|
20041
20049
|
}
|
|
20042
20050
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { v as s, t, A as i, b as o, L as r, bg as n, bf as l, bh as S, B as d, w as g, y as b, N as u, bn as C, bo as c, bx as m, x as P, C as F, bm as p, by as
|
|
2
|
-
import { ea as Es, eL as As, eK as fs, eX as Ls, r as Bs, eI as Rs, cE as ys, cA as Ds, cB as
|
|
3
|
-
import {
|
|
4
|
-
import { b as yi, e as Di, i as
|
|
1
|
+
import { v as s, t, A as i, b as o, L as r, bg as n, bf as l, bh as S, B as d, w as g, y as b, N as u, bn as C, bo as c, bx as m, x as P, C as F, bm as p, by as T, D as h, z as M, a5 as I, bT as E, b_ as A, M as f, bS as L, E as B, d as R, g as y, l as D, ap as v, aq as k, an as O, G as W, bc as _, F as N, aw as H, h as x, aB as V, ax as w, ay as G, az as U, n as z, o as K, H as j, bB as X, bC as Q, bq as Y, av as q, bF as J, bQ as Z, bi as $, aQ as aa, aA as ea, aO as sa, aN as ta, aG as ia, aP as oa, a8 as ra, bA as na, W as la, ah as Sa, J as da, O as ga, K as ba, c2 as ua, X as Ca, P as ca, Q as ma, T as Pa, bj as Fa, R as pa, bO as Ta, bU as ha, S as Ma, ab as Ia, ac as Ea, a0 as Aa, a1 as fa, a2 as La, $ as Ba, a3 as Ra, Y as ya, a4 as Da, a6 as va, a7 as ka, a9 as Oa, aa as Wa, ad as _a, ae as Na, af as Ha, bY as xa, bX as Va, be as wa, bd as Ga, bl as Ua, bz as za, bw as Ka, bk as ja, ag as Xa, br as Qa, bZ as Ya, c0 as qa, bp as Ja, bu as Za, bs as $a, c1 as ae, bv as ee, bt as se, b$ as te, e as ie, i as oe, aW as re, ak as ne, am as le, aJ as Se, bW as de, bV as ge, al as be, ar as ue, f as Ce, b7 as ce, bb as me, b5 as Pe, b6 as Fe, b3 as pe, b4 as Te, b8 as he, b9 as Me, b2 as Ie, j as Ee, k as Ae, ba as fe, bI as Le, bG as Be, au as Re, as as ye, at as De, aS as ve, bR as ke, bH as Oe, p as We, q as _e, m as Ne, aZ as He, I as xe, r as Ve, a_ as we, bM as Ge, aV as Ue, aU as ze, a$ as Ke, bE as je, bJ as Xe, ai as Qe, b0 as Ye, bP as qe, aR as Je, aT as Ze, aX as $e, aY as as, c as es, ao as ss, aj as ts, u as is, aC as os, aD as rs, aE as ns, aF as ls, bD as Ss, aK as ds, aL as gs, aH as bs, aI as us, V as Cs, U as cs, _ as ms, Z as Ps, aM as Fs, b1 as ps, bN as Ts, bL as hs, bK as Ms } from "./experimental-Drx9E2I8.js";
|
|
2
|
+
import { ea as Es, eL as As, eK as fs, eX as Ls, r as Bs, eI as Rs, cE as ys, cA as Ds, cB as vs, dO as ks, cn as Os, cn as Ws, cj as _s, eE as Ns, cH as Hs, eq as xs, cI as Vs, e_ as ws, eJ as Gs, eT as Us, eU as zs, e9 as Ks, eY as js, k as Xs, eb as Qs, d2 as Ys, eH as qs, dR as Js, eM as Zs, T as $s, h as at, ck as et, eV as st, e$ as tt, eW as it, eZ as ot, eS as rt, eP as nt, eR as lt, eN as St, eF as dt, eG as gt, eA as bt, eQ as ut, eO as Ct, dS as ct } from "./F0CanvasPanel-CMwh5HFX.js";
|
|
3
|
+
import { aL as Pt, aM as Ft, ag as pt, ah as Tt, ae as ht, ar as Mt, o as It, ai as Et, aW as At, an as ft, aV as Lt, aq as Bt, af as Rt, aJ as yt, as as Dt, aY as vt, aX as kt, aA as Ot, aB as Wt, at as _t, aE as Nt, F as Ht, ad as xt, aG as Vt, aD as wt, ay as Gt, aw as Ut, b0 as zt, ax as Kt, aH as jt, aI as Xt, aj as Qt, aZ as Yt, a_ as qt, az as Jt, aK as Zt, aS as $t, O as ai, aU as ei, ak as si, b2 as ti, am as ii, ao as oi, aE as ri, a$ as ni, aF as li, aC as Si, b1 as di, al as gi, W as bi, ap as ui, ac as Ci, aa as ci, ab as mi, aP as Pi, aQ as Fi, aN as pi, b3 as Ti, aT as hi, av as Mi, au as Ii, u as Ei, v as Ai, aO as fi, aR as Li, T as Bi } from "./MapProvider-C4kRQyql.js";
|
|
4
|
+
import { b as yi, e as Di, i as vi, g as ki, h as Oi, a as Wi, R as _i, l as Ni, f as Hi, j as xi, k as Vi, u as wi } from "./F0Map-DwKK15l3.js";
|
|
5
5
|
export {
|
|
6
6
|
Pt as AUTO_PER_PAGE_MAX,
|
|
7
7
|
Ft as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
|
@@ -14,10 +14,10 @@ export {
|
|
|
14
14
|
n as AreaChartWidget,
|
|
15
15
|
l as AutoGrid,
|
|
16
16
|
Es as Badge,
|
|
17
|
-
|
|
17
|
+
Tt as BarChart,
|
|
18
18
|
S as BarChartWidget,
|
|
19
19
|
d as BaseActivityItemList,
|
|
20
|
-
|
|
20
|
+
ht as BaseBanner,
|
|
21
21
|
g as BaseCelebration,
|
|
22
22
|
b as BaseCommunityPost,
|
|
23
23
|
As as BaseTabs,
|
|
@@ -25,7 +25,7 @@ export {
|
|
|
25
25
|
u as Breadcrumbs,
|
|
26
26
|
C as CalendarEvent,
|
|
27
27
|
c as CalendarEventList,
|
|
28
|
-
|
|
28
|
+
Mt as CardSelectableContainer,
|
|
29
29
|
It as Carousel,
|
|
30
30
|
Et as CategoryBarChart,
|
|
31
31
|
m as CategoryBarSection,
|
|
@@ -33,11 +33,11 @@ export {
|
|
|
33
33
|
F as CelebrationSkeleton,
|
|
34
34
|
p as ChartWidgetEmptyState,
|
|
35
35
|
Ls as Chip,
|
|
36
|
-
|
|
36
|
+
T as ClockInControls,
|
|
37
37
|
At as CoachmarkProvider,
|
|
38
38
|
ft as ComboChart,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
h as CommunityPost,
|
|
40
|
+
M as CommunityPostSkeleton,
|
|
41
41
|
I as CompanySelector,
|
|
42
42
|
Bs as Counter,
|
|
43
43
|
E as DEFAULT_EXPECTED_ITEMS_COUNT,
|
|
@@ -52,14 +52,14 @@ export {
|
|
|
52
52
|
Bt as F0ActionBar,
|
|
53
53
|
Rt as F0AiBanner,
|
|
54
54
|
R as F0AiCallout,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
vs as F0AvatarModule,
|
|
56
|
+
ks as F0ButtonToggle,
|
|
57
57
|
y as F0Callout,
|
|
58
58
|
Os as F0CardHorizontal,
|
|
59
59
|
Ws as F0CardRow,
|
|
60
60
|
D as F0CarouselDialog,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
v as F0Chat,
|
|
62
|
+
k as F0ChatProvider,
|
|
63
63
|
O as F0CommandPaletteProvider,
|
|
64
64
|
W as F0CommunityPostsCarousel,
|
|
65
65
|
_ as F0ENPSButton,
|
|
@@ -69,8 +69,8 @@ export {
|
|
|
69
69
|
Dt as F0LocationInput,
|
|
70
70
|
yi as F0Map,
|
|
71
71
|
Di as F0MapControls,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
vi as F0MapList,
|
|
73
|
+
ki as F0MapSidebar,
|
|
74
74
|
Oi as F0MapSidebarToggle,
|
|
75
75
|
Wi as F0MapSkeleton,
|
|
76
76
|
H as F0Meeting,
|
|
@@ -79,8 +79,8 @@ export {
|
|
|
79
79
|
w as F0MeetingRoom,
|
|
80
80
|
G as F0MeetingSlot,
|
|
81
81
|
U as F0MeetingSurface,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
vt as F0NotesTextEditor,
|
|
83
|
+
kt as F0NotesTextEditorSkeleton,
|
|
84
84
|
Ot as F0NumberInput,
|
|
85
85
|
Wt as F0NumberInputInline,
|
|
86
86
|
_t as F0PhoneInput,
|
|
@@ -150,9 +150,9 @@ export {
|
|
|
150
150
|
ri as ResourceHeader,
|
|
151
151
|
js as RichTextDisplay,
|
|
152
152
|
ni as RichTextEditor,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
Ta as SLOT_ROW_BLEED,
|
|
154
|
+
ha as SLOT_SKELETON_ITEM_TESTID,
|
|
155
|
+
Ma as ScrollArea,
|
|
156
156
|
Ia as SearchBar,
|
|
157
157
|
li as SectionHeader,
|
|
158
158
|
Xs as Select,
|
|
@@ -165,8 +165,8 @@ export {
|
|
|
165
165
|
Ra as SidebarChatListSkeleton,
|
|
166
166
|
ya as SidebarChatProvider,
|
|
167
167
|
Da as SidebarCollapsibleSection,
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
va as SidebarFooter,
|
|
169
|
+
ka as SidebarHeader,
|
|
170
170
|
Oa as SidebarPanelHeader,
|
|
171
171
|
Wa as SidebarRail,
|
|
172
172
|
_a as SidebarTabPanel,
|
|
@@ -230,9 +230,9 @@ export {
|
|
|
230
230
|
Pe as f0MeetingDisconnectReasons,
|
|
231
231
|
Fe as f0MeetingPermissions,
|
|
232
232
|
pe as f0MeetingPresences,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
Te as f0MeetingStatuses,
|
|
234
|
+
he as f0MeetingSurfaceDestinations,
|
|
235
|
+
Me as f0MeetingSurfaceModes,
|
|
236
236
|
Ie as f0MeetingTrackKinds,
|
|
237
237
|
Ee as f0ProgressSeriesColors,
|
|
238
238
|
Ae as f0ProgressSeriesSizes,
|
|
@@ -251,9 +251,9 @@ export {
|
|
|
251
251
|
ye as isSystemMessage,
|
|
252
252
|
De as isUserMessage,
|
|
253
253
|
gt as isValidPhoneValue,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
254
|
+
ve as layoutGrid,
|
|
255
|
+
Ti as listIconColors,
|
|
256
|
+
ke as listMoreButtonClass,
|
|
257
257
|
Oe as listSlot,
|
|
258
258
|
We as locationInputSizes,
|
|
259
259
|
_e as locationParts,
|
|
@@ -263,7 +263,7 @@ export {
|
|
|
263
263
|
xe as oneListItemRowClassName,
|
|
264
264
|
Ve as phoneInputSizes,
|
|
265
265
|
we as placementFromRect,
|
|
266
|
-
|
|
266
|
+
hi as predefinedPresets,
|
|
267
267
|
Ge as railActionTones,
|
|
268
268
|
ut as rangeSeparator,
|
|
269
269
|
Ue as reorderForSpeakers,
|
|
@@ -273,7 +273,7 @@ export {
|
|
|
273
273
|
je as resolveSlotRenderer,
|
|
274
274
|
Xe as resolveWidgetHeader,
|
|
275
275
|
Qe as seedFromStorage,
|
|
276
|
-
|
|
276
|
+
Mi as selectSizes,
|
|
277
277
|
Ii as selectVariants,
|
|
278
278
|
Ye as settlePlacement,
|
|
279
279
|
qe as slotRowBleed,
|
|
@@ -307,7 +307,7 @@ export {
|
|
|
307
307
|
Fs as useTrackBinding,
|
|
308
308
|
Bi as useWidgetIsWide,
|
|
309
309
|
ps as viewportRect,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
310
|
+
Ts as widgetChrome,
|
|
311
|
+
hs as widgetParamsAreComplete,
|
|
312
|
+
Ms as widgetTitle
|
|
313
313
|
};
|
package/dist/f0.d.ts
CHANGED
|
@@ -1359,6 +1359,31 @@ export declare type AppendToolCall = {
|
|
|
1359
1359
|
};
|
|
1360
1360
|
};
|
|
1361
1361
|
|
|
1362
|
+
export declare type AppToastOptions = ToastCommonOptions & ToastTiming & {
|
|
1363
|
+
/**
|
|
1364
|
+
* The kind of toast. `app` is a status message about something the user
|
|
1365
|
+
* did or the app did.
|
|
1366
|
+
* @default "app"
|
|
1367
|
+
*/
|
|
1368
|
+
type?: "app";
|
|
1369
|
+
/**
|
|
1370
|
+
* The actions to display in the toast
|
|
1371
|
+
*/
|
|
1372
|
+
actions?: F0ToastActions;
|
|
1373
|
+
/**
|
|
1374
|
+
* The title of the toast
|
|
1375
|
+
*/
|
|
1376
|
+
title?: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* The description of the toast
|
|
1379
|
+
*/
|
|
1380
|
+
description?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The variant of the toast
|
|
1383
|
+
*/
|
|
1384
|
+
variant?: F0ToastVariant;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1362
1387
|
export declare const AreaChart: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig_2> & {
|
|
1363
1388
|
lineType?: "step" | "linear" | "natural" | "monotoneX";
|
|
1364
1389
|
marginTop?: number;
|
|
@@ -5536,6 +5561,14 @@ export declare const defaultTranslations: {
|
|
|
5536
5561
|
readonly remove: "Remove favorite";
|
|
5537
5562
|
};
|
|
5538
5563
|
readonly notifications: "Notifications";
|
|
5564
|
+
readonly toasts: {
|
|
5565
|
+
readonly clearAll: "Clear all";
|
|
5566
|
+
readonly messages: "Messages";
|
|
5567
|
+
readonly moreMessages: {
|
|
5568
|
+
readonly one: "+{{count}} more message";
|
|
5569
|
+
readonly other: "+{{count}} more messages";
|
|
5570
|
+
};
|
|
5571
|
+
};
|
|
5539
5572
|
readonly ai: {
|
|
5540
5573
|
readonly openChat: "Open Chat with One AI";
|
|
5541
5574
|
readonly closeChat: "Close Chat with One AI";
|
|
@@ -14128,7 +14161,13 @@ export declare interface F0TimelineRowTaskProps extends F0TimelineRowBaseProps {
|
|
|
14128
14161
|
otherActions?: F0TimelineRowOtherAction[];
|
|
14129
14162
|
}
|
|
14130
14163
|
|
|
14131
|
-
declare type
|
|
14164
|
+
declare type F0ToastActions = ToastActionButton | [ToastActionButton] | ToastActionLink | [ToastActionLink] | [ToastActionButton, ToastActionLink];
|
|
14165
|
+
|
|
14166
|
+
declare type F0ToastProps = ToastCardProps & {
|
|
14167
|
+
/**
|
|
14168
|
+
* The actions to display in the toast
|
|
14169
|
+
*/
|
|
14170
|
+
actions?: F0ToastActions;
|
|
14132
14171
|
/**
|
|
14133
14172
|
* The title of the toast
|
|
14134
14173
|
*/
|
|
@@ -14141,22 +14180,6 @@ declare type F0ToastProps = {
|
|
|
14141
14180
|
* The variant of the toast
|
|
14142
14181
|
*/
|
|
14143
14182
|
variant?: F0ToastVariant;
|
|
14144
|
-
/**
|
|
14145
|
-
* The duration of the toast in milliseconds (if not provided, the toast will stay open until the user closes it)
|
|
14146
|
-
*/
|
|
14147
|
-
duration?: number;
|
|
14148
|
-
/**
|
|
14149
|
-
* Whether the toast is paused. If true, the duraction timer will not tick in anycase
|
|
14150
|
-
*/
|
|
14151
|
-
forcePauseTimer?: boolean;
|
|
14152
|
-
/**
|
|
14153
|
-
* The callback to be called when the toast is closed
|
|
14154
|
-
*/
|
|
14155
|
-
onClose?: () => void;
|
|
14156
|
-
/**
|
|
14157
|
-
* The actions to display in the toast ()
|
|
14158
|
-
*/
|
|
14159
|
-
actions?: ToastActionButton | [ToastActionButton] | ToastActionLink | [ToastActionLink] | [ToastActionButton, ToastActionLink];
|
|
14160
14183
|
};
|
|
14161
14184
|
|
|
14162
14185
|
declare type F0ToastVariant = (typeof toastVariants)[number];
|
|
@@ -16605,6 +16628,48 @@ declare type Message_2 = {
|
|
|
16605
16628
|
|
|
16606
16629
|
declare type MessageSlotComponent = ComponentType<any>;
|
|
16607
16630
|
|
|
16631
|
+
export declare type MessageToastOptions = ToastCommonOptions & ToastTiming & {
|
|
16632
|
+
/**
|
|
16633
|
+
* The kind of toast. `message` is something a person sent, shown with
|
|
16634
|
+
* their avatar, like a chat notification.
|
|
16635
|
+
*/
|
|
16636
|
+
type: "message";
|
|
16637
|
+
/**
|
|
16638
|
+
* The avatar of the sender (or of the conversation, for a group)
|
|
16639
|
+
*/
|
|
16640
|
+
avatar: AvatarVariant;
|
|
16641
|
+
/**
|
|
16642
|
+
* The display name of the sender
|
|
16643
|
+
*/
|
|
16644
|
+
sender: string;
|
|
16645
|
+
/**
|
|
16646
|
+
* Where the message was posted, e.g. the channel name. Omit for a direct
|
|
16647
|
+
* message.
|
|
16648
|
+
*/
|
|
16649
|
+
topic?: string;
|
|
16650
|
+
/**
|
|
16651
|
+
* The text of the message
|
|
16652
|
+
*/
|
|
16653
|
+
message: string;
|
|
16654
|
+
/**
|
|
16655
|
+
* Called when the message is clicked, e.g. to open the conversation. The
|
|
16656
|
+
* toast closes after it.
|
|
16657
|
+
*/
|
|
16658
|
+
onClick?: () => void;
|
|
16659
|
+
/**
|
|
16660
|
+
* Groups messages of one conversation into a single toast
|
|
16661
|
+
*/
|
|
16662
|
+
thread?: MessageToastThread;
|
|
16663
|
+
};
|
|
16664
|
+
|
|
16665
|
+
export declare type MessageToastThread = {
|
|
16666
|
+
/**
|
|
16667
|
+
* Messages with the same thread id share one toast: each new message
|
|
16668
|
+
* replaces it in place, restarts its timer and adds to its "+N more" count.
|
|
16669
|
+
*/
|
|
16670
|
+
id: string;
|
|
16671
|
+
};
|
|
16672
|
+
|
|
16608
16673
|
declare type MetadataAction = {
|
|
16609
16674
|
icon: IconType;
|
|
16610
16675
|
label: string;
|
|
@@ -20146,51 +20211,48 @@ declare type ToastActionLink = {
|
|
|
20146
20211
|
keepOpen?: boolean;
|
|
20147
20212
|
};
|
|
20148
20213
|
|
|
20149
|
-
|
|
20150
|
-
|
|
20151
|
-
export declare type ToastOptions = {
|
|
20214
|
+
declare type ToastCardProps = {
|
|
20152
20215
|
/**
|
|
20153
|
-
*
|
|
20216
|
+
* How long the toast stays open, in milliseconds. Draws the countdown bar;
|
|
20217
|
+
* closing the toast when it runs out is the toast provider's job.
|
|
20154
20218
|
*/
|
|
20155
|
-
|
|
20219
|
+
duration?: number;
|
|
20156
20220
|
/**
|
|
20157
|
-
* The
|
|
20221
|
+
* The callback to be called when the toast is closed
|
|
20158
20222
|
*/
|
|
20159
|
-
|
|
20223
|
+
onClose?: () => void;
|
|
20160
20224
|
/**
|
|
20161
|
-
*
|
|
20225
|
+
* Changes whenever the toast's timer starts again, so the countdown bar
|
|
20226
|
+
* starts again from full.
|
|
20162
20227
|
*/
|
|
20163
|
-
|
|
20228
|
+
countdownKey?: string | number;
|
|
20164
20229
|
/**
|
|
20165
|
-
*
|
|
20230
|
+
* Changes whenever the toast's content is replaced in place, so the new
|
|
20231
|
+
* text fades in.
|
|
20166
20232
|
*/
|
|
20167
|
-
|
|
20233
|
+
contentKey?: number;
|
|
20234
|
+
};
|
|
20235
|
+
|
|
20236
|
+
declare type ToastCommonOptions = {
|
|
20168
20237
|
/**
|
|
20169
20238
|
* Optional id for the toast. If not provided, a random id will be generated.
|
|
20239
|
+
* Opening a toast with the id of an open one replaces it in place.
|
|
20170
20240
|
*/
|
|
20171
20241
|
id?: ToastId;
|
|
20172
|
-
}
|
|
20173
|
-
|
|
20174
|
-
|
|
20175
|
-
|
|
20176
|
-
|
|
20177
|
-
* @default 5000
|
|
20178
|
-
*/
|
|
20179
|
-
duration?: number;
|
|
20180
|
-
/**
|
|
20181
|
-
* Whether the toast should persist until the user closes it
|
|
20182
|
-
*/
|
|
20183
|
-
persistent?: undefined;
|
|
20184
|
-
} | {
|
|
20185
|
-
duration?: undefined;
|
|
20186
|
-
persistent: true;
|
|
20187
|
-
});
|
|
20242
|
+
};
|
|
20243
|
+
|
|
20244
|
+
export declare type ToastId = string;
|
|
20245
|
+
|
|
20246
|
+
export declare type ToastOptions = AppToastOptions | MessageToastOptions;
|
|
20188
20247
|
|
|
20189
20248
|
export declare const ToastProvider: ({ children, portalTargets, }: ToastProviderProps) => JSX_2.Element;
|
|
20190
20249
|
|
|
20191
20250
|
/**
|
|
20192
|
-
*
|
|
20193
|
-
*
|
|
20251
|
+
* @deprecated The toast store that held these items was replaced by Base UI's
|
|
20252
|
+
* toast manager, and nothing reads this type any more.
|
|
20253
|
+
* @removeIn 8.0.0
|
|
20254
|
+
* @migration Remove the import. To open a toast, pass `ToastOptions` to
|
|
20255
|
+
* `toasts.open`.
|
|
20194
20256
|
*/
|
|
20195
20257
|
export declare type ToastProviderItem = F0ToastProps & {
|
|
20196
20258
|
id: ToastId;
|
|
@@ -20198,7 +20260,7 @@ export declare type ToastProviderItem = F0ToastProps & {
|
|
|
20198
20260
|
};
|
|
20199
20261
|
|
|
20200
20262
|
declare type ToastProviderProps = {
|
|
20201
|
-
children:
|
|
20263
|
+
children: ReactNode;
|
|
20202
20264
|
portalTargets?: Record<"mobile" | "desktop", string>;
|
|
20203
20265
|
};
|
|
20204
20266
|
|
|
@@ -20211,6 +20273,14 @@ declare type ToastProviderProps = {
|
|
|
20211
20273
|
* import { toasts } from "@factorialco/f0-react"
|
|
20212
20274
|
*
|
|
20213
20275
|
* const id = toasts.open({ title: "Saved", variant: "success" })
|
|
20276
|
+
* toasts.open({
|
|
20277
|
+
* type: "message",
|
|
20278
|
+
* avatar: { type: "person", firstName: "Ana", lastName: "Ruiz" },
|
|
20279
|
+
* sender: "Ana Ruiz",
|
|
20280
|
+
* topic: "design",
|
|
20281
|
+
* message: "Can you take a look?",
|
|
20282
|
+
* thread: { id: channelId },
|
|
20283
|
+
* })
|
|
20214
20284
|
* toasts.close(id)
|
|
20215
20285
|
* toasts.closeAll()
|
|
20216
20286
|
*/
|
|
@@ -20230,6 +20300,23 @@ export declare const toasts: {
|
|
|
20230
20300
|
closeAll: () => void;
|
|
20231
20301
|
};
|
|
20232
20302
|
|
|
20303
|
+
declare type ToastTiming = {
|
|
20304
|
+
/**
|
|
20305
|
+
* The duration of the toast in milliseconds. Defaults to 5000ms, or
|
|
20306
|
+
* 10000ms when the toast has an action (more time to read and reach it).
|
|
20307
|
+
* Use `persistent: true` to keep it open until the user closes it.
|
|
20308
|
+
* @default 5000
|
|
20309
|
+
*/
|
|
20310
|
+
duration?: number;
|
|
20311
|
+
/**
|
|
20312
|
+
* Whether the toast should persist until the user closes it
|
|
20313
|
+
*/
|
|
20314
|
+
persistent?: undefined;
|
|
20315
|
+
} | {
|
|
20316
|
+
duration?: undefined;
|
|
20317
|
+
persistent: true;
|
|
20318
|
+
};
|
|
20319
|
+
|
|
20233
20320
|
declare const toastVariants: readonly ["error", "warning", "success", "loading", "default"];
|
|
20234
20321
|
|
|
20235
20322
|
/** A button rendered in the footer at the bottom of the table of contents */
|
|
@@ -21822,8 +21909,10 @@ declare module "@tiptap/core" {
|
|
|
21822
21909
|
|
|
21823
21910
|
declare module "@tiptap/core" {
|
|
21824
21911
|
interface Commands<ReturnType> {
|
|
21825
|
-
|
|
21826
|
-
|
|
21912
|
+
indent: {
|
|
21913
|
+
setIndent: (level: number) => ReturnType;
|
|
21914
|
+
unsetIndent: () => ReturnType;
|
|
21915
|
+
outdent: () => ReturnType;
|
|
21827
21916
|
};
|
|
21828
21917
|
}
|
|
21829
21918
|
}
|
|
@@ -21831,10 +21920,8 @@ declare module "@tiptap/core" {
|
|
|
21831
21920
|
|
|
21832
21921
|
declare module "@tiptap/core" {
|
|
21833
21922
|
interface Commands<ReturnType> {
|
|
21834
|
-
|
|
21835
|
-
|
|
21836
|
-
unsetIndent: () => ReturnType;
|
|
21837
|
-
outdent: () => ReturnType;
|
|
21923
|
+
moodTracker: {
|
|
21924
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
21838
21925
|
};
|
|
21839
21926
|
}
|
|
21840
21927
|
}
|