@factorialco/f0-react 13.8.0 → 13.9.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/{ArchiveThumbnail-BWmaJU-e.js → ArchiveThumbnail-BMp3YbfD.js} +3 -3
- package/dist/{ArchiveViewer-BCS5O2Lm.js → ArchiveViewer-hEye6_DO.js} +5 -5
- package/dist/{ChatPostComposerDialog-B70a2ifd.js → ChatPostComposerDialog-DvK-F_9b.js} +3 -3
- package/dist/{CoachmarkProvider-Yf3g4I7H.js → CoachmarkProvider-CSyq_SH1.js} +22803 -22302
- package/dist/{CodeThumbnail-t7uhUafH.js → CodeThumbnail-BskK4DTN.js} +1 -1
- package/dist/{CodeViewer-CwhnIZQq.js → CodeViewer-CUVpRfFA.js} +6 -6
- package/dist/{DocumentToolbar-BUQCMtP6.js → DocumentToolbar-lIncsF3z.js} +5 -5
- package/dist/{DocxViewer-1lNOLaA3.js → DocxViewer-BAwGUg5D.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DrGj9rE0.js → F0AiProcessingOverlay-hPOUgmJz.js} +45 -45
- package/dist/{F0Alert-13k-qqDG.js → F0Alert-DWpoDmXm.js} +5 -5
- package/dist/F0AudioPlayer-B87gu5ab.js +2 -0
- package/dist/{F0Button-CxSs_bhW.js → F0Button-DJAGcvGQ.js} +4 -4
- package/dist/{F0CanvasPanel-Dh4gV-qY.js → F0CanvasPanel-BqX2Sult.js} +304 -304
- package/dist/{F0DocumentViewer-CViOPGOd.js → F0DocumentViewer-D8n4cD0X.js} +1 -1
- package/dist/{F0DocumentViewer-foMKH9Vp.js → F0DocumentViewer-bO7PViP1.js} +4 -4
- package/dist/{F0Icon-VifF8rpX.js → F0Icon-CqhIsgzq.js} +1 -1
- package/dist/{F0Map-DK-hI3Ok.js → F0Map-WdDErexm.js} +572 -572
- package/dist/{F0Select-BOphvJId.js → F0Select-CLVnq8Oe.js} +5679 -5679
- package/dist/{F0Text-Bpa7KaaM.js → F0Text-sHWQ6Zjr.js} +2 -2
- package/dist/{F0VideoPlayer-DnYPLTim.js → F0VideoPlayer--6DJybCc.js} +6 -6
- package/dist/F0VideoPlayer-ChcyxpNN.js +1 -0
- package/dist/{HtmlThumbnail-Dq-0M596.js → HtmlThumbnail-aIC6kVaS.js} +1 -1
- package/dist/{HtmlViewer-BHPLaNhE.js → HtmlViewer-bxvjs0HU.js} +9 -9
- package/dist/{LayoutGroup-BWnUhPYF.js → LayoutGroup-CmYTzUe-.js} +15 -15
- package/dist/{Map-DMC3i8yl.js → Map-B9SA_hEH.js} +10 -10
- package/dist/{PdfThumbnail-CKueINHk.js → PdfThumbnail---NygeL_.js} +1 -1
- package/dist/{PdfViewer-DooVnDas.js → PdfViewer-Dzj9Ilu-.js} +13 -13
- package/dist/{SandboxedHtmlFrame-DR9md8QY.js → SandboxedHtmlFrame-Dv21SdxM.js} +2 -2
- package/dist/{SheetViewer-BJ8Mvwkc.js → SheetViewer-CyhOFDVZ.js} +5 -5
- package/dist/{TextViewer-pQIs_OJV.js → TextViewer-CKrr0PDH.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +14 -14
- package/dist/{dist-Bp4vM3bZ.js → dist-78QS1RpN.js} +4 -4
- package/dist/{dist-DPcRzPjW.js → dist-B0VLslFD.js} +1 -1
- package/dist/{dist-Cfr_PHiv.js → dist-DvI6nhUB.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +220 -220
- package/dist/{exports-v_F99St1.d.ts → exports-DaVqRnuz.d.ts} +1 -1
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +1193 -1180
- package/dist/{highlight-BHqxjdF6.js → highlight-DZRNad9z.js} +1 -1
- package/dist/{i18n-provider-BniRK15h.js → i18n-provider-5AmqITig.js} +1 -1
- package/dist/{i18n-provider-defaults-Q9twuwTp.d.ts → i18n-provider-defaults-DztF2sWo.d.ts} +16 -0
- package/dist/{i18n-provider-defaults-BkMw-qG7.js → i18n-provider-defaults-mM2ICqyS.js} +16 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-BOITzsxP.d.ts → index-C0pYJxas.d.ts} +1 -1
- package/dist/{maplibre-C_u6rvlI.js → maplibre-9SjV58q1.js} +1 -1
- package/dist/{pdfWorker-BAWd_kWz.js → pdfWorker-DMcapWPE.js} +1 -1
- package/dist/{popover-CwQ7JDZU.js → popover-Cw4HYjOL.js} +1 -1
- package/dist/{scrollarea-HcC-Gf8H.js → scrollarea-4p-5wD8d.js} +3 -3
- package/dist/{skeleton-DTPG1VHE.js → skeleton-BWzVGMzP.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-TdJVpkJ0.js → toolbarStyles-DDsE4J6B.js} +1 -1
- package/dist/{types-NNoGnjGf.d.ts → types-D8tVTeWQ.d.ts} +83 -30
- package/dist/{useData-IY6E4kFy.js → useData-BjMlOMnX.js} +7 -7
- package/package.json +1 -1
- package/dist/F0AudioPlayer-1a2sNIGA.js +0 -2
- package/dist/F0VideoPlayer-CVY4ixC5.js +0 -1
package/dist/experimental.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
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 R, Pn as ae, Pr as oe, Q as se, Qn as ce, Qr as le, R as ue, Rn as de, Rr as fe, S as pe, Sr as me, T as he, Tr as ge, Tt as _e, U as ve, Ur as ye, V as be, Vr as xe, Vt as Se, W as Ce, Wr as we, X as Te, Xn as Ee, Xr as De, Y as Oe, Yr as ke, Z as Ae, Zn as je, Zr as Me, Zt as Ne, _ as Pe, _i as Fe, _n as Ie, _r as Le, ai as Re, an as ze, ar as Be, at as Ve, b as He, bi as Ue, bn as We, br as Ge, ci as Ke, cr as qe, ct as Je, d as Ye, dr as Xe, dt as Ze, ei as Qe, en as $e, er as et, et as tt, fi as nt, fn as rt, ft as it, g as at, gi as ot, gn as st, gr as ct, h as lt, hi as ut, hn as dt, ii as ft, in as pt, ir as mt, it as ht, j as gt, jr as _t, jt as vt, kr as yt, li as bt, lr as xt, lt as St, m as Ct, mi as wt, mn as Tt, mt as Et, n as Dt, ni as Ot, nr as kt, nt as At, oi as jt, on as Mt, or as Nt, ot as Pt, p as Ft, pi as It, pn as Lt, pt as Rt, q as zt, qr as Bt, qt as Vt, r as Ht, ri as Ut, rt as Wt, s as Gt, si as Kt, sr as qt, st as Jt, t as Yt, ti as Xt, tt as Zt, ui as Qt, ur as $t, ut as en, v as tn, vi as nn, vn as rn, vr as an, w as on, wi as sn, wt as cn, x as ln, xi as un, xn as dn, xr as fn, y as pn, yi as mn, yn as hn, yr as gn, z as _n, zn as vn, zr as yn, zt as bn } from "./CoachmarkProvider-
|
|
3
|
-
import { a as xn, c as Sn, i as Cn, r as z, u as wn } from "./i18n-provider-
|
|
4
|
-
import { n as Tn, t as B } from "./skeleton-
|
|
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 R, Pn as ae, Pr as oe, Q as se, Qn as ce, Qr as le, R as ue, Rn as de, Rr as fe, S as pe, Sr as me, T as he, Tr as ge, Tt as _e, U as ve, Ur as ye, V as be, Vr as xe, Vt as Se, W as Ce, Wr as we, X as Te, Xn as Ee, Xr as De, Y as Oe, Yr as ke, Z as Ae, Zn as je, Zr as Me, Zt as Ne, _ as Pe, _i as Fe, _n as Ie, _r as Le, ai as Re, an as ze, ar as Be, at as Ve, b as He, bi as Ue, bn as We, br as Ge, ci as Ke, cr as qe, ct as Je, d as Ye, dr as Xe, dt as Ze, ei as Qe, en as $e, er as et, et as tt, fi as nt, fn as rt, ft as it, g as at, gi as ot, gn as st, gr as ct, h as lt, hi as ut, hn as dt, ii as ft, in as pt, ir as mt, it as ht, j as gt, jr as _t, jt as vt, kr as yt, li as bt, lr as xt, lt as St, m as Ct, mi as wt, mn as Tt, mt as Et, n as Dt, ni as Ot, nr as kt, nt as At, oi as jt, on as Mt, or as Nt, ot as Pt, p as Ft, pi as It, pn as Lt, pt as Rt, q as zt, qr as Bt, qt as Vt, r as Ht, ri as Ut, rt as Wt, s as Gt, si as Kt, sr as qt, st as Jt, t as Yt, ti as Xt, tt as Zt, ui as Qt, ur as $t, ut as en, v as tn, vi as nn, vn as rn, vr as an, w as on, wi as sn, wt as cn, x as ln, xi as un, xn as dn, xr as fn, y as pn, yi as mn, yn as hn, yr as gn, z as _n, zn as vn, zr as yn, zt as bn } from "./CoachmarkProvider-CSyq_SH1.js";
|
|
3
|
+
import { a as xn, c as Sn, i as Cn, r as z, u as wn } from "./i18n-provider-5AmqITig.js";
|
|
4
|
+
import { n as Tn, t as B } from "./skeleton-BWzVGMzP.js";
|
|
5
5
|
import { L as V, R as En, a as Dn, i as On, o as kn, r as An, t as jn } from "./tooltip-BX4dSfeL.js";
|
|
6
|
-
import { B as Mn, C as Nn, D as Pn, E as Fn, F as In, H as Ln, I as Rn, N as zn, P as Bn, R as Vn, S as Hn, T as Un, Tt as Wn, U as H, V as Gn, _ as Kn, b as qn, c as Jn, d as Yn, f as Xn, h as Zn, m as Qn, n as $n, o as er, p as tr, r as nr, t as U, v as rr, w as ir, wt as ar } from "./F0Button-
|
|
7
|
-
import { t as or } from "./LayoutGroup-
|
|
8
|
-
import { $ as sr, $a as cr, $c as lr, $r as ur, $t as dr, Ac as fr, At as pr, B as mr, Bc as hr, Bi 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, Is as Hr, It as Ur, J as Wr, Js as Gr, Jt as Kr, Kc as qr, Ls as Jr, Lt as Yr, M as Xr, Mc as Zr, Mi as Qr, Mr as $r, Ms as ei, N as ti, Ns as ni, Nt as ri, O as ii, Oc as ai, Oi as oi, Os as si, P as ci, Pa as li, Po as ui, Ps as di, Q as fi, Qa as pi, Qo as mi, Qr as hi, Rc as gi, Ri as _i, Ro as vi, Rt as yi, Sc as bi, So as xi, Ss as Si, T as Ci, Tc as wi, To as Ti, Tt as Ei, U as Di, Ur as Oi, Us as ki, V as Ai, Vn as ji, Vo as Mi, Vr as Ni, Vs as Pi, Vt as Fi, W as Ii, Wc as Li, Wo as Ri, Wr as zi, Wt as Bi, X as Vi, Y as Hi, Ys as Ui, Z as Wi, Zc as Gi, Zr as Ki, _ as qi, _c as Ji, _s as Yi, _t as Xi, ac as Zi, ai as Qi, as as $i, at as ea, b as ta, bc as na, bo as ra, bs as ia, bt as aa, c as oa, cc as sa, co as ca, cs as la, ct as ua, d as da, di as fa, ds as pa, dt as ma, ec as ha, ei as ga, en as _a, eo as va, es as ya, et as ba, f as xa, fi as Sa, fn as Ca, fs as wa, ft as Ta, g as Ea, gi as Da, gs as Oa, gt as ka, h as Aa, hc as ja, hi as Ma, hn as Na, hs as Pa, ht as Fa, i as Ia, ic as La, ii as Ra, it as za, ja as Ba, jo as Va, jr as Ha, ka as Ua, kc as Wa, ki as Ga, ko as Ka, ks as qa, kt as Ja, l as Ya, lc as Xa, li as Za, lo as Qa, lt as $a, m as eo, mi as to, mn as no, mt as ro, n as io, nc as ao, nl as oo, no as so, ns as co, nt as lo, o as uo, on as fo, oo as po, ot as mo, p as ho, pi as go, pn as _o, pt as vo, qt as yo, rc as bo, rn as xo, ro as So, rs as Co, rt as wo, s as To, sc as Eo, si as Do, sn as Oo, so as ko, ss as Ao, st as jo, t as Mo, ti as No, tl as Po, tn as Fo, to as Io, ts as Lo, tt as Ro, u as zo, ui as Bo, un as Vo, uo as Ho, us as Uo, ut as Wo, v as Go, vc as Ko, vn as qo, vs as Jo, vt as Yo, w as Xo, wc as Zo, wi as Qo, wt as $o, x as es, xo as ts, xs as ns, xt as rs, y as is, yc as as, yi as os, yo as ss, zc as cs, zo as ls, zs as us } from "./F0CanvasPanel-
|
|
9
|
-
import { n as ds, o as fs, r as ps, t as W } from "./F0Icon-
|
|
10
|
-
import { A as ms, B as hs, C as gs,
|
|
11
|
-
import { $ as zs, $t as Bs,
|
|
6
|
+
import { B as Mn, C as Nn, D as Pn, E as Fn, F as In, H as Ln, I as Rn, N as zn, P as Bn, R as Vn, S as Hn, T as Un, Tt as Wn, U as H, V as Gn, _ as Kn, b as qn, c as Jn, d as Yn, f as Xn, h as Zn, m as Qn, n as $n, o as er, p as tr, r as nr, t as U, v as rr, w as ir, wt as ar } from "./F0Button-DJAGcvGQ.js";
|
|
7
|
+
import { t as or } from "./LayoutGroup-CmYTzUe-.js";
|
|
8
|
+
import { $ as sr, $a as cr, $c as lr, $r as ur, $t as dr, Ac as fr, At as pr, B as mr, Bc as hr, Bi 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, Is as Hr, It as Ur, J as Wr, Js as Gr, Jt as Kr, Kc as qr, Ls as Jr, Lt as Yr, M as Xr, Mc as Zr, Mi as Qr, Mr as $r, Ms as ei, N as ti, Ns as ni, Nt as ri, O as ii, Oc as ai, Oi as oi, Os as si, P as ci, Pa as li, Po as ui, Ps as di, Q as fi, Qa as pi, Qo as mi, Qr as hi, Rc as gi, Ri as _i, Ro as vi, Rt as yi, Sc as bi, So as xi, Ss as Si, T as Ci, Tc as wi, To as Ti, Tt as Ei, U as Di, Ur as Oi, Us as ki, V as Ai, Vn as ji, Vo as Mi, Vr as Ni, Vs as Pi, Vt as Fi, W as Ii, Wc as Li, Wo as Ri, Wr as zi, Wt as Bi, X as Vi, Y as Hi, Ys as Ui, Z as Wi, Zc as Gi, Zr as Ki, _ as qi, _c as Ji, _s as Yi, _t as Xi, ac as Zi, ai as Qi, as as $i, at as ea, b as ta, bc as na, bo as ra, bs as ia, bt as aa, c as oa, cc as sa, co as ca, cs as la, ct as ua, d as da, di as fa, ds as pa, dt as ma, ec as ha, ei as ga, en as _a, eo as va, es as ya, et as ba, f as xa, fi as Sa, fn as Ca, fs as wa, ft as Ta, g as Ea, gi as Da, gs as Oa, gt as ka, h as Aa, hc as ja, hi as Ma, hn as Na, hs as Pa, ht as Fa, i as Ia, ic as La, ii as Ra, it as za, ja as Ba, jo as Va, jr as Ha, ka as Ua, kc as Wa, ki as Ga, ko as Ka, ks as qa, kt as Ja, l as Ya, lc as Xa, li as Za, lo as Qa, lt as $a, m as eo, mi as to, mn as no, mt as ro, n as io, nc as ao, nl as oo, no as so, ns as co, nt as lo, o as uo, on as fo, oo as po, ot as mo, p as ho, pi as go, pn as _o, pt as vo, qt as yo, rc as bo, rn as xo, ro as So, rs as Co, rt as wo, s as To, sc as Eo, si as Do, sn as Oo, so as ko, ss as Ao, st as jo, t as Mo, ti as No, tl as Po, tn as Fo, to as Io, ts as Lo, tt as Ro, u as zo, ui as Bo, un as Vo, uo as Ho, us as Uo, ut as Wo, v as Go, vc as Ko, vn as qo, vs as Jo, vt as Yo, w as Xo, wc as Zo, wi as Qo, wt as $o, x as es, xo as ts, xs as ns, xt as rs, y as is, yc as as, yi as os, yo as ss, zc as cs, zo as ls, zs as us } from "./F0CanvasPanel-BqX2Sult.js";
|
|
9
|
+
import { n as ds, o as fs, r as ps, t as W } from "./F0Icon-CqhIsgzq.js";
|
|
10
|
+
import { A as ms, B as hs, C as gs, D as _s, F as vs, H as ys, I as bs, L as xs, M as Ss, N as Cs, O as ws, S as Ts, T as Es, V as Ds, f as Os, g as ks, h as As, i as js, j as Ms, k as Ns, l as Ps, w as Fs, x as Is, y as Ls, z as Rs } from "./useData-BjMlOMnX.js";
|
|
11
|
+
import { $ as zs, $t as Bs, Cr as Vs, Ct as Hs, Dn as Us, Dr as Ws, En as Gs, Er as Ks, Et as qs, K as Js, M as Ys, Mn as Xs, N as Zs, Nn as Qs, On as $s, Or as ec, P as tc, Sn as nc, Sr as rc, St as ic, Tn as ac, Tr as oc, Tt as sc, X as cc, Y as lc, Z as uc, _ as dc, _n as fc, _t as pc, cn as mc, cr as hc, ct as gc, dr as _c, en as vc, et as yc, fn as bc, g as xc, gt as Sc, h as Cc, jn as wc, jt as Tc, k as Ec, m as Dc, nn as Oc, nt as kc, p as Ac, rn as jc, rt as Mc, sr as Nc, t as Pc, tt as Fc, ur as Ic, ut as Lc, v as Rc, vt as zc, wn as Bc, wt as Vc, xr as Hc, yt as Uc } from "./F0Select-CLVnq8Oe.js";
|
|
12
12
|
import { t as Wc } from "./Check-DAp9gCRh.js";
|
|
13
|
-
import { a as Gc } from "./dist-
|
|
13
|
+
import { a as Gc } from "./dist-B0VLslFD.js";
|
|
14
14
|
import { t as Kc } from "./Ellipsis-CBouJQYY.js";
|
|
15
15
|
import { t as qc } from "./ExternalLink-RdKU698E.js";
|
|
16
16
|
import { n as Jc, t as Yc } from "./LockLocked-gdodYvT_.js";
|
|
17
17
|
import { a as Xc, o as Zc } from "./localized-CnKvEJya.js";
|
|
18
|
-
import { A as Qc, G as $c, H as el, L as tl, M as nl, N as rl, W as il, a as al, ft as ol, gt as sl, i as cl, j as ll, k as ul, n as dl, t as fl } from "./popover-
|
|
19
|
-
import { a as pl, c as ml, i as hl, n as gl, o as _l, r as vl, t as yl } from "./scrollarea-
|
|
20
|
-
import { t as bl } from "./F0Text-
|
|
18
|
+
import { A as Qc, G as $c, H as el, L as tl, M as nl, N as rl, W as il, a as al, ft as ol, gt as sl, i as cl, j as ll, k as ul, n as dl, t as fl } from "./popover-Cw4HYjOL.js";
|
|
19
|
+
import { a as pl, c as ml, i as hl, n as gl, o as _l, r as vl, t as yl } from "./scrollarea-4p-5wD8d.js";
|
|
20
|
+
import { t as bl } from "./F0Text-sHWQ6Zjr.js";
|
|
21
21
|
import { a as xl, i as Sl, n as Cl, r as wl, s as Tl } from "./dist-Cuwaibqg.js";
|
|
22
22
|
import './maplibre-gl.css';import './RichText.css';/* empty css */
|
|
23
23
|
import { t as El } from "./useFullscreen-CNwpzjpz.js";
|
|
24
|
-
import { S as Dl, _ as Ol, a as kl, b as Al, c as jl, d as Ml, f as Nl, g as Pl, h as Fl, i as Il, l as Ll, m as Rl, n as zl, o as Bl, p as Vl, r as Hl, t as Ul, u as Wl, v as Gl, x as Kl, y as ql } from "./F0Map-
|
|
24
|
+
import { S as Dl, _ as Ol, a as kl, b as Al, c as jl, d as Ml, f as Nl, g as Pl, h as Fl, i as Il, l as Ll, m as Rl, n as zl, o as Bl, p as Vl, r as Hl, t as Ul, u as Wl, v as Gl, x as Kl, y as ql } from "./F0Map-WdDErexm.js";
|
|
25
25
|
import { _ as Jl, a as Yl, c as Xl, d as Zl, f as Ql, g as $l, h as eu, i as tu, l as nu, m as ru, n as iu, o as au, p as ou, r as su, s as cu, t as lu, u as uu } from "./posts-BBvCiBdi.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import du, { Children as fu, Fragment as pu, Suspense as mu, cloneElement as hu, createContext as gu, forwardRef as _u, isValidElement as vu, lazy as yu, memo as bu, useCallback as G, useContext as xu, useEffect as K, useId as Su, useImperativeHandle as Cu, useInsertionEffect as wu, useLayoutEffect as q, useMemo as J, useReducer as Tu, useRef as Y, useState as X, useSyncExternalStore as Eu, useTransition as Du } from "react";
|
|
@@ -40,18 +40,18 @@ var Au = $c("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 ju(e, t) {
|
|
43
|
-
return +
|
|
43
|
+
return +Bc(e) - Bc(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 Mu(e, t, n) {
|
|
48
|
-
let r = ju(e, t) /
|
|
48
|
+
let r = ju(e, t) / fc;
|
|
49
49
|
return po(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 Nu(e) {
|
|
54
|
-
return
|
|
54
|
+
return bc(e, nc(ko(e), 1));
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/elements/F0ProgressSeries/types.ts
|
|
@@ -168,7 +168,7 @@ var Pu = [
|
|
|
168
168
|
disabled: !0,
|
|
169
169
|
variant: "neutral",
|
|
170
170
|
label: e.ai.sendMessage,
|
|
171
|
-
icon:
|
|
171
|
+
icon: oc,
|
|
172
172
|
hideLabel: !0
|
|
173
173
|
})
|
|
174
174
|
})]
|
|
@@ -308,7 +308,7 @@ var ed = ({ 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(qs, { size: "small" }) : e.label
|
|
312
312
|
});
|
|
313
313
|
case "internal": return /* @__PURE__ */ Q($n, {
|
|
314
314
|
label: e.label || "",
|
|
@@ -665,10 +665,10 @@ var gd = xn(Tn("F0EmojiPicker", hd)), _d = [
|
|
|
665
665
|
critical: "text-f1-foreground-critical"
|
|
666
666
|
} } }), xd = {
|
|
667
667
|
neutral: null,
|
|
668
|
-
info:
|
|
668
|
+
info: _c,
|
|
669
669
|
positive: Gc,
|
|
670
|
-
warning:
|
|
671
|
-
critical:
|
|
670
|
+
warning: Nc,
|
|
671
|
+
critical: ec
|
|
672
672
|
}, Sd = {
|
|
673
673
|
neutral: "default",
|
|
674
674
|
info: "info",
|
|
@@ -763,7 +763,7 @@ var gd = xn(Tn("F0EmojiPicker", hd)), _d = [
|
|
|
763
763
|
children: /* @__PURE__ */ Q(U, {
|
|
764
764
|
variant: "ghost",
|
|
765
765
|
size: "sm",
|
|
766
|
-
icon: a ?
|
|
766
|
+
icon: a ? Hc : Ds,
|
|
767
767
|
label: s.t(a ? "actions.collapseItem" : "actions.expandItem", { title: t }),
|
|
768
768
|
hideLabel: !0
|
|
769
769
|
})
|
|
@@ -849,7 +849,7 @@ var gd = xn(Tn("F0EmojiPicker", hd)), _d = [
|
|
|
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 ? Hc : Ds,
|
|
853
853
|
iconPosition: "right"
|
|
854
854
|
})
|
|
855
855
|
})
|
|
@@ -982,8 +982,8 @@ var zd = ra(xn(Ld), Rd), Bd = fs({
|
|
|
982
982
|
defaultVariants: { variant: "ai" }
|
|
983
983
|
}), Vd = {
|
|
984
984
|
positive: Gc,
|
|
985
|
-
warning:
|
|
986
|
-
info:
|
|
985
|
+
warning: Nc,
|
|
986
|
+
info: _c
|
|
987
987
|
}, Hd = {
|
|
988
988
|
positive: "text-f1-foreground-positive font-medium",
|
|
989
989
|
warning: "text-f1-foreground-warning font-medium",
|
|
@@ -1150,7 +1150,7 @@ af.displayName = "F0Confetti";
|
|
|
1150
1150
|
var of = xn(Tn("F0Confetti", af)), sf = (e, t) => {
|
|
1151
1151
|
let n = new Date(e);
|
|
1152
1152
|
return n.setDate(n.getDate() + t), n;
|
|
1153
|
-
}, cf = (e, t) =>
|
|
1153
|
+
}, cf = (e, t) => bc(e, t) ? "today" : bc(e, sf(t, -1)) ? "yesterday" : bc(e, sf(t, 1)) ? "tomorrow" : "other", lf = (e, t) => Mu(e, t), uf = (e, t) => Math.max(0, Mu(t, e)), df = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "inProgress" || e === "ringing" || e === "scheduled" && lf(t, n) <= r, ff = (e) => e === "scheduled" || e === "inProgress" || e === "ringing", pf = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "scheduled" && lf(t, n) <= r, mf = ({ state: e, hasCountdown: t }) => e !== "scheduled" || t, hf = (e, t) => {
|
|
1154
1154
|
if (!t) return;
|
|
1155
1155
|
let n = Mu(t, e);
|
|
1156
1156
|
return n > 0 ? n : void 0;
|
|
@@ -1167,14 +1167,14 @@ var of = xn(Tn("F0Confetti", af)), sf = (e, t) => {
|
|
|
1167
1167
|
lastName: n.join(" "),
|
|
1168
1168
|
tooltipDescription: e.email
|
|
1169
1169
|
};
|
|
1170
|
-
}), yf = (e, t) =>
|
|
1170
|
+
}), yf = (e, t) => mc(e, "p", { locale: t }), bf = (e, t) => mc(e, "d MMM", { locale: t }), xf = ({ attendees: e, relevantCount: t, maxAvatars: n = 3, size: r = "sm" }) => {
|
|
1171
1171
|
let { meetingCard: i } = z();
|
|
1172
1172
|
if (e.length === 0) return null;
|
|
1173
1173
|
let a = Math.max(0, t - e.length);
|
|
1174
1174
|
return /* @__PURE__ */ Q("div", {
|
|
1175
1175
|
role: "group",
|
|
1176
1176
|
"aria-label": i.attendees,
|
|
1177
|
-
children: /* @__PURE__ */ Q(
|
|
1177
|
+
children: /* @__PURE__ */ Q(Ps, {
|
|
1178
1178
|
type: "person",
|
|
1179
1179
|
avatars: vf(e),
|
|
1180
1180
|
size: r,
|
|
@@ -1198,7 +1198,7 @@ var of = xn(Tn("F0Confetti", af)), sf = (e, t) => {
|
|
|
1198
1198
|
});
|
|
1199
1199
|
}, Cf = ({ text: e }) => {
|
|
1200
1200
|
let t = Zn();
|
|
1201
|
-
return /* @__PURE__ */ Q(
|
|
1201
|
+
return /* @__PURE__ */ Q($s, {
|
|
1202
1202
|
className: "bg-f1-background-info text-f1-foreground-info",
|
|
1203
1203
|
left: /* @__PURE__ */ Q("div", {
|
|
1204
1204
|
className: V("m-1 aspect-square w-2 rounded-full bg-f1-icon-info", !t && "animate-pulse"),
|
|
@@ -1210,28 +1210,28 @@ var of = xn(Tn("F0Confetti", af)), sf = (e, t) => {
|
|
|
1210
1210
|
let { meetingCard: n } = z();
|
|
1211
1211
|
switch (e) {
|
|
1212
1212
|
case "inProgress": return /* @__PURE__ */ Q(Cf, { text: n.inProgress });
|
|
1213
|
-
case "ringing": return /* @__PURE__ */ Q(
|
|
1213
|
+
case "ringing": return /* @__PURE__ */ Q(ac, {
|
|
1214
1214
|
text: n.ringing,
|
|
1215
1215
|
variant: "warning"
|
|
1216
1216
|
});
|
|
1217
|
-
case "missed": return /* @__PURE__ */ Q(
|
|
1217
|
+
case "missed": return /* @__PURE__ */ Q(ac, {
|
|
1218
1218
|
text: n.missed,
|
|
1219
1219
|
variant: "neutral"
|
|
1220
1220
|
});
|
|
1221
|
-
case "summarizing": return /* @__PURE__ */ Q(
|
|
1221
|
+
case "summarizing": return /* @__PURE__ */ Q(ac, {
|
|
1222
1222
|
text: n.summarizing,
|
|
1223
1223
|
variant: "neutral",
|
|
1224
1224
|
icon: lr
|
|
1225
1225
|
});
|
|
1226
|
-
case "finished": return /* @__PURE__ */ Q(
|
|
1226
|
+
case "finished": return /* @__PURE__ */ Q(ac, {
|
|
1227
1227
|
text: n.finished,
|
|
1228
1228
|
variant: "positive"
|
|
1229
1229
|
});
|
|
1230
|
-
case "cancelled": return /* @__PURE__ */ Q(
|
|
1230
|
+
case "cancelled": return /* @__PURE__ */ Q(ac, {
|
|
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(ac, {
|
|
1235
1235
|
text: t,
|
|
1236
1236
|
variant: "warning"
|
|
1237
1237
|
}) : null;
|
|
@@ -1249,7 +1249,7 @@ var of = xn(Tn("F0Confetti", af)), sf = (e, t) => {
|
|
|
1249
1249
|
})
|
|
1250
1250
|
});
|
|
1251
1251
|
}, Ef = ({ state: e, startsAt: t, endsAt: n, now: r, windowMinutes: i, invitedCount: a, presentCount: o }) => {
|
|
1252
|
-
let { meetingCard: s } = z(), c =
|
|
1252
|
+
let { meetingCard: s } = z(), c = vc();
|
|
1253
1253
|
return J(() => {
|
|
1254
1254
|
let l = {
|
|
1255
1255
|
today: s.today,
|
|
@@ -1696,7 +1696,7 @@ var Nf = xn(Tn("F0PulseDot", Mf)), Pf = [
|
|
|
1696
1696
|
size: "md",
|
|
1697
1697
|
hideLabel: !0,
|
|
1698
1698
|
label: e.label ?? t,
|
|
1699
|
-
icon:
|
|
1699
|
+
icon: ys,
|
|
1700
1700
|
pressed: r || !!a?.open,
|
|
1701
1701
|
disabled: n
|
|
1702
1702
|
})
|
|
@@ -1750,7 +1750,7 @@ var Nf = xn(Tn("F0PulseDot", Mf)), Pf = [
|
|
|
1750
1750
|
size: "md",
|
|
1751
1751
|
hideLabel: !0,
|
|
1752
1752
|
label: a ? e.save : e.send,
|
|
1753
|
-
icon: a ? Wc :
|
|
1753
|
+
icon: a ? Wc : oc,
|
|
1754
1754
|
onClick: n ? void 0 : i,
|
|
1755
1755
|
disabled: !r
|
|
1756
1756
|
});
|
|
@@ -1787,7 +1787,7 @@ var Nf = xn(Tn("F0PulseDot", Mf)), Pf = [
|
|
|
1787
1787
|
size: "md",
|
|
1788
1788
|
hideLabel: !0,
|
|
1789
1789
|
label: n.queue,
|
|
1790
|
-
icon:
|
|
1790
|
+
icon: oc,
|
|
1791
1791
|
onClick: t.onQueue
|
|
1792
1792
|
}) : e === "stop" ? /* @__PURE__ */ Q($n, {
|
|
1793
1793
|
type: r ? "submit" : "button",
|
|
@@ -2484,7 +2484,7 @@ var Tp = 30, Ep = 50, Dp = (e, t, n) => Math.min(Math.max(e, t), n), Op = (e) =>
|
|
|
2484
2484
|
previous: /* @__PURE__ */ Q($n, {
|
|
2485
2485
|
variant: "outline",
|
|
2486
2486
|
size: "md",
|
|
2487
|
-
icon:
|
|
2487
|
+
icon: Vs,
|
|
2488
2488
|
label: r?.previous ?? Np,
|
|
2489
2489
|
hideLabel: !0,
|
|
2490
2490
|
className: Pp,
|
|
@@ -2494,7 +2494,7 @@ var Tp = 30, Ep = 50, Dp = (e, t, n) => Math.min(Math.max(e, t), n), Op = (e) =>
|
|
|
2494
2494
|
next: /* @__PURE__ */ Q($n, {
|
|
2495
2495
|
variant: "outline",
|
|
2496
2496
|
size: "md",
|
|
2497
|
-
icon:
|
|
2497
|
+
icon: rc,
|
|
2498
2498
|
label: r?.next ?? "Next",
|
|
2499
2499
|
hideLabel: !0,
|
|
2500
2500
|
className: Pp,
|
|
@@ -2532,7 +2532,7 @@ var Tp = 30, Ep = 50, Dp = (e, t, n) => Math.min(Math.max(e, t), n), Op = (e) =>
|
|
|
2532
2532
|
children: F.content
|
|
2533
2533
|
});
|
|
2534
2534
|
})), Ip = _u(({ value: e, max: t, color: n = "categorical-1", label: r }, i) => {
|
|
2535
|
-
let a = z(), 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 =
|
|
2535
|
+
let a = z(), 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 = Bs(n);
|
|
2536
2536
|
return /* @__PURE__ */ Q("div", {
|
|
2537
2537
|
ref: i,
|
|
2538
2538
|
role: "progressbar",
|
|
@@ -2934,7 +2934,7 @@ function tm({ title: e, isActive: t = !1, onClick: n }) {
|
|
|
2934
2934
|
//#endregion
|
|
2935
2935
|
//#region src/blocks/F0VersionHistory/VersionItem/VersionItem.tsx
|
|
2936
2936
|
function nm({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
2937
|
-
let i =
|
|
2937
|
+
let i = vc(), a = mc(t, "PPPp", { locale: i }), o = `${e.firstName} ${e.lastName}`;
|
|
2938
2938
|
return /* @__PURE__ */ $("button", {
|
|
2939
2939
|
type: "button",
|
|
2940
2940
|
className: V("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", En("focus-visible:ring-inset")),
|
|
@@ -2948,7 +2948,7 @@ function nm({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
|
2948
2948
|
children: a
|
|
2949
2949
|
}), /* @__PURE__ */ $("div", {
|
|
2950
2950
|
className: "flex flex-row items-center gap-[6px]",
|
|
2951
|
-
children: [/* @__PURE__ */ Q(
|
|
2951
|
+
children: [/* @__PURE__ */ Q(As, {
|
|
2952
2952
|
firstName: e.firstName,
|
|
2953
2953
|
lastName: e.lastName,
|
|
2954
2954
|
src: e.src,
|
|
@@ -3002,7 +3002,7 @@ var im = xn(Tn("F0VersionHistory", rm)), am = _u(function({ items: e }, t) {
|
|
|
3002
3002
|
}), om = xn(Tn("F0Timeline", am)), sm = _u(({ height: e, itemCount: t, itemSize: n, className: r, renderer: i }, a) => {
|
|
3003
3003
|
let o = du.useRef(null);
|
|
3004
3004
|
du.useImperativeHandle(a, () => o.current, []);
|
|
3005
|
-
let s =
|
|
3005
|
+
let s = Ys({
|
|
3006
3006
|
count: t,
|
|
3007
3007
|
getScrollElement: () => o.current,
|
|
3008
3008
|
estimateSize: typeof n == "number" ? () => n : n,
|
|
@@ -3073,7 +3073,7 @@ var fm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3073
3073
|
"aria-label": e.name,
|
|
3074
3074
|
className: V(i, "flex flex-row flex-wrap items-center gap-2 rounded border px-2 py-1.5 hover:cursor-pointer", "focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:bg-f1-background-hover", t && c ? "bg-f1-background-selected-bold/10 transition-colors dark:bg-f1-background-selected-bold/20" : ""),
|
|
3075
3075
|
children: [
|
|
3076
|
-
u ? null : /* @__PURE__ */ Q(
|
|
3076
|
+
u ? null : /* @__PURE__ */ Q(As, {
|
|
3077
3077
|
src: e.avatar,
|
|
3078
3078
|
firstName: f,
|
|
3079
3079
|
lastName: p,
|
|
@@ -3091,7 +3091,7 @@ var fm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3091
3091
|
})
|
|
3092
3092
|
})
|
|
3093
3093
|
}),
|
|
3094
|
-
/* @__PURE__ */ Q(
|
|
3094
|
+
/* @__PURE__ */ Q(Lc, {
|
|
3095
3095
|
"data-avatarname-navigator-element": "true",
|
|
3096
3096
|
checked: t,
|
|
3097
3097
|
disabled: l,
|
|
@@ -3175,7 +3175,7 @@ var fm = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
3175
3175
|
searchKeys: r.searchKeys
|
|
3176
3176
|
}), /* @__PURE__ */ Q(ir, { value: r.subItems?.length ?? 0 })]
|
|
3177
3177
|
}),
|
|
3178
|
-
/* @__PURE__ */ Q(
|
|
3178
|
+
/* @__PURE__ */ Q(Lc, {
|
|
3179
3179
|
checked: x,
|
|
3180
3180
|
disabled: h,
|
|
3181
3181
|
onClick: b,
|
|
@@ -3206,7 +3206,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3206
3206
|
hideLabel: !0,
|
|
3207
3207
|
label: e,
|
|
3208
3208
|
onClick: () => t(),
|
|
3209
|
-
icon:
|
|
3209
|
+
icon: hc,
|
|
3210
3210
|
size: "sm",
|
|
3211
3211
|
variant: "outline"
|
|
3212
3212
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -3301,7 +3301,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3301
3301
|
onChange: (e) => t(e.target.value)
|
|
3302
3302
|
}),
|
|
3303
3303
|
e ? /* @__PURE__ */ Q(W, {
|
|
3304
|
-
icon:
|
|
3304
|
+
icon: hs,
|
|
3305
3305
|
size: "md",
|
|
3306
3306
|
onClick: () => t(""),
|
|
3307
3307
|
className: "cursor-pointer text-f1-icon-secondary"
|
|
@@ -3520,7 +3520,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3520
3520
|
})
|
|
3521
3521
|
}), n && n.length > 1 ? /* @__PURE__ */ Q("div", {
|
|
3522
3522
|
className: "flex-1",
|
|
3523
|
-
children: /* @__PURE__ */ Q(
|
|
3523
|
+
children: /* @__PURE__ */ Q(Pc, {
|
|
3524
3524
|
label: "Group",
|
|
3525
3525
|
hideLabel: !0,
|
|
3526
3526
|
disabled: T,
|
|
@@ -3536,7 +3536,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3536
3536
|
children: [
|
|
3537
3537
|
T ? /* @__PURE__ */ Q("div", {
|
|
3538
3538
|
className: "flex h-full w-full flex-row items-center justify-center",
|
|
3539
|
-
children: /* @__PURE__ */ Q(
|
|
3539
|
+
children: /* @__PURE__ */ Q(qs, {})
|
|
3540
3540
|
}) : null,
|
|
3541
3541
|
!T && !k ? /* @__PURE__ */ $("div", {
|
|
3542
3542
|
className: "absolute flex w-full flex-col items-center justify-center gap-0.5 p-5",
|
|
@@ -3587,9 +3587,9 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3587
3587
|
});
|
|
3588
3588
|
}, Tm = (e, t) => e.find((e) => e.id === t), Em = (e, t) => e.find((e) => e.value === t)?.groupType === "team", Dm = ({ entity: e, onRemove: t, disabled: n = !1, deactivated: r = !1, hiddenAvatar: i = !1 }) => /* @__PURE__ */ Q("div", {
|
|
3589
3589
|
className: "pr-2 pt-1.5",
|
|
3590
|
-
children: /* @__PURE__ */ Q(
|
|
3590
|
+
children: /* @__PURE__ */ Q($s, {
|
|
3591
3591
|
className: V("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"),
|
|
3592
|
-
left: !i && /* @__PURE__ */ Q(
|
|
3592
|
+
left: !i && /* @__PURE__ */ Q(gs, {
|
|
3593
3593
|
src: e.subAvatar,
|
|
3594
3594
|
name: e.subName,
|
|
3595
3595
|
size: "xs",
|
|
@@ -3715,7 +3715,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3715
3715
|
subDeactivated: e.deactivated
|
|
3716
3716
|
}
|
|
3717
3717
|
})), [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;
|
|
3718
|
-
return /* @__PURE__ */ Q(
|
|
3718
|
+
return /* @__PURE__ */ Q(lc, {
|
|
3719
3719
|
onClickContent: (e) => {
|
|
3720
3720
|
d?.(e), w.current?.contains(e.target) || w.current?.click();
|
|
3721
3721
|
},
|
|
@@ -3745,7 +3745,7 @@ var mm = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
3745
3745
|
src: D[0].subItem.subAvatar,
|
|
3746
3746
|
deactivated: D[0].subItem.subDeactivated
|
|
3747
3747
|
},
|
|
3748
|
-
append: _ ?? /* @__PURE__ */ Q(Z, { children: /* @__PURE__ */ Q(
|
|
3748
|
+
append: _ ?? /* @__PURE__ */ Q(Z, { children: /* @__PURE__ */ Q(Ec, {
|
|
3749
3749
|
open: y,
|
|
3750
3750
|
disabled: r,
|
|
3751
3751
|
size: v
|
|
@@ -3772,7 +3772,7 @@ var Pm = (e) => {
|
|
|
3772
3772
|
K(() => {
|
|
3773
3773
|
e.defaultOpen && t && e.onOpenChange?.(!0);
|
|
3774
3774
|
}, [e.defaultOpen]);
|
|
3775
|
-
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = Kn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = xu(
|
|
3775
|
+
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = Kn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = xu(Js), f = d.portalContainer && (d.position === "center" || d.position === "fullscreen") ? d.portalContainer : void 0;
|
|
3776
3776
|
function p(t) {
|
|
3777
3777
|
if (e.singleSelector) {
|
|
3778
3778
|
e.onSelect(t), n(!1);
|
|
@@ -4070,14 +4070,14 @@ function Rm(e, t) {
|
|
|
4070
4070
|
}
|
|
4071
4071
|
//#endregion
|
|
4072
4072
|
//#region src/blocks/F0LocationInput/types.ts
|
|
4073
|
-
var zm =
|
|
4073
|
+
var zm = zs, Bm = [
|
|
4074
4074
|
"country",
|
|
4075
4075
|
"addressLine1",
|
|
4076
4076
|
"addressLine2",
|
|
4077
4077
|
"city",
|
|
4078
4078
|
"state",
|
|
4079
4079
|
"postalCode"
|
|
4080
|
-
], Vm =
|
|
4080
|
+
], Vm = zs, Hm = 50, Um = { preserveWhitespace: !0 }, Wm = Zt.create({
|
|
4081
4081
|
name: "doc",
|
|
4082
4082
|
topNode: !0,
|
|
4083
4083
|
content: "paragraph"
|
|
@@ -4249,7 +4249,7 @@ var zm = tc, Bm = [
|
|
|
4249
4249
|
]), /* @__PURE__ */ $("div", {
|
|
4250
4250
|
className: V("flex flex-col gap-2", u && "cursor-not-allowed"),
|
|
4251
4251
|
children: [
|
|
4252
|
-
!d && e ? /* @__PURE__ */ Q(
|
|
4252
|
+
!d && e ? /* @__PURE__ */ Q(cc, {
|
|
4253
4253
|
label: e,
|
|
4254
4254
|
required: l,
|
|
4255
4255
|
htmlFor: _,
|
|
@@ -4276,7 +4276,7 @@ var zm = tc, Bm = [
|
|
|
4276
4276
|
M ? /* @__PURE__ */ Q("div", {
|
|
4277
4277
|
id: v,
|
|
4278
4278
|
role: j?.type === "error" ? "alert" : void 0,
|
|
4279
|
-
children: /* @__PURE__ */ Q(
|
|
4279
|
+
children: /* @__PURE__ */ Q(uc, { status: j })
|
|
4280
4280
|
}) : null
|
|
4281
4281
|
]
|
|
4282
4282
|
});
|
|
@@ -4290,7 +4290,7 @@ var rh = Tn("F0TemplateTextInput", nh), ih = Tn("ActivityItem", ra(({ id: e, cre
|
|
|
4290
4290
|
onChange(t) {
|
|
4291
4291
|
t && c?.(e);
|
|
4292
4292
|
}
|
|
4293
|
-
}), u =
|
|
4293
|
+
}), u = vc(), d = So(t, {
|
|
4294
4294
|
yesterdayRelative: !1,
|
|
4295
4295
|
locale: u
|
|
4296
4296
|
});
|
|
@@ -4301,7 +4301,7 @@ var rh = Tn("F0TemplateTextInput", nh), ih = Tn("ActivityItem", ra(({ id: e, cre
|
|
|
4301
4301
|
s(e);
|
|
4302
4302
|
},
|
|
4303
4303
|
children: [
|
|
4304
|
-
/* @__PURE__ */ Q(
|
|
4304
|
+
/* @__PURE__ */ Q(ks, { icon: i ?? Lr }),
|
|
4305
4305
|
/* @__PURE__ */ $("div", {
|
|
4306
4306
|
className: "flex-1",
|
|
4307
4307
|
children: [
|
|
@@ -4437,7 +4437,7 @@ var _h = {
|
|
|
4437
4437
|
//#region src/domains/platform/home/Home/Communities/Celebration/components/avatar.tsx
|
|
4438
4438
|
function yh({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction: i, onReactionSelect: a, pickerRef: o }) {
|
|
4439
4439
|
return /* @__PURE__ */ $("div", {
|
|
4440
|
-
className: V("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : vh[
|
|
4440
|
+
className: V("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : vh[Fs([e, t].join(""))]),
|
|
4441
4441
|
children: [n ? /* @__PURE__ */ Q("div", {
|
|
4442
4442
|
className: "absolute inset-0 bg-cover bg-center bg-no-repeat opacity-10",
|
|
4443
4443
|
style: { backgroundImage: `url("${n}")` }
|
|
@@ -4447,7 +4447,7 @@ function yh({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction:
|
|
|
4447
4447
|
className: "relative h-fit w-fit",
|
|
4448
4448
|
children: [/* @__PURE__ */ Q("div", {
|
|
4449
4449
|
style: r ? { clipPath: "path('M69.6933 48.707C71.1842 44.7556 72 40.4731 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72C40.4731 72 44.7556 71.1842 48.707 69.6933C48.6283 69.4953 48.5557 69.2942 48.4894 69.0902C48 67.5838 48 65.7226 48 62C48 58.2774 48 56.4162 48.4894 54.9098C49.4786 51.8655 51.8655 49.4786 54.9098 48.4894C56.4162 48 58.2774 48 62 48C65.7226 48 67.5838 48 69.0902 48.4894C69.2942 48.5557 69.4953 48.6283 69.6933 48.707')" } : {},
|
|
4450
|
-
children: /* @__PURE__ */ Q(
|
|
4450
|
+
children: /* @__PURE__ */ Q(As, {
|
|
4451
4451
|
src: n,
|
|
4452
4452
|
firstName: e,
|
|
4453
4453
|
lastName: t,
|
|
@@ -4594,7 +4594,7 @@ var xh = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
4594
4594
|
className: "flex w-full flex-col items-start justify-between gap-4 rounded-md bg-gradient-to-r from-[#F5A51C]/30 via-[#E51943]/30 to-[#5596F6]/30 px-3 py-3 ring-1 ring-inset ring-f1-border-secondary sm:flex-row sm:items-center sm:px-4",
|
|
4595
4595
|
children: [/* @__PURE__ */ $("div", {
|
|
4596
4596
|
className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center",
|
|
4597
|
-
children: [/* @__PURE__ */ Q(
|
|
4597
|
+
children: [/* @__PURE__ */ Q(ws, {
|
|
4598
4598
|
module: "kudos",
|
|
4599
4599
|
size: "md"
|
|
4600
4600
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -4652,7 +4652,7 @@ function Th({ emoji: e, initialCount: t, hasReacted: n = !1, users: r, loadUsers
|
|
|
4652
4652
|
emoji: e,
|
|
4653
4653
|
size: o
|
|
4654
4654
|
}),
|
|
4655
|
-
children: /* @__PURE__ */ Q(
|
|
4655
|
+
children: /* @__PURE__ */ Q(Mc, {
|
|
4656
4656
|
value: l,
|
|
4657
4657
|
spinTiming: {
|
|
4658
4658
|
duration: 200,
|
|
@@ -4711,7 +4711,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4711
4711
|
})), Ah = ({ tags: e, right: t }) => /* @__PURE__ */ Q("div", {
|
|
4712
4712
|
className: V("flex flex-1 flex-row items-center gap-1.5", t && "justify-end"),
|
|
4713
4713
|
children: e.map((e) => {
|
|
4714
|
-
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
4714
|
+
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(Us, {
|
|
4715
4715
|
icon: e.icon,
|
|
4716
4716
|
text: e.label ?? (e.description || ""),
|
|
4717
4717
|
onlyIcon: !0,
|
|
@@ -4733,7 +4733,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4733
4733
|
size: r
|
|
4734
4734
|
}) : null,
|
|
4735
4735
|
e && (!n || t) ? /* @__PURE__ */ Q(W, {
|
|
4736
|
-
icon:
|
|
4736
|
+
icon: rc,
|
|
4737
4737
|
size: "sm",
|
|
4738
4738
|
className: "text-f1-foreground-tertiary"
|
|
4739
4739
|
}) : null,
|
|
@@ -4832,7 +4832,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4832
4832
|
let t = (e?.split(".")).at(-1);
|
|
4833
4833
|
return !!t && Ph.has(t);
|
|
4834
4834
|
}, Ih = ra(({ title: e, mediaUrl: t, place: n, date: r }) => {
|
|
4835
|
-
let i =
|
|
4835
|
+
let i = vc(), a = va(r, i);
|
|
4836
4836
|
return n && (a = `${a} · ${n}`), /* @__PURE__ */ $("div", {
|
|
4837
4837
|
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",
|
|
4838
4838
|
children: [t ? /* @__PURE__ */ Q("div", {
|
|
@@ -4886,7 +4886,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4886
4886
|
})
|
|
4887
4887
|
});
|
|
4888
4888
|
}, Rh = ({ 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 }) => {
|
|
4889
|
-
let T = Su(), E = Su(), D =
|
|
4889
|
+
let T = Su(), E = Su(), D = vc(), 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 ? so(r, D) : So(r, { locale: D }), L = !!o, ee = o ? () => o(e) : void 0, te = (e) => {
|
|
4890
4890
|
e.stopPropagation();
|
|
4891
4891
|
}, ne = t ? `${t.firstName} ${t.lastName}` : void 0, re = (t) => {
|
|
4892
4892
|
t.preventDefault(), t.stopPropagation(), a && A({
|
|
@@ -4927,12 +4927,12 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4927
4927
|
title: ne,
|
|
4928
4928
|
className: "flex items-center leading-[0]",
|
|
4929
4929
|
stopPropagation: !0,
|
|
4930
|
-
children: /* @__PURE__ */ Q(
|
|
4930
|
+
children: /* @__PURE__ */ Q(As, {
|
|
4931
4931
|
firstName: t.firstName,
|
|
4932
4932
|
lastName: t.lastName,
|
|
4933
4933
|
src: t.avatarUrl
|
|
4934
4934
|
})
|
|
4935
|
-
}) : /* @__PURE__ */ Q(
|
|
4935
|
+
}) : /* @__PURE__ */ Q(ks, { icon: Yi }),
|
|
4936
4936
|
/* @__PURE__ */ $("div", {
|
|
4937
4937
|
className: "flex min-w-0 flex-1 flex-col",
|
|
4938
4938
|
children: [/* @__PURE__ */ $("div", {
|
|
@@ -4978,7 +4978,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4978
4978
|
title: e.label ?? ""
|
|
4979
4979
|
}, e.label)), m?.length ? /* @__PURE__ */ Q(Qa, {
|
|
4980
4980
|
items: m,
|
|
4981
|
-
icon:
|
|
4981
|
+
icon: Rs,
|
|
4982
4982
|
size: "sm"
|
|
4983
4983
|
}) : null]
|
|
4984
4984
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -4988,7 +4988,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
4988
4988
|
label: f.label,
|
|
4989
4989
|
onClick: f.onClick
|
|
4990
4990
|
}, ...m ?? []],
|
|
4991
|
-
icon:
|
|
4991
|
+
icon: Rs,
|
|
4992
4992
|
size: "sm"
|
|
4993
4993
|
})
|
|
4994
4994
|
})]
|
|
@@ -5115,7 +5115,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5115
5115
|
});
|
|
5116
5116
|
}, qh = ({ author: e, meta: t }) => /* @__PURE__ */ $("div", {
|
|
5117
5117
|
className: "mt-auto flex flex-row items-center gap-3 pt-2",
|
|
5118
|
-
children: [e ? /* @__PURE__ */ Q(
|
|
5118
|
+
children: [e ? /* @__PURE__ */ Q(As, {
|
|
5119
5119
|
firstName: e.firstName,
|
|
5120
5120
|
lastName: e.lastName,
|
|
5121
5121
|
src: e.avatarUrl
|
|
@@ -5130,8 +5130,8 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5130
5130
|
}) : null]
|
|
5131
5131
|
})]
|
|
5132
5132
|
}), Jh = ["tile", "row"], Yh = ({ post: e, variant: t = "tile" }) => {
|
|
5133
|
-
let n =
|
|
5134
|
-
|
|
5133
|
+
let n = vc(), r = [
|
|
5134
|
+
mc(e.createdAt, "MMM d", { locale: n }),
|
|
5135
5135
|
e.counters?.visits,
|
|
5136
5136
|
e.counters?.comments
|
|
5137
5137
|
].filter(Boolean).join(" · "), i = e.href ? /* @__PURE__ */ Q(Vn, {
|
|
@@ -5265,7 +5265,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5265
5265
|
className: V(tg, u && "cursor-pointer", d ? "border-f1-border-selected bg-f1-background-selected" : "hover:bg-f1-background-hover"),
|
|
5266
5266
|
onClick: l,
|
|
5267
5267
|
children: [
|
|
5268
|
-
e ? /* @__PURE__ */ Q(
|
|
5268
|
+
e ? /* @__PURE__ */ Q(Os, {
|
|
5269
5269
|
avatar: e,
|
|
5270
5270
|
size: "sm"
|
|
5271
5271
|
}) : null,
|
|
@@ -5281,7 +5281,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5281
5281
|
}), c ? /* @__PURE__ */ Q(zn, {
|
|
5282
5282
|
label: c,
|
|
5283
5283
|
children: /* @__PURE__ */ Q(W, {
|
|
5284
|
-
icon:
|
|
5284
|
+
icon: _c,
|
|
5285
5285
|
size: "sm",
|
|
5286
5286
|
className: "text-f1-icon-secondary"
|
|
5287
5287
|
})
|
|
@@ -5289,7 +5289,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5289
5289
|
}),
|
|
5290
5290
|
r && r.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
5291
5291
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
5292
|
-
children: r.map((e, t) => /* @__PURE__ */ $(du.Fragment, { children: [/* @__PURE__ */ Q(
|
|
5292
|
+
children: r.map((e, t) => /* @__PURE__ */ $(du.Fragment, { children: [/* @__PURE__ */ Q(Us, { ...e }), t < r.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }, e.text))
|
|
5293
5293
|
}) : null,
|
|
5294
5294
|
n ? /* @__PURE__ */ Q(bl, {
|
|
5295
5295
|
variant: "description",
|
|
@@ -5314,7 +5314,7 @@ var kh = ra(Oh, () => /* @__PURE__ */ $("div", {
|
|
|
5314
5314
|
color: "secondary"
|
|
5315
5315
|
})
|
|
5316
5316
|
}) : null,
|
|
5317
|
-
a ? /* @__PURE__ */ Q(
|
|
5317
|
+
a ? /* @__PURE__ */ Q(Tc, { ...a }) : null,
|
|
5318
5318
|
s ? /* @__PURE__ */ Q(ng, { actions: s }) : null
|
|
5319
5319
|
]
|
|
5320
5320
|
})
|
|
@@ -5334,7 +5334,7 @@ var ag = xn(Tn("OneListItem", ra(rg, ig))), og = du.forwardRef(({ person: e, onC
|
|
|
5334
5334
|
t();
|
|
5335
5335
|
},
|
|
5336
5336
|
children: [
|
|
5337
|
-
/* @__PURE__ */ Q(
|
|
5337
|
+
/* @__PURE__ */ Q(As, {
|
|
5338
5338
|
firstName: e.firstName,
|
|
5339
5339
|
lastName: e.lastName,
|
|
5340
5340
|
src: e.avatarUrl,
|
|
@@ -5351,7 +5351,7 @@ var ag = xn(Tn("OneListItem", ra(rg, ig))), og = du.forwardRef(({ person: e, onC
|
|
|
5351
5351
|
}), n.info ? /* @__PURE__ */ Q(zn, {
|
|
5352
5352
|
label: n.info,
|
|
5353
5353
|
children: /* @__PURE__ */ Q(W, {
|
|
5354
|
-
icon:
|
|
5354
|
+
icon: _c,
|
|
5355
5355
|
size: "sm",
|
|
5356
5356
|
className: "text-f1-icon-secondary"
|
|
5357
5357
|
})
|
|
@@ -5359,7 +5359,7 @@ var ag = xn(Tn("OneListItem", ra(rg, ig))), og = du.forwardRef(({ person: e, onC
|
|
|
5359
5359
|
}),
|
|
5360
5360
|
"bottomTags" in n ? /* @__PURE__ */ Q("div", {
|
|
5361
5361
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
5362
|
-
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
5362
|
+
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(Us, { ...e }, e.text), t < n.bottomTags.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }))
|
|
5363
5363
|
}) : null,
|
|
5364
5364
|
"description" in n && n.description ? /* @__PURE__ */ Q("p", {
|
|
5365
5365
|
className: "truncate text-f1-foreground-secondary",
|
|
@@ -5369,7 +5369,7 @@ var ag = xn(Tn("OneListItem", ra(rg, ig))), og = du.forwardRef(({ person: e, onC
|
|
|
5369
5369
|
}),
|
|
5370
5370
|
/* @__PURE__ */ $("div", {
|
|
5371
5371
|
className: "flex flex-row items-center justify-between gap-2",
|
|
5372
|
-
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(
|
|
5372
|
+
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(Tc, { ...n.rightTag }) : null, "actions" in n ? /* @__PURE__ */ $("div", {
|
|
5373
5373
|
className: "flex flex-1 flex-row items-center justify-end gap-2",
|
|
5374
5374
|
children: [n.actions?.primary ? /* @__PURE__ */ Q(U, {
|
|
5375
5375
|
variant: "outline",
|
|
@@ -6650,7 +6650,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
6650
6650
|
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", {
|
|
6651
6651
|
"aria-hidden": !0,
|
|
6652
6652
|
className: V("m-1 block aspect-square w-2 rounded-full", s ? "bg-f1-icon-positive" : "bg-f1-icon")
|
|
6653
|
-
}) : /* @__PURE__ */ Q(
|
|
6653
|
+
}) : /* @__PURE__ */ Q(ac, {
|
|
6654
6654
|
text: c,
|
|
6655
6655
|
variant: s ? "positive" : "neutral"
|
|
6656
6656
|
});
|
|
@@ -6734,7 +6734,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
6734
6734
|
let t = z(), { room: n, recording: r } = Eg(), { effectiveMode: i } = Yv(), a = Bg(), o = ay(iy()), s = i === "minimized", c = i === "fullscreen", l = i === "pip", u = !s && a !== "tight", d = s || l, f = s || l || a === "tight", p = /* @__PURE__ */ $("span", {
|
|
6735
6735
|
className: "flex shrink-0 items-center gap-1.5",
|
|
6736
6736
|
"data-f0-no-drag": !0,
|
|
6737
|
-
children: [r?.active ? /* @__PURE__ */ Q(
|
|
6737
|
+
children: [r?.active ? /* @__PURE__ */ Q(ac, {
|
|
6738
6738
|
text: r.consentNotice ?? t.meeting.recording,
|
|
6739
6739
|
variant: "critical"
|
|
6740
6740
|
}) : null, /* @__PURE__ */ Q(my, { compact: f })]
|
|
@@ -6764,7 +6764,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
6764
6764
|
n.avatar && u ? /* @__PURE__ */ Q("span", {
|
|
6765
6765
|
className: "shrink-0",
|
|
6766
6766
|
"data-testid": "meeting-room-avatar",
|
|
6767
|
-
children: /* @__PURE__ */ Q(
|
|
6767
|
+
children: /* @__PURE__ */ Q(Os, {
|
|
6768
6768
|
avatar: n.avatar,
|
|
6769
6769
|
size: "xs"
|
|
6770
6770
|
})
|
|
@@ -7095,7 +7095,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
7095
7095
|
rowIndex: r
|
|
7096
7096
|
});
|
|
7097
7097
|
}), e;
|
|
7098
|
-
}, [t]), f = G((e) => e + (t.rows[e]?.sectionIndex ?? 0) + 1, [t]), p = G((e) => (t.firstRowBySection[e] ?? 0) + e, [t]), m =
|
|
7098
|
+
}, [t]), f = G((e) => e + (t.rows[e]?.sectionIndex ?? 0) + 1, [t]), p = G((e) => (t.firstRowBySection[e] ?? 0) + e, [t]), m = Ys({
|
|
7099
7099
|
count: d.length,
|
|
7100
7100
|
getScrollElement: () => u.current,
|
|
7101
7101
|
estimateSize: (t) => {
|
|
@@ -7377,7 +7377,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
7377
7377
|
children: [
|
|
7378
7378
|
/* @__PURE__ */ Q("div", {
|
|
7379
7379
|
className: "shrink-0 p-2",
|
|
7380
|
-
children: /* @__PURE__ */ Q(
|
|
7380
|
+
children: /* @__PURE__ */ Q(Dc, {
|
|
7381
7381
|
ref: l,
|
|
7382
7382
|
value: u,
|
|
7383
7383
|
placeholder: a.chat.emojiPicker.search,
|
|
@@ -7566,7 +7566,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
7566
7566
|
className: V("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"),
|
|
7567
7567
|
children: e === void 0 ? null : e > 99 ? "99+" : e
|
|
7568
7568
|
}), Kb = ({ action: e, onPlate: t }) => {
|
|
7569
|
-
let n = z(), 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(
|
|
7569
|
+
let n = z(), 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(Hs, {
|
|
7570
7570
|
selected: !!e.pressed,
|
|
7571
7571
|
onSelectedChange: () => e.onClick?.(),
|
|
7572
7572
|
icon: e.activeIcon ? [e.icon, e.activeIcon] : e.icon,
|
|
@@ -7726,7 +7726,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
7726
7726
|
disabled: o,
|
|
7727
7727
|
className: V("flex w-7 items-center justify-center rounded-r-[inherit] transition-colors duration-150 ease-out motion-reduce:transition-none", "hover:bg-f1-background-secondary-hover", o && "cursor-not-allowed opacity-50", En(), cy("right")),
|
|
7728
7728
|
children: /* @__PURE__ */ Q(W, {
|
|
7729
|
-
icon:
|
|
7729
|
+
icon: Ds,
|
|
7730
7730
|
size: "sm",
|
|
7731
7731
|
color: "bold"
|
|
7732
7732
|
})
|
|
@@ -8221,7 +8221,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
8221
8221
|
}, Yx = () => {
|
|
8222
8222
|
let e = z();
|
|
8223
8223
|
return /* @__PURE__ */ $(Jx, { children: [/* @__PURE__ */ Q(W, {
|
|
8224
|
-
icon:
|
|
8224
|
+
icon: Cs,
|
|
8225
8225
|
size: "lg",
|
|
8226
8226
|
state: "animate"
|
|
8227
8227
|
}), /* @__PURE__ */ Q("p", {
|
|
@@ -8256,7 +8256,7 @@ var Jg = Vg.categories.flatMap((e) => Hg.includes(e.id) ? [{
|
|
|
8256
8256
|
role: "status",
|
|
8257
8257
|
className: "pointer-events-none absolute left-1/2 top-3 z-10 flex -translate-x-1/2 items-center gap-2 rounded-full bg-f1-background-warning px-3 py-1.5 text-sm font-medium text-f1-foreground-warning",
|
|
8258
8258
|
children: [/* @__PURE__ */ Q(W, {
|
|
8259
|
-
icon:
|
|
8259
|
+
icon: Cs,
|
|
8260
8260
|
size: "sm",
|
|
8261
8261
|
state: "animate"
|
|
8262
8262
|
}), e.meeting.reconnecting]
|
|
@@ -8751,7 +8751,7 @@ var OS = () => {
|
|
|
8751
8751
|
children: [/* @__PURE__ */ $("span", {
|
|
8752
8752
|
className: V("relative flex-none", i && "opacity-50"),
|
|
8753
8753
|
children: [
|
|
8754
|
-
r.avatar ? /* @__PURE__ */ Q(
|
|
8754
|
+
r.avatar ? /* @__PURE__ */ Q(Os, {
|
|
8755
8755
|
avatar: r.avatar,
|
|
8756
8756
|
size: t.avatarSize
|
|
8757
8757
|
}) : null,
|
|
@@ -8816,10 +8816,10 @@ var OS = () => {
|
|
|
8816
8816
|
});
|
|
8817
8817
|
}, KS = ({ tiles: e, width: t, radius: n }) => {
|
|
8818
8818
|
let r = z(), i = t < 160;
|
|
8819
|
-
return e.length === 0 ? null : /* @__PURE__ */ $(
|
|
8819
|
+
return e.length === 0 ? null : /* @__PURE__ */ $(Sc, {
|
|
8820
8820
|
openDelay: 120,
|
|
8821
8821
|
closeDelay: 100,
|
|
8822
|
-
children: [/* @__PURE__ */ Q(
|
|
8822
|
+
children: [/* @__PURE__ */ Q(zc, {
|
|
8823
8823
|
asChild: !0,
|
|
8824
8824
|
children: /* @__PURE__ */ Q("div", {
|
|
8825
8825
|
className: "bg-f1-background flex h-full w-full",
|
|
@@ -8838,7 +8838,7 @@ var OS = () => {
|
|
|
8838
8838
|
})]
|
|
8839
8839
|
})
|
|
8840
8840
|
})
|
|
8841
|
-
}), /* @__PURE__ */ $(
|
|
8841
|
+
}), /* @__PURE__ */ $(pc, {
|
|
8842
8842
|
align: "center",
|
|
8843
8843
|
side: "top",
|
|
8844
8844
|
className: "w-64 border-none bg-f1-background p-2 text-f1-foreground",
|
|
@@ -8850,7 +8850,7 @@ var OS = () => {
|
|
|
8850
8850
|
children: e.map((e) => /* @__PURE__ */ $("li", {
|
|
8851
8851
|
className: "flex items-center gap-2 rounded-md px-1 py-1",
|
|
8852
8852
|
children: [
|
|
8853
|
-
e.participant.avatar ? /* @__PURE__ */ Q(
|
|
8853
|
+
e.participant.avatar ? /* @__PURE__ */ Q(Os, {
|
|
8854
8854
|
avatar: e.participant.avatar,
|
|
8855
8855
|
size: "xs"
|
|
8856
8856
|
}) : null,
|
|
@@ -9012,7 +9012,7 @@ var OS = () => {
|
|
|
9012
9012
|
mirrored: d.isLocal && !m
|
|
9013
9013
|
}) : /* @__PURE__ */ $("div", {
|
|
9014
9014
|
className: "flex h-full w-full flex-col items-center justify-center gap-2.5 px-2",
|
|
9015
|
-
children: [d.avatar ? /* @__PURE__ */ Q(
|
|
9015
|
+
children: [d.avatar ? /* @__PURE__ */ Q(Os, {
|
|
9016
9016
|
avatar: d.avatar,
|
|
9017
9017
|
size: S_(t)
|
|
9018
9018
|
}) : null, h && !v ? /* @__PURE__ */ Q("span", {
|
|
@@ -10328,7 +10328,7 @@ var OS = () => {
|
|
|
10328
10328
|
className: "flex gap-2",
|
|
10329
10329
|
children: [/* @__PURE__ */ Q("span", {
|
|
10330
10330
|
className: "mt-0.5 shrink-0",
|
|
10331
|
-
children: t?.avatar ? /* @__PURE__ */ Q(
|
|
10331
|
+
children: t?.avatar ? /* @__PURE__ */ Q(Os, {
|
|
10332
10332
|
avatar: t.avatar,
|
|
10333
10333
|
size: "xs"
|
|
10334
10334
|
}) : null
|
|
@@ -10364,7 +10364,7 @@ var OS = () => {
|
|
|
10364
10364
|
className: V("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", En())
|
|
10365
10365
|
}), /* @__PURE__ */ Q(U, {
|
|
10366
10366
|
hideLabel: !0,
|
|
10367
|
-
icon:
|
|
10367
|
+
icon: oc,
|
|
10368
10368
|
label: n.meeting.sendMessage,
|
|
10369
10369
|
disabled: a.trim().length === 0,
|
|
10370
10370
|
onClick: l
|
|
@@ -10451,7 +10451,7 @@ var OS = () => {
|
|
|
10451
10451
|
className: "flex gap-2",
|
|
10452
10452
|
children: [/* @__PURE__ */ Q("span", {
|
|
10453
10453
|
className: "mt-0.5 shrink-0",
|
|
10454
|
-
children: r?.avatar ? /* @__PURE__ */ Q(
|
|
10454
|
+
children: r?.avatar ? /* @__PURE__ */ Q(Os, {
|
|
10455
10455
|
avatar: r.avatar,
|
|
10456
10456
|
size: "xs"
|
|
10457
10457
|
}) : null
|
|
@@ -10480,7 +10480,7 @@ var OS = () => {
|
|
|
10480
10480
|
className: "flex items-center gap-2 py-1.5",
|
|
10481
10481
|
"data-testid": "meeting-participant",
|
|
10482
10482
|
children: [
|
|
10483
|
-
/* @__PURE__ */ Q(
|
|
10483
|
+
/* @__PURE__ */ Q(Os, {
|
|
10484
10484
|
avatar: e.avatar ?? {
|
|
10485
10485
|
type: "person",
|
|
10486
10486
|
firstName: e.name,
|
|
@@ -11117,7 +11117,7 @@ var Yw = ({ className: e, disabled: t }) => {
|
|
|
11117
11117
|
children: [/* @__PURE__ */ Q(On, {
|
|
11118
11118
|
delay: 850,
|
|
11119
11119
|
render: /* @__PURE__ */ Q("div", {}),
|
|
11120
|
-
children: /* @__PURE__ */ Q(
|
|
11120
|
+
children: /* @__PURE__ */ Q(wc, {
|
|
11121
11121
|
onCheckedChange: (e) => {
|
|
11122
11122
|
r(e);
|
|
11123
11123
|
},
|
|
@@ -11127,7 +11127,7 @@ var Yw = ({ className: e, disabled: t }) => {
|
|
|
11127
11127
|
disabled: t,
|
|
11128
11128
|
onMouseEnter: () => s(!0),
|
|
11129
11129
|
onMouseLeave: () => s(!1),
|
|
11130
|
-
children: /* @__PURE__ */ Q(
|
|
11130
|
+
children: /* @__PURE__ */ Q(Xs, {
|
|
11131
11131
|
className: V("block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"),
|
|
11132
11132
|
style: { transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)" },
|
|
11133
11133
|
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(id, {
|
|
@@ -11267,7 +11267,7 @@ var Qw = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
11267
11267
|
duration: .2
|
|
11268
11268
|
}
|
|
11269
11269
|
},
|
|
11270
|
-
children: [/* @__PURE__ */ Q(
|
|
11270
|
+
children: [/* @__PURE__ */ Q(gs, {
|
|
11271
11271
|
type: "rounded",
|
|
11272
11272
|
name: [e, t],
|
|
11273
11273
|
src: n,
|
|
@@ -11364,7 +11364,7 @@ function eT({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
11364
11364
|
lastName: t.employeeLastName,
|
|
11365
11365
|
pulse: t.pulse,
|
|
11366
11366
|
onPulseClick: t.onPulseClick
|
|
11367
|
-
}) : /* @__PURE__ */ Q(
|
|
11367
|
+
}) : /* @__PURE__ */ Q(As, {
|
|
11368
11368
|
src: t.employeeAvatar,
|
|
11369
11369
|
firstName: t.employeeFirstName,
|
|
11370
11370
|
lastName: t.employeeLastName,
|
|
@@ -11790,7 +11790,7 @@ var hT = H.create(W), gT = {
|
|
|
11790
11790
|
muted: !0,
|
|
11791
11791
|
loop: !0,
|
|
11792
11792
|
playsInline: !0
|
|
11793
|
-
}) : /* @__PURE__ */ Q(
|
|
11793
|
+
}) : /* @__PURE__ */ Q(Es, {
|
|
11794
11794
|
src: n,
|
|
11795
11795
|
className: "block aspect-video w-full bg-f1-background-secondary object-cover object-center"
|
|
11796
11796
|
})
|
|
@@ -11854,7 +11854,7 @@ var hT = H.create(W), gT = {
|
|
|
11854
11854
|
description: t,
|
|
11855
11855
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
11856
11856
|
icon: /* @__PURE__ */ Q(W, {
|
|
11857
|
-
icon:
|
|
11857
|
+
icon: ec,
|
|
11858
11858
|
size: "lg"
|
|
11859
11859
|
}),
|
|
11860
11860
|
button: /* @__PURE__ */ Q(U, {
|
|
@@ -11976,7 +11976,7 @@ function MT({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
11976
11976
|
variant: "ghost",
|
|
11977
11977
|
hideLabel: !0,
|
|
11978
11978
|
label: "Back",
|
|
11979
|
-
icon:
|
|
11979
|
+
icon: Vs,
|
|
11980
11980
|
onClick: () => window.history.back()
|
|
11981
11981
|
})
|
|
11982
11982
|
}) : null, C || v ? /* @__PURE__ */ Q("div", {
|
|
@@ -11997,12 +11997,12 @@ function MT({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
11997
11997
|
children: [
|
|
11998
11998
|
!i && _ ? /* @__PURE__ */ Q("div", { children: t.tooltip ? /* @__PURE__ */ Q(zn, {
|
|
11999
11999
|
label: t.tooltip,
|
|
12000
|
-
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
12000
|
+
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(ac, {
|
|
12001
12001
|
text: t.text,
|
|
12002
12002
|
variant: t.variant,
|
|
12003
12003
|
additionalAccessibleText: t.tooltip
|
|
12004
12004
|
}) })
|
|
12005
|
-
}) : /* @__PURE__ */ Q(
|
|
12005
|
+
}) : /* @__PURE__ */ Q(ac, {
|
|
12006
12006
|
text: t.text,
|
|
12007
12007
|
variant: t.variant
|
|
12008
12008
|
}) }) : null,
|
|
@@ -12211,7 +12211,7 @@ var eE = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
12211
12211
|
}, aE = ({ isOpen: e, css: t, instant: n }) => t ? /* @__PURE__ */ Q("div", {
|
|
12212
12212
|
className: V("flex h-3 w-3 items-center justify-center transition-transform duration-100 motion-reduce:transition-none", !e && "-rotate-90"),
|
|
12213
12213
|
children: /* @__PURE__ */ Q(W, {
|
|
12214
|
-
icon:
|
|
12214
|
+
icon: Ds,
|
|
12215
12215
|
size: "xs"
|
|
12216
12216
|
})
|
|
12217
12217
|
}) : /* @__PURE__ */ Q(H.div, {
|
|
@@ -12220,7 +12220,7 @@ var eE = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
12220
12220
|
transition: { duration: n ? 0 : .1 },
|
|
12221
12221
|
className: "flex h-3 w-3 items-center justify-center",
|
|
12222
12222
|
children: /* @__PURE__ */ Q(W, {
|
|
12223
|
-
icon:
|
|
12223
|
+
icon: Ds,
|
|
12224
12224
|
size: "xs"
|
|
12225
12225
|
})
|
|
12226
12226
|
}), oE = ({ isOpen: e, css: t, instant: n, children: r }) => t ? /* @__PURE__ */ Q("div", {
|
|
@@ -12325,7 +12325,7 @@ var eE = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
12325
12325
|
}), pE = gu(null), mE = () => xu(pE), hE = ({ value: e, onChange: t, placeholder: n }) => /* @__PURE__ */ $("div", {
|
|
12326
12326
|
className: V("flex w-full -mt-px items-center gap-1 rounded bg-f1-background-inverse-secondary p-1.5 text-f1-foreground-secondary ring-1 ring-inset ring-f1-border-secondary transition-colors hover:ring-f1-border-hover dark:bg-f1-background-tertiary", "focus-within:outline-none focus-within:ring-f1-special-ring"),
|
|
12327
12327
|
children: [/* @__PURE__ */ Q(W, {
|
|
12328
|
-
icon:
|
|
12328
|
+
icon: vs,
|
|
12329
12329
|
size: "md"
|
|
12330
12330
|
}), /* @__PURE__ */ Q("input", {
|
|
12331
12331
|
type: "search",
|
|
@@ -12351,7 +12351,7 @@ var eE = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
12351
12351
|
}),
|
|
12352
12352
|
e.tag ? /* @__PURE__ */ Q("span", {
|
|
12353
12353
|
className: "ml-auto shrink-0",
|
|
12354
|
-
children: /* @__PURE__ */ Q(
|
|
12354
|
+
children: /* @__PURE__ */ Q(Us, { text: e.tag })
|
|
12355
12355
|
}) : null
|
|
12356
12356
|
]
|
|
12357
12357
|
}), _E = ({ search: e }) => {
|
|
@@ -12864,7 +12864,7 @@ var AE = (e) => e.type === "sidebar-chat", jE = (e) => e.type === "sidebar-group
|
|
|
12864
12864
|
}
|
|
12865
12865
|
})), ...i.onCreateGroup ? [...l.length > 0 ? [{ type: "separator" }] : [], {
|
|
12866
12866
|
label: r.chat.organize.newSection,
|
|
12867
|
-
icon:
|
|
12867
|
+
icon: hc,
|
|
12868
12868
|
onClick: () => o({
|
|
12869
12869
|
kind: "create",
|
|
12870
12870
|
seedChatId: e.id
|
|
@@ -12948,19 +12948,19 @@ var AE = (e) => e.type === "sidebar-chat", jE = (e) => e.type === "sidebar-group
|
|
|
12948
12948
|
r && (n.onMoveGroup(r), a(t.t("chat.organize.sectionMoved", { section: e.title })));
|
|
12949
12949
|
}, f = [...u ? [{
|
|
12950
12950
|
label: t.chat.organize.rename,
|
|
12951
|
-
icon:
|
|
12951
|
+
icon: xs,
|
|
12952
12952
|
onClick: () => i({
|
|
12953
12953
|
kind: "rename",
|
|
12954
12954
|
group: e
|
|
12955
12955
|
})
|
|
12956
12956
|
}] : [], ...e.movable ? [{
|
|
12957
12957
|
label: t.chat.organize.moveSectionUp,
|
|
12958
|
-
icon:
|
|
12958
|
+
icon: oc,
|
|
12959
12959
|
disabled: c === null,
|
|
12960
12960
|
onClick: () => d(c)
|
|
12961
12961
|
}, {
|
|
12962
12962
|
label: t.chat.organize.moveSectionDown,
|
|
12963
|
-
icon:
|
|
12963
|
+
icon: Ws,
|
|
12964
12964
|
disabled: l === null,
|
|
12965
12965
|
onClick: () => d(l)
|
|
12966
12966
|
}] : []];
|
|
@@ -13138,7 +13138,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13138
13138
|
icon: l.icon,
|
|
13139
13139
|
size: "md"
|
|
13140
13140
|
})
|
|
13141
|
-
}) : l?.kind === "avatar" ? /* @__PURE__ */ Q(
|
|
13141
|
+
}) : l?.kind === "avatar" ? /* @__PURE__ */ Q(Os, {
|
|
13142
13142
|
size: "xs",
|
|
13143
13143
|
avatar: l.avatar
|
|
13144
13144
|
}) : null, o ? /* @__PURE__ */ Q(uD, {
|
|
@@ -13190,7 +13190,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13190
13190
|
}), e.pinPending && u ? /* @__PURE__ */ Q("div", {
|
|
13191
13191
|
className: "absolute right-1.5 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center",
|
|
13192
13192
|
"aria-label": e.pinned ? i.chat.unpin : i.chat.pin,
|
|
13193
|
-
children: /* @__PURE__ */ Q(
|
|
13193
|
+
children: /* @__PURE__ */ Q(qs, { size: "small" })
|
|
13194
13194
|
}) : r ? /* @__PURE__ */ Q("div", {
|
|
13195
13195
|
"data-row-control": "",
|
|
13196
13196
|
className: V("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"),
|
|
@@ -13360,7 +13360,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13360
13360
|
size: "md"
|
|
13361
13361
|
})
|
|
13362
13362
|
});
|
|
13363
|
-
case "avatar": return /* @__PURE__ */ Q(
|
|
13363
|
+
case "avatar": return /* @__PURE__ */ Q(Os, {
|
|
13364
13364
|
size: "sm",
|
|
13365
13365
|
avatar: t.avatar
|
|
13366
13366
|
});
|
|
@@ -13413,7 +13413,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13413
13413
|
className: V("flex items-end gap-1", e.isMine ? "justify-end" : "justify-start"),
|
|
13414
13414
|
children: [!e.isMine && n ? /* @__PURE__ */ Q("span", {
|
|
13415
13415
|
className: "flex size-5 shrink-0 items-end",
|
|
13416
|
-
children: t && e.authorAvatar ? /* @__PURE__ */ Q(
|
|
13416
|
+
children: t && e.authorAvatar ? /* @__PURE__ */ Q(Os, {
|
|
13417
13417
|
size: "xs",
|
|
13418
13418
|
avatar: e.authorAvatar
|
|
13419
13419
|
}) : null
|
|
@@ -13489,7 +13489,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13489
13489
|
className: V("flex w-full items-center gap-2 rounded py-1.5 pl-1.5 pr-2 text-left transition-colors", En("focus-visible:ring-inset"), e.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer hover:bg-f1-background-secondary"),
|
|
13490
13490
|
children: [e.avatar ? /* @__PURE__ */ Q("span", {
|
|
13491
13491
|
className: "flex shrink-0 items-center self-start pt-0.5",
|
|
13492
|
-
children: /* @__PURE__ */ Q(
|
|
13492
|
+
children: /* @__PURE__ */ Q(Os, {
|
|
13493
13493
|
size: "xs",
|
|
13494
13494
|
avatar: e.avatar
|
|
13495
13495
|
})
|
|
@@ -13709,7 +13709,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13709
13709
|
}), /* @__PURE__ */ $("span", {
|
|
13710
13710
|
className: "flex items-center gap-px text-sm tabular-nums",
|
|
13711
13711
|
children: [e ? null : t, /* @__PURE__ */ Q(W, {
|
|
13712
|
-
icon: e ?
|
|
13712
|
+
icon: e ? Hc : Ds,
|
|
13713
13713
|
size: "sm"
|
|
13714
13714
|
})]
|
|
13715
13715
|
})]
|
|
@@ -13933,7 +13933,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13933
13933
|
variant: "outline",
|
|
13934
13934
|
size: "sm",
|
|
13935
13935
|
className: "pointer-events-auto shadow-md",
|
|
13936
|
-
icon:
|
|
13936
|
+
icon: oc,
|
|
13937
13937
|
label: M(k.count),
|
|
13938
13938
|
"aria-label": N("above", k.count),
|
|
13939
13939
|
onClick: (e) => j("above", e.currentTarget)
|
|
@@ -13949,7 +13949,7 @@ var rD = xn(nD), iD = (e, t) => e.type === "emoji" ? {
|
|
|
13949
13949
|
variant: "outline",
|
|
13950
13950
|
size: "sm",
|
|
13951
13951
|
className: "pointer-events-auto shadow-md",
|
|
13952
|
-
icon:
|
|
13952
|
+
icon: Ws,
|
|
13953
13953
|
label: M(A.count),
|
|
13954
13954
|
"aria-label": N("below", A.count),
|
|
13955
13955
|
onClick: (e) => j("below", e.currentTarget)
|
|
@@ -14218,7 +14218,7 @@ var oO = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
14218
14218
|
...i.length ? [{ type: "separator" }] : [],
|
|
14219
14219
|
...i
|
|
14220
14220
|
], [e, i]);
|
|
14221
|
-
return /* @__PURE__ */ Q(
|
|
14221
|
+
return /* @__PURE__ */ Q(Pc, {
|
|
14222
14222
|
label: a.navigation.sidebar.companySelector.label,
|
|
14223
14223
|
hideLabel: !0,
|
|
14224
14224
|
options: c,
|
|
@@ -14244,7 +14244,7 @@ var oO = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
14244
14244
|
transition: { duration: .2 },
|
|
14245
14245
|
className: "flex h-3 w-3 shrink-0 items-center justify-center text-f1-icon-bold",
|
|
14246
14246
|
children: /* @__PURE__ */ Q(W, {
|
|
14247
|
-
icon:
|
|
14247
|
+
icon: Ds,
|
|
14248
14248
|
size: "xs"
|
|
14249
14249
|
})
|
|
14250
14250
|
})
|
|
@@ -14252,7 +14252,7 @@ var oO = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
14252
14252
|
})]
|
|
14253
14253
|
})
|
|
14254
14254
|
});
|
|
14255
|
-
}, cO = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(
|
|
14255
|
+
}, cO = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(Ts, {
|
|
14256
14256
|
name: e?.name?.[0],
|
|
14257
14257
|
src: e?.logo,
|
|
14258
14258
|
size: n,
|
|
@@ -14304,14 +14304,14 @@ function uO({ user: e, profile: t, options: n, onDropdownClick: r, compact: i =
|
|
|
14304
14304
|
focused: o,
|
|
14305
14305
|
children: /* @__PURE__ */ Q("span", {
|
|
14306
14306
|
className: V("flex size-full items-center justify-center", QD),
|
|
14307
|
-
children: /* @__PURE__ */ Q(
|
|
14307
|
+
children: /* @__PURE__ */ Q(As, {
|
|
14308
14308
|
src: e.avatarUrl,
|
|
14309
14309
|
firstName: e.firstName,
|
|
14310
14310
|
lastName: e.lastName,
|
|
14311
14311
|
size: "sm"
|
|
14312
14312
|
})
|
|
14313
14313
|
})
|
|
14314
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
14314
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(As, {
|
|
14315
14315
|
src: e.avatarUrl,
|
|
14316
14316
|
firstName: e.firstName,
|
|
14317
14317
|
lastName: e.lastName,
|
|
@@ -14363,7 +14363,7 @@ function dO({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
14363
14363
|
hideLabel: !0
|
|
14364
14364
|
}), o ? /* @__PURE__ */ Q("div", {
|
|
14365
14365
|
className: "absolute -right-1 -top-1 rounded-full bg-f1-background",
|
|
14366
|
-
children: /* @__PURE__ */ Q(
|
|
14366
|
+
children: /* @__PURE__ */ Q(_s, {
|
|
14367
14367
|
type: "highlight",
|
|
14368
14368
|
size: "sm",
|
|
14369
14369
|
icon: fr
|
|
@@ -14451,7 +14451,7 @@ var _O = ({ item: e, active: t }) => {
|
|
|
14451
14451
|
}), /* @__PURE__ */ Q("span", { children: e.label })]
|
|
14452
14452
|
}), e.tag || e.badge ? /* @__PURE__ */ $("div", {
|
|
14453
14453
|
className: "flex flex-shrink-0 items-center gap-1.5",
|
|
14454
|
-
children: [e.tag ? /* @__PURE__ */ Q(
|
|
14454
|
+
children: [e.tag ? /* @__PURE__ */ Q(Us, { text: e.tag }) : null, e.badge ? /* @__PURE__ */ Q(ir, {
|
|
14455
14455
|
value: e.badge,
|
|
14456
14456
|
size: "sm",
|
|
14457
14457
|
type: "bold"
|
|
@@ -14535,7 +14535,7 @@ var _O = ({ item: e, active: t }) => {
|
|
|
14535
14535
|
icon: e.icon,
|
|
14536
14536
|
size: "md",
|
|
14537
14537
|
className: V(!l && "transition-colors", g ? "text-f1-icon-bold" : "text-f1-icon")
|
|
14538
|
-
}) : e.avatar ? /* @__PURE__ */ Q(
|
|
14538
|
+
}) : e.avatar ? /* @__PURE__ */ Q(Os, {
|
|
14539
14539
|
size: "xs",
|
|
14540
14540
|
avatar: e.avatar
|
|
14541
14541
|
}) : null, /* @__PURE__ */ Q(nr, {
|
|
@@ -14557,7 +14557,7 @@ var _O = ({ item: e, active: t }) => {
|
|
|
14557
14557
|
className: "flex items-center justify-center",
|
|
14558
14558
|
role: "list",
|
|
14559
14559
|
children: /* @__PURE__ */ Q(W, {
|
|
14560
|
-
icon:
|
|
14560
|
+
icon: Rs,
|
|
14561
14561
|
size: "sm"
|
|
14562
14562
|
})
|
|
14563
14563
|
})
|
|
@@ -15219,7 +15219,7 @@ var UO = 350, WO = (e = !0) => {
|
|
|
15219
15219
|
className: V("flex w-full shrink-0 flex-col", "transition-[padding]", NO, n ? "pb-0.5 pt-1" : "pb-0 pt-2"),
|
|
15220
15220
|
children: /* @__PURE__ */ Q(ZO, { action: {
|
|
15221
15221
|
id: "search",
|
|
15222
|
-
icon:
|
|
15222
|
+
icon: vs,
|
|
15223
15223
|
shortcut: t,
|
|
15224
15224
|
...e
|
|
15225
15225
|
} })
|
|
@@ -15598,7 +15598,7 @@ function xk({ onClick: e, placeholder: t, shortcut: n = ["cmd", "k"], ...r }) {
|
|
|
15598
15598
|
children: [/* @__PURE__ */ $("div", {
|
|
15599
15599
|
className: "flex items-center gap-1",
|
|
15600
15600
|
children: [/* @__PURE__ */ Q(W, {
|
|
15601
|
-
icon:
|
|
15601
|
+
icon: vs,
|
|
15602
15602
|
size: "md"
|
|
15603
15603
|
}), /* @__PURE__ */ Q("span", { children: t })]
|
|
15604
15604
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -15923,7 +15923,7 @@ function Fk(e) {
|
|
|
15923
15923
|
return Nk[e ?? "neutral"] ?? 0;
|
|
15924
15924
|
}
|
|
15925
15925
|
var Ik = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approvalDate: i }) => {
|
|
15926
|
-
let a = z(), o =
|
|
15926
|
+
let a = z(), o = vc(), 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) => {
|
|
15927
15927
|
let t = Pk(e.status);
|
|
15928
15928
|
return {
|
|
15929
15929
|
firstName: e.firstName,
|
|
@@ -15943,14 +15943,14 @@ var Ik = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
15943
15943
|
}), /* @__PURE__ */ Q("p", {
|
|
15944
15944
|
className: "text-f1-foreground-secondary",
|
|
15945
15945
|
children: s
|
|
15946
|
-
})] }), /* @__PURE__ */ Q(
|
|
15946
|
+
})] }), /* @__PURE__ */ Q(ac, {
|
|
15947
15947
|
text: c,
|
|
15948
15948
|
variant: Ak[n]
|
|
15949
15949
|
})]
|
|
15950
15950
|
}),
|
|
15951
15951
|
/* @__PURE__ */ Q("div", {
|
|
15952
15952
|
className: "w-full",
|
|
15953
|
-
children: /* @__PURE__ */ Q(
|
|
15953
|
+
children: /* @__PURE__ */ Q(Ps, {
|
|
15954
15954
|
avatars: l,
|
|
15955
15955
|
layout: "fill",
|
|
15956
15956
|
type: "person",
|
|
@@ -15959,7 +15959,7 @@ var Ik = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
15959
15959
|
}),
|
|
15960
15960
|
i ? /* @__PURE__ */ Q("p", {
|
|
15961
15961
|
className: "text-sm text-f1-foreground-secondary",
|
|
15962
|
-
children:
|
|
15962
|
+
children: mc(i, "PP", { locale: o })
|
|
15963
15963
|
}) : null
|
|
15964
15964
|
]
|
|
15965
15965
|
});
|
|
@@ -16087,7 +16087,7 @@ function Bk(e) {
|
|
|
16087
16087
|
u,
|
|
16088
16088
|
d
|
|
16089
16089
|
]);
|
|
16090
|
-
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } =
|
|
16090
|
+
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } = js(g, {
|
|
16091
16091
|
enabled: u && y,
|
|
16092
16092
|
fetchParamsProvider: (e) => ({
|
|
16093
16093
|
...e,
|
|
@@ -16318,7 +16318,7 @@ var Kk = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
16318
16318
|
children: [/* @__PURE__ */ Q("span", {
|
|
16319
16319
|
className: V("flex shrink-0 items-center justify-center", u[a ? "phone" : "desktop"], l && V(a ? "rounded" : "rounded-sm", l.className)),
|
|
16320
16320
|
style: l?.style,
|
|
16321
|
-
children: e.avatar ? /* @__PURE__ */ Q(
|
|
16321
|
+
children: e.avatar ? /* @__PURE__ */ Q(As, {
|
|
16322
16322
|
firstName: e.avatar.firstName,
|
|
16323
16323
|
lastName: e.avatar.lastName,
|
|
16324
16324
|
src: e.avatar.src,
|
|
@@ -16476,7 +16476,7 @@ var Kk = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
16476
16476
|
onClick: a,
|
|
16477
16477
|
children: [n ? /* @__PURE__ */ Q("span", {
|
|
16478
16478
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
16479
|
-
children: /* @__PURE__ */ Q(
|
|
16479
|
+
children: /* @__PURE__ */ Q(As, {
|
|
16480
16480
|
firstName: n.firstName,
|
|
16481
16481
|
lastName: n.lastName,
|
|
16482
16482
|
src: n.src,
|
|
@@ -16498,7 +16498,7 @@ var Kk = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
16498
16498
|
className: V("flex items-center gap-2.5 border-0 border-solid border-f1-border-secondary px-4 py-3.5", v ? "border-t" : "border-b"),
|
|
16499
16499
|
children: [
|
|
16500
16500
|
/* @__PURE__ */ Q(W, {
|
|
16501
|
-
icon:
|
|
16501
|
+
icon: vs,
|
|
16502
16502
|
size: "md",
|
|
16503
16503
|
color: "secondary"
|
|
16504
16504
|
}),
|
|
@@ -16641,7 +16641,7 @@ var Kk = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
16641
16641
|
key: "actions",
|
|
16642
16642
|
label: p.rowActions.actionsFor(e.label),
|
|
16643
16643
|
tip: p.rowActions.actions,
|
|
16644
|
-
icon:
|
|
16644
|
+
icon: rc,
|
|
16645
16645
|
run: () => g(e)
|
|
16646
16646
|
}] : [], ...r ? [{
|
|
16647
16647
|
key: "copy",
|
|
@@ -17712,7 +17712,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17712
17712
|
}, e.id))
|
|
17713
17713
|
});
|
|
17714
17714
|
}, Cj = ({ posts: e, onDone: t }) => {
|
|
17715
|
-
let n = z(), r =
|
|
17715
|
+
let n = z(), r = vc(), { scheduledActions: i, openScheduledPost: a } = uu(), o = Ql();
|
|
17716
17716
|
return /* @__PURE__ */ Q("ul", {
|
|
17717
17717
|
className: "m-0 flex list-none flex-col p-0",
|
|
17718
17718
|
"data-testid": "shelf-scheduled",
|
|
@@ -17728,7 +17728,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17728
17728
|
icon: Wa,
|
|
17729
17729
|
size: "sm"
|
|
17730
17730
|
}), Tj(e.scheduledFor, r)]
|
|
17731
|
-
}), e.event ? /* @__PURE__ */ Q(
|
|
17731
|
+
}), e.event ? /* @__PURE__ */ Q(Us, {
|
|
17732
17732
|
icon: cs,
|
|
17733
17733
|
text: n.t("chat.community.scheduledEvent")
|
|
17734
17734
|
}) : null] }),
|
|
@@ -17745,7 +17745,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17745
17745
|
})
|
|
17746
17746
|
});
|
|
17747
17747
|
}, wj = ({ posts: e, onDone: t }) => {
|
|
17748
|
-
let n = z(), r =
|
|
17748
|
+
let n = z(), r = vc(), { draftActions: i, openDraftPost: a } = uu();
|
|
17749
17749
|
return /* @__PURE__ */ Q("ul", {
|
|
17750
17750
|
className: "m-0 flex list-none flex-col p-0",
|
|
17751
17751
|
"data-testid": "shelf-drafts",
|
|
@@ -17777,7 +17777,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17777
17777
|
});
|
|
17778
17778
|
}, Tj = (e, t) => {
|
|
17779
17779
|
let n = new Date(e);
|
|
17780
|
-
return `${
|
|
17780
|
+
return `${bc(n, /* @__PURE__ */ new Date()) || Nu(n) ? mc(n, "EEEE", { locale: t }) : mc(n, "d MMM", { locale: t })} · ${mc(n, "HH:mm")}`;
|
|
17781
17781
|
}, Ej = ({ title: e, untitled: t, excerpt: n, thumbnailUrl: r, meta: i, onClick: a, actions: o }) => /* @__PURE__ */ $("li", {
|
|
17782
17782
|
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",
|
|
17783
17783
|
children: [a ? /* @__PURE__ */ Q("button", {
|
|
@@ -17804,7 +17804,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17804
17804
|
className: "shrink-0",
|
|
17805
17805
|
children: /* @__PURE__ */ Q(Qa, {
|
|
17806
17806
|
items: o,
|
|
17807
|
-
icon:
|
|
17807
|
+
icon: Rs,
|
|
17808
17808
|
size: "sm"
|
|
17809
17809
|
})
|
|
17810
17810
|
}) : null]
|
|
@@ -17911,7 +17911,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17911
17911
|
children: [
|
|
17912
17912
|
/* @__PURE__ */ Q("div", {
|
|
17913
17913
|
className: "min-w-0 flex-1",
|
|
17914
|
-
children: /* @__PURE__ */ Q(
|
|
17914
|
+
children: /* @__PURE__ */ Q(Dc, {
|
|
17915
17915
|
value: t,
|
|
17916
17916
|
onChange: n,
|
|
17917
17917
|
placeholder: e.chat.searchPlaceholder,
|
|
@@ -17942,7 +17942,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17942
17942
|
variant: "ghost",
|
|
17943
17943
|
hideLabel: !0,
|
|
17944
17944
|
label: e.navigation.previous,
|
|
17945
|
-
icon:
|
|
17945
|
+
icon: Hc,
|
|
17946
17946
|
onClick: l,
|
|
17947
17947
|
disabled: !h || r,
|
|
17948
17948
|
size: "sm"
|
|
@@ -17950,7 +17950,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17950
17950
|
variant: "ghost",
|
|
17951
17951
|
hideLabel: !0,
|
|
17952
17952
|
label: e.navigation.next,
|
|
17953
|
-
icon:
|
|
17953
|
+
icon: Ds,
|
|
17954
17954
|
onClick: c,
|
|
17955
17955
|
disabled: !h || r,
|
|
17956
17956
|
size: "sm"
|
|
@@ -17987,15 +17987,15 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
17987
17987
|
let [r, i] = X(!1), a = Eu(Fj.subscribe, () => Fj.get() !== null, () => !1);
|
|
17988
17988
|
return K(() => Fj.subscribe(() => {
|
|
17989
17989
|
Fj.get() !== null && i(!1);
|
|
17990
|
-
}), []), /* @__PURE__ */ $(
|
|
17990
|
+
}), []), /* @__PURE__ */ $(Sc, {
|
|
17991
17991
|
openDelay: 150,
|
|
17992
17992
|
closeDelay: 100,
|
|
17993
17993
|
open: r && !a,
|
|
17994
17994
|
onOpenChange: i,
|
|
17995
|
-
children: [/* @__PURE__ */ Q(
|
|
17995
|
+
children: [/* @__PURE__ */ Q(zc, {
|
|
17996
17996
|
asChild: !0,
|
|
17997
17997
|
children: t
|
|
17998
|
-
}), /* @__PURE__ */ Q(
|
|
17998
|
+
}), /* @__PURE__ */ Q(pc, {
|
|
17999
17999
|
align: "start",
|
|
18000
18000
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
18001
18001
|
children: /* @__PURE__ */ Q(ii, {
|
|
@@ -18046,7 +18046,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
18046
18046
|
actions: e.details.actions
|
|
18047
18047
|
} : void 0, S = (i ?? []).filter((t) => !t.channelTypes || t.channelTypes.includes(e.type)), C = (e) => e.placement === "inline" && e.icon != null, w = S.filter(C), T = S.filter((e) => !C(e)), E = [...e.type === "announcement" ? [] : [{
|
|
18048
18048
|
label: s.actions.search,
|
|
18049
|
-
icon:
|
|
18049
|
+
icon: vs,
|
|
18050
18050
|
onClick: l
|
|
18051
18051
|
}], ...T.map((t) => ({
|
|
18052
18052
|
label: t.label,
|
|
@@ -18074,7 +18074,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
18074
18074
|
icon: b.icon,
|
|
18075
18075
|
size: "md"
|
|
18076
18076
|
})
|
|
18077
|
-
}) : /* @__PURE__ */ Q(
|
|
18077
|
+
}) : /* @__PURE__ */ Q(Os, {
|
|
18078
18078
|
size: "sm",
|
|
18079
18079
|
avatar: b.avatar
|
|
18080
18080
|
}), v ? /* @__PURE__ */ Q(Uj, {
|
|
@@ -18093,7 +18093,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
18093
18093
|
}),
|
|
18094
18094
|
y ? /* @__PURE__ */ Q(zn, {
|
|
18095
18095
|
description: y.hint,
|
|
18096
|
-
children: /* @__PURE__ */ Q(
|
|
18096
|
+
children: /* @__PURE__ */ Q(Us, {
|
|
18097
18097
|
size: "sm",
|
|
18098
18098
|
icon: y.icon,
|
|
18099
18099
|
text: y.label,
|
|
@@ -18139,7 +18139,7 @@ var hj = () => mj(sj, "useChatJump"), gj = (e) => {
|
|
|
18139
18139
|
label: t.label,
|
|
18140
18140
|
icon: t.icon,
|
|
18141
18141
|
onClick: () => t.onClick(e)
|
|
18142
|
-
}, t.id) : /* @__PURE__ */ Q(
|
|
18142
|
+
}, t.id) : /* @__PURE__ */ Q(Hs, {
|
|
18143
18143
|
selected: t.active,
|
|
18144
18144
|
onSelectedChange: () => t.onClick(e),
|
|
18145
18145
|
icon: t.activeIcon ? [t.icon, t.activeIcon] : t.icon,
|
|
@@ -18840,7 +18840,7 @@ var FM = (e, t, n) => {
|
|
|
18840
18840
|
}) : null]
|
|
18841
18841
|
}), xN = ({ user: e }) => /* @__PURE__ */ $("div", {
|
|
18842
18842
|
className: "flex w-full items-center gap-2 px-0 py-1 text-f1-foreground",
|
|
18843
|
-
children: [/* @__PURE__ */ Q(
|
|
18843
|
+
children: [/* @__PURE__ */ Q(Os, {
|
|
18844
18844
|
size: "sm",
|
|
18845
18845
|
avatar: e.avatar ?? {
|
|
18846
18846
|
type: "person",
|
|
@@ -18864,7 +18864,7 @@ var FM = (e, t, n) => {
|
|
|
18864
18864
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
18865
18865
|
children: [/* @__PURE__ */ Q($n, {
|
|
18866
18866
|
ref: i,
|
|
18867
|
-
icon:
|
|
18867
|
+
icon: Ks,
|
|
18868
18868
|
onClick: t,
|
|
18869
18869
|
label: n.chat.back,
|
|
18870
18870
|
variant: "ghost",
|
|
@@ -18938,7 +18938,7 @@ var FM = (e, t, n) => {
|
|
|
18938
18938
|
lastName: ""
|
|
18939
18939
|
};
|
|
18940
18940
|
}, ON = ({ message: e, onOpen: t }) => {
|
|
18941
|
-
let n = z(), { channelType: r } = ru(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, EN) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c =
|
|
18941
|
+
let n = z(), { channelType: r } = ru(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, EN) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c = Ic;
|
|
18942
18942
|
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c = Jo) : e.isMine && e.readAt ? (s = `${n.chat.read} · ${uM(new Date(e.readAt))}`, c = Jo) : e.isMine && r === "dm" && e.status === "delivered" && (s = n.chat.delivered, c = Jo), /* @__PURE__ */ Q(wN, {
|
|
18943
18943
|
icon: c,
|
|
18944
18944
|
label: s,
|
|
@@ -18948,7 +18948,7 @@ var FM = (e, t, n) => {
|
|
|
18948
18948
|
"aria-hidden": !0,
|
|
18949
18949
|
className: "flex shrink-0",
|
|
18950
18950
|
"data-testid": "chat-message-menu-readers",
|
|
18951
|
-
children: /* @__PURE__ */ Q(
|
|
18951
|
+
children: /* @__PURE__ */ Q(Ps, {
|
|
18952
18952
|
type: "person",
|
|
18953
18953
|
size: "sm",
|
|
18954
18954
|
noTooltip: !0,
|
|
@@ -18971,7 +18971,7 @@ var FM = (e, t, n) => {
|
|
|
18971
18971
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
18972
18972
|
children: [/* @__PURE__ */ Q($n, {
|
|
18973
18973
|
ref: o,
|
|
18974
|
-
icon:
|
|
18974
|
+
icon: Ks,
|
|
18975
18975
|
onClick: t,
|
|
18976
18976
|
label: a.chat.back,
|
|
18977
18977
|
variant: "ghost",
|
|
@@ -19117,7 +19117,7 @@ var FM = (e, t, n) => {
|
|
|
19117
19117
|
trailing: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
19118
19118
|
className: "sr-only",
|
|
19119
19119
|
children: ", "
|
|
19120
|
-
}), /* @__PURE__ */ Q(
|
|
19120
|
+
}), /* @__PURE__ */ Q(Us, {
|
|
19121
19121
|
icon: Mi,
|
|
19122
19122
|
text: i.chat.upgrade
|
|
19123
19123
|
})] })
|
|
@@ -19137,7 +19137,7 @@ var FM = (e, t, n) => {
|
|
|
19137
19137
|
label: i.chat.remind.menu,
|
|
19138
19138
|
onClick: r,
|
|
19139
19139
|
testId: "chat-message-menu-remind",
|
|
19140
|
-
trailing: /* @__PURE__ */ Q(
|
|
19140
|
+
trailing: /* @__PURE__ */ Q(rc, {
|
|
19141
19141
|
"aria-hidden": !0,
|
|
19142
19142
|
className: "ml-auto size-4 text-f1-icon-secondary"
|
|
19143
19143
|
})
|
|
@@ -19149,7 +19149,7 @@ var FM = (e, t, n) => {
|
|
|
19149
19149
|
return /* @__PURE__ */ $("div", {
|
|
19150
19150
|
className: "flex flex-col p-1",
|
|
19151
19151
|
children: [YM(e) ? /* @__PURE__ */ Q(wN, {
|
|
19152
|
-
icon:
|
|
19152
|
+
icon: xs,
|
|
19153
19153
|
label: r.chat.edit,
|
|
19154
19154
|
onClick: t(YM, () => a(n))
|
|
19155
19155
|
}) : null, JM(e) ? /* @__PURE__ */ Q(wN, {
|
|
@@ -19233,7 +19233,7 @@ var FM = (e, t, n) => {
|
|
|
19233
19233
|
children: [KM(o) ? /* @__PURE__ */ Q(PN, {
|
|
19234
19234
|
request: e,
|
|
19235
19235
|
count: 7,
|
|
19236
|
-
expandIcon:
|
|
19236
|
+
expandIcon: Ds,
|
|
19237
19237
|
onReact: (e, n) => {
|
|
19238
19238
|
c(e, n), t("action");
|
|
19239
19239
|
},
|
|
@@ -19809,7 +19809,7 @@ var FM = (e, t, n) => {
|
|
|
19809
19809
|
e.body,
|
|
19810
19810
|
t,
|
|
19811
19811
|
n
|
|
19812
|
-
]), { locale: a } =
|
|
19812
|
+
]), { locale: a } = Oc(), o = J(() => {
|
|
19813
19813
|
if (!e.sourceLanguage) return r.chat.translated;
|
|
19814
19814
|
let t = zP(e.sourceLanguage, a);
|
|
19815
19815
|
return r.t("chat.translatedFrom", { language: t });
|
|
@@ -20231,7 +20231,7 @@ var FM = (e, t, n) => {
|
|
|
20231
20231
|
className: V("relative flex min-w-0 flex-col items-center justify-center gap-2 overflow-hidden p-3", n && "col-span-2", r),
|
|
20232
20232
|
"data-testid": "chat-image-file-fallback",
|
|
20233
20233
|
children: [
|
|
20234
|
-
/* @__PURE__ */ Q(
|
|
20234
|
+
/* @__PURE__ */ Q(Ls, {
|
|
20235
20235
|
file: {
|
|
20236
20236
|
name: e.name,
|
|
20237
20237
|
type: e.mimeType ?? ""
|
|
@@ -20665,7 +20665,7 @@ var EF = yu(() => import("./LocationMap-Ds0SgBMO.js")), DF = 3 / 2, OF = ({ lati
|
|
|
20665
20665
|
hideLabel: !0,
|
|
20666
20666
|
noAutoTooltip: !0,
|
|
20667
20667
|
label: i.chat.moreActions,
|
|
20668
|
-
icon:
|
|
20668
|
+
icon: Ds,
|
|
20669
20669
|
pressed: n,
|
|
20670
20670
|
"aria-haspopup": "dialog",
|
|
20671
20671
|
"aria-expanded": n,
|
|
@@ -20737,7 +20737,7 @@ var EF = yu(() => import("./LocationMap-Ds0SgBMO.js")), DF = 3 / 2, OF = ({ lati
|
|
|
20737
20737
|
mode: "native",
|
|
20738
20738
|
size: o
|
|
20739
20739
|
}),
|
|
20740
|
-
children: /* @__PURE__ */ Q(
|
|
20740
|
+
children: /* @__PURE__ */ Q(Mc, {
|
|
20741
20741
|
value: l,
|
|
20742
20742
|
spinTiming: ZF,
|
|
20743
20743
|
className: V("tabular-nums", s ? "text-f1-foreground-selected" : "text-f1-foreground")
|
|
@@ -21034,7 +21034,7 @@ var EF = yu(() => import("./LocationMap-Ds0SgBMO.js")), DF = 3 / 2, OF = ({ lati
|
|
|
21034
21034
|
"data-testid": "chat-date-separator",
|
|
21035
21035
|
children: /* @__PURE__ */ $("span", {
|
|
21036
21036
|
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",
|
|
21037
|
-
children: [n ? /* @__PURE__ */ Q(
|
|
21037
|
+
children: [n ? /* @__PURE__ */ Q(qs, {
|
|
21038
21038
|
size: "small",
|
|
21039
21039
|
className: "h-3.5 w-3.5"
|
|
21040
21040
|
}) : null, /* @__PURE__ */ Q("span", {
|
|
@@ -21075,7 +21075,7 @@ var EF = yu(() => import("./LocationMap-Ds0SgBMO.js")), DF = 3 / 2, OF = ({ lati
|
|
|
21075
21075
|
/* @__PURE__ */ Q("div", { className: "h-px flex-1 bg-f1-border-secondary" })
|
|
21076
21076
|
]
|
|
21077
21077
|
});
|
|
21078
|
-
}, bI = (e) => /* @__PURE__ */ Q(
|
|
21078
|
+
}, bI = (e) => /* @__PURE__ */ Q(Os, {
|
|
21079
21079
|
size: "xs",
|
|
21080
21080
|
avatar: e.avatar ?? {
|
|
21081
21081
|
type: "person",
|
|
@@ -21347,7 +21347,7 @@ function RL({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
21347
21347
|
M.current = i && Math.abs(i.scrollTop - r) < 1 ? null : {
|
|
21348
21348
|
target: r,
|
|
21349
21349
|
smooth: t.behavior === "smooth"
|
|
21350
|
-
},
|
|
21350
|
+
}, tc(e, t, n);
|
|
21351
21351
|
}, []), F = Y(0), I = Y(/* @__PURE__ */ new Map()), L = G((e) => {
|
|
21352
21352
|
let n = C.current[e];
|
|
21353
21353
|
if (!n) return 0;
|
|
@@ -21366,7 +21366,7 @@ function RL({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
21366
21366
|
size: i
|
|
21367
21367
|
}), i;
|
|
21368
21368
|
}, [t]), te = G((t) => e[t]?.key ?? t, [e]), ne = Y(/* @__PURE__ */ new Set()), [re, ie] = X(0), R = Y(null), ae = G((e) => {
|
|
21369
|
-
let t = R.current, n =
|
|
21369
|
+
let t = R.current, n = Zs(e);
|
|
21370
21370
|
if (!t) return n;
|
|
21371
21371
|
let r = t.measurementsCache, i = t.scrollRect?.height ?? 0, a = r[e.startIndex]?.start ?? 0, o = r[e.endIndex]?.end ?? 0, s = e.startIndex;
|
|
21372
21372
|
for (; s > 0 && a - (r[s - 1]?.start ?? 0) < DL;) --s;
|
|
@@ -21389,7 +21389,7 @@ function RL({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
21389
21389
|
se.current = i;
|
|
21390
21390
|
let a = R.current;
|
|
21391
21391
|
return a && (a.options.scrollPaddingStart = i), r;
|
|
21392
|
-
}, []), ue =
|
|
21392
|
+
}, []), ue = Ys({
|
|
21393
21393
|
count: e.length,
|
|
21394
21394
|
getScrollElement: () => y,
|
|
21395
21395
|
estimateSize: L,
|
|
@@ -21905,7 +21905,7 @@ var zL = ({ channel: e }) => {
|
|
|
21905
21905
|
a(), s.onJumpedToBottom();
|
|
21906
21906
|
},
|
|
21907
21907
|
variant: "neutral",
|
|
21908
|
-
icon:
|
|
21908
|
+
icon: Ws,
|
|
21909
21909
|
label: l,
|
|
21910
21910
|
hideLabel: t === 0 && !n
|
|
21911
21911
|
})
|
|
@@ -22202,7 +22202,7 @@ var zL = ({ channel: e }) => {
|
|
|
22202
22202
|
onJumpToBottom: we
|
|
22203
22203
|
}) : null]
|
|
22204
22204
|
});
|
|
22205
|
-
}, QL = yu(() => import("./ChatPostComposerDialog-
|
|
22205
|
+
}, QL = yu(() => import("./ChatPostComposerDialog-DvK-F_9b.js").then((e) => ({ default: e.ChatPostComposerDialog }))), $L = () => {
|
|
22206
22206
|
let e = z(), { createPost: t, composePost: n, searchMembers: r } = uu(), i = Ql(), [a, o] = X(!1);
|
|
22207
22207
|
return !t && !n ? null : /* @__PURE__ */ $("div", {
|
|
22208
22208
|
className: "pointer-events-none shrink-0 p-4 pt-0",
|
|
@@ -22216,7 +22216,7 @@ var zL = ({ channel: e }) => {
|
|
|
22216
22216
|
},
|
|
22217
22217
|
className: "flex w-full items-center gap-2 rounded-lg border border-solid border-f1-border-secondary hover:border-f1-border bg-f1-background/90 px-3 py-2.5 text-left shadow-md backdrop-blur-[2px] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-f1-border-selected",
|
|
22218
22218
|
children: [/* @__PURE__ */ Q(W, {
|
|
22219
|
-
icon:
|
|
22219
|
+
icon: xs,
|
|
22220
22220
|
size: "md",
|
|
22221
22221
|
color: "secondary"
|
|
22222
22222
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -22361,7 +22361,7 @@ var zL = ({ channel: e }) => {
|
|
|
22361
22361
|
}, lR = () => /* @__PURE__ */ Q("div", {
|
|
22362
22362
|
className: "shadow-sm pointer-events-none absolute bottom-2 left-2 z-20 flex rounded bg-f1-background p-1",
|
|
22363
22363
|
"data-testid": "chat-composer-attachment-uploading",
|
|
22364
|
-
children: /* @__PURE__ */ Q(
|
|
22364
|
+
children: /* @__PURE__ */ Q(qs, { size: "small" })
|
|
22365
22365
|
}), uR = ({ attachment: e, uploading: t, onRemove: n, onOpen: r }) => {
|
|
22366
22366
|
let i = z(), a = {
|
|
22367
22367
|
label: i.t("chat.removeNamedFile", { name: e.kind === "location" ? e.name ?? i.chat.location : e.kind === "voice" ? i.chat.voiceNote : e.name }),
|
|
@@ -22476,7 +22476,7 @@ var zL = ({ channel: e }) => {
|
|
|
22476
22476
|
children: [/* @__PURE__ */ $("span", {
|
|
22477
22477
|
className: "flex w-fit items-center gap-1 text-sm font-medium text-f1-foreground-info",
|
|
22478
22478
|
children: [/* @__PURE__ */ Q(W, {
|
|
22479
|
-
icon:
|
|
22479
|
+
icon: xs,
|
|
22480
22480
|
size: "xs"
|
|
22481
22481
|
}), n.chat.editing]
|
|
22482
22482
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -24375,7 +24375,7 @@ function oB({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
24375
24375
|
withPointerCursor: a,
|
|
24376
24376
|
children: [
|
|
24377
24377
|
"alert" in s && s.alert ? /* @__PURE__ */ Q(ca, { type: s.alert }) : null,
|
|
24378
|
-
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(
|
|
24378
|
+
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(Is, { emoji: s.emoji }) : null,
|
|
24379
24379
|
/* @__PURE__ */ $("div", {
|
|
24380
24380
|
className: "flex-1",
|
|
24381
24381
|
children: [/* @__PURE__ */ Q("p", {
|
|
@@ -24388,7 +24388,7 @@ function oB({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
24388
24388
|
}),
|
|
24389
24389
|
/* @__PURE__ */ Q("div", {
|
|
24390
24390
|
className: "min-w-0 flex-1",
|
|
24391
|
-
children: /* @__PURE__ */ Q(
|
|
24391
|
+
children: /* @__PURE__ */ Q(Ps, {
|
|
24392
24392
|
avatars: r,
|
|
24393
24393
|
remainingCount: i,
|
|
24394
24394
|
size: "emoji" in s && s.emoji ? "md" : "sm",
|
|
@@ -24417,7 +24417,7 @@ function lB({ id: e, title: t, subtitle: n, onClick: r, module: i }) {
|
|
|
24417
24417
|
t.preventDefault(), r?.(e);
|
|
24418
24418
|
},
|
|
24419
24419
|
className: a,
|
|
24420
|
-
children: [/* @__PURE__ */ Q(
|
|
24420
|
+
children: [/* @__PURE__ */ Q(ws, {
|
|
24421
24421
|
module: i ?? "inbox",
|
|
24422
24422
|
size: "sm"
|
|
24423
24423
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -24472,8 +24472,8 @@ function fB({ id: e, title: t, alert: n, rawTag: r, count: i, icon: a, rightIcon
|
|
|
24472
24472
|
}), /* @__PURE__ */ $("div", {
|
|
24473
24473
|
className: "flex flex-row items-center gap-2",
|
|
24474
24474
|
children: [
|
|
24475
|
-
n ? /* @__PURE__ */ Q(
|
|
24476
|
-
r ? /* @__PURE__ */ Q(
|
|
24475
|
+
n ? /* @__PURE__ */ Q(Gs, { ...n }) : null,
|
|
24476
|
+
r ? /* @__PURE__ */ Q(Us, { ...r }) : null,
|
|
24477
24477
|
i ? /* @__PURE__ */ Q(ir, { value: i }) : null
|
|
24478
24478
|
]
|
|
24479
24479
|
})]
|
|
@@ -24550,7 +24550,7 @@ var _B = gB, vB = ({ title: e, info: t }) => /* @__PURE__ */ $("div", {
|
|
|
24550
24550
|
label: n.label,
|
|
24551
24551
|
description: n.description,
|
|
24552
24552
|
children: /* @__PURE__ */ Q(W, {
|
|
24553
|
-
icon:
|
|
24553
|
+
icon: Ic,
|
|
24554
24554
|
size: "sm"
|
|
24555
24555
|
})
|
|
24556
24556
|
})
|
|
@@ -24834,7 +24834,7 @@ function BB({ items: e, value: t, onChange: n, label: r, searchPlaceholder: i, f
|
|
|
24834
24834
|
},
|
|
24835
24835
|
disabled: s
|
|
24836
24836
|
};
|
|
24837
|
-
return f ? /* @__PURE__ */ Q(
|
|
24837
|
+
return f ? /* @__PURE__ */ Q(Pc, {
|
|
24838
24838
|
...h,
|
|
24839
24839
|
source: m,
|
|
24840
24840
|
mapOptions: (e) => ({
|
|
@@ -24843,7 +24843,7 @@ function BB({ items: e, value: t, onChange: n, label: r, searchPlaceholder: i, f
|
|
|
24843
24843
|
icon: e.icon,
|
|
24844
24844
|
selectedLabel: e.path
|
|
24845
24845
|
})
|
|
24846
|
-
}) : /* @__PURE__ */ Q(
|
|
24846
|
+
}) : /* @__PURE__ */ Q(Pc, {
|
|
24847
24847
|
...h,
|
|
24848
24848
|
options: c.map((e) => ({
|
|
24849
24849
|
value: e.id,
|
|
@@ -24995,7 +24995,7 @@ function YB({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
24995
24995
|
value: e.id,
|
|
24996
24996
|
label: e.name,
|
|
24997
24997
|
icon: e.icon
|
|
24998
|
-
})), R = A === "break", [ae, oe] = X(!1), se = te ? /* @__PURE__ */ Q(
|
|
24998
|
+
})), R = A === "break", [ae, oe] = X(!1), se = te ? /* @__PURE__ */ Q(Pc, {
|
|
24999
24999
|
label: r.selectLocation,
|
|
25000
25000
|
hideLabel: !0,
|
|
25001
25001
|
value: i,
|
|
@@ -25012,7 +25012,7 @@ function YB({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
25012
25012
|
icon: re?.icon
|
|
25013
25013
|
})
|
|
25014
25014
|
})
|
|
25015
|
-
}) : re ? /* @__PURE__ */ Q(
|
|
25015
|
+
}) : re ? /* @__PURE__ */ Q(Us, {
|
|
25016
25016
|
text: re.name,
|
|
25017
25017
|
icon: re.icon
|
|
25018
25018
|
}) : null, ce = a.length ? /* @__PURE__ */ Q(HB, {
|
|
@@ -25042,7 +25042,7 @@ function YB({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
25042
25042
|
}) : null,
|
|
25043
25043
|
A === "clocked-in" ? /* @__PURE__ */ $(Z, { children: [p ? /* @__PURE__ */ Q(Z, { children: P.length > 1 && f ? /* @__PURE__ */ Q("div", {
|
|
25044
25044
|
className: "shrink-0",
|
|
25045
|
-
children: /* @__PURE__ */ Q(
|
|
25045
|
+
children: /* @__PURE__ */ Q(Pc, {
|
|
25046
25046
|
label: r.break,
|
|
25047
25047
|
hideLabel: !0,
|
|
25048
25048
|
value: "",
|
|
@@ -25096,7 +25096,7 @@ function YB({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
25096
25096
|
] }), fe = O === "horizontal-bar" ? ce : y ?? se, pe = O === "horizontal-bar" ? le : v, me = /* @__PURE__ */ $(Z, { children: [
|
|
25097
25097
|
o ? fe : null,
|
|
25098
25098
|
_ ? pe : null,
|
|
25099
|
-
R && E ? /* @__PURE__ */ Q(
|
|
25099
|
+
R && E ? /* @__PURE__ */ Q(Us, { text: E }) : null
|
|
25100
25100
|
] }), he = o && !!fe, ge = _ && !!pe, _e = he ? /* @__PURE__ */ Q("div", {
|
|
25101
25101
|
className: V("flex min-w-0 flex-1 flex-row", te && qB),
|
|
25102
25102
|
children: fe
|
|
@@ -25428,7 +25428,7 @@ var EV = _u(function({ value: e, max: t = 100 }, n) {
|
|
|
25428
25428
|
className: "rounded transition-all duration-300 ease-in-out",
|
|
25429
25429
|
style: {
|
|
25430
25430
|
width: `${r}%`,
|
|
25431
|
-
backgroundColor:
|
|
25431
|
+
backgroundColor: Bs("categorical-1")
|
|
25432
25432
|
}
|
|
25433
25433
|
}), /* @__PURE__ */ Q("div", {
|
|
25434
25434
|
className: "rounded bg-f1-foreground-disabled transition-all duration-300 ease-in-out",
|
|
@@ -25573,7 +25573,7 @@ function GV(e) {
|
|
|
25573
25573
|
return WV(e).map((e) => e.text).join(" · ");
|
|
25574
25574
|
}
|
|
25575
25575
|
function KV({ avatar: e, avatarSize: t = "lg", left: n, title: r, subtitle: i, subtitleVariant: a, subtitleCritical: o, description: s, descriptionVariant: c, descriptionCritical: l, right: u, actions: d, unread: f = !1, href: p, showChevron: m = !1, prominent: h = !1, onActivate: g, onClick: _ }) {
|
|
25576
|
-
let v = !!d?.length, y = Ke(), [b, x] = X(null), S = n ?? (e ? /* @__PURE__ */ Q(
|
|
25576
|
+
let v = !!d?.length, y = Ke(), [b, x] = X(null), S = n ?? (e ? /* @__PURE__ */ Q(Os, {
|
|
25577
25577
|
avatar: e,
|
|
25578
25578
|
size: t
|
|
25579
25579
|
}) : null), C = WV(s, UV(c, l)), w = /* @__PURE__ */ $(Z, { children: [
|
|
@@ -25605,7 +25605,7 @@ function KV({ avatar: e, avatarSize: t = "lg", left: n, title: r, subtitle: i, s
|
|
|
25605
25605
|
}),
|
|
25606
25606
|
u,
|
|
25607
25607
|
m ? /* @__PURE__ */ Q(W, {
|
|
25608
|
-
icon:
|
|
25608
|
+
icon: rc,
|
|
25609
25609
|
size: "sm",
|
|
25610
25610
|
color: "secondary"
|
|
25611
25611
|
}) : null
|
|
@@ -25723,7 +25723,7 @@ var qV = du.createContext(void 0), JV = ({ tracking: e, children: t }) => /* @__
|
|
|
25723
25723
|
status: "status" in e ? e.status : void 0
|
|
25724
25724
|
};
|
|
25725
25725
|
}, lH = "-m-2", uH = (e) => V(lH, !e.isFirstUnderNoHeader && "mt-0", !e.isLastSlot && "mb-0"), dH = "ml-1.5 mt-1 self-start", fH = (e) => V(dH, e.isLastSlot && !e.hasFooter && "mb-1.5"), pH = "gap-2", mH = "xl", hH = (e, t, n, r) => {
|
|
25726
|
-
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(
|
|
25726
|
+
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(ws, {
|
|
25727
25727
|
module: t.module,
|
|
25728
25728
|
size: n
|
|
25729
25729
|
}) };
|
|
@@ -25750,13 +25750,13 @@ var qV = du.createContext(void 0), JV = ({ tracking: e, children: t }) => /* @__
|
|
|
25750
25750
|
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(ir, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(pi, {
|
|
25751
25751
|
date: b(t.date),
|
|
25752
25752
|
size: r ? "lg" : "md"
|
|
25753
|
-
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(
|
|
25753
|
+
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(Ps, {
|
|
25754
25754
|
type: e.slice(0, -5),
|
|
25755
25755
|
size: n,
|
|
25756
25756
|
max: 3,
|
|
25757
25757
|
avatars: t.avatars,
|
|
25758
25758
|
remainingCount: t.remainingCount
|
|
25759
|
-
}) : void 0 : t.rightAvatar ? /* @__PURE__ */ Q(
|
|
25759
|
+
}) : void 0 : t.rightAvatar ? /* @__PURE__ */ Q(Os, {
|
|
25760
25760
|
avatar: {
|
|
25761
25761
|
type: e,
|
|
25762
25762
|
...t.rightAvatar
|
|
@@ -26144,7 +26144,7 @@ var SH = 3, CH = "slot-skeleton-item", wH = [
|
|
|
26144
26144
|
className: "font-medium text-f1-foreground-secondary",
|
|
26145
26145
|
children: aH(e).charAt(0)
|
|
26146
26146
|
})
|
|
26147
|
-
}) : e.icon ? /* @__PURE__ */ Q(
|
|
26147
|
+
}) : e.icon ? /* @__PURE__ */ Q(ks, {
|
|
26148
26148
|
icon: e.icon,
|
|
26149
26149
|
size: "lg"
|
|
26150
26150
|
}) : /* @__PURE__ */ Q("span", {
|
|
@@ -26251,7 +26251,7 @@ function KH({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
|
|
|
26251
26251
|
children: /* @__PURE__ */ Q(U, {
|
|
26252
26252
|
variant: "ghost",
|
|
26253
26253
|
size: "sm",
|
|
26254
|
-
icon:
|
|
26254
|
+
icon: Ds,
|
|
26255
26255
|
label: D?.label ?? s.tooltip ?? "",
|
|
26256
26256
|
...s.tooltip ? { tooltip: s.tooltip } : {}
|
|
26257
26257
|
})
|
|
@@ -26562,10 +26562,10 @@ function wU({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
|
|
|
26562
26562
|
let h = d && u != null && t >= (a?.threshold ?? yU), g = Y(r);
|
|
26563
26563
|
g.current = r;
|
|
26564
26564
|
let _ = r.join(","), v = G((e) => {
|
|
26565
|
-
let t = new Set(
|
|
26565
|
+
let t = new Set(Zs(e));
|
|
26566
26566
|
for (let n of g.current) n >= 0 && n < e.count && t.add(n);
|
|
26567
26567
|
return [...t].sort((e, t) => e - t);
|
|
26568
|
-
}, [_]), y =
|
|
26568
|
+
}, [_]), y = Ys({
|
|
26569
26569
|
enabled: h,
|
|
26570
26570
|
count: t,
|
|
26571
26571
|
gap: n,
|
|
@@ -26684,7 +26684,7 @@ var TU = ({ transform: e }) => ({
|
|
|
26684
26684
|
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",
|
|
26685
26685
|
children: /* @__PURE__ */ Q(W, {
|
|
26686
26686
|
size: "md",
|
|
26687
|
-
icon:
|
|
26687
|
+
icon: hc
|
|
26688
26688
|
})
|
|
26689
26689
|
})
|
|
26690
26690
|
});
|
|
@@ -26733,7 +26733,7 @@ function FU({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
26733
26733
|
let t = [...e.actions ?? []];
|
|
26734
26734
|
return iH(e.header, e.params)?.info && t.push({
|
|
26735
26735
|
label: O.widgets.whatThisMeans,
|
|
26736
|
-
icon:
|
|
26736
|
+
icon: Ic,
|
|
26737
26737
|
onClick: () => ce(e.id)
|
|
26738
26738
|
}), e.paramsSchema && y && t.push({
|
|
26739
26739
|
label: w ?? O.widgets.editParams,
|
|
@@ -27156,7 +27156,7 @@ var IU = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
27156
27156
|
transition: rV(r.length, Ne.glyphDelayMs, j),
|
|
27157
27157
|
children: /* @__PURE__ */ Q(W, {
|
|
27158
27158
|
size: "md",
|
|
27159
|
-
icon:
|
|
27159
|
+
icon: hc
|
|
27160
27160
|
})
|
|
27161
27161
|
})
|
|
27162
27162
|
}) : null]
|
|
@@ -28667,7 +28667,7 @@ var IU = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
28667
28667
|
onClick: a,
|
|
28668
28668
|
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",
|
|
28669
28669
|
children: /* @__PURE__ */ Q(W, {
|
|
28670
|
-
icon:
|
|
28670
|
+
icon: hc,
|
|
28671
28671
|
size: "md",
|
|
28672
28672
|
color: "bold"
|
|
28673
28673
|
})
|
|
@@ -29187,7 +29187,7 @@ function Gq({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
29187
29187
|
}] : [],
|
|
29188
29188
|
...(i ?? []).map((e) => ({
|
|
29189
29189
|
...e,
|
|
29190
|
-
icon: e.module ?
|
|
29190
|
+
icon: e.module ? Ns[e.module] : void 0,
|
|
29191
29191
|
items: o.filter((t) => t.group === e.id)
|
|
29192
29192
|
})).filter((e) => e.items.length > 0),
|
|
29193
29193
|
...c.length ? [{
|
|
@@ -29226,7 +29226,7 @@ function Gq({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
29226
29226
|
},
|
|
29227
29227
|
secondaryAction: L && P ? {
|
|
29228
29228
|
label: d.actions.back,
|
|
29229
|
-
icon:
|
|
29229
|
+
icon: Ks,
|
|
29230
29230
|
iconPosition: "left",
|
|
29231
29231
|
onClick: () => {
|
|
29232
29232
|
E({
|
|
@@ -29257,7 +29257,7 @@ function Gq({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
29257
29257
|
params: e
|
|
29258
29258
|
}), { success: !0 })
|
|
29259
29259
|
}, P.id)
|
|
29260
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
29260
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(Dc, {
|
|
29261
29261
|
value: g,
|
|
29262
29262
|
onChange: _,
|
|
29263
29263
|
placeholder: "Search widgets"
|
|
@@ -29270,7 +29270,7 @@ function Gq({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
29270
29270
|
type: "button",
|
|
29271
29271
|
onClick: () => y(e.id),
|
|
29272
29272
|
className: "flex items-center gap-3 rounded-md p-2 text-left " + (P?.id === e.id ? "bg-f1-background-selected" : "hover:bg-f1-background-tertiary"),
|
|
29273
|
-
children: [/* @__PURE__ */ Q(
|
|
29273
|
+
children: [/* @__PURE__ */ Q(ks, {
|
|
29274
29274
|
icon: e.icon,
|
|
29275
29275
|
size: "lg"
|
|
29276
29276
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -29630,4 +29630,4 @@ var IJ = xn(Tn("WidgetEmptyState", FJ)), LJ = ({ identifier: e, allowedRoutes: t
|
|
|
29630
29630
|
type: "layout"
|
|
29631
29631
|
}, gl));
|
|
29632
29632
|
//#endregion
|
|
29633
|
-
export { Iq as AGENTIC_HOME_SPEC_VERSION, d as AUTO_PER_PAGE_MAX, cn as AUTO_PER_PAGE_MIN_RESERVED_ROWS, hh as ActivityItemList, mh as ActivityItemListSkeleton, od as AiPromotionChat, sd as AiPromotionChatProvider, Uw as ApplicationFrame, ge as AreaChart, Lz as AreaChartWidget, Cz as AutoGrid,
|
|
29633
|
+
export { Iq as AGENTIC_HOME_SPEC_VERSION, d as AUTO_PER_PAGE_MAX, cn as AUTO_PER_PAGE_MIN_RESERVED_ROWS, hh as ActivityItemList, mh as ActivityItemListSkeleton, od as AiPromotionChat, sd as AiPromotionChatProvider, Uw as ApplicationFrame, ge as AreaChart, Lz as AreaChartWidget, Cz as AutoGrid, _s as Badge, m as BarChart, Rz as BarChartWidget, ph as BaseActivityItemList, lt as BaseBanner, xh as BaseCelebration, Rh as BaseCommunityPost, Oi as BaseTabs, Sa as BreadcrumbSelect, uT as Breadcrumbs, Nh as CalendarEvent, $z as CalendarEventList, qe as CardSelectableContainer, It as Carousel, f as CategoryBarChart, bB as CategoryBarSection, Ch as Celebration, Sh as CelebrationSkeleton, Xz as ChartWidgetEmptyState, Vc as Chip, YB as ClockInControls, Yt as CoachmarkProvider, re as ComboChart, Bh as CommunityPost, Yh as CommunityPostCard, Xh as CommunityPostCardSkeleton, zh as CommunityPostSkeleton, aO as CompanySelector, ir as Counter, SH as DEFAULT_EXPECTED_ITEMS_COUNT, jJ as Dashboard, tT as DaytimePage, Xo as DetailsItem, vr as DetailsItemsList, tn as Dialog, Qa as Dropdown, pH as EVENT_LIST_GAP, Pm as EntitySelect, xt as F0ActionBar, Mq as F0AgenticHome, Pq as F0AgenticHomeBlock, ue as F0AiBanner, zd as F0AiCallout, Ms as F0AvatarColor, ms as F0AvatarColorList, ws as F0AvatarModule, ic as F0ButtonToggle, qd as F0Callout, mr as F0CardHorizontal, mr as F0CardRow, Fp as F0CarouselDialog, iz as F0Chat, Yj as F0ChatHistoryLimitCard, Xl as F0ChatProvider, KA as F0CommandPaletteProvider, eg as F0CommunityPostsCarousel, hp as F0Composer, of as F0Confetti, dz as F0ENPSButton, gd as F0EmojiPicker, _o as F0FileItem, Ne as F0FormEditableTable, Ve as F0LocationInput, Ul as F0Map, Dl as F0MapControls, Kl as F0MapList, ql as F0MapSidebar, Ll as F0MapSidebarToggle, Bl as F0MapSkeleton, cw as F0Meeting, Of as F0MeetingCard, Sg as F0MeetingProvider, WC as F0MeetingRoom, lw as F0MeetingSlot, sw as F0MeetingSurface, pn as F0NotesTextEditor, He as F0NotesTextEditorSkeleton, de as F0NumberInput, j as F0NumberInputInline, ii as F0PersonCard, ht as F0PhoneInput, bk as F0PrimarySidebar, Uc as F0ProgressSeries, Nf as F0PulseDot, Mp as F0Resizable, Pe as F0ResourceHeader, Pe as ResourceHeader, Ki as F0RichTextDisplay, gt as F0RichTextEditor, Dc as F0SearchInput, Ck as F0SecondarySidebar, Lp as F0SegmentedBar, Qr as F0SegmentedControl, Jp as F0SwipeDeck, pt as F0TableOfContent, rh as F0TemplateTextInput, _ as F0TextAreaInput, ae as F0TextAreaInputInline, Ha as F0TextInput, ee as F0TextInputInline, om as F0Timeline, im as F0VersionHistory, Wj as F0_CHAT_HEADER_TITLE_SELECTOR, QA as F0_CHAT_MESSAGES_TAB_ID, Cc as F1SearchBox, L as FILE_TYPES, no as FileItem, wh as HighlightBanner, CV as HomeSlotItem, SV as HomeSlotItems, iB as IndicatorsList, $r as Input, Mt as Item, ze as ItemSectionHeader, $A as LATEST, $V as LIST_COMPACT_AFTER, dH as LIST_MORE_BUTTON_CLASS, yt as LineChart, zz as LineChartWidget, Sw as MeetingNotes, dw as MeetingPanelContent, xw as MeetingParticipants, pw as MeetingRoomChat, DC as MeetingSidePanel, Jv as MeetingSurfaceProvider, gw as MeetingTranscript, SO as Menu, Ho as MobileDropdown, qU as NewHomeLayout, ln as NotesTextEditor, pe as NotesTextEditorSkeleton, vn as NumberInput, IT as OmniButton, Lk as OneApprovalHistory, xc as OneCalendar, Pt as OneDataCollection, Se as OneDateNavigator, E as OneEmptyState, ag as OneListItem, ig as OneListItemSkeleton, I as OnePagination, cg as OnePersonListItem, LJ as OneRestrictComponent, RT as Page, MT as PageHeader, dT as PageHeaderNavigationContext, fT as PageHeaderNavigationProvider, ur as PageNavigation, r as PieChart, Bz as PieChartWidget, Qt as PrivateBox, _t as ProgressBarChart, Fq as RECOMMENDED_AGENTIC_HOME_RULES, jl as RECOMMENDED_MAX_MARKERS, F as RadarChart, Dh as Reactions, hi as RichTextDisplay, P as RichTextEditor, lH as SLOT_ROW_BLEED, CH as SLOT_SKELETON_ITEM_TESTID, RJ as ScrollArea, xk as SearchBar, $e as SectionHeader, Pc as Select, Rn as Shortcut, Ek as Sidebar, rD as SidebarChatBlankState, dD as SidebarChatItem, aD as SidebarChatItemSkeleton, VD as SidebarChatList, sD as SidebarChatListSkeleton, JT as SidebarChatProvider, sE as SidebarCollapsibleSection, dO as SidebarFooter, pO as SidebarHeader, TO as SidebarPanelHeader, wE as SidebarTabPanel, hE as SidebarTabPanelSearch, kk as SidebarTabs, uO as SidebarUserMenu, KH as SlotWidget, GH as SlotWidgetContent, qs as Spinner, Sz as Split, xz as Stack, Hz as SummariesWidget, Ac as Switch, zi as Tabs, Pr as TabsSkeleton, $B as TasksList, w as Textarea, Dr as ToggleGroup, Sr as ToggleGroupItem, zn as Tooltip, Bn as TooltipGroup, yB as TwoColumnsList, R as UPLOAD_INPUT_ID, te as VerticalBarChart, Vz as VerticalBarChartWidget, cm as VirtualList, jc as WeekStartDay, Ci as Weekdays, PJ as Widget, sB as WidgetAvatarsListItem, Gq as WidgetCatalog, IJ as WidgetEmptyState, nB as WidgetHighlightButton, hB as WidgetInboxList, uB as WidgetInboxListItem, OV as WidgetSection, _B as WidgetSimpleList, pB as WidgetSimpleListItem, NJ as WidgetStrip, $t as actionBarStatuses, _d as aiCalloutStatuses, Af as attendeesDisplays, lv as buildTiles, Be as buttonToggleColors, Nt as buttonToggleSizes, qt as buttonToggleVariants, jh as calendarEventVariants, sc as chipVariants, Vu as coachmarks, TA as commandActionRisks, Jh as communityPostCardVariants, gp as composerVariants, Jd as confettiPalette, CS as createMeetingSignalStore, zl as defaultMapStyle, MH as defaultSlotRenderers, jH as defaultSlotSkeleton, Ku as defineStepByStepCoachmarkGuidance, Je as downloadAsCSV, Gk as downloadAsExcel, qA as f0ChatSenderColors, cd as f0EmojiPickerSizes, Na as f0FileItemSizes, Al as f0MapMarkerVariants, Hl as f0MapStyles, vv as f0MeetingConnectionQualities, Sv as f0MeetingCoreActionIds, gv as f0MeetingDisconnectReasons, _v as f0MeetingPermissions, mv as f0MeetingPresences, hv as f0MeetingStatuses, yv as f0MeetingSurfaceDestinations, bv as f0MeetingSurfaceModes, pv as f0MeetingTrackKinds, Fu as f0ProgressSeriesColors, Pu as f0ProgressSeriesSizes, xv as f0WindowCorners, rH as fromParams, Ze as generateCSVContent, _e as getAutoPerPageMinHeight, dc as getGranularityDefinition, yc as getGranularityDefinitions, Rc as getGranularitySimpleDefinition, Il as googleMapStyles, kl as googlePinlessMapStyles, Fc as granularityDefinitions, vH as heldDialogActions, tH as homeSlot, ji as isPossiblePhoneValue, ZA as isPost, JA as isSystemMessage, XA as isUserMessage, Rr as isValidPhoneValue, pS as layoutGrid, p as listIconColors, fH as listMoreButtonClass, nH as listSlot, zm as locationInputSizes, Bm as locationParts, fx as matchDevice, kf as meetingStates, Ns as modules, Av as nearestCorner, tg as oneListItemRowClassName, Vm as phoneInputSizes, kv as placementFromRect, mt as predefinedPresets, Pf as pulseDotVariants, sH as railActionTones, gc as rangeSeparator, ox as readMeetingMediaPreferences, gS as reorderForSpeakers, _p as resizableDirections, tS as resolveAutoFocus, kc as resolveGranularityDefinition, Ov as resolvePlacement, QV as resolveSlotRenderer, iH as resolveWidgetHeader, o_ as sanitizeMeetingReaction, zk as seedFromStorage, je as selectSizes, ce as selectVariants, jv as settlePlacement, uH as slotRowBleed, fS as solveGrid, _S as solveSpotlight, em as swipeDirections, fv as tileAspectRatio, sv as tileKey, sx as updateMeetingMediaPreferences, $u as useAiPromotionChat, WA as useCommandPalette, gh as useCompactOnScroll, rf as useConfetti, ne as useDataCollectionData, Bk as useDataCollectionItemNavigation, bn as useDataCollectionSource, Jt as useExportAction, uu as useF0Chat, wg as useF0Meeting, Eg as useF0MeetingRoster, Tg as useF0MeetingStable, Cg as useHasF0Meeting, vt as useInfiniteScrollPagination, xV as useIsBulkChange, cx as useMeetingMediaPreferences, DS as useMeetingSignal, OS as useMeetingSpeakers, Yv as useMeetingSurface, Xv as useMeetingSurfaceOptional, mT as usePageHeaderItemNavigation, pT as usePageHeaderNavigation, kr as useSidePanel, Pl as useSidebar, QT as useSidebarChatActions, ZT as useSidebarChats, $p as useSwipeDeck, Fg as useTrackBinding, Ke as useWidgetIsWide, Cw as viewportRect, cH as widgetChrome, oH as widgetParamsAreComplete, aH as widgetTitle };
|