@factorialco/f0-react 14.8.2 → 14.9.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/{ArchiveThumbnail-DPT204lH.js → ArchiveThumbnail-BduclpCX.js} +1 -1
- package/dist/{ArchiveViewer-9lcpa9Q8.js → ArchiveViewer-DBfj1vXm.js} +2 -2
- package/dist/{ChatPostComposerDialog-D6Lx5GCM.js → ChatPostComposerDialog-DrLzQLYQ.js} +2 -2
- package/dist/{CoachmarkProvider-CS7Z_Y7f.js → CoachmarkProvider-B0dTeVcI.js} +25429 -24769
- package/dist/{CodeThumbnail-2zkY_9-9.js → CodeThumbnail-C79gaIHH.js} +1 -1
- package/dist/{CodeViewer-C2oHjpv2.js → CodeViewer-B409Fub3.js} +4 -4
- package/dist/{DocumentToolbar-3lSgfCzO.js → DocumentToolbar-C0HnSlsb.js} +4 -4
- package/dist/{DocxViewer-CiaoUH7p.js → DocxViewer-DCytKfpY.js} +1 -1
- package/dist/{F0AiProcessingOverlay-DH8QoK7r.js → F0AiProcessingOverlay-solmGB8s.js} +24 -24
- package/dist/{F0Alert-Dg59ZMiW.js → F0Alert-CVldRGpp.js} +1 -1
- package/dist/F0AudioPlayer-Cs-wbIuL.js +2 -0
- package/dist/{F0CanvasPanel-DArJVuZa.js → F0CanvasPanel-DZ0gNBMi.js} +144 -144
- package/dist/{F0DocumentViewer-DKgNwb_u.js → F0DocumentViewer-Bsr9NtQt.js} +1 -1
- package/dist/{F0DocumentViewer-sY_vqAoS.js → F0DocumentViewer-CR7JfWnq.js} +2 -2
- package/dist/{F0Map-rvLzy15R.js → F0Map-BsRRtBTD.js} +3 -3
- package/dist/{F0Select-Bfedp75T.js → F0Select-BFeDA4Fi.js} +1 -1
- package/dist/F0VideoPlayer-CwUKN1eb.js +1 -0
- package/dist/{F0VideoPlayer-D6NrPRb8.js → F0VideoPlayer-uiqPBvSk.js} +1 -1
- package/dist/{HtmlViewer-DEnPsGph.js → HtmlViewer-C1x4egUj.js} +4 -4
- package/dist/{Map-Dijnzc-b.js → Map-DGN5kAYR.js} +3 -3
- package/dist/{PdfThumbnail-DQBJ7bVz.js → PdfThumbnail-BBTIKljF.js} +1 -1
- package/dist/{PdfViewer-1pDef2Xt.js → PdfViewer-SdanrmGf.js} +5 -5
- package/dist/{SheetViewer-DTuOih8a.js → SheetViewer-CGf4pI8l.js} +2 -2
- package/dist/{TextViewer-CDnRn2S7.js → TextViewer-BwqhEaiw.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.js +135 -135
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +61 -61
- package/dist/{highlight-Cj_h8gQl.js → highlight-CbDkrDAH.js} +1 -1
- package/dist/{maplibre-DAJOaIpt.js → maplibre-TC0gc2fr.js} +1 -1
- package/dist/{pdfWorker-u_wdO0se.js → pdfWorker-B2Llhcrq.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-nuIwfRtq.d.ts → types-08Lj9pNJ.d.ts} +15 -0
- package/package.json +1 -1
- package/dist/F0AudioPlayer-6sBKhYuG.js +0 -2
- package/dist/F0VideoPlayer-LWbco75P.js +0 -1
package/dist/experimental.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $ as t, $n as n, Ar as r, At as i, B as a, Br as o, C as s, Ci as c, Cn as l, Cr as u, Ct as d, Dr as f, Dt as p, Er as m, Et as h, F as g, Fn as _, Fr as v, G as y, Gr as b, H as x, Hr as S, I as C, In as w, Ir as T, It as E, J as D, K as O, Kr as k, L as A, Ln as j, Lr as M, Lt as N, M as P, Mr as F, Mt as I, N as L, Nn as ee, Nr as te, Nt as ne, Or as re, Ot as ie, P as ae, Pn as oe, Pr as se, Q as ce, Qn as le, Qr as ue, R as de, Rn as fe, Rr as pe, S as me, Sr as he, T as ge, Tr as _e, Tt as ve, U as ye, Ur as be, V as xe, Vr as Se, Vt as Ce, W as we, Wr as Te, X as Ee, Xn as De, Xr as Oe, Y as ke, Yr as Ae, Z as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _i as Ie, _n as Le, _r as Re, ai as ze, an as Be, ar as Ve, at as He, b as Ue, bi as We, bn as Ge, br as Ke, ci as qe, cr as Je, ct as Ye, d as Xe, dr as Ze, dt as Qe, ei as $e, en as et, er as tt, et as nt, fi as rt, fn as it, ft as at, g as ot, gi as st, gn as ct, gr as lt, h as ut, hi as dt, hn as ft, ii as pt, in as mt, ir as ht, it as gt, j as _t, jr as vt, jt as yt, kr as bt, li as xt, lr as St, lt as Ct, m as wt, mi as Tt, mn as Et, mt as Dt, n as Ot, ni as kt, nr as At, nt as jt, oi as Mt, on as Nt, or as Pt, ot as Ft, p as It, pi as Lt, pn as Rt, pt as zt, q as Bt, qr as Vt, qt as Ht, r as Ut, ri as Wt, rt as Gt, s as Kt, si as qt, sr as Jt, st as Yt, t as Xt, ti as Zt, tt as Qt, ui as $t, ur as en, ut as tn, v as nn, vi as rn, vn as an, vr as on, w as sn, wi as cn, wt as ln, x as un, xi as dn, xn as fn, xr as pn, y as mn, yi as hn, yn as gn, yr as _n, z as vn, zn as yn, zr as bn, zt as xn } from "./CoachmarkProvider-
|
|
2
|
+
import { $ as t, $n as n, Ar as r, At as i, B as a, Br as o, C as s, Ci as c, Cn as l, Cr as u, Ct as d, Dr as f, Dt as p, Er as m, Et as h, F as g, Fn as _, Fr as v, G as y, Gr as b, H as x, Hr as S, I as C, In as w, Ir as T, It as E, J as D, K as O, Kr as k, L as A, Ln as j, Lr as M, Lt as N, M as P, Mr as F, Mt as I, N as L, Nn as ee, Nr as te, Nt as ne, Or as re, Ot as ie, P as ae, Pn as oe, Pr as se, Q as ce, Qn as le, Qr as ue, R as de, Rn as fe, Rr as pe, S as me, Sr as he, T as ge, Tr as _e, Tt as ve, U as ye, Ur as be, V as xe, Vr as Se, Vt as Ce, W as we, Wr as Te, X as Ee, Xn as De, Xr as Oe, Y as ke, Yr as Ae, Z as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _i as Ie, _n as Le, _r as Re, ai as ze, an as Be, ar as Ve, at as He, b as Ue, bi as We, bn as Ge, br as Ke, ci as qe, cr as Je, ct as Ye, d as Xe, dr as Ze, dt as Qe, ei as $e, en as et, er as tt, et as nt, fi as rt, fn as it, ft as at, g as ot, gi as st, gn as ct, gr as lt, h as ut, hi as dt, hn as ft, ii as pt, in as mt, ir as ht, it as gt, j as _t, jr as vt, jt as yt, kr as bt, li as xt, lr as St, lt as Ct, m as wt, mi as Tt, mn as Et, mt as Dt, n as Ot, ni as kt, nr as At, nt as jt, oi as Mt, on as Nt, or as Pt, ot as Ft, p as It, pi as Lt, pn as Rt, pt as zt, q as Bt, qr as Vt, qt as Ht, r as Ut, ri as Wt, rt as Gt, s as Kt, si as qt, sr as Jt, st as Yt, t as Xt, ti as Zt, tt as Qt, ui as $t, ur as en, ut as tn, v as nn, vi as rn, vn as an, vr as on, w as sn, wi as cn, wt as ln, x as un, xi as dn, xn as fn, xr as pn, y as mn, yi as hn, yn as gn, yr as _n, z as vn, zn as yn, zr as bn, zt as xn } from "./CoachmarkProvider-B0dTeVcI.js";
|
|
3
3
|
import { a as Sn, c as Cn, i as wn, r as R, u as Tn } from "./i18n-provider-yEyt4-zw.js";
|
|
4
4
|
import { n as En, t as z } from "./skeleton-Bh5f_jFO.js";
|
|
5
5
|
import { L as B, R as Dn, a as On, i as kn, o as An, r as jn, t as Mn } from "./tooltip-BX4dSfeL.js";
|
|
6
6
|
import { B as Nn, C as Pn, D as Fn, E as In, F as Ln, H as Rn, I as zn, K as Bn, N as Vn, P as Hn, R as Un, S as Wn, T as Gn, U as V, V as Kn, _ as qn, b as Jn, c as Yn, d as Xn, f as Zn, h as Qn, m as $n, n as H, o as er, p as tr, q as nr, r as rr, t as U, v as ir, w as ar } from "./F0Button-BuWUEcYr.js";
|
|
7
|
-
import { $ as or, $a as sr, $c as cr, $r as lr, $t as ur, Ac as dr, At as fr, B as pr, Bc as mr, Bi as hr, Bo as gr, Bs as _r, C as vr, Cc as yr, Co as br, Ct as xr, D as Sr, Dc as Cr, Di as wr, Do as Tr, Dt as Er, E as Dr, Ei as Or, Et as kr, Fs as Ar, Ft as jr, G as Mr, Gc as Nr, Gr as Pr, Gt as Fr, H as Ir, Hc as Lr, Hn as Rr, Ho as zr, Hr as Br, Ht as Vr, Ic as Hr, Is as Ur, It as Wr, J as Gr, Js as Kr, Jt as qr, Kc as Jr, Ls as Yr, Lt as Xr, M as Zr, Mc as Qr, Mi as $r, Mr as ei, Ms as ti, N as ni, Ns as ri, Nt as ii, O as ai, Oc as oi, Oi as si, Os as ci, P as li, Pa as ui, Po as di, Ps as fi, Q as pi, Qa as mi, Qo as hi, Qr as gi, Rc as _i, Ri as vi, Ro as yi, Rt as bi, Sc as xi, So as Si, Ss as Ci, T as wi, Tc as Ti, To as Ei, Tt as Di, U as Oi, Ur as ki, Us as Ai, V as ji, Vn as Mi, Vo as Ni, Vr as Pi, Vs as Fi, Vt as Ii, W as Li, Wc as Ri, Wo as zi, Wr as Bi, Wt as Vi, X as Hi, Y as Ui, Ys as Wi, Z as Gi, Zc as Ki, Zr as qi, _ as Ji, _c as Yi, _s as Xi, _t as Zi, ac as Qi, ai as $i, as as ea, at as ta, b as na, bc as ra, bo as ia, bs as aa, bt as oa, c as sa, cc as ca, co as la, cs as ua, ct as da, d as fa, di as pa, ds as ma, dt as ha, ec as ga, ei as _a, en as va, eo as ya, es as ba, et as xa, f as Sa, fi as Ca, fn as wa, fs as Ta, ft as Ea, g as Da, gi as Oa, gs as ka, gt as Aa, h as ja, hc as Ma, hi as Na, hn as Pa, hs as Fa, ht as Ia, i as La, ic as Ra, ii as za, it as Ba, ja as Va, jo as Ha, jr as Ua, ka as Wa, kc as Ga, ki as Ka, ko as qa, ks as Ja, kt as Ya, l as Xa, lc as Za, li as Qa, lo as $a, lt as eo, m as to, mi as no, mn as ro, mt as io, n as ao, nc as oo, nl as so, no as co, ns as lo, nt as uo, o as fo, on as po, oo as mo, ot as ho, p as go, pi as _o, pn as vo, pt as yo, qt as bo, rc as xo, rn as So, ro as Co, rs as wo, rt as To, s as Eo, sc as Do, si as Oo, sn as ko, so as Ao, ss as jo, st as Mo, t as No, ti as Po, tl as Fo, tn as Io, to as Lo, ts as Ro, tt as zo, u as Bo, ui as Vo, un as Ho, uo as Uo, us as Wo, ut as Go, v as Ko, vc as qo, vn as Jo, vs as Yo, vt as Xo, w as Zo, wc as Qo, wi as $o, wt as es, x as ts, xo as ns, xs as rs, xt as is, y as as, yc as os, yi as ss, yo as cs, zc as ls, zo as us, zs as ds } from "./F0CanvasPanel-
|
|
7
|
+
import { $ as or, $a as sr, $c as cr, $r as lr, $t as ur, Ac as dr, At as fr, B as pr, Bc as mr, Bi as hr, Bo as gr, Bs as _r, C as vr, Cc as yr, Co as br, Ct as xr, D as Sr, Dc as Cr, Di as wr, Do as Tr, Dt as Er, E as Dr, Ei as Or, Et as kr, Fs as Ar, Ft as jr, G as Mr, Gc as Nr, Gr as Pr, Gt as Fr, H as Ir, Hc as Lr, Hn as Rr, Ho as zr, Hr as Br, Ht as Vr, Ic as Hr, Is as Ur, It as Wr, J as Gr, Js as Kr, Jt as qr, Kc as Jr, Ls as Yr, Lt as Xr, M as Zr, Mc as Qr, Mi as $r, Mr as ei, Ms as ti, N as ni, Ns as ri, Nt as ii, O as ai, Oc as oi, Oi as si, Os as ci, P as li, Pa as ui, Po as di, Ps as fi, Q as pi, Qa as mi, Qo as hi, Qr as gi, Rc as _i, Ri as vi, Ro as yi, Rt as bi, Sc as xi, So as Si, Ss as Ci, T as wi, Tc as Ti, To as Ei, Tt as Di, U as Oi, Ur as ki, Us as Ai, V as ji, Vn as Mi, Vo as Ni, Vr as Pi, Vs as Fi, Vt as Ii, W as Li, Wc as Ri, Wo as zi, Wr as Bi, Wt as Vi, X as Hi, Y as Ui, Ys as Wi, Z as Gi, Zc as Ki, Zr as qi, _ as Ji, _c as Yi, _s as Xi, _t as Zi, ac as Qi, ai as $i, as as ea, at as ta, b as na, bc as ra, bo as ia, bs as aa, bt as oa, c as sa, cc as ca, co as la, cs as ua, ct as da, d as fa, di as pa, ds as ma, dt as ha, ec as ga, ei as _a, en as va, eo as ya, es as ba, et as xa, f as Sa, fi as Ca, fn as wa, fs as Ta, ft as Ea, g as Da, gi as Oa, gs as ka, gt as Aa, h as ja, hc as Ma, hi as Na, hn as Pa, hs as Fa, ht as Ia, i as La, ic as Ra, ii as za, it as Ba, ja as Va, jo as Ha, jr as Ua, ka as Wa, kc as Ga, ki as Ka, ko as qa, ks as Ja, kt as Ya, l as Xa, lc as Za, li as Qa, lo as $a, lt as eo, m as to, mi as no, mn as ro, mt as io, n as ao, nc as oo, nl as so, no as co, ns as lo, nt as uo, o as fo, on as po, oo as mo, ot as ho, p as go, pi as _o, pn as vo, pt as yo, qt as bo, rc as xo, rn as So, ro as Co, rs as wo, rt as To, s as Eo, sc as Do, si as Oo, sn as ko, so as Ao, ss as jo, st as Mo, t as No, ti as Po, tl as Fo, tn as Io, to as Lo, ts as Ro, tt as zo, u as Bo, ui as Vo, un as Ho, uo as Uo, us as Wo, ut as Go, v as Ko, vc as qo, vn as Jo, vs as Yo, vt as Xo, w as Zo, wc as Qo, wi as $o, wt as es, x as ts, xo as ns, xs as rs, xt as is, y as as, yc as os, yi as ss, yo as cs, zc as ls, zo as us, zs as ds } from "./F0CanvasPanel-DZ0gNBMi.js";
|
|
8
8
|
import { t as fs } from "./LayoutGroup-BjEOQYGB.js";
|
|
9
9
|
import { n as ps, o as ms, r as hs, t as W } from "./F0Icon-DPIzeYTo.js";
|
|
10
10
|
import { A as gs, B as _s, C as vs, D as ys, F as bs, H as xs, I as Ss, L as Cs, M as ws, N as Ts, O as Es, S as Ds, T as Os, V as ks, f as As, g as js, h as Ms, i as Ns, j as Ps, k as Fs, l as Is, w as Ls, x as Rs, y as zs, z as Bs } from "./useData-Cf_qNogx.js";
|
|
11
|
-
import {
|
|
11
|
+
import { $ as Vs, A as Hs, An as Us, Ar as Ws, Cr as Gs, Dn as Ks, Dr as qs, Dt as Js, En as Ys, Et as Xs, F as Zs, Fn as Qs, J as $s, Mn as ec, N as tc, Nn as nc, Nt as rc, On as ic, Or as ac, Ot as oc, P as sc, Pn as cc, Q as lc, Tr as uc, Tt as dc, Yt as fc, Z as pc, _ as mc, an as hc, at as gc, bt as _c, dt as vc, fr as yc, ft as bc, g as xc, h as Sc, in as Cc, it as wc, kn as Tc, kr as Ec, lr as Dc, m as Oc, mn as kc, nn as Ac, nt as jc, pr as Mc, rt as Nc, t as Pc, tn as Fc, tt as Ic, un as Lc, ur as Rc, ut as zc, v as Bc, vt as Vc, wn as Hc, wr as Uc, wt as Wc, xt as Gc, y as Kc, yn as qc, yt as Jc } from "./F0Select-BFeDA4Fi.js";
|
|
12
12
|
import { t as Yc } from "./Check-DAp9gCRh.js";
|
|
13
13
|
import { a as Xc } from "./dist-BKwov-iO.js";
|
|
14
14
|
import { t as Zc } from "./Ellipsis-CBouJQYY.js";
|
|
@@ -21,7 +21,7 @@ import { t as Tl } from "./F0Text-Dk6a4F8A.js";
|
|
|
21
21
|
import { a as El, i as Dl, n as Ol, r as kl, s as Al, t as jl } from "./dist-Cuwaibqg.js";
|
|
22
22
|
import './maplibre-gl.css';import './RichText.css';/* empty css */
|
|
23
23
|
import { t as Ml } from "./useFullscreen-CNwpzjpz.js";
|
|
24
|
-
import { S as Nl, _ as Pl, a as Fl, b as Il, c as Ll, d as Rl, f as zl, g as Bl, h as Vl, i as Hl, l as Ul, m as Wl, n as Gl, o as Kl, p as ql, r as Jl, t as Yl, u as Xl, v as Zl, x as Ql, y as $l } from "./F0Map-
|
|
24
|
+
import { S as Nl, _ as Pl, a as Fl, b as Il, c as Ll, d as Rl, f as zl, g as Bl, h as Vl, i as Hl, l as Ul, m as Wl, n as Gl, o as Kl, p as ql, r as Jl, t as Yl, u as Xl, v as Zl, x as Ql, y as $l } from "./F0Map-BsRRtBTD.js";
|
|
25
25
|
import { _ as eu, a as tu, c as nu, d as ru, f as iu, g as au, h as ou, i as su, l as cu, m as lu, n as uu, o as du, p as fu, r as pu, s as mu, t as hu, u as gu } from "./posts-CIRw6PMn.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import _u, { Children as vu, Fragment as yu, Suspense as bu, cloneElement as xu, createContext as Su, forwardRef as Cu, isValidElement as wu, lazy as Tu, memo as Eu, useCallback as G, useContext as Du, useEffect as K, useId as Ou, useImperativeHandle as ku, useInsertionEffect as Au, useLayoutEffect as q, useMemo as J, useReducer as ju, useRef as Y, useState as X, useSyncExternalStore as Mu, useTransition as Nu } from "react";
|
|
@@ -40,18 +40,18 @@ var Iu = il("Search", [["circle", {
|
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInMilliseconds.mjs
|
|
42
42
|
function Lu(e, t) {
|
|
43
|
-
return +
|
|
43
|
+
return +Ys(e) - Ys(t);
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInMinutes.mjs
|
|
47
47
|
function Ru(e, t, n) {
|
|
48
|
-
let r = Lu(e, t) /
|
|
48
|
+
let r = Lu(e, t) / qc;
|
|
49
49
|
return mo(n?.roundingMethod)(r);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isTomorrow.mjs
|
|
53
53
|
function zu(e) {
|
|
54
|
-
return
|
|
54
|
+
return kc(e, Hc(Ao(e), 1));
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/elements/F0ProgressSeries/types.ts
|
|
@@ -168,7 +168,7 @@ var Bu = [
|
|
|
168
168
|
disabled: !0,
|
|
169
169
|
variant: "neutral",
|
|
170
170
|
label: e.ai.sendMessage,
|
|
171
|
-
icon:
|
|
171
|
+
icon: qs,
|
|
172
172
|
hideLabel: !0
|
|
173
173
|
})
|
|
174
174
|
})]
|
|
@@ -308,7 +308,7 @@ var od = ({ children: e }) => {
|
|
|
308
308
|
e.currentTarget.style.opacity = "1";
|
|
309
309
|
},
|
|
310
310
|
onClick: n,
|
|
311
|
-
children: e.isLoading ? /* @__PURE__ */ Q(
|
|
311
|
+
children: e.isLoading ? /* @__PURE__ */ Q(oc, { size: "small" }) : e.label
|
|
312
312
|
});
|
|
313
313
|
case "internal": return /* @__PURE__ */ Q(H, {
|
|
314
314
|
label: e.label || "",
|
|
@@ -665,10 +665,10 @@ var Sd = Sn(En("F0EmojiPicker", xd)), Cd = [
|
|
|
665
665
|
critical: "text-f1-foreground-critical"
|
|
666
666
|
} } }), Dd = {
|
|
667
667
|
neutral: null,
|
|
668
|
-
info:
|
|
668
|
+
info: Mc,
|
|
669
669
|
positive: Xc,
|
|
670
|
-
warning:
|
|
671
|
-
critical:
|
|
670
|
+
warning: Dc,
|
|
671
|
+
critical: Ws
|
|
672
672
|
}, Od = {
|
|
673
673
|
neutral: "default",
|
|
674
674
|
info: "info",
|
|
@@ -763,7 +763,7 @@ var Sd = Sn(En("F0EmojiPicker", xd)), Cd = [
|
|
|
763
763
|
children: /* @__PURE__ */ Q(U, {
|
|
764
764
|
variant: "ghost",
|
|
765
765
|
size: "sm",
|
|
766
|
-
icon: a ?
|
|
766
|
+
icon: a ? Gs : ks,
|
|
767
767
|
label: s.t(a ? "actions.collapseItem" : "actions.expandItem", { title: t }),
|
|
768
768
|
hideLabel: !0
|
|
769
769
|
})
|
|
@@ -849,7 +849,7 @@ var Sd = Sn(En("F0EmojiPicker", xd)), Cd = [
|
|
|
849
849
|
variant: "ghost",
|
|
850
850
|
size: "sm",
|
|
851
851
|
label: u.t(c ? "ai.evidence.hide" : "ai.evidence.show", { name: a.name }),
|
|
852
|
-
icon: c ?
|
|
852
|
+
icon: c ? Gs : ks,
|
|
853
853
|
iconPosition: "right"
|
|
854
854
|
})
|
|
855
855
|
})
|
|
@@ -982,8 +982,8 @@ var Gd = ia(Sn(Ud), Wd), Kd = ms({
|
|
|
982
982
|
defaultVariants: { variant: "ai" }
|
|
983
983
|
}), qd = {
|
|
984
984
|
positive: Xc,
|
|
985
|
-
warning:
|
|
986
|
-
info:
|
|
985
|
+
warning: Dc,
|
|
986
|
+
info: Mc
|
|
987
987
|
}, Jd = {
|
|
988
988
|
positive: "text-f1-foreground-positive font-medium",
|
|
989
989
|
warning: "text-f1-foreground-warning font-medium",
|
|
@@ -1150,7 +1150,7 @@ df.displayName = "F0Confetti";
|
|
|
1150
1150
|
var ff = Sn(En("F0Confetti", df)), pf = (e, t) => {
|
|
1151
1151
|
let n = new Date(e);
|
|
1152
1152
|
return n.setDate(n.getDate() + t), n;
|
|
1153
|
-
}, mf = (e, t) =>
|
|
1153
|
+
}, mf = (e, t) => kc(e, t) ? "today" : kc(e, pf(t, -1)) ? "yesterday" : kc(e, pf(t, 1)) ? "tomorrow" : "other", hf = (e, t) => Ru(e, t), gf = (e, t) => Math.max(0, Ru(t, e)), _f = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "inProgress" || e === "ringing" || e === "scheduled" && hf(t, n) <= r, vf = (e) => e === "scheduled" || e === "inProgress" || e === "ringing", yf = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "scheduled" && hf(t, n) <= r, bf = ({ state: e, hasCountdown: t }) => e !== "scheduled" || t, xf = (e, t) => {
|
|
1154
1154
|
if (!t) return;
|
|
1155
1155
|
let n = Ru(t, e);
|
|
1156
1156
|
return n > 0 ? n : void 0;
|
|
@@ -1167,7 +1167,7 @@ var ff = Sn(En("F0Confetti", df)), pf = (e, t) => {
|
|
|
1167
1167
|
lastName: n.join(" "),
|
|
1168
1168
|
tooltipDescription: e.email
|
|
1169
1169
|
};
|
|
1170
|
-
}), Tf = (e, t) =>
|
|
1170
|
+
}), Tf = (e, t) => Lc(e, "p", { locale: t }), Ef = (e, t) => Lc(e, "d MMM", { locale: t }), Df = ({ attendees: e, relevantCount: t, maxAvatars: n = 3, size: r = "sm" }) => {
|
|
1171
1171
|
let { meetingCard: i } = R();
|
|
1172
1172
|
if (e.length === 0) return null;
|
|
1173
1173
|
let a = Math.max(0, t - e.length);
|
|
@@ -1198,7 +1198,7 @@ var ff = Sn(En("F0Confetti", df)), pf = (e, t) => {
|
|
|
1198
1198
|
});
|
|
1199
1199
|
}, kf = ({ text: e }) => {
|
|
1200
1200
|
let t = Qn();
|
|
1201
|
-
return /* @__PURE__ */ Q(
|
|
1201
|
+
return /* @__PURE__ */ Q(Us, {
|
|
1202
1202
|
className: "bg-f1-background-info text-f1-foreground-info",
|
|
1203
1203
|
left: /* @__PURE__ */ Q("div", {
|
|
1204
1204
|
className: B("m-1 aspect-square w-2 rounded-full bg-f1-icon-info", !t && "animate-pulse"),
|
|
@@ -1210,28 +1210,28 @@ var ff = Sn(En("F0Confetti", df)), pf = (e, t) => {
|
|
|
1210
1210
|
let { meetingCard: n } = R();
|
|
1211
1211
|
switch (e) {
|
|
1212
1212
|
case "inProgress": return /* @__PURE__ */ Q(kf, { text: n.inProgress });
|
|
1213
|
-
case "ringing": return /* @__PURE__ */ Q(
|
|
1213
|
+
case "ringing": return /* @__PURE__ */ Q(Ks, {
|
|
1214
1214
|
text: n.ringing,
|
|
1215
1215
|
variant: "warning"
|
|
1216
1216
|
});
|
|
1217
|
-
case "missed": return /* @__PURE__ */ Q(
|
|
1217
|
+
case "missed": return /* @__PURE__ */ Q(Ks, {
|
|
1218
1218
|
text: n.missed,
|
|
1219
1219
|
variant: "neutral"
|
|
1220
1220
|
});
|
|
1221
|
-
case "summarizing": return /* @__PURE__ */ Q(
|
|
1221
|
+
case "summarizing": return /* @__PURE__ */ Q(Ks, {
|
|
1222
1222
|
text: n.summarizing,
|
|
1223
1223
|
variant: "neutral",
|
|
1224
1224
|
icon: cr
|
|
1225
1225
|
});
|
|
1226
|
-
case "finished": return /* @__PURE__ */ Q(
|
|
1226
|
+
case "finished": return /* @__PURE__ */ Q(Ks, {
|
|
1227
1227
|
text: n.finished,
|
|
1228
1228
|
variant: "positive"
|
|
1229
1229
|
});
|
|
1230
|
-
case "cancelled": return /* @__PURE__ */ Q(
|
|
1230
|
+
case "cancelled": return /* @__PURE__ */ Q(Ks, {
|
|
1231
1231
|
text: n.cancelled,
|
|
1232
1232
|
variant: "neutral"
|
|
1233
1233
|
});
|
|
1234
|
-
case "scheduled": return t ? /* @__PURE__ */ Q(
|
|
1234
|
+
case "scheduled": return t ? /* @__PURE__ */ Q(Ks, {
|
|
1235
1235
|
text: t,
|
|
1236
1236
|
variant: "warning"
|
|
1237
1237
|
}) : null;
|
|
@@ -1249,7 +1249,7 @@ var ff = Sn(En("F0Confetti", df)), pf = (e, t) => {
|
|
|
1249
1249
|
})
|
|
1250
1250
|
});
|
|
1251
1251
|
}, Mf = ({ state: e, startsAt: t, endsAt: n, now: r, windowMinutes: i, invitedCount: a, presentCount: o }) => {
|
|
1252
|
-
let { meetingCard: s } = R(), c =
|
|
1252
|
+
let { meetingCard: s } = R(), c = Ac();
|
|
1253
1253
|
return J(() => {
|
|
1254
1254
|
let l = {
|
|
1255
1255
|
today: s.today,
|
|
@@ -1752,7 +1752,7 @@ var zf = Sn(En("F0PulseDot", Rf)), Bf = [
|
|
|
1752
1752
|
size: "md",
|
|
1753
1753
|
hideLabel: !0,
|
|
1754
1754
|
label: a ? e.save : e.send,
|
|
1755
|
-
icon: a ? Yc :
|
|
1755
|
+
icon: a ? Yc : qs,
|
|
1756
1756
|
onClick: n ? void 0 : i,
|
|
1757
1757
|
disabled: !r
|
|
1758
1758
|
});
|
|
@@ -1789,7 +1789,7 @@ var zf = Sn(En("F0PulseDot", Rf)), Bf = [
|
|
|
1789
1789
|
size: "md",
|
|
1790
1790
|
hideLabel: !0,
|
|
1791
1791
|
label: n.queue,
|
|
1792
|
-
icon:
|
|
1792
|
+
icon: qs,
|
|
1793
1793
|
onClick: t.onQueue
|
|
1794
1794
|
}) : e === "stop" ? /* @__PURE__ */ Q(H, {
|
|
1795
1795
|
type: r ? "submit" : "button",
|
|
@@ -2488,7 +2488,7 @@ var jp = 30, Mp = 50, Np = (e, t, n) => Math.min(Math.max(e, t), n), Pp = (e) =>
|
|
|
2488
2488
|
previous: /* @__PURE__ */ Q(H, {
|
|
2489
2489
|
variant: "outline",
|
|
2490
2490
|
size: "md",
|
|
2491
|
-
icon:
|
|
2491
|
+
icon: uc,
|
|
2492
2492
|
label: r?.previous ?? zp,
|
|
2493
2493
|
hideLabel: !0,
|
|
2494
2494
|
className: Bp,
|
|
@@ -2498,7 +2498,7 @@ var jp = 30, Mp = 50, Np = (e, t, n) => Math.min(Math.max(e, t), n), Pp = (e) =>
|
|
|
2498
2498
|
next: /* @__PURE__ */ Q(H, {
|
|
2499
2499
|
variant: "outline",
|
|
2500
2500
|
size: "md",
|
|
2501
|
-
icon:
|
|
2501
|
+
icon: Uc,
|
|
2502
2502
|
label: r?.next ?? "Next",
|
|
2503
2503
|
hideLabel: !0,
|
|
2504
2504
|
className: Bp,
|
|
@@ -2536,7 +2536,7 @@ var jp = 30, Mp = 50, Np = (e, t, n) => Math.min(Math.max(e, t), n), Pp = (e) =>
|
|
|
2536
2536
|
children: F.content
|
|
2537
2537
|
});
|
|
2538
2538
|
})), Hp = Cu(({ value: e, max: t, color: n = "categorical-1", label: r }, i) => {
|
|
2539
|
-
let a = R(), o = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, s = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), o)) : 0, c = Array.from({ length: o }, (e, t) => t < s), l =
|
|
2539
|
+
let a = R(), o = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, s = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), o)) : 0, c = Array.from({ length: o }, (e, t) => t < s), l = Fc(n);
|
|
2540
2540
|
return /* @__PURE__ */ Q("div", {
|
|
2541
2541
|
ref: i,
|
|
2542
2542
|
role: "progressbar",
|
|
@@ -2938,7 +2938,7 @@ function sm({ title: e, isActive: t = !1, onClick: n }) {
|
|
|
2938
2938
|
//#endregion
|
|
2939
2939
|
//#region src/blocks/F0VersionHistory/VersionItem/VersionItem.tsx
|
|
2940
2940
|
function cm({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
2941
|
-
let i =
|
|
2941
|
+
let i = Ac(), a = Lc(t, "PPPp", { locale: i }), o = `${e.firstName} ${e.lastName}`;
|
|
2942
2942
|
return /* @__PURE__ */ $("button", {
|
|
2943
2943
|
type: "button",
|
|
2944
2944
|
className: B("flex w-full flex-col gap-[6px] rounded-md px-2 py-[6px] text-left transition-colors", r && "bg-f1-background-tertiary", n && "cursor-pointer hover:bg-f1-background-hover", Dn("focus-visible:ring-inset")),
|
|
@@ -3095,7 +3095,7 @@ var vm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3095
3095
|
})
|
|
3096
3096
|
})
|
|
3097
3097
|
}),
|
|
3098
|
-
/* @__PURE__ */ Q(
|
|
3098
|
+
/* @__PURE__ */ Q(bc, {
|
|
3099
3099
|
"data-avatarname-navigator-element": "true",
|
|
3100
3100
|
checked: t,
|
|
3101
3101
|
disabled: l,
|
|
@@ -3153,7 +3153,7 @@ var vm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3153
3153
|
className: "flex w-full flex-row flex-wrap items-center gap-0 rounded-md border pl-2.5 pr-1",
|
|
3154
3154
|
children: [/* @__PURE__ */ Q(U, {
|
|
3155
3155
|
hideLabel: !0,
|
|
3156
|
-
icon: t ?
|
|
3156
|
+
icon: t ? Qs : ll,
|
|
3157
3157
|
onClick: () => c(!t),
|
|
3158
3158
|
label: t ? "Collapse" : "Expand",
|
|
3159
3159
|
size: "sm",
|
|
@@ -3179,7 +3179,7 @@ var vm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3179
3179
|
searchKeys: r.searchKeys
|
|
3180
3180
|
}), /* @__PURE__ */ Q(ar, { value: r.subItems?.length ?? 0 })]
|
|
3181
3181
|
}),
|
|
3182
|
-
/* @__PURE__ */ Q(
|
|
3182
|
+
/* @__PURE__ */ Q(bc, {
|
|
3183
3183
|
checked: x,
|
|
3184
3184
|
disabled: h,
|
|
3185
3185
|
onClick: b,
|
|
@@ -3210,7 +3210,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3210
3210
|
hideLabel: !0,
|
|
3211
3211
|
label: e,
|
|
3212
3212
|
onClick: () => t(),
|
|
3213
|
-
icon:
|
|
3213
|
+
icon: Rc,
|
|
3214
3214
|
size: "sm",
|
|
3215
3215
|
variant: "outline"
|
|
3216
3216
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -3524,7 +3524,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3524
3524
|
})
|
|
3525
3525
|
}), n && n.length > 1 ? /* @__PURE__ */ Q("div", {
|
|
3526
3526
|
className: "flex-1",
|
|
3527
|
-
children: /* @__PURE__ */ Q(
|
|
3527
|
+
children: /* @__PURE__ */ Q(Pc, {
|
|
3528
3528
|
label: "Group",
|
|
3529
3529
|
hideLabel: !0,
|
|
3530
3530
|
disabled: T,
|
|
@@ -3540,7 +3540,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3540
3540
|
children: [
|
|
3541
3541
|
T ? /* @__PURE__ */ Q("div", {
|
|
3542
3542
|
className: "flex h-full w-full flex-row items-center justify-center",
|
|
3543
|
-
children: /* @__PURE__ */ Q(
|
|
3543
|
+
children: /* @__PURE__ */ Q(oc, {})
|
|
3544
3544
|
}) : null,
|
|
3545
3545
|
!T && !k ? /* @__PURE__ */ $("div", {
|
|
3546
3546
|
className: "absolute flex w-full flex-col items-center justify-center gap-0.5 p-5",
|
|
@@ -3591,7 +3591,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3591
3591
|
});
|
|
3592
3592
|
}, jm = (e, t) => e.find((e) => e.id === t), Mm = (e, t) => e.find((e) => e.value === t)?.groupType === "team", Nm = ({ entity: e, onRemove: t, disabled: n = !1, deactivated: r = !1, hiddenAvatar: i = !1 }) => /* @__PURE__ */ Q("div", {
|
|
3593
3593
|
className: "pr-2 pt-1.5",
|
|
3594
|
-
children: /* @__PURE__ */ Q(
|
|
3594
|
+
children: /* @__PURE__ */ Q(Us, {
|
|
3595
3595
|
className: B("max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]", "rounded-full", i ? "pl-2" : "pl-0"),
|
|
3596
3596
|
left: !i && /* @__PURE__ */ Q(vs, {
|
|
3597
3597
|
src: e.subAvatar,
|
|
@@ -3719,7 +3719,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3719
3719
|
subDeactivated: e.deactivated
|
|
3720
3720
|
}
|
|
3721
3721
|
})), [E, n]), O = D.length === 0 ? void 0 : D.length === 1 ? D[0].subItem.subName : D.length + " " + t, k = D.length === 1 ? D[0].subItem.subName : void 0;
|
|
3722
|
-
return /* @__PURE__ */ Q(
|
|
3722
|
+
return /* @__PURE__ */ Q(pc, {
|
|
3723
3723
|
onClickContent: (e) => {
|
|
3724
3724
|
d?.(e), w.current?.contains(e.target) || w.current?.click();
|
|
3725
3725
|
},
|
|
@@ -3749,7 +3749,7 @@ var bm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3749
3749
|
src: D[0].subItem.subAvatar,
|
|
3750
3750
|
deactivated: D[0].subItem.subDeactivated
|
|
3751
3751
|
},
|
|
3752
|
-
append: _ ?? /* @__PURE__ */ Q(Z, { children: /* @__PURE__ */ Q(
|
|
3752
|
+
append: _ ?? /* @__PURE__ */ Q(Z, { children: /* @__PURE__ */ Q(Hs, {
|
|
3753
3753
|
open: y,
|
|
3754
3754
|
disabled: r,
|
|
3755
3755
|
size: v
|
|
@@ -3776,7 +3776,7 @@ var Bm = (e) => {
|
|
|
3776
3776
|
K(() => {
|
|
3777
3777
|
e.defaultOpen && t && e.onOpenChange?.(!0);
|
|
3778
3778
|
}, [e.defaultOpen]);
|
|
3779
|
-
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = qn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = Du(
|
|
3779
|
+
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = qn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = Du($s), f = d.portalContainer && (d.position === "center" || d.position === "fullscreen") ? d.portalContainer : void 0;
|
|
3780
3780
|
function p(t) {
|
|
3781
3781
|
if (e.singleSelector) {
|
|
3782
3782
|
e.onSelect(t), n(!1);
|
|
@@ -4074,14 +4074,14 @@ function Wm(e, t) {
|
|
|
4074
4074
|
}
|
|
4075
4075
|
//#endregion
|
|
4076
4076
|
//#region src/blocks/F0LocationInput/types.ts
|
|
4077
|
-
var Gm =
|
|
4077
|
+
var Gm = Ic, Km = [
|
|
4078
4078
|
"country",
|
|
4079
4079
|
"addressLine1",
|
|
4080
4080
|
"addressLine2",
|
|
4081
4081
|
"city",
|
|
4082
4082
|
"state",
|
|
4083
4083
|
"postalCode"
|
|
4084
|
-
], qm =
|
|
4084
|
+
], qm = Ic, Jm = 50, Ym = { preserveWhitespace: !0 }, Xm = Qt.create({
|
|
4085
4085
|
name: "doc",
|
|
4086
4086
|
topNode: !0,
|
|
4087
4087
|
content: "paragraph"
|
|
@@ -4253,7 +4253,7 @@ var Gm = bc, Km = [
|
|
|
4253
4253
|
]), /* @__PURE__ */ $("div", {
|
|
4254
4254
|
className: B("flex flex-col gap-2", u && "cursor-not-allowed"),
|
|
4255
4255
|
children: [
|
|
4256
|
-
!d && e ? /* @__PURE__ */ Q(
|
|
4256
|
+
!d && e ? /* @__PURE__ */ Q(lc, {
|
|
4257
4257
|
label: e,
|
|
4258
4258
|
required: l,
|
|
4259
4259
|
htmlFor: _,
|
|
@@ -4280,7 +4280,7 @@ var Gm = bc, Km = [
|
|
|
4280
4280
|
M ? /* @__PURE__ */ Q("div", {
|
|
4281
4281
|
id: v,
|
|
4282
4282
|
role: j?.type === "error" ? "alert" : void 0,
|
|
4283
|
-
children: /* @__PURE__ */ Q(
|
|
4283
|
+
children: /* @__PURE__ */ Q(Vs, { status: j })
|
|
4284
4284
|
}) : null
|
|
4285
4285
|
]
|
|
4286
4286
|
});
|
|
@@ -4294,7 +4294,7 @@ var lh = En("F0TemplateTextInput", ch), uh = En("ActivityItem", ia(({ id: e, cre
|
|
|
4294
4294
|
onChange(t) {
|
|
4295
4295
|
t && c?.(e);
|
|
4296
4296
|
}
|
|
4297
|
-
}), u =
|
|
4297
|
+
}), u = Ac(), d = Co(t, {
|
|
4298
4298
|
yesterdayRelative: !1,
|
|
4299
4299
|
locale: u
|
|
4300
4300
|
});
|
|
@@ -4656,7 +4656,7 @@ function jh({ emoji: e, initialCount: t, hasReacted: n = !1, users: r, loadUsers
|
|
|
4656
4656
|
emoji: e,
|
|
4657
4657
|
size: o
|
|
4658
4658
|
}),
|
|
4659
|
-
children: /* @__PURE__ */ Q(
|
|
4659
|
+
children: /* @__PURE__ */ Q(gc, {
|
|
4660
4660
|
value: l,
|
|
4661
4661
|
spinTiming: {
|
|
4662
4662
|
duration: 200,
|
|
@@ -4715,7 +4715,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
4715
4715
|
})), Ih = ({ tags: e, right: t }) => /* @__PURE__ */ Q("div", {
|
|
4716
4716
|
className: B("flex flex-1 flex-row items-center gap-1.5", t && "justify-end"),
|
|
4717
4717
|
children: e.map((e) => {
|
|
4718
|
-
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
4718
|
+
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(Tc, {
|
|
4719
4719
|
icon: e.icon,
|
|
4720
4720
|
text: e.label ?? (e.description || ""),
|
|
4721
4721
|
onlyIcon: !0,
|
|
@@ -4737,7 +4737,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
4737
4737
|
size: r
|
|
4738
4738
|
}) : null,
|
|
4739
4739
|
e && (!n || t) ? /* @__PURE__ */ Q(W, {
|
|
4740
|
-
icon:
|
|
4740
|
+
icon: Uc,
|
|
4741
4741
|
size: "sm",
|
|
4742
4742
|
className: "text-f1-foreground-tertiary"
|
|
4743
4743
|
}) : null,
|
|
@@ -4836,7 +4836,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
4836
4836
|
let t = (e?.split(".")).at(-1);
|
|
4837
4837
|
return !!t && Bh.has(t);
|
|
4838
4838
|
}, Hh = ia(({ title: e, mediaUrl: t, place: n, date: r }) => {
|
|
4839
|
-
let i =
|
|
4839
|
+
let i = Ac(), a = ya(r, i);
|
|
4840
4840
|
return n && (a = `${a} · ${n}`), /* @__PURE__ */ $("div", {
|
|
4841
4841
|
className: "flex w-full flex-col gap-1 rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary p-1 shadow dark:bg-f1-background-tertiary",
|
|
4842
4842
|
children: [t ? /* @__PURE__ */ Q("div", {
|
|
@@ -4890,7 +4890,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
4890
4890
|
})
|
|
4891
4891
|
});
|
|
4892
4892
|
}, Wh = ({ id: e, author: t, group: n, createdAt: r, title: i, description: a, onClick: o, mediaUrl: s, event: c, counters: l, reactions: u, inLabel: d, comment: f, actions: p, dropdownItems: m, noReactionsButton: h = !1, descriptionExpandable: g = !1, noDescriptionClamp: _ = !1, hideTitle: v = !1, hideGroup: y = !1, pinned: b = !1, pinnedLabel: x, relativeDate: S = !1, noVideoPreload: C = !1, reserveCountersLine: w = !1 }) => {
|
|
4893
|
-
let T = Ou(), E = Ou(), D =
|
|
4893
|
+
let T = Ou(), E = Ou(), D = Ac(), O = Y(null), [k, A] = X(null), [j, M] = X(!1), N = [l.views, l.comments].filter(Boolean).join(" · "), P = g && k?.id === e && k.description === a, F = !P && !_, I = S ? co(r, D) : Co(r, { locale: D }), L = !!o, ee = o ? () => o(e) : void 0, te = (e) => {
|
|
4894
4894
|
e.stopPropagation();
|
|
4895
4895
|
}, ne = t ? `${t.firstName} ${t.lastName}` : void 0, re = (t) => {
|
|
4896
4896
|
t.preventDefault(), t.stopPropagation(), a && A({
|
|
@@ -5134,8 +5134,8 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
5134
5134
|
}) : null]
|
|
5135
5135
|
})]
|
|
5136
5136
|
}), eg = ["tile", "row"], tg = ({ post: e, variant: t = "tile" }) => {
|
|
5137
|
-
let n =
|
|
5138
|
-
|
|
5137
|
+
let n = Ac(), r = [
|
|
5138
|
+
Lc(e.createdAt, "MMM d", { locale: n }),
|
|
5139
5139
|
e.counters?.visits,
|
|
5140
5140
|
e.counters?.comments
|
|
5141
5141
|
].filter(Boolean).join(" · "), i = e.href ? /* @__PURE__ */ Q(Un, {
|
|
@@ -5285,7 +5285,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
5285
5285
|
}), c ? /* @__PURE__ */ Q(Vn, {
|
|
5286
5286
|
label: c,
|
|
5287
5287
|
children: /* @__PURE__ */ Q(W, {
|
|
5288
|
-
icon:
|
|
5288
|
+
icon: Mc,
|
|
5289
5289
|
size: "sm",
|
|
5290
5290
|
className: "text-f1-icon-secondary"
|
|
5291
5291
|
})
|
|
@@ -5293,7 +5293,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
5293
5293
|
}),
|
|
5294
5294
|
r && r.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
5295
5295
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
5296
|
-
children: r.map((e, t) => /* @__PURE__ */ $(_u.Fragment, { children: [/* @__PURE__ */ Q(
|
|
5296
|
+
children: r.map((e, t) => /* @__PURE__ */ $(_u.Fragment, { children: [/* @__PURE__ */ Q(Tc, { ...e }), t < r.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }, e.text))
|
|
5297
5297
|
}) : null,
|
|
5298
5298
|
n ? /* @__PURE__ */ Q(Tl, {
|
|
5299
5299
|
variant: "description",
|
|
@@ -5318,7 +5318,7 @@ var Fh = ia(Ph, () => /* @__PURE__ */ $("div", {
|
|
|
5318
5318
|
color: "secondary"
|
|
5319
5319
|
})
|
|
5320
5320
|
}) : null,
|
|
5321
|
-
a ? /* @__PURE__ */ Q(
|
|
5321
|
+
a ? /* @__PURE__ */ Q(rc, { ...a }) : null,
|
|
5322
5322
|
s ? /* @__PURE__ */ Q(cg, { actions: s }) : null
|
|
5323
5323
|
]
|
|
5324
5324
|
})
|
|
@@ -5355,7 +5355,7 @@ var dg = Sn(En("OneListItem", ia(lg, ug))), fg = _u.forwardRef(({ person: e, onC
|
|
|
5355
5355
|
}), n.info ? /* @__PURE__ */ Q(Vn, {
|
|
5356
5356
|
label: n.info,
|
|
5357
5357
|
children: /* @__PURE__ */ Q(W, {
|
|
5358
|
-
icon:
|
|
5358
|
+
icon: Mc,
|
|
5359
5359
|
size: "sm",
|
|
5360
5360
|
className: "text-f1-icon-secondary"
|
|
5361
5361
|
})
|
|
@@ -5363,7 +5363,7 @@ var dg = Sn(En("OneListItem", ia(lg, ug))), fg = _u.forwardRef(({ person: e, onC
|
|
|
5363
5363
|
}),
|
|
5364
5364
|
"bottomTags" in n ? /* @__PURE__ */ Q("div", {
|
|
5365
5365
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
5366
|
-
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
5366
|
+
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(Tc, { ...e }, e.text), t < n.bottomTags.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }))
|
|
5367
5367
|
}) : null,
|
|
5368
5368
|
"description" in n && n.description ? /* @__PURE__ */ Q("p", {
|
|
5369
5369
|
className: "truncate text-f1-foreground-secondary",
|
|
@@ -5373,7 +5373,7 @@ var dg = Sn(En("OneListItem", ia(lg, ug))), fg = _u.forwardRef(({ person: e, onC
|
|
|
5373
5373
|
}),
|
|
5374
5374
|
/* @__PURE__ */ $("div", {
|
|
5375
5375
|
className: "flex flex-row items-center justify-between gap-2",
|
|
5376
|
-
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(
|
|
5376
|
+
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(rc, { ...n.rightTag }) : null, "actions" in n ? /* @__PURE__ */ $("div", {
|
|
5377
5377
|
className: "flex flex-1 flex-row items-center justify-end gap-2",
|
|
5378
5378
|
children: [n.actions?.primary ? /* @__PURE__ */ Q(U, {
|
|
5379
5379
|
variant: "outline",
|
|
@@ -6685,7 +6685,7 @@ var t_ = Jg.categories.flatMap((e) => Yg.includes(e.id) ? [{
|
|
|
6685
6685
|
let s = n.status === "active", c = s ? t.meeting.transcribing : t.meeting.transcriptPaused, l = s ? t.meeting.pauseTranscript : t.meeting.resumeTranscript, u = e ? /* @__PURE__ */ Q("span", {
|
|
6686
6686
|
"aria-hidden": !0,
|
|
6687
6687
|
className: B("m-1 block aspect-square w-2 rounded-full", s ? "bg-f1-icon-positive" : "bg-f1-icon")
|
|
6688
|
-
}) : /* @__PURE__ */ Q(
|
|
6688
|
+
}) : /* @__PURE__ */ Q(Ks, {
|
|
6689
6689
|
text: c,
|
|
6690
6690
|
variant: s ? "positive" : "neutral"
|
|
6691
6691
|
});
|
|
@@ -6769,7 +6769,7 @@ var t_ = Jg.categories.flatMap((e) => Yg.includes(e.id) ? [{
|
|
|
6769
6769
|
let t = R(), { room: n, recording: r } = Ng(), { effectiveMode: i } = ny(), a = qg(), o = fy(dy()), s = i === "minimized", c = i === "fullscreen", l = i === "pip", u = !s && a !== "tight", d = s || l, f = s || l || a === "tight", p = /* @__PURE__ */ $("span", {
|
|
6770
6770
|
className: "flex shrink-0 items-center gap-1.5",
|
|
6771
6771
|
"data-f0-no-drag": !0,
|
|
6772
|
-
children: [r?.active ? /* @__PURE__ */ Q(
|
|
6772
|
+
children: [r?.active ? /* @__PURE__ */ Q(Ks, {
|
|
6773
6773
|
text: r.consentNotice ?? t.meeting.recording,
|
|
6774
6774
|
variant: "critical"
|
|
6775
6775
|
}) : null, /* @__PURE__ */ Q(xy, { compact: f })]
|
|
@@ -7412,7 +7412,7 @@ var t_ = Jg.categories.flatMap((e) => Yg.includes(e.id) ? [{
|
|
|
7412
7412
|
children: [
|
|
7413
7413
|
/* @__PURE__ */ Q("div", {
|
|
7414
7414
|
className: "shrink-0 p-2",
|
|
7415
|
-
children: /* @__PURE__ */ Q(
|
|
7415
|
+
children: /* @__PURE__ */ Q(Sc, {
|
|
7416
7416
|
ref: l,
|
|
7417
7417
|
value: u,
|
|
7418
7418
|
placeholder: a.chat.emojiPicker.search,
|
|
@@ -7606,7 +7606,7 @@ var t_ = Jg.categories.flatMap((e) => Yg.includes(e.id) ? [{
|
|
|
7606
7606
|
className: B("pointer-events-none absolute flex items-center justify-center rounded-full bg-f1-background-accent-bold text-f1-foreground-inverse", e === void 0 ? "right-0 top-0 h-2 w-2" : "-right-1 -top-1 h-4 min-w-4 px-1 text-xs font-medium tabular-nums"),
|
|
7607
7607
|
children: e === void 0 ? null : e > 99 ? "99+" : e
|
|
7608
7608
|
}), ex = ({ action: e, onPlate: t }) => {
|
|
7609
|
-
let n = R(), r = typeof e.badge == "number" ? e.badge : void 0, i = e.badge !== void 0 && r !== 0, a = r !== void 0 && r > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: r })}` : e.label, o = /* @__PURE__ */ Q(
|
|
7609
|
+
let n = R(), r = typeof e.badge == "number" ? e.badge : void 0, i = e.badge !== void 0 && r !== 0, a = r !== void 0 && r > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: r })}` : e.label, o = /* @__PURE__ */ Q(dc, {
|
|
7610
7610
|
selected: !!e.pressed,
|
|
7611
7611
|
onSelectedChange: () => e.onClick?.(),
|
|
7612
7612
|
icon: e.activeIcon ? [e.icon, e.activeIcon] : e.icon,
|
|
@@ -8857,10 +8857,10 @@ var LS = () => {
|
|
|
8857
8857
|
});
|
|
8858
8858
|
}, tC = ({ tiles: e, width: t, radius: n }) => {
|
|
8859
8859
|
let r = R(), i = t < 160;
|
|
8860
|
-
return e.length === 0 ? null : /* @__PURE__ */ $(
|
|
8860
|
+
return e.length === 0 ? null : /* @__PURE__ */ $(Vc, {
|
|
8861
8861
|
openDelay: 120,
|
|
8862
8862
|
closeDelay: 100,
|
|
8863
|
-
children: [/* @__PURE__ */ Q(
|
|
8863
|
+
children: [/* @__PURE__ */ Q(_c, {
|
|
8864
8864
|
asChild: !0,
|
|
8865
8865
|
children: /* @__PURE__ */ Q("div", {
|
|
8866
8866
|
className: "bg-f1-background flex h-full w-full",
|
|
@@ -8879,7 +8879,7 @@ var LS = () => {
|
|
|
8879
8879
|
})]
|
|
8880
8880
|
})
|
|
8881
8881
|
})
|
|
8882
|
-
}), /* @__PURE__ */ $(
|
|
8882
|
+
}), /* @__PURE__ */ $(Jc, {
|
|
8883
8883
|
align: "center",
|
|
8884
8884
|
side: "top",
|
|
8885
8885
|
className: "w-64 border-none bg-f1-background p-2 text-f1-foreground",
|
|
@@ -10405,7 +10405,7 @@ var LS = () => {
|
|
|
10405
10405
|
className: B("max-h-24 min-h-10 flex-1 resize-none rounded-lg border border-solid border-f1-border-secondary bg-f1-background px-3 py-2 text-base text-f1-foreground placeholder:text-f1-foreground-tertiary", Dn())
|
|
10406
10406
|
}), /* @__PURE__ */ Q(U, {
|
|
10407
10407
|
hideLabel: !0,
|
|
10408
|
-
icon:
|
|
10408
|
+
icon: qs,
|
|
10409
10409
|
label: n.meeting.sendMessage,
|
|
10410
10410
|
disabled: a.trim().length === 0,
|
|
10411
10411
|
onClick: l
|
|
@@ -11169,7 +11169,7 @@ var iT = ({ className: e, disabled: t }) => {
|
|
|
11169
11169
|
children: [/* @__PURE__ */ Q(kn, {
|
|
11170
11170
|
delay: 850,
|
|
11171
11171
|
render: /* @__PURE__ */ Q("div", {}),
|
|
11172
|
-
children: /* @__PURE__ */ Q(
|
|
11172
|
+
children: /* @__PURE__ */ Q(nc, {
|
|
11173
11173
|
onCheckedChange: (e) => {
|
|
11174
11174
|
r(e);
|
|
11175
11175
|
},
|
|
@@ -11179,7 +11179,7 @@ var iT = ({ className: e, disabled: t }) => {
|
|
|
11179
11179
|
disabled: t,
|
|
11180
11180
|
onMouseEnter: () => s(!0),
|
|
11181
11181
|
onMouseLeave: () => s(!1),
|
|
11182
|
-
children: /* @__PURE__ */ Q(
|
|
11182
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
11183
11183
|
className: B("block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"),
|
|
11184
11184
|
style: { transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)" },
|
|
11185
11185
|
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(ud, {
|
|
@@ -11906,7 +11906,7 @@ var wT = V.create(W), TT = {
|
|
|
11906
11906
|
description: t,
|
|
11907
11907
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
11908
11908
|
icon: /* @__PURE__ */ Q(W, {
|
|
11909
|
-
icon:
|
|
11909
|
+
icon: Ws,
|
|
11910
11910
|
size: "lg"
|
|
11911
11911
|
}),
|
|
11912
11912
|
button: /* @__PURE__ */ Q(U, {
|
|
@@ -12028,7 +12028,7 @@ function VT({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
12028
12028
|
variant: "ghost",
|
|
12029
12029
|
hideLabel: !0,
|
|
12030
12030
|
label: "Back",
|
|
12031
|
-
icon:
|
|
12031
|
+
icon: uc,
|
|
12032
12032
|
onClick: () => window.history.back()
|
|
12033
12033
|
})
|
|
12034
12034
|
}) : null, C || v ? /* @__PURE__ */ Q("div", {
|
|
@@ -12049,12 +12049,12 @@ function VT({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
12049
12049
|
children: [
|
|
12050
12050
|
!i && _ ? /* @__PURE__ */ Q("div", { children: t.tooltip ? /* @__PURE__ */ Q(Vn, {
|
|
12051
12051
|
label: t.tooltip,
|
|
12052
|
-
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
12052
|
+
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(Ks, {
|
|
12053
12053
|
text: t.text,
|
|
12054
12054
|
variant: t.variant,
|
|
12055
12055
|
additionalAccessibleText: t.tooltip
|
|
12056
12056
|
}) })
|
|
12057
|
-
}) : /* @__PURE__ */ Q(
|
|
12057
|
+
}) : /* @__PURE__ */ Q(Ks, {
|
|
12058
12058
|
text: t.text,
|
|
12059
12059
|
variant: t.variant
|
|
12060
12060
|
}) }) : null,
|
|
@@ -12403,7 +12403,7 @@ var lE = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
12403
12403
|
}),
|
|
12404
12404
|
e.tag ? /* @__PURE__ */ Q("span", {
|
|
12405
12405
|
className: "ml-auto shrink-0",
|
|
12406
|
-
children: /* @__PURE__ */ Q(
|
|
12406
|
+
children: /* @__PURE__ */ Q(Tc, { text: e.tag })
|
|
12407
12407
|
}) : null
|
|
12408
12408
|
]
|
|
12409
12409
|
}), EE = ({ search: e }) => {
|
|
@@ -12916,7 +12916,7 @@ var zE = (e) => e.type === "sidebar-chat", BE = (e) => e.type === "sidebar-group
|
|
|
12916
12916
|
}
|
|
12917
12917
|
})), ...i.onCreateGroup ? [...l.length > 0 ? [{ type: "separator" }] : [], {
|
|
12918
12918
|
label: r.chat.organize.newSection,
|
|
12919
|
-
icon:
|
|
12919
|
+
icon: Rc,
|
|
12920
12920
|
onClick: () => o({
|
|
12921
12921
|
kind: "create",
|
|
12922
12922
|
seedChatId: e.id
|
|
@@ -13007,12 +13007,12 @@ var zE = (e) => e.type === "sidebar-chat", BE = (e) => e.type === "sidebar-group
|
|
|
13007
13007
|
})
|
|
13008
13008
|
}] : [], ...e.movable ? [{
|
|
13009
13009
|
label: t.chat.organize.moveSectionUp,
|
|
13010
|
-
icon:
|
|
13010
|
+
icon: qs,
|
|
13011
13011
|
disabled: c === null,
|
|
13012
13012
|
onClick: () => d(c)
|
|
13013
13013
|
}, {
|
|
13014
13014
|
label: t.chat.organize.moveSectionDown,
|
|
13015
|
-
icon:
|
|
13015
|
+
icon: Ec,
|
|
13016
13016
|
disabled: l === null,
|
|
13017
13017
|
onClick: () => d(l)
|
|
13018
13018
|
}] : []];
|
|
@@ -13242,7 +13242,7 @@ var fD = Sn(dD), pD = (e, t) => e.type === "emoji" ? {
|
|
|
13242
13242
|
}), e.pinPending && u ? /* @__PURE__ */ Q("div", {
|
|
13243
13243
|
className: "absolute right-1.5 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center",
|
|
13244
13244
|
"aria-label": e.pinned ? i.chat.unpin : i.chat.pin,
|
|
13245
|
-
children: /* @__PURE__ */ Q(
|
|
13245
|
+
children: /* @__PURE__ */ Q(oc, { size: "small" })
|
|
13246
13246
|
}) : r ? /* @__PURE__ */ Q("div", {
|
|
13247
13247
|
"data-row-control": "",
|
|
13248
13248
|
className: B("absolute right-1.5 top-1/2 -translate-y-1/2", "opacity-0 transition-opacity focus-within:opacity-100 group-hover/row:opacity-100 has-[[data-state=open]]:opacity-100"),
|
|
@@ -13912,7 +13912,7 @@ var fD = Sn(dD), pD = (e, t) => e.type === "emoji" ? {
|
|
|
13912
13912
|
}), /* @__PURE__ */ $("span", {
|
|
13913
13913
|
className: "flex items-center gap-px text-sm tabular-nums",
|
|
13914
13914
|
children: [e ? null : t, /* @__PURE__ */ Q(W, {
|
|
13915
|
-
icon: e ?
|
|
13915
|
+
icon: e ? Gs : ks,
|
|
13916
13916
|
size: "sm"
|
|
13917
13917
|
})]
|
|
13918
13918
|
})]
|
|
@@ -14136,7 +14136,7 @@ var fD = Sn(dD), pD = (e, t) => e.type === "emoji" ? {
|
|
|
14136
14136
|
variant: "outline",
|
|
14137
14137
|
size: "sm",
|
|
14138
14138
|
className: "pointer-events-auto shadow-md",
|
|
14139
|
-
icon:
|
|
14139
|
+
icon: qs,
|
|
14140
14140
|
label: M(k.count),
|
|
14141
14141
|
"aria-label": N("above", k.count),
|
|
14142
14142
|
onClick: (e) => j("above", e.currentTarget)
|
|
@@ -14152,7 +14152,7 @@ var fD = Sn(dD), pD = (e, t) => e.type === "emoji" ? {
|
|
|
14152
14152
|
variant: "outline",
|
|
14153
14153
|
size: "sm",
|
|
14154
14154
|
className: "pointer-events-auto shadow-md",
|
|
14155
|
-
icon:
|
|
14155
|
+
icon: Ec,
|
|
14156
14156
|
label: M(A.count),
|
|
14157
14157
|
"aria-label": N("below", A.count),
|
|
14158
14158
|
onClick: (e) => j("below", e.currentTarget)
|
|
@@ -14421,7 +14421,7 @@ var wO = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
14421
14421
|
...i.length ? [{ type: "separator" }] : [],
|
|
14422
14422
|
...i
|
|
14423
14423
|
], [e, i]);
|
|
14424
|
-
return /* @__PURE__ */ Q(
|
|
14424
|
+
return /* @__PURE__ */ Q(Pc, {
|
|
14425
14425
|
label: a.navigation.sidebar.companySelector.label,
|
|
14426
14426
|
hideLabel: !0,
|
|
14427
14427
|
options: c,
|
|
@@ -14654,7 +14654,7 @@ var FO = ({ item: e, active: t }) => {
|
|
|
14654
14654
|
}), /* @__PURE__ */ Q("span", { children: e.label })]
|
|
14655
14655
|
}), e.tag || e.badge ? /* @__PURE__ */ $("div", {
|
|
14656
14656
|
className: "flex flex-shrink-0 items-center gap-1.5",
|
|
14657
|
-
children: [e.tag ? /* @__PURE__ */ Q(
|
|
14657
|
+
children: [e.tag ? /* @__PURE__ */ Q(Tc, { text: e.tag }) : null, e.badge ? /* @__PURE__ */ Q(ar, {
|
|
14658
14658
|
value: e.badge,
|
|
14659
14659
|
size: "sm",
|
|
14660
14660
|
type: "bold"
|
|
@@ -16295,7 +16295,7 @@ var Wk = Sn(Uk), Gk = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
16295
16295
|
children: /* @__PURE__ */ $("span", {
|
|
16296
16296
|
className: "inline-flex h-[18px] items-center rounded-full border border-solid border-f1-border-secondary px-1 text-sm font-medium leading-none tabular-nums text-f1-foreground-secondary",
|
|
16297
16297
|
children: [
|
|
16298
|
-
/* @__PURE__ */ Q(
|
|
16298
|
+
/* @__PURE__ */ Q(gc, {
|
|
16299
16299
|
value: e.completed,
|
|
16300
16300
|
animated: !n,
|
|
16301
16301
|
"aria-hidden": "true"
|
|
@@ -16656,7 +16656,7 @@ function aj(e) {
|
|
|
16656
16656
|
return rj[e ?? "neutral"] ?? 0;
|
|
16657
16657
|
}
|
|
16658
16658
|
var oj = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approvalDate: i }) => {
|
|
16659
|
-
let a = R(), o =
|
|
16659
|
+
let a = R(), o = Ac(), s = t === 1 ? a.approvals.requiredNumbers.one : a.approvals.requiredNumbers.other.replace("{{count}}", t.toString()), c = a.approvals.statuses[n], l = J(() => r.map((e) => {
|
|
16660
16660
|
let t = ij(e.status);
|
|
16661
16661
|
return {
|
|
16662
16662
|
firstName: e.firstName,
|
|
@@ -16676,7 +16676,7 @@ var oj = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
16676
16676
|
}), /* @__PURE__ */ Q("p", {
|
|
16677
16677
|
className: "text-f1-foreground-secondary",
|
|
16678
16678
|
children: s
|
|
16679
|
-
})] }), /* @__PURE__ */ Q(
|
|
16679
|
+
})] }), /* @__PURE__ */ Q(Ks, {
|
|
16680
16680
|
text: c,
|
|
16681
16681
|
variant: ej[n]
|
|
16682
16682
|
})]
|
|
@@ -16692,7 +16692,7 @@ var oj = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
16692
16692
|
}),
|
|
16693
16693
|
i ? /* @__PURE__ */ Q("p", {
|
|
16694
16694
|
className: "text-sm text-f1-foreground-secondary",
|
|
16695
|
-
children:
|
|
16695
|
+
children: Lc(i, "PP", { locale: o })
|
|
16696
16696
|
}) : null
|
|
16697
16697
|
]
|
|
16698
16698
|
});
|
|
@@ -17374,7 +17374,7 @@ var gj = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
17374
17374
|
key: "actions",
|
|
17375
17375
|
label: p.rowActions.actionsFor(e.label),
|
|
17376
17376
|
tip: p.rowActions.actions,
|
|
17377
|
-
icon:
|
|
17377
|
+
icon: Uc,
|
|
17378
17378
|
run: () => g(e)
|
|
17379
17379
|
}] : [], ...r ? [{
|
|
17380
17380
|
key: "copy",
|
|
@@ -18467,7 +18467,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18467
18467
|
}, e.id))
|
|
18468
18468
|
});
|
|
18469
18469
|
}, oN = ({ posts: e, onDone: t }) => {
|
|
18470
|
-
let n = R(), r =
|
|
18470
|
+
let n = R(), r = Ac(), { scheduledActions: i, openScheduledPost: a } = gu(), o = iu();
|
|
18471
18471
|
return /* @__PURE__ */ Q("ul", {
|
|
18472
18472
|
className: "m-0 flex list-none flex-col p-0",
|
|
18473
18473
|
"data-testid": "shelf-scheduled",
|
|
@@ -18483,7 +18483,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18483
18483
|
icon: Ga,
|
|
18484
18484
|
size: "sm"
|
|
18485
18485
|
}), cN(e.scheduledFor, r)]
|
|
18486
|
-
}), e.event ? /* @__PURE__ */ Q(
|
|
18486
|
+
}), e.event ? /* @__PURE__ */ Q(Tc, {
|
|
18487
18487
|
icon: ls,
|
|
18488
18488
|
text: n.t("chat.community.scheduledEvent")
|
|
18489
18489
|
}) : null] }),
|
|
@@ -18500,7 +18500,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18500
18500
|
})
|
|
18501
18501
|
});
|
|
18502
18502
|
}, sN = ({ posts: e, onDone: t }) => {
|
|
18503
|
-
let n = R(), r =
|
|
18503
|
+
let n = R(), r = Ac(), { draftActions: i, openDraftPost: a } = gu();
|
|
18504
18504
|
return /* @__PURE__ */ Q("ul", {
|
|
18505
18505
|
className: "m-0 flex list-none flex-col p-0",
|
|
18506
18506
|
"data-testid": "shelf-drafts",
|
|
@@ -18532,7 +18532,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18532
18532
|
});
|
|
18533
18533
|
}, cN = (e, t) => {
|
|
18534
18534
|
let n = new Date(e);
|
|
18535
|
-
return `${
|
|
18535
|
+
return `${kc(n, /* @__PURE__ */ new Date()) || zu(n) ? Lc(n, "EEEE", { locale: t }) : Lc(n, "d MMM", { locale: t })} · ${Lc(n, "HH:mm")}`;
|
|
18536
18536
|
}, lN = ({ title: e, untitled: t, excerpt: n, thumbnailUrl: r, meta: i, onClick: a, actions: o }) => /* @__PURE__ */ $("li", {
|
|
18537
18537
|
className: "flex items-start gap-3 border-0 border-b border-solid border-f1-border-secondary px-4 py-3 text-base last:border-b-0 hover:bg-f1-background-hover",
|
|
18538
18538
|
children: [a ? /* @__PURE__ */ Q("button", {
|
|
@@ -18666,7 +18666,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18666
18666
|
children: [
|
|
18667
18667
|
/* @__PURE__ */ Q("div", {
|
|
18668
18668
|
className: "min-w-0 flex-1",
|
|
18669
|
-
children: /* @__PURE__ */ Q(
|
|
18669
|
+
children: /* @__PURE__ */ Q(Sc, {
|
|
18670
18670
|
value: t,
|
|
18671
18671
|
onChange: n,
|
|
18672
18672
|
placeholder: e.chat.searchPlaceholder,
|
|
@@ -18697,7 +18697,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18697
18697
|
variant: "ghost",
|
|
18698
18698
|
hideLabel: !0,
|
|
18699
18699
|
label: e.navigation.previous,
|
|
18700
|
-
icon:
|
|
18700
|
+
icon: Gs,
|
|
18701
18701
|
onClick: l,
|
|
18702
18702
|
disabled: !h || r,
|
|
18703
18703
|
size: "sm"
|
|
@@ -18742,15 +18742,15 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18742
18742
|
let [r, i] = X(!1), a = Mu(vN.subscribe, () => vN.get() !== null, () => !1);
|
|
18743
18743
|
return K(() => vN.subscribe(() => {
|
|
18744
18744
|
vN.get() !== null && i(!1);
|
|
18745
|
-
}), []), /* @__PURE__ */ $(
|
|
18745
|
+
}), []), /* @__PURE__ */ $(Vc, {
|
|
18746
18746
|
openDelay: 150,
|
|
18747
18747
|
closeDelay: 100,
|
|
18748
18748
|
open: r && !a,
|
|
18749
18749
|
onOpenChange: i,
|
|
18750
|
-
children: [/* @__PURE__ */ Q(
|
|
18750
|
+
children: [/* @__PURE__ */ Q(_c, {
|
|
18751
18751
|
asChild: !0,
|
|
18752
18752
|
children: t
|
|
18753
|
-
}), /* @__PURE__ */ Q(
|
|
18753
|
+
}), /* @__PURE__ */ Q(Jc, {
|
|
18754
18754
|
align: "start",
|
|
18755
18755
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
18756
18756
|
children: /* @__PURE__ */ Q(ai, {
|
|
@@ -18848,7 +18848,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18848
18848
|
}),
|
|
18849
18849
|
y ? /* @__PURE__ */ Q(Vn, {
|
|
18850
18850
|
description: y.hint,
|
|
18851
|
-
children: /* @__PURE__ */ Q(
|
|
18851
|
+
children: /* @__PURE__ */ Q(Tc, {
|
|
18852
18852
|
size: "sm",
|
|
18853
18853
|
icon: y.icon,
|
|
18854
18854
|
text: y.label,
|
|
@@ -18894,7 +18894,7 @@ var QM = () => ZM(WM, "useChatJump"), $M = (e) => {
|
|
|
18894
18894
|
label: t.label,
|
|
18895
18895
|
icon: t.icon,
|
|
18896
18896
|
onClick: () => t.onClick(e)
|
|
18897
|
-
}, t.id) : /* @__PURE__ */ Q(
|
|
18897
|
+
}, t.id) : /* @__PURE__ */ Q(dc, {
|
|
18898
18898
|
selected: t.active,
|
|
18899
18899
|
onSelectedChange: () => t.onClick(e),
|
|
18900
18900
|
icon: t.activeIcon ? [t.icon, t.activeIcon] : t.icon,
|
|
@@ -19619,7 +19619,7 @@ var vP = (e, t, n) => {
|
|
|
19619
19619
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
19620
19620
|
children: [/* @__PURE__ */ Q(H, {
|
|
19621
19621
|
ref: i,
|
|
19622
|
-
icon:
|
|
19622
|
+
icon: ac,
|
|
19623
19623
|
onClick: t,
|
|
19624
19624
|
label: n.chat.back,
|
|
19625
19625
|
variant: "ghost",
|
|
@@ -19693,7 +19693,7 @@ var vP = (e, t, n) => {
|
|
|
19693
19693
|
lastName: ""
|
|
19694
19694
|
};
|
|
19695
19695
|
}, dF = ({ message: e, onOpen: t }) => {
|
|
19696
|
-
let n = R(), { channelType: r } = lu(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, lF) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c =
|
|
19696
|
+
let n = R(), { channelType: r } = lu(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, lF) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c = yc;
|
|
19697
19697
|
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c = Yo) : e.isMine && e.readAt ? (s = `${n.chat.read} · ${qN(new Date(e.readAt))}`, c = Yo) : e.isMine && r === "dm" && e.status === "delivered" && (s = n.chat.delivered, c = Yo), /* @__PURE__ */ Q(sF, {
|
|
19698
19698
|
icon: c,
|
|
19699
19699
|
label: s,
|
|
@@ -19726,7 +19726,7 @@ var vP = (e, t, n) => {
|
|
|
19726
19726
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
19727
19727
|
children: [/* @__PURE__ */ Q(H, {
|
|
19728
19728
|
ref: o,
|
|
19729
|
-
icon:
|
|
19729
|
+
icon: ac,
|
|
19730
19730
|
onClick: t,
|
|
19731
19731
|
label: a.chat.back,
|
|
19732
19732
|
variant: "ghost",
|
|
@@ -19872,7 +19872,7 @@ var vP = (e, t, n) => {
|
|
|
19872
19872
|
trailing: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
19873
19873
|
className: "sr-only",
|
|
19874
19874
|
children: ", "
|
|
19875
|
-
}), /* @__PURE__ */ Q(
|
|
19875
|
+
}), /* @__PURE__ */ Q(Tc, {
|
|
19876
19876
|
icon: Ni,
|
|
19877
19877
|
text: i.chat.upgrade
|
|
19878
19878
|
})] })
|
|
@@ -19892,7 +19892,7 @@ var vP = (e, t, n) => {
|
|
|
19892
19892
|
label: i.chat.remind.menu,
|
|
19893
19893
|
onClick: r,
|
|
19894
19894
|
testId: "chat-message-menu-remind",
|
|
19895
|
-
trailing: /* @__PURE__ */ Q(
|
|
19895
|
+
trailing: /* @__PURE__ */ Q(Uc, {
|
|
19896
19896
|
"aria-hidden": !0,
|
|
19897
19897
|
className: "ml-auto size-4 text-f1-icon-secondary"
|
|
19898
19898
|
})
|
|
@@ -20680,7 +20680,7 @@ var vP = (e, t, n) => {
|
|
|
20680
20680
|
children: [/* @__PURE__ */ $("span", {
|
|
20681
20681
|
className: "flex w-full items-center gap-2",
|
|
20682
20682
|
children: [
|
|
20683
|
-
t.allowMultipleAnswers ? /* @__PURE__ */ Q(
|
|
20683
|
+
t.allowMultipleAnswers ? /* @__PURE__ */ Q(vc, {
|
|
20684
20684
|
presentational: !0,
|
|
20685
20685
|
hideLabel: !0,
|
|
20686
20686
|
title: e.text,
|
|
@@ -20704,7 +20704,7 @@ var vP = (e, t, n) => {
|
|
|
20704
20704
|
})
|
|
20705
20705
|
})
|
|
20706
20706
|
]
|
|
20707
|
-
}), /* @__PURE__ */ Q(
|
|
20707
|
+
}), /* @__PURE__ */ Q(fc, {
|
|
20708
20708
|
"aria-hidden": !0,
|
|
20709
20709
|
value: o,
|
|
20710
20710
|
color: "hsl(var(--selected-60))",
|
|
@@ -20742,7 +20742,7 @@ var vP = (e, t, n) => {
|
|
|
20742
20742
|
e.body,
|
|
20743
20743
|
t,
|
|
20744
20744
|
n
|
|
20745
|
-
]), { locale: a } =
|
|
20745
|
+
]), { locale: a } = Cc(), o = J(() => {
|
|
20746
20746
|
if (!e.sourceLanguage) return r.chat.translated;
|
|
20747
20747
|
let t = NI(e.sourceLanguage, a);
|
|
20748
20748
|
return r.t("chat.translatedFrom", { language: t });
|
|
@@ -21734,7 +21734,7 @@ var CL = Tu(() => import("./LocationMap-Ds0SgBMO.js")), wL = 3 / 2, TL = ({ lati
|
|
|
21734
21734
|
mode: "native",
|
|
21735
21735
|
size: o
|
|
21736
21736
|
}),
|
|
21737
|
-
children: /* @__PURE__ */ Q(
|
|
21737
|
+
children: /* @__PURE__ */ Q(gc, {
|
|
21738
21738
|
value: l,
|
|
21739
21739
|
spinTiming: JL,
|
|
21740
21740
|
className: B("tabular-nums", s ? "text-f1-foreground-selected" : "text-f1-foreground")
|
|
@@ -22072,7 +22072,7 @@ var CL = Tu(() => import("./LocationMap-Ds0SgBMO.js")), wL = 3 / 2, TL = ({ lati
|
|
|
22072
22072
|
"data-testid": "chat-date-separator",
|
|
22073
22073
|
children: /* @__PURE__ */ $("span", {
|
|
22074
22074
|
className: "flex items-center gap-1.5 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2.5 py-0.5",
|
|
22075
|
-
children: [n ? /* @__PURE__ */ Q(
|
|
22075
|
+
children: [n ? /* @__PURE__ */ Q(oc, {
|
|
22076
22076
|
size: "small",
|
|
22077
22077
|
className: "h-3.5 w-3.5"
|
|
22078
22078
|
}) : null, /* @__PURE__ */ Q("span", {
|
|
@@ -22405,7 +22405,7 @@ function Rz({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
22405
22405
|
size: i
|
|
22406
22406
|
}), i;
|
|
22407
22407
|
}, [t]), te = G((t) => e[t]?.key ?? t, [e]), ne = Y(/* @__PURE__ */ new Set()), [re, ie] = X(0), ae = Y(null), oe = G((e) => {
|
|
22408
|
-
let t = ae.current, n =
|
|
22408
|
+
let t = ae.current, n = sc(e);
|
|
22409
22409
|
if (!t) return n;
|
|
22410
22410
|
let r = t.measurementsCache, i = t.scrollRect?.height ?? 0, a = r[e.startIndex]?.start ?? 0, o = r[e.endIndex]?.end ?? 0, s = e.startIndex;
|
|
22411
22411
|
for (; s > 0 && a - (r[s - 1]?.start ?? 0) < Dz;) --s;
|
|
@@ -22944,7 +22944,7 @@ var zz = ({ channel: e }) => {
|
|
|
22944
22944
|
a(), s.onJumpedToBottom();
|
|
22945
22945
|
},
|
|
22946
22946
|
variant: "neutral",
|
|
22947
|
-
icon:
|
|
22947
|
+
icon: Ec,
|
|
22948
22948
|
label: l,
|
|
22949
22949
|
hideLabel: t === 0 && !n
|
|
22950
22950
|
})
|
|
@@ -23241,7 +23241,7 @@ var zz = ({ channel: e }) => {
|
|
|
23241
23241
|
onJumpToBottom: Te
|
|
23242
23242
|
}) : null]
|
|
23243
23243
|
});
|
|
23244
|
-
}, Qz = Tu(() => import("./ChatPostComposerDialog-
|
|
23244
|
+
}, Qz = Tu(() => import("./ChatPostComposerDialog-DrLzQLYQ.js").then((e) => ({ default: e.ChatPostComposerDialog }))), $z = () => {
|
|
23245
23245
|
let e = R(), { createPost: t, composePost: n, searchMembers: r } = gu(), i = iu(), [a, o] = X(!1);
|
|
23246
23246
|
return !t && !n ? null : /* @__PURE__ */ $("div", {
|
|
23247
23247
|
className: "pointer-events-none shrink-0 p-4 pt-0",
|
|
@@ -23400,7 +23400,7 @@ var zz = ({ channel: e }) => {
|
|
|
23400
23400
|
}, lB = () => /* @__PURE__ */ Q("div", {
|
|
23401
23401
|
className: "shadow-sm pointer-events-none absolute bottom-2 left-2 z-20 flex rounded bg-f1-background p-1",
|
|
23402
23402
|
"data-testid": "chat-composer-attachment-uploading",
|
|
23403
|
-
children: /* @__PURE__ */ Q(
|
|
23403
|
+
children: /* @__PURE__ */ Q(oc, { size: "small" })
|
|
23404
23404
|
}), uB = ({ attachment: e, uploading: t, onRemove: n, onOpen: r }) => {
|
|
23405
23405
|
let i = R(), a = {
|
|
23406
23406
|
label: i.t("chat.removeNamedFile", { name: e.kind === "location" ? e.name ?? i.chat.location : e.kind === "voice" ? i.chat.voiceNote : e.name }),
|
|
@@ -23551,7 +23551,7 @@ var zz = ({ channel: e }) => {
|
|
|
23551
23551
|
htmlFor: r,
|
|
23552
23552
|
className: "text-md font-medium text-f1-foreground-secondary",
|
|
23553
23553
|
children: n.chat.poll.allowMultipleAnswers
|
|
23554
|
-
}), /* @__PURE__ */ Q(
|
|
23554
|
+
}), /* @__PURE__ */ Q(ec, {
|
|
23555
23555
|
id: r,
|
|
23556
23556
|
hideLabel: !0,
|
|
23557
23557
|
title: n.chat.poll.allowMultipleAnswers,
|
|
@@ -23586,7 +23586,7 @@ var zz = ({ channel: e }) => {
|
|
|
23586
23586
|
size: "md",
|
|
23587
23587
|
hideLabel: !0,
|
|
23588
23588
|
label: i.chat.composerMenu,
|
|
23589
|
-
icon:
|
|
23589
|
+
icon: Rc,
|
|
23590
23590
|
pressed: s
|
|
23591
23591
|
})
|
|
23592
23592
|
}) : /* @__PURE__ */ Q(H, {
|
|
@@ -25645,8 +25645,8 @@ function yH({ id: e, title: t, alert: n, rawTag: r, count: i, icon: a, rightIcon
|
|
|
25645
25645
|
}), /* @__PURE__ */ $("div", {
|
|
25646
25646
|
className: "flex flex-row items-center gap-2",
|
|
25647
25647
|
children: [
|
|
25648
|
-
n ? /* @__PURE__ */ Q(
|
|
25649
|
-
r ? /* @__PURE__ */ Q(
|
|
25648
|
+
n ? /* @__PURE__ */ Q(ic, { ...n }) : null,
|
|
25649
|
+
r ? /* @__PURE__ */ Q(Tc, { ...r }) : null,
|
|
25650
25650
|
i ? /* @__PURE__ */ Q(ar, { value: i }) : null
|
|
25651
25651
|
]
|
|
25652
25652
|
})]
|
|
@@ -25723,7 +25723,7 @@ var wH = CH, TH = ({ title: e, info: t }) => /* @__PURE__ */ $("div", {
|
|
|
25723
25723
|
label: n.label,
|
|
25724
25724
|
description: n.description,
|
|
25725
25725
|
children: /* @__PURE__ */ Q(W, {
|
|
25726
|
-
icon:
|
|
25726
|
+
icon: yc,
|
|
25727
25727
|
size: "sm"
|
|
25728
25728
|
})
|
|
25729
25729
|
})
|
|
@@ -26007,7 +26007,7 @@ function qH({ items: e, value: t, onChange: n, label: r, searchPlaceholder: i, f
|
|
|
26007
26007
|
},
|
|
26008
26008
|
disabled: s
|
|
26009
26009
|
};
|
|
26010
|
-
return f ? /* @__PURE__ */ Q(
|
|
26010
|
+
return f ? /* @__PURE__ */ Q(Pc, {
|
|
26011
26011
|
...h,
|
|
26012
26012
|
source: m,
|
|
26013
26013
|
mapOptions: (e) => ({
|
|
@@ -26016,7 +26016,7 @@ function qH({ items: e, value: t, onChange: n, label: r, searchPlaceholder: i, f
|
|
|
26016
26016
|
icon: e.icon,
|
|
26017
26017
|
selectedLabel: e.path
|
|
26018
26018
|
})
|
|
26019
|
-
}) : /* @__PURE__ */ Q(
|
|
26019
|
+
}) : /* @__PURE__ */ Q(Pc, {
|
|
26020
26020
|
...h,
|
|
26021
26021
|
options: c.map((e) => ({
|
|
26022
26022
|
value: e.id,
|
|
@@ -26168,7 +26168,7 @@ function nU({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
26168
26168
|
value: e.id,
|
|
26169
26169
|
label: e.name,
|
|
26170
26170
|
icon: e.icon
|
|
26171
|
-
})), ae = A === "break", [oe, se] = X(!1), ce = te ? /* @__PURE__ */ Q(
|
|
26171
|
+
})), ae = A === "break", [oe, se] = X(!1), ce = te ? /* @__PURE__ */ Q(Pc, {
|
|
26172
26172
|
label: r.selectLocation,
|
|
26173
26173
|
hideLabel: !0,
|
|
26174
26174
|
value: i,
|
|
@@ -26185,7 +26185,7 @@ function nU({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
26185
26185
|
icon: re?.icon
|
|
26186
26186
|
})
|
|
26187
26187
|
})
|
|
26188
|
-
}) : re ? /* @__PURE__ */ Q(
|
|
26188
|
+
}) : re ? /* @__PURE__ */ Q(Tc, {
|
|
26189
26189
|
text: re.name,
|
|
26190
26190
|
icon: re.icon
|
|
26191
26191
|
}) : null, le = a.length ? /* @__PURE__ */ Q(YH, {
|
|
@@ -26215,7 +26215,7 @@ function nU({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
26215
26215
|
}) : null,
|
|
26216
26216
|
A === "clocked-in" ? /* @__PURE__ */ $(Z, { children: [p ? /* @__PURE__ */ Q(Z, { children: P.length > 1 && f ? /* @__PURE__ */ Q("div", {
|
|
26217
26217
|
className: "shrink-0",
|
|
26218
|
-
children: /* @__PURE__ */ Q(
|
|
26218
|
+
children: /* @__PURE__ */ Q(Pc, {
|
|
26219
26219
|
label: r.break,
|
|
26220
26220
|
hideLabel: !0,
|
|
26221
26221
|
value: "",
|
|
@@ -26269,7 +26269,7 @@ function nU({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
26269
26269
|
] }), pe = O === "horizontal-bar" ? le : y ?? ce, me = O === "horizontal-bar" ? ue : v, he = /* @__PURE__ */ $(Z, { children: [
|
|
26270
26270
|
o ? pe : null,
|
|
26271
26271
|
_ ? me : null,
|
|
26272
|
-
ae && E ? /* @__PURE__ */ Q(
|
|
26272
|
+
ae && E ? /* @__PURE__ */ Q(Tc, { text: E }) : null
|
|
26273
26273
|
] }), ge = o && !!pe, _e = _ && !!me, ve = ge ? /* @__PURE__ */ Q("div", {
|
|
26274
26274
|
className: B("flex min-w-0 flex-1 flex-row", te && eU),
|
|
26275
26275
|
children: pe
|
|
@@ -26601,7 +26601,7 @@ var NU = Cu(function({ value: e, max: t = 100 }, n) {
|
|
|
26601
26601
|
className: "rounded transition-all duration-300 ease-in-out",
|
|
26602
26602
|
style: {
|
|
26603
26603
|
width: `${r}%`,
|
|
26604
|
-
backgroundColor:
|
|
26604
|
+
backgroundColor: Fc("categorical-1")
|
|
26605
26605
|
}
|
|
26606
26606
|
}), /* @__PURE__ */ Q("div", {
|
|
26607
26607
|
className: "rounded bg-f1-foreground-disabled transition-all duration-300 ease-in-out",
|
|
@@ -26778,7 +26778,7 @@ function $U({ avatar: e, avatarSize: t = "lg", left: n, title: r, subtitle: i, s
|
|
|
26778
26778
|
}),
|
|
26779
26779
|
u,
|
|
26780
26780
|
m ? /* @__PURE__ */ Q(W, {
|
|
26781
|
-
icon:
|
|
26781
|
+
icon: Uc,
|
|
26782
26782
|
size: "sm",
|
|
26783
26783
|
color: "secondary"
|
|
26784
26784
|
}) : null
|
|
@@ -27735,7 +27735,7 @@ function jG({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
|
|
|
27735
27735
|
let h = d && u != null && t >= (a?.threshold ?? EG), g = Y(r);
|
|
27736
27736
|
g.current = r;
|
|
27737
27737
|
let _ = r.join(","), v = G((e) => {
|
|
27738
|
-
let t = new Set(
|
|
27738
|
+
let t = new Set(sc(e));
|
|
27739
27739
|
for (let n of g.current) n >= 0 && n < e.count && t.add(n);
|
|
27740
27740
|
return [...t].sort((e, t) => e - t);
|
|
27741
27741
|
}, [_]), y = tc({
|
|
@@ -27857,7 +27857,7 @@ var MG = ({ transform: e }) => ({
|
|
|
27857
27857
|
className: "flex w-full items-center justify-center rounded-xl border border-dashed border-f1-border py-4 text-f1-foreground-secondary hover:border-f1-border-hover hover:text-f1-foreground",
|
|
27858
27858
|
children: /* @__PURE__ */ Q(W, {
|
|
27859
27859
|
size: "md",
|
|
27860
|
-
icon:
|
|
27860
|
+
icon: Rc
|
|
27861
27861
|
})
|
|
27862
27862
|
})
|
|
27863
27863
|
});
|
|
@@ -27906,7 +27906,7 @@ function HG({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
27906
27906
|
let t = [...e.actions ?? []];
|
|
27907
27907
|
return dW(e.header, e.params)?.info && t.push({
|
|
27908
27908
|
label: O.widgets.whatThisMeans,
|
|
27909
|
-
icon:
|
|
27909
|
+
icon: yc,
|
|
27910
27910
|
onClick: () => le(e.id)
|
|
27911
27911
|
}), e.paramsSchema && y && t.push({
|
|
27912
27912
|
label: w ?? O.widgets.editParams,
|
|
@@ -28329,7 +28329,7 @@ var UG = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
28329
28329
|
transition: uU(r.length, Pe.glyphDelayMs, j),
|
|
28330
28330
|
children: /* @__PURE__ */ Q(W, {
|
|
28331
28331
|
size: "md",
|
|
28332
|
-
icon:
|
|
28332
|
+
icon: Rc
|
|
28333
28333
|
})
|
|
28334
28334
|
})
|
|
28335
28335
|
}) : null]
|
|
@@ -29840,7 +29840,7 @@ var UG = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
29840
29840
|
onClick: a,
|
|
29841
29841
|
className: "pointer-events-auto m-0 flex size-10 cursor-pointer appearance-none items-center justify-center rounded-md border-0 bg-transparent p-0 transition-colors hover:bg-f1-background-secondary focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-f1-border-selected-bold",
|
|
29842
29842
|
children: /* @__PURE__ */ Q(W, {
|
|
29843
|
-
icon:
|
|
29843
|
+
icon: Rc,
|
|
29844
29844
|
size: "md",
|
|
29845
29845
|
color: "bold"
|
|
29846
29846
|
})
|
|
@@ -30399,7 +30399,7 @@ function QY({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
30399
30399
|
},
|
|
30400
30400
|
secondaryAction: L && P ? {
|
|
30401
30401
|
label: d.actions.back,
|
|
30402
|
-
icon:
|
|
30402
|
+
icon: ac,
|
|
30403
30403
|
iconPosition: "left",
|
|
30404
30404
|
onClick: () => {
|
|
30405
30405
|
E({
|
|
@@ -30430,7 +30430,7 @@ function QY({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
30430
30430
|
params: e
|
|
30431
30431
|
}), { success: !0 })
|
|
30432
30432
|
}, P.id)
|
|
30433
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
30433
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(Sc, {
|
|
30434
30434
|
value: g,
|
|
30435
30435
|
onChange: _,
|
|
30436
30436
|
placeholder: "Search widgets"
|
|
@@ -30803,4 +30803,4 @@ var UX = Sn(En("WidgetEmptyState", HX)), WX = ({ identifier: e, allowedRoutes: t
|
|
|
30803
30803
|
type: "layout"
|
|
30804
30804
|
}, xl));
|
|
30805
30805
|
//#endregion
|
|
30806
|
-
export { UY as AGENTIC_HOME_SPEC_VERSION, d as AUTO_PER_PAGE_MAX, ln as AUTO_PER_PAGE_MIN_RESERVED_ROWS, xh as ActivityItemList, bh as ActivityItemListSkeleton, fd as AiPromotionChat, pd as AiPromotionChatProvider, Qw as ApplicationFrame, _e as AreaChart, WV as AreaChartWidget, AV as AutoGrid, ys as Badge, m as BarChart, GV as BarChartWidget, yh as BaseActivityItemList, ut as BaseBanner, Dh as BaseCelebration, Wh as BaseCommunityPost, ki as BaseTabs, Ca as BreadcrumbSelect, yT as Breadcrumbs, zh as CalendarEvent, oH as CalendarEventList, Je as CardSelectableContainer, Lt as Carousel, f as CategoryBarChart, DH as CategoryBarSection, kh as Celebration, Oh as CelebrationSkeleton, rH as ChartWidgetEmptyState,
|
|
30806
|
+
export { UY as AGENTIC_HOME_SPEC_VERSION, d as AUTO_PER_PAGE_MAX, ln as AUTO_PER_PAGE_MIN_RESERVED_ROWS, xh as ActivityItemList, bh as ActivityItemListSkeleton, fd as AiPromotionChat, pd as AiPromotionChatProvider, Qw as ApplicationFrame, _e as AreaChart, WV as AreaChartWidget, AV as AutoGrid, ys as Badge, m as BarChart, GV as BarChartWidget, yh as BaseActivityItemList, ut as BaseBanner, Dh as BaseCelebration, Wh as BaseCommunityPost, ki as BaseTabs, Ca as BreadcrumbSelect, yT as Breadcrumbs, zh as CalendarEvent, oH as CalendarEventList, Je as CardSelectableContainer, Lt as Carousel, f as CategoryBarChart, DH as CategoryBarSection, kh as Celebration, Oh as CelebrationSkeleton, rH as ChartWidgetEmptyState, Xs as Chip, nU as ClockInControls, Xt as CoachmarkProvider, re as ComboChart, Kh as CommunityPost, tg as CommunityPostCard, ng as CommunityPostCardSkeleton, Gh as CommunityPostSkeleton, CO as CompanySelector, ar as Counter, kW as DEFAULT_EXPECTED_ITEMS_COUNT, RX as Dashboard, uT as DaytimePage, Zo as DetailsItem, vr as DetailsItemsList, nn as Dialog, $a as Dropdown, bW as EVENT_LIST_GAP, Bm as EntitySelect, St as F0ActionBar, zY as F0AgenticHome, VY as F0AgenticHomeBlock, de as F0AiBanner, Gd as F0AiCallout, Ps as F0AvatarColor, gs as F0AvatarColorList, Es as F0AvatarModule, Wc as F0ButtonToggle, $d as F0Callout, pr as F0CardHorizontal, pr as F0CardRow, Vp as F0CarouselDialog, dV as F0Chat, MN as F0ChatHistoryLimitCard, nu as F0ChatProvider, gM as F0CommandPaletteProvider, og as F0CommunityPostsCarousel, xp as F0Composer, ff as F0Confetti, vV as F0ENPSButton, Sd as F0EmojiPicker, vo as F0FileItem, Pe as F0FormEditableTable, NA as F0InboxItem, PA as F0InboxItemDecision, BA as F0InboxItemGroup, HA as F0InboxItemList, qA as F0InboxItemListSkeleton, KA as F0InboxItemSkeleton, He as F0LocationInput, Yl as F0Map, Nl as F0MapControls, Ql as F0MapList, $l as F0MapSidebar, Ul as F0MapSidebarToggle, Kl as F0MapSkeleton, _w as F0Meeting, Pf as F0MeetingCard, kg as F0MeetingProvider, $C as F0MeetingRoom, vw as F0MeetingSlot, gw as F0MeetingSurface, mn as F0NotesTextEditor, Ue as F0NotesTextEditorSkeleton, fe as F0NumberInput, j as F0NumberInputInline, ai as F0PersonCard, gt as F0PhoneInput, Rk as F0PrimarySidebar, Gc as F0ProgressSeries, zf as F0PulseDot, Rp as F0Resizable, Fe as F0ResourceHeader, Fe as ResourceHeader, qi as F0RichTextDisplay, _t as F0RichTextEditor, Sc as F0SearchInput, Vk as F0SecondarySidebar, Up as F0SegmentedBar, $r as F0SegmentedControl, em as F0SwipeDeck, mt as F0TableOfContent, lh as F0TemplateTextInput, _ as F0TextAreaInput, oe as F0TextAreaInputInline, Ua as F0TextInput, ee as F0TextInputInline, fm as F0Timeline, um as F0VersionHistory, DN as F0_CHAT_HEADER_TITLE_SELECTOR, SM as F0_CHAT_MESSAGES_TAB_ID, xc as F1SearchBox, L as FILE_TYPES, ro as FileItem, Ah as HighlightBanner, AU as HomeSlotItem, kU as HomeSlotItems, dH as IndicatorsList, ei as Input, Nt as Item, Be as ItemSectionHeader, CM as LATEST, oW as LIST_COMPACT_AFTER, vW as LIST_MORE_BUTTON_CLASS, bt as LineChart, KV as LineChartWidget, jw as MeetingNotes, bw as MeetingPanelContent, Aw as MeetingParticipants, Sw as MeetingRoomChat, IC as MeetingSidePanel, ty as MeetingSurfaceProvider, Tw as MeetingTranscript, BO as Menu, Uo as MobileDropdown, eK as NewHomeLayout, un as NotesTextEditor, me as NotesTextEditorSkeleton, yn as NumberInput, GT as OmniButton, sj as OneApprovalHistory, mc as OneCalendar, Ft as OneDataCollection, Ce as OneDateNavigator, E as OneEmptyState, dg as OneListItem, ug as OneListItemSkeleton, I as OnePagination, mg as OnePersonListItem, WX as OneRestrictComponent, qT as Page, VT as PageHeader, bT as PageHeaderNavigationContext, xT as PageHeaderNavigationProvider, lr as PageNavigation, r as PieChart, qV as PieChartWidget, $t as PrivateBox, vt as ProgressBarChart, HY as RECOMMENDED_AGENTIC_HOME_RULES, Ll as RECOMMENDED_MAX_MARKERS, F as RadarChart, Nh as Reactions, gi as RichTextDisplay, P as RichTextEditor, gW as SLOT_ROW_BLEED, AW as SLOT_SKELETON_ITEM_TESTID, GX as ScrollArea, zk as SearchBar, et as SectionHeader, Pc as Select, zn as Shortcut, Wk as Sidebar, fD as SidebarChatBlankState, bD as SidebarChatItem, mD as SidebarChatItemSkeleton, aO as SidebarChatList, gD as SidebarChatListSkeleton, rE as SidebarChatProvider, gE as SidebarCollapsibleSection, kO as SidebarFooter, jO as SidebarHeader, UO as SidebarPanelHeader, NE as SidebarTabPanel, wE as SidebarTabPanelSearch, qk as SidebarTabs, OO as SidebarUserMenu, $W as SlotWidget, QW as SlotWidgetContent, oc as Spinner, kV as Split, OV as Stack, YV as SummariesWidget, Oc as Switch, Bi as Tabs, Pr as TabsSkeleton, oU as TasksList, w as Textarea, Dr as ToggleGroup, Sr as ToggleGroupItem, Vn as Tooltip, Hn as TooltipGroup, EH as TwoColumnsList, ae as UPLOAD_INPUT_ID, te as VerticalBarChart, JV as VerticalBarChartWidget, mm as VirtualList, hc as WeekStartDay, wi as Weekdays, VX as Widget, mH as WidgetAvatarsListItem, QY as WidgetCatalog, UX as WidgetEmptyState, lH as WidgetHighlightButton, SH as WidgetInboxList, _H as WidgetInboxListItem, FU as WidgetSection, wH as WidgetSimpleList, bH as WidgetSimpleListItem, BX as WidgetStrip, en as actionBarStatuses, Cd as aiCalloutStatuses, If as attendeesDisplays, gv as buildTiles, Ve as buttonToggleColors, Pt as buttonToggleSizes, Jt as buttonToggleVariants, Lh as calendarEventVariants, Js as chipVariants, qu as coachmarks, Yj as commandActionRisks, eg as communityPostCardVariants, Sp as composerVariants, ef as confettiPalette, MS as createMeetingSignalStore, Gl as defaultMapStyle, zW as defaultSlotRenderers, RW as defaultSlotSkeleton, Qu as defineStepByStepCoachmarkGuidance, Ye as downloadAsCSV, hj as downloadAsExcel, _M as f0ChatSenderColors, md as f0EmojiPickerSizes, Pa as f0FileItemSizes, Il as f0MapMarkerVariants, Jl as f0MapStyles, Tv as f0MeetingConnectionQualities, kv as f0MeetingCoreActionIds, Cv as f0MeetingDisconnectReasons, wv as f0MeetingPermissions, xv as f0MeetingPresences, Sv as f0MeetingStatuses, Ev as f0MeetingSurfaceDestinations, Dv as f0MeetingSurfaceModes, bv as f0MeetingTrackKinds, Vu as f0ProgressSeriesColors, Bu as f0ProgressSeriesSizes, Ov as f0WindowCorners, uW as fromParams, Qe as generateCSVContent, ve as getAutoPerPageMinHeight, Bc as getGranularityDefinition, jc as getGranularityDefinitions, Kc as getGranularitySimpleDefinition, Hl as googleMapStyles, Fl as googlePinlessMapStyles, Nc as granularityDefinitions, TW as heldDialogActions, cW as homeSlot, QA as inboxItemDecisionSizes, $A as inboxItemSkeletonAvatars, ZA as inboxItemStatuses, YA as inboxItemTints, XA as inboxItemTones, Mi as isPossiblePhoneValue, xM as isPost, vM as isSystemMessage, bM as isUserMessage, Rr as isValidPhoneValue, SS as layoutGrid, p as listIconColors, yW as listMoreButtonClass, lW as listSlot, Gm as locationInputSizes, Km as locationParts, bx as matchDevice, Ff as meetingStates, Fs as modules, Lv as nearestCorner, sg as oneListItemRowClassName, qm as phoneInputSizes, Iv as placementFromRect, ht as predefinedPresets, Bf as pulseDotVariants, mW as railActionTones, zc as rangeSeparator, mx as readMeetingMediaPreferences, TS as reorderForSpeakers, Cp as resizableDirections, uS as resolveAutoFocus, wc as resolveGranularityDefinition, Fv as resolvePlacement, aW as resolveSlotRenderer, dW as resolveWidgetHeader, p_ as sanitizeMeetingReaction, lj as seedFromStorage, Me as selectSizes, le as selectVariants, Rv as settlePlacement, _W as slotRowBleed, xS as solveGrid, ES as solveSpotlight, om as swipeDirections, yv as tileAspectRatio, mv as tileKey, hx as updateMeetingMediaPreferences, ad as useAiPromotionChat, mM as useCommandPalette, Sh as useCompactOnScroll, uf as useConfetti, ne as useDataCollectionData, uj as useDataCollectionItemNavigation, xn as useDataCollectionSource, Yt as useExportAction, gu as useF0Chat, jg as useF0Meeting, Ng as useF0MeetingRoster, Mg as useF0MeetingStable, Ag as useHasF0Meeting, yt as useInfiniteScrollPagination, OU as useIsBulkChange, gx as useMeetingMediaPreferences, IS as useMeetingSignal, LS as useMeetingSpeakers, ny as useMeetingSurface, ry as useMeetingSurfaceOptional, CT as usePageHeaderItemNavigation, ST as usePageHeaderNavigation, kr as useSidePanel, Bl as useSidebar, sE as useSidebarChatActions, oE as useSidebarChats, am as useSwipeDeck, Hg as useTrackBinding, qe as useWidgetIsWide, Mw as viewportRect, hW as widgetChrome, pW as widgetParamsAreComplete, fW as widgetTitle };
|