@factorialco/f0-react 16.22.0 → 16.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-G0aPl50L.js → ArchiveThumbnail-BWTI7ezC.js} +3 -3
- package/dist/{ArchiveViewer-Bj0bDPBP.js → ArchiveViewer-BlnfVLsJ.js} +5 -5
- package/dist/{ChatPostComposerDialog-DMk3uFWy.js → ChatPostComposerDialog-Ca3fcEzD.js} +3 -3
- package/dist/{CoachmarkProvider-CCHC0FZi.js → CoachmarkProvider-Bw3qcSzA.js} +9701 -9701
- package/dist/{CodeThumbnail-DJ9hJvLI.js → CodeThumbnail-PtY8O4_C.js} +1 -1
- package/dist/{CodeViewer-DxSm1H6J.js → CodeViewer-DWjmRhtn.js} +6 -6
- package/dist/{DocumentToolbar-DqeoImuf.js → DocumentToolbar-CKdCMI09.js} +7 -7
- package/dist/{DocxViewer-DlHsOT2G.js → DocxViewer-g_DkGE6G.js} +3 -3
- package/dist/{F0AiProcessingOverlay-BaiVAdOt.js → F0AiProcessingOverlay-Dh3YEI67.js} +39 -39
- package/dist/{F0Alert-guKRR8YO.js → F0Alert-BkUUU2Es.js} +5 -5
- package/dist/F0AudioPlayer-vHt8D_MA.js +2 -0
- package/dist/{F0Button-B217B6lh.js → F0Button-C1aRGjA7.js} +3 -3
- package/dist/{F0CanvasPanel-B5rOTxrn.js → F0CanvasPanel-D6eWdQK0.js} +209 -209
- package/dist/{F0DocumentViewer-CIA45h1L.js → F0DocumentViewer-BtD9t71V.js} +1 -1
- package/dist/{F0DocumentViewer-CipplAi8.js → F0DocumentViewer-DhffyI63.js} +4 -4
- package/dist/{F0Icon-CRETnjaC.js → F0Icon-CA8QrO7J.js} +1 -1
- package/dist/{F0Map-Bgcgl-b7.js → F0Map-ClnO_2tF.js} +17 -17
- package/dist/{F0Select-B5whw7YJ.js → F0Select-h6e4u9ej.js} +2165 -2149
- package/dist/{F0Text-DEJMiNLl.js → F0Text-C69-6-hA.js} +2 -2
- package/dist/F0VideoPlayer-Bdf6P4CE.js +1 -0
- package/dist/{F0VideoPlayer-Du_8UrJx.js → F0VideoPlayer-DaD7MnFA.js} +6 -6
- package/dist/{HtmlThumbnail-DLYEHdZx.js → HtmlThumbnail-DOW0qL8W.js} +1 -1
- package/dist/{HtmlViewer-erJIt-Wn.js → HtmlViewer-rIlra75S.js} +9 -9
- package/dist/{LayoutGroup-DECnUFBB.js → LayoutGroup-DnZBITzE.js} +1 -1
- package/dist/{Map-TbXJuia_.js → Map-Cs17xyE6.js} +10 -10
- package/dist/{PdfThumbnail-C0elGWNG.js → PdfThumbnail-CXGUzm25.js} +1 -1
- package/dist/{PdfViewer-Z-MUOaUP.js → PdfViewer-CTGhvHvW.js} +12 -12
- package/dist/{SandboxedHtmlFrame-Ba5FAjt6.js → SandboxedHtmlFrame-sIha8vuj.js} +2 -2
- package/dist/{SheetViewer-CjBwkzuZ.js → SheetViewer-0KUrMA5z.js} +5 -5
- package/dist/{TextViewer-DR8ee6qU.js → TextViewer-D3xpfBVm.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +31 -9
- package/dist/{dist-ClS5kbGd.js → dist-CrKS7a4M.js} +1 -1
- package/dist/{dist-BAsn0JfF.js → dist-CsLQ4kGY.js} +1 -1
- package/dist/{dist-BCNVh6y5.js → dist-DMTFO2gF.js} +46 -0
- package/dist/{dist-CLXu6f__.js → dist-DRhAsNk-.js} +2 -2
- package/dist/{dist-CpxH3Mhm.js → dist-R_v43tri.js} +1 -1
- package/dist/{dist-CBsv_N04.js → dist-S2UAyvMo.js} +4 -4
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +467 -467
- package/dist/{exports-BSFis6g6.d.ts → exports-Ov8gD_6H.d.ts} +1 -1
- package/dist/f0.d.ts +137 -6
- package/dist/f0.js +2588 -2121
- package/dist/{google-CG30Y63J.js → google-DDQ7XfPD.js} +1 -1
- package/dist/{highlight-yovrsQLV.js → highlight-DeACQIIW.js} +1 -1
- package/dist/{i18n-provider-DyI_r6Au.js → i18n-provider-CCg0vfdK.js} +1 -1
- package/dist/{i18n-provider-defaults-FGAsdJJR.d.ts → i18n-provider-defaults-CXVl-d7E.d.ts} +8 -0
- package/dist/{i18n-provider-defaults-C8fwj3sA.js → i18n-provider-defaults-DdGz6_Og.js} +8 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-DR7cCKE6.d.ts → index-DIIVN_RC.d.ts} +11 -1
- package/dist/{maplibre-BGo0FJAX.js → maplibre-Vwv9Nk1T.js} +2 -2
- package/dist/{pdfWorker-B-8PMeY2.js → pdfWorker-D54oefWJ.js} +1 -1
- package/dist/{popover-CKVOp9XF.js → popover-BFt-Tk2I.js} +1 -1
- package/dist/{skeleton-Dw-7r7zp.js → skeleton-B05pNPYx.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-C_OrVxv7.js → toolbarStyles-Btq_icPl.js} +1 -1
- package/dist/{types-tXovhytw.d.ts → types-GYsHhskI.d.ts} +6 -5
- package/dist/{useData-CVTa0m1L.js → useData-CzdjLV9a.js} +170 -162
- package/package.json +2 -2
- package/tailwind.config.ts +26 -0
- package/dist/F0AudioPlayer-DzePrdJR.js +0 -2
- package/dist/F0VideoPlayer-CAFcGry7.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, $
|
|
3
|
-
import { a as bn, c as xn, d as Sn, i as Cn, l as wn, r as R } from "./i18n-provider-
|
|
4
|
-
import { n as Tn, t as z } from "./skeleton-
|
|
2
|
+
import { $ as t, $n as n, $r as r, $t as i, Ar as a, At as o, B as s, Br as c, Bt as l, C as u, Cr as d, Ct as f, D as p, Dr as m, Dt as h, E as g, Er as _, Et as v, F as y, Fn as b, Fr as x, Ft as S, G as C, Gr as w, H as T, Hr as E, I as D, In as O, Ir as k, It as A, J as j, Jr as M, K as N, Kr as P, Kt as F, L as I, Ln as ee, Lr as te, Mn as ne, Mr as re, Mt as ie, N as ae, Nn as oe, Nr as se, Or as ce, P as le, Pn as ue, Pr as de, Q as fe, Qn as pe, Qr as me, R as he, Rn as ge, Rr as _e, Rt as ve, S as L, Si as ye, Sn as be, Sr as xe, St as Se, T as Ce, Ti as we, Tt as Te, U as Ee, Ur as De, V as Oe, Vr as ke, W as Ae, Wr as je, X as Me, Xn as Ne, Xr as Pe, Xt as Fe, Y as Ie, Yn as Le, Z as Re, Zn as ze, Zr as Be, Zt as Ve, _ as He, _i as Ue, _n as We, _r as Ge, ai as Ke, an as qe, ar as Je, at as Ye, b as Xe, bi as Ze, bn as Qe, br as $e, ci as et, cr as tt, ct as nt, d as rt, di as it, dn as at, dt as ot, et as st, fn as ct, g as lt, gi as ut, gn as dt, h as ft, hi as pt, hn as mt, ii as ht, in as gt, ir as _t, it as vt, jr as yt, jt as bt, kr as xt, kt as St, li as Ct, lr as wt, lt as Tt, mi as Et, mn as Dt, n as Ot, ni as kt, nt as At, oi as jt, or as Mt, ot as Nt, p as Pt, pi as Ft, pn as It, pt as Lt, q as Rt, qr as zt, r as Bt, ri as Vt, rn as Ht, rr as Ut, rt as Wt, s as Gt, si as Kt, sr as qt, st as Jt, t as Yt, ti as Xt, tr as Zt, tt as Qt, ui as $t, ur as en, ut as tn, v as nn, vi as rn, vn as an, vr as on, w as sn, wi as cn, wr as ln, wt as un, x as dn, xi as fn, xr as pn, y as mn, yi as hn, yn as gn, yr as _n, z as vn, zr as yn } from "./CoachmarkProvider-Bw3qcSzA.js";
|
|
3
|
+
import { a as bn, c as xn, d as Sn, i as Cn, l as wn, r as R } from "./i18n-provider-CCg0vfdK.js";
|
|
4
|
+
import { n as Tn, t as z } from "./skeleton-B05pNPYx.js";
|
|
5
5
|
import { L as B, R as En, a as Dn, i as On, o as kn, r as An, t as jn } from "./tooltip-NXXT56H4.js";
|
|
6
|
-
import { C as Mn, D as Nn, E as Pn, G as Fn, I as In, K as Ln, L as Rn, O as zn, R as Bn, T as Vn, U as Hn, V as Un, W as Wn, X as Gn, Y as Kn, _ as qn, c as Jn, d as Yn, f as Xn, h as Zn, k as Qn, l as $n, m as er, n as V, o as tr, p as nr, r as rr, t as H, v as ir, w as ar, x as or, y as sr, z as cr } from "./F0Button-
|
|
7
|
-
import { $c as lr, $s as ur, $t as dr, A as fr, Ac as pr, Ai as mr, An as hr, Bc as gr, Bi as _r, Bn as vr, Bo as yr, Bs as br, Bt as xr, C as Sr, Cc as Cr, Cn as wr, Cs as Tr, Ct as Er, Di as Dr, Dl as Or, Dt as kr, E as Ar, El as jr, Es as Mr, Et as Nr, F as Pr, Fc as Fr, Fi as Ir, Fl as Lr, Fo as Rr, Ft as zr, Gc as Br, Gi as Vr, Go as Hr, H as Ur, Hc as Wr, Hi as Gr, Hn as Kr, Ho as qr, In as Jr, Io as Yr, Is as Xr, It as Zr, J as Qr, Jn as $r, Js as ei, Jt as ti, Ki as ni, Ko as ri, Ks as ii, Kt as ai, Lc as oi, Li as si, Ll as ci, Ln as li, Lo as ui, Ls as di, Lt as fi, M as pi, Mo as mi, N as hi, Nl as gi, Nn as _i, No as vi, Nt as yi, O as bi, Oi as xi, Ol as Si, Ot as Ci, P as wi, Pi as Ti, Po as Ei, Ps as Di, Q as Oi, Qs as ki, Qt as Ai, Rc as ji, Rl as Mi, Rs as Ni, Rt as Pi, S as Fi, Sc as Ii, Sl as Li, Sn as Ri, Ss as zi, St as Bi, T as Vi, Tc as Hi, Tt as Ui, Uc as Wi, Ui as Gi, Un as Ki, Uo as qi, Us as Ji, V as Yi, Vi as Xi, Vn as Zi, Vo as Qi, Vs as $i, Wc as ea, Wi as ta, Wn as na, Wo as ra, Ws as ia, X as aa, Xo as oa, Y as sa, Yi as ca, Yt as la, Z as ua, Zc as da, Zo as fa, Zs as pa, Zt as ma, _ as ha, _a as ga, _c as _a, _i as va, _n as ya, _r as ba, _t as xa, a as Sa, aa as Ca, al as wa, an as Ta, as as Ea, at as Da, b as Oa, bi as ka, bl as Aa, bn as ja, bs as Ma, bt as Na, ca as Pa, ci as Fa, ct as Ia, d as La, da as Ra, dc as za, dl as Ba, dn as Va, do as Ha, ds as Ua, ec as Wa, el as Ga, en as Ka, f as qa, fl as Ja, fn as Ya, g as Xa, gc as Za, gs as Qa, gt as $a, h as eo, hc as to, ht as no, i as ro, ic as io, il as ao, in as oo, is as so, it as co, j as lo, ji as uo, jn as fo, k as po, kc as mo, ki as ho, kn as go, kt as _o, l as vo, ll as yo, ln as bo, lo as xo, ls as So, lt as Co, m as wo, mc as To, ml as Eo, mn as Do, mo as Oo, mt as ko, n as Ao, nc as jo, nl as Mo, nn as No, ns as Po, nt as Fo, o as Io, oa as Lo, ol as Ro, on as zo, ot as Bo, p as Vo, pn as Ho, ps as Uo, pt as Wo, qo as Go, qs as Ko, qt as qo, r as Jo, ra as Yo, rc as Xo, rs as Zo, rt as Qo, s as $o, sa as es, si as ts, sl as ns, ss as rs, st as is, t as as, tl as os, tn as ss, tt as cs, uc as ls, ul as us, ut as ds, v as fs, vc as ps, vi as ms, vl as hs, vn as gs, vr as _s, vt as vs, w as ys, wl as bs, wn as xs, ws as Ss, wt as Cs, x as ws, xc as Ts, xi as Es, xl as Ds, xn as Os, xs as ks, xt as As, y as js, ya as Ms, yc as Ns, yi as Ps, yt as Fs, zc as Is, zi as Ls, zs as Rs, zt as zs } from "./F0CanvasPanel-
|
|
8
|
-
import { t as Bs } from "./LayoutGroup-
|
|
9
|
-
import { n as Vs, o as Hs, r as Us, t as U } from "./F0Icon-
|
|
10
|
-
import { A as Ws, C as Gs,
|
|
11
|
-
import { $ as pc, A as mc, Bn as hc, Br as gc,
|
|
6
|
+
import { C as Mn, D as Nn, E as Pn, G as Fn, I as In, K as Ln, L as Rn, O as zn, R as Bn, T as Vn, U as Hn, V as Un, W as Wn, X as Gn, Y as Kn, _ as qn, c as Jn, d as Yn, f as Xn, h as Zn, k as Qn, l as $n, m as er, n as V, o as tr, p as nr, r as rr, t as H, v as ir, w as ar, x as or, y as sr, z as cr } from "./F0Button-C1aRGjA7.js";
|
|
7
|
+
import { $c as lr, $s as ur, $t as dr, A as fr, Ac as pr, Ai as mr, An as hr, Bc as gr, Bi as _r, Bn as vr, Bo as yr, Bs as br, Bt as xr, C as Sr, Cc as Cr, Cn as wr, Cs as Tr, Ct as Er, Di as Dr, Dl as Or, Dt as kr, E as Ar, El as jr, Es as Mr, Et as Nr, F as Pr, Fc as Fr, Fi as Ir, Fl as Lr, Fo as Rr, Ft as zr, Gc as Br, Gi as Vr, Go as Hr, H as Ur, Hc as Wr, Hi as Gr, Hn as Kr, Ho as qr, In as Jr, Io as Yr, Is as Xr, It as Zr, J as Qr, Jn as $r, Js as ei, Jt as ti, Ki as ni, Ko as ri, Ks as ii, Kt as ai, Lc as oi, Li as si, Ll as ci, Ln as li, Lo as ui, Ls as di, Lt as fi, M as pi, Mo as mi, N as hi, Nl as gi, Nn as _i, No as vi, Nt as yi, O as bi, Oi as xi, Ol as Si, Ot as Ci, P as wi, Pi as Ti, Po as Ei, Ps as Di, Q as Oi, Qs as ki, Qt as Ai, Rc as ji, Rl as Mi, Rs as Ni, Rt as Pi, S as Fi, Sc as Ii, Sl as Li, Sn as Ri, Ss as zi, St as Bi, T as Vi, Tc as Hi, Tt as Ui, Uc as Wi, Ui as Gi, Un as Ki, Uo as qi, Us as Ji, V as Yi, Vi as Xi, Vn as Zi, Vo as Qi, Vs as $i, Wc as ea, Wi as ta, Wn as na, Wo as ra, Ws as ia, X as aa, Xo as oa, Y as sa, Yi as ca, Yt as la, Z as ua, Zc as da, Zo as fa, Zs as pa, Zt as ma, _ as ha, _a as ga, _c as _a, _i as va, _n as ya, _r as ba, _t as xa, a as Sa, aa as Ca, al as wa, an as Ta, as as Ea, at as Da, b as Oa, bi as ka, bl as Aa, bn as ja, bs as Ma, bt as Na, ca as Pa, ci as Fa, ct as Ia, d as La, da as Ra, dc as za, dl as Ba, dn as Va, do as Ha, ds as Ua, ec as Wa, el as Ga, en as Ka, f as qa, fl as Ja, fn as Ya, g as Xa, gc as Za, gs as Qa, gt as $a, h as eo, hc as to, ht as no, i as ro, ic as io, il as ao, in as oo, is as so, it as co, j as lo, ji as uo, jn as fo, k as po, kc as mo, ki as ho, kn as go, kt as _o, l as vo, ll as yo, ln as bo, lo as xo, ls as So, lt as Co, m as wo, mc as To, ml as Eo, mn as Do, mo as Oo, mt as ko, n as Ao, nc as jo, nl as Mo, nn as No, ns as Po, nt as Fo, o as Io, oa as Lo, ol as Ro, on as zo, ot as Bo, p as Vo, pn as Ho, ps as Uo, pt as Wo, qo as Go, qs as Ko, qt as qo, r as Jo, ra as Yo, rc as Xo, rs as Zo, rt as Qo, s as $o, sa as es, si as ts, sl as ns, ss as rs, st as is, t as as, tl as os, tn as ss, tt as cs, uc as ls, ul as us, ut as ds, v as fs, vc as ps, vi as ms, vl as hs, vn as gs, vr as _s, vt as vs, w as ys, wl as bs, wn as xs, ws as Ss, wt as Cs, x as ws, xc as Ts, xi as Es, xl as Ds, xn as Os, xs as ks, xt as As, y as js, ya as Ms, yc as Ns, yi as Ps, yt as Fs, zc as Is, zi as Ls, zs as Rs, zt as zs } from "./F0CanvasPanel-D6eWdQK0.js";
|
|
8
|
+
import { t as Bs } from "./LayoutGroup-DnZBITzE.js";
|
|
9
|
+
import { n as Vs, o as Hs, r as Us, t as U } from "./F0Icon-CA8QrO7J.js";
|
|
10
|
+
import { A as Ws, C as Gs, D as Ks, E as qs, F as Js, H as Ys, L as Xs, M as Zs, N as Qs, P as W, R as $s, T as ec, U as tc, W as nc, _ as rc, a as ic, j as ac, k as oc, m as sc, u as cc, v as lc, w as uc, x as dc, z as fc } from "./useData-CzdjLV9a.js";
|
|
11
|
+
import { $ as pc, A as mc, Bn as hc, Br as gc, Cr as _c, F as vc, Fr as yc, Ft as bc, In as xc, Ir as Sc, It as Cc, J as wc, Kn as Tc, Ln as Ec, Lt as Dc, N as Oc, P as kc, Pn as Ac, Pr as jc, Pt as Mc, Q as Nc, Rn as Pc, Rr as Fc, Rt as Ic, St as Lc, Tt as Rc, Un as zc, Ut as Bc, Vn as Vc, Vr as Hc, X as Uc, Z as Wc, _ as Gc, at as Kc, bn as qc, br as Jc, bt as Yc, dt as Xc, fn as Zc, ft as Qc, g as $c, gn as el, h as tl, hn as nl, it as rl, kn as il, m as al, nt as ol, on as sl, pn as cl, rt as ll, t as ul, tt as dl, ut as fl, v as pl, wn as ml, wr as hl, xr as gl, xt as _l, y as vl, zr as yl } from "./F0Select-h6e4u9ej.js";
|
|
12
12
|
import { t as bl } from "./Check-DAp9gCRh.js";
|
|
13
|
-
import { a as xl } from "./dist-
|
|
13
|
+
import { a as xl } from "./dist-R_v43tri.js";
|
|
14
14
|
import { t as Sl } from "./Ellipsis-CBouJQYY.js";
|
|
15
15
|
import { t as Cl } from "./ExternalLink-RdKU698E.js";
|
|
16
16
|
import { n as wl, t as Tl } from "./LockLocked-gdodYvT_.js";
|
|
17
17
|
import { a as El, o as Dl } from "./localized-CnKvEJya.js";
|
|
18
|
-
import { $ as Ol, D as kl, E as Al, J as jl, a as Ml, d as Nl, f as Pl, h as Fl, i as Il, m as Ll, n as Rl, p as zl, t as Bl, w as Vl, y as Hl } from "./popover-
|
|
19
|
-
import { a as Ul, i as Wl, n as Gl, o as Kl, r as ql, s as Jl, y as Yl } from "./dist-
|
|
20
|
-
import { t as Xl } from "./F0Text-
|
|
21
|
-
import { a as Zl, i as Ql, n as $l, r as eu, s as tu, t as nu } from "./dist-
|
|
18
|
+
import { $ as Ol, D as kl, E as Al, J as jl, a as Ml, d as Nl, f as Pl, h as Fl, i as Il, m as Ll, n as Rl, p as zl, t as Bl, w as Vl, y as Hl } from "./popover-BFt-Tk2I.js";
|
|
19
|
+
import { a as Ul, i as Wl, n as Gl, o as Kl, r as ql, s as Jl, y as Yl } from "./dist-DRhAsNk-.js";
|
|
20
|
+
import { t as Xl } from "./F0Text-C69-6-hA.js";
|
|
21
|
+
import { a as Zl, i as Ql, n as $l, r as eu, s as tu, t as nu } from "./dist-DMTFO2gF.js";
|
|
22
22
|
import './maplibre-gl.css';import './RichText.css';/* empty css */
|
|
23
23
|
import { t as ru } from "./useFullscreen-CNwpzjpz.js";
|
|
24
|
-
import { _ as iu, a as au, b as ou, c as su, d as cu, f as lu, g as uu, h as du, i as fu, l as pu, m as mu, n as hu, o as gu, p as _u, r as vu, t as yu, u as bu, v as xu, y as Su } from "./F0Map-
|
|
24
|
+
import { _ as iu, a as au, b as ou, c as su, d as cu, f as lu, g as uu, h as du, i as fu, l as pu, m as mu, n as hu, o as gu, p as _u, r as vu, t as yu, u as bu, v as xu, y as Su } from "./F0Map-ClnO_2tF.js";
|
|
25
25
|
import { _ as Cu, a as wu, c as Tu, d as Eu, f as Du, g as Ou, h as ku, i as Au, l as ju, m as Mu, n as Nu, o as Pu, p as Fu, r as Iu, s as Lu, t as Ru, u as zu } from "./posts-riN1RZ23.js";
|
|
26
26
|
/* empty css */
|
|
27
27
|
import Bu, { Children as Vu, Fragment as Hu, Suspense as Uu, cloneElement as Wu, createContext as Gu, forwardRef as Ku, isValidElement as qu, lazy as Ju, memo as Yu, useCallback as G, useContext as Xu, useEffect as K, useId as Zu, useImperativeHandle as Qu, useInsertionEffect as $u, useLayoutEffect as q, useMemo as J, useReducer as ed, useRef as Y, useState as X, useSyncExternalStore as td, useTransition as nd } from "react";
|
|
@@ -40,18 +40,18 @@ var ad = kl("Search", [["circle", {
|
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region ../../node_modules/.bun/date-fns@3.6.0/node_modules/date-fns/differenceInMilliseconds.mjs
|
|
42
42
|
function od(e, t) {
|
|
43
|
-
return +
|
|
43
|
+
return +xc(e) - xc(t);
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region ../../node_modules/.bun/date-fns@3.6.0/node_modules/date-fns/differenceInMinutes.mjs
|
|
47
47
|
function sd(e, t, n) {
|
|
48
|
-
let r = od(e, t) /
|
|
48
|
+
let r = od(e, t) / il;
|
|
49
49
|
return yr(n?.roundingMethod)(r);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region ../../node_modules/.bun/date-fns@3.6.0/node_modules/date-fns/isTomorrow.mjs
|
|
53
53
|
function cd(e) {
|
|
54
|
-
return
|
|
54
|
+
return ml(e, Ac(Qi(e), 1));
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/elements/F0ProgressSeries/types.ts
|
|
@@ -74,7 +74,7 @@ var ld = [
|
|
|
74
74
|
], dd = process.env.NODE_ENV !== "production", fd = (e) => {
|
|
75
75
|
dd && console.warn(`[f0] ${e}`);
|
|
76
76
|
}, pd = (e) => {
|
|
77
|
-
dd && !
|
|
77
|
+
dd && !Bt.hasProvider() && console.warn(`[f0] ${e} was called but no <F0Provider> is mounted, so the coachmark will not render. Make sure your app is wrapped in <F0Provider>.`);
|
|
78
78
|
}, md = (e) => Array.isArray(e.steps), hd = (e) => (md(e) ? e.steps : [{
|
|
79
79
|
title: e.title,
|
|
80
80
|
description: e.description,
|
|
@@ -95,10 +95,10 @@ var ld = [
|
|
|
95
95
|
}];
|
|
96
96
|
}), gd = {
|
|
97
97
|
open: (e) => {
|
|
98
|
-
let t = e.id ??
|
|
98
|
+
let t = e.id ?? w();
|
|
99
99
|
pd("coachmarks.open()");
|
|
100
100
|
let n = hd(e);
|
|
101
|
-
return n.length === 0 ? (fd("coachmarks.open() was called with no anchorable step. Nothing to show."), t) : (
|
|
101
|
+
return n.length === 0 ? (fd("coachmarks.open() was called with no anchorable step. Nothing to show."), t) : (Bt.addItem({
|
|
102
102
|
id: t,
|
|
103
103
|
steps: n,
|
|
104
104
|
onEnd: e.onEnd,
|
|
@@ -109,13 +109,13 @@ var ld = [
|
|
|
109
109
|
}), t);
|
|
110
110
|
},
|
|
111
111
|
close: (e) => {
|
|
112
|
-
|
|
112
|
+
Bt.removeItem(e);
|
|
113
113
|
},
|
|
114
114
|
closeAll: () => {
|
|
115
|
-
|
|
115
|
+
Bt.clear();
|
|
116
116
|
}
|
|
117
|
-
}, _d = "data-f0-coachmark", vd = 2e3, yd = 50, bd = (e) => e.targetElement !== void 0 &&
|
|
118
|
-
let t = e.id ??
|
|
117
|
+
}, _d = "data-f0-coachmark", vd = 2e3, yd = 50, bd = (e) => e.targetElement !== void 0 && Ot(e.targetElement) !== null, xd = (e) => {
|
|
118
|
+
let t = e.id ?? w(), n = (e) => `[${_d}="${e}"]`, r = (e) => ({ [_d]: e }), i = e.steps.map(({ element: e, targetElement: t, ...r }) => ({
|
|
119
119
|
...r,
|
|
120
120
|
targetElement: t ?? n(e)
|
|
121
121
|
})), a = e.lookForTargetsMs ?? vd, o, s = () => {
|
|
@@ -208,7 +208,7 @@ var ld = [
|
|
|
208
208
|
"aria-label": e,
|
|
209
209
|
style: Od,
|
|
210
210
|
className: "flex w-fit flex-col !overflow-y-auto rounded-md border-none p-0 shadow-none [&>div:first-child]:min-h-0 [&>div:first-child]:overflow-hidden [&_em-emoji-picker]:!h-full [&_em-emoji-picker]:!min-h-0 [&_em-emoji-picker]:!max-h-[min(451px,calc(100vh-81px))] [&_em-emoji-picker]:!w-[372px] [&_em-emoji-picker]:!max-w-[calc(100vw-32px)] [@media(max-height:320px)]:[&>div:first-child]:!min-h-[230px] [@media(max-height:320px)]:[&_em-emoji-picker]:!min-h-[230px]",
|
|
211
|
-
children: [/* @__PURE__ */ Q(
|
|
211
|
+
children: [/* @__PURE__ */ Q(fe, {
|
|
212
212
|
className: B("box-border border border-solid border-f1-border-secondary shadow-none [--color-border-over:rgba(1,22,55,0.2)] [--color-border:rgba(1,22,55,0.08)] [--shadow:none]", g && "rounded-b-none border-b-0"),
|
|
213
213
|
data: t,
|
|
214
214
|
onEmojiSelect: m,
|
|
@@ -265,10 +265,10 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
265
265
|
critical: "text-f1-foreground-critical"
|
|
266
266
|
} } }), Fd = {
|
|
267
267
|
neutral: null,
|
|
268
|
-
info:
|
|
268
|
+
info: hl,
|
|
269
269
|
positive: xl,
|
|
270
|
-
warning:
|
|
271
|
-
critical:
|
|
270
|
+
warning: Jc,
|
|
271
|
+
critical: Hc
|
|
272
272
|
}, Id = {
|
|
273
273
|
neutral: "default",
|
|
274
274
|
info: "info",
|
|
@@ -280,7 +280,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
280
280
|
return /* @__PURE__ */ $("span", {
|
|
281
281
|
className: "flex min-w-0 flex-row items-center gap-1 text-base font-normal text-f1-foreground-secondary",
|
|
282
282
|
children: [/* @__PURE__ */ Q(U, {
|
|
283
|
-
icon:
|
|
283
|
+
icon: st,
|
|
284
284
|
size: "md",
|
|
285
285
|
color: "currentColor",
|
|
286
286
|
"aria-hidden": !0
|
|
@@ -363,7 +363,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
363
363
|
children: /* @__PURE__ */ Q(H, {
|
|
364
364
|
variant: "ghost",
|
|
365
365
|
size: "sm",
|
|
366
|
-
icon: a ?
|
|
366
|
+
icon: a ? jc : tc,
|
|
367
367
|
label: s.t(a ? "actions.collapseItem" : "actions.expandItem", { title: t }),
|
|
368
368
|
hideLabel: !0
|
|
369
369
|
})
|
|
@@ -449,7 +449,7 @@ var Ad = bn(Tn("F0EmojiPicker", kd)), jd = [
|
|
|
449
449
|
variant: "ghost",
|
|
450
450
|
size: "sm",
|
|
451
451
|
label: u.t(c ? "ai.evidence.hide" : "ai.evidence.show", { name: a.name }),
|
|
452
|
-
icon: c ?
|
|
452
|
+
icon: c ? jc : tc,
|
|
453
453
|
iconPosition: "right"
|
|
454
454
|
})
|
|
455
455
|
})
|
|
@@ -582,8 +582,8 @@ var $d = Zo(bn(Zd), Qd), ef = Hs({
|
|
|
582
582
|
defaultVariants: { variant: "ai" }
|
|
583
583
|
}), tf = {
|
|
584
584
|
positive: xl,
|
|
585
|
-
warning:
|
|
586
|
-
info:
|
|
585
|
+
warning: Jc,
|
|
586
|
+
info: hl
|
|
587
587
|
}, nf = {
|
|
588
588
|
positive: "text-f1-foreground-positive font-medium",
|
|
589
589
|
warning: "text-f1-foreground-warning font-medium",
|
|
@@ -750,7 +750,7 @@ yf.displayName = "F0Confetti";
|
|
|
750
750
|
var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
751
751
|
let n = new Date(e);
|
|
752
752
|
return n.setDate(n.getDate() + t), n;
|
|
753
|
-
}, Sf = (e, t) =>
|
|
753
|
+
}, Sf = (e, t) => ml(e, t) ? "today" : ml(e, xf(t, -1)) ? "yesterday" : ml(e, xf(t, 1)) ? "tomorrow" : "other", Cf = (e, t) => sd(e, t), wf = (e, t) => Math.max(0, sd(t, e)), Tf = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "inProgress" || e === "ringing" || e === "scheduled" && Cf(t, n) <= r, Ef = (e) => e === "scheduled" || e === "inProgress" || e === "ringing", Df = ({ state: e, startsAt: t, now: n, windowMinutes: r = 10 }) => e === "scheduled" && Cf(t, n) <= r, Of = ({ state: e, hasCountdown: t }) => e !== "scheduled" || t, kf = (e, t) => {
|
|
754
754
|
if (!t) return;
|
|
755
755
|
let n = sd(t, e);
|
|
756
756
|
return n > 0 ? n : void 0;
|
|
@@ -767,14 +767,14 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
767
767
|
lastName: n.join(" "),
|
|
768
768
|
tooltipDescription: e.email
|
|
769
769
|
};
|
|
770
|
-
}), Nf = (e, t) =>
|
|
770
|
+
}), Nf = (e, t) => qc(e, "p", { locale: t }), Pf = (e, t) => qc(e, "d MMM", { locale: t }), Ff = ({ attendees: e, relevantCount: t, maxAvatars: n = 3, size: r = "sm" }) => {
|
|
771
771
|
let { meetingCard: i } = R();
|
|
772
772
|
if (e.length === 0) return null;
|
|
773
773
|
let a = Math.max(0, t - e.length);
|
|
774
774
|
return /* @__PURE__ */ Q("div", {
|
|
775
775
|
role: "group",
|
|
776
776
|
"aria-label": i.attendees,
|
|
777
|
-
children: /* @__PURE__ */ Q(
|
|
777
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
778
778
|
type: "person",
|
|
779
779
|
avatars: Mf(e),
|
|
780
780
|
size: r,
|
|
@@ -798,7 +798,7 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
798
798
|
});
|
|
799
799
|
}, Lf = ({ text: e }) => {
|
|
800
800
|
let t = Zn();
|
|
801
|
-
return /* @__PURE__ */ Q(
|
|
801
|
+
return /* @__PURE__ */ Q(Vc, {
|
|
802
802
|
className: "bg-f1-background-info text-f1-foreground-info",
|
|
803
803
|
left: /* @__PURE__ */ Q("div", {
|
|
804
804
|
className: B("m-1 aspect-square w-2 rounded-full bg-f1-icon-info", !t && "animate-pulse"),
|
|
@@ -810,28 +810,28 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
810
810
|
let { meetingCard: r } = R();
|
|
811
811
|
switch (e) {
|
|
812
812
|
case "inProgress": return /* @__PURE__ */ Q(Lf, { text: r.inProgress });
|
|
813
|
-
case "ringing": return /* @__PURE__ */ Q(
|
|
813
|
+
case "ringing": return /* @__PURE__ */ Q(Ec, {
|
|
814
814
|
text: r.ringing,
|
|
815
815
|
variant: "warning"
|
|
816
816
|
});
|
|
817
|
-
case "missed": return /* @__PURE__ */ Q(
|
|
817
|
+
case "missed": return /* @__PURE__ */ Q(Ec, {
|
|
818
818
|
text: r.missed,
|
|
819
819
|
variant: n
|
|
820
820
|
});
|
|
821
|
-
case "summarizing": return /* @__PURE__ */ Q(
|
|
821
|
+
case "summarizing": return /* @__PURE__ */ Q(Ec, {
|
|
822
822
|
text: r.summarizing,
|
|
823
823
|
variant: "neutral",
|
|
824
824
|
icon: Lr
|
|
825
825
|
});
|
|
826
|
-
case "finished": return /* @__PURE__ */ Q(
|
|
826
|
+
case "finished": return /* @__PURE__ */ Q(Ec, {
|
|
827
827
|
text: r.finished,
|
|
828
828
|
variant: "positive"
|
|
829
829
|
});
|
|
830
|
-
case "cancelled": return /* @__PURE__ */ Q(
|
|
830
|
+
case "cancelled": return /* @__PURE__ */ Q(Ec, {
|
|
831
831
|
text: r.cancelled,
|
|
832
832
|
variant: "neutral"
|
|
833
833
|
});
|
|
834
|
-
case "scheduled": return t ? /* @__PURE__ */ Q(
|
|
834
|
+
case "scheduled": return t ? /* @__PURE__ */ Q(Ec, {
|
|
835
835
|
text: t,
|
|
836
836
|
variant: "warning"
|
|
837
837
|
}) : null;
|
|
@@ -849,22 +849,22 @@ var bf = bn(Tn("F0Confetti", yf)), xf = (e, t) => {
|
|
|
849
849
|
})
|
|
850
850
|
});
|
|
851
851
|
}, Bf = ({ state: e, startsAt: t, endsAt: n, now: r, windowMinutes: i, invitedCount: a, presentCount: o, guestCount: s }) => {
|
|
852
|
-
let { meetingCard: c } = R(), l =
|
|
852
|
+
let { meetingCard: c } = R(), l = cl();
|
|
853
853
|
return J(() => {
|
|
854
854
|
let u = {
|
|
855
855
|
today: c.today,
|
|
856
856
|
yesterday: c.yesterday,
|
|
857
857
|
tomorrow: c.tomorrow
|
|
858
|
-
}[Sf(t, r)] ?? Pf(t, l), d = wf(t, r), f = e === "inProgress" ? d === 0 ? c.startingNow :
|
|
858
|
+
}[Sf(t, r)] ?? Pf(t, l), d = wf(t, r), f = e === "inProgress" ? d === 0 ? c.startingNow : rt(c.startedAgo, d) : u, p = Cf(t, r), m = Df({
|
|
859
859
|
state: e,
|
|
860
860
|
startsAt: t,
|
|
861
861
|
now: r,
|
|
862
862
|
windowMinutes: i
|
|
863
|
-
}) ? p <= 0 ? c.startingNow :
|
|
863
|
+
}) ? p <= 0 ? c.startingNow : rt(c.startsIn, p) : void 0, h = e === "inProgress" && o !== void 0 ? rt(c.inside, o) : a > 0 ? rt(c.invited, a) : void 0, g = e === "finished" || e === "summarizing" ? kf(t, n) : void 0, _ = s !== void 0 && s > 0 ? rt(c.guests, s) : void 0;
|
|
864
864
|
return {
|
|
865
865
|
leadLabel: f,
|
|
866
866
|
timeLabel: Nf(t, l),
|
|
867
|
-
durationLabel: g === void 0 ? void 0 :
|
|
867
|
+
durationLabel: g === void 0 ? void 0 : rt(c.duration, g),
|
|
868
868
|
countdownLabel: m,
|
|
869
869
|
attendeesLabel: h,
|
|
870
870
|
guestsLabel: _
|
|
@@ -1033,7 +1033,7 @@ function qf({ range: e, position: t }) {
|
|
|
1033
1033
|
gap: "xs",
|
|
1034
1034
|
children: [
|
|
1035
1035
|
n === "start" ? /* @__PURE__ */ Q(U, {
|
|
1036
|
-
icon:
|
|
1036
|
+
icon: Sc,
|
|
1037
1037
|
size: "xs",
|
|
1038
1038
|
color: "secondary"
|
|
1039
1039
|
}) : null,
|
|
@@ -1070,7 +1070,7 @@ function qf({ range: e, position: t }) {
|
|
|
1070
1070
|
})
|
|
1071
1071
|
}),
|
|
1072
1072
|
n === "end" ? /* @__PURE__ */ Q(U, {
|
|
1073
|
-
icon:
|
|
1073
|
+
icon: yc,
|
|
1074
1074
|
size: "xs",
|
|
1075
1075
|
color: "secondary"
|
|
1076
1076
|
}) : null
|
|
@@ -1111,7 +1111,7 @@ function Jf({ content: e, position: t, viewReport: n }) {
|
|
|
1111
1111
|
right: "md",
|
|
1112
1112
|
top: "md",
|
|
1113
1113
|
zIndex: "10",
|
|
1114
|
-
children: /* @__PURE__ */ Q(
|
|
1114
|
+
children: /* @__PURE__ */ Q(Ve, {
|
|
1115
1115
|
icon: Lr,
|
|
1116
1116
|
label: e.autoMapped.label,
|
|
1117
1117
|
info: {
|
|
@@ -2531,7 +2531,7 @@ function hh({ mode: e, ...t }) {
|
|
|
2531
2531
|
size: "md",
|
|
2532
2532
|
hideLabel: !0,
|
|
2533
2533
|
label: t.labels.queue,
|
|
2534
|
-
icon:
|
|
2534
|
+
icon: Fc,
|
|
2535
2535
|
onClick: t.onQueue
|
|
2536
2536
|
}) : e === "stop" ? /* @__PURE__ */ Q(uh, {
|
|
2537
2537
|
...t,
|
|
@@ -3329,7 +3329,7 @@ var Uh = 30, Wh = 50, Gh = (e, t, n) => Math.min(Math.max(e, t), n), Kh = (e) =>
|
|
|
3329
3329
|
previous: /* @__PURE__ */ Q(V, {
|
|
3330
3330
|
variant: "outline",
|
|
3331
3331
|
size: "md",
|
|
3332
|
-
icon:
|
|
3332
|
+
icon: Sc,
|
|
3333
3333
|
label: r?.previous ?? Zh,
|
|
3334
3334
|
hideLabel: !0,
|
|
3335
3335
|
className: Qh,
|
|
@@ -3339,7 +3339,7 @@ var Uh = 30, Wh = 50, Gh = (e, t, n) => Math.min(Math.max(e, t), n), Kh = (e) =>
|
|
|
3339
3339
|
next: /* @__PURE__ */ Q(V, {
|
|
3340
3340
|
variant: "outline",
|
|
3341
3341
|
size: "md",
|
|
3342
|
-
icon:
|
|
3342
|
+
icon: yc,
|
|
3343
3343
|
label: r?.next ?? "Next",
|
|
3344
3344
|
hideLabel: !0,
|
|
3345
3345
|
className: Qh,
|
|
@@ -3377,7 +3377,7 @@ var Uh = 30, Wh = 50, Gh = (e, t, n) => Math.min(Math.max(e, t), n), Kh = (e) =>
|
|
|
3377
3377
|
children: F.content
|
|
3378
3378
|
});
|
|
3379
3379
|
})), eg = Ku(({ value: e, max: t, color: n = "categorical-1", label: r }, i) => {
|
|
3380
|
-
let a = R(), o = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, s = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), o)) : 0, c = Array.from({ length: o }, (e, t) => t < s), l =
|
|
3380
|
+
let a = R(), o = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, s = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), o)) : 0, c = Array.from({ length: o }, (e, t) => t < s), l = Zc(n);
|
|
3381
3381
|
return /* @__PURE__ */ Q("div", {
|
|
3382
3382
|
ref: i,
|
|
3383
3383
|
role: "progressbar",
|
|
@@ -3484,7 +3484,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3484
3484
|
className: B(dg, u && "cursor-pointer", d ? "border-f1-border-selected bg-f1-background-selected" : "hover:bg-f1-background-hover"),
|
|
3485
3485
|
onClick: l,
|
|
3486
3486
|
children: [
|
|
3487
|
-
e ? /* @__PURE__ */ Q(
|
|
3487
|
+
e ? /* @__PURE__ */ Q(sc, {
|
|
3488
3488
|
avatar: e,
|
|
3489
3489
|
size: "sm"
|
|
3490
3490
|
}) : null,
|
|
@@ -3500,7 +3500,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3500
3500
|
}), c ? /* @__PURE__ */ Q(In, {
|
|
3501
3501
|
label: c,
|
|
3502
3502
|
children: /* @__PURE__ */ Q(U, {
|
|
3503
|
-
icon:
|
|
3503
|
+
icon: hl,
|
|
3504
3504
|
size: "sm",
|
|
3505
3505
|
className: "text-f1-icon-secondary"
|
|
3506
3506
|
})
|
|
@@ -3508,7 +3508,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3508
3508
|
}),
|
|
3509
3509
|
r && r.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
3510
3510
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
3511
|
-
children: r.map((e, t) => /* @__PURE__ */ $(Bu.Fragment, { children: [/* @__PURE__ */ Q(
|
|
3511
|
+
children: r.map((e, t) => /* @__PURE__ */ $(Bu.Fragment, { children: [/* @__PURE__ */ Q(hc, { ...e }), t < r.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }, e.text))
|
|
3512
3512
|
}) : null,
|
|
3513
3513
|
n ? /* @__PURE__ */ Q(Xl, {
|
|
3514
3514
|
variant: "description",
|
|
@@ -3533,7 +3533,7 @@ var dg = "flex w-full flex-row flex-wrap items-start gap-2 rounded-md border p-2
|
|
|
3533
3533
|
color: "secondary"
|
|
3534
3534
|
})
|
|
3535
3535
|
}) : null,
|
|
3536
|
-
a ? /* @__PURE__ */ Q(
|
|
3536
|
+
a ? /* @__PURE__ */ Q(Bc, { ...a }) : null,
|
|
3537
3537
|
s ? /* @__PURE__ */ Q(fg, { actions: s }) : null
|
|
3538
3538
|
]
|
|
3539
3539
|
})
|
|
@@ -3557,7 +3557,7 @@ function gg(e, t) {
|
|
|
3557
3557
|
//#endregion
|
|
3558
3558
|
//#region src/blocks/F0SharingDialog/components/SharingRoleChecklist.tsx
|
|
3559
3559
|
function _g({ roles: e, value: t, label: n, disabled: r, onChange: i, onRevoke: a, size: o = "md" }) {
|
|
3560
|
-
let s = R(), { portalContainer: c } =
|
|
3560
|
+
let s = R(), { portalContainer: c } = Uc(), l = ng(e, t), u = ag(e, t), [d, f] = X(null), p = (n) => ig(e, t, n, d?.role === n ? d.roles : []), m = (n) => {
|
|
3561
3561
|
if (t.includes(n)) {
|
|
3562
3562
|
let e = p(n);
|
|
3563
3563
|
if (e.length === 0) return;
|
|
@@ -3598,7 +3598,7 @@ function _g({ roles: e, value: t, label: n, disabled: r, onChange: i, onRevoke:
|
|
|
3598
3598
|
children: /* @__PURE__ */ Q(H, {
|
|
3599
3599
|
"aria-label": u ? `${n}: ${u}` : n,
|
|
3600
3600
|
disabled: r,
|
|
3601
|
-
icon:
|
|
3601
|
+
icon: tc,
|
|
3602
3602
|
iconPosition: "right",
|
|
3603
3603
|
label: u || n,
|
|
3604
3604
|
size: o,
|
|
@@ -3702,7 +3702,7 @@ function xg({ access: e, roles: t, roleMode: n, mapPerson: r, disabled: i, onRem
|
|
|
3702
3702
|
gap: "lg",
|
|
3703
3703
|
role: "listitem",
|
|
3704
3704
|
children: [
|
|
3705
|
-
c.avatar ? /* @__PURE__ */ Q(
|
|
3705
|
+
c.avatar ? /* @__PURE__ */ Q(sc, {
|
|
3706
3706
|
avatar: c.avatar,
|
|
3707
3707
|
size: "md"
|
|
3708
3708
|
}) : null,
|
|
@@ -3742,7 +3742,7 @@ function xg({ access: e, roles: t, roleMode: n, mapPerson: r, disabled: i, onRem
|
|
|
3742
3742
|
//#endregion
|
|
3743
3743
|
//#region src/blocks/F0SharingDialog/components/SharingAccessList.tsx
|
|
3744
3744
|
function Sg({ accesses: e, roles: t, roleMode: n, mapPerson: r, disabled: i, busy: a, loading: o, onRemoveAccess: s, headingRef: c }) {
|
|
3745
|
-
let l = R(), u = Zu(), { portalContainer: d } =
|
|
3745
|
+
let l = R(), u = Zu(), { portalContainer: d } = Uc();
|
|
3746
3746
|
return /* @__PURE__ */ $("section", {
|
|
3747
3747
|
className: "flex flex-col gap-3",
|
|
3748
3748
|
"aria-busy": a,
|
|
@@ -3822,7 +3822,7 @@ function Cg({ peopleSource: e, mapPerson: t, selectedPersonIds: n, disabled: r,
|
|
|
3822
3822
|
//#endregion
|
|
3823
3823
|
//#region src/blocks/F0SharingDialog/components/SingleRoleSelect.tsx
|
|
3824
3824
|
function wg({ roles: e, value: t, disabled: n, onChange: r }) {
|
|
3825
|
-
let i = R(), { portalContainer: a } =
|
|
3825
|
+
let i = R(), { portalContainer: a } = Uc(), o = J(() => e.filter((e) => e.assignable !== !1).map((e) => ({
|
|
3826
3826
|
value: e.value,
|
|
3827
3827
|
label: e.label,
|
|
3828
3828
|
description: e.description
|
|
@@ -4045,7 +4045,7 @@ var Dg = Tn("F0SharingDialog", Eg), Og = ({ labels: e, canUndo: t, undoLabel: n,
|
|
|
4045
4045
|
zIndex: 1
|
|
4046
4046
|
}
|
|
4047
4047
|
}, Ng = Ku(function({ riseFromStack: e, onCommit: t, offsetThreshold: n, velocityThreshold: r, reduceMotion: i, children: a }, o) {
|
|
4048
|
-
let s =
|
|
4048
|
+
let s = ye(), c = Mi(0), l = cn(c, [
|
|
4049
4049
|
-480,
|
|
4050
4050
|
0,
|
|
4051
4051
|
Ag
|
|
@@ -4364,7 +4364,7 @@ function Gg({ title: e, isActive: t = !1, onClick: n }) {
|
|
|
4364
4364
|
//#endregion
|
|
4365
4365
|
//#region src/blocks/F0VersionHistory/VersionItem/VersionItem.tsx
|
|
4366
4366
|
function Kg({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
4367
|
-
let i =
|
|
4367
|
+
let i = cl(), a = qc(t, "PPPp", { locale: i }), o = `${e.firstName} ${e.lastName}`;
|
|
4368
4368
|
return /* @__PURE__ */ $("button", {
|
|
4369
4369
|
type: "button",
|
|
4370
4370
|
className: B("flex w-full flex-col gap-[6px] rounded-md px-2 py-[6px] text-left transition-colors", r && "bg-f1-background-tertiary", n && "cursor-pointer hover:bg-f1-background-hover", En("focus-visible:ring-inset")),
|
|
@@ -4378,7 +4378,7 @@ function Kg({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
|
4378
4378
|
children: a
|
|
4379
4379
|
}), /* @__PURE__ */ $("div", {
|
|
4380
4380
|
className: "flex flex-row items-center gap-[6px]",
|
|
4381
|
-
children: [/* @__PURE__ */ Q(
|
|
4381
|
+
children: [/* @__PURE__ */ Q(rc, {
|
|
4382
4382
|
firstName: e.firstName,
|
|
4383
4383
|
lastName: e.lastName,
|
|
4384
4384
|
src: e.src,
|
|
@@ -4424,7 +4424,7 @@ var Jg = bn(Tn("F0VersionHistory", qg)), Yg = Ku(function({ items: e }, t) {
|
|
|
4424
4424
|
return /* @__PURE__ */ Q("ol", {
|
|
4425
4425
|
ref: t,
|
|
4426
4426
|
className: "m-0 list-none p-0",
|
|
4427
|
-
children: e.map(({ id: t, ...n }, r) => /* @__PURE__ */ Q("li", { children: /* @__PURE__ */ Q(
|
|
4427
|
+
children: e.map(({ id: t, ...n }, r) => /* @__PURE__ */ Q("li", { children: /* @__PURE__ */ Q(Ce, {
|
|
4428
4428
|
...n,
|
|
4429
4429
|
isLast: r === e.length - 1
|
|
4430
4430
|
}) }, t))
|
|
@@ -4432,7 +4432,7 @@ var Jg = bn(Tn("F0VersionHistory", qg)), Yg = Ku(function({ items: e }, t) {
|
|
|
4432
4432
|
}), Xg = bn(Tn("F0Timeline", Yg)), Zg = Ku(({ height: e, itemCount: t, itemSize: n, className: r, renderer: i }, a) => {
|
|
4433
4433
|
let o = Bu.useRef(null);
|
|
4434
4434
|
Bu.useImperativeHandle(a, () => o.current, []);
|
|
4435
|
-
let s =
|
|
4435
|
+
let s = Oc({
|
|
4436
4436
|
count: t,
|
|
4437
4437
|
getScrollElement: () => o.current,
|
|
4438
4438
|
estimateSize: typeof n == "number" ? () => n : n,
|
|
@@ -4503,7 +4503,7 @@ var n_ = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
4503
4503
|
"aria-label": e.name,
|
|
4504
4504
|
className: B(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" : ""),
|
|
4505
4505
|
children: [
|
|
4506
|
-
u ? null : /* @__PURE__ */ Q(
|
|
4506
|
+
u ? null : /* @__PURE__ */ Q(rc, {
|
|
4507
4507
|
src: e.avatar,
|
|
4508
4508
|
firstName: f,
|
|
4509
4509
|
lastName: p,
|
|
@@ -4521,7 +4521,7 @@ var n_ = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
4521
4521
|
})
|
|
4522
4522
|
})
|
|
4523
4523
|
}),
|
|
4524
|
-
/* @__PURE__ */ Q(
|
|
4524
|
+
/* @__PURE__ */ Q(Qc, {
|
|
4525
4525
|
"data-avatarname-navigator-element": "true",
|
|
4526
4526
|
checked: t,
|
|
4527
4527
|
disabled: l,
|
|
@@ -4579,7 +4579,7 @@ var n_ = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
4579
4579
|
className: "flex w-full flex-row flex-wrap items-center gap-0 rounded-md border pl-2.5 pr-1",
|
|
4580
4580
|
children: [/* @__PURE__ */ Q(H, {
|
|
4581
4581
|
hideLabel: !0,
|
|
4582
|
-
icon: t ?
|
|
4582
|
+
icon: t ? Tc : Al,
|
|
4583
4583
|
onClick: () => c(!t),
|
|
4584
4584
|
label: t ? "Collapse" : "Expand",
|
|
4585
4585
|
size: "sm",
|
|
@@ -4605,7 +4605,7 @@ var n_ = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
4605
4605
|
searchKeys: r.searchKeys
|
|
4606
4606
|
}), /* @__PURE__ */ Q(Pn, { value: r.subItems?.length ?? 0 })]
|
|
4607
4607
|
}),
|
|
4608
|
-
/* @__PURE__ */ Q(
|
|
4608
|
+
/* @__PURE__ */ Q(Qc, {
|
|
4609
4609
|
checked: x,
|
|
4610
4610
|
disabled: h,
|
|
4611
4611
|
onClick: b,
|
|
@@ -4636,7 +4636,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
4636
4636
|
hideLabel: !0,
|
|
4637
4637
|
label: e,
|
|
4638
4638
|
onClick: () => t(),
|
|
4639
|
-
icon:
|
|
4639
|
+
icon: gl,
|
|
4640
4640
|
size: "sm",
|
|
4641
4641
|
variant: "outline"
|
|
4642
4642
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -4731,7 +4731,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
4731
4731
|
onChange: (e) => t(e.target.value)
|
|
4732
4732
|
}),
|
|
4733
4733
|
e ? /* @__PURE__ */ Q(U, {
|
|
4734
|
-
icon:
|
|
4734
|
+
icon: Ys,
|
|
4735
4735
|
size: "md",
|
|
4736
4736
|
onClick: () => t(""),
|
|
4737
4737
|
className: "cursor-pointer text-f1-icon-secondary"
|
|
@@ -4966,7 +4966,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
4966
4966
|
children: [
|
|
4967
4967
|
T ? /* @__PURE__ */ Q("div", {
|
|
4968
4968
|
className: "flex h-full w-full flex-row items-center justify-center",
|
|
4969
|
-
children: /* @__PURE__ */ Q(
|
|
4969
|
+
children: /* @__PURE__ */ Q(Ic, {})
|
|
4970
4970
|
}) : null,
|
|
4971
4971
|
!T && !k ? /* @__PURE__ */ $("div", {
|
|
4972
4972
|
className: "absolute flex w-full flex-col items-center justify-center gap-0.5 p-5",
|
|
@@ -5017,15 +5017,15 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
5017
5017
|
});
|
|
5018
5018
|
}, h_ = (e, t) => e.find((e) => e.id === t), g_ = (e, t) => e.find((e) => e.value === t)?.groupType === "team", __ = ({ entity: e, onRemove: t, disabled: n = !1, deactivated: r = !1, hiddenAvatar: i = !1 }) => /* @__PURE__ */ Q("div", {
|
|
5019
5019
|
className: "pr-2 pt-1.5",
|
|
5020
|
-
children: /* @__PURE__ */ Q(
|
|
5020
|
+
children: /* @__PURE__ */ Q(Vc, {
|
|
5021
5021
|
className: B("max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]", "rounded-full", i ? "pl-2" : "pl-0"),
|
|
5022
|
-
left: !i && /* @__PURE__ */ Q(
|
|
5022
|
+
left: !i && /* @__PURE__ */ Q(ec, {
|
|
5023
5023
|
src: e.subAvatar,
|
|
5024
5024
|
name: e.subName,
|
|
5025
5025
|
size: "xs",
|
|
5026
5026
|
type: "rounded",
|
|
5027
5027
|
icon: r ? {
|
|
5028
|
-
icon:
|
|
5028
|
+
icon: $s,
|
|
5029
5029
|
color: "secondary"
|
|
5030
5030
|
} : void 0
|
|
5031
5031
|
}),
|
|
@@ -5145,7 +5145,7 @@ var i_ = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
5145
5145
|
subDeactivated: e.deactivated
|
|
5146
5146
|
}
|
|
5147
5147
|
})), [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;
|
|
5148
|
-
return /* @__PURE__ */ Q(
|
|
5148
|
+
return /* @__PURE__ */ Q(Wc, {
|
|
5149
5149
|
onClickContent: (e) => {
|
|
5150
5150
|
d?.(e), w.current?.contains(e.target) || w.current?.click();
|
|
5151
5151
|
},
|
|
@@ -5202,7 +5202,7 @@ var w_ = (e) => {
|
|
|
5202
5202
|
K(() => {
|
|
5203
5203
|
e.defaultOpen && t && e.onOpenChange?.(!0);
|
|
5204
5204
|
}, [e.defaultOpen]);
|
|
5205
|
-
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = qn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = Xu(
|
|
5205
|
+
let [i, a] = X(e.entities), [o, s] = X(""), [c, l] = qn("", 300), u = J(() => e.entities.some((e) => e.subItems && e.subItems.length > 0), [e.entities]), d = Xu(wc), f = d.portalContainer && (d.position === "center" || d.position === "fullscreen") ? d.portalContainer : void 0;
|
|
5206
5206
|
function p(t) {
|
|
5207
5207
|
if (e.singleSelector) {
|
|
5208
5208
|
e.onSelect(t), n(!1);
|
|
@@ -5507,11 +5507,11 @@ var k_ = dl, A_ = [
|
|
|
5507
5507
|
"city",
|
|
5508
5508
|
"state",
|
|
5509
5509
|
"postalCode"
|
|
5510
|
-
], j_ = dl, M_ = 50, N_ = { preserveWhitespace: !0 }, P_ =
|
|
5510
|
+
], j_ = dl, M_ = 50, N_ = { preserveWhitespace: !0 }, P_ = vt.create({
|
|
5511
5511
|
name: "doc",
|
|
5512
5512
|
topNode: !0,
|
|
5513
5513
|
content: "paragraph"
|
|
5514
|
-
}), F_ =
|
|
5514
|
+
}), F_ = Me.configure({
|
|
5515
5515
|
document: !1,
|
|
5516
5516
|
blockquote: !1,
|
|
5517
5517
|
bold: !1,
|
|
@@ -5527,7 +5527,7 @@ var k_ = dl, A_ = [
|
|
|
5527
5527
|
listItem: !1,
|
|
5528
5528
|
orderedList: !1,
|
|
5529
5529
|
strike: !1
|
|
5530
|
-
}), I_ =
|
|
5530
|
+
}), I_ = Wt.create({
|
|
5531
5531
|
name: "singleLineKeymap",
|
|
5532
5532
|
priority: M_,
|
|
5533
5533
|
addKeyboardShortcuts: () => ({
|
|
@@ -5535,32 +5535,32 @@ var k_ = dl, A_ = [
|
|
|
5535
5535
|
"Shift-Enter": () => !0,
|
|
5536
5536
|
"Mod-Enter": () => !0
|
|
5537
5537
|
})
|
|
5538
|
-
}), L_ = (e) => e.textBetween(0, e.content.size, " ",
|
|
5538
|
+
}), L_ = (e) => e.textBetween(0, e.content.size, " ", Ae), R_ = "templateTextIgnoreMaxLength", z_ = (e) => Wt.create({
|
|
5539
5539
|
name: "templateTextMaxLength",
|
|
5540
|
-
addProseMirrorPlugins: () => [new
|
|
5541
|
-
key: new
|
|
5540
|
+
addProseMirrorPlugins: () => [new Ye({
|
|
5541
|
+
key: new Nt("templateTextMaxLength"),
|
|
5542
5542
|
filterTransaction: (t, n) => {
|
|
5543
5543
|
if (e === void 0 || !t.docChanged || t.getMeta("templateTextIgnoreMaxLength")) return !0;
|
|
5544
5544
|
let r = L_(t.doc).length;
|
|
5545
5545
|
return r <= e || r <= L_(n.doc).length;
|
|
5546
5546
|
}
|
|
5547
5547
|
})]
|
|
5548
|
-
}), B_ =
|
|
5548
|
+
}), B_ = Wt.create({
|
|
5549
5549
|
name: "singleLinePlainTextPaste",
|
|
5550
5550
|
addProseMirrorPlugins() {
|
|
5551
|
-
return [new
|
|
5552
|
-
key: new
|
|
5551
|
+
return [new Ye({
|
|
5552
|
+
key: new Nt("singleLinePlainTextPaste"),
|
|
5553
5553
|
props: { handlePaste: (e, t, n) => {
|
|
5554
|
-
let r = n.content.textBetween(0, n.content.size, " ",
|
|
5555
|
-
return this.editor.commands.insertContent(
|
|
5554
|
+
let r = n.content.textBetween(0, n.content.size, " ", Ae).replace(/[\r\n]+/g, " "), i = j(T(this.editor));
|
|
5555
|
+
return this.editor.commands.insertContent(Rt(r, i)), !0;
|
|
5556
5556
|
} }
|
|
5557
5557
|
})];
|
|
5558
5558
|
}
|
|
5559
5559
|
}), V_ = ({ placeholder: e, maxLength: t, variablesConfig: n }) => [
|
|
5560
5560
|
P_,
|
|
5561
5561
|
F_,
|
|
5562
|
-
|
|
5563
|
-
...
|
|
5562
|
+
Ie(e ?? ""),
|
|
5563
|
+
...Oe(n),
|
|
5564
5564
|
B_,
|
|
5565
5565
|
I_,
|
|
5566
5566
|
z_(t)
|
|
@@ -5614,7 +5614,7 @@ var k_ = dl, A_ = [
|
|
|
5614
5614
|
placeholder: a,
|
|
5615
5615
|
maxLength: d,
|
|
5616
5616
|
variablesConfig: i
|
|
5617
|
-
})), [k] = X(() =>
|
|
5617
|
+
})), [k] = X(() => N(b, y)), A = W_(o, s), M = !!A?.message, P = !!s, F = J(() => ({
|
|
5618
5618
|
id: g,
|
|
5619
5619
|
role: "textbox",
|
|
5620
5620
|
"aria-multiline": "false",
|
|
@@ -5622,7 +5622,7 @@ var k_ = dl, A_ = [
|
|
|
5622
5622
|
...c && { "aria-required": "true" },
|
|
5623
5623
|
...P && { "aria-invalid": "true" },
|
|
5624
5624
|
...l && { "aria-disabled": "true" },
|
|
5625
|
-
...
|
|
5625
|
+
...M && { "aria-describedby": _ },
|
|
5626
5626
|
class: B(U_, l && "cursor-not-allowed")
|
|
5627
5627
|
}), [
|
|
5628
5628
|
g,
|
|
@@ -5630,9 +5630,9 @@ var k_ = dl, A_ = [
|
|
|
5630
5630
|
c,
|
|
5631
5631
|
P,
|
|
5632
5632
|
l,
|
|
5633
|
-
|
|
5633
|
+
M,
|
|
5634
5634
|
_
|
|
5635
|
-
]), I =
|
|
5635
|
+
]), I = At({
|
|
5636
5636
|
extensions: O,
|
|
5637
5637
|
content: k,
|
|
5638
5638
|
parseOptions: N_,
|
|
@@ -5662,15 +5662,15 @@ var k_ = dl, A_ = [
|
|
|
5662
5662
|
}
|
|
5663
5663
|
})), K(() => {
|
|
5664
5664
|
if (!I || !C(I, v) || E.current) return;
|
|
5665
|
-
let e =
|
|
5666
|
-
e !== I.getHTML() &&
|
|
5665
|
+
let e = N(L_(I.state.doc), y);
|
|
5666
|
+
e !== I.getHTML() && Ee(I, e, G_);
|
|
5667
5667
|
}, [
|
|
5668
5668
|
I,
|
|
5669
5669
|
v,
|
|
5670
5670
|
y
|
|
5671
5671
|
]), K(() => {
|
|
5672
5672
|
let e = w === S.current;
|
|
5673
|
-
I && e && b !== L_(I.state.doc) &&
|
|
5673
|
+
I && e && b !== L_(I.state.doc) && Ee(I, N(b, y), G_);
|
|
5674
5674
|
}, [
|
|
5675
5675
|
I,
|
|
5676
5676
|
b,
|
|
@@ -5679,7 +5679,7 @@ var k_ = dl, A_ = [
|
|
|
5679
5679
|
]), /* @__PURE__ */ $("div", {
|
|
5680
5680
|
className: B("flex flex-col gap-2", l && "cursor-not-allowed"),
|
|
5681
5681
|
children: [
|
|
5682
|
-
!u && e ? /* @__PURE__ */ Q(
|
|
5682
|
+
!u && e ? /* @__PURE__ */ Q(Nc, {
|
|
5683
5683
|
label: e,
|
|
5684
5684
|
required: c,
|
|
5685
5685
|
htmlFor: g,
|
|
@@ -5692,7 +5692,7 @@ var k_ = dl, A_ = [
|
|
|
5692
5692
|
disabled: l
|
|
5693
5693
|
}),
|
|
5694
5694
|
"data-testid": "input-field-wrapper",
|
|
5695
|
-
children: /* @__PURE__ */ Q(
|
|
5695
|
+
children: /* @__PURE__ */ Q(Qt, {
|
|
5696
5696
|
editor: I,
|
|
5697
5697
|
className: "flex min-w-0 flex-1"
|
|
5698
5698
|
})
|
|
@@ -5703,7 +5703,7 @@ var k_ = dl, A_ = [
|
|
|
5703
5703
|
value: b,
|
|
5704
5704
|
disabled: l
|
|
5705
5705
|
}) : null,
|
|
5706
|
-
|
|
5706
|
+
M ? /* @__PURE__ */ Q("div", {
|
|
5707
5707
|
id: _,
|
|
5708
5708
|
role: A?.type === "error" ? "alert" : void 0,
|
|
5709
5709
|
children: /* @__PURE__ */ Q(pc, { status: A })
|
|
@@ -5720,7 +5720,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", Zo(({ id: e, cre
|
|
|
5720
5720
|
onChange(t) {
|
|
5721
5721
|
t && c?.(e);
|
|
5722
5722
|
}
|
|
5723
|
-
}), u =
|
|
5723
|
+
}), u = cl(), d = ui(t, {
|
|
5724
5724
|
yesterdayRelative: !1,
|
|
5725
5725
|
locale: u
|
|
5726
5726
|
});
|
|
@@ -5731,7 +5731,7 @@ var q_ = Tn("F0TemplateTextInput", K_), J_ = Tn("ActivityItem", Zo(({ id: e, cre
|
|
|
5731
5731
|
s(e);
|
|
5732
5732
|
},
|
|
5733
5733
|
children: [
|
|
5734
|
-
/* @__PURE__ */ Q(
|
|
5734
|
+
/* @__PURE__ */ Q(lc, { icon: i ?? bs }),
|
|
5735
5735
|
/* @__PURE__ */ $("div", {
|
|
5736
5736
|
className: "flex-1",
|
|
5737
5737
|
children: [
|
|
@@ -5884,11 +5884,11 @@ var cv = [
|
|
|
5884
5884
|
"promote",
|
|
5885
5885
|
"context"
|
|
5886
5886
|
]), fv = (e) => dv.has(e), pv = {
|
|
5887
|
-
critical:
|
|
5888
|
-
warning:
|
|
5889
|
-
info:
|
|
5887
|
+
critical: Hc,
|
|
5888
|
+
warning: Jc,
|
|
5889
|
+
info: hl,
|
|
5890
5890
|
promote: Ns,
|
|
5891
|
-
context:
|
|
5891
|
+
context: hl
|
|
5892
5892
|
}, mv = /* @__PURE__ */ new Set(["promote", "context"]), hv = "promote", gv = /^\p{Emoji}\uFE0F?$/u, _v = (e) => e.variant === hv && e.emoji !== void 0 && gv.test(e.emoji), vv = (e) => _v(e) ? {
|
|
5893
5893
|
kind: "emoji",
|
|
5894
5894
|
emoji: e.emoji
|
|
@@ -6256,9 +6256,9 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6256
6256
|
});
|
|
6257
6257
|
let r = u - 1;
|
|
6258
6258
|
n.from === "list" && r < (s ? 1 : 2) && y(!1), t?.(e);
|
|
6259
|
-
}, T = (e, t) => r?.(e, t), E = u - 1, D =
|
|
6259
|
+
}, T = (e, t) => r?.(e, t), E = u - 1, D = rt(i.count, E), O = u > 1 ? {
|
|
6260
6260
|
label: D,
|
|
6261
|
-
name:
|
|
6261
|
+
name: rt(i.countLabel, E)
|
|
6262
6262
|
} : {
|
|
6263
6263
|
label: i.seeMore,
|
|
6264
6264
|
name: i.viewNotice
|
|
@@ -6314,7 +6314,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6314
6314
|
/* @__PURE__ */ $("span", {
|
|
6315
6315
|
className: "ms-auto flex shrink-0 items-center gap-1 text-base font-medium",
|
|
6316
6316
|
children: [u === 1 ? i.seeMore : D, /* @__PURE__ */ Q(U, {
|
|
6317
|
-
icon:
|
|
6317
|
+
icon: tc,
|
|
6318
6318
|
size: "sm"
|
|
6319
6319
|
})]
|
|
6320
6320
|
})
|
|
@@ -6367,7 +6367,7 @@ function Qv({ notices: e, onDismiss: t, onOpenChange: n, onActionClick: r }) {
|
|
|
6367
6367
|
variant: "secondary",
|
|
6368
6368
|
size: "md",
|
|
6369
6369
|
type: "button",
|
|
6370
|
-
icon: v ?
|
|
6370
|
+
icon: v ? jc : tc,
|
|
6371
6371
|
iconPosition: "right",
|
|
6372
6372
|
noAutoTooltip: !0,
|
|
6373
6373
|
narrowPadding: !0,
|
|
@@ -6479,7 +6479,7 @@ var $v = bn(Tn("F0SystemBanner", Qv)), ey = {
|
|
|
6479
6479
|
//#region src/domains/platform/home/Home/Communities/Celebration/components/avatar.tsx
|
|
6480
6480
|
function ny({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction: i, onReactionSelect: a, pickerRef: o }) {
|
|
6481
6481
|
return /* @__PURE__ */ $("div", {
|
|
6482
|
-
className: B("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : ty[
|
|
6482
|
+
className: B("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : ty[qs([e, t].join(""))]),
|
|
6483
6483
|
children: [n ? /* @__PURE__ */ Q("div", {
|
|
6484
6484
|
className: "absolute inset-0 bg-cover bg-center bg-no-repeat opacity-10",
|
|
6485
6485
|
style: { backgroundImage: `url("${n}")` }
|
|
@@ -6489,7 +6489,7 @@ function ny({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction:
|
|
|
6489
6489
|
className: "relative h-fit w-fit",
|
|
6490
6490
|
children: [/* @__PURE__ */ Q("div", {
|
|
6491
6491
|
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')" } : {},
|
|
6492
|
-
children: /* @__PURE__ */ Q(
|
|
6492
|
+
children: /* @__PURE__ */ Q(rc, {
|
|
6493
6493
|
src: n,
|
|
6494
6494
|
firstName: e,
|
|
6495
6495
|
lastName: t,
|
|
@@ -6498,7 +6498,7 @@ function ny({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction:
|
|
|
6498
6498
|
}), r ? /* @__PURE__ */ Q("div", {
|
|
6499
6499
|
ref: o,
|
|
6500
6500
|
className: B("absolute -right-0.5", n ? "bottom-0.5" : "-bottom-[3px]"),
|
|
6501
|
-
children: /* @__PURE__ */ Q(
|
|
6501
|
+
children: /* @__PURE__ */ Q(Re, {
|
|
6502
6502
|
lastEmojiReaction: i,
|
|
6503
6503
|
onSelect: a,
|
|
6504
6504
|
size: "sm",
|
|
@@ -6636,7 +6636,7 @@ var iy = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
6636
6636
|
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",
|
|
6637
6637
|
children: [/* @__PURE__ */ $("div", {
|
|
6638
6638
|
className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center",
|
|
6639
|
-
children: [/* @__PURE__ */ Q(
|
|
6639
|
+
children: [/* @__PURE__ */ Q(Ws, {
|
|
6640
6640
|
module: "kudos",
|
|
6641
6641
|
size: "md"
|
|
6642
6642
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -6694,7 +6694,7 @@ function cy({ emoji: e, initialCount: t, hasReacted: n = !1, users: r, loadUsers
|
|
|
6694
6694
|
emoji: e,
|
|
6695
6695
|
size: o
|
|
6696
6696
|
}),
|
|
6697
|
-
children: /* @__PURE__ */ Q(
|
|
6697
|
+
children: /* @__PURE__ */ Q(Kc, {
|
|
6698
6698
|
value: l,
|
|
6699
6699
|
spinTiming: {
|
|
6700
6700
|
duration: 200,
|
|
@@ -6722,7 +6722,7 @@ function ly({ items: e, onInteraction: t, locale: n, action: r }) {
|
|
|
6722
6722
|
variant: "outline",
|
|
6723
6723
|
hideLabel: !0
|
|
6724
6724
|
}) : null,
|
|
6725
|
-
/* @__PURE__ */ Q(
|
|
6725
|
+
/* @__PURE__ */ Q(Re, {
|
|
6726
6726
|
onSelect: t,
|
|
6727
6727
|
locale: n
|
|
6728
6728
|
}),
|
|
@@ -6753,7 +6753,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6753
6753
|
})), py = ({ tags: e, right: t }) => /* @__PURE__ */ Q("div", {
|
|
6754
6754
|
className: B("flex flex-1 flex-row items-center gap-1.5", t && "justify-end"),
|
|
6755
6755
|
children: e.map((e) => {
|
|
6756
|
-
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
6756
|
+
let t = /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(hc, {
|
|
6757
6757
|
icon: e.icon,
|
|
6758
6758
|
text: e.label ?? (e.description || ""),
|
|
6759
6759
|
onlyIcon: !0,
|
|
@@ -6775,7 +6775,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6775
6775
|
size: r
|
|
6776
6776
|
}) : null,
|
|
6777
6777
|
e && (!n || t) ? /* @__PURE__ */ Q(U, {
|
|
6778
|
-
icon:
|
|
6778
|
+
icon: yc,
|
|
6779
6779
|
size: "sm",
|
|
6780
6780
|
className: "text-f1-foreground-tertiary"
|
|
6781
6781
|
}) : null,
|
|
@@ -6874,7 +6874,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6874
6874
|
let t = (e?.split(".")).at(-1);
|
|
6875
6875
|
return !!t && _y.has(t);
|
|
6876
6876
|
}, yy = Zo(({ title: e, mediaUrl: t, place: n, date: r }) => {
|
|
6877
|
-
let i =
|
|
6877
|
+
let i = cl(), a = Ei(r, i);
|
|
6878
6878
|
return n && (a = `${a} · ${n}`), /* @__PURE__ */ $("div", {
|
|
6879
6879
|
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",
|
|
6880
6880
|
children: [t ? /* @__PURE__ */ Q("div", {
|
|
@@ -6928,7 +6928,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6928
6928
|
})
|
|
6929
6929
|
});
|
|
6930
6930
|
}, xy = ({ 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 }) => {
|
|
6931
|
-
let T = Zu(), E = Zu(), D =
|
|
6931
|
+
let T = Zu(), E = Zu(), D = cl(), 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 ? Yr(r, D) : ui(r, { locale: D }), ee = !!o, te = o ? () => o(e) : void 0, ne = (e) => {
|
|
6932
6932
|
e.stopPropagation();
|
|
6933
6933
|
}, re = t ? `${t.firstName} ${t.lastName}` : void 0, ie = (t) => {
|
|
6934
6934
|
t.preventDefault(), t.stopPropagation(), a && A({
|
|
@@ -6969,12 +6969,12 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
6969
6969
|
title: re,
|
|
6970
6970
|
className: "flex items-center leading-[0]",
|
|
6971
6971
|
stopPropagation: !0,
|
|
6972
|
-
children: /* @__PURE__ */ Q(
|
|
6972
|
+
children: /* @__PURE__ */ Q(rc, {
|
|
6973
6973
|
firstName: t.firstName,
|
|
6974
6974
|
lastName: t.lastName,
|
|
6975
6975
|
src: t.avatarUrl
|
|
6976
6976
|
})
|
|
6977
|
-
}) : /* @__PURE__ */ Q(
|
|
6977
|
+
}) : /* @__PURE__ */ Q(lc, { icon: ur }),
|
|
6978
6978
|
/* @__PURE__ */ $("div", {
|
|
6979
6979
|
className: "flex min-w-0 flex-1 flex-col",
|
|
6980
6980
|
children: [/* @__PURE__ */ $("div", {
|
|
@@ -7157,7 +7157,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7157
7157
|
});
|
|
7158
7158
|
}, Ay = ({ author: e, meta: t }) => /* @__PURE__ */ $("div", {
|
|
7159
7159
|
className: "mt-auto flex flex-row items-center gap-3 pt-2",
|
|
7160
|
-
children: [e ? /* @__PURE__ */ Q(
|
|
7160
|
+
children: [e ? /* @__PURE__ */ Q(rc, {
|
|
7161
7161
|
firstName: e.firstName,
|
|
7162
7162
|
lastName: e.lastName,
|
|
7163
7163
|
src: e.avatarUrl
|
|
@@ -7172,8 +7172,8 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7172
7172
|
}) : null]
|
|
7173
7173
|
})]
|
|
7174
7174
|
}), jy = ["tile", "row"], My = ({ post: e, variant: t = "tile" }) => {
|
|
7175
|
-
let n =
|
|
7176
|
-
|
|
7175
|
+
let n = cl(), r = [
|
|
7176
|
+
qc(e.createdAt, "MMM d", { locale: n }),
|
|
7177
7177
|
e.counters?.visits,
|
|
7178
7178
|
e.counters?.comments
|
|
7179
7179
|
].filter(Boolean).join(" · "), i = e.href ? /* @__PURE__ */ Q(Un, {
|
|
@@ -7263,18 +7263,18 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7263
7263
|
]
|
|
7264
7264
|
})]
|
|
7265
7265
|
}), Py = (e) => e.length === 0 || e.some((e) => e.imageUrl), Fy = "basis-full @lg:basis-1/2", Iy = ({ posts: e, loading: t, expectedItemsCount: n }) => {
|
|
7266
|
-
let { isPageInFlight: r } =
|
|
7267
|
-
return /* @__PURE__ */ $(
|
|
7266
|
+
let { isPageInFlight: r } = hn(), i = t || r ? n : 0;
|
|
7267
|
+
return /* @__PURE__ */ $(ut, {
|
|
7268
7268
|
"aria-busy": t || r || void 0,
|
|
7269
|
-
children: [t ? null : e.map((e) => /* @__PURE__ */ Q(
|
|
7269
|
+
children: [t ? null : e.map((e) => /* @__PURE__ */ Q(rn, {
|
|
7270
7270
|
className: Fy,
|
|
7271
7271
|
children: /* @__PURE__ */ Q(My, { post: e })
|
|
7272
|
-
}, e.id)), Array.from({ length: i }, (t, n) => /* @__PURE__ */ Q(
|
|
7272
|
+
}, e.id)), Array.from({ length: i }, (t, n) => /* @__PURE__ */ Q(rn, {
|
|
7273
7273
|
className: Fy,
|
|
7274
7274
|
children: /* @__PURE__ */ Q(Ny, { withImage: Py(e) })
|
|
7275
7275
|
}, `placeholder-${n}`))]
|
|
7276
7276
|
});
|
|
7277
|
-
}, Ly = ({ posts: e, labels: t, loading: n = !1, expectedItemsCount: r = 2, pagination: i }) => /* @__PURE__ */ $(
|
|
7277
|
+
}, Ly = ({ posts: e, labels: t, loading: n = !1, expectedItemsCount: r = 2, pagination: i }) => /* @__PURE__ */ $(pt, {
|
|
7278
7278
|
opts: {
|
|
7279
7279
|
align: "start",
|
|
7280
7280
|
containScroll: "trimSnaps",
|
|
@@ -7286,7 +7286,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7286
7286
|
posts: e,
|
|
7287
7287
|
loading: n,
|
|
7288
7288
|
expectedItemsCount: r
|
|
7289
|
-
}), /* @__PURE__ */ Q(
|
|
7289
|
+
}), /* @__PURE__ */ Q(Ue, { labels: t })]
|
|
7290
7290
|
}), Ry = Bu.forwardRef(({ person: e, onClick: t, ...n }, r) => /* @__PURE__ */ $("div", {
|
|
7291
7291
|
ref: r,
|
|
7292
7292
|
className: B("flex w-full flex-row flex-wrap items-center gap-2 rounded-md border p-2 hover:bg-f1-background-hover focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold", n.withPointerCursor && "cursor-pointer"),
|
|
@@ -7294,7 +7294,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7294
7294
|
t();
|
|
7295
7295
|
},
|
|
7296
7296
|
children: [
|
|
7297
|
-
/* @__PURE__ */ Q(
|
|
7297
|
+
/* @__PURE__ */ Q(rc, {
|
|
7298
7298
|
firstName: e.firstName,
|
|
7299
7299
|
lastName: e.lastName,
|
|
7300
7300
|
src: e.avatarUrl,
|
|
@@ -7311,7 +7311,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7311
7311
|
}), n.info ? /* @__PURE__ */ Q(In, {
|
|
7312
7312
|
label: n.info,
|
|
7313
7313
|
children: /* @__PURE__ */ Q(U, {
|
|
7314
|
-
icon:
|
|
7314
|
+
icon: hl,
|
|
7315
7315
|
size: "sm",
|
|
7316
7316
|
className: "text-f1-icon-secondary"
|
|
7317
7317
|
})
|
|
@@ -7319,7 +7319,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7319
7319
|
}),
|
|
7320
7320
|
"bottomTags" in n ? /* @__PURE__ */ Q("div", {
|
|
7321
7321
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
7322
|
-
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
7322
|
+
children: n.bottomTags.map((e, t) => /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(hc, { ...e }, e.text), t < n.bottomTags.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }))
|
|
7323
7323
|
}) : null,
|
|
7324
7324
|
"description" in n && n.description ? /* @__PURE__ */ Q("p", {
|
|
7325
7325
|
className: "truncate text-f1-foreground-secondary",
|
|
@@ -7329,7 +7329,7 @@ var fy = Zo(dy, () => /* @__PURE__ */ $("div", {
|
|
|
7329
7329
|
}),
|
|
7330
7330
|
/* @__PURE__ */ $("div", {
|
|
7331
7331
|
className: "flex flex-row items-center justify-between gap-2",
|
|
7332
|
-
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(
|
|
7332
|
+
children: ["rightTag" in n && n.rightTag ? /* @__PURE__ */ Q(Bc, { ...n.rightTag }) : null, "actions" in n ? /* @__PURE__ */ $("div", {
|
|
7333
7333
|
className: "flex flex-1 flex-row items-center justify-end gap-2",
|
|
7334
7334
|
children: [n.actions?.primary ? /* @__PURE__ */ Q(H, {
|
|
7335
7335
|
variant: "outline",
|
|
@@ -8666,7 +8666,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8666
8666
|
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", {
|
|
8667
8667
|
"aria-hidden": !0,
|
|
8668
8668
|
className: B("m-1 block aspect-square w-2 rounded-full", s ? "bg-f1-icon-positive" : "bg-f1-icon")
|
|
8669
|
-
}) : /* @__PURE__ */ Q(
|
|
8669
|
+
}) : /* @__PURE__ */ Q(Ec, {
|
|
8670
8670
|
text: c,
|
|
8671
8671
|
variant: s ? "positive" : "neutral"
|
|
8672
8672
|
});
|
|
@@ -8686,7 +8686,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8686
8686
|
if (!o.current) {
|
|
8687
8687
|
o.current = !0;
|
|
8688
8688
|
try {
|
|
8689
|
-
await
|
|
8689
|
+
await F.confirmation(s ? {
|
|
8690
8690
|
type: "warning",
|
|
8691
8691
|
title: t.meeting.pauseTranscriptTitle,
|
|
8692
8692
|
msg: t.meeting.pauseTranscriptMessage,
|
|
@@ -8750,7 +8750,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8750
8750
|
let t = R(), { room: n, recording: r } = ub(), { effectiveMode: i } = FS(), a = wb(), o = GS(WS()), s = i === "minimized", c = i === "fullscreen", l = i === "pip", u = !s && a !== "tight", d = s || l, f = s || l || a === "tight", p = /* @__PURE__ */ $("span", {
|
|
8751
8751
|
className: "flex shrink-0 items-center gap-1.5",
|
|
8752
8752
|
"data-f0-no-drag": !0,
|
|
8753
|
-
children: [r?.active ? /* @__PURE__ */ Q(
|
|
8753
|
+
children: [r?.active ? /* @__PURE__ */ Q(Ec, {
|
|
8754
8754
|
text: r.consentNotice ?? t.meeting.recording,
|
|
8755
8755
|
variant: "critical"
|
|
8756
8756
|
}) : null, /* @__PURE__ */ Q(eC, { compact: f })]
|
|
@@ -8780,7 +8780,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
8780
8780
|
n.avatar && u ? /* @__PURE__ */ Q("span", {
|
|
8781
8781
|
className: "shrink-0",
|
|
8782
8782
|
"data-testid": "meeting-room-avatar",
|
|
8783
|
-
children: /* @__PURE__ */ Q(
|
|
8783
|
+
children: /* @__PURE__ */ Q(sc, {
|
|
8784
8784
|
avatar: n.avatar,
|
|
8785
8785
|
size: "xs"
|
|
8786
8786
|
})
|
|
@@ -9111,7 +9111,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9111
9111
|
rowIndex: r
|
|
9112
9112
|
});
|
|
9113
9113
|
}), e;
|
|
9114
|
-
}, [t]), f = G((e) => e + (t.rows[e]?.sectionIndex ?? 0) + 1, [t]), p = G((e) => (t.firstRowBySection[e] ?? 0) + e, [t]), m =
|
|
9114
|
+
}, [t]), f = G((e) => e + (t.rows[e]?.sectionIndex ?? 0) + 1, [t]), p = G((e) => (t.firstRowBySection[e] ?? 0) + e, [t]), m = Oc({
|
|
9115
9115
|
count: d.length,
|
|
9116
9116
|
getScrollElement: () => u.current,
|
|
9117
9117
|
estimateSize: (t) => {
|
|
@@ -9393,7 +9393,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9393
9393
|
children: [
|
|
9394
9394
|
/* @__PURE__ */ Q("div", {
|
|
9395
9395
|
className: "shrink-0 p-2",
|
|
9396
|
-
children: /* @__PURE__ */ Q(
|
|
9396
|
+
children: /* @__PURE__ */ Q(tl, {
|
|
9397
9397
|
ref: l,
|
|
9398
9398
|
value: u,
|
|
9399
9399
|
placeholder: a.chat.emojiPicker.search,
|
|
@@ -9591,7 +9591,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9591
9591
|
className: B("pointer-events-none absolute flex items-center justify-center rounded-full bg-f1-background-accent-bold text-f1-foreground-inverse", e === void 0 ? "right-0 top-0 h-2 w-2" : "-right-1 -top-1 h-4 min-w-4 px-1 text-xs font-medium tabular-nums"),
|
|
9592
9592
|
children: e === void 0 ? null : e > 99 ? "99+" : e
|
|
9593
9593
|
}), Nw = ({ action: e, onPlate: t }) => {
|
|
9594
|
-
let n = R(), r = typeof e.badge == "number" ? e.badge : void 0, i = e.badge !== void 0 && r !== 0, a = r !== void 0 && r > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: r })}` : e.label, o = /* @__PURE__ */ Q(
|
|
9594
|
+
let n = R(), r = typeof e.badge == "number" ? e.badge : void 0, i = e.badge !== void 0 && r !== 0, a = r !== void 0 && r > 0 ? `${e.label} · ${n.t("meeting.unreadCount", { count: r })}` : e.label, o = /* @__PURE__ */ Q(bc, {
|
|
9595
9595
|
selected: !!e.pressed,
|
|
9596
9596
|
onSelectedChange: () => e.onClick?.(),
|
|
9597
9597
|
icon: e.activeIcon ? [e.icon, e.activeIcon] : e.icon,
|
|
@@ -9751,7 +9751,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
9751
9751
|
disabled: o,
|
|
9752
9752
|
className: B("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(), JS("right")),
|
|
9753
9753
|
children: /* @__PURE__ */ Q(U, {
|
|
9754
|
-
icon:
|
|
9754
|
+
icon: tc,
|
|
9755
9755
|
size: "sm",
|
|
9756
9756
|
color: "bold"
|
|
9757
9757
|
})
|
|
@@ -10005,7 +10005,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10005
10005
|
else if (!TT) {
|
|
10006
10006
|
TT = !0;
|
|
10007
10007
|
try {
|
|
10008
|
-
a?.pipWindow && a.exitPictureInPicture(), window.focus(), await
|
|
10008
|
+
a?.pipWindow && a.exitPictureInPicture(), window.focus(), await F.confirmation({
|
|
10009
10009
|
type: "warning",
|
|
10010
10010
|
title: o.title,
|
|
10011
10011
|
msg: o.description ?? "",
|
|
@@ -10312,7 +10312,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10312
10312
|
}, BT = () => {
|
|
10313
10313
|
let e = R();
|
|
10314
10314
|
return /* @__PURE__ */ $(zT, { children: [/* @__PURE__ */ Q(U, {
|
|
10315
|
-
icon:
|
|
10315
|
+
icon: Js,
|
|
10316
10316
|
size: "lg",
|
|
10317
10317
|
state: "animate"
|
|
10318
10318
|
}), /* @__PURE__ */ Q("p", {
|
|
@@ -10347,7 +10347,7 @@ var Mb = Tb.categories.flatMap((e) => Eb.includes(e.id) ? [{
|
|
|
10347
10347
|
role: "status",
|
|
10348
10348
|
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",
|
|
10349
10349
|
children: [/* @__PURE__ */ Q(U, {
|
|
10350
|
-
icon:
|
|
10350
|
+
icon: Js,
|
|
10351
10351
|
size: "sm",
|
|
10352
10352
|
state: "animate"
|
|
10353
10353
|
}), e.meeting.reconnecting]
|
|
@@ -10847,7 +10847,7 @@ var yE = () => {
|
|
|
10847
10847
|
children: [/* @__PURE__ */ $("span", {
|
|
10848
10848
|
className: B("relative flex-none", i && "opacity-50"),
|
|
10849
10849
|
children: [
|
|
10850
|
-
r.avatar ? /* @__PURE__ */ Q(
|
|
10850
|
+
r.avatar ? /* @__PURE__ */ Q(sc, {
|
|
10851
10851
|
avatar: r.avatar,
|
|
10852
10852
|
size: t.avatarSize
|
|
10853
10853
|
}) : null,
|
|
@@ -10912,10 +10912,10 @@ var yE = () => {
|
|
|
10912
10912
|
});
|
|
10913
10913
|
}, RE = ({ tiles: e, width: t, radius: n }) => {
|
|
10914
10914
|
let r = R(), i = t < 160;
|
|
10915
|
-
return e.length === 0 ? null : /* @__PURE__ */ $(
|
|
10915
|
+
return e.length === 0 ? null : /* @__PURE__ */ $(Yc, {
|
|
10916
10916
|
openDelay: 120,
|
|
10917
10917
|
closeDelay: 100,
|
|
10918
|
-
children: [/* @__PURE__ */ Q(
|
|
10918
|
+
children: [/* @__PURE__ */ Q(Lc, {
|
|
10919
10919
|
asChild: !0,
|
|
10920
10920
|
children: /* @__PURE__ */ Q("div", {
|
|
10921
10921
|
className: "bg-f1-background flex h-full w-full",
|
|
@@ -10934,7 +10934,7 @@ var yE = () => {
|
|
|
10934
10934
|
})]
|
|
10935
10935
|
})
|
|
10936
10936
|
})
|
|
10937
|
-
}), /* @__PURE__ */ $(
|
|
10937
|
+
}), /* @__PURE__ */ $(_l, {
|
|
10938
10938
|
align: "center",
|
|
10939
10939
|
side: "top",
|
|
10940
10940
|
className: "w-64 border-none bg-f1-background p-2 text-f1-foreground",
|
|
@@ -10946,7 +10946,7 @@ var yE = () => {
|
|
|
10946
10946
|
children: e.map((e) => /* @__PURE__ */ $("li", {
|
|
10947
10947
|
className: "flex items-center gap-2 rounded-md px-1 py-1",
|
|
10948
10948
|
children: [
|
|
10949
|
-
e.participant.avatar ? /* @__PURE__ */ Q(
|
|
10949
|
+
e.participant.avatar ? /* @__PURE__ */ Q(sc, {
|
|
10950
10950
|
avatar: e.participant.avatar,
|
|
10951
10951
|
size: "xs"
|
|
10952
10952
|
}) : null,
|
|
@@ -11120,7 +11120,7 @@ var yE = () => {
|
|
|
11120
11120
|
mirrored: d.isLocal && !m
|
|
11121
11121
|
}) : /* @__PURE__ */ $("div", {
|
|
11122
11122
|
className: "flex h-full w-full flex-col items-center justify-center gap-2.5 px-2",
|
|
11123
|
-
children: [d.avatar ? /* @__PURE__ */ Q(
|
|
11123
|
+
children: [d.avatar ? /* @__PURE__ */ Q(sc, {
|
|
11124
11124
|
avatar: d.avatar,
|
|
11125
11125
|
size: ox(t)
|
|
11126
11126
|
}) : null, h && !v ? /* @__PURE__ */ Q("span", {
|
|
@@ -12444,7 +12444,7 @@ var yE = () => {
|
|
|
12444
12444
|
className: "flex gap-2",
|
|
12445
12445
|
children: [/* @__PURE__ */ Q("span", {
|
|
12446
12446
|
className: "mt-0.5 shrink-0",
|
|
12447
|
-
children: t?.avatar ? /* @__PURE__ */ Q(
|
|
12447
|
+
children: t?.avatar ? /* @__PURE__ */ Q(sc, {
|
|
12448
12448
|
avatar: t.avatar,
|
|
12449
12449
|
size: "xs"
|
|
12450
12450
|
}) : null
|
|
@@ -12480,7 +12480,7 @@ var yE = () => {
|
|
|
12480
12480
|
className: B("max-h-24 min-h-10 flex-1 resize-none rounded-lg border border-solid border-f1-border-secondary bg-f1-background px-3 py-2 text-base text-f1-foreground placeholder:text-f1-foreground-tertiary", En())
|
|
12481
12481
|
}), /* @__PURE__ */ Q(H, {
|
|
12482
12482
|
hideLabel: !0,
|
|
12483
|
-
icon:
|
|
12483
|
+
icon: Fc,
|
|
12484
12484
|
label: n.meeting.sendMessage,
|
|
12485
12485
|
disabled: a.trim().length === 0,
|
|
12486
12486
|
onClick: l
|
|
@@ -12567,7 +12567,7 @@ var yE = () => {
|
|
|
12567
12567
|
className: "flex gap-2",
|
|
12568
12568
|
children: [/* @__PURE__ */ Q("span", {
|
|
12569
12569
|
className: "mt-0.5 shrink-0",
|
|
12570
|
-
children: r?.avatar ? /* @__PURE__ */ Q(
|
|
12570
|
+
children: r?.avatar ? /* @__PURE__ */ Q(sc, {
|
|
12571
12571
|
avatar: r.avatar,
|
|
12572
12572
|
size: "xs"
|
|
12573
12573
|
}) : null
|
|
@@ -12599,7 +12599,7 @@ var yE = () => {
|
|
|
12599
12599
|
return /* @__PURE__ */ Q("span", {
|
|
12600
12600
|
className: "shrink-0",
|
|
12601
12601
|
"data-testid": "meeting-participant-guest",
|
|
12602
|
-
children: /* @__PURE__ */ Q(
|
|
12602
|
+
children: /* @__PURE__ */ Q(hc, { text: e === "link" ? t.meeting.guestLink : t.meeting.guestCallOnly })
|
|
12603
12603
|
});
|
|
12604
12604
|
}, pO = ({ person: e, waiting: t, handPosition: n, onMute: r, onRemove: i }) => {
|
|
12605
12605
|
let a = R(), o = !t && Jx(e);
|
|
@@ -12607,7 +12607,7 @@ var yE = () => {
|
|
|
12607
12607
|
className: "flex items-center gap-2 py-1.5",
|
|
12608
12608
|
"data-testid": "meeting-participant",
|
|
12609
12609
|
children: [
|
|
12610
|
-
/* @__PURE__ */ Q(
|
|
12610
|
+
/* @__PURE__ */ Q(sc, {
|
|
12611
12611
|
avatar: dO(e),
|
|
12612
12612
|
size: "sm"
|
|
12613
12613
|
}),
|
|
@@ -12680,7 +12680,7 @@ var yE = () => {
|
|
|
12680
12680
|
children: [
|
|
12681
12681
|
/* @__PURE__ */ Q("span", {
|
|
12682
12682
|
className: r ? "rounded-full motion-safe:animate-pulse" : void 0,
|
|
12683
|
-
children: /* @__PURE__ */ Q(
|
|
12683
|
+
children: /* @__PURE__ */ Q(sc, {
|
|
12684
12684
|
avatar: dO(e),
|
|
12685
12685
|
size: "sm"
|
|
12686
12686
|
})
|
|
@@ -12730,7 +12730,7 @@ var yE = () => {
|
|
|
12730
12730
|
if (!l.current) {
|
|
12731
12731
|
l.current = !0;
|
|
12732
12732
|
try {
|
|
12733
|
-
n?.pipWindow && n.exitPictureInPicture(), window.focus(), await
|
|
12733
|
+
n?.pipWindow && n.exitPictureInPicture(), window.focus(), await F.confirmation({
|
|
12734
12734
|
type: "warning",
|
|
12735
12735
|
title: e.t("meeting.removeParticipantTitle", { name: r.name }),
|
|
12736
12736
|
msg: e.meeting.removeParticipantDescription,
|
|
@@ -13170,24 +13170,24 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13170
13170
|
]);
|
|
13171
13171
|
let he = re || pe || fe, ge = Y(y), _e = Y(!1), ve = Y(le);
|
|
13172
13172
|
ge.current !== y && (_e.current = !y && (re || de.current), ve.current = ue.current, ge.current = y);
|
|
13173
|
-
let L = !y && _e.current && (re || pe), ye = L ? ve.current : le, be = (ye ? O : E) === "left", xe = y && (!ce || !ye), Se = y && ce && ye, Ce = y && (!!e?.enabled || le),
|
|
13173
|
+
let L = !y && _e.current && (re || pe), ye = L ? ve.current : le, be = (ye ? O : E) === "left", xe = y && (!ce || !ye), Se = y && ce && ye, Ce = y && (!!e?.enabled || le), Te = Y(xe), Ee = Y(Se);
|
|
13174
13174
|
K(function() {
|
|
13175
|
-
|
|
13175
|
+
Te.current = xe, Ee.current = Se;
|
|
13176
13176
|
});
|
|
13177
|
-
let
|
|
13177
|
+
let De = or(`(max-width: ${$l.lg}px)`, { initializeWithValue: !0 }), Oe = Y(null), ke = h ? h.hasSecondarySidebar ? h.secondarySidebarWidth : 0 : tu.panel, Ae = g + (l === "locked" ? ke : 0), { width: je } = ar(), Me = Ta({
|
|
13178
13178
|
dockedLeft: be,
|
|
13179
|
-
narrowForLeftPanel:
|
|
13179
|
+
narrowForLeftPanel: De,
|
|
13180
13180
|
fit: M,
|
|
13181
|
-
viewportWidth:
|
|
13182
|
-
navigationWidth: g +
|
|
13181
|
+
viewportWidth: je,
|
|
13182
|
+
navigationWidth: g + ke,
|
|
13183
13183
|
preference: j
|
|
13184
|
-
}),
|
|
13184
|
+
}), Ne = p && (!be || De) ? 0 : Ae, Pe = y && re && D?.id === "f0-meeting", [Fe, Ie] = X(0);
|
|
13185
13185
|
K(function() {
|
|
13186
|
-
let e =
|
|
13186
|
+
let e = Oe.current?.parentElement;
|
|
13187
13187
|
if (!e) return;
|
|
13188
13188
|
let t = 0, n = () => {
|
|
13189
13189
|
let { width: t } = e.getBoundingClientRect();
|
|
13190
|
-
t <= 0 || (
|
|
13190
|
+
t <= 0 || (Ie(t), w(t - Ne));
|
|
13191
13191
|
}, r = () => {
|
|
13192
13192
|
cancelAnimationFrame(t), t = requestAnimationFrame(n);
|
|
13193
13193
|
};
|
|
@@ -13196,30 +13196,30 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13196
13196
|
return i.observe(e), window.addEventListener("resize", r), () => {
|
|
13197
13197
|
cancelAnimationFrame(t), i.disconnect(), window.removeEventListener("resize", r);
|
|
13198
13198
|
};
|
|
13199
|
-
}, [w,
|
|
13200
|
-
let
|
|
13199
|
+
}, [w, Ne]);
|
|
13200
|
+
let Le = Wy(), Re = Ce && C, ze = Re || Ce && re, Be = Y(null);
|
|
13201
13201
|
K(function() {
|
|
13202
|
-
let e =
|
|
13203
|
-
e && (l === "hidden" && !m ||
|
|
13202
|
+
let e = Be.current;
|
|
13203
|
+
e && (l === "hidden" && !m || Pe || Re ? e.setAttribute("inert", "") : e.removeAttribute("inert"));
|
|
13204
13204
|
}, [
|
|
13205
13205
|
l,
|
|
13206
13206
|
m,
|
|
13207
|
-
|
|
13208
|
-
|
|
13207
|
+
Pe,
|
|
13208
|
+
Re
|
|
13209
13209
|
]);
|
|
13210
|
-
let
|
|
13211
|
-
left:
|
|
13212
|
-
right:
|
|
13213
|
-
},
|
|
13214
|
-
|
|
13215
|
-
let
|
|
13210
|
+
let Ve = A || Le || !!h?.isInstant, He = Xa(Ve, _), Ue = (e, t) => ha(Ve, he && e && t, _), We = _ ? "instant" : C ? "sheet" : N?.coversChat === !0 ? "fade" : he ? "under" : "seam", Ge = _ ? "instant" : xe ? C ? "sheet" : re ? "under" : "seam" : y ? "instant" : "panel", Ke = y && re, qe = Ce && !C, Je = {
|
|
13211
|
+
left: qe && be ? ae : 0,
|
|
13212
|
+
right: qe && !be ? ae : 0
|
|
13213
|
+
}, Ye = Y(Je);
|
|
13214
|
+
Ke || (Ye.current = Je);
|
|
13215
|
+
let Xe = Ke ? Ye.current : Je, Ze = !(Ve || he || L) && !_, Qe = Ze ? La : qa, $e = Ce && Me;
|
|
13216
13216
|
return q(function() {
|
|
13217
|
-
f(
|
|
13218
|
-
}, [
|
|
13217
|
+
f($e);
|
|
13218
|
+
}, [$e, f]), VO($e), /* @__PURE__ */ Q(ti.Provider, {
|
|
13219
13219
|
value: !!e?.enabled,
|
|
13220
13220
|
children: /* @__PURE__ */ Q(la.Provider, {
|
|
13221
13221
|
value: ee,
|
|
13222
|
-
children: /* @__PURE__ */ Q(
|
|
13222
|
+
children: /* @__PURE__ */ Q(we, {
|
|
13223
13223
|
reducedMotion: _ ? "always" : "never",
|
|
13224
13224
|
transition: {
|
|
13225
13225
|
ease: Zl.ease.outSwift,
|
|
@@ -13244,16 +13244,16 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13244
13244
|
onClick: () => u()
|
|
13245
13245
|
}) : null }),
|
|
13246
13246
|
/* @__PURE__ */ $(Ln.div, {
|
|
13247
|
-
className: B("shrink-0",
|
|
13247
|
+
className: B("shrink-0", Pe ? "z-0" : l === "unlocked" || l !== "locked" && !m ? "z-30" : !m && "z-0", !m && l === "locked" && "pl-3"),
|
|
13248
13248
|
initial: !1,
|
|
13249
|
-
animate: m ? void 0 : { width:
|
|
13250
|
-
transition:
|
|
13251
|
-
ref:
|
|
13249
|
+
animate: m ? void 0 : { width: Ae },
|
|
13250
|
+
transition: He,
|
|
13251
|
+
ref: Be,
|
|
13252
13252
|
onPointerEnter: c,
|
|
13253
|
-
children: [/* @__PURE__ */ Q(zO, { contentId:
|
|
13253
|
+
children: [/* @__PURE__ */ Q(zO, { contentId: ze ? "side-panel" : "content" }), n]
|
|
13254
13254
|
}, m ? "two-level" : "classic"),
|
|
13255
13255
|
/* @__PURE__ */ $(Ln.div, {
|
|
13256
|
-
ref:
|
|
13256
|
+
ref: Oe,
|
|
13257
13257
|
className: B(m || r ? "relative flex min-w-0 flex-1 flex-col" : "relative min-w-0 flex-1", m && [
|
|
13258
13258
|
"z-10",
|
|
13259
13259
|
"after:pointer-events-none after:absolute after:bottom-0 after:left-0 after:z-0 after:shadow after:content-[''] xs:after:bottom-1 xs:after:rounded-xl",
|
|
@@ -13262,23 +13262,23 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13262
13262
|
]),
|
|
13263
13263
|
initial: !1,
|
|
13264
13264
|
animate: {
|
|
13265
|
-
paddingRight:
|
|
13266
|
-
paddingLeft:
|
|
13265
|
+
paddingRight: Xe.right,
|
|
13266
|
+
paddingLeft: Xe.left
|
|
13267
13267
|
},
|
|
13268
13268
|
transition: {
|
|
13269
|
-
paddingRight:
|
|
13270
|
-
paddingLeft:
|
|
13269
|
+
paddingRight: Qe,
|
|
13270
|
+
paddingLeft: Qe
|
|
13271
13271
|
},
|
|
13272
13272
|
children: [
|
|
13273
13273
|
r ? /* @__PURE__ */ Q("div", {
|
|
13274
|
-
...UO(
|
|
13275
|
-
className: B("relative z-10 flex shrink-0 items-center pb-0.5 pr-4 pt-2",
|
|
13276
|
-
style: { marginLeft: m ? g -
|
|
13274
|
+
...UO(ze),
|
|
13275
|
+
className: B("relative z-10 flex shrink-0 items-center pb-0.5 pr-4 pt-2", Ze ? B("transition-[margin]", wo) : "transition-none"),
|
|
13276
|
+
style: { marginLeft: m ? g - Ae : 0 },
|
|
13277
13277
|
children: r
|
|
13278
13278
|
}) : null,
|
|
13279
13279
|
/* @__PURE__ */ Q("main", {
|
|
13280
13280
|
id: "content",
|
|
13281
|
-
...UO(
|
|
13281
|
+
...UO(ze),
|
|
13282
13282
|
className: B("relative z-10 flex h-full max-w-full flex-1 xs:py-1", he ? "overflow-hidden" : "overflow-x-hidden overflow-y-auto", !Ce && "xs:pr-1", l === "locked" || m || be && Ce ? "pl-0" : "xs:pl-1", Ce && be && "xs:pr-1"),
|
|
13283
13283
|
children: /* @__PURE__ */ Q(Hy, {
|
|
13284
13284
|
composer: a,
|
|
@@ -13305,24 +13305,24 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13305
13305
|
left: 0,
|
|
13306
13306
|
right: oe
|
|
13307
13307
|
},
|
|
13308
|
-
insetTransition:
|
|
13308
|
+
insetTransition: Qe,
|
|
13309
13309
|
underChat: he,
|
|
13310
13310
|
covered: I,
|
|
13311
|
-
enterKind:
|
|
13312
|
-
exitKind:
|
|
13311
|
+
enterKind: We,
|
|
13312
|
+
exitKind: Ge,
|
|
13313
13313
|
onClose: F,
|
|
13314
13314
|
onPresenceChange: te
|
|
13315
13315
|
}) : null,
|
|
13316
13316
|
v ? (() => {
|
|
13317
13317
|
let t = (e, t, n, r) => /* @__PURE__ */ Q(Ln.div, {
|
|
13318
|
-
id: t &&
|
|
13318
|
+
id: t && ze ? "side-panel" : void 0,
|
|
13319
13319
|
"data-side-panel-container": "",
|
|
13320
13320
|
"data-side-panel-side": e,
|
|
13321
|
-
className: B("pointer-events-none", "[&_.copilotKitSidebarContentWrapper]:relative [&_.copilotKitSidebarContentWrapper]:h-full [&_.copilotKitSidebarContentWrapper]:w-full", C ? "absolute inset-0 z-[30]" : B("absolute top-0 bottom-0", e === "left" ? "left-0" : "right-0", he || ie ? "z-20" : "z-0", (l !== "locked" ||
|
|
13321
|
+
className: B("pointer-events-none", "[&_.copilotKitSidebarContentWrapper]:relative [&_.copilotKitSidebarContentWrapper]:h-full [&_.copilotKitSidebarContentWrapper]:w-full", C ? "absolute inset-0 z-[30]" : B("absolute top-0 bottom-0", e === "left" ? "left-0" : "right-0", he || ie ? "z-20" : "z-0", (l !== "locked" || Pe) && (e === "left" || re) && "md:pl-1")),
|
|
13322
13322
|
initial: !1,
|
|
13323
|
-
animate:
|
|
13324
|
-
width:
|
|
13325
|
-
left: e === "left" ? -
|
|
13323
|
+
animate: Pe && t && !C && Fe > 0 ? {
|
|
13324
|
+
width: Fe,
|
|
13325
|
+
left: e === "left" ? -Ae : "auto"
|
|
13326
13326
|
} : {
|
|
13327
13327
|
width: fs({
|
|
13328
13328
|
coversFrame: C,
|
|
@@ -13333,10 +13333,10 @@ function WO({ ai: e, children: t, navigation: n, topBar: r, banner: i, composer:
|
|
|
13333
13333
|
}),
|
|
13334
13334
|
left: e === "left" ? 0 : "auto"
|
|
13335
13335
|
},
|
|
13336
|
-
transition:
|
|
13336
|
+
transition: Ue(t, n),
|
|
13337
13337
|
children: r
|
|
13338
13338
|
}, `panel-${e}`);
|
|
13339
|
-
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(E, !ce || !ye,
|
|
13339
|
+
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(E, !ce || !ye, Te.current, /* @__PURE__ */ Q(Yi, {})) : null, !e?.enabled || ce ? t(O, ye || !e?.enabled, Ee.current, /* @__PURE__ */ Q(Uy, {})) : null] });
|
|
13340
13340
|
})() : null
|
|
13341
13341
|
]
|
|
13342
13342
|
})
|
|
@@ -13470,7 +13470,7 @@ var qO = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
13470
13470
|
duration: .2
|
|
13471
13471
|
}
|
|
13472
13472
|
},
|
|
13473
|
-
children: [/* @__PURE__ */ Q(
|
|
13473
|
+
children: [/* @__PURE__ */ Q(ec, {
|
|
13474
13474
|
type: "rounded",
|
|
13475
13475
|
name: [e, t],
|
|
13476
13476
|
src: n,
|
|
@@ -13489,8 +13489,8 @@ var qO = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
13489
13489
|
},
|
|
13490
13490
|
"aria-label": s.actions.edit,
|
|
13491
13491
|
children: /* @__PURE__ */ Q(U, {
|
|
13492
|
-
icon:
|
|
13493
|
-
color:
|
|
13492
|
+
icon: I[a],
|
|
13493
|
+
color: he[a],
|
|
13494
13494
|
size: "sm"
|
|
13495
13495
|
})
|
|
13496
13496
|
})
|
|
@@ -13567,7 +13567,7 @@ function YO({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
13567
13567
|
lastName: t.employeeLastName,
|
|
13568
13568
|
pulse: t.pulse,
|
|
13569
13569
|
onPulseClick: t.onPulseClick
|
|
13570
|
-
}) : /* @__PURE__ */ Q(
|
|
13570
|
+
}) : /* @__PURE__ */ Q(rc, {
|
|
13571
13571
|
src: t.employeeAvatar,
|
|
13572
13572
|
firstName: t.employeeFirstName,
|
|
13573
13573
|
lastName: t.employeeLastName,
|
|
@@ -14057,7 +14057,7 @@ var uk = Ln.create(U), dk = {
|
|
|
14057
14057
|
description: t,
|
|
14058
14058
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
14059
14059
|
icon: /* @__PURE__ */ Q(U, {
|
|
14060
|
-
icon:
|
|
14060
|
+
icon: Hc,
|
|
14061
14061
|
size: "lg"
|
|
14062
14062
|
}),
|
|
14063
14063
|
button: /* @__PURE__ */ Q(H, {
|
|
@@ -14119,11 +14119,11 @@ var uk = Ln.create(U), dk = {
|
|
|
14119
14119
|
label: n.actions.close
|
|
14120
14120
|
})
|
|
14121
14121
|
}) : null]
|
|
14122
|
-
}), /* @__PURE__ */ Q(
|
|
14122
|
+
}), /* @__PURE__ */ Q(Et, {
|
|
14123
14123
|
columns: { default: 1 },
|
|
14124
14124
|
showDots: !0,
|
|
14125
14125
|
showArrows: !1,
|
|
14126
|
-
children: e.products.map((e) => /* @__PURE__ */ Q(
|
|
14126
|
+
children: e.products.map((e) => /* @__PURE__ */ Q(nn, {
|
|
14127
14127
|
...e,
|
|
14128
14128
|
isVisible: !0,
|
|
14129
14129
|
trackVisibility: e.trackVisibility,
|
|
@@ -14179,7 +14179,7 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14179
14179
|
variant: "ghost",
|
|
14180
14180
|
hideLabel: !0,
|
|
14181
14181
|
label: "Back",
|
|
14182
|
-
icon:
|
|
14182
|
+
icon: Sc,
|
|
14183
14183
|
onClick: () => window.history.back()
|
|
14184
14184
|
})
|
|
14185
14185
|
}) : null, C || v ? /* @__PURE__ */ Q("div", {
|
|
@@ -14200,12 +14200,12 @@ function Dk({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
14200
14200
|
children: [
|
|
14201
14201
|
!i && _ ? /* @__PURE__ */ Q("div", { children: t.tooltip ? /* @__PURE__ */ Q(In, {
|
|
14202
14202
|
label: t.tooltip,
|
|
14203
|
-
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(
|
|
14203
|
+
children: /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(Ec, {
|
|
14204
14204
|
text: t.text,
|
|
14205
14205
|
variant: t.variant,
|
|
14206
14206
|
additionalAccessibleText: t.tooltip
|
|
14207
14207
|
}) })
|
|
14208
|
-
}) : /* @__PURE__ */ Q(
|
|
14208
|
+
}) : /* @__PURE__ */ Q(Ec, {
|
|
14209
14209
|
text: t.text,
|
|
14210
14210
|
variant: t.variant
|
|
14211
14211
|
}) }) : null,
|
|
@@ -14414,7 +14414,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14414
14414
|
}, eA = ({ isOpen: e, css: t, instant: n }) => t ? /* @__PURE__ */ Q("div", {
|
|
14415
14415
|
className: B("flex h-3 w-3 items-center justify-center transition-transform duration-100 motion-reduce:transition-none", !e && "-rotate-90"),
|
|
14416
14416
|
children: /* @__PURE__ */ Q(U, {
|
|
14417
|
-
icon:
|
|
14417
|
+
icon: tc,
|
|
14418
14418
|
size: "xs"
|
|
14419
14419
|
})
|
|
14420
14420
|
}) : /* @__PURE__ */ Q(Ln.div, {
|
|
@@ -14423,7 +14423,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14423
14423
|
transition: { duration: n ? 0 : .1 },
|
|
14424
14424
|
className: "flex h-3 w-3 items-center justify-center",
|
|
14425
14425
|
children: /* @__PURE__ */ Q(U, {
|
|
14426
|
-
icon:
|
|
14426
|
+
icon: tc,
|
|
14427
14427
|
size: "xs"
|
|
14428
14428
|
})
|
|
14429
14429
|
}), tA = ({ isOpen: e, css: t, instant: n, children: r }) => t ? /* @__PURE__ */ Q("div", {
|
|
@@ -14528,7 +14528,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14528
14528
|
}), cA = Gu(null), lA = () => Xu(cA), uA = ({ value: e, onChange: t, placeholder: n }) => /* @__PURE__ */ $("div", {
|
|
14529
14529
|
className: B("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"),
|
|
14530
14530
|
children: [/* @__PURE__ */ Q(U, {
|
|
14531
|
-
icon:
|
|
14531
|
+
icon: Xs,
|
|
14532
14532
|
size: "md"
|
|
14533
14533
|
}), /* @__PURE__ */ Q("input", {
|
|
14534
14534
|
type: "search",
|
|
@@ -14559,7 +14559,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14559
14559
|
}),
|
|
14560
14560
|
e.tag || n ? /* @__PURE__ */ $("span", {
|
|
14561
14561
|
className: "ml-auto flex shrink-0 items-center gap-1.5",
|
|
14562
|
-
children: [e.tag ? /* @__PURE__ */ Q(
|
|
14562
|
+
children: [e.tag ? /* @__PURE__ */ Q(hc, { text: e.tag }) : null, n ? /* @__PURE__ */ Q(dA, { badge: n }) : null]
|
|
14563
14563
|
}) : null
|
|
14564
14564
|
] });
|
|
14565
14565
|
return e.href ? /* @__PURE__ */ Q(Un, {
|
|
@@ -14817,7 +14817,7 @@ var Yk = (e) => e.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu, ""),
|
|
|
14817
14817
|
children: A
|
|
14818
14818
|
});
|
|
14819
14819
|
}, xA = gn(function() {
|
|
14820
|
-
return process.env.NODE_ENV !== "test" &&
|
|
14820
|
+
return process.env.NODE_ENV !== "test" && an() && "ontouchend" in document;
|
|
14821
14821
|
}), SA = function(e) {
|
|
14822
14822
|
var t = e.container.getBoundingClientRect();
|
|
14823
14823
|
return {
|
|
@@ -14856,13 +14856,13 @@ function TA(e) {
|
|
|
14856
14856
|
position: "fixed",
|
|
14857
14857
|
top: 0,
|
|
14858
14858
|
left: 0,
|
|
14859
|
-
zIndex:
|
|
14859
|
+
zIndex: Qe,
|
|
14860
14860
|
pointerEvents: "none"
|
|
14861
14861
|
}), document.body.append(a);
|
|
14862
14862
|
var o = t({ container: a });
|
|
14863
14863
|
queueMicrotask(function() {
|
|
14864
14864
|
var e = i({ container: a });
|
|
14865
|
-
if (
|
|
14865
|
+
if (an()) {
|
|
14866
14866
|
var t = a.getBoundingClientRect();
|
|
14867
14867
|
if (t.width === 0) return;
|
|
14868
14868
|
a.style.left = `-${t.width - 1e-4}px`;
|
|
@@ -14872,7 +14872,7 @@ function TA(e) {
|
|
|
14872
14872
|
function s() {
|
|
14873
14873
|
c(), o?.(), document.body.removeChild(a);
|
|
14874
14874
|
}
|
|
14875
|
-
var c =
|
|
14875
|
+
var c = mt({
|
|
14876
14876
|
onDragStart: s,
|
|
14877
14877
|
onDrop: s
|
|
14878
14878
|
});
|
|
@@ -14935,7 +14935,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
14935
14935
|
});
|
|
14936
14936
|
let o = e !== void 0;
|
|
14937
14937
|
K(function() {
|
|
14938
|
-
if (o) return
|
|
14938
|
+
if (o) return mt({
|
|
14939
14939
|
canMonitor: ({ source: e }) => e.data.instanceId === n,
|
|
14940
14940
|
onDrop: ({ source: e, location: n }) => {
|
|
14941
14941
|
let o = n.current.dropTargets[0], s = a.current, c = t.current ?? [], l = o?.data.groupId;
|
|
@@ -14998,7 +14998,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
14998
14998
|
});
|
|
14999
14999
|
}, l = () => {
|
|
15000
15000
|
c(!1), u(null);
|
|
15001
|
-
}, d = [
|
|
15001
|
+
}, d = [Dt({
|
|
15002
15002
|
element: t,
|
|
15003
15003
|
canDrop: ({ source: t }) => {
|
|
15004
15004
|
if (t.data.instanceId !== i) return !1;
|
|
@@ -15009,7 +15009,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15009
15009
|
return DA(t.data) && e.movable === !0 && t.data.groupId !== e.id;
|
|
15010
15010
|
},
|
|
15011
15011
|
getData: ({ input: n, source: r }) => {
|
|
15012
|
-
let i =
|
|
15012
|
+
let i = at({ groupId: e.id }, {
|
|
15013
15013
|
input: n,
|
|
15014
15014
|
element: t,
|
|
15015
15015
|
allowedEdges: ["top", "bottom"]
|
|
@@ -15024,7 +15024,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15024
15024
|
onDragLeave: l,
|
|
15025
15025
|
onDrop: l
|
|
15026
15026
|
})];
|
|
15027
|
-
return e.movable && n && d.push(
|
|
15027
|
+
return e.movable && n && d.push(It({
|
|
15028
15028
|
element: t,
|
|
15029
15029
|
dragHandle: n,
|
|
15030
15030
|
getInitialData: () => ({
|
|
@@ -15044,7 +15044,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15044
15044
|
},
|
|
15045
15045
|
onDragStart: () => f(!0),
|
|
15046
15046
|
onDrop: () => f(!1)
|
|
15047
|
-
})),
|
|
15047
|
+
})), We(...d);
|
|
15048
15048
|
}, [
|
|
15049
15049
|
e,
|
|
15050
15050
|
r,
|
|
@@ -15061,7 +15061,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15061
15061
|
visible: s,
|
|
15062
15062
|
label: n.t("chat.organize.dropInto", { section: e.title })
|
|
15063
15063
|
}),
|
|
15064
|
-
l ? /* @__PURE__ */ Q(
|
|
15064
|
+
l ? /* @__PURE__ */ Q(St, {
|
|
15065
15065
|
edge: l,
|
|
15066
15066
|
type: "no-terminal",
|
|
15067
15067
|
gap: "8px"
|
|
@@ -15096,7 +15096,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15096
15096
|
}
|
|
15097
15097
|
})), ...i.onCreateGroup ? [...l.length > 0 ? [{ type: "separator" }] : [], {
|
|
15098
15098
|
label: r.chat.organize.newSection,
|
|
15099
|
-
icon:
|
|
15099
|
+
icon: gl,
|
|
15100
15100
|
onClick: () => o({
|
|
15101
15101
|
kind: "create",
|
|
15102
15102
|
seedChatId: e.id
|
|
@@ -15125,7 +15125,7 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15125
15125
|
let r = R(), i = LA(), { instanceId: a, dragEnabled: o } = i, s = Y(null), [c, l] = X(!1), [u, d] = X(!1);
|
|
15126
15126
|
K(function() {
|
|
15127
15127
|
let n = s.current;
|
|
15128
|
-
if (n && o && !e.loading) return
|
|
15128
|
+
if (n && o && !e.loading) return It({
|
|
15129
15129
|
element: n,
|
|
15130
15130
|
getInitialData: () => ({
|
|
15131
15131
|
type: "sidebar-chat",
|
|
@@ -15180,19 +15180,19 @@ var EA = (e) => e.type === "sidebar-chat", DA = (e) => e.type === "sidebar-group
|
|
|
15180
15180
|
r && (n.onMoveGroup(r), a(t.t("chat.organize.sectionMoved", { section: e.title })));
|
|
15181
15181
|
}, f = [...u ? [{
|
|
15182
15182
|
label: t.chat.organize.rename,
|
|
15183
|
-
icon:
|
|
15183
|
+
icon: fc,
|
|
15184
15184
|
onClick: () => i({
|
|
15185
15185
|
kind: "rename",
|
|
15186
15186
|
group: e
|
|
15187
15187
|
})
|
|
15188
15188
|
}] : [], ...e.movable ? [{
|
|
15189
15189
|
label: t.chat.organize.moveSectionUp,
|
|
15190
|
-
icon:
|
|
15190
|
+
icon: Fc,
|
|
15191
15191
|
disabled: c === null,
|
|
15192
15192
|
onClick: () => d(c)
|
|
15193
15193
|
}, {
|
|
15194
15194
|
label: t.chat.organize.moveSectionDown,
|
|
15195
|
-
icon:
|
|
15195
|
+
icon: gc,
|
|
15196
15196
|
disabled: l === null,
|
|
15197
15197
|
onClick: () => d(l)
|
|
15198
15198
|
}] : []];
|
|
@@ -15370,7 +15370,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15370
15370
|
icon: l.icon,
|
|
15371
15371
|
size: "md"
|
|
15372
15372
|
})
|
|
15373
|
-
}) : l?.kind === "avatar" ? /* @__PURE__ */ Q(
|
|
15373
|
+
}) : l?.kind === "avatar" ? /* @__PURE__ */ Q(sc, {
|
|
15374
15374
|
size: "xs",
|
|
15375
15375
|
avatar: l.avatar
|
|
15376
15376
|
}) : null, o ? /* @__PURE__ */ Q(oj, {
|
|
@@ -15422,7 +15422,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15422
15422
|
}), e.pinPending && u ? /* @__PURE__ */ Q("div", {
|
|
15423
15423
|
className: "absolute right-1.5 top-1/2 flex h-7 w-7 -translate-y-1/2 items-center justify-center",
|
|
15424
15424
|
"aria-label": e.pinned ? i.chat.unpin : i.chat.pin,
|
|
15425
|
-
children: /* @__PURE__ */ Q(
|
|
15425
|
+
children: /* @__PURE__ */ Q(Ic, { size: "small" })
|
|
15426
15426
|
}) : r ? /* @__PURE__ */ Q("div", {
|
|
15427
15427
|
"data-row-control": "",
|
|
15428
15428
|
className: B("absolute right-1.5 top-1/2 -translate-y-1/2", "opacity-0 transition-opacity focus-within:opacity-100 group-hover/row:opacity-100 has-[[data-state=open]]:opacity-100"),
|
|
@@ -15648,7 +15648,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15648
15648
|
size: "md"
|
|
15649
15649
|
})
|
|
15650
15650
|
});
|
|
15651
|
-
case "avatar": return /* @__PURE__ */ Q(
|
|
15651
|
+
case "avatar": return /* @__PURE__ */ Q(sc, {
|
|
15652
15652
|
size: "sm",
|
|
15653
15653
|
avatar: t.avatar
|
|
15654
15654
|
});
|
|
@@ -15701,7 +15701,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15701
15701
|
className: B("flex items-end gap-1", e.isMine ? "justify-end" : "justify-start"),
|
|
15702
15702
|
children: [!e.isMine && n ? /* @__PURE__ */ Q("span", {
|
|
15703
15703
|
className: "flex size-5 shrink-0 items-end",
|
|
15704
|
-
children: t && e.authorAvatar ? /* @__PURE__ */ Q(
|
|
15704
|
+
children: t && e.authorAvatar ? /* @__PURE__ */ Q(sc, {
|
|
15705
15705
|
size: "xs",
|
|
15706
15706
|
avatar: e.authorAvatar
|
|
15707
15707
|
}) : null
|
|
@@ -15774,7 +15774,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15774
15774
|
switch (e.kind) {
|
|
15775
15775
|
case "file": return /* @__PURE__ */ $("span", {
|
|
15776
15776
|
className: "flex w-56 max-w-full items-center gap-2 rounded-lg bg-f1-background/70 p-1.5",
|
|
15777
|
-
children: [/* @__PURE__ */ Q(
|
|
15777
|
+
children: [/* @__PURE__ */ Q(dc, {
|
|
15778
15778
|
size: "sm",
|
|
15779
15779
|
file: {
|
|
15780
15780
|
name: e.name,
|
|
@@ -15872,7 +15872,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
15872
15872
|
className: B("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"),
|
|
15873
15873
|
children: [e.avatar ? /* @__PURE__ */ Q("span", {
|
|
15874
15874
|
className: "flex shrink-0 items-center self-start pt-0.5",
|
|
15875
|
-
children: /* @__PURE__ */ Q(
|
|
15875
|
+
children: /* @__PURE__ */ Q(sc, {
|
|
15876
15876
|
size: "xs",
|
|
15877
15877
|
avatar: e.avatar
|
|
15878
15878
|
})
|
|
@@ -16085,7 +16085,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
16085
16085
|
}), /* @__PURE__ */ $("span", {
|
|
16086
16086
|
className: "flex items-center gap-px text-sm tabular-nums",
|
|
16087
16087
|
children: [e ? null : t, /* @__PURE__ */ Q(U, {
|
|
16088
|
-
icon: e ?
|
|
16088
|
+
icon: e ? jc : tc,
|
|
16089
16089
|
size: "sm"
|
|
16090
16090
|
})]
|
|
16091
16091
|
})]
|
|
@@ -16309,7 +16309,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
16309
16309
|
variant: "outline",
|
|
16310
16310
|
size: "sm",
|
|
16311
16311
|
className: "pointer-events-auto shadow-md",
|
|
16312
|
-
icon:
|
|
16312
|
+
icon: Fc,
|
|
16313
16313
|
label: M(k.count),
|
|
16314
16314
|
"aria-label": N("above", k.count),
|
|
16315
16315
|
onClick: (e) => j("above", e.currentTarget)
|
|
@@ -16325,7 +16325,7 @@ var $A = bn(QA), ej = (e, t) => e.type === "emoji" ? {
|
|
|
16325
16325
|
variant: "outline",
|
|
16326
16326
|
size: "sm",
|
|
16327
16327
|
className: "pointer-events-auto shadow-md",
|
|
16328
|
-
icon:
|
|
16328
|
+
icon: gc,
|
|
16329
16329
|
label: M(A.count),
|
|
16330
16330
|
"aria-label": N("below", A.count),
|
|
16331
16331
|
onClick: (e) => j("below", e.currentTarget)
|
|
@@ -16616,7 +16616,7 @@ var iM = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
16616
16616
|
transition: { duration: .2 },
|
|
16617
16617
|
className: "flex h-3 w-3 shrink-0 items-center justify-center text-f1-icon-bold",
|
|
16618
16618
|
children: /* @__PURE__ */ Q(U, {
|
|
16619
|
-
icon:
|
|
16619
|
+
icon: tc,
|
|
16620
16620
|
size: "xs"
|
|
16621
16621
|
})
|
|
16622
16622
|
})
|
|
@@ -16624,7 +16624,7 @@ var iM = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
16624
16624
|
})]
|
|
16625
16625
|
})
|
|
16626
16626
|
});
|
|
16627
|
-
}, oM = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(
|
|
16627
|
+
}, oM = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(uc, {
|
|
16628
16628
|
name: e?.name?.[0],
|
|
16629
16629
|
src: e?.logo,
|
|
16630
16630
|
size: n,
|
|
@@ -16676,14 +16676,14 @@ function cM({ user: e, profile: t, options: n, onDropdownClick: r, compact: i =
|
|
|
16676
16676
|
focused: o,
|
|
16677
16677
|
children: /* @__PURE__ */ Q("span", {
|
|
16678
16678
|
className: B("flex size-full items-center justify-center", Xj),
|
|
16679
|
-
children: /* @__PURE__ */ Q(
|
|
16679
|
+
children: /* @__PURE__ */ Q(rc, {
|
|
16680
16680
|
src: e.avatarUrl,
|
|
16681
16681
|
firstName: e.firstName,
|
|
16682
16682
|
lastName: e.lastName,
|
|
16683
16683
|
size: "sm"
|
|
16684
16684
|
})
|
|
16685
16685
|
})
|
|
16686
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
16686
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(rc, {
|
|
16687
16687
|
src: e.avatarUrl,
|
|
16688
16688
|
firstName: e.firstName,
|
|
16689
16689
|
lastName: e.lastName,
|
|
@@ -16735,7 +16735,7 @@ function lM({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
16735
16735
|
hideLabel: !0
|
|
16736
16736
|
}), o ? /* @__PURE__ */ Q("div", {
|
|
16737
16737
|
className: "absolute -right-1 -top-1 rounded-full bg-f1-background",
|
|
16738
|
-
children: /* @__PURE__ */ Q(
|
|
16738
|
+
children: /* @__PURE__ */ Q(oc, {
|
|
16739
16739
|
type: "highlight",
|
|
16740
16740
|
size: "sm",
|
|
16741
16741
|
icon: Ja
|
|
@@ -16823,7 +16823,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16823
16823
|
}), /* @__PURE__ */ Q("span", { children: e.label })]
|
|
16824
16824
|
}), e.tag || e.badge ? /* @__PURE__ */ $("div", {
|
|
16825
16825
|
className: "flex flex-shrink-0 items-center gap-1.5",
|
|
16826
|
-
children: [e.tag ? /* @__PURE__ */ Q(
|
|
16826
|
+
children: [e.tag ? /* @__PURE__ */ Q(hc, { text: e.tag }) : null, e.badge ? /* @__PURE__ */ Q(Pn, {
|
|
16827
16827
|
value: e.badge,
|
|
16828
16828
|
size: "sm",
|
|
16829
16829
|
type: "bold"
|
|
@@ -16907,7 +16907,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16907
16907
|
icon: e.icon,
|
|
16908
16908
|
size: "md",
|
|
16909
16909
|
className: B(!c && "transition-colors", h ? "text-f1-icon-bold" : "text-f1-icon")
|
|
16910
|
-
}) : e.avatar ? /* @__PURE__ */ Q(
|
|
16910
|
+
}) : e.avatar ? /* @__PURE__ */ Q(sc, {
|
|
16911
16911
|
size: "xs",
|
|
16912
16912
|
avatar: e.avatar
|
|
16913
16913
|
}) : null, /* @__PURE__ */ Q(rr, {
|
|
@@ -16944,7 +16944,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16944
16944
|
S,
|
|
16945
16945
|
t
|
|
16946
16946
|
]);
|
|
16947
|
-
return s ? /* @__PURE__ */ Q(
|
|
16947
|
+
return s ? /* @__PURE__ */ Q(Ze, {
|
|
16948
16948
|
value: e,
|
|
16949
16949
|
drag: "y",
|
|
16950
16950
|
onDragStart: C,
|
|
@@ -16957,7 +16957,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16957
16957
|
children: D
|
|
16958
16958
|
});
|
|
16959
16959
|
}, yM = ({ category: e, isSortable: t = !1, onCollapse: n, onDragEnd: r, currentOrder: i }) => {
|
|
16960
|
-
let a = Jo() === "two-level", { isDragging: o, setIsDragging: s } = mM(), c = Y(!1), l =
|
|
16960
|
+
let a = Jo() === "two-level", { isDragging: o, setIsDragging: s } = mM(), c = Y(!1), l = ye(), u = () => {
|
|
16961
16961
|
s(!0), c.current = !0;
|
|
16962
16962
|
}, d = () => {
|
|
16963
16963
|
s(!1), setTimeout(() => {
|
|
@@ -16977,7 +16977,7 @@ var hM = ({ item: e, active: t }) => {
|
|
|
16977
16977
|
children: e.items.map((e) => /* @__PURE__ */ Q(_M, { item: e }, `${e.href ?? ""}|${e.label}`))
|
|
16978
16978
|
})
|
|
16979
16979
|
});
|
|
16980
|
-
return t ? /* @__PURE__ */ Q(
|
|
16980
|
+
return t ? /* @__PURE__ */ Q(Ze, {
|
|
16981
16981
|
id: e.id,
|
|
16982
16982
|
value: e,
|
|
16983
16983
|
dragControls: l,
|
|
@@ -17145,7 +17145,7 @@ function xM({ nonSortableItems: e, sortableItems: t, setSortableItems: n, contai
|
|
|
17145
17145
|
children: l ? /* @__PURE__ */ Q("div", {
|
|
17146
17146
|
className: w,
|
|
17147
17147
|
children: E
|
|
17148
|
-
}) : /* @__PURE__ */ Q(
|
|
17148
|
+
}) : /* @__PURE__ */ Q(fn, {
|
|
17149
17149
|
axis: "y",
|
|
17150
17150
|
values: h,
|
|
17151
17151
|
onReorder: v,
|
|
@@ -17167,7 +17167,7 @@ function xM({ nonSortableItems: e, sortableItems: t, setSortableItems: n, contai
|
|
|
17167
17167
|
children: l ? /* @__PURE__ */ Q("div", {
|
|
17168
17168
|
className: D,
|
|
17169
17169
|
children: O
|
|
17170
|
-
}) : /* @__PURE__ */ Q(
|
|
17170
|
+
}) : /* @__PURE__ */ Q(fn, {
|
|
17171
17171
|
axis: "y",
|
|
17172
17172
|
values: t,
|
|
17173
17173
|
onReorder: n,
|
|
@@ -17519,7 +17519,7 @@ var IM = 350, LM = (e = !0) => {
|
|
|
17519
17519
|
className: "flex w-full shrink-0 flex-col pb-0.5 pt-1",
|
|
17520
17520
|
children: /* @__PURE__ */ Q(WM, { action: {
|
|
17521
17521
|
id: "search",
|
|
17522
|
-
icon:
|
|
17522
|
+
icon: Xs,
|
|
17523
17523
|
shortcut: t,
|
|
17524
17524
|
...e
|
|
17525
17525
|
} })
|
|
@@ -17880,7 +17880,7 @@ function fN({ onClick: e, placeholder: t, shortcut: n = ["cmd", "k"], ...r }) {
|
|
|
17880
17880
|
children: [/* @__PURE__ */ $("div", {
|
|
17881
17881
|
className: "flex items-center gap-1",
|
|
17882
17882
|
children: [/* @__PURE__ */ Q(U, {
|
|
17883
|
-
icon:
|
|
17883
|
+
icon: Xs,
|
|
17884
17884
|
size: "md"
|
|
17885
17885
|
}), /* @__PURE__ */ Q("span", { children: t })]
|
|
17886
17886
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -18262,7 +18262,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18262
18262
|
}, NN = ({ avatar: e }) => {
|
|
18263
18263
|
let { t } = R();
|
|
18264
18264
|
switch (e.type) {
|
|
18265
|
-
case "unassigned": return /* @__PURE__ */ Q(
|
|
18265
|
+
case "unassigned": return /* @__PURE__ */ Q(sc, {
|
|
18266
18266
|
avatar: {
|
|
18267
18267
|
type: "person",
|
|
18268
18268
|
firstName: "",
|
|
@@ -18277,7 +18277,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18277
18277
|
tint: e.tint,
|
|
18278
18278
|
label: e.label
|
|
18279
18279
|
});
|
|
18280
|
-
default: return /* @__PURE__ */ Q(
|
|
18280
|
+
default: return /* @__PURE__ */ Q(sc, {
|
|
18281
18281
|
avatar: e,
|
|
18282
18282
|
size: "lg"
|
|
18283
18283
|
});
|
|
@@ -18286,7 +18286,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18286
18286
|
"aria-hidden": "true",
|
|
18287
18287
|
className: B("flex h-4 w-4 shrink-0 items-center justify-center text-f1-icon transition-transform duration-100 motion-reduce:transition-none", !e && "-rotate-90"),
|
|
18288
18288
|
children: /* @__PURE__ */ Q(U, {
|
|
18289
|
-
icon:
|
|
18289
|
+
icon: tc,
|
|
18290
18290
|
size: "sm"
|
|
18291
18291
|
})
|
|
18292
18292
|
}), FN = 40, IN = 450, LN = 900, RN = "cubic-bezier(0.33, 0.67, 0.67, 1)", zN = 20, BN = "[-webkit-mask-image:linear-gradient(to_right,black_calc(100%_-_20px),transparent)] [mask-image:linear-gradient(to_right,black_calc(100%_-_20px),transparent)]", VN = "[-webkit-mask-image:linear-gradient(to_right,transparent,black_6px,black_calc(100%_-_20px),transparent)] [mask-image:linear-gradient(to_right,transparent,black_6px,black_calc(100%_-_20px),transparent)]", HN = (e) => {
|
|
@@ -18353,7 +18353,7 @@ var _N = bn(gN), vN = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
18353
18353
|
children: /* @__PURE__ */ $("span", {
|
|
18354
18354
|
className: "inline-flex h-[18px] items-center rounded-full border border-solid border-f1-border-secondary px-1 text-sm font-medium leading-none tabular-nums text-f1-foreground-secondary",
|
|
18355
18355
|
children: [
|
|
18356
|
-
/* @__PURE__ */ Q(
|
|
18356
|
+
/* @__PURE__ */ Q(Kc, {
|
|
18357
18357
|
value: e.completed,
|
|
18358
18358
|
animated: !n,
|
|
18359
18359
|
"aria-hidden": "true"
|
|
@@ -18714,7 +18714,7 @@ function MP(e) {
|
|
|
18714
18714
|
return AP[e ?? "neutral"] ?? 0;
|
|
18715
18715
|
}
|
|
18716
18716
|
var NP = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approvalDate: i }) => {
|
|
18717
|
-
let a = R(), o =
|
|
18717
|
+
let a = R(), o = cl(), 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) => {
|
|
18718
18718
|
let t = jP(e.status);
|
|
18719
18719
|
return {
|
|
18720
18720
|
firstName: e.firstName,
|
|
@@ -18734,14 +18734,14 @@ var NP = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
18734
18734
|
}), /* @__PURE__ */ Q("p", {
|
|
18735
18735
|
className: "text-f1-foreground-secondary",
|
|
18736
18736
|
children: s
|
|
18737
|
-
})] }), /* @__PURE__ */ Q(
|
|
18737
|
+
})] }), /* @__PURE__ */ Q(Ec, {
|
|
18738
18738
|
text: c,
|
|
18739
18739
|
variant: DP[n]
|
|
18740
18740
|
})]
|
|
18741
18741
|
}),
|
|
18742
18742
|
/* @__PURE__ */ Q("div", {
|
|
18743
18743
|
className: "w-full",
|
|
18744
|
-
children: /* @__PURE__ */ Q(
|
|
18744
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
18745
18745
|
avatars: l,
|
|
18746
18746
|
layout: "fill",
|
|
18747
18747
|
type: "person",
|
|
@@ -18750,7 +18750,7 @@ var NP = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
18750
18750
|
}),
|
|
18751
18751
|
i ? /* @__PURE__ */ Q("p", {
|
|
18752
18752
|
className: "text-sm text-f1-foreground-secondary",
|
|
18753
|
-
children:
|
|
18753
|
+
children: qc(i, "PP", { locale: o })
|
|
18754
18754
|
}) : null
|
|
18755
18755
|
]
|
|
18756
18756
|
});
|
|
@@ -18814,7 +18814,7 @@ function IP(e, t, n) {
|
|
|
18814
18814
|
//#endregion
|
|
18815
18815
|
//#region src/addons/data-collection/OneDataCollection/hooks/useDataCollectionItemNavigation/useDataCollectionItemNavigation.ts
|
|
18816
18816
|
function LP(e) {
|
|
18817
|
-
let { source: t, collectionId: r, activeItemId: i, defaultActiveItemId: a, onActiveItemChange: o, idProvider: s, itemUrl: c, getItemTitle: l, enabled: u = !0, restorePersistedState: d = !0, currentFilters: f, navigationMode: p = "url", deps: m = [] } = e, h = si(), g =
|
|
18817
|
+
let { source: t, collectionId: r, activeItemId: i, defaultActiveItemId: a, onActiveItemChange: o, idProvider: s, itemUrl: c, getItemTitle: l, enabled: u = !0, restorePersistedState: d = !0, currentFilters: f, navigationMode: p = "url", deps: m = [] } = e, h = si(), g = ve(t, m), [_, v] = X(null), y = _?.key === r && _.settled, b = Y(g);
|
|
18818
18818
|
b.current = g;
|
|
18819
18819
|
let x = Y(h);
|
|
18820
18820
|
x.current = h;
|
|
@@ -18878,7 +18878,7 @@ function LP(e) {
|
|
|
18878
18878
|
u,
|
|
18879
18879
|
d
|
|
18880
18880
|
]);
|
|
18881
|
-
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } =
|
|
18881
|
+
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } = ic(g, {
|
|
18882
18882
|
enabled: u && y,
|
|
18883
18883
|
fetchParamsProvider: (e) => ({
|
|
18884
18884
|
...e,
|
|
@@ -18909,7 +18909,7 @@ function LP(e) {
|
|
|
18909
18909
|
}] : [], ...g.currentGrouping ? [{
|
|
18910
18910
|
field: g.currentGrouping.field,
|
|
18911
18911
|
order: g.currentGrouping.order ?? "asc"
|
|
18912
|
-
}] : []], { neighbors: ie, isSupported: ae } =
|
|
18912
|
+
}] : []], { neighbors: ie, isSupported: ae } = Zt({
|
|
18913
18913
|
dataAdapter: g.dataAdapter,
|
|
18914
18914
|
id: F,
|
|
18915
18915
|
filters: g.currentFilters,
|
|
@@ -18920,7 +18920,7 @@ function LP(e) {
|
|
|
18920
18920
|
...e,
|
|
18921
18921
|
navigationFilters: g.currentNavigationFilters
|
|
18922
18922
|
})
|
|
18923
|
-
}), oe = J(() => s || (g.idProvider ? (e, t) => g.idProvider(e, t) :
|
|
18923
|
+
}), oe = J(() => s || (g.idProvider ? (e, t) => g.idProvider(e, t) : pe), [s, g.idProvider]), se = J(() => {
|
|
18924
18924
|
if (!ne || ie === null) return P;
|
|
18925
18925
|
let e = P.previousItem ?? ie.previous, t = P.nextItem ?? ie.next, n = (e) => e && N ? N(e) ?? null : null;
|
|
18926
18926
|
return {
|
|
@@ -19090,7 +19090,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19090
19090
|
children: [/* @__PURE__ */ Q("span", {
|
|
19091
19091
|
className: B("flex shrink-0 items-center justify-center", u[a ? "phone" : "desktop"], l && B(a ? "rounded" : "rounded-sm", l.className)),
|
|
19092
19092
|
style: l?.style,
|
|
19093
|
-
children: e.avatar ? /* @__PURE__ */ Q(
|
|
19093
|
+
children: e.avatar ? /* @__PURE__ */ Q(rc, {
|
|
19094
19094
|
firstName: e.avatar.firstName,
|
|
19095
19095
|
lastName: e.avatar.lastName,
|
|
19096
19096
|
src: e.avatar.src,
|
|
@@ -19248,7 +19248,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19248
19248
|
onClick: a,
|
|
19249
19249
|
children: [n ? /* @__PURE__ */ Q("span", {
|
|
19250
19250
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
19251
|
-
children: /* @__PURE__ */ Q(
|
|
19251
|
+
children: /* @__PURE__ */ Q(rc, {
|
|
19252
19252
|
firstName: n.firstName,
|
|
19253
19253
|
lastName: n.lastName,
|
|
19254
19254
|
src: n.src,
|
|
@@ -19270,7 +19270,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19270
19270
|
className: B("flex items-center gap-2.5 border-0 border-solid border-f1-border-secondary px-4 py-3.5", v ? "border-t" : "border-b"),
|
|
19271
19271
|
children: [
|
|
19272
19272
|
/* @__PURE__ */ Q(U, {
|
|
19273
|
-
icon:
|
|
19273
|
+
icon: Xs,
|
|
19274
19274
|
size: "md",
|
|
19275
19275
|
color: "secondary"
|
|
19276
19276
|
}),
|
|
@@ -19414,7 +19414,7 @@ var RP = (e) => e, zP = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
19414
19414
|
key: "actions",
|
|
19415
19415
|
label: p.rowActions.actionsFor(e.label),
|
|
19416
19416
|
tip: p.rowActions.actions,
|
|
19417
|
-
icon:
|
|
19417
|
+
icon: yc,
|
|
19418
19418
|
run: () => g(e)
|
|
19419
19419
|
}] : [], ...r ? [{
|
|
19420
19420
|
key: "copy",
|
|
@@ -19767,7 +19767,7 @@ var IF = ({ open: e, onOpenChange: t, initialScope: n, groups: r, recent: i, max
|
|
|
19767
19767
|
n && (k(t), n.focus());
|
|
19768
19768
|
}, []), ue = G((e) => {
|
|
19769
19769
|
let t = new URL(e, window.location.origin).toString();
|
|
19770
|
-
navigator.clipboard?.writeText(t),
|
|
19770
|
+
navigator.clipboard?.writeText(t), Gt.open({
|
|
19771
19771
|
title: d.rowActions.linkCopied,
|
|
19772
19772
|
variant: "success"
|
|
19773
19773
|
}), j(d.announce.linkCopied(t));
|
|
@@ -20657,7 +20657,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20657
20657
|
}, e.id))
|
|
20658
20658
|
});
|
|
20659
20659
|
}, SL = ({ posts: e, onDone: t }) => {
|
|
20660
|
-
let n = R(), r =
|
|
20660
|
+
let n = R(), r = cl(), { scheduledActions: i, openScheduledPost: a } = zu(), o = Du();
|
|
20661
20661
|
return /* @__PURE__ */ Q("ul", {
|
|
20662
20662
|
className: "m-0 flex list-none flex-col p-0",
|
|
20663
20663
|
"data-testid": "shelf-scheduled",
|
|
@@ -20673,7 +20673,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20673
20673
|
icon: Ba,
|
|
20674
20674
|
size: "sm"
|
|
20675
20675
|
}), wL(e.scheduledFor, r)]
|
|
20676
|
-
}), e.event ? /* @__PURE__ */ Q(
|
|
20676
|
+
}), e.event ? /* @__PURE__ */ Q(hc, {
|
|
20677
20677
|
icon: Ds,
|
|
20678
20678
|
text: n.t("chat.community.scheduledEvent")
|
|
20679
20679
|
}) : null] }),
|
|
@@ -20690,7 +20690,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20690
20690
|
})
|
|
20691
20691
|
});
|
|
20692
20692
|
}, CL = ({ posts: e, onDone: t }) => {
|
|
20693
|
-
let n = R(), r =
|
|
20693
|
+
let n = R(), r = cl(), { draftActions: i, openDraftPost: a } = zu();
|
|
20694
20694
|
return /* @__PURE__ */ Q("ul", {
|
|
20695
20695
|
className: "m-0 flex list-none flex-col p-0",
|
|
20696
20696
|
"data-testid": "shelf-drafts",
|
|
@@ -20722,7 +20722,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20722
20722
|
});
|
|
20723
20723
|
}, wL = (e, t) => {
|
|
20724
20724
|
let n = new Date(e);
|
|
20725
|
-
return `${
|
|
20725
|
+
return `${ml(n, /* @__PURE__ */ new Date()) || cd(n) ? qc(n, "EEEE", { locale: t }) : qc(n, "d MMM", { locale: t })} · ${qc(n, "HH:mm")}`;
|
|
20726
20726
|
}, TL = ({ title: e, untitled: t, excerpt: n, thumbnailUrl: r, meta: i, onClick: a, actions: o }) => /* @__PURE__ */ $("li", {
|
|
20727
20727
|
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",
|
|
20728
20728
|
children: [a ? /* @__PURE__ */ Q("button", {
|
|
@@ -20859,7 +20859,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20859
20859
|
children: [
|
|
20860
20860
|
/* @__PURE__ */ Q("div", {
|
|
20861
20861
|
className: "min-w-0 flex-1",
|
|
20862
|
-
children: /* @__PURE__ */ Q(
|
|
20862
|
+
children: /* @__PURE__ */ Q(tl, {
|
|
20863
20863
|
value: t,
|
|
20864
20864
|
onChange: n,
|
|
20865
20865
|
placeholder: e.chat.searchPlaceholder,
|
|
@@ -20890,7 +20890,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20890
20890
|
variant: "ghost",
|
|
20891
20891
|
hideLabel: !0,
|
|
20892
20892
|
label: e.navigation.previous,
|
|
20893
|
-
icon:
|
|
20893
|
+
icon: jc,
|
|
20894
20894
|
onClick: l,
|
|
20895
20895
|
disabled: !h || r,
|
|
20896
20896
|
size: "sm"
|
|
@@ -20898,7 +20898,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20898
20898
|
variant: "ghost",
|
|
20899
20899
|
hideLabel: !0,
|
|
20900
20900
|
label: e.navigation.next,
|
|
20901
|
-
icon:
|
|
20901
|
+
icon: tc,
|
|
20902
20902
|
onClick: c,
|
|
20903
20903
|
disabled: !h || r,
|
|
20904
20904
|
size: "sm"
|
|
@@ -20935,15 +20935,15 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20935
20935
|
let [r, i] = X(!1), a = td(PL.subscribe, () => PL.get() !== null, () => !1);
|
|
20936
20936
|
return K(() => PL.subscribe(() => {
|
|
20937
20937
|
PL.get() !== null && i(!1);
|
|
20938
|
-
}), []), /* @__PURE__ */ $(
|
|
20938
|
+
}), []), /* @__PURE__ */ $(Yc, {
|
|
20939
20939
|
openDelay: 150,
|
|
20940
20940
|
closeDelay: 100,
|
|
20941
20941
|
open: r && !a,
|
|
20942
20942
|
onOpenChange: i,
|
|
20943
|
-
children: [/* @__PURE__ */ Q(
|
|
20943
|
+
children: [/* @__PURE__ */ Q(Lc, {
|
|
20944
20944
|
asChild: !0,
|
|
20945
20945
|
children: t
|
|
20946
|
-
}), /* @__PURE__ */ Q(
|
|
20946
|
+
}), /* @__PURE__ */ Q(_l, {
|
|
20947
20947
|
align: "start",
|
|
20948
20948
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
20949
20949
|
children: /* @__PURE__ */ Q(wi, {
|
|
@@ -20994,7 +20994,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
20994
20994
|
actions: e.details.actions
|
|
20995
20995
|
} : 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" ? [] : [{
|
|
20996
20996
|
label: s.actions.search,
|
|
20997
|
-
icon:
|
|
20997
|
+
icon: Xs,
|
|
20998
20998
|
onClick: l
|
|
20999
20999
|
}], ...T.map((t) => ({
|
|
21000
21000
|
label: t.label,
|
|
@@ -21022,7 +21022,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21022
21022
|
icon: b.icon,
|
|
21023
21023
|
size: "md"
|
|
21024
21024
|
})
|
|
21025
|
-
}) : /* @__PURE__ */ Q(
|
|
21025
|
+
}) : /* @__PURE__ */ Q(sc, {
|
|
21026
21026
|
size: "sm",
|
|
21027
21027
|
avatar: b.avatar
|
|
21028
21028
|
}), v ? /* @__PURE__ */ Q(HL, {
|
|
@@ -21041,7 +21041,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21041
21041
|
}),
|
|
21042
21042
|
y ? /* @__PURE__ */ Q(In, {
|
|
21043
21043
|
description: y.hint,
|
|
21044
|
-
children: /* @__PURE__ */ Q(
|
|
21044
|
+
children: /* @__PURE__ */ Q(hc, {
|
|
21045
21045
|
size: "sm",
|
|
21046
21046
|
icon: y.icon,
|
|
21047
21047
|
text: y.label,
|
|
@@ -21087,7 +21087,7 @@ var dL = () => uL(nL, "useChatJump"), fL = (e) => {
|
|
|
21087
21087
|
label: t.label,
|
|
21088
21088
|
icon: t.icon,
|
|
21089
21089
|
onClick: () => t.onClick(e)
|
|
21090
|
-
}, t.id) : /* @__PURE__ */ Q(
|
|
21090
|
+
}, t.id) : /* @__PURE__ */ Q(bc, {
|
|
21091
21091
|
selected: t.active,
|
|
21092
21092
|
onSelectedChange: () => t.onClick(e),
|
|
21093
21093
|
icon: t.activeIcon ? [t.icon, t.activeIcon] : t.icon,
|
|
@@ -21763,7 +21763,7 @@ var PR = (e, t, n) => {
|
|
|
21763
21763
|
className: "flex items-end gap-3",
|
|
21764
21764
|
children: [/* @__PURE__ */ Q("div", {
|
|
21765
21765
|
className: "flex-1",
|
|
21766
|
-
children: /* @__PURE__ */ Q(
|
|
21766
|
+
children: /* @__PURE__ */ Q(Le, {
|
|
21767
21767
|
label: r.chat.remind.date,
|
|
21768
21768
|
value: s ? _z(s) : void 0,
|
|
21769
21769
|
onChange: (e) => c(vz(e) ?? void 0),
|
|
@@ -21822,7 +21822,7 @@ var PR = (e, t, n) => {
|
|
|
21822
21822
|
}) : null]
|
|
21823
21823
|
}), Mz = ({ user: e }) => /* @__PURE__ */ $("div", {
|
|
21824
21824
|
className: "flex w-full items-center gap-2 px-0 py-1 text-f1-foreground",
|
|
21825
|
-
children: [/* @__PURE__ */ Q(
|
|
21825
|
+
children: [/* @__PURE__ */ Q(sc, {
|
|
21826
21826
|
size: "sm",
|
|
21827
21827
|
avatar: e.avatar ?? {
|
|
21828
21828
|
type: "person",
|
|
@@ -21846,7 +21846,7 @@ var PR = (e, t, n) => {
|
|
|
21846
21846
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
21847
21847
|
children: [/* @__PURE__ */ Q(V, {
|
|
21848
21848
|
ref: i,
|
|
21849
|
-
icon:
|
|
21849
|
+
icon: yl,
|
|
21850
21850
|
onClick: t,
|
|
21851
21851
|
label: n.chat.back,
|
|
21852
21852
|
variant: "ghost",
|
|
@@ -21920,7 +21920,7 @@ var PR = (e, t, n) => {
|
|
|
21920
21920
|
lastName: ""
|
|
21921
21921
|
};
|
|
21922
21922
|
}, zz = ({ message: e, onOpen: t }) => {
|
|
21923
|
-
let n = R(), { channelType: r } = Mu(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, Lz) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c =
|
|
21923
|
+
let n = R(), { channelType: r } = Mu(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, Lz) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c = _c;
|
|
21924
21924
|
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c = Wa) : e.isMine && e.readAt ? (s = `${n.chat.read} · ${lR(new Date(e.readAt))}`, c = Wa) : e.isMine && r === "dm" && e.status === "delivered" && (s = n.chat.delivered, c = Wa), /* @__PURE__ */ Q(Fz, {
|
|
21925
21925
|
icon: c,
|
|
21926
21926
|
label: s,
|
|
@@ -21930,7 +21930,7 @@ var PR = (e, t, n) => {
|
|
|
21930
21930
|
"aria-hidden": !0,
|
|
21931
21931
|
className: "flex shrink-0",
|
|
21932
21932
|
"data-testid": "chat-message-menu-readers",
|
|
21933
|
-
children: /* @__PURE__ */ Q(
|
|
21933
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
21934
21934
|
type: "person",
|
|
21935
21935
|
size: "sm",
|
|
21936
21936
|
noTooltip: !0,
|
|
@@ -21958,7 +21958,7 @@ function Bz({ shown: e, run: t, message: n }) {
|
|
|
21958
21958
|
})
|
|
21959
21959
|
}) : null,
|
|
21960
21960
|
fz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
21961
|
-
icon:
|
|
21961
|
+
icon: st,
|
|
21962
21962
|
label: r.chat.one.openInOne,
|
|
21963
21963
|
onClick: t(fz, () => {
|
|
21964
21964
|
i.open?.(n.id);
|
|
@@ -21989,7 +21989,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
21989
21989
|
className: "flex items-center gap-1 border-0 border-b border-solid border-f1-border-secondary px-2 py-2.5",
|
|
21990
21990
|
children: [/* @__PURE__ */ Q(V, {
|
|
21991
21991
|
ref: o,
|
|
21992
|
-
icon:
|
|
21992
|
+
icon: yl,
|
|
21993
21993
|
onClick: t,
|
|
21994
21994
|
label: a.chat.back,
|
|
21995
21995
|
variant: "ghost",
|
|
@@ -22135,7 +22135,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22135
22135
|
trailing: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
22136
22136
|
className: "sr-only",
|
|
22137
22137
|
children: ", "
|
|
22138
|
-
}), /* @__PURE__ */ Q(
|
|
22138
|
+
}), /* @__PURE__ */ Q(hc, {
|
|
22139
22139
|
icon: Tr,
|
|
22140
22140
|
text: i.chat.upgrade
|
|
22141
22141
|
})] })
|
|
@@ -22155,7 +22155,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22155
22155
|
label: i.chat.remind.menu,
|
|
22156
22156
|
onClick: r,
|
|
22157
22157
|
testId: "chat-message-menu-remind",
|
|
22158
|
-
trailing: /* @__PURE__ */ Q(
|
|
22158
|
+
trailing: /* @__PURE__ */ Q(yc, {
|
|
22159
22159
|
"aria-hidden": !0,
|
|
22160
22160
|
className: "ml-auto size-4 text-f1-icon-secondary"
|
|
22161
22161
|
})
|
|
@@ -22167,7 +22167,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22167
22167
|
return /* @__PURE__ */ $("div", {
|
|
22168
22168
|
className: "flex flex-col p-1",
|
|
22169
22169
|
children: [tz(e) ? /* @__PURE__ */ Q(Fz, {
|
|
22170
|
-
icon:
|
|
22170
|
+
icon: fc,
|
|
22171
22171
|
label: r.chat.edit,
|
|
22172
22172
|
onClick: t(tz, () => a(n))
|
|
22173
22173
|
}) : null, ez(e) ? /* @__PURE__ */ Q(Fz, {
|
|
@@ -22256,7 +22256,7 @@ var Vz = ({ message: e, onBack: t, onPick: n, onPickCustom: r, onRemove: i }) =>
|
|
|
22256
22256
|
children: [QR(o) ? /* @__PURE__ */ Q(Kz, {
|
|
22257
22257
|
request: e,
|
|
22258
22258
|
count: 7,
|
|
22259
|
-
expandIcon:
|
|
22259
|
+
expandIcon: tc,
|
|
22260
22260
|
onReact: (e, n) => {
|
|
22261
22261
|
c(e, n), t("action");
|
|
22262
22262
|
},
|
|
@@ -23110,7 +23110,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23110
23110
|
children: g.map((e) => /* @__PURE__ */ $("li", {
|
|
23111
23111
|
className: "flex items-center gap-3 py-1.5",
|
|
23112
23112
|
"data-testid": "chat-poll-voter",
|
|
23113
|
-
children: [/* @__PURE__ */ Q(
|
|
23113
|
+
children: [/* @__PURE__ */ Q(sc, {
|
|
23114
23114
|
size: "sm",
|
|
23115
23115
|
avatar: {
|
|
23116
23116
|
type: "person",
|
|
@@ -23205,7 +23205,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23205
23205
|
children: [/* @__PURE__ */ $("span", {
|
|
23206
23206
|
className: "flex w-full items-center gap-2",
|
|
23207
23207
|
children: [
|
|
23208
|
-
t.allowMultipleAnswers ? /* @__PURE__ */ Q(
|
|
23208
|
+
t.allowMultipleAnswers ? /* @__PURE__ */ Q(Xc, {
|
|
23209
23209
|
presentational: !0,
|
|
23210
23210
|
hideLabel: !0,
|
|
23211
23211
|
title: e.text,
|
|
@@ -23229,7 +23229,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23229
23229
|
})
|
|
23230
23230
|
})
|
|
23231
23231
|
]
|
|
23232
|
-
}), /* @__PURE__ */ Q(
|
|
23232
|
+
}), /* @__PURE__ */ Q(sl, {
|
|
23233
23233
|
"aria-hidden": !0,
|
|
23234
23234
|
value: o,
|
|
23235
23235
|
color: "hsl(var(--selected-60))",
|
|
@@ -23267,7 +23267,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23267
23267
|
e.body,
|
|
23268
23268
|
t,
|
|
23269
23269
|
n
|
|
23270
|
-
]), { locale: a } =
|
|
23270
|
+
]), { locale: a } = nl(), o = J(() => {
|
|
23271
23271
|
if (!e.sourceLanguage) return r.chat.translated;
|
|
23272
23272
|
let t = UV(e.sourceLanguage, a);
|
|
23273
23273
|
return r.t("chat.translatedFrom", { language: t });
|
|
@@ -23763,7 +23763,7 @@ var MV = (e, t, n) => e.includes(t) ? e.filter((e) => e !== t) : n ? [...e, t] :
|
|
|
23763
23763
|
className: B("relative flex min-w-0 flex-col items-center justify-center gap-2 overflow-hidden p-3", n && "col-span-2", r),
|
|
23764
23764
|
"data-testid": "chat-image-file-fallback",
|
|
23765
23765
|
children: [
|
|
23766
|
-
/* @__PURE__ */ Q(
|
|
23766
|
+
/* @__PURE__ */ Q(dc, {
|
|
23767
23767
|
file: {
|
|
23768
23768
|
name: e.name,
|
|
23769
23769
|
type: e.mimeType ?? ""
|
|
@@ -24197,7 +24197,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24197
24197
|
hideLabel: !0,
|
|
24198
24198
|
noAutoTooltip: !0,
|
|
24199
24199
|
label: i.chat.moreActions,
|
|
24200
|
-
icon:
|
|
24200
|
+
icon: tc,
|
|
24201
24201
|
pressed: n,
|
|
24202
24202
|
"aria-haspopup": "dialog",
|
|
24203
24203
|
"aria-expanded": n,
|
|
@@ -24269,7 +24269,7 @@ var NH = Ju(() => import("./LocationMap-CRcaItG1.js")), PH = 3 / 2, FH = ({ lati
|
|
|
24269
24269
|
mode: "native",
|
|
24270
24270
|
size: o
|
|
24271
24271
|
}),
|
|
24272
|
-
children: /* @__PURE__ */ Q(
|
|
24272
|
+
children: /* @__PURE__ */ Q(Kc, {
|
|
24273
24273
|
value: l,
|
|
24274
24274
|
spinTiming: iU,
|
|
24275
24275
|
className: B("tabular-nums", s ? "text-f1-foreground-selected" : "text-f1-foreground")
|
|
@@ -24459,7 +24459,7 @@ function gU({ messageId: e, text: t, shareLabel: n, canShare: r = !1, onShare: i
|
|
|
24459
24459
|
//#endregion
|
|
24460
24460
|
//#region src/domains/platform/communications/chat/F0Chat/components/ChatOneAnswerThinking.tsx
|
|
24461
24461
|
function _U({ readingFiles: e }) {
|
|
24462
|
-
let t = R(), { reducedMotion: n } = ML(), r = e > 0 ?
|
|
24462
|
+
let t = R(), { reducedMotion: n } = ML(), r = e > 0 ? rt(t.chat.one.readingFiles, e) : t.chat.one.thinking;
|
|
24463
24463
|
return /* @__PURE__ */ Q("p", {
|
|
24464
24464
|
className: B("text-f1-foreground-secondary", !n && "shine-text"),
|
|
24465
24465
|
children: r
|
|
@@ -24482,7 +24482,7 @@ function bU({ message: e, answer: t, isAsker: n, audience: r, onRetry: i, onShar
|
|
|
24482
24482
|
let c = R(), l = c.chat.one, u = n && s ? /* @__PURE__ */ Q(V, {
|
|
24483
24483
|
variant: "outline",
|
|
24484
24484
|
size: "sm",
|
|
24485
|
-
icon:
|
|
24485
|
+
icon: st,
|
|
24486
24486
|
label: l.continueInOne,
|
|
24487
24487
|
onClick: s
|
|
24488
24488
|
}) : null, d = (e) => e && u ? /* @__PURE__ */ Q(W, {
|
|
@@ -24860,7 +24860,7 @@ var xU = Yu(function({ message: e, answer: t }) {
|
|
|
24860
24860
|
"data-testid": "chat-date-separator",
|
|
24861
24861
|
children: /* @__PURE__ */ $("span", {
|
|
24862
24862
|
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",
|
|
24863
|
-
children: [n ? /* @__PURE__ */ Q(
|
|
24863
|
+
children: [n ? /* @__PURE__ */ Q(Ic, {
|
|
24864
24864
|
size: "small",
|
|
24865
24865
|
className: "h-3.5 w-3.5"
|
|
24866
24866
|
}) : null, /* @__PURE__ */ Q("span", {
|
|
@@ -24901,7 +24901,7 @@ var xU = Yu(function({ message: e, answer: t }) {
|
|
|
24901
24901
|
/* @__PURE__ */ Q("div", { className: "h-px flex-1 bg-f1-border-secondary" })
|
|
24902
24902
|
]
|
|
24903
24903
|
});
|
|
24904
|
-
}, BU = (e) => /* @__PURE__ */ Q(
|
|
24904
|
+
}, BU = (e) => /* @__PURE__ */ Q(sc, {
|
|
24905
24905
|
size: "xs",
|
|
24906
24906
|
avatar: e.avatar ?? {
|
|
24907
24907
|
type: "person",
|
|
@@ -25175,7 +25175,7 @@ function iG({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
25175
25175
|
M.current = i && Math.abs(i.scrollTop - r) < 1 ? null : {
|
|
25176
25176
|
target: r,
|
|
25177
25177
|
smooth: t.behavior === "smooth"
|
|
25178
|
-
},
|
|
25178
|
+
}, vc(e, t, n);
|
|
25179
25179
|
}, []), F = Y(0), I = Y(/* @__PURE__ */ new Map()), ee = G((e) => {
|
|
25180
25180
|
let n = C.current[e];
|
|
25181
25181
|
if (!n) return 0;
|
|
@@ -25194,7 +25194,7 @@ function iG({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
25194
25194
|
size: i
|
|
25195
25195
|
}), i;
|
|
25196
25196
|
}, [t]), ne = G((t) => e[t]?.key ?? t, [e]), re = Y(/* @__PURE__ */ new Set()), [ie, ae] = X(0), oe = Y(null), se = G((e) => {
|
|
25197
|
-
let t = oe.current, n =
|
|
25197
|
+
let t = oe.current, n = kc(e);
|
|
25198
25198
|
if (!t) return n;
|
|
25199
25199
|
let r = t.measurementsCache, i = t.scrollRect?.height ?? 0, a = r[e.startIndex]?.start ?? 0, o = r[e.endIndex]?.end ?? 0, s = e.startIndex;
|
|
25200
25200
|
for (; s > 0 && a - (r[s - 1]?.start ?? 0) < qW;) --s;
|
|
@@ -25217,7 +25217,7 @@ function iG({ rows: e, conversationKey: t, entry: n, hasMoreOlder: r, loadingOld
|
|
|
25217
25217
|
le.current = i;
|
|
25218
25218
|
let a = oe.current;
|
|
25219
25219
|
return a && (a.options.scrollPaddingStart = i), r;
|
|
25220
|
-
}, []), fe =
|
|
25220
|
+
}, []), fe = Oc({
|
|
25221
25221
|
count: e.length,
|
|
25222
25222
|
getScrollElement: () => y,
|
|
25223
25223
|
estimateSize: ee,
|
|
@@ -26028,7 +26028,7 @@ var aG = ({ channel: e }) => {
|
|
|
26028
26028
|
onJumpToBottom: Te
|
|
26029
26029
|
}) : null]
|
|
26030
26030
|
});
|
|
26031
|
-
}, vG = Ju(() => import("./ChatPostComposerDialog-
|
|
26031
|
+
}, vG = Ju(() => import("./ChatPostComposerDialog-Ca3fcEzD.js").then((e) => ({ default: e.ChatPostComposerDialog }))), yG = () => {
|
|
26032
26032
|
let e = R(), { createPost: t, composePost: n, searchMembers: r } = zu(), i = Du(), [a, o] = X(!1);
|
|
26033
26033
|
return !t && !n ? null : /* @__PURE__ */ $("div", {
|
|
26034
26034
|
className: "pointer-events-none shrink-0 p-4 pt-0",
|
|
@@ -26042,7 +26042,7 @@ var aG = ({ channel: e }) => {
|
|
|
26042
26042
|
},
|
|
26043
26043
|
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",
|
|
26044
26044
|
children: [/* @__PURE__ */ Q(U, {
|
|
26045
|
-
icon:
|
|
26045
|
+
icon: fc,
|
|
26046
26046
|
size: "md",
|
|
26047
26047
|
color: "secondary"
|
|
26048
26048
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -26187,7 +26187,7 @@ var aG = ({ channel: e }) => {
|
|
|
26187
26187
|
}, kG = () => /* @__PURE__ */ Q("div", {
|
|
26188
26188
|
className: "shadow-sm pointer-events-none absolute bottom-2 left-2 z-20 flex rounded bg-f1-background p-1",
|
|
26189
26189
|
"data-testid": "chat-composer-attachment-uploading",
|
|
26190
|
-
children: /* @__PURE__ */ Q(
|
|
26190
|
+
children: /* @__PURE__ */ Q(Ic, { size: "small" })
|
|
26191
26191
|
}), AG = ({ attachment: e, uploading: t, onRemove: n, onOpen: r }) => {
|
|
26192
26192
|
let i = R(), a = {
|
|
26193
26193
|
label: i.t("chat.removeNamedFile", { name: e.kind === "location" ? e.name ?? i.chat.location : e.kind === "voice" ? i.chat.voiceNote : e.name }),
|
|
@@ -26338,7 +26338,7 @@ var aG = ({ channel: e }) => {
|
|
|
26338
26338
|
htmlFor: r,
|
|
26339
26339
|
className: "text-md font-medium text-f1-foreground-secondary",
|
|
26340
26340
|
children: n.chat.poll.allowMultipleAnswers
|
|
26341
|
-
}), /* @__PURE__ */ Q(
|
|
26341
|
+
}), /* @__PURE__ */ Q(zc, {
|
|
26342
26342
|
id: r,
|
|
26343
26343
|
hideLabel: !0,
|
|
26344
26344
|
title: n.chat.poll.allowMultipleAnswers,
|
|
@@ -26373,7 +26373,7 @@ var aG = ({ channel: e }) => {
|
|
|
26373
26373
|
size: "md",
|
|
26374
26374
|
hideLabel: !0,
|
|
26375
26375
|
label: i.chat.composerMenu,
|
|
26376
|
-
icon:
|
|
26376
|
+
icon: gl,
|
|
26377
26377
|
pressed: s
|
|
26378
26378
|
})
|
|
26379
26379
|
}) : /* @__PURE__ */ Q(V, {
|
|
@@ -26435,7 +26435,7 @@ var aG = ({ channel: e }) => {
|
|
|
26435
26435
|
children: [/* @__PURE__ */ $("span", {
|
|
26436
26436
|
className: "flex w-fit items-center gap-1 text-sm font-medium text-f1-foreground-info",
|
|
26437
26437
|
children: [/* @__PURE__ */ Q(U, {
|
|
26438
|
-
icon:
|
|
26438
|
+
icon: fc,
|
|
26439
26439
|
size: "xs"
|
|
26440
26440
|
}), n.chat.editing]
|
|
26441
26441
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -26552,7 +26552,7 @@ var HG = ({ message: e, onRemove: t }) => {
|
|
|
26552
26552
|
description: e.description,
|
|
26553
26553
|
avatar: {
|
|
26554
26554
|
type: "icon",
|
|
26555
|
-
icon:
|
|
26555
|
+
icon: st
|
|
26556
26556
|
}
|
|
26557
26557
|
}), XG = (e, t) => {
|
|
26558
26558
|
let n = e.trim().toLowerCase();
|
|
@@ -27456,7 +27456,7 @@ var bK = (e, t) => e?.canAskOne === !0 && t !== "announcement" && t !== "communi
|
|
|
27456
27456
|
size: "md",
|
|
27457
27457
|
hideLabel: !0,
|
|
27458
27458
|
label: e.chat.one.askButton,
|
|
27459
|
-
icon:
|
|
27459
|
+
icon: st,
|
|
27460
27460
|
onClick: ae.askOne,
|
|
27461
27461
|
disabled: t !== "idle"
|
|
27462
27462
|
}) : null,
|
|
@@ -27801,7 +27801,7 @@ var LK = 1e3, RK = (e, t, n) => {
|
|
|
27801
27801
|
}, [e]);
|
|
27802
27802
|
let u = J(() => vn.map((e) => ({
|
|
27803
27803
|
value: e,
|
|
27804
|
-
icon: r?.[e] ??
|
|
27804
|
+
icon: r?.[e] ?? I[e],
|
|
27805
27805
|
label: n[e],
|
|
27806
27806
|
color: JK[e],
|
|
27807
27807
|
tooltip: {
|
|
@@ -27815,7 +27815,7 @@ var LK = 1e3, RK = (e, t, n) => {
|
|
|
27815
27815
|
i,
|
|
27816
27816
|
c
|
|
27817
27817
|
]);
|
|
27818
|
-
return /* @__PURE__ */ Q(
|
|
27818
|
+
return /* @__PURE__ */ Q(ft, {
|
|
27819
27819
|
items: u,
|
|
27820
27820
|
value: c ?? "",
|
|
27821
27821
|
onChange: (e) => {
|
|
@@ -28014,7 +28014,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28014
28014
|
name: "AutoGrid",
|
|
28015
28015
|
type: "layout"
|
|
28016
28016
|
}, rq), pq = Object.assign(Ku(function({ chart: e, summaries: t, ...n }, r) {
|
|
28017
|
-
return /* @__PURE__ */ Q(
|
|
28017
|
+
return /* @__PURE__ */ Q(jt, {
|
|
28018
28018
|
ref: r,
|
|
28019
28019
|
...n,
|
|
28020
28020
|
summaries: t,
|
|
@@ -28023,7 +28023,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28023
28023
|
children: e
|
|
28024
28024
|
}) : null
|
|
28025
28025
|
});
|
|
28026
|
-
}), { Skeleton:
|
|
28026
|
+
}), { Skeleton: jt.Skeleton }), mq = Zo(Ku(function({ canBeBlurred: e, ...t }, n) {
|
|
28027
28027
|
let r = {
|
|
28028
28028
|
...t,
|
|
28029
28029
|
header: {
|
|
@@ -28037,7 +28037,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28037
28037
|
return /* @__PURE__ */ Q(pq, {
|
|
28038
28038
|
ref: n,
|
|
28039
28039
|
...r,
|
|
28040
|
-
chart: /* @__PURE__ */ Q(
|
|
28040
|
+
chart: /* @__PURE__ */ Q(E, {
|
|
28041
28041
|
...i,
|
|
28042
28042
|
canBeBlurred: e
|
|
28043
28043
|
})
|
|
@@ -28046,7 +28046,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28046
28046
|
return /* @__PURE__ */ Q(pq, {
|
|
28047
28047
|
ref: t,
|
|
28048
28048
|
...e,
|
|
28049
|
-
chart: /* @__PURE__ */ Q(
|
|
28049
|
+
chart: /* @__PURE__ */ Q(ke, {
|
|
28050
28050
|
yAxis: { hide: !0 },
|
|
28051
28051
|
...e.chart
|
|
28052
28052
|
})
|
|
@@ -28055,7 +28055,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28055
28055
|
return /* @__PURE__ */ Q(pq, {
|
|
28056
28056
|
ref: t,
|
|
28057
28057
|
...e,
|
|
28058
|
-
chart: /* @__PURE__ */ Q(
|
|
28058
|
+
chart: /* @__PURE__ */ Q(_e, {
|
|
28059
28059
|
yAxis: { hide: !0 },
|
|
28060
28060
|
...e.chart
|
|
28061
28061
|
})
|
|
@@ -28064,7 +28064,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28064
28064
|
return /* @__PURE__ */ Q(pq, {
|
|
28065
28065
|
ref: t,
|
|
28066
28066
|
...e,
|
|
28067
|
-
chart: /* @__PURE__ */ Q(
|
|
28067
|
+
chart: /* @__PURE__ */ Q(te, { ...e.chart })
|
|
28068
28068
|
});
|
|
28069
28069
|
}), pq.Skeleton), xq = Tn("PieChartWidget", bq), Sq = Zo(Ku(function(e, t) {
|
|
28070
28070
|
return /* @__PURE__ */ Q(pq, {
|
|
@@ -28076,7 +28076,7 @@ var eq = bn(Tn("F0ENPSButton", $K)), tq = {
|
|
|
28076
28076
|
return /* @__PURE__ */ Q(pq, {
|
|
28077
28077
|
ref: t,
|
|
28078
28078
|
...e,
|
|
28079
|
-
chart: /* @__PURE__ */ Q(
|
|
28079
|
+
chart: /* @__PURE__ */ Q(x, {
|
|
28080
28080
|
xAxis: { hide: !0 },
|
|
28081
28081
|
...e.chart
|
|
28082
28082
|
})
|
|
@@ -28588,7 +28588,7 @@ function Yq({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
28588
28588
|
withPointerCursor: a,
|
|
28589
28589
|
children: [
|
|
28590
28590
|
"alert" in s && s.alert ? /* @__PURE__ */ Q(qr, { type: s.alert }) : null,
|
|
28591
|
-
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(
|
|
28591
|
+
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(Gs, { emoji: s.emoji }) : null,
|
|
28592
28592
|
/* @__PURE__ */ $("div", {
|
|
28593
28593
|
className: "flex-1",
|
|
28594
28594
|
children: [/* @__PURE__ */ Q("p", {
|
|
@@ -28601,7 +28601,7 @@ function Yq({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
28601
28601
|
}),
|
|
28602
28602
|
/* @__PURE__ */ Q("div", {
|
|
28603
28603
|
className: "min-w-0 flex-1",
|
|
28604
|
-
children: /* @__PURE__ */ Q(
|
|
28604
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
28605
28605
|
avatars: r,
|
|
28606
28606
|
remainingCount: i,
|
|
28607
28607
|
size: "emoji" in s && s.emoji ? "md" : "sm",
|
|
@@ -28630,7 +28630,7 @@ function Qq({ id: e, title: t, subtitle: n, onClick: r, module: i }) {
|
|
|
28630
28630
|
t.preventDefault(), r?.(e);
|
|
28631
28631
|
},
|
|
28632
28632
|
className: a,
|
|
28633
|
-
children: [/* @__PURE__ */ Q(
|
|
28633
|
+
children: [/* @__PURE__ */ Q(Ws, {
|
|
28634
28634
|
module: i ?? "inbox",
|
|
28635
28635
|
size: "sm"
|
|
28636
28636
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -28685,8 +28685,8 @@ function tJ({ id: e, title: t, alert: n, rawTag: r, count: i, icon: a, rightIcon
|
|
|
28685
28685
|
}), /* @__PURE__ */ $("div", {
|
|
28686
28686
|
className: "flex flex-row items-center gap-2",
|
|
28687
28687
|
children: [
|
|
28688
|
-
n ? /* @__PURE__ */ Q(
|
|
28689
|
-
r ? /* @__PURE__ */ Q(
|
|
28688
|
+
n ? /* @__PURE__ */ Q(Pc, { ...n }) : null,
|
|
28689
|
+
r ? /* @__PURE__ */ Q(hc, { ...r }) : null,
|
|
28690
28690
|
i ? /* @__PURE__ */ Q(Pn, { value: i }) : null
|
|
28691
28691
|
]
|
|
28692
28692
|
})]
|
|
@@ -28763,7 +28763,7 @@ var oJ = aJ, sJ = ({ title: e, info: t }) => /* @__PURE__ */ $("div", {
|
|
|
28763
28763
|
label: n.label,
|
|
28764
28764
|
description: n.description,
|
|
28765
28765
|
children: /* @__PURE__ */ Q(U, {
|
|
28766
|
-
icon:
|
|
28766
|
+
icon: _c,
|
|
28767
28767
|
size: "sm"
|
|
28768
28768
|
})
|
|
28769
28769
|
})
|
|
@@ -28791,7 +28791,7 @@ function lJ({ title: e, subtitle: t, data: n, helpText: r, legend: i = !1, hideT
|
|
|
28791
28791
|
}),
|
|
28792
28792
|
/* @__PURE__ */ Q("div", {
|
|
28793
28793
|
className: "mt-2",
|
|
28794
|
-
children: /* @__PURE__ */ Q(
|
|
28794
|
+
children: /* @__PURE__ */ Q(c, {
|
|
28795
28795
|
data: n,
|
|
28796
28796
|
legend: i,
|
|
28797
28797
|
hideTooltip: a
|
|
@@ -28905,10 +28905,10 @@ function bJ({ data: e = [], trackedMinutes: t = 0, remainingMinutes: n, variant:
|
|
|
28905
28905
|
return /* @__PURE__ */ $("div", {
|
|
28906
28906
|
className: "relative h-40 w-40",
|
|
28907
28907
|
children: [
|
|
28908
|
-
/* @__PURE__ */ Q(
|
|
28908
|
+
/* @__PURE__ */ Q(De, {
|
|
28909
28909
|
width: 156,
|
|
28910
28910
|
height: 156,
|
|
28911
|
-
children: /* @__PURE__ */ Q(
|
|
28911
|
+
children: /* @__PURE__ */ Q(je, {
|
|
28912
28912
|
data: i,
|
|
28913
28913
|
cx: 74,
|
|
28914
28914
|
cy: 74,
|
|
@@ -29262,7 +29262,7 @@ function VJ({ locations: e, locationId: t, onChangeLocationId: n, projects: r, p
|
|
|
29262
29262
|
children: d || o.selectLocation
|
|
29263
29263
|
}),
|
|
29264
29264
|
/* @__PURE__ */ Q(U, {
|
|
29265
|
-
icon:
|
|
29265
|
+
icon: tc,
|
|
29266
29266
|
size: "sm"
|
|
29267
29267
|
})
|
|
29268
29268
|
]
|
|
@@ -29324,7 +29324,7 @@ function KJ({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
29324
29324
|
icon: ie?.icon
|
|
29325
29325
|
})
|
|
29326
29326
|
})
|
|
29327
|
-
}) : ie ? /* @__PURE__ */ Q(
|
|
29327
|
+
}) : ie ? /* @__PURE__ */ Q(hc, {
|
|
29328
29328
|
text: ie.name,
|
|
29329
29329
|
icon: ie.icon
|
|
29330
29330
|
}) : null, ue = a.length ? /* @__PURE__ */ Q(jJ, {
|
|
@@ -29408,7 +29408,7 @@ function KJ({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
29408
29408
|
] }), me = O === "horizontal-bar" ? ue : y ?? le, he = O === "horizontal-bar" ? de : v, ge = /* @__PURE__ */ $(Z, { children: [
|
|
29409
29409
|
o ? me : null,
|
|
29410
29410
|
_ ? he : null,
|
|
29411
|
-
oe && E ? /* @__PURE__ */ Q(
|
|
29411
|
+
oe && E ? /* @__PURE__ */ Q(hc, { text: E }) : null
|
|
29412
29412
|
] }), _e = o && !!me, ve = _ && !!he, L = _e ? /* @__PURE__ */ Q("div", {
|
|
29413
29413
|
className: B("flex min-w-0 flex-1 flex-row", ne && HJ),
|
|
29414
29414
|
children: me
|
|
@@ -29831,7 +29831,7 @@ var CY = Ku(function({ value: e, max: t = 100 }, n) {
|
|
|
29831
29831
|
className: "rounded transition-all duration-300 ease-in-out",
|
|
29832
29832
|
style: {
|
|
29833
29833
|
width: `${r}%`,
|
|
29834
|
-
backgroundColor:
|
|
29834
|
+
backgroundColor: Zc("categorical-1")
|
|
29835
29835
|
}
|
|
29836
29836
|
}), /* @__PURE__ */ Q("div", {
|
|
29837
29837
|
className: "rounded bg-f1-foreground-disabled transition-all duration-300 ease-in-out",
|
|
@@ -29863,7 +29863,7 @@ var TY = bn(Tn("WidgetSection", wY)), EY = "**", DY = () => EY, OY = ({ children
|
|
|
29863
29863
|
skeleton: (e) => /* @__PURE__ */ Q(OY, { children: t(e ?? {}) })
|
|
29864
29864
|
});
|
|
29865
29865
|
function AY({ type: e, params: { canBeBlurred: t = !1, ...n } }) {
|
|
29866
|
-
let { enabled: r } =
|
|
29866
|
+
let { enabled: r } = Ft(), i = t && r ? {
|
|
29867
29867
|
valueFormatter: DY,
|
|
29868
29868
|
tooltipValueFormatter: DY,
|
|
29869
29869
|
xValueFormatter: DY,
|
|
@@ -29877,7 +29877,7 @@ function AY({ type: e, params: { canBeBlurred: t = !1, ...n } }) {
|
|
|
29877
29877
|
tooltip: { show: !1 }
|
|
29878
29878
|
}
|
|
29879
29879
|
} : {};
|
|
29880
|
-
return /* @__PURE__ */ Q(OY, { children: /* @__PURE__ */ Q(
|
|
29880
|
+
return /* @__PURE__ */ Q(OY, { children: /* @__PURE__ */ Q(en, {
|
|
29881
29881
|
...n,
|
|
29882
29882
|
...i,
|
|
29883
29883
|
type: e
|
|
@@ -29918,7 +29918,7 @@ var jY = () => /* @__PURE__ */ $(W, {
|
|
|
29918
29918
|
}, PY = {
|
|
29919
29919
|
"bar-chart": kY("bar", (e) => {
|
|
29920
29920
|
let t = e;
|
|
29921
|
-
return /* @__PURE__ */ Q(
|
|
29921
|
+
return /* @__PURE__ */ Q(Ge, {
|
|
29922
29922
|
orientation: t.orientation,
|
|
29923
29923
|
stacked: t.stacked,
|
|
29924
29924
|
showLegend: !1
|
|
@@ -29926,32 +29926,32 @@ var jY = () => /* @__PURE__ */ $(W, {
|
|
|
29926
29926
|
}),
|
|
29927
29927
|
"line-chart": kY("line", (e) => {
|
|
29928
29928
|
let t = e;
|
|
29929
|
-
return /* @__PURE__ */ Q(
|
|
29929
|
+
return /* @__PURE__ */ Q(pn, {
|
|
29930
29930
|
lineType: t.lineType,
|
|
29931
29931
|
showArea: t.showArea ?? !0,
|
|
29932
29932
|
showLegend: !1
|
|
29933
29933
|
});
|
|
29934
29934
|
}),
|
|
29935
|
-
"pie-chart": kY("pie", (e) => /* @__PURE__ */ Q(
|
|
29936
|
-
"radar-chart": kY("radar", () => /* @__PURE__ */ Q(
|
|
29937
|
-
"gauge-chart": kY("gauge", () => /* @__PURE__ */ Q(
|
|
29938
|
-
"funnel-chart": kY("funnel", () => /* @__PURE__ */ Q(
|
|
29939
|
-
"heatmap-chart": kY("heatmap", () => /* @__PURE__ */ Q(
|
|
29940
|
-
"scatter-chart": kY("scatter", () => /* @__PURE__ */ Q(
|
|
29935
|
+
"pie-chart": kY("pie", (e) => /* @__PURE__ */ Q(xe, { innerRadius: e.innerRadius })),
|
|
29936
|
+
"radar-chart": kY("radar", () => /* @__PURE__ */ Q(d, { showLegend: !1 })),
|
|
29937
|
+
"gauge-chart": kY("gauge", () => /* @__PURE__ */ Q(_n, {})),
|
|
29938
|
+
"funnel-chart": kY("funnel", () => /* @__PURE__ */ Q(on, {})),
|
|
29939
|
+
"heatmap-chart": kY("heatmap", () => /* @__PURE__ */ Q($e, {})),
|
|
29940
|
+
"scatter-chart": kY("scatter", () => /* @__PURE__ */ Q(ln, {})),
|
|
29941
29941
|
"combo-chart": {
|
|
29942
29942
|
render: (e) => /* @__PURE__ */ Q(W, {
|
|
29943
29943
|
minHeight: "52",
|
|
29944
29944
|
paddingTop: "sm",
|
|
29945
|
-
children: /* @__PURE__ */ Q(
|
|
29945
|
+
children: /* @__PURE__ */ Q(yn, { ...e })
|
|
29946
29946
|
}),
|
|
29947
|
-
skeleton: () => /* @__PURE__ */ Q(OY, { children: /* @__PURE__ */ Q(
|
|
29947
|
+
skeleton: () => /* @__PURE__ */ Q(OY, { children: /* @__PURE__ */ Q(Ge, { showLegend: !1 }) })
|
|
29948
29948
|
},
|
|
29949
29949
|
"category-bar-chart": {
|
|
29950
|
-
render: (e) => /* @__PURE__ */ Q(
|
|
29950
|
+
render: (e) => /* @__PURE__ */ Q(c, { ...e }),
|
|
29951
29951
|
skeleton: () => /* @__PURE__ */ Q(jY, {})
|
|
29952
29952
|
},
|
|
29953
29953
|
"progress-bar": {
|
|
29954
|
-
render: (e) => /* @__PURE__ */ Q(
|
|
29954
|
+
render: (e) => /* @__PURE__ */ Q(k, { ...e }),
|
|
29955
29955
|
skeleton: () => /* @__PURE__ */ Q(jY, {})
|
|
29956
29956
|
},
|
|
29957
29957
|
"progress-bar-duo": {
|
|
@@ -29976,7 +29976,7 @@ function qY(e) {
|
|
|
29976
29976
|
return KY(e).map((e) => e.text).join(" · ");
|
|
29977
29977
|
}
|
|
29978
29978
|
function JY({ 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: _ }) {
|
|
29979
|
-
let v = !!d?.length, y =
|
|
29979
|
+
let v = !!d?.length, y = Ct(), [b, x] = X(null), S = n ?? (e ? /* @__PURE__ */ Q(sc, {
|
|
29980
29980
|
avatar: e,
|
|
29981
29981
|
size: t
|
|
29982
29982
|
}) : null), C = KY(s, GY(c, l)), w = /* @__PURE__ */ $(Z, { children: [
|
|
@@ -30008,7 +30008,7 @@ function JY({ avatar: e, avatarSize: t = "lg", left: n, title: r, subtitle: i, s
|
|
|
30008
30008
|
}),
|
|
30009
30009
|
u,
|
|
30010
30010
|
m ? /* @__PURE__ */ Q(U, {
|
|
30011
|
-
icon:
|
|
30011
|
+
icon: yc,
|
|
30012
30012
|
size: "sm",
|
|
30013
30013
|
color: "secondary"
|
|
30014
30014
|
}) : null
|
|
@@ -30126,7 +30126,7 @@ var YY = Bu.createContext(void 0), XY = ({ tracking: e, children: t }) => /* @__
|
|
|
30126
30126
|
status: "status" in e ? e.status : void 0
|
|
30127
30127
|
};
|
|
30128
30128
|
}, dX = "-m-2", fX = (e) => B(dX, !e.isFirstUnderNoHeader && "mt-0", !e.isLastSlot && "mb-0"), pX = "ml-1.5 mt-1 self-start", mX = (e) => B(pX, e.isLastSlot && !e.hasFooter && "mb-1.5"), hX = "gap-2", gX = "xl", _X = (e, t, n, r) => {
|
|
30129
|
-
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(
|
|
30129
|
+
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(Ws, {
|
|
30130
30130
|
module: t.module,
|
|
30131
30131
|
size: n
|
|
30132
30132
|
}) };
|
|
@@ -30136,7 +30136,7 @@ var YY = Bu.createContext(void 0), XY = ({ tracking: e, children: t }) => /* @__
|
|
|
30136
30136
|
}) };
|
|
30137
30137
|
if (e === "icon" && t.avatar?.icon && t.avatar.color) {
|
|
30138
30138
|
let e = h(t.avatar.color);
|
|
30139
|
-
if (e) return { left: /* @__PURE__ */ Q(
|
|
30139
|
+
if (e) return { left: /* @__PURE__ */ Q(Te, {
|
|
30140
30140
|
icon: t.avatar.icon,
|
|
30141
30141
|
tint: e,
|
|
30142
30142
|
size: n
|
|
@@ -30151,15 +30151,15 @@ var YY = Bu.createContext(void 0), XY = ({ tracking: e, children: t }) => /* @__
|
|
|
30151
30151
|
} : {};
|
|
30152
30152
|
}, vX = (e, t, n, r) => {
|
|
30153
30153
|
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(Pn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(mi, {
|
|
30154
|
-
date:
|
|
30154
|
+
date: P(t.date),
|
|
30155
30155
|
size: r ? "lg" : "md"
|
|
30156
|
-
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(
|
|
30156
|
+
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(cc, {
|
|
30157
30157
|
type: e.slice(0, -5),
|
|
30158
30158
|
size: n,
|
|
30159
30159
|
max: 3,
|
|
30160
30160
|
avatars: t.avatars,
|
|
30161
30161
|
remainingCount: t.remainingCount
|
|
30162
|
-
}) : void 0 : t.rightAvatar ? /* @__PURE__ */ Q(
|
|
30162
|
+
}) : void 0 : t.rightAvatar ? /* @__PURE__ */ Q(sc, {
|
|
30163
30163
|
avatar: {
|
|
30164
30164
|
type: e,
|
|
30165
30165
|
...t.rightAvatar
|
|
@@ -30199,7 +30199,7 @@ var YY = Bu.createContext(void 0), XY = ({ tracking: e, children: t }) => /* @__
|
|
|
30199
30199
|
};
|
|
30200
30200
|
};
|
|
30201
30201
|
function SX({ params: e, ctx: t }) {
|
|
30202
|
-
let { schema: n, items: r } = e, i = r, [a, o] = X(!1), { holder: s, held: c, isOpen: l, open: u, close: d } = xX(i), f = vY(c.length), p = BY(), { reportAction: m, reportItemActivate: h } = $Y(), g =
|
|
30202
|
+
let { schema: n, items: r } = e, i = r, [a, o] = X(!1), { holder: s, held: c, isOpen: l, open: u, close: d } = xX(i), f = vY(c.length), p = BY(), { reportAction: m, reportItemActivate: h } = $Y(), g = Ct(), _ = n.maxVisibleItems, v = _ != null && i.length > _, y = v && !a ? i.slice(0, _) : i, b = vY(y.length), x = nX(n, y.length), S = yX((!!n.descriptionRequired || !!n.descriptionOptional) && !x, g), C = g ? "md" : "sm", w = !!n.prominent, T = (e, t, r) => {
|
|
30203
30203
|
let { href: i, description: a, ...o } = e, s = o.items ?? [], c = o.tooltipDescription ?? (x ? qY(a) : ""), l = /* @__PURE__ */ Q(JY, {
|
|
30204
30204
|
title: o.title,
|
|
30205
30205
|
subtitle: o.subtitle,
|
|
@@ -30297,7 +30297,7 @@ var wX = 3, TX = "slot-skeleton-item", EX = [
|
|
|
30297
30297
|
className: "flex h-5 items-center",
|
|
30298
30298
|
children: /* @__PURE__ */ Q(z, { className: B("h-3", e) })
|
|
30299
30299
|
}), AX = ({ params: e, ctx: t }) => {
|
|
30300
|
-
let n = e.schema ?? {}, r =
|
|
30300
|
+
let n = e.schema ?? {}, r = Ct(), i = Math.max(0, Math.min(t.expectedItemsCount, n.maxVisibleItems ?? Infinity)), a = nX(n, i), o = (!!n.descriptionRequired || !!n.descriptionOptional) && !a, s = !!n.descriptionRequired && !a, c = t.expectedItemsCount > i;
|
|
30301
30301
|
return /* @__PURE__ */ $("div", {
|
|
30302
30302
|
className: B(fX(t), "flex flex-col"),
|
|
30303
30303
|
children: [Array.from({ length: i }, (e, t) => /* @__PURE__ */ $("div", {
|
|
@@ -30548,7 +30548,7 @@ var wX = 3, TX = "slot-skeleton-item", EX = [
|
|
|
30548
30548
|
className: "font-medium text-f1-foreground-secondary",
|
|
30549
30549
|
children: sX(e).charAt(0)
|
|
30550
30550
|
})
|
|
30551
|
-
}) : e.icon ? /* @__PURE__ */ Q(
|
|
30551
|
+
}) : e.icon ? /* @__PURE__ */ Q(lc, {
|
|
30552
30552
|
icon: e.icon,
|
|
30553
30553
|
size: "lg"
|
|
30554
30554
|
}) : /* @__PURE__ */ Q("span", {
|
|
@@ -30612,7 +30612,7 @@ function qX({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless
|
|
|
30612
30612
|
};
|
|
30613
30613
|
return /* @__PURE__ */ $(Hu, { children: [o > 0 ? /* @__PURE__ */ Q("div", {
|
|
30614
30614
|
className: "my-3",
|
|
30615
|
-
children: /* @__PURE__ */ Q(
|
|
30615
|
+
children: /* @__PURE__ */ Q($t, { bare: !0 })
|
|
30616
30616
|
}) : null, t ? /* @__PURE__ */ Q("div", {
|
|
30617
30617
|
"aria-hidden": "true",
|
|
30618
30618
|
children: (s?.skeleton ?? NX)(n.params, {
|
|
@@ -30655,7 +30655,7 @@ function JX({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
|
|
|
30655
30655
|
children: /* @__PURE__ */ Q(H, {
|
|
30656
30656
|
variant: "ghost",
|
|
30657
30657
|
size: "sm",
|
|
30658
|
-
icon:
|
|
30658
|
+
icon: tc,
|
|
30659
30659
|
label: D?.label ?? s.tooltip ?? "",
|
|
30660
30660
|
...s.tooltip ? { tooltip: s.tooltip } : {}
|
|
30661
30661
|
})
|
|
@@ -30672,7 +30672,7 @@ function JX({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
|
|
|
30672
30672
|
}, F = (e) => ({
|
|
30673
30673
|
...e,
|
|
30674
30674
|
onClick: (t) => (A("footer-action"), e.onClick?.(t))
|
|
30675
|
-
}), I = Array.isArray(r) ? r.map(F) : r && F(r), ee = /* @__PURE__ */ Q(
|
|
30675
|
+
}), I = Array.isArray(r) ? r.map(F) : r && F(r), ee = /* @__PURE__ */ Q(jt, {
|
|
30676
30676
|
header: P,
|
|
30677
30677
|
fullHeight: n,
|
|
30678
30678
|
action: I,
|
|
@@ -30776,7 +30776,7 @@ function QX({ previewKey: e, children: t, info: n, previewWidth: r = 396 }) {
|
|
|
30776
30776
|
//#region src/domains/platform/home/Home/WidgetUpdateDialog/WidgetUpdateDialog.tsx
|
|
30777
30777
|
var $X = (e, t) => typeof e == "function" ? e(t) : e, eZ = 250;
|
|
30778
30778
|
function tZ({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, info: a, onSave: o, previewWidth: s = 396, title: c, saveLabel: l = "Save" }) {
|
|
30779
|
-
let u = R(), { position: d, width: f, bodyClassName: m, asideClassName: h } = XX(), { formRef: g, getValues: _, trigger: v } =
|
|
30779
|
+
let u = R(), { position: d, width: f, bodyClassName: m, asideClassName: h } = XX(), { formRef: g, getValues: _, trigger: v } = be(), [y, b] = X(r ?? {});
|
|
30780
30780
|
return K(() => {
|
|
30781
30781
|
e && b(r ?? {});
|
|
30782
30782
|
}, [e, r]), /* @__PURE__ */ Q(va, {
|
|
@@ -30882,14 +30882,14 @@ var nZ = (e) => {
|
|
|
30882
30882
|
};
|
|
30883
30883
|
}, hZ = (e, t, n, r) => {
|
|
30884
30884
|
if (n < 0 || r < 0 || n === r || t.has(r)) return null;
|
|
30885
|
-
let i = Array.from({ length: e }, (e, t) => t), a =
|
|
30885
|
+
let i = Array.from({ length: e }, (e, t) => t), a = M(i, n, r).filter((e) => !t.has(e));
|
|
30886
30886
|
return i.map((e) => t.has(e) ? e : a.shift());
|
|
30887
30887
|
}, gZ = (e, t) => new Map(e.flatMap((e, n) => {
|
|
30888
30888
|
let r = e.locked ? t?.querySelector(`[data-widget-id="${e.id}"]`)?.getBoundingClientRect() : void 0;
|
|
30889
30889
|
return r ? [[n, r.height]] : [];
|
|
30890
30890
|
})), _Z = ({ pinned: e, pinnedHeights: t, gap: n }) => (r) => {
|
|
30891
30891
|
let { rects: i, activeIndex: a, overIndex: o, index: s } = r, c = Array.from({ length: i.length }, (e, n) => i[n]?.height ?? t.get(n));
|
|
30892
|
-
if (e.size === 0 || c.some((e) => e == null)) return
|
|
30892
|
+
if (e.size === 0 || c.some((e) => e == null)) return Be(r);
|
|
30893
30893
|
let l = hZ(i.length, e, a, o);
|
|
30894
30894
|
if (!l) return null;
|
|
30895
30895
|
let u = (e, t) => e.slice(0, e.indexOf(t)).reduce((e, t) => e + c[t] + n, 0), d = l.map((e, t) => t), f = u(l, s) - u(d, s);
|
|
@@ -30903,12 +30903,12 @@ var nZ = (e) => {
|
|
|
30903
30903
|
duration: .2,
|
|
30904
30904
|
ease: "easeOut"
|
|
30905
30905
|
}, bZ = ({ id: e, disabled: t = !1, settle: n, children: r }) => {
|
|
30906
|
-
let i = Zn(), { listeners: a, setNodeRef: o, transform: s, transition: c, isDragging: l } =
|
|
30906
|
+
let i = Zn(), { listeners: a, setNodeRef: o, transform: s, transition: c, isDragging: l } = Pe({
|
|
30907
30907
|
id: e,
|
|
30908
30908
|
disabled: t,
|
|
30909
30909
|
animateLayoutChanges: vZ
|
|
30910
30910
|
}), u = {
|
|
30911
|
-
transform:
|
|
30911
|
+
transform: Ke.Translate.toString(s && {
|
|
30912
30912
|
...s,
|
|
30913
30913
|
x: 0
|
|
30914
30914
|
}),
|
|
@@ -30966,10 +30966,10 @@ function EZ({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
|
|
|
30966
30966
|
let h = d && u != null && t >= (a?.threshold ?? xZ), g = Y(r);
|
|
30967
30967
|
g.current = r;
|
|
30968
30968
|
let _ = r.join(","), v = G((e) => {
|
|
30969
|
-
let t = new Set(
|
|
30969
|
+
let t = new Set(kc(e));
|
|
30970
30970
|
for (let n of g.current) n >= 0 && n < e.count && t.add(n);
|
|
30971
30971
|
return [...t].sort((e, t) => e - t);
|
|
30972
|
-
}, [_]), y =
|
|
30972
|
+
}, [_]), y = Oc({
|
|
30973
30973
|
enabled: h,
|
|
30974
30974
|
count: t,
|
|
30975
30975
|
gap: n,
|
|
@@ -31046,7 +31046,7 @@ var DZ = ({ transform: e }) => ({
|
|
|
31046
31046
|
"[role='checkbox']",
|
|
31047
31047
|
"[role='tab']",
|
|
31048
31048
|
"[contenteditable='true']"
|
|
31049
|
-
].join(","), jZ = class extends
|
|
31049
|
+
].join(","), jZ = class extends Xt {
|
|
31050
31050
|
static activators = [{
|
|
31051
31051
|
eventName: "onPointerDown",
|
|
31052
31052
|
handler: ({ nativeEvent: e }, { onActivation: t }) => {
|
|
@@ -31088,12 +31088,12 @@ var DZ = ({ transform: e }) => ({
|
|
|
31088
31088
|
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",
|
|
31089
31089
|
children: /* @__PURE__ */ Q(U, {
|
|
31090
31090
|
size: "md",
|
|
31091
|
-
icon:
|
|
31091
|
+
icon: gl
|
|
31092
31092
|
})
|
|
31093
31093
|
})
|
|
31094
31094
|
});
|
|
31095
|
-
function RZ({ widgets: e = [], side: t = "main", children: n, footnote:
|
|
31096
|
-
let
|
|
31095
|
+
function RZ({ widgets: e = [], side: t = "main", children: n, footnote: i, slotRenderers: a, renderWidget: o, disableEdition: s = !1, disableDrag: c = !1, widgetHostFor: l, afterWidgets: u, dragSurfaceSelector: d, onRemoveWidget: f, onClickAddNewWidget: p, onReorder: m, visibleWidgetId: h, entrance: g = {}, virtualized: _ = !1, stow: v, addWidgetLabel: y, onChangeWidgetParams: b, rebuildWidget: x, renderWidgetPreview: S, paramsPreviewWidth: C, removeLabel: w, editParamsLabel: T, ctx: E = {}, className: D, style: O }) {
|
|
31096
|
+
let k = R(), A = !s, j = (e) => h !== void 0 && e.id !== h, M = A && m != null, N = e.filter((e) => !e.locked).length > 1, [P, F] = X(null), [I, ee] = X(0), [te, ne] = X(() => /* @__PURE__ */ new Map()), re = J(() => new Set(e.flatMap((e, t) => e.locked ? [t] : [])), [e]), ie = J(() => _Z({
|
|
31097
31097
|
pinned: re,
|
|
31098
31098
|
pinnedHeights: te,
|
|
31099
31099
|
gap: FZ[t]
|
|
@@ -31101,14 +31101,14 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31101
31101
|
re,
|
|
31102
31102
|
te,
|
|
31103
31103
|
t
|
|
31104
|
-
]), ae =
|
|
31104
|
+
]), ae = ht(Vt(jZ, { activationConstraint: { distance: 4 } })), [oe, se] = X(null), ce = e.find((e) => e.id === oe), [le, ue] = X(null), de = Y(null), fe = Y(null), pe = Y(null), he = Y(null), ge = J(() => [DZ, mZ(() => he.current)], []), _e = (e) => {
|
|
31105
31105
|
let t = de.current?.querySelector(`[data-widget-id="${e}"]`);
|
|
31106
|
-
fe.current = nZ(t),
|
|
31106
|
+
fe.current = nZ(t), pe.current = d ? rZ(PZ(de.current, d), t) : null;
|
|
31107
31107
|
}, ve = (e) => {
|
|
31108
31108
|
e && fe.current && e.replaceChildren(fe.current);
|
|
31109
31109
|
}, L = Y(0), ye = () => cancelAnimationFrame(L.current), be = (e) => {
|
|
31110
31110
|
ye();
|
|
31111
|
-
let t =
|
|
31111
|
+
let t = pe.current;
|
|
31112
31112
|
if (!e || !t) return;
|
|
31113
31113
|
e.replaceChildren(t.node), e.style.top = `${t.offset.top}px`, e.style.left = `${t.offset.left}px`, e.style.width = `${t.offset.width}px`, e.style.height = `${t.offset.height}px`, t.base && (e.style.backgroundColor = t.base);
|
|
31114
31114
|
let n = e.parentElement?.parentElement;
|
|
@@ -31119,12 +31119,12 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31119
31119
|
};
|
|
31120
31120
|
r();
|
|
31121
31121
|
}, xe = EZ({
|
|
31122
|
-
config:
|
|
31122
|
+
config: _ === !0 ? {} : _,
|
|
31123
31123
|
count: e.length,
|
|
31124
31124
|
gap: FZ[t],
|
|
31125
31125
|
pinned: P ? [e.findIndex((e) => e.id === P)] : [],
|
|
31126
|
-
paused:
|
|
31127
|
-
}), Se =
|
|
31126
|
+
paused: h !== void 0
|
|
31127
|
+
}), Se = _ !== !1 && h !== void 0, Ce = ({ activatorEvent: t, delta: n, active: r }) => {
|
|
31128
31128
|
let i = r.rect.current.translated, a = t, o = a.clientX == null ? null : a.clientX + n.x, s = a.clientY == null ? null : a.clientY + n.y, c = he.current == null ? [] : fZ(e);
|
|
31129
31129
|
return e.find((e) => {
|
|
31130
31130
|
if (!e.locked || c.includes(e)) return !1;
|
|
@@ -31136,53 +31136,53 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31136
31136
|
}, we = (e) => {
|
|
31137
31137
|
let t = [...e.actions ?? []];
|
|
31138
31138
|
return oX(e.header, e.params)?.info && t.push({
|
|
31139
|
-
label:
|
|
31140
|
-
icon:
|
|
31139
|
+
label: k.widgets.whatThisMeans,
|
|
31140
|
+
icon: _c,
|
|
31141
31141
|
onClick: () => ue(e.id)
|
|
31142
|
-
}), e.paramsSchema &&
|
|
31143
|
-
label:
|
|
31142
|
+
}), e.paramsSchema && b && t.push({
|
|
31143
|
+
label: T ?? k.widgets.editParams,
|
|
31144
31144
|
icon: Rs,
|
|
31145
31145
|
onClick: () => se(e.id)
|
|
31146
|
-
}),
|
|
31147
|
-
label:
|
|
31146
|
+
}), A && !e.locked && f && (t.length > 0 && t.push({ type: "separator" }), t.push({
|
|
31147
|
+
label: w ?? k.widgets.removeWidget,
|
|
31148
31148
|
icon: ao,
|
|
31149
31149
|
critical: !0,
|
|
31150
|
-
onClick: () =>
|
|
31150
|
+
onClick: () => f(e.id)
|
|
31151
31151
|
})), t;
|
|
31152
31152
|
}, Te = (t) => {
|
|
31153
31153
|
let { active: n, over: r } = t, i = e.map((e) => e.id), a = r ? hZ(i.length, re, i.indexOf(String(n.id)), i.indexOf(String(r.id))) : null;
|
|
31154
31154
|
if (a) {
|
|
31155
|
-
|
|
31155
|
+
m?.(a.map((e) => i[e]));
|
|
31156
31156
|
return;
|
|
31157
31157
|
}
|
|
31158
31158
|
let o = Ce(t);
|
|
31159
|
-
o &&
|
|
31159
|
+
o && Gt.open({
|
|
31160
31160
|
variant: "warning",
|
|
31161
|
-
title:
|
|
31161
|
+
title: k.widgets.cannotMoveHere.replace("{{title}}", sX(o))
|
|
31162
31162
|
});
|
|
31163
31163
|
}, Ee = (e, t, n = e.params) => /* @__PURE__ */ Q(QY, {
|
|
31164
31164
|
widgetId: e.id,
|
|
31165
31165
|
children: De(e, t, n)
|
|
31166
31166
|
}), De = (e, t, n = e.params) => {
|
|
31167
31167
|
let r = we(e);
|
|
31168
|
-
if (!
|
|
31168
|
+
if (!o) return /* @__PURE__ */ Q(JX, {
|
|
31169
31169
|
...uX(e),
|
|
31170
31170
|
header: e.header,
|
|
31171
31171
|
params: n,
|
|
31172
31172
|
fullHeight: e.fullHeight,
|
|
31173
31173
|
slots: e.slots,
|
|
31174
31174
|
loading: e.loading,
|
|
31175
|
-
slotRenderers:
|
|
31176
|
-
ctx:
|
|
31175
|
+
slotRenderers: a,
|
|
31176
|
+
ctx: E,
|
|
31177
31177
|
actions: r.length > 0 ? r : void 0,
|
|
31178
31178
|
flipped: le === e.id,
|
|
31179
31179
|
onFlipBack: () => ue(null),
|
|
31180
31180
|
isDragging: t?.isDragging
|
|
31181
31181
|
});
|
|
31182
|
-
let
|
|
31183
|
-
return r.length === 0 ?
|
|
31182
|
+
let i = o(e, E);
|
|
31183
|
+
return r.length === 0 ? i : /* @__PURE__ */ $("div", {
|
|
31184
31184
|
className: "relative",
|
|
31185
|
-
children: [
|
|
31185
|
+
children: [i, /* @__PURE__ */ Q("div", {
|
|
31186
31186
|
className: "absolute right-3 top-3 z-10",
|
|
31187
31187
|
children: /* @__PURE__ */ Q(so, {
|
|
31188
31188
|
items: r,
|
|
@@ -31197,10 +31197,10 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31197
31197
|
})
|
|
31198
31198
|
})]
|
|
31199
31199
|
});
|
|
31200
|
-
}, Oe =
|
|
31201
|
-
...
|
|
31202
|
-
stowed:
|
|
31203
|
-
instant:
|
|
31200
|
+
}, Oe = g === !1 ? null : g, ke = pY(mY(Oe?.delayMs)), Ae = (e) => v && {
|
|
31201
|
+
...v,
|
|
31202
|
+
stowed: v.stowed && e.id !== h,
|
|
31203
|
+
instant: v.stowed
|
|
31204
31204
|
}, je = (e, t, n, r) => {
|
|
31205
31205
|
let i = n ? Ae(n) : void 0;
|
|
31206
31206
|
return !Oe && !i && !r ? t : /* @__PURE__ */ Q(OZ, {
|
|
@@ -31215,14 +31215,14 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31215
31215
|
children: t
|
|
31216
31216
|
});
|
|
31217
31217
|
}, Me = (e, t, n) => /* @__PURE__ */ Q(IZ, {
|
|
31218
|
-
hidden:
|
|
31218
|
+
hidden: j(e),
|
|
31219
31219
|
placement: n,
|
|
31220
31220
|
measureRef: xe.measureRef,
|
|
31221
31221
|
children: /* @__PURE__ */ Q(kZ, {
|
|
31222
|
-
host:
|
|
31223
|
-
children:
|
|
31222
|
+
host: l?.(e),
|
|
31223
|
+
children: M ? /* @__PURE__ */ Q(bZ, {
|
|
31224
31224
|
id: e.id,
|
|
31225
|
-
disabled: e.locked ||
|
|
31225
|
+
disabled: e.locked || c || !N,
|
|
31226
31226
|
settle: I,
|
|
31227
31227
|
children: (n) => je(t, Ee(e, n), e)
|
|
31228
31228
|
}) : je(t, Ee(e), e, e.id)
|
|
@@ -31234,30 +31234,30 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31234
31234
|
position: "relative",
|
|
31235
31235
|
height: xe.window.totalSize
|
|
31236
31236
|
} : void 0,
|
|
31237
|
-
children: xe.window ? xe.window.placements.map((t) => Me(e[t.index], t.index, t)) : e.flatMap((e, t) => Se && e.id !==
|
|
31237
|
+
children: xe.window ? xe.window.placements.map((t) => Me(e[t.index], t.index, t)) : e.flatMap((e, t) => Se && e.id !== h ? [] : [Me(e, t)])
|
|
31238
31238
|
});
|
|
31239
31239
|
return /* @__PURE__ */ $("div", {
|
|
31240
31240
|
ref: de,
|
|
31241
|
-
className: B("relative flex flex-col [&_*]:shadow-none", t === "main" ? "gap-6" : "gap-4",
|
|
31242
|
-
style:
|
|
31241
|
+
className: B("relative flex flex-col [&_*]:shadow-none", t === "main" ? "gap-6" : "gap-4", D),
|
|
31242
|
+
style: O,
|
|
31243
31243
|
children: [
|
|
31244
31244
|
n,
|
|
31245
|
-
|
|
31245
|
+
M ? /* @__PURE__ */ $(me, {
|
|
31246
31246
|
sensors: ae,
|
|
31247
|
-
collisionDetection:
|
|
31247
|
+
collisionDetection: kt,
|
|
31248
31248
|
modifiers: ge,
|
|
31249
31249
|
accessibility: NZ,
|
|
31250
31250
|
onDragStart: ({ active: n }) => {
|
|
31251
31251
|
_e(String(n.id)), he.current = pZ(e, de.current, FZ[t]), ne(gZ(e, de.current)), F(String(n.id));
|
|
31252
31252
|
},
|
|
31253
31253
|
onDragCancel: () => {
|
|
31254
|
-
F(null), ye(), fe.current = null,
|
|
31254
|
+
F(null), ye(), fe.current = null, pe.current = null, he.current = null;
|
|
31255
31255
|
},
|
|
31256
31256
|
onDragEnd: (e) => {
|
|
31257
|
-
F(null), ee((e) => e + 1), fe.current = null,
|
|
31257
|
+
F(null), ee((e) => e + 1), fe.current = null, pe.current = null, Te(e), he.current = null;
|
|
31258
31258
|
},
|
|
31259
31259
|
children: [
|
|
31260
|
-
/* @__PURE__ */ Q(
|
|
31260
|
+
/* @__PURE__ */ Q(zt, {
|
|
31261
31261
|
items: e.map((e) => e.id),
|
|
31262
31262
|
strategy: ie,
|
|
31263
31263
|
children: Ne
|
|
@@ -31267,7 +31267,7 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31267
31267
|
"data-drag-cursor": !0,
|
|
31268
31268
|
className: "fixed inset-0 z-50 cursor-grabbing"
|
|
31269
31269
|
}) : null,
|
|
31270
|
-
/* @__PURE__ */ Q(
|
|
31270
|
+
/* @__PURE__ */ Q(r, {
|
|
31271
31271
|
dropAnimation: MZ,
|
|
31272
31272
|
children: P ? /* @__PURE__ */ $("div", {
|
|
31273
31273
|
className: "relative h-full w-full cursor-grabbing overflow-hidden rounded-xl bg-f1-background",
|
|
@@ -31282,22 +31282,22 @@ function RZ({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
31282
31282
|
})
|
|
31283
31283
|
]
|
|
31284
31284
|
}) : Ne,
|
|
31285
|
-
|
|
31286
|
-
|
|
31287
|
-
!
|
|
31288
|
-
onClick:
|
|
31289
|
-
label:
|
|
31285
|
+
u,
|
|
31286
|
+
i == null ? null : je(e.length, /* @__PURE__ */ Q(dZ, { text: i })),
|
|
31287
|
+
!s && p ? je(e.length + (i == null ? 0 : 1), /* @__PURE__ */ Q(LZ, {
|
|
31288
|
+
onClick: p,
|
|
31289
|
+
label: y ?? k.widgets.addWidget,
|
|
31290
31290
|
side: t
|
|
31291
31291
|
})) : null,
|
|
31292
|
-
ce?.paramsSchema &&
|
|
31292
|
+
ce?.paramsSchema && b ? /* @__PURE__ */ Q(tZ, {
|
|
31293
31293
|
isOpen: !0,
|
|
31294
31294
|
onClose: () => se(null),
|
|
31295
31295
|
schema: ce.paramsSchema,
|
|
31296
31296
|
params: ce.params,
|
|
31297
31297
|
info: ce.header?.info,
|
|
31298
|
-
previewWidth:
|
|
31299
|
-
renderPreview: (e) =>
|
|
31300
|
-
onSave: (e) =>
|
|
31298
|
+
previewWidth: C,
|
|
31299
|
+
renderPreview: (e) => x ? Ee(x(ce, e), void 0, e) : S ? S(ce, e) : Ee(ce, void 0, e),
|
|
31300
|
+
onSave: (e) => b(ce.id, e)
|
|
31301
31301
|
}, ce.id) : null
|
|
31302
31302
|
]
|
|
31303
31303
|
});
|
|
@@ -31309,26 +31309,26 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31309
31309
|
K(() => {
|
|
31310
31310
|
r && s(!0);
|
|
31311
31311
|
}, [r]);
|
|
31312
|
-
let c = o && !a, l = fY(e, c ? 180 : 0),
|
|
31312
|
+
let c = o && !a, l = fY(e, c ? 180 : 0), u = e ? l || t ? "panel" : "retracting" : "column", d = u === "panel", f = !d || t, p = Mi(i), m = cn(p, (e) => `${e}px`);
|
|
31313
31313
|
return q(() => {
|
|
31314
31314
|
if (!r) return;
|
|
31315
31315
|
if (!c) {
|
|
31316
|
-
|
|
31316
|
+
p.jump(i);
|
|
31317
31317
|
return;
|
|
31318
31318
|
}
|
|
31319
|
-
let e = ci(
|
|
31319
|
+
let e = ci(p, i, uY);
|
|
31320
31320
|
return () => e.stop();
|
|
31321
31321
|
}, [
|
|
31322
31322
|
r,
|
|
31323
31323
|
c,
|
|
31324
31324
|
i,
|
|
31325
|
-
|
|
31325
|
+
p
|
|
31326
31326
|
]), {
|
|
31327
|
-
mode:
|
|
31328
|
-
bodyOut:
|
|
31329
|
-
widthPx:
|
|
31327
|
+
mode: u,
|
|
31328
|
+
bodyOut: f,
|
|
31329
|
+
widthPx: m,
|
|
31330
31330
|
panelHidden: fY(!t, a ? 0 : 140),
|
|
31331
|
-
transition: !c || !
|
|
31331
|
+
transition: !c || !d ? QJ : {
|
|
31332
31332
|
...t ? iY : aY,
|
|
31333
31333
|
y: n ? sY : QJ
|
|
31334
31334
|
},
|
|
@@ -31561,7 +31561,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31561
31561
|
transition: eY(r.length, Pe.glyphDelayMs, j),
|
|
31562
31562
|
children: /* @__PURE__ */ Q(U, {
|
|
31563
31563
|
size: "md",
|
|
31564
|
-
icon:
|
|
31564
|
+
icon: gl
|
|
31565
31565
|
})
|
|
31566
31566
|
})
|
|
31567
31567
|
}) : null]
|
|
@@ -31972,7 +31972,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
31972
31972
|
}
|
|
31973
31973
|
}, HQ = ({ spec: e, label: t, format: n }) => {
|
|
31974
31974
|
let r = BQ(n);
|
|
31975
|
-
return /* @__PURE__ */ Q(
|
|
31975
|
+
return /* @__PURE__ */ Q(en, {
|
|
31976
31976
|
...e,
|
|
31977
31977
|
ariaLabel: t,
|
|
31978
31978
|
valueFormatter: r
|
|
@@ -32061,7 +32061,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32061
32061
|
let r = t ? h(t) : void 0;
|
|
32062
32062
|
return r ? /* @__PURE__ */ Q("span", {
|
|
32063
32063
|
className: "shrink-0",
|
|
32064
|
-
children: /* @__PURE__ */ Q(
|
|
32064
|
+
children: /* @__PURE__ */ Q(Te, {
|
|
32065
32065
|
icon: e,
|
|
32066
32066
|
tint: r,
|
|
32067
32067
|
size: n
|
|
@@ -32082,7 +32082,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32082
32082
|
"aria-label": `About ${e}`,
|
|
32083
32083
|
className: B("flex shrink-0 cursor-default items-center rounded-xs border-none bg-transparent p-0 text-f1-icon", En()),
|
|
32084
32084
|
children: /* @__PURE__ */ Q(U, {
|
|
32085
|
-
icon:
|
|
32085
|
+
icon: _c,
|
|
32086
32086
|
size: "sm",
|
|
32087
32087
|
color: "currentColor"
|
|
32088
32088
|
})
|
|
@@ -32100,7 +32100,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32100
32100
|
alignItems: "center",
|
|
32101
32101
|
gap: "sm",
|
|
32102
32102
|
minWidth: "0",
|
|
32103
|
-
children: /* @__PURE__ */ Q(
|
|
32103
|
+
children: /* @__PURE__ */ Q(cc, {
|
|
32104
32104
|
...e.avatars,
|
|
32105
32105
|
size: "md",
|
|
32106
32106
|
layout: "compact",
|
|
@@ -32225,7 +32225,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32225
32225
|
children: [/* @__PURE__ */ $("div", {
|
|
32226
32226
|
className: "relative flex items-center gap-4",
|
|
32227
32227
|
children: [
|
|
32228
|
-
e.avatar ? /* @__PURE__ */ Q(
|
|
32228
|
+
e.avatar ? /* @__PURE__ */ Q(sc, {
|
|
32229
32229
|
avatar: QZ(e.avatar),
|
|
32230
32230
|
size: "2xl"
|
|
32231
32231
|
}) : null,
|
|
@@ -32254,7 +32254,7 @@ var zZ = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
32254
32254
|
}) : null,
|
|
32255
32255
|
e.status ? /* @__PURE__ */ Q(W, {
|
|
32256
32256
|
display: "flex",
|
|
32257
|
-
children: /* @__PURE__ */ Q(
|
|
32257
|
+
children: /* @__PURE__ */ Q(Ec, {
|
|
32258
32258
|
text: e.status.label,
|
|
32259
32259
|
variant: e.status.tone ?? "neutral"
|
|
32260
32260
|
})
|
|
@@ -32369,7 +32369,7 @@ function O$({ compact: e, onCompactChange: t }) {
|
|
|
32369
32369
|
return /* @__PURE__ */ Q("div", {
|
|
32370
32370
|
role: "group",
|
|
32371
32371
|
"aria-label": n.widgets.listDensity,
|
|
32372
|
-
children: /* @__PURE__ */ Q(
|
|
32372
|
+
children: /* @__PURE__ */ Q(ft, {
|
|
32373
32373
|
size: "sm",
|
|
32374
32374
|
required: !0,
|
|
32375
32375
|
withBorder: !1,
|
|
@@ -32402,7 +32402,7 @@ function k$({ title: e, critical: t, densityToggle: n, compact: r, onCompactChan
|
|
|
32402
32402
|
children: [e ? /* @__PURE__ */ $("h3", {
|
|
32403
32403
|
className: B("m-0 flex items-center gap-1.5 text-sm font-semibold uppercase leading-4 tracking-wider", t ? "text-f1-foreground-critical" : "text-f1-foreground-secondary"),
|
|
32404
32404
|
children: [t ? /* @__PURE__ */ Q(U, {
|
|
32405
|
-
icon:
|
|
32405
|
+
icon: Hc,
|
|
32406
32406
|
size: "sm",
|
|
32407
32407
|
color: "currentColor"
|
|
32408
32408
|
}) : null, e]
|
|
@@ -32484,11 +32484,11 @@ var A$ = Gu(null), j$ = () => Xu(A$), M$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
32484
32484
|
},
|
|
32485
32485
|
rows: e.rows.map(R$)
|
|
32486
32486
|
}), B$ = ({ className: e, children: t }) => {
|
|
32487
|
-
let n = Y(null), r =
|
|
32487
|
+
let n = Y(null), r = et(n);
|
|
32488
32488
|
return /* @__PURE__ */ Q("div", {
|
|
32489
32489
|
ref: n,
|
|
32490
32490
|
className: e,
|
|
32491
|
-
children: /* @__PURE__ */ Q(
|
|
32491
|
+
children: /* @__PURE__ */ Q(Kt, {
|
|
32492
32492
|
value: r,
|
|
32493
32493
|
children: t
|
|
32494
32494
|
})
|
|
@@ -32837,7 +32837,7 @@ var A$ = Gu(null), j$ = () => Xu(A$), M$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
32837
32837
|
md: "size-8",
|
|
32838
32838
|
lg: "size-10"
|
|
32839
32839
|
}, C1 = { left: "icon" }, w1 = (e, t, n) => e === "date" ? n ? "size-12 rounded-md" : "size-10 rounded-md" : e === "counter" ? "h-5 w-6 rounded-full" : B(t ? "size-8" : "size-6", "rounded-full"), T1 = ({ count: e, schema: t = C1, bleed: n = dX }) => {
|
|
32840
|
-
let r =
|
|
32840
|
+
let r = Ct(), i = nX(t, e), a = !!(t.descriptionRequired || t.descriptionOptional) && !i, o = S1[yX(a, r)], { left: s, right: c } = t;
|
|
32841
32841
|
return /* @__PURE__ */ Q("div", {
|
|
32842
32842
|
"data-list-rows": "",
|
|
32843
32843
|
className: B(n, "flex flex-col"),
|
|
@@ -33606,7 +33606,7 @@ var A$ = Gu(null), j$ = () => Xu(A$), M$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
33606
33606
|
onClick: a,
|
|
33607
33607
|
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",
|
|
33608
33608
|
children: /* @__PURE__ */ Q(U, {
|
|
33609
|
-
icon:
|
|
33609
|
+
icon: gl,
|
|
33610
33610
|
size: "md",
|
|
33611
33611
|
color: "bold"
|
|
33612
33612
|
})
|
|
@@ -34136,7 +34136,7 @@ var A$ = Gu(null), j$ = () => Xu(A$), M$ = ({ action: e, rows: t, ...n }, r, i)
|
|
|
34136
34136
|
function W2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, previewWidth: o, slotRenderers: s, rebuildPreview: c, title: l = "Add widget" }) {
|
|
34137
34137
|
let u = R(), { position: d, width: f, bodyClassName: m, asideClassName: h } = XX(), [g, _] = X(""), [v, y] = X(null), [b, x] = X("pick"), [S, C] = X(!1), w = (e) => {
|
|
34138
34138
|
C(!0), x(e);
|
|
34139
|
-
}, [T, E] = X(null), { formRef: D, getValues: O, trigger: k } =
|
|
34139
|
+
}, [T, E] = X(null), { formRef: D, getValues: O, trigger: k } = be(), A = g.trim().toLowerCase(), j = o ?? (a ? I2[a] : I2.right), M = J(() => {
|
|
34140
34140
|
let e = a ? n.filter((e) => !e.areas || e.areas.includes(a)) : n, t = A ? e.filter((e) => e.title.toLowerCase().includes(A)) : e, r = t.filter((e) => e.recommended), o = t.filter((e) => !e.recommended), s = new Set((i ?? []).map((e) => e.id)), c = o.filter((e) => !e.group || !s.has(e.group));
|
|
34141
34141
|
return [
|
|
34142
34142
|
...r.length ? [{
|
|
@@ -34147,7 +34147,7 @@ function W2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34147
34147
|
}] : [],
|
|
34148
34148
|
...(i ?? []).map((e) => ({
|
|
34149
34149
|
...e,
|
|
34150
|
-
icon: e.module ?
|
|
34150
|
+
icon: e.module ? ac[e.module] : void 0,
|
|
34151
34151
|
items: o.filter((t) => t.group === e.id)
|
|
34152
34152
|
})).filter((e) => e.items.length > 0),
|
|
34153
34153
|
...c.length ? [{
|
|
@@ -34186,7 +34186,7 @@ function W2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34186
34186
|
},
|
|
34187
34187
|
secondaryAction: ee && P ? {
|
|
34188
34188
|
label: u.actions.back,
|
|
34189
|
-
icon:
|
|
34189
|
+
icon: yl,
|
|
34190
34190
|
iconPosition: "left",
|
|
34191
34191
|
onClick: () => {
|
|
34192
34192
|
E({
|
|
@@ -34217,7 +34217,7 @@ function W2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34217
34217
|
params: e
|
|
34218
34218
|
}), { success: !0 })
|
|
34219
34219
|
}, P.id)
|
|
34220
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
34220
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(tl, {
|
|
34221
34221
|
value: g,
|
|
34222
34222
|
onChange: _,
|
|
34223
34223
|
placeholder: "Search widgets"
|
|
@@ -34230,7 +34230,7 @@ function W2({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
34230
34230
|
type: "button",
|
|
34231
34231
|
onClick: () => y(e.id),
|
|
34232
34232
|
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"),
|
|
34233
|
-
children: [/* @__PURE__ */ Q(
|
|
34233
|
+
children: [/* @__PURE__ */ Q(lc, {
|
|
34234
34234
|
icon: e.icon,
|
|
34235
34235
|
size: "lg"
|
|
34236
34236
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -34541,7 +34541,7 @@ var w4 = () => {
|
|
|
34541
34541
|
"sm",
|
|
34542
34542
|
"md",
|
|
34543
34543
|
"md"
|
|
34544
|
-
], A4 = Zo(O4, () => /* @__PURE__ */ Q(Po, { children: /* @__PURE__ */ Q(O4, { children: k4.map((e, t) => /* @__PURE__ */ Q(
|
|
34544
|
+
], A4 = Zo(O4, () => /* @__PURE__ */ Q(Po, { children: /* @__PURE__ */ Q(O4, { children: k4.map((e, t) => /* @__PURE__ */ Q(jt.Skeleton, { height: e }, t)) }) })), j4 = ({ children: e }) => /* @__PURE__ */ Q("div", {
|
|
34545
34545
|
className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]",
|
|
34546
34546
|
children: e
|
|
34547
34547
|
}), M4 = Zo(Ku(function({ children: e }, t) {
|
|
@@ -34553,11 +34553,11 @@ var w4 = () => {
|
|
|
34553
34553
|
}), () => /* @__PURE__ */ Q(Po, {
|
|
34554
34554
|
orientation: "horizontal",
|
|
34555
34555
|
children: /* @__PURE__ */ $(j4, { children: [
|
|
34556
|
-
/* @__PURE__ */ Q(
|
|
34557
|
-
/* @__PURE__ */ Q(
|
|
34558
|
-
/* @__PURE__ */ Q(
|
|
34556
|
+
/* @__PURE__ */ Q(jt.Skeleton, {}),
|
|
34557
|
+
/* @__PURE__ */ Q(jt.Skeleton, {}),
|
|
34558
|
+
/* @__PURE__ */ Q(jt.Skeleton, {})
|
|
34559
34559
|
] })
|
|
34560
|
-
})), N4 =
|
|
34560
|
+
})), N4 = jt;
|
|
34561
34561
|
//#endregion
|
|
34562
34562
|
//#region src/blocks/Widgets/WidgetEmptyState/WidgetEmptyState.tsx
|
|
34563
34563
|
function P4({ title: e, description: t, emoji: n, actions: r }) {
|
|
@@ -34590,4 +34590,4 @@ var F4 = bn(Tn("WidgetEmptyState", P4)), I4 = ({ identifier: e, allowedRoutes: t
|
|
|
34590
34590
|
type: "layout"
|
|
34591
34591
|
}, ql));
|
|
34592
34592
|
//#endregion
|
|
34593
|
-
export { F2 as AGENTIC_HOME_SPEC_VERSION,
|
|
34593
|
+
export { F2 as AGENTIC_HOME_SPEC_VERSION, Se as AUTO_PER_PAGE_MAX, f as AUTO_PER_PAGE_MIN_RESERVED_ROWS, av as ActivityItemList, iv as ActivityItemListSkeleton, RO as ApplicationFrame, _ as AreaChart, Eq as AreaChartWidget, fq as AutoGrid, oc as Badge, m as BarChart, Dq as BarChartWidget, rv as BaseActivityItemList, He as BaseBanner, iy as BaseCelebration, xy as BaseCommunityPost, Ps as BaseTabs, Gr as BreadcrumbSelect, ak as Breadcrumbs, gy as CalendarEvent, Hq as CalendarEventList, qt as CardSelectableContainer, Et as Carousel, ce as CategoryBarChart, lJ as CategoryBarSection, oy as Celebration, ay as CelebrationSkeleton, zq as ChartWidgetEmptyState, Cc as Chip, KJ as ClockInControls, Yt as CoachmarkProvider, xt as ComboChart, Cy as CommunityPost, My as CommunityPostCard, Ny as CommunityPostCardSkeleton, Sy as CommunityPostSkeleton, rM as CompanySelector, Pn as Counter, wX as DEFAULT_EXPECTED_ITEMS_COUNT, A4 as Dashboard, XO as DaytimePage, po as DetailsItem, bi as DetailsItemsList, Xe as Dialog, qi as Dropdown, hX as EVENT_LIST_GAP, w_ as EntitySelect, tt as F0ActionBar, j2 as F0AgenticHome, N2 as F0AgenticHomeBlock, s as F0AiBanner, $d as F0AiCallout, $o as F0AiPromptRow, Qs as F0AvatarColor, Zs as F0AvatarColorList, Ws as F0AvatarModule, Mc as F0ButtonToggle, cf as F0Callout, Sa as F0CardHorizontal, Sa as F0CardRow, $h as F0CarouselDialog, qK as F0Chat, JL as F0ChatHistoryLimitCard, Tu as F0ChatProvider, BF as F0CommandPaletteProvider, Ly as F0CommunityPostsCarousel, Ph as F0Composer, bf as F0Confetti, eq as F0ENPSButton, Ad as F0EmojiPicker, Kr as F0FileItem, Fe as F0FormEditableTable, oP as F0InboxItem, sP as F0InboxItemDecision, pP as F0InboxItemGroup, hP as F0InboxItemList, bP as F0InboxItemListSkeleton, yP as F0InboxItemSkeleton, nt as F0LocationInput, yu as F0Map, ou as F0MapControls, Su as F0MapList, iu as F0MapSidebar, pu as F0MapSidebarToggle, gu as F0MapSkeleton, eO as F0Meeting, Hf as F0MeetingCard, ab as F0MeetingProvider, ID as F0MeetingRoom, tO as F0MeetingSlot, $D as F0MeetingSurface, dn as F0NotesTextEditor, L as F0NotesTextEditorSkeleton, ee as F0NumberInput, O as F0NumberInputInline, wi as F0PersonCard, Jt as F0PhoneInput, dN as F0PrimarySidebar, Rc as F0ProgressSeries, _p as F0PulseDot, Xh as F0Resizable, mn as F0ResourceHeader, mn as ResourceHeader, Dr as F0RichTextDisplay, ae as F0RichTextEditor, dp as F0SalaryBenchmark, ip as F0SalaryBenchmarkIndicator, tl as F0SearchInput, mN as F0SecondarySidebar, tg as F0SegmentedBar, Ra as F0SegmentedControl, Dg as F0SharingDialog, Rg as F0SwipeDeck, $v as F0SystemBanner, Ht as F0TableOfContent, q_ as F0TemplateTextInput, ue as F0TextAreaInput, oe as F0TextAreaInputInline, ts as F0TextInput, ne as F0TextInputInline, Xg as F0Timeline, Jg as F0VersionHistory, UL as F0_CHAT_HEADER_TITLE_SELECTOR, qF as F0_CHAT_MESSAGES_TAB_ID, $c as F1SearchBox, y as FILE_TYPES, Ki as FileItem, sy as HighlightBanner, bY as HomeSlotItem, yY as HomeSlotItems, qq as IndicatorsList, Fa as Input, qe as Item, gt as ItemSectionHeader, JF as LATEST, tX as LIST_COMPACT_AFTER, pX as LIST_MORE_BUTTON_CLASS, a as LineChart, Oq as LineChartWidget, vO as MeetingNotes, rO as MeetingPanelContent, _O as MeetingParticipants, aO as MeetingRoomChat, yD as MeetingSidePanel, PS as MeetingSurfaceProvider, cO as MeetingTranscript, bM as Menu, ra as MobileDropdown, XZ as NewHomeLayout, u as NotesTextEditor, sn as NotesTextEditorSkeleton, ge as NumberInput, jk as OmniButton, PP as OneApprovalHistory, Gc as OneCalendar, Tt as OneDataCollection, l as OneDateNavigator, S as OneEmptyState, hg as OneListItem, mg as OneListItemSkeleton, bt as OnePagination, By as OnePersonListItem, I4 as OneRestrictComponent, Nk as Page, Dk as PageHeader, ok as PageHeaderNavigationContext, sk as PageHeaderNavigationProvider, ho as PageNavigation, yt as PieChart, kq as PieChartWidget, it as PrivateBox, re as ProgressBarChart, P2 as RECOMMENDED_AGENTIC_HOME_RULES, su as RECOMMENDED_MAX_MARKERS, se as RadarChart, uy as Reactions, xi as RichTextDisplay, le as RichTextEditor, dX as SLOT_ROW_BLEED, TX as SLOT_SKELETON_ITEM_TESTID, L4 as ScrollArea, fN as SearchBar, i as SectionHeader, ul as Select, cr as Shortcut, _N as Sidebar, $A as SidebarChatBlankState, sj as SidebarChatItem, tj as SidebarChatItemSkeleton, Kj as SidebarChatList, rj as SidebarChatListSkeleton, Uk as SidebarChatProvider, nA as SidebarCollapsibleSection, lM as SidebarFooter, dM as SidebarHeader, CM as SidebarPanelHeader, bA as SidebarTabPanel, uA as SidebarTabPanelSearch, bN as SidebarTabs, cM as SidebarUserMenu, JX as SlotWidget, qX as SlotWidgetContent, Ic as Spinner, dq as Split, uq as Stack, jq as SummariesWidget, al as Switch, ka as Tabs, Es as TabsSkeleton, XJ as TasksList, b as Textarea, lo as ToggleGroup, pi as ToggleGroupItem, In as Tooltip, Rn as TooltipGroup, cJ as TwoColumnsList, D as UPLOAD_INPUT_ID, de as VerticalBarChart, Aq as VerticalBarChartWidget, Qg as VirtualList, el as WeekStartDay, fr as Weekdays, N4 as Widget, Xq as WidgetAvatarsListItem, W2 as WidgetCatalog, F4 as WidgetEmptyState, Gq as WidgetHighlightButton, iJ as WidgetInboxList, $q as WidgetInboxListItem, TY as WidgetSection, oJ as WidgetSimpleList, nJ as WidgetSimpleListItem, M4 as WidgetStrip, wt as actionBarStatuses, jd as aiCalloutStatuses, Wf as attendeesDisplays, qx as buildTiles, _t as buttonToggleColors, Je as buttonToggleSizes, Mt as buttonToggleVariants, my as calendarEventVariants, Dc as chipVariants, gd as coachmarks, vF as commandActionRisks, jy as communityPostCardVariants, Im as composerFormats, Fm as composerVariants, lf as confettiPalette, mE as createMeetingSignalStore, hu as defaultMapStyle, PX as defaultSlotRenderers, NX as defaultSlotSkeleton, RP as defineSelectCellSubmenu, xd as defineStepByStepCoachmarkGuidance, lv as dismissibleSystemNoticeVariants, ot as downloadAsCSV, Pt as downloadAsExcel, HF as f0ChatOneAnswerFailures, VF as f0ChatSenderColors, Sd as f0EmojiPickerSizes, na as f0FileItemSizes, xu as f0MapMarkerVariants, vu as f0MapStyles, rS as f0MeetingConnectionQualities, sS as f0MeetingCoreActionIds, tS as f0MeetingDisconnectReasons, $x as f0MeetingGuestKinds, cS as f0MeetingInvitationStates, nS as f0MeetingPermissions, Qx as f0MeetingPresences, eS as f0MeetingStatuses, iS as f0MeetingSurfaceDestinations, aS as f0MeetingSurfaceModes, Zx as f0MeetingTrackKinds, ud as f0ProgressSeriesColors, ld as f0ProgressSeriesSizes, oS as f0WindowCorners, aX as fromParams, Lt as generateCSVContent, un as getAutoPerPageMinHeight, pl as getGranularityDefinition, ol as getGranularityDefinitions, vl as getGranularitySimpleDefinition, fu as googleMapStyles, au as googlePinlessMapStyles, ll as granularityDefinitions, bX as heldDialogActions, rX as homeSlot, TP as inboxItemDecisionSizes, EP as inboxItemSkeletonAvatars, wP as inboxItemStatuses, SP as inboxItemTints, CP as inboxItemTones, ba as isPossiblePhoneValue, KF as isPost, UF as isSystemMessage, GF as isUserMessage, _s as isValidPhoneValue, iE as layoutGrid, nX as listCompacts, yX as listGlyphSize, v as listIconColors, mX as listMoreButtonClass, iX as listSlot, k_ as locationInputSizes, A_ as locationParts, $w as matchDevice, Uf as meetingStates, VI as messageBodyText, ac as modules, gS as nearestCorner, dg as oneListItemRowClassName, j_ as phoneInputSizes, hS as placementFromRect, Ut as predefinedPresets, vp as pulseDotVariants, lX as railActionTones, fl as rangeSeparator, qw as readMeetingMediaPreferences, sE as reorderForSpeakers, Fh as resizableDirections, KT as resolveAutoFocus, rl as resolveGranularityDefinition, mS as resolvePlacement, eX as resolveSlotRenderer, oX as resolveWidgetHeader, mp as salaryBenchmarkIndicatorSizes, fp as salaryBenchmarkPositions, pp as salaryBenchmarkVariants, Wb as sanitizeMeetingReaction, IP as seedFromStorage, Ne as selectSizes, ze as selectVariants, _S as settlePlacement, fX as slotRowBleed, rE as solveGrid, cE as solveSpotlight, Wg as swipeDirections, cv as systemNoticeVariants, Xx as tileAspectRatio, Gx as tileKey, Jw as updateMeetingMediaPreferences, RF as useCommandPalette, ov as useCompactOnScroll, vf as useConfetti, ie as useDataCollectionData, LP as useDataCollectionItemNavigation, ve as useDataCollectionSource, tn as useExportAction, zu as useF0Chat, sb as useF0Meeting, ub as useF0MeetingRoster, lb as useF0MeetingStable, ob as useHasF0Meeting, o as useInfiniteScrollPagination, vY as useIsBulkChange, Yw as useMeetingMediaPreferences, vE as useMeetingSignal, yE as useMeetingSpeakers, FS as useMeetingSurface, IS as useMeetingSurfaceOptional, lk as usePageHeaderItemNavigation, ck as usePageHeaderNavigation, Ka as useSidePanel, mu as useSidebar, qk as useSidebarChatActions, Kk as useSidebarChats, Ug as useSwipeDeck, yb as useTrackBinding, Ct as useWidgetIsWide, yO as viewportRect, uX as widgetChrome, cX as widgetParamsAreComplete, sX as widgetTitle };
|