@factorialco/f0-react 4.55.0 → 4.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPdfThumbnail-e_xAa5BG.js → ChatPdfThumbnail-DBvkl-F_.js} +1 -1
- package/dist/{DocumentToolbar-ZnR9EUMa.js → DocumentToolbar-DQpt1krt.js} +2 -2
- package/dist/{DocxViewer-B3DGLu2C.js → DocxViewer-B6HTjpEm.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BVHAspoQ.js → F0AiProcessingOverlay-D5hKB9d7.js} +637 -612
- package/dist/{F0CanvasPanel-DvAledR4.js → F0CanvasPanel-BeVQHrJo.js} +34109 -38710
- package/dist/{SheetViewer-DtfcXdoa.js → SheetViewer-DOm6rD9f.js} +2 -2
- package/dist/{TextViewer-Drfvy4UM.js → TextViewer-BW9eWjT_.js} +2 -2
- package/dist/ai.d.ts +19 -4
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +10 -0
- package/dist/component-status.js +361 -221
- package/dist/experimental.d.ts +7 -1
- package/dist/experimental.js +340 -339
- package/dist/f0.d.ts +26 -5
- package/dist/f0.js +500 -499
- package/dist/{index-BgFg3D88.js → index-BF3g-R2k.js} +318 -316
- package/dist/{index-DYLglfsp.js → index-CfHeK3Qf.js} +34 -33
- package/dist/{pdfWorker-CqQpWr5o.js → pdfWorker-D-5ek9Um.js} +3 -2
- package/dist/styles.css +1 -1
- package/dist/tooltip-BH6Se8A4.js +4633 -0
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { v as Sl, B as kl, x as Tl, y as Rl, z as Vo, A as Tn, E as ln, G as El, H as ue, J as zt, u as pe, R as Ll, K as zl, L as so, M as Hn, N as mn, O as Ve, Q as Al, U as Fl, V as ve, W as Pl, X as Ml, Y as Ie, Z as ea, _ as Ol, $ as Dl, m as Me, a0 as er, S as ie, a1 as Vt, a2 as Bl, a3 as _l, a4 as Hl, a5 as $l, a6 as Wl, a7 as ct, a8 as ta, a9 as na, aa as At, ab as $n, ac as jl, e as ra, ad as Wt, ae as oa, af as tr, w as tt, r as We, ag as Wn, ah as ia, ai as Vl, aj as aa, ak as Ue, s as Qe, al as Ul, am as Gl, an as Kl, ao as ql, ap as Yl, aq as Et, ar as nr, as as Xl, at as Ql, au as Jl, av as Zl, aw as rr, ax as sa, j as la, ay as ec, az as tc, k as jn, aA as nc, aB as ca, aC as rc, aD as oc, aE as ic, aF as ac, aG as sc, aH as da, aI as ua, aJ as fa, aK as Br, aL as ha, aM as _r, aN as ma, aO as lc, aP as cc, aQ as dc, aR as pa, aS as uc, aT as nt, aU as Zt, aV as Hr, aW as ga, aX as fc, aY as or, aZ as hc, a_ as mc, a$ as pc, b0 as Jt, b1 as gc, b2 as bc, b3 as dn, b4 as Uo, b5 as $r, b6 as vc, b7 as xc, b as ba, b8 as yc, a as wc, b9 as ir, ba as Nc, g as Cc, F as Ic, bb as Sc, bc as va, bd as kc, o as lo, be as Tc, bf as co, bg as en, bh as Rc, bi as Ec, bj as Lc, bk as zc, bl as xa, bm as Ac, bn as Fc, bo as Pc, bp as Wr, bq as Mc, br as Oc, bs as Dc, bt as uo, bu as Bc, bv as _c, bw as Hc, bx as $c, by as Wc, bz as jc, bA as Vc, bB as ya, bC as wa, bD as Na, bE as Uc, bF as Gc, bG as Kc, bH as qc, bI as Yc, bJ as Ca, bK as Xc, bL as Qc, bM as Ia, bN as fo, bO as Jc, bP as Zc, bQ as ed, n as td, bR as nd, bS as Sa, bT as rd, bU as od, bV as ka, bW as Ta, bX as Ra, l as Vn, bY as id, bZ as Go, b_ as Ea, b$ as ad, c0 as sd, c1 as ld, c2 as jr, c3 as Vr, c4 as cd, c5 as dd, c6 as ud, c7 as fd, c8 as hd, c9 as md, ca as pd, cb as St, cc as ho, cd as mo, ce as po, cf as La, cg as go, ch as za, ci as Aa, cj as gd, ck as bd, cl as vd, cm as xd, cn as yd, co as wd, cp as Nd, cq as Ko, cr as Cd, cs as Id, ct as qo, cu as Sd, cv as kd, cw as Td, cx as Rd, cy as Fa, cz as Ed, cA as Ld } from "./F0CanvasPanel-BeVQHrJo.js";
|
|
2
|
+
import { cK as k0, cJ as T0, cW as R0, cG as E0, cH as L0, cB as z0, cC as A0, cC as F0, cD as P0, cZ as M0, cI as O0, cS as D0, cT as B0, cX as _0, cE as H0, cM as $0, cL as W0, T as j0, h as V0, cU as U0, c_ as G0, cV as K0, cY as q0, cR as Y0, cO as X0, cQ as Q0, cN as J0, cF as Z0, cP as ex } from "./F0CanvasPanel-BeVQHrJo.js";
|
|
3
3
|
import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
|
|
4
|
-
import Q, { forwardRef as Ae, useRef as _, useTransition as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import Q, { forwardRef as Ae, useRef as _, useTransition as zd, useState as $, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Ad, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
|
|
5
|
+
import { d as S, T as Fd, a as Pd, b as Md, f as Je, c as Od } from "./tooltip-BH6Se8A4.js";
|
|
6
|
+
import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-BF3g-R2k.js";
|
|
7
|
+
import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-BF3g-R2k.js";
|
|
7
8
|
import ru from "react-dom";
|
|
8
9
|
const ou = Sl("Search", [
|
|
9
10
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
@@ -84,7 +85,7 @@ function lu(e, t, r = []) {
|
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
87
|
function cu({ breadcrumbs: e, append: t }) {
|
|
87
|
-
const r = _(null), o = _(null), [, i] =
|
|
88
|
+
const r = _(null), o = _(null), [, i] = zd(), [a, s] = $(null), l = (a?.collapsedItems || []).length > 0;
|
|
88
89
|
return ar(() => {
|
|
89
90
|
const c = r.current, u = o.current;
|
|
90
91
|
if (!c || !u || u.children.length < e.length) return;
|
|
@@ -389,8 +390,8 @@ const ja = ({
|
|
|
389
390
|
disabled: t
|
|
390
391
|
}) => {
|
|
391
392
|
const { enabled: r, setOpen: o, open: i } = sr(), a = pe(), [s, l] = $(!1);
|
|
392
|
-
return r ? /* @__PURE__ */ n("div", { className: "flex items-center", children: /* @__PURE__ */ n(
|
|
393
|
-
/* @__PURE__ */ n(
|
|
393
|
+
return r ? /* @__PURE__ */ n("div", { className: "flex items-center", children: /* @__PURE__ */ n(Fd, { children: /* @__PURE__ */ m(Pd, { delayDuration: 850, disableHoverableContent: !0, children: [
|
|
394
|
+
/* @__PURE__ */ n(Md, { asChild: !0, children: /* @__PURE__ */ n(
|
|
394
395
|
ue.div,
|
|
395
396
|
{
|
|
396
397
|
animate: {
|
|
@@ -407,7 +408,7 @@ const ja = ({
|
|
|
407
408
|
"--gradient-angle": "180deg"
|
|
408
409
|
},
|
|
409
410
|
children: /* @__PURE__ */ n(
|
|
410
|
-
|
|
411
|
+
Ll,
|
|
411
412
|
{
|
|
412
413
|
onCheckedChange: (c) => {
|
|
413
414
|
o(c);
|
|
@@ -420,14 +421,14 @@ const ja = ({
|
|
|
420
421
|
"after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] data-[state=checked]:after:ring-f1-border-inverse",
|
|
421
422
|
"before:absolute before:inset-0 before:rounded-full before:bg-[conic-gradient(from_var(--gradient-angle),hsla(229,57%,76%,0.7),hsla(348,80%,50%,0.7),hsla(348,80%,50%,0.7),hsla(18,80%,50%,0.7),hsla(229,57%,76%,0.7),hsla(229,57%,76%,0.7))] before:opacity-0 before:transition-all before:duration-300 before:content-[''] data-[state=checked]:before:opacity-100",
|
|
422
423
|
t && "cursor-not-allowed opacity-50",
|
|
423
|
-
|
|
424
|
+
Je(),
|
|
424
425
|
e
|
|
425
426
|
),
|
|
426
427
|
disabled: t,
|
|
427
428
|
onMouseEnter: () => l(!0),
|
|
428
429
|
onMouseLeave: () => l(!1),
|
|
429
430
|
children: /* @__PURE__ */ n(
|
|
430
|
-
|
|
431
|
+
zl,
|
|
431
432
|
{
|
|
432
433
|
className: S(
|
|
433
434
|
"block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"
|
|
@@ -449,7 +450,7 @@ const ja = ({
|
|
|
449
450
|
)
|
|
450
451
|
}
|
|
451
452
|
) }),
|
|
452
|
-
!i && /* @__PURE__ */ n(
|
|
453
|
+
!i && /* @__PURE__ */ n(Od, { side: "left", className: "font-medium", children: a.ai.welcome })
|
|
453
454
|
] }) }) }) : null;
|
|
454
455
|
}, Jo = "one_sidebar_locked", Va = st(void 0);
|
|
455
456
|
function nn() {
|
|
@@ -527,7 +528,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
527
528
|
{
|
|
528
529
|
className: S(
|
|
529
530
|
"flex h-6 w-6 items-center justify-center rounded",
|
|
530
|
-
|
|
531
|
+
Je()
|
|
531
532
|
),
|
|
532
533
|
onClick: a,
|
|
533
534
|
"aria-label": r,
|
|
@@ -535,7 +536,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
535
536
|
Zo,
|
|
536
537
|
{
|
|
537
538
|
size: "sm",
|
|
538
|
-
icon:
|
|
539
|
+
icon: Al,
|
|
539
540
|
className: "text-[hsl(var(--promote-50))] outline-none",
|
|
540
541
|
variants: ei,
|
|
541
542
|
initial: o ? "enterFromUnfavorite" : "initial",
|
|
@@ -554,7 +555,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
554
555
|
{
|
|
555
556
|
size: "sm",
|
|
556
557
|
whileTap: { scale: 0.8 },
|
|
557
|
-
icon:
|
|
558
|
+
icon: Fl,
|
|
558
559
|
className: "outline-none",
|
|
559
560
|
variants: ei,
|
|
560
561
|
initial: o ? "enterFromFavorite" : "initial",
|
|
@@ -601,14 +602,14 @@ const Zo = ue.create(ve), ei = {
|
|
|
601
602
|
}
|
|
602
603
|
}, [r]);
|
|
603
604
|
return /* @__PURE__ */ m(
|
|
604
|
-
|
|
605
|
+
Pl,
|
|
605
606
|
{
|
|
606
607
|
open: w,
|
|
607
608
|
onOpenChange: async (A) => {
|
|
608
609
|
x(A), A && p === null && N(), s(A);
|
|
609
610
|
},
|
|
610
611
|
children: [
|
|
611
|
-
/* @__PURE__ */ n(
|
|
612
|
+
/* @__PURE__ */ n(Ml, { asChild: !0, children: /* @__PURE__ */ n(
|
|
612
613
|
Ie,
|
|
613
614
|
{
|
|
614
615
|
variant: "outline",
|
|
@@ -619,8 +620,8 @@ const Zo = ue.create(ve), ei = {
|
|
|
619
620
|
append: u && /* @__PURE__ */ n(xo, { className: "absolute -right-0.5 -top-[1px]" })
|
|
620
621
|
}
|
|
621
622
|
) }),
|
|
622
|
-
/* @__PURE__ */ n(
|
|
623
|
-
|
|
623
|
+
/* @__PURE__ */ n(Ol, { children: /* @__PURE__ */ m(
|
|
624
|
+
Dl,
|
|
624
625
|
{
|
|
625
626
|
sideOffset: 8,
|
|
626
627
|
collisionPadding: 20,
|
|
@@ -685,7 +686,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
685
686
|
}) => {
|
|
686
687
|
const s = "flex flex-col items-stretch w-full", l = r?.includes(".mp4");
|
|
687
688
|
return /* @__PURE__ */ n(
|
|
688
|
-
|
|
689
|
+
Bl,
|
|
689
690
|
{
|
|
690
691
|
onClick: a,
|
|
691
692
|
asChild: !0,
|
|
@@ -710,7 +711,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
710
711
|
playsInline: !0
|
|
711
712
|
}
|
|
712
713
|
) }) : /* @__PURE__ */ n("div", { className: "overflow-clip rounded border border-solid border-f1-border-secondary", children: /* @__PURE__ */ n(
|
|
713
|
-
|
|
714
|
+
_l,
|
|
714
715
|
{
|
|
715
716
|
fetchPriority: "high",
|
|
716
717
|
src: r,
|
|
@@ -737,7 +738,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
737
738
|
onClick: i
|
|
738
739
|
}) => {
|
|
739
740
|
const a = S("flex flex-col items-stretch gap-3 w-full");
|
|
740
|
-
return /* @__PURE__ */ n(
|
|
741
|
+
return /* @__PURE__ */ n(Hl, { asChild: !0, className: a, onClick: i, children: /* @__PURE__ */ n(
|
|
741
742
|
Vt,
|
|
742
743
|
{
|
|
743
744
|
href: t,
|
|
@@ -827,7 +828,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
827
828
|
title: e,
|
|
828
829
|
description: t,
|
|
829
830
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
830
|
-
icon: /* @__PURE__ */ n(ve, { icon:
|
|
831
|
+
icon: /* @__PURE__ */ n(ve, { icon: $l, size: "lg" }),
|
|
831
832
|
button: /* @__PURE__ */ n(Me, { variant: "outline", label: r, onClick: o })
|
|
832
833
|
}
|
|
833
834
|
), Nu = () => /* @__PURE__ */ n(
|
|
@@ -871,7 +872,7 @@ const Zo = ue.create(ve), ei = {
|
|
|
871
872
|
a(!1), o(), c && c();
|
|
872
873
|
};
|
|
873
874
|
return i && /* @__PURE__ */ m(De, { children: [
|
|
874
|
-
/* @__PURE__ */ n(
|
|
875
|
+
/* @__PURE__ */ n(Wl, {}),
|
|
875
876
|
/* @__PURE__ */ m("div", { className: "px-1 pb-2", children: [
|
|
876
877
|
/* @__PURE__ */ m("div", { className: "flex flex-row items-center justify-between px-3", children: [
|
|
877
878
|
/* @__PURE__ */ n("p", { className: "text-balance pb-2 pt-2 text-sm font-medium text-f1-foreground-secondary", children: r?.sectionTitle }),
|
|
@@ -909,8 +910,8 @@ const Zo = ue.create(ve), ei = {
|
|
|
909
910
|
)
|
|
910
911
|
] })
|
|
911
912
|
] });
|
|
912
|
-
}, yo = st(null),
|
|
913
|
-
function
|
|
913
|
+
}, yo = st(null), Nv = yo.Provider;
|
|
914
|
+
function Cv() {
|
|
914
915
|
return Nt(yo);
|
|
915
916
|
}
|
|
916
917
|
function Iu(e, t) {
|
|
@@ -935,7 +936,7 @@ function Iu(e, t) {
|
|
|
935
936
|
r
|
|
936
937
|
]);
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
+
function Iv({
|
|
939
940
|
module: e,
|
|
940
941
|
statusTag: t = void 0,
|
|
941
942
|
breadcrumbs: r = [],
|
|
@@ -1031,7 +1032,7 @@ function Cv({
|
|
|
1031
1032
|
}
|
|
1032
1033
|
) }) }) : /* @__PURE__ */ n($n, { text: t.text, variant: t.variant }) }),
|
|
1033
1034
|
!i && g && (b || x || N) && /* @__PURE__ */ n("div", { className: "h-4 w-px bg-f1-border-secondary" }),
|
|
1034
|
-
b && /* @__PURE__ */ n(
|
|
1035
|
+
b && /* @__PURE__ */ n(jl, { ...b }),
|
|
1035
1036
|
b && x && /* @__PURE__ */ n("div", { className: "h-4 w-px bg-f1-border-secondary" }),
|
|
1036
1037
|
(N || x) && /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: [
|
|
1037
1038
|
N && /* @__PURE__ */ n("div", { className: "items-right flex gap-2", children: /* @__PURE__ */ n(
|
|
@@ -1355,7 +1356,7 @@ const ku = () => {
|
|
|
1355
1356
|
}
|
|
1356
1357
|
}), ti = {
|
|
1357
1358
|
positive: aa,
|
|
1358
|
-
warning:
|
|
1359
|
+
warning: Vl,
|
|
1359
1360
|
info: ia
|
|
1360
1361
|
}, ni = {
|
|
1361
1362
|
positive: "text-f1-foreground-positive font-medium",
|
|
@@ -1469,12 +1470,12 @@ const ku = () => {
|
|
|
1469
1470
|
(e, t) => /* @__PURE__ */ n(Pu, { ref: t, ...e })
|
|
1470
1471
|
), Ou = ({ compact: e, variant: t }) => /* @__PURE__ */ n(Mu, { compact: e, variant: t });
|
|
1471
1472
|
Ka.displayName = "F0Callout";
|
|
1472
|
-
const
|
|
1473
|
+
const Sv = Qe(
|
|
1473
1474
|
tt(Ka),
|
|
1474
1475
|
Ou
|
|
1475
1476
|
), qa = Ae(
|
|
1476
1477
|
({ value: e, max: t, color: r = "categorical-1", label: o }, i) => {
|
|
1477
|
-
const a = pe(), s = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, l = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), s)) : 0, c = Array.from({ length: s }, (d, f) => f < l), u =
|
|
1478
|
+
const a = pe(), s = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, l = Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), s)) : 0, c = Array.from({ length: s }, (d, f) => f < l), u = Ul(r);
|
|
1478
1479
|
return /* @__PURE__ */ n(
|
|
1479
1480
|
"div",
|
|
1480
1481
|
{
|
|
@@ -1505,7 +1506,7 @@ const Iv = Je(
|
|
|
1505
1506
|
}
|
|
1506
1507
|
);
|
|
1507
1508
|
qa.displayName = "F0SegmentedBar";
|
|
1508
|
-
const
|
|
1509
|
+
const kv = tt(
|
|
1509
1510
|
We("F0SegmentedBar", qa)
|
|
1510
1511
|
);
|
|
1511
1512
|
function Du({
|
|
@@ -1521,14 +1522,14 @@ function Du({
|
|
|
1521
1522
|
"flex w-full flex-row items-center gap-[6px] rounded-md p-[6px] pr-2 text-left transition-colors",
|
|
1522
1523
|
t && "bg-f1-background-tertiary",
|
|
1523
1524
|
r && "cursor-pointer hover:bg-f1-background-hover",
|
|
1524
|
-
|
|
1525
|
+
Je("focus-visible:ring-inset")
|
|
1525
1526
|
),
|
|
1526
1527
|
onClick: r,
|
|
1527
1528
|
disabled: !r,
|
|
1528
1529
|
"aria-label": `${e}${t ? " (selected)" : ""}`,
|
|
1529
1530
|
"aria-pressed": r ? t : void 0,
|
|
1530
1531
|
children: [
|
|
1531
|
-
/* @__PURE__ */ n(ve, { icon:
|
|
1532
|
+
/* @__PURE__ */ n(ve, { icon: Gl, size: "md", color: "selected" }),
|
|
1532
1533
|
/* @__PURE__ */ n(
|
|
1533
1534
|
Ue,
|
|
1534
1535
|
{
|
|
@@ -1547,7 +1548,7 @@ function Bu({
|
|
|
1547
1548
|
onClick: r,
|
|
1548
1549
|
isActive: o
|
|
1549
1550
|
}) {
|
|
1550
|
-
const { locale: i } =
|
|
1551
|
+
const { locale: i } = Kl(), a = ql(i), s = Yl(t, "PPPp", { locale: a }), l = `${e.firstName} ${e.lastName}`;
|
|
1551
1552
|
return /* @__PURE__ */ m(
|
|
1552
1553
|
"button",
|
|
1553
1554
|
{
|
|
@@ -1556,7 +1557,7 @@ function Bu({
|
|
|
1556
1557
|
"flex w-full flex-col gap-[6px] rounded-md px-2 py-[6px] text-left transition-colors",
|
|
1557
1558
|
o && "bg-f1-background-tertiary",
|
|
1558
1559
|
r && "cursor-pointer hover:bg-f1-background-hover",
|
|
1559
|
-
|
|
1560
|
+
Je("focus-visible:ring-inset")
|
|
1560
1561
|
),
|
|
1561
1562
|
onClick: r,
|
|
1562
1563
|
disabled: !r,
|
|
@@ -1632,7 +1633,7 @@ function _u({
|
|
|
1632
1633
|
}
|
|
1633
1634
|
);
|
|
1634
1635
|
}
|
|
1635
|
-
const
|
|
1636
|
+
const Tv = tt(
|
|
1636
1637
|
We("F0VersionHistory", _u)
|
|
1637
1638
|
), Ya = Ae(
|
|
1638
1639
|
({ height: e, itemCount: t, itemSize: r, className: o, renderer: i }, a) => {
|
|
@@ -1642,7 +1643,7 @@ const kv = tt(
|
|
|
1642
1643
|
() => s.current,
|
|
1643
1644
|
[]
|
|
1644
1645
|
);
|
|
1645
|
-
const l =
|
|
1646
|
+
const l = Xl({
|
|
1646
1647
|
count: t,
|
|
1647
1648
|
getScrollElement: () => s.current,
|
|
1648
1649
|
estimateSize: typeof r == "number" ? () => r : r,
|
|
@@ -1874,7 +1875,7 @@ const Hu = ({
|
|
|
1874
1875
|
Me,
|
|
1875
1876
|
{
|
|
1876
1877
|
hideLabel: !0,
|
|
1877
|
-
icon: t ?
|
|
1878
|
+
icon: t ? Ql : Jl,
|
|
1878
1879
|
onClick: () => c(!t),
|
|
1879
1880
|
label: t ? "Collapse" : "Expand",
|
|
1880
1881
|
size: "sm",
|
|
@@ -1894,7 +1895,7 @@ const Hu = ({
|
|
|
1894
1895
|
p && /* @__PURE__ */ n(
|
|
1895
1896
|
ve,
|
|
1896
1897
|
{
|
|
1897
|
-
icon:
|
|
1898
|
+
icon: Zl,
|
|
1898
1899
|
className: "rounded-xs bg-f1-foreground-secondary text-f1-foreground-inverse"
|
|
1899
1900
|
}
|
|
1900
1901
|
),
|
|
@@ -1987,7 +1988,7 @@ const ri = ({
|
|
|
1987
1988
|
l && !l.disabled && l.onClick?.();
|
|
1988
1989
|
}, a = r.every((s) => s.disabled);
|
|
1989
1990
|
return /* @__PURE__ */ n(
|
|
1990
|
-
|
|
1991
|
+
ec,
|
|
1991
1992
|
{
|
|
1992
1993
|
items: o,
|
|
1993
1994
|
value: e.label,
|
|
@@ -2070,7 +2071,7 @@ const ri = ({
|
|
|
2070
2071
|
e && /* @__PURE__ */ n(
|
|
2071
2072
|
ve,
|
|
2072
2073
|
{
|
|
2073
|
-
icon:
|
|
2074
|
+
icon: tc,
|
|
2074
2075
|
size: "md",
|
|
2075
2076
|
onClick: () => t(""),
|
|
2076
2077
|
className: "cursor-pointer text-f1-icon-secondary"
|
|
@@ -2488,7 +2489,7 @@ const ri = ({
|
|
|
2488
2489
|
deactivated: o = !1,
|
|
2489
2490
|
hiddenAvatar: i = !1
|
|
2490
2491
|
}) => /* @__PURE__ */ n("div", { className: "pr-2 pt-1.5", children: /* @__PURE__ */ n(
|
|
2491
|
-
|
|
2492
|
+
nc,
|
|
2492
2493
|
{
|
|
2493
2494
|
className: S(
|
|
2494
2495
|
"max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]",
|
|
@@ -2502,7 +2503,7 @@ const ri = ({
|
|
|
2502
2503
|
name: e.subName,
|
|
2503
2504
|
size: "xs",
|
|
2504
2505
|
type: "rounded",
|
|
2505
|
-
icon: o ? { icon:
|
|
2506
|
+
icon: o ? { icon: rc, color: "secondary" } : void 0
|
|
2506
2507
|
}
|
|
2507
2508
|
),
|
|
2508
2509
|
right: !r && /* @__PURE__ */ n(
|
|
@@ -2694,7 +2695,7 @@ const ri = ({
|
|
|
2694
2695
|
}
|
|
2695
2696
|
})), [A, r]), k = E.length === 0 ? void 0 : E.length === 1 ? E[0].subItem.subName : E.length + " " + t, y = E.length === 1 ? E[0].subItem.subName : void 0;
|
|
2696
2697
|
return /* @__PURE__ */ n(
|
|
2697
|
-
|
|
2698
|
+
oc,
|
|
2698
2699
|
{
|
|
2699
2700
|
onClickContent: f,
|
|
2700
2701
|
role: "combobox",
|
|
@@ -2722,7 +2723,7 @@ const ri = ({
|
|
|
2722
2723
|
src: E[0].subItem.subAvatar,
|
|
2723
2724
|
deactivated: E[0].subItem.subDeactivated
|
|
2724
2725
|
},
|
|
2725
|
-
append: w ?? /* @__PURE__ */ n(De, { children: /* @__PURE__ */ n(
|
|
2726
|
+
append: w ?? /* @__PURE__ */ n(De, { children: /* @__PURE__ */ n(ic, { open: N, disabled: o, size: x }) }),
|
|
2726
2727
|
children: /* @__PURE__ */ n(
|
|
2727
2728
|
"span",
|
|
2728
2729
|
{
|
|
@@ -2745,7 +2746,7 @@ const ri = ({
|
|
|
2745
2746
|
)
|
|
2746
2747
|
}
|
|
2747
2748
|
);
|
|
2748
|
-
},
|
|
2749
|
+
}, Rv = (e) => {
|
|
2749
2750
|
const [t, r] = $(
|
|
2750
2751
|
(e.alwaysOpen || e.defaultOpen) ?? !1
|
|
2751
2752
|
), o = (I) => {
|
|
@@ -2754,12 +2755,12 @@ const ri = ({
|
|
|
2754
2755
|
te(() => {
|
|
2755
2756
|
e.defaultOpen && t && e.onOpenChange?.(!0);
|
|
2756
2757
|
}, [e.defaultOpen]);
|
|
2757
|
-
const [i, a] = $(e.entities), [s, l] = $(""), [c, u] =
|
|
2758
|
+
const [i, a] = $(e.entities), [s, l] = $(""), [c, u] = ac("", 300), d = he(
|
|
2758
2759
|
() => e.entities.some(
|
|
2759
2760
|
(I) => I.subItems && I.subItems.length > 0
|
|
2760
2761
|
),
|
|
2761
2762
|
[e.entities]
|
|
2762
|
-
), f = Nt(
|
|
2763
|
+
), f = Nt(sc), p = f.portalContainer && (f.position === "center" || f.position === "fullscreen") ? f.portalContainer : void 0;
|
|
2763
2764
|
function b(I) {
|
|
2764
2765
|
if (e.singleSelector) {
|
|
2765
2766
|
e.onSelect(I), r(!1);
|
|
@@ -3198,7 +3199,7 @@ const Qu = ({
|
|
|
3198
3199
|
] })
|
|
3199
3200
|
] }), wo = We(
|
|
3200
3201
|
"ActivityItem",
|
|
3201
|
-
|
|
3202
|
+
Qe(Qu, Ju)
|
|
3202
3203
|
), Qa = ({
|
|
3203
3204
|
title: e,
|
|
3204
3205
|
children: t
|
|
@@ -3221,7 +3222,7 @@ const Qu = ({
|
|
|
3221
3222
|
)) }), ef = ({
|
|
3222
3223
|
title: e,
|
|
3223
3224
|
numItems: t
|
|
3224
|
-
}) => /* @__PURE__ */ n(Qa, { title: e, children: Array.from({ length: t }).map((r, o) => /* @__PURE__ */ n(wo.Skeleton, {}, o)) }), Dn =
|
|
3225
|
+
}) => /* @__PURE__ */ n(Qa, { title: e, children: Array.from({ length: t }).map((r, o) => /* @__PURE__ */ n(wo.Skeleton, {}, o)) }), Dn = Qe(Zu, ef), tf = 3, nf = ["today", "yesterday", "lastWeek", "lastMonth"], rf = (e) => dc(e, ([t]) => {
|
|
3225
3226
|
const r = nf.indexOf(t);
|
|
3226
3227
|
return r === -1 ? -Number(t) : r - 4e3;
|
|
3227
3228
|
}), qr = () => /* @__PURE__ */ n("div", { className: "-mx-2 h-px bg-f1-background-secondary" }), of = ({
|
|
@@ -3231,7 +3232,7 @@ const Qu = ({
|
|
|
3231
3232
|
onEndReached: o,
|
|
3232
3233
|
onEndReachedItemsThreshold: i = 5
|
|
3233
3234
|
}) => {
|
|
3234
|
-
const a = pe(), s =
|
|
3235
|
+
const a = pe(), s = lc(e, "createdAt"), l = Object.values(s).slice().flatMap((d) => d.map((f) => f.id)).slice(-i), c = cc((d) => {
|
|
3235
3236
|
l.includes(d) && o?.();
|
|
3236
3237
|
}, 1e3), u = rf(
|
|
3237
3238
|
Object.entries(s).filter(([d, f]) => !!f.length)
|
|
@@ -3272,9 +3273,9 @@ const Qu = ({
|
|
|
3272
3273
|
}
|
|
3273
3274
|
)
|
|
3274
3275
|
] });
|
|
3275
|
-
},
|
|
3276
|
+
}, Ev = We(
|
|
3276
3277
|
"ActivityItemList",
|
|
3277
|
-
|
|
3278
|
+
Qe(of, af)
|
|
3278
3279
|
), sf = {
|
|
3279
3280
|
birthday: "🎂",
|
|
3280
3281
|
anniversary: "🎉",
|
|
@@ -3364,7 +3365,7 @@ function df(e) {
|
|
|
3364
3365
|
const t = _(null), r = _(), o = K(() => {
|
|
3365
3366
|
const a = t.current;
|
|
3366
3367
|
if (!a) return;
|
|
3367
|
-
const s =
|
|
3368
|
+
const s = uc.create(a, {
|
|
3368
3369
|
resize: !0,
|
|
3369
3370
|
useWorker: !1
|
|
3370
3371
|
}), l = ["9D76F3", "3FC495", "E61D46", "F6AF3D"], c = 0.1;
|
|
@@ -3422,7 +3423,7 @@ const uf = ({
|
|
|
3422
3423
|
onClick: i,
|
|
3423
3424
|
className: S(
|
|
3424
3425
|
"relative flex flex-col rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary no-underline transition-shadow hover:shadow",
|
|
3425
|
-
|
|
3426
|
+
Je()
|
|
3426
3427
|
),
|
|
3427
3428
|
onMouseEnter: v ? void 0 : w,
|
|
3428
3429
|
onMouseLeave: v ? void 0 : x,
|
|
@@ -3478,7 +3479,7 @@ const uf = ({
|
|
|
3478
3479
|
] }) }) })
|
|
3479
3480
|
]
|
|
3480
3481
|
}
|
|
3481
|
-
),
|
|
3482
|
+
), Lv = Qe(uf, ff), zv = ({
|
|
3482
3483
|
title: e,
|
|
3483
3484
|
subtitle: t,
|
|
3484
3485
|
buttonLabel: r,
|
|
@@ -3501,7 +3502,7 @@ function Ja({
|
|
|
3501
3502
|
onInteraction: i,
|
|
3502
3503
|
size: a = "md"
|
|
3503
3504
|
}) {
|
|
3504
|
-
const [s, l] = $(r), [c, u] = $(t), d = _(null), { fireEmojiConfetti: f } =
|
|
3505
|
+
const [s, l] = $(r), [c, u] = $(t), d = _(null), { fireEmojiConfetti: f } = fc(), h = (v, g) => {
|
|
3505
3506
|
v.stopPropagation(), u(c + (s ? -1 : 1)), l(!s), i?.(g), s || f(g, d);
|
|
3506
3507
|
}, p = o?.map((v) => v.name).join(", ") || "", b = /* @__PURE__ */ n(
|
|
3507
3508
|
or,
|
|
@@ -3517,10 +3518,10 @@ function Ja({
|
|
|
3517
3518
|
"flex items-center gap-1 px-0.5 font-medium leading-tight shadow-none transition-all active:scale-90 motion-reduce:transition-none motion-reduce:active:scale-100",
|
|
3518
3519
|
s && "border-f1-border-selected bg-f1-background-selected hover:border-f1-border-selected-bold"
|
|
3519
3520
|
),
|
|
3520
|
-
"aria-label":
|
|
3521
|
+
"aria-label": hc(e),
|
|
3521
3522
|
prepend: /* @__PURE__ */ n(Zt, { emoji: e, size: a }),
|
|
3522
3523
|
children: /* @__PURE__ */ n(
|
|
3523
|
-
|
|
3524
|
+
mc,
|
|
3524
3525
|
{
|
|
3525
3526
|
value: c,
|
|
3526
3527
|
spinTiming: {
|
|
@@ -3565,7 +3566,7 @@ function hf({ items: e, onInteraction: t, locale: r, action: o }) {
|
|
|
3565
3566
|
}
|
|
3566
3567
|
const mf = We("Reactions", hf), Za = Ae(function({ content: t, collapsed: r, id: o, className: i, tabIndex: a }, s) {
|
|
3567
3568
|
return /* @__PURE__ */ n(
|
|
3568
|
-
|
|
3569
|
+
pc,
|
|
3569
3570
|
{
|
|
3570
3571
|
ref: s,
|
|
3571
3572
|
id: o,
|
|
@@ -3583,7 +3584,7 @@ Za.displayName = "BasePostDescription";
|
|
|
3583
3584
|
const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-around gap-3 py-2", children: [
|
|
3584
3585
|
/* @__PURE__ */ n(ie, { className: "h-2.5 w-1/2 rounded-2xs" }),
|
|
3585
3586
|
/* @__PURE__ */ n(ie, { className: "h-2.5 w-2/3 rounded-2xs" })
|
|
3586
|
-
] }), es =
|
|
3587
|
+
] }), es = Qe(
|
|
3587
3588
|
Za,
|
|
3588
3589
|
pf
|
|
3589
3590
|
), ui = ({ tags: e, right: t }) => /* @__PURE__ */ n(
|
|
@@ -3717,7 +3718,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
3717
3718
|
place: r,
|
|
3718
3719
|
date: o
|
|
3719
3720
|
}) => {
|
|
3720
|
-
let i =
|
|
3721
|
+
let i = gc(o);
|
|
3721
3722
|
const a = (s) => {
|
|
3722
3723
|
s.stopPropagation();
|
|
3723
3724
|
};
|
|
@@ -3747,7 +3748,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
3747
3748
|
{
|
|
3748
3749
|
title: e,
|
|
3749
3750
|
description: i,
|
|
3750
|
-
color:
|
|
3751
|
+
color: bc.special.highlight,
|
|
3751
3752
|
isPending: !1,
|
|
3752
3753
|
toDate: o,
|
|
3753
3754
|
noBackground: !0
|
|
@@ -3772,7 +3773,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
3772
3773
|
] })
|
|
3773
3774
|
]
|
|
3774
3775
|
}
|
|
3775
|
-
), ns =
|
|
3776
|
+
), ns = Qe(bf, vf), xf = ({
|
|
3776
3777
|
describedBy: e,
|
|
3777
3778
|
controls: t,
|
|
3778
3779
|
expanded: r,
|
|
@@ -3785,7 +3786,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
3785
3786
|
type: "button",
|
|
3786
3787
|
className: S(
|
|
3787
3788
|
"inline cursor-pointer rounded-none border-0 bg-transparent p-0 text-base text-f1-foreground underline underline-offset-2 hover:text-f1-foreground-secondary",
|
|
3788
|
-
|
|
3789
|
+
Je()
|
|
3789
3790
|
),
|
|
3790
3791
|
"aria-controls": t,
|
|
3791
3792
|
"aria-describedby": e,
|
|
@@ -3979,7 +3980,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
3979
3980
|
content: a,
|
|
3980
3981
|
collapsed: z,
|
|
3981
3982
|
tabIndex: I ? -1 : void 0,
|
|
3982
|
-
className: S(I &&
|
|
3983
|
+
className: S(I && Je())
|
|
3983
3984
|
}
|
|
3984
3985
|
),
|
|
3985
3986
|
g && k && !I && /* @__PURE__ */ n(
|
|
@@ -4024,7 +4025,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
4024
4025
|
action: {
|
|
4025
4026
|
label: h.label,
|
|
4026
4027
|
onClick: h.onClick,
|
|
4027
|
-
icon:
|
|
4028
|
+
icon: vc
|
|
4028
4029
|
}
|
|
4029
4030
|
}
|
|
4030
4031
|
)
|
|
@@ -4052,7 +4053,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
4052
4053
|
/* @__PURE__ */ n(ie, { className: "h-2.5 w-14 rounded-2xs" })
|
|
4053
4054
|
] })
|
|
4054
4055
|
] })
|
|
4055
|
-
] }),
|
|
4056
|
+
] }), Av = Qe(
|
|
4056
4057
|
yf,
|
|
4057
4058
|
wf
|
|
4058
4059
|
), rs = Q.forwardRef(({ person: e, onClick: t, ...r }, o) => {
|
|
@@ -4097,7 +4098,7 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
4097
4098
|
"description" in r && r.description && /* @__PURE__ */ n("p", { className: "truncate text-f1-foreground-secondary", children: r.description })
|
|
4098
4099
|
] }),
|
|
4099
4100
|
/* @__PURE__ */ m("div", { className: "flex flex-row items-center justify-between gap-2", children: [
|
|
4100
|
-
"rightTag" in r && r.rightTag && /* @__PURE__ */ n(
|
|
4101
|
+
"rightTag" in r && r.rightTag && /* @__PURE__ */ n(xc, { ...r.rightTag }),
|
|
4101
4102
|
"actions" in r && /* @__PURE__ */ m("div", { className: "flex flex-1 flex-row items-center justify-end gap-2", children: [
|
|
4102
4103
|
r.actions?.primary && /* @__PURE__ */ n(
|
|
4103
4104
|
Me,
|
|
@@ -4131,10 +4132,10 @@ const pf = () => /* @__PURE__ */ m("div", { className: "flex flex-col justify-ar
|
|
|
4131
4132
|
] })
|
|
4132
4133
|
] });
|
|
4133
4134
|
rs.displayName = "OnePersonListItem";
|
|
4134
|
-
const
|
|
4135
|
+
const Fv = tt(
|
|
4135
4136
|
We(
|
|
4136
4137
|
"OnePersonListItem",
|
|
4137
|
-
|
|
4138
|
+
Qe(rs, Nf)
|
|
4138
4139
|
)
|
|
4139
4140
|
), Cf = () => {
|
|
4140
4141
|
const { open: e, panelContent: t, panelContentSide: r, restoringPanelContentId: o } = ba(), i = nt(), a = _(t);
|
|
@@ -4151,7 +4152,7 @@ const Av = tt(
|
|
|
4151
4152
|
)
|
|
4152
4153
|
} : null, l = t ?? s ?? a.current;
|
|
4153
4154
|
return /* @__PURE__ */ n(
|
|
4154
|
-
|
|
4155
|
+
yc,
|
|
4155
4156
|
{
|
|
4156
4157
|
visible: e && (t !== null || s !== null),
|
|
4157
4158
|
side: r,
|
|
@@ -4196,7 +4197,7 @@ function Sf({
|
|
|
4196
4197
|
ai: o,
|
|
4197
4198
|
aiPromotion: i
|
|
4198
4199
|
}) {
|
|
4199
|
-
const a = o?.enabled ?
|
|
4200
|
+
const a = o?.enabled ? wc : i?.enabled ? Fu : Rt, s = o?.enabled ? o : i?.enabled ? i : void 0;
|
|
4200
4201
|
return /* @__PURE__ */ n(a, { ...s, children: /* @__PURE__ */ n(
|
|
4201
4202
|
Ef,
|
|
4202
4203
|
{
|
|
@@ -4208,7 +4209,7 @@ function Sf({
|
|
|
4208
4209
|
}
|
|
4209
4210
|
) });
|
|
4210
4211
|
}
|
|
4211
|
-
const
|
|
4212
|
+
const Pv = We(
|
|
4212
4213
|
"ApplicationFrame",
|
|
4213
4214
|
If
|
|
4214
4215
|
), kf = ({ contentId: e }) => {
|
|
@@ -4217,7 +4218,7 @@ const Fv = We(
|
|
|
4217
4218
|
"a",
|
|
4218
4219
|
{
|
|
4219
4220
|
href: `#${e}`,
|
|
4220
|
-
className:
|
|
4221
|
+
className: Je(
|
|
4221
4222
|
"absolute z-50 -translate-y-[1000px] translate-x-4 rounded-md bg-f1-background px-4 py-2.5 text-base font-medium text-f1-foreground no-underline transition-transform duration-200 focus-visible:translate-y-4"
|
|
4222
4223
|
),
|
|
4223
4224
|
children: t.actions.skipToContent
|
|
@@ -4256,7 +4257,7 @@ function Ef({
|
|
|
4256
4257
|
panelContent: x,
|
|
4257
4258
|
panelContentSide: N,
|
|
4258
4259
|
restoringPanelContentId: A
|
|
4259
|
-
} = ba(), E = f === "fullscreen", k = f === "canvas", { open: y } = sr(), C = g ? v :
|
|
4260
|
+
} = ba(), E = f === "fullscreen", k = f === "canvas", { open: y } = sr(), C = g ? v : Nc, I = w === "left", z = N !== w, L = !!(x || A), P = (L ? N : w) === "left", R = _(E), B = E && !R.current, T = !E && R.current, [
|
|
4260
4261
|
M,
|
|
4261
4262
|
q
|
|
4262
4263
|
] = $(!1);
|
|
@@ -4378,7 +4379,7 @@ function Ef({
|
|
|
4378
4379
|
),
|
|
4379
4380
|
style: ne ? void 0 : I ? { left: C } : { right: C },
|
|
4380
4381
|
children: /* @__PURE__ */ n(
|
|
4381
|
-
|
|
4382
|
+
Cc,
|
|
4382
4383
|
{
|
|
4383
4384
|
content: h,
|
|
4384
4385
|
onClose: b,
|
|
@@ -4429,7 +4430,7 @@ function Ef({
|
|
|
4429
4430
|
ye(
|
|
4430
4431
|
w,
|
|
4431
4432
|
!z || !L,
|
|
4432
|
-
/* @__PURE__ */ n(
|
|
4433
|
+
/* @__PURE__ */ n(Ic, {})
|
|
4433
4434
|
),
|
|
4434
4435
|
z && ye(
|
|
4435
4436
|
N,
|
|
@@ -4570,7 +4571,7 @@ const os = ({
|
|
|
4570
4571
|
label: l.actions.add,
|
|
4571
4572
|
variant: "neutral",
|
|
4572
4573
|
size: "sm",
|
|
4573
|
-
icon:
|
|
4574
|
+
icon: Sc,
|
|
4574
4575
|
onClick: (d) => {
|
|
4575
4576
|
d.preventDefault(), d.stopPropagation(), s();
|
|
4576
4577
|
},
|
|
@@ -4697,7 +4698,7 @@ function is({
|
|
|
4697
4698
|
);
|
|
4698
4699
|
}
|
|
4699
4700
|
is.displayName = "DaytimePage";
|
|
4700
|
-
const
|
|
4701
|
+
const Mv = tt(
|
|
4701
4702
|
We("DaytimePage", is)
|
|
4702
4703
|
);
|
|
4703
4704
|
function zf(e) {
|
|
@@ -4722,7 +4723,7 @@ function Af({ label: e, options: t, hasNewUpdate: r }) {
|
|
|
4722
4723
|
{
|
|
4723
4724
|
className: S(
|
|
4724
4725
|
"relative flex h-6 w-6 items-center justify-center rounded-full bg-f1-background-inverse text-f1-foreground-inverse shadow-md transition-all",
|
|
4725
|
-
|
|
4726
|
+
Je()
|
|
4726
4727
|
),
|
|
4727
4728
|
"aria-label": e,
|
|
4728
4729
|
children: [
|
|
@@ -4734,7 +4735,7 @@ function Af({ label: e, options: t, hasNewUpdate: r }) {
|
|
|
4734
4735
|
}
|
|
4735
4736
|
);
|
|
4736
4737
|
}
|
|
4737
|
-
const
|
|
4738
|
+
const Ov = tt(
|
|
4738
4739
|
We("OmniButton", Af)
|
|
4739
4740
|
);
|
|
4740
4741
|
function as({ children: e, header: t, embedded: r = !1 }) {
|
|
@@ -4753,10 +4754,10 @@ function as({ children: e, header: t, embedded: r = !1 }) {
|
|
|
4753
4754
|
);
|
|
4754
4755
|
}
|
|
4755
4756
|
as.displayName = "Page";
|
|
4756
|
-
const
|
|
4757
|
+
const Dv = tt(We("Page", as)), Ff = (e) => e.reduce(
|
|
4757
4758
|
(t, r) => t + r.chats.filter((o) => (o.unreadCount ?? 0) > 0).length,
|
|
4758
4759
|
0
|
|
4759
|
-
), ss = st(null), ls = st(null), hi = (e, t, r) => e.map((o) => o.id === t ? r(o) : o), En = (e, t) => e.map((r) => ({ ...r, chats: t(r.chats) })),
|
|
4760
|
+
), ss = st(null), ls = st(null), hi = (e, t, r) => e.map((o) => o.id === t ? r(o) : o), En = (e, t) => e.map((r) => ({ ...r, chats: t(r.chats) })), Bv = ({
|
|
4760
4761
|
children: e,
|
|
4761
4762
|
initialGroups: t = [],
|
|
4762
4763
|
initialActiveChatId: r
|
|
@@ -4823,7 +4824,7 @@ const Ov = tt(We("Page", as)), Ff = (e) => e.reduce(
|
|
|
4823
4824
|
}, Mf = () => {
|
|
4824
4825
|
const e = Pf(), t = cs();
|
|
4825
4826
|
return he(() => ({ ...e, ...t }), [e, t]);
|
|
4826
|
-
},
|
|
4827
|
+
}, _v = () => cs(), mi = (e) => e.toLowerCase().normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), ""), Of = (e, t) => {
|
|
4827
4828
|
const r = mi(e.trim());
|
|
4828
4829
|
if (!r) return !0;
|
|
4829
4830
|
const o = mi(t);
|
|
@@ -4847,13 +4848,13 @@ const Ov = tt(We("Page", as)), Ff = (e) => e.reduce(
|
|
|
4847
4848
|
const b = !u;
|
|
4848
4849
|
d(b), o?.(b);
|
|
4849
4850
|
};
|
|
4850
|
-
return /* @__PURE__ */ n("div", { children: /* @__PURE__ */ m(
|
|
4851
|
+
return /* @__PURE__ */ n("div", { children: /* @__PURE__ */ m(kc, { open: u, children: [
|
|
4851
4852
|
/* @__PURE__ */ n("div", { className: "group relative flex items-center", children: /* @__PURE__ */ m(
|
|
4852
4853
|
"div",
|
|
4853
4854
|
{
|
|
4854
4855
|
className: S(
|
|
4855
4856
|
"group relative flex w-full select-none items-center gap-1 rounded p-1.5 pr-2 text-sm font-medium text-f1-foreground-secondary transition-colors hover:cursor-pointer hover:bg-f1-background-secondary",
|
|
4856
|
-
|
|
4857
|
+
Je("focus-visible:ring-inset"),
|
|
4857
4858
|
r && "hidden"
|
|
4858
4859
|
),
|
|
4859
4860
|
onClick: p,
|
|
@@ -4886,7 +4887,7 @@ const Ov = tt(We("Page", as)), Ff = (e) => e.reduce(
|
|
|
4886
4887
|
]
|
|
4887
4888
|
}
|
|
4888
4889
|
) }),
|
|
4889
|
-
/* @__PURE__ */ n(
|
|
4890
|
+
/* @__PURE__ */ n(Tc, { forceMount: !0, className: "flex flex-col gap-1 mt-0.5", children: /* @__PURE__ */ n(
|
|
4890
4891
|
ue.div,
|
|
4891
4892
|
{
|
|
4892
4893
|
initial: !1,
|
|
@@ -4940,7 +4941,7 @@ const Ov = tt(We("Page", as)), Ff = (e) => e.reduce(
|
|
|
4940
4941
|
onClick: e.onClick,
|
|
4941
4942
|
className: S(
|
|
4942
4943
|
"flex w-full cursor-pointer items-center gap-1.5 rounded py-1.5 pl-1.5 pr-2 text-left font-medium text-f1-foreground transition-colors hover:bg-f1-background-secondary",
|
|
4943
|
-
|
|
4944
|
+
Je("focus-visible:ring-inset")
|
|
4944
4945
|
),
|
|
4945
4946
|
children: [
|
|
4946
4947
|
e.icon && /* @__PURE__ */ n(ve, { icon: e.icon, size: "md", className: "text-f1-icon" }),
|
|
@@ -5165,7 +5166,7 @@ const $f = tt(Hf), ds = ({
|
|
|
5165
5166
|
"aria-pressed": t,
|
|
5166
5167
|
className: S(
|
|
5167
5168
|
"group flex w-full cursor-pointer items-center gap-2 rounded py-1.5 pl-1.5 pr-2 text-left transition-colors",
|
|
5168
|
-
|
|
5169
|
+
Je("focus-visible:ring-inset"),
|
|
5169
5170
|
t ? "bg-f1-background-secondary" : "hover:bg-f1-background-secondary"
|
|
5170
5171
|
),
|
|
5171
5172
|
children: [
|
|
@@ -5205,7 +5206,7 @@ const $f = tt(Hf), ds = ({
|
|
|
5205
5206
|
),
|
|
5206
5207
|
children: [
|
|
5207
5208
|
s && /* @__PURE__ */ n("div", { className: "flex h-5 w-5 items-center justify-center", children: /* @__PURE__ */ n(
|
|
5208
|
-
|
|
5209
|
+
Rc,
|
|
5209
5210
|
{
|
|
5210
5211
|
icon: s.icon,
|
|
5211
5212
|
size: "sm",
|
|
@@ -5247,7 +5248,7 @@ const $f = tt(Hf), ds = ({
|
|
|
5247
5248
|
size: "sm",
|
|
5248
5249
|
hideLabel: !0,
|
|
5249
5250
|
label: e.pinned ? o.chat.unpin : o.chat.pin,
|
|
5250
|
-
icon: e.pinned ?
|
|
5251
|
+
icon: e.pinned ? Ec : Lc,
|
|
5251
5252
|
onClick: (l) => {
|
|
5252
5253
|
l.stopPropagation(), e.onTogglePin?.();
|
|
5253
5254
|
}
|
|
@@ -5256,7 +5257,7 @@ const $f = tt(Hf), ds = ({
|
|
|
5256
5257
|
}
|
|
5257
5258
|
))
|
|
5258
5259
|
] });
|
|
5259
|
-
},
|
|
5260
|
+
}, Hv = ({
|
|
5260
5261
|
actions: e = [],
|
|
5261
5262
|
emptyState: t,
|
|
5262
5263
|
loading: r = !1
|
|
@@ -5396,7 +5397,7 @@ const qf = ({
|
|
|
5396
5397
|
{
|
|
5397
5398
|
className: S(
|
|
5398
5399
|
"group flex w-fit max-w-full flex-nowrap items-center justify-center gap-1 rounded p-1.5 text-f1-foreground transition-colors hover:bg-f1-background-hover data-[state=open]:bg-f1-background-hover",
|
|
5399
|
-
|
|
5400
|
+
Je()
|
|
5400
5401
|
),
|
|
5401
5402
|
"data-testid": "company-selector-button",
|
|
5402
5403
|
tabIndex: 0,
|
|
@@ -5428,7 +5429,7 @@ const qf = ({
|
|
|
5428
5429
|
),
|
|
5429
5430
|
children: [
|
|
5430
5431
|
/* @__PURE__ */ n(
|
|
5431
|
-
|
|
5432
|
+
zc,
|
|
5432
5433
|
{
|
|
5433
5434
|
name: e?.name?.[0],
|
|
5434
5435
|
src: e?.logo,
|
|
@@ -5440,7 +5441,7 @@ const qf = ({
|
|
|
5440
5441
|
]
|
|
5441
5442
|
}
|
|
5442
5443
|
);
|
|
5443
|
-
function
|
|
5444
|
+
function $v({
|
|
5444
5445
|
user: e,
|
|
5445
5446
|
options: t,
|
|
5446
5447
|
showActivityButton: r = !1,
|
|
@@ -5456,7 +5457,7 @@ function Hv({
|
|
|
5456
5457
|
{
|
|
5457
5458
|
className: S(
|
|
5458
5459
|
"flex w-full max-w-full items-center gap-1.5 rounded p-1.5 font-medium transition-colors hover:bg-f1-background-secondary data-[state=open]:bg-f1-background-secondary",
|
|
5459
|
-
|
|
5460
|
+
Je("focus-visible:ring-inset")
|
|
5460
5461
|
),
|
|
5461
5462
|
onClick: a,
|
|
5462
5463
|
children: [
|
|
@@ -5484,7 +5485,7 @@ function Hv({
|
|
|
5484
5485
|
hideLabel: !0
|
|
5485
5486
|
}
|
|
5486
5487
|
),
|
|
5487
|
-
s && /* @__PURE__ */ n("div", { className: "absolute -right-1 -top-1 rounded-full bg-f1-background", children: /* @__PURE__ */ n(
|
|
5488
|
+
s && /* @__PURE__ */ n("div", { className: "absolute -right-1 -top-1 rounded-full bg-f1-background", children: /* @__PURE__ */ n(Ac, { type: "highlight", size: "sm", icon: xa }) })
|
|
5488
5489
|
] }) })
|
|
5489
5490
|
] });
|
|
5490
5491
|
}
|
|
@@ -5565,7 +5566,7 @@ function Xf() {
|
|
|
5565
5566
|
}
|
|
5566
5567
|
);
|
|
5567
5568
|
}
|
|
5568
|
-
function
|
|
5569
|
+
function Wv({
|
|
5569
5570
|
companies: e,
|
|
5570
5571
|
selected: t,
|
|
5571
5572
|
onChange: r,
|
|
@@ -5641,7 +5642,7 @@ const Zf = ({
|
|
|
5641
5642
|
...i,
|
|
5642
5643
|
className: S(
|
|
5643
5644
|
"flex cursor-pointer items-center rounded py-1.5 pl-1.5 pr-2 no-underline transition-colors",
|
|
5644
|
-
|
|
5645
|
+
Je("focus-visible:ring-inset"),
|
|
5645
5646
|
a ? "bg-f1-background-secondary text-f1-foreground" : "hover:bg-f1-background-secondary"
|
|
5646
5647
|
),
|
|
5647
5648
|
children: /* @__PURE__ */ n(Zf, { item: e, active: a })
|
|
@@ -5663,11 +5664,11 @@ const Zf = ({
|
|
|
5663
5664
|
return !E && !N && D.push({
|
|
5664
5665
|
label: u.actions.moveUp,
|
|
5665
5666
|
onClick: () => s?.(i, i - 1),
|
|
5666
|
-
icon:
|
|
5667
|
+
icon: Fc
|
|
5667
5668
|
}), !E && !A && D.push({
|
|
5668
5669
|
label: u.actions.moveDown,
|
|
5669
5670
|
onClick: () => s?.(i, i + 1),
|
|
5670
|
-
icon:
|
|
5671
|
+
icon: Pc
|
|
5671
5672
|
}), D.length > 0 && D.push({ type: "separator" }), D.push({
|
|
5672
5673
|
label: u.favorites.remove,
|
|
5673
5674
|
onClick: () => o?.(e),
|
|
@@ -5839,7 +5840,7 @@ const Zf = ({
|
|
|
5839
5840
|
}
|
|
5840
5841
|
) : p;
|
|
5841
5842
|
};
|
|
5842
|
-
function
|
|
5843
|
+
function jv({
|
|
5843
5844
|
tree: e,
|
|
5844
5845
|
onCollapse: t,
|
|
5845
5846
|
onSort: r,
|
|
@@ -6026,7 +6027,7 @@ const rh = ({
|
|
|
6026
6027
|
tooltip: e,
|
|
6027
6028
|
children: t
|
|
6028
6029
|
}) => e ? /* @__PURE__ */ n(At, { description: e, children: t }) : t;
|
|
6029
|
-
function
|
|
6030
|
+
function Vv({
|
|
6030
6031
|
onClick: e,
|
|
6031
6032
|
placeholder: t,
|
|
6032
6033
|
shortcut: r = ["cmd", "k"],
|
|
@@ -6038,7 +6039,7 @@ function jv({
|
|
|
6038
6039
|
onClick: e,
|
|
6039
6040
|
className: S(
|
|
6040
6041
|
"mb-[calc(0.75rem-1px)] flex w-full cursor-pointer items-center justify-between rounded bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary p-1.5 text-f1-foreground-secondary ring-1 ring-inset ring-f1-border-secondary transition-all hover:ring-f1-border-hover",
|
|
6041
|
-
|
|
6042
|
+
Je()
|
|
6042
6043
|
),
|
|
6043
6044
|
type: "button",
|
|
6044
6045
|
...o,
|
|
@@ -6047,7 +6048,7 @@ function jv({
|
|
|
6047
6048
|
/* @__PURE__ */ n(ve, { icon: co, size: "md" }),
|
|
6048
6049
|
/* @__PURE__ */ n("span", { children: t })
|
|
6049
6050
|
] }),
|
|
6050
|
-
/* @__PURE__ */ n("div", { className: "hidden xs:block", children: /* @__PURE__ */ n(
|
|
6051
|
+
/* @__PURE__ */ n("div", { className: "hidden xs:block", children: /* @__PURE__ */ n(Mc, { keys: r }) })
|
|
6051
6052
|
]
|
|
6052
6053
|
}
|
|
6053
6054
|
) });
|
|
@@ -6087,7 +6088,7 @@ function oh({
|
|
|
6087
6088
|
top: { duration: s ? 0 : 0.1 },
|
|
6088
6089
|
left: { duration: s ? 0 : 0.1 },
|
|
6089
6090
|
default: { duration: s ? 0 : 0.2 }
|
|
6090
|
-
}, p = () => r ?
|
|
6091
|
+
}, p = () => r ? Ad(r) && o ? Pa(
|
|
6091
6092
|
r,
|
|
6092
6093
|
{
|
|
6093
6094
|
onDropdownClick: o
|
|
@@ -6148,7 +6149,7 @@ function oh({
|
|
|
6148
6149
|
}
|
|
6149
6150
|
);
|
|
6150
6151
|
}
|
|
6151
|
-
const
|
|
6152
|
+
const Uv = tt(oh), ih = () => /* @__PURE__ */ n("div", { className: "absolute -right-0.5 -top-0.5 flex h-3 w-3 items-center justify-center rounded-full", children: /* @__PURE__ */ n("span", { className: "h-2 w-2 rounded-full bg-f1-special-highlight" }) }), bi = ({
|
|
6152
6153
|
tab: e,
|
|
6153
6154
|
isActive: t,
|
|
6154
6155
|
showLabel: r,
|
|
@@ -6180,9 +6181,9 @@ const Vv = tt(oh), ih = () => /* @__PURE__ */ n("div", { className: "absolute -r
|
|
|
6180
6181
|
// visible) and the icon-only tabs share the rest. The probe twin
|
|
6181
6182
|
// always hugs its natural width.
|
|
6182
6183
|
o && !i ? "flex-1" : "shrink-0",
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6184
|
+
Dc({ variant: "ghost" }),
|
|
6185
|
+
Oc({ size: "md" }),
|
|
6186
|
+
Je(),
|
|
6186
6187
|
// The sliding pill is the only selection affordance, so suppress the
|
|
6187
6188
|
// ghost variant's grey backgrounds entirely — on hover, press, and
|
|
6188
6189
|
// pressed. Otherwise the just-activated tab flashes its hover grey
|
|
@@ -6254,7 +6255,7 @@ const Vv = tt(oh), ih = () => /* @__PURE__ */ n("div", { className: "absolute -r
|
|
|
6254
6255
|
]
|
|
6255
6256
|
}
|
|
6256
6257
|
);
|
|
6257
|
-
},
|
|
6258
|
+
}, Gv = ({
|
|
6258
6259
|
tabs: e,
|
|
6259
6260
|
activeTab: t,
|
|
6260
6261
|
onTabChange: r,
|
|
@@ -6420,13 +6421,13 @@ const dh = ({
|
|
|
6420
6421
|
] })) })
|
|
6421
6422
|
] })
|
|
6422
6423
|
] });
|
|
6423
|
-
},
|
|
6424
|
+
}, Kv = tt(
|
|
6424
6425
|
We("OneApprovalHistory", uh)
|
|
6425
6426
|
), Nr = (e, t) => typeof t == "string" && t in e;
|
|
6426
6427
|
function yi(e, t, r) {
|
|
6427
6428
|
const o = {};
|
|
6428
6429
|
let i = !1;
|
|
6429
|
-
const a =
|
|
6430
|
+
const a = Bc(e);
|
|
6430
6431
|
if (a !== void 0 && t.filters) {
|
|
6431
6432
|
const c = t.filters, u = Object.fromEntries(
|
|
6432
6433
|
Object.entries(a).filter(
|
|
@@ -6456,7 +6457,7 @@ function yi(e, t, r) {
|
|
|
6456
6457
|
}
|
|
6457
6458
|
return i ? o : null;
|
|
6458
6459
|
}
|
|
6459
|
-
function
|
|
6460
|
+
function qv(e) {
|
|
6460
6461
|
const {
|
|
6461
6462
|
source: t,
|
|
6462
6463
|
collectionId: r,
|
|
@@ -6471,7 +6472,7 @@ function Kv(e) {
|
|
|
6471
6472
|
currentFilters: f,
|
|
6472
6473
|
navigationMode: h = "url",
|
|
6473
6474
|
deps: p = []
|
|
6474
|
-
} = e, b =
|
|
6475
|
+
} = e, b = _c(), v = jd(t, p), [g, w] = $(null), x = g?.key === r && g.settled, N = _(v);
|
|
6475
6476
|
N.current = v;
|
|
6476
6477
|
const A = _(b);
|
|
6477
6478
|
A.current = b;
|
|
@@ -6509,7 +6510,7 @@ function Kv(e) {
|
|
|
6509
6510
|
!x || k === null || C.current !== k && I();
|
|
6510
6511
|
}, [x, k]), te(() => {
|
|
6511
6512
|
if (!(!u || !d))
|
|
6512
|
-
return
|
|
6513
|
+
return Hc(r, async () => {
|
|
6513
6514
|
try {
|
|
6514
6515
|
const U = await A.current.get(
|
|
6515
6516
|
r
|
|
@@ -6537,7 +6538,7 @@ function Kv(e) {
|
|
|
6537
6538
|
loadMore: P,
|
|
6538
6539
|
isLoading: R,
|
|
6539
6540
|
isInitialLoading: B
|
|
6540
|
-
} =
|
|
6541
|
+
} = $c(
|
|
6541
6542
|
v,
|
|
6542
6543
|
{
|
|
6543
6544
|
// The first fetch waits for hydration so it runs exactly once, with
|
|
@@ -6909,7 +6910,7 @@ function yh(e = xh) {
|
|
|
6909
6910
|
[]
|
|
6910
6911
|
), { error: t, show: i };
|
|
6911
6912
|
}
|
|
6912
|
-
const
|
|
6913
|
+
const Yv = (e) => e.type === "system", qn = (e) => e.type !== "system", wh = "latest", Nh = [
|
|
6913
6914
|
["application/pdf", "pdf"],
|
|
6914
6915
|
["spreadsheetml", "sheet"],
|
|
6915
6916
|
["ms-excel", "sheet"],
|
|
@@ -6944,7 +6945,7 @@ const qv = (e) => e.type === "system", qn = (e) => e.type !== "system", wh = "la
|
|
|
6944
6945
|
}, Sh = (e, t) => (e.size ?? 0) <= Ih[t], ms = st(null), ps = st(null), kh = (e) => {
|
|
6945
6946
|
const t = _(e), r = t.current, o = r === e || r != null && e != null && r.canSend === e.canSend && r.canReact === e.canReact && r.canUpload === e.canUpload && r.canEditMessage === e.canEditMessage && r.canDeleteMessage === e.canDeleteMessage;
|
|
6946
6947
|
return o || (t.current = e), o ? r : e;
|
|
6947
|
-
},
|
|
6948
|
+
}, Xv = ({
|
|
6948
6949
|
runtime: e,
|
|
6949
6950
|
children: t
|
|
6950
6951
|
}) => {
|
|
@@ -7198,12 +7199,12 @@ const Is = () => Ft(gs, "useChatJump"), Lh = () => Ft(bs, "useChatHighlightedId"
|
|
|
7198
7199
|
const t = pe(), r = Io(e.body?.trim() ?? ""), o = Mh(e.attachments), i = Oh(e.attachments);
|
|
7199
7200
|
if (!i) return { label: r, thumbnailUrl: o };
|
|
7200
7201
|
const a = i.kind === "photo" ? {
|
|
7201
|
-
icon:
|
|
7202
|
+
icon: Wc,
|
|
7202
7203
|
label: i.count === 1 ? t.chat.photo : t.t("chat.photoCount.other", { count: i.count })
|
|
7203
7204
|
} : i.kind === "file" ? {
|
|
7204
|
-
icon:
|
|
7205
|
+
icon: jc,
|
|
7205
7206
|
label: i.name ?? t.t("chat.fileCount.other", { count: i.count })
|
|
7206
|
-
} : i.kind === "location" ? { icon:
|
|
7207
|
+
} : i.kind === "location" ? { icon: Vc, label: t.chat.location } : i.kind === "voice" ? { icon: ya, label: t.chat.voiceNote } : {
|
|
7207
7208
|
icon: wa,
|
|
7208
7209
|
label: t.t("chat.attachmentCount.other", {
|
|
7209
7210
|
count: i.count
|
|
@@ -7301,7 +7302,7 @@ function Hh({
|
|
|
7301
7302
|
v.preventDefault(), a(f);
|
|
7302
7303
|
},
|
|
7303
7304
|
children: f.kind === "everyone" ? /* @__PURE__ */ m(De, { children: [
|
|
7304
|
-
/* @__PURE__ */ n("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-full bg-f1-background-secondary", children: /* @__PURE__ */ n(ve, { icon:
|
|
7305
|
+
/* @__PURE__ */ n("span", { className: "flex size-5 shrink-0 items-center justify-center rounded-full bg-f1-background-secondary", children: /* @__PURE__ */ n(ve, { icon: Uc, size: "sm", color: "default" }) }),
|
|
7305
7306
|
/* @__PURE__ */ m("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
7306
7307
|
/* @__PURE__ */ n(Ue, { className: "text-base font-medium text-f1-foreground", children: f.label }),
|
|
7307
7308
|
/* @__PURE__ */ n(Ue, { className: "text-sm text-f1-foreground-secondary", children: s })
|
|
@@ -7404,15 +7405,15 @@ const $h = {
|
|
|
7404
7405
|
children: t
|
|
7405
7406
|
}) => {
|
|
7406
7407
|
const r = pe();
|
|
7407
|
-
return /* @__PURE__ */ m(
|
|
7408
|
-
/* @__PURE__ */ n(
|
|
7408
|
+
return /* @__PURE__ */ m(Gc, { openDelay: 150, closeDelay: 100, children: [
|
|
7409
|
+
/* @__PURE__ */ n(Kc, { asChild: !0, children: t }),
|
|
7409
7410
|
/* @__PURE__ */ n(
|
|
7410
|
-
|
|
7411
|
+
qc,
|
|
7411
7412
|
{
|
|
7412
7413
|
align: "start",
|
|
7413
7414
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
7414
7415
|
children: /* @__PURE__ */ n(
|
|
7415
|
-
|
|
7416
|
+
Yc,
|
|
7416
7417
|
{
|
|
7417
7418
|
avatar: e.avatar ?? {
|
|
7418
7419
|
type: "person",
|
|
@@ -7680,7 +7681,7 @@ const $h = {
|
|
|
7680
7681
|
P.inlineCompletion,
|
|
7681
7682
|
d
|
|
7682
7683
|
]
|
|
7683
|
-
), B = P.mentions.length > 0 || P.inlineCompletion !== null ||
|
|
7684
|
+
), B = P.mentions.length > 0 || P.inlineCompletion !== null || Xc(N), T = _(0), M = y.some((O) => O.status === "uploading"), q = he(
|
|
7684
7685
|
() => [
|
|
7685
7686
|
...y.filter(Ii),
|
|
7686
7687
|
...y.filter((O) => !Ii(O))
|
|
@@ -7723,7 +7724,7 @@ const $h = {
|
|
|
7723
7724
|
}
|
|
7724
7725
|
},
|
|
7725
7726
|
[a, t, Y, e.chat.fileUploadError]
|
|
7726
|
-
), j =
|
|
7727
|
+
), j = Qc({
|
|
7727
7728
|
onTranscribe: s,
|
|
7728
7729
|
onPartial: xe,
|
|
7729
7730
|
onFinal: xe,
|
|
@@ -8095,7 +8096,7 @@ const $h = {
|
|
|
8095
8096
|
transition: { duration: x ? 0 : 0.15 },
|
|
8096
8097
|
children: [
|
|
8097
8098
|
/* @__PURE__ */ n(
|
|
8098
|
-
|
|
8099
|
+
Jc,
|
|
8099
8100
|
{
|
|
8100
8101
|
stream: j.stream,
|
|
8101
8102
|
className: "min-w-0 flex-1"
|
|
@@ -8230,7 +8231,7 @@ const $h = {
|
|
|
8230
8231
|
e ? "opacity-100" : "opacity-0"
|
|
8231
8232
|
),
|
|
8232
8233
|
children: [
|
|
8233
|
-
/* @__PURE__ */ n(ve, { icon:
|
|
8234
|
+
/* @__PURE__ */ n(ve, { icon: Zc, size: "lg", color: "bold" }),
|
|
8234
8235
|
/* @__PURE__ */ n("p", { className: "text-base text-f1-foreground", children: t.chat.dropFilesHere })
|
|
8235
8236
|
]
|
|
8236
8237
|
}
|
|
@@ -8250,7 +8251,7 @@ const $h = {
|
|
|
8250
8251
|
p.key === "Enter" ? (p.preventDefault(), p.shiftKey ? l() : s()) : p.key === "Escape" && (p.preventDefault(), c());
|
|
8251
8252
|
}, children: [
|
|
8252
8253
|
/* @__PURE__ */ n("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ n(
|
|
8253
|
-
|
|
8254
|
+
ed,
|
|
8254
8255
|
{
|
|
8255
8256
|
value: t,
|
|
8256
8257
|
onChange: r,
|
|
@@ -8279,7 +8280,7 @@ const $h = {
|
|
|
8279
8280
|
variant: "ghost",
|
|
8280
8281
|
hideLabel: !0,
|
|
8281
8282
|
label: e.navigation.previous,
|
|
8282
|
-
icon:
|
|
8283
|
+
icon: td,
|
|
8283
8284
|
onClick: l,
|
|
8284
8285
|
disabled: !u || o,
|
|
8285
8286
|
size: "sm"
|
|
@@ -8346,7 +8347,7 @@ const $h = {
|
|
|
8346
8347
|
e.muted && /* @__PURE__ */ n(
|
|
8347
8348
|
ve,
|
|
8348
8349
|
{
|
|
8349
|
-
icon:
|
|
8350
|
+
icon: nd,
|
|
8350
8351
|
size: "sm",
|
|
8351
8352
|
color: "secondary",
|
|
8352
8353
|
"aria-label": a.chat.muted
|
|
@@ -8395,7 +8396,7 @@ const $h = {
|
|
|
8395
8396
|
variant: "ghost",
|
|
8396
8397
|
hideLabel: !0,
|
|
8397
8398
|
label: t ? a.actions.collapse : a.actions.expand,
|
|
8398
|
-
icon: t ?
|
|
8399
|
+
icon: t ? rd : od,
|
|
8399
8400
|
onClick: r
|
|
8400
8401
|
}
|
|
8401
8402
|
),
|
|
@@ -8412,7 +8413,7 @@ const $h = {
|
|
|
8412
8413
|
] })
|
|
8413
8414
|
] }) });
|
|
8414
8415
|
}, Jh = tn(
|
|
8415
|
-
() => import("./index-
|
|
8416
|
+
() => import("./index-CfHeK3Qf.js").then((e) => e.i).then((e) => ({
|
|
8416
8417
|
default: e.F0PdfViewer
|
|
8417
8418
|
}))
|
|
8418
8419
|
), Zh = () => {
|
|
@@ -12393,7 +12394,7 @@ const Wp = (e) => {
|
|
|
12393
12394
|
/* @__PURE__ */ n(
|
|
12394
12395
|
Ie,
|
|
12395
12396
|
{
|
|
12396
|
-
icon:
|
|
12397
|
+
icon: id,
|
|
12397
12398
|
onClick: t,
|
|
12398
12399
|
label: r.chat.back,
|
|
12399
12400
|
variant: "ghost",
|
|
@@ -12438,7 +12439,7 @@ const Wp = (e) => {
|
|
|
12438
12439
|
{
|
|
12439
12440
|
type: "button",
|
|
12440
12441
|
onClick: r,
|
|
12441
|
-
className: S(Qp,
|
|
12442
|
+
className: S(Qp, Je("focus-visible:ring-inset")),
|
|
12442
12443
|
children: [
|
|
12443
12444
|
/* @__PURE__ */ n(ve, { icon: e, size: "md" }),
|
|
12444
12445
|
/* @__PURE__ */ n("span", { className: "line-clamp-1 flex-1", children: t }),
|
|
@@ -12579,7 +12580,7 @@ const Wp = (e) => {
|
|
|
12579
12580
|
/* @__PURE__ */ n(
|
|
12580
12581
|
Dt,
|
|
12581
12582
|
{
|
|
12582
|
-
icon:
|
|
12583
|
+
icon: ad,
|
|
12583
12584
|
label: i.chat.reply,
|
|
12584
12585
|
onClick: y(() => {
|
|
12585
12586
|
p(null), h(e);
|
|
@@ -12589,7 +12590,7 @@ const Wp = (e) => {
|
|
|
12589
12590
|
/* @__PURE__ */ n(
|
|
12590
12591
|
Dt,
|
|
12591
12592
|
{
|
|
12592
|
-
icon:
|
|
12593
|
+
icon: sd,
|
|
12593
12594
|
label: i.actions.copy,
|
|
12594
12595
|
onClick: y(() => {
|
|
12595
12596
|
navigator.clipboard?.writeText(e.body);
|
|
@@ -12628,7 +12629,7 @@ const Wp = (e) => {
|
|
|
12628
12629
|
}
|
|
12629
12630
|
)
|
|
12630
12631
|
] });
|
|
12631
|
-
}, Jp = tn(() => import("./ChatPdfThumbnail-
|
|
12632
|
+
}, Jp = tn(() => import("./ChatPdfThumbnail-DBvkl-F_.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
|
|
12632
12633
|
const [t, r] = $(!1);
|
|
12633
12634
|
return te(() => {
|
|
12634
12635
|
const o = e.current;
|
|
@@ -12673,7 +12674,7 @@ const Wp = (e) => {
|
|
|
12673
12674
|
children: [
|
|
12674
12675
|
/* @__PURE__ */ m("div", { className: "flex items-center gap-2 py-2 px-2", children: [
|
|
12675
12676
|
/* @__PURE__ */ n(
|
|
12676
|
-
|
|
12677
|
+
ld,
|
|
12677
12678
|
{
|
|
12678
12679
|
file: { name: e.name, type: e.mimeType ?? "" },
|
|
12679
12680
|
size: "md"
|
|
@@ -13158,7 +13159,7 @@ const Wp = (e) => {
|
|
|
13158
13159
|
variant: "ghost",
|
|
13159
13160
|
hideLabel: !0,
|
|
13160
13161
|
label: pr(new Date(e)),
|
|
13161
|
-
icon:
|
|
13162
|
+
icon: cd
|
|
13162
13163
|
}
|
|
13163
13164
|
)
|
|
13164
13165
|
}
|
|
@@ -13586,13 +13587,13 @@ const Wp = (e) => {
|
|
|
13586
13587
|
return null;
|
|
13587
13588
|
}, Ag = Ae(function({ style: t, children: r, className: o, context: i, ...a }, s) {
|
|
13588
13589
|
return /* @__PURE__ */ m(
|
|
13589
|
-
|
|
13590
|
+
fd,
|
|
13590
13591
|
{
|
|
13591
13592
|
className: S("overflow-hidden", o),
|
|
13592
13593
|
scrollHideDelay: 200,
|
|
13593
13594
|
children: [
|
|
13594
13595
|
/* @__PURE__ */ m(
|
|
13595
|
-
|
|
13596
|
+
hd,
|
|
13596
13597
|
{
|
|
13597
13598
|
ref: s,
|
|
13598
13599
|
style: t,
|
|
@@ -13604,8 +13605,8 @@ const Wp = (e) => {
|
|
|
13604
13605
|
]
|
|
13605
13606
|
}
|
|
13606
13607
|
),
|
|
13607
|
-
/* @__PURE__ */ n(
|
|
13608
|
-
/* @__PURE__ */ n(
|
|
13608
|
+
/* @__PURE__ */ n(md, { orientation: "vertical" }),
|
|
13609
|
+
/* @__PURE__ */ n(pd, {})
|
|
13609
13610
|
]
|
|
13610
13611
|
}
|
|
13611
13612
|
);
|
|
@@ -13786,7 +13787,7 @@ const Wp = (e) => {
|
|
|
13786
13787
|
},
|
|
13787
13788
|
U
|
|
13788
13789
|
),
|
|
13789
|
-
/* @__PURE__ */ n(Ve, { children: !Ee && /* @__PURE__ */ n(
|
|
13790
|
+
/* @__PURE__ */ n(Ve, { children: !Ee && /* @__PURE__ */ n(dd, { position: "top" }, "chat-header-shadow") }),
|
|
13790
13791
|
/* @__PURE__ */ n(Ve, { children: Pe && (!Ee || i || a) && jo && /* @__PURE__ */ n(
|
|
13791
13792
|
ue.div,
|
|
13792
13793
|
{
|
|
@@ -13834,7 +13835,7 @@ const Wp = (e) => {
|
|
|
13834
13835
|
{
|
|
13835
13836
|
onClick: sn,
|
|
13836
13837
|
variant: "neutral",
|
|
13837
|
-
icon:
|
|
13838
|
+
icon: ud,
|
|
13838
13839
|
label: f > 0 ? e.t(
|
|
13839
13840
|
f === 1 ? "chat.unreadCount.one" : "chat.unreadCount.other",
|
|
13840
13841
|
{ count: f }
|
|
@@ -13963,7 +13964,7 @@ const Wp = (e) => {
|
|
|
13963
13964
|
]
|
|
13964
13965
|
}
|
|
13965
13966
|
);
|
|
13966
|
-
},
|
|
13967
|
+
}, Qv = (e) => /* @__PURE__ */ n(Eh, { children: /* @__PURE__ */ n($g, { ...e }) }), $o = {
|
|
13967
13968
|
0: "gap-0",
|
|
13968
13969
|
px: "gap-px",
|
|
13969
13970
|
"0.5": "gap-0.5",
|
|
@@ -14176,19 +14177,19 @@ const Wp = (e) => {
|
|
|
14176
14177
|
children: o
|
|
14177
14178
|
}
|
|
14178
14179
|
);
|
|
14179
|
-
}),
|
|
14180
|
+
}), Jv = St(
|
|
14180
14181
|
{
|
|
14181
14182
|
name: "Stack",
|
|
14182
14183
|
type: "layout"
|
|
14183
14184
|
},
|
|
14184
14185
|
qg
|
|
14185
|
-
),
|
|
14186
|
+
), Zv = St(
|
|
14186
14187
|
{
|
|
14187
14188
|
name: "Split",
|
|
14188
14189
|
type: "layout"
|
|
14189
14190
|
},
|
|
14190
14191
|
Gg
|
|
14191
|
-
),
|
|
14192
|
+
), e0 = St(
|
|
14192
14193
|
{
|
|
14193
14194
|
name: "AutoGrid",
|
|
14194
14195
|
type: "layout"
|
|
@@ -14260,7 +14261,7 @@ const Wp = (e) => {
|
|
|
14260
14261
|
a && /* @__PURE__ */ n(Aa, { text: a, level: "critical" }),
|
|
14261
14262
|
s && /* @__PURE__ */ n($n, { text: s.text, variant: s.variant }),
|
|
14262
14263
|
t.link && /* @__PURE__ */ n(
|
|
14263
|
-
|
|
14264
|
+
gd,
|
|
14264
14265
|
{
|
|
14265
14266
|
onClick: h,
|
|
14266
14267
|
href: t.link.url,
|
|
@@ -14271,11 +14272,11 @@ const Wp = (e) => {
|
|
|
14271
14272
|
] })
|
|
14272
14273
|
] }),
|
|
14273
14274
|
t.comment && /* @__PURE__ */ m("div", { className: "flex flex-row items-center gap-3 overflow-visible", children: [
|
|
14274
|
-
/* @__PURE__ */ n(Yg, { children: /* @__PURE__ */ n(
|
|
14275
|
+
/* @__PURE__ */ n(Yg, { children: /* @__PURE__ */ n(bd, { children: t.comment }) }),
|
|
14275
14276
|
!!t.canBeBlurred && /* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(
|
|
14276
14277
|
Me,
|
|
14277
14278
|
{
|
|
14278
|
-
icon: u ?
|
|
14279
|
+
icon: u ? vd : xd,
|
|
14279
14280
|
hideLabel: !0,
|
|
14280
14281
|
label: "hide/show",
|
|
14281
14282
|
variant: "outline",
|
|
@@ -14299,7 +14300,7 @@ const Wp = (e) => {
|
|
|
14299
14300
|
p
|
|
14300
14301
|
] }, b))
|
|
14301
14302
|
] }),
|
|
14302
|
-
o && /* @__PURE__ */ n(
|
|
14303
|
+
o && /* @__PURE__ */ n(yd, { children: /* @__PURE__ */ n(Me, { variant: "neutral", size: "sm", ...o }) })
|
|
14303
14304
|
]
|
|
14304
14305
|
}
|
|
14305
14306
|
);
|
|
@@ -14354,7 +14355,7 @@ const Wp = (e) => {
|
|
|
14354
14355
|
);
|
|
14355
14356
|
}
|
|
14356
14357
|
), Qt = tt(
|
|
14357
|
-
We("Widget",
|
|
14358
|
+
We("Widget", Qe(Qg, Zg))
|
|
14358
14359
|
), vt = Object.assign(
|
|
14359
14360
|
Ae(function({ chart: t, summaries: r, ...o }, i) {
|
|
14360
14361
|
return /* @__PURE__ */ n(Qt, { ref: i, ...o, summaries: r, children: t && /* @__PURE__ */ n("div", { className: "min-h-52 min-w-52 grow pt-2", children: t }) });
|
|
@@ -14362,7 +14363,7 @@ const Wp = (e) => {
|
|
|
14362
14363
|
{
|
|
14363
14364
|
Skeleton: Qt.Skeleton
|
|
14364
14365
|
}
|
|
14365
|
-
), eb =
|
|
14366
|
+
), eb = Qe(
|
|
14366
14367
|
Ae(function({ canBeBlurred: t, ...r }, o) {
|
|
14367
14368
|
const i = {
|
|
14368
14369
|
...r,
|
|
@@ -14398,8 +14399,8 @@ const Wp = (e) => {
|
|
|
14398
14399
|
);
|
|
14399
14400
|
}), rb = We(
|
|
14400
14401
|
"BarChartWidget",
|
|
14401
|
-
|
|
14402
|
-
), ob =
|
|
14402
|
+
Qe(nb, vt.Skeleton)
|
|
14403
|
+
), ob = Qe(
|
|
14403
14404
|
Ae(
|
|
14404
14405
|
function(t, r) {
|
|
14405
14406
|
return /* @__PURE__ */ n(
|
|
@@ -14416,7 +14417,7 @@ const Wp = (e) => {
|
|
|
14416
14417
|
), ib = We(
|
|
14417
14418
|
"LineChartWidget",
|
|
14418
14419
|
ob
|
|
14419
|
-
), ab =
|
|
14420
|
+
), ab = Qe(
|
|
14420
14421
|
Ae(
|
|
14421
14422
|
function(t, r) {
|
|
14422
14423
|
return /* @__PURE__ */ n(
|
|
@@ -14433,7 +14434,7 @@ const Wp = (e) => {
|
|
|
14433
14434
|
), sb = We(
|
|
14434
14435
|
"PieChartWidget",
|
|
14435
14436
|
ab
|
|
14436
|
-
), lb =
|
|
14437
|
+
), lb = Qe(
|
|
14437
14438
|
Ae(
|
|
14438
14439
|
function(t, r) {
|
|
14439
14440
|
return /* @__PURE__ */ n(vt, { ref: r, ...t, chart: null });
|
|
@@ -14443,7 +14444,7 @@ const Wp = (e) => {
|
|
|
14443
14444
|
), cb = We(
|
|
14444
14445
|
"SummariesWidget",
|
|
14445
14446
|
lb
|
|
14446
|
-
), db =
|
|
14447
|
+
), db = Qe(
|
|
14447
14448
|
Ae(
|
|
14448
14449
|
function(t, r) {
|
|
14449
14450
|
return /* @__PURE__ */ n(
|
|
@@ -14460,37 +14461,37 @@ const Wp = (e) => {
|
|
|
14460
14461
|
), ub = We(
|
|
14461
14462
|
"VerticalBarChartWidget",
|
|
14462
14463
|
db
|
|
14463
|
-
),
|
|
14464
|
+
), t0 = St(
|
|
14464
14465
|
{
|
|
14465
14466
|
name: "AreaChartWidget",
|
|
14466
14467
|
type: "info"
|
|
14467
14468
|
},
|
|
14468
14469
|
tb
|
|
14469
|
-
),
|
|
14470
|
+
), n0 = St(
|
|
14470
14471
|
{
|
|
14471
14472
|
name: "BarChartWidget",
|
|
14472
14473
|
type: "info"
|
|
14473
14474
|
},
|
|
14474
14475
|
rb
|
|
14475
|
-
),
|
|
14476
|
+
), r0 = St(
|
|
14476
14477
|
{
|
|
14477
14478
|
name: "LineChartWidget",
|
|
14478
14479
|
type: "info"
|
|
14479
14480
|
},
|
|
14480
14481
|
ib
|
|
14481
|
-
),
|
|
14482
|
+
), o0 = St(
|
|
14482
14483
|
{
|
|
14483
14484
|
name: "PieChartWidget",
|
|
14484
14485
|
type: "info"
|
|
14485
14486
|
},
|
|
14486
14487
|
sb
|
|
14487
|
-
),
|
|
14488
|
+
), i0 = St(
|
|
14488
14489
|
{
|
|
14489
14490
|
name: "VerticalBarChartWidget",
|
|
14490
14491
|
type: "info"
|
|
14491
14492
|
},
|
|
14492
14493
|
ub
|
|
14493
|
-
),
|
|
14494
|
+
), a0 = St(
|
|
14494
14495
|
{
|
|
14495
14496
|
name: "SummariesWidget",
|
|
14496
14497
|
type: "info"
|
|
@@ -14835,7 +14836,7 @@ const Wp = (e) => {
|
|
|
14835
14836
|
}
|
|
14836
14837
|
);
|
|
14837
14838
|
}
|
|
14838
|
-
),
|
|
14839
|
+
), s0 = tt(
|
|
14839
14840
|
We("ChartWidgetEmptyState", yb)
|
|
14840
14841
|
);
|
|
14841
14842
|
function wb(e, t) {
|
|
@@ -14843,7 +14844,7 @@ function wb(e, t) {
|
|
|
14843
14844
|
visibleItems: [],
|
|
14844
14845
|
overflowItems: []
|
|
14845
14846
|
});
|
|
14846
|
-
|
|
14847
|
+
wd({
|
|
14847
14848
|
ref: r,
|
|
14848
14849
|
onResize: () => {
|
|
14849
14850
|
u();
|
|
@@ -14951,7 +14952,7 @@ const gr = function({
|
|
|
14951
14952
|
);
|
|
14952
14953
|
};
|
|
14953
14954
|
gr.displayName = "VerticalOverflowList";
|
|
14954
|
-
const
|
|
14955
|
+
const l0 = ({
|
|
14955
14956
|
events: e,
|
|
14956
14957
|
showAllItems: t,
|
|
14957
14958
|
gap: r = 8,
|
|
@@ -14979,7 +14980,7 @@ const s0 = ({
|
|
|
14979
14980
|
}
|
|
14980
14981
|
) : /* @__PURE__ */ n("div", { className: r, tabIndex: 1, children: t });
|
|
14981
14982
|
};
|
|
14982
|
-
function
|
|
14983
|
+
function c0({
|
|
14983
14984
|
label: e,
|
|
14984
14985
|
count: t,
|
|
14985
14986
|
icon: r,
|
|
@@ -15021,7 +15022,7 @@ const Cb = Ae(
|
|
|
15021
15022
|
] })
|
|
15022
15023
|
] }, r);
|
|
15023
15024
|
}
|
|
15024
|
-
),
|
|
15025
|
+
), d0 = Ae(
|
|
15025
15026
|
function({ items: t }, r) {
|
|
15026
15027
|
return /* @__PURE__ */ n(
|
|
15027
15028
|
"div",
|
|
@@ -15055,7 +15056,7 @@ const Cb = Ae(
|
|
|
15055
15056
|
);
|
|
15056
15057
|
return e ? /* @__PURE__ */ n("a", { className: i, onClick: e, children: o }) : /* @__PURE__ */ n("div", { className: i, children: o });
|
|
15057
15058
|
};
|
|
15058
|
-
function
|
|
15059
|
+
function u0({
|
|
15059
15060
|
id: e,
|
|
15060
15061
|
title: t,
|
|
15061
15062
|
subtitle: r,
|
|
@@ -15075,7 +15076,7 @@ function d0({
|
|
|
15075
15076
|
withPointerCursor: a,
|
|
15076
15077
|
children: [
|
|
15077
15078
|
"alert" in l && l.alert && /* @__PURE__ */ n(Ia, { type: l.alert }),
|
|
15078
|
-
"emoji" in l && l.emoji && /* @__PURE__ */ n(
|
|
15079
|
+
"emoji" in l && l.emoji && /* @__PURE__ */ n(Nd, { emoji: l.emoji }),
|
|
15079
15080
|
/* @__PURE__ */ m("div", { className: "flex-1", children: [
|
|
15080
15081
|
/* @__PURE__ */ n("p", { className: "line-clamp-1 font-medium", children: t }),
|
|
15081
15082
|
/* @__PURE__ */ n("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: r })
|
|
@@ -15161,7 +15162,7 @@ function ao({
|
|
|
15161
15162
|
] })
|
|
15162
15163
|
] });
|
|
15163
15164
|
}
|
|
15164
|
-
function
|
|
15165
|
+
function f0({
|
|
15165
15166
|
items: e,
|
|
15166
15167
|
minSize: t = 184,
|
|
15167
15168
|
onClickItem: r,
|
|
@@ -15179,7 +15180,7 @@ function u0({
|
|
|
15179
15180
|
}
|
|
15180
15181
|
);
|
|
15181
15182
|
}
|
|
15182
|
-
function
|
|
15183
|
+
function h0({
|
|
15183
15184
|
items: e,
|
|
15184
15185
|
gap: t,
|
|
15185
15186
|
minSize: r = 184,
|
|
@@ -15199,7 +15200,7 @@ function f0({
|
|
|
15199
15200
|
const Tb = ({ title: e, info: t }) => /* @__PURE__ */ m("div", { className: "flex items-center justify-between", children: [
|
|
15200
15201
|
/* @__PURE__ */ n("p", { className: "flex text-f1-foreground-secondary", children: e }),
|
|
15201
15202
|
/* @__PURE__ */ n("div", { className: "max-w-32 flex-shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-right font-medium", children: t })
|
|
15202
|
-
] }),
|
|
15203
|
+
] }), m0 = Ae(
|
|
15203
15204
|
function({ title: t, titleValue: r, titleTooltip: o, list: i }, a) {
|
|
15204
15205
|
return /* @__PURE__ */ m("div", { ref: a, className: "flex flex-col gap-2", children: [
|
|
15205
15206
|
t && /* @__PURE__ */ m("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
|
|
@@ -15220,7 +15221,7 @@ const Tb = ({ title: e, info: t }) => /* @__PURE__ */ m("div", { className: "fle
|
|
|
15220
15221
|
] });
|
|
15221
15222
|
}
|
|
15222
15223
|
);
|
|
15223
|
-
function
|
|
15224
|
+
function p0({
|
|
15224
15225
|
title: e,
|
|
15225
15226
|
subtitle: t,
|
|
15226
15227
|
data: r,
|
|
@@ -15383,7 +15384,7 @@ function Ab({
|
|
|
15383
15384
|
strokeWidth: 0,
|
|
15384
15385
|
isAnimationActive: !1,
|
|
15385
15386
|
children: o.map((l, c) => /* @__PURE__ */ n(
|
|
15386
|
-
|
|
15387
|
+
Cd,
|
|
15387
15388
|
{
|
|
15388
15389
|
fill: l.color,
|
|
15389
15390
|
role: "presentation",
|
|
@@ -15423,12 +15424,12 @@ function Fb({
|
|
|
15423
15424
|
children: e ?? t
|
|
15424
15425
|
}
|
|
15425
15426
|
),
|
|
15426
|
-
/* @__PURE__ */ n(ve, { icon:
|
|
15427
|
+
/* @__PURE__ */ n(ve, { icon: Id })
|
|
15427
15428
|
]
|
|
15428
15429
|
}
|
|
15429
15430
|
);
|
|
15430
15431
|
}
|
|
15431
|
-
function
|
|
15432
|
+
function g0({
|
|
15432
15433
|
trackedMinutes: e,
|
|
15433
15434
|
remainingMinutes: t,
|
|
15434
15435
|
data: r = [],
|
|
@@ -15622,9 +15623,9 @@ function p0({
|
|
|
15622
15623
|
] }) });
|
|
15623
15624
|
}
|
|
15624
15625
|
const Pb = {
|
|
15625
|
-
done:
|
|
15626
|
-
"in-progress":
|
|
15627
|
-
todo:
|
|
15626
|
+
done: Td,
|
|
15627
|
+
"in-progress": kd,
|
|
15628
|
+
todo: Sd
|
|
15628
15629
|
}, Mb = {
|
|
15629
15630
|
done: "text-f1-icon-success",
|
|
15630
15631
|
"in-progress": "text-f1-icon-info",
|
|
@@ -15655,14 +15656,14 @@ function Ob({
|
|
|
15655
15656
|
} : void 0,
|
|
15656
15657
|
rawTag: e.badge && !e.badge.isPastDue ? {
|
|
15657
15658
|
text: e.badge.text,
|
|
15658
|
-
icon:
|
|
15659
|
+
icon: Rd
|
|
15659
15660
|
} : void 0,
|
|
15660
15661
|
count: e.counter,
|
|
15661
15662
|
onClick: i
|
|
15662
15663
|
}
|
|
15663
15664
|
);
|
|
15664
15665
|
}
|
|
15665
|
-
function
|
|
15666
|
+
function b0({
|
|
15666
15667
|
tasks: e,
|
|
15667
15668
|
onClickTask: t,
|
|
15668
15669
|
hideIcons: r = !1,
|
|
@@ -15847,7 +15848,7 @@ const hv = { sm: 340, md: 480, lg: 640 }, Ji = Ae(
|
|
|
15847
15848
|
d
|
|
15848
15849
|
)) }, a) }) }) });
|
|
15849
15850
|
}
|
|
15850
|
-
), mv = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"],
|
|
15851
|
+
), mv = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], v0 = Qe(Ji, () => /* @__PURE__ */ n(Fa, { children: /* @__PURE__ */ n(Ji, { children: mv.map((e, t) => /* @__PURE__ */ n(Qt.Skeleton, { height: e }, t)) }) })), Zi = ({ children: e }) => /* @__PURE__ */ n("div", { 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)]", children: e }), x0 = Qe(
|
|
15851
15852
|
Ae(function({ children: t }, r) {
|
|
15852
15853
|
return /* @__PURE__ */ n(nr, { ref: r, showBar: !1, children: /* @__PURE__ */ n(Zi, { children: t }) });
|
|
15853
15854
|
}),
|
|
@@ -15877,10 +15878,10 @@ function pv({
|
|
|
15877
15878
|
}
|
|
15878
15879
|
);
|
|
15879
15880
|
}
|
|
15880
|
-
const
|
|
15881
|
+
const y0 = tt(
|
|
15881
15882
|
We("WidgetEmptyState", pv)
|
|
15882
15883
|
), wl = Ae(
|
|
15883
|
-
({ title: e, children: t }, r) => (
|
|
15884
|
+
({ title: e, children: t }, r) => (Ed(
|
|
15884
15885
|
e,
|
|
15885
15886
|
{ disallowEmpty: !0 },
|
|
15886
15887
|
{ componentName: "WidgetSection" }
|
|
@@ -15890,20 +15891,20 @@ const x0 = tt(
|
|
|
15890
15891
|
] }))
|
|
15891
15892
|
);
|
|
15892
15893
|
wl.displayName = "WidgetSection";
|
|
15893
|
-
const
|
|
15894
|
+
const w0 = tt(
|
|
15894
15895
|
We("WidgetSection", wl)
|
|
15895
|
-
),
|
|
15896
|
+
), N0 = ({
|
|
15896
15897
|
identifier: e,
|
|
15897
15898
|
allowedRoutes: t,
|
|
15898
15899
|
disallowedRoutes: r,
|
|
15899
15900
|
children: o
|
|
15900
15901
|
}) => {
|
|
15901
|
-
const i =
|
|
15902
|
+
const i = Ld(), a = window.location.pathname, s = he(() => t?.length ? t.includes(a) : r?.length ? !r.includes(a) : !0, [a, t, r]), l = he(() => {
|
|
15902
15903
|
let c = `The component ${e} is not allowed to be rendered in the current route.`;
|
|
15903
15904
|
return t && t.length > 0 && (c += ` Allowed routes: ${t.join(", ")}`), r && r.length > 0 && (c += ` Disallowed routes: ${r.join(", ")}`), c;
|
|
15904
15905
|
}, [e, t, r]);
|
|
15905
15906
|
return s ? o : (i && console.error(l), null);
|
|
15906
|
-
},
|
|
15907
|
+
}, C0 = tt(
|
|
15907
15908
|
St(
|
|
15908
15909
|
{
|
|
15909
15910
|
name: "ScrollArea",
|
|
@@ -15913,187 +15914,187 @@ const y0 = tt(
|
|
|
15913
15914
|
)
|
|
15914
15915
|
);
|
|
15915
15916
|
export {
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15917
|
+
nx as AUTO_PER_PAGE_MAX,
|
|
15918
|
+
rx as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
|
15919
|
+
Ev as ActivityItemList,
|
|
15919
15920
|
af as ActivityItemListSkeleton,
|
|
15920
15921
|
Au as AiPromotionChat,
|
|
15921
15922
|
Fu as AiPromotionChatProvider,
|
|
15922
|
-
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15923
|
+
Pv as ApplicationFrame,
|
|
15924
|
+
ox as AreaChart,
|
|
15925
|
+
t0 as AreaChartWidget,
|
|
15926
|
+
e0 as AutoGrid,
|
|
15927
|
+
Ac as Badge,
|
|
15928
|
+
ix as BarChart,
|
|
15929
|
+
n0 as BarChartWidget,
|
|
15929
15930
|
of as BaseActivityItemList,
|
|
15930
|
-
|
|
15931
|
+
ax as BaseBanner,
|
|
15931
15932
|
uf as BaseCelebration,
|
|
15932
15933
|
yf as BaseCommunityPost,
|
|
15933
|
-
|
|
15934
|
-
|
|
15934
|
+
k0 as BaseTabs,
|
|
15935
|
+
T0 as BreadcrumbSelect,
|
|
15935
15936
|
cu as Breadcrumbs,
|
|
15936
15937
|
Yr as CalendarEvent,
|
|
15937
|
-
|
|
15938
|
-
|
|
15938
|
+
l0 as CalendarEventList,
|
|
15939
|
+
sx as CardSelectableContainer,
|
|
15939
15940
|
Dd as Carousel,
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
|
|
15941
|
+
lx as CategoryBarChart,
|
|
15942
|
+
p0 as CategoryBarSection,
|
|
15943
|
+
Lv as Celebration,
|
|
15943
15944
|
ff as CelebrationSkeleton,
|
|
15944
|
-
|
|
15945
|
-
|
|
15946
|
-
|
|
15947
|
-
|
|
15948
|
-
|
|
15945
|
+
s0 as ChartWidgetEmptyState,
|
|
15946
|
+
R0 as Chip,
|
|
15947
|
+
g0 as ClockInControls,
|
|
15948
|
+
cx as ComboChart,
|
|
15949
|
+
Av as CommunityPost,
|
|
15949
15950
|
wf as CommunityPostSkeleton,
|
|
15950
15951
|
Kf as CompanySelector,
|
|
15951
15952
|
rr as Counter,
|
|
15952
|
-
|
|
15953
|
-
|
|
15954
|
-
|
|
15955
|
-
|
|
15956
|
-
|
|
15953
|
+
v0 as Dashboard,
|
|
15954
|
+
Mv as DaytimePage,
|
|
15955
|
+
E0 as DetailsItem,
|
|
15956
|
+
L0 as DetailsItemsList,
|
|
15957
|
+
dx as Dialog,
|
|
15957
15958
|
Wt as Dropdown,
|
|
15958
|
-
|
|
15959
|
-
|
|
15960
|
-
|
|
15959
|
+
Rv as EntitySelect,
|
|
15960
|
+
ux as F0ActionBar,
|
|
15961
|
+
fx as F0AiBanner,
|
|
15961
15962
|
ga as F0AvatarModule,
|
|
15962
|
-
|
|
15963
|
-
|
|
15964
|
-
|
|
15965
|
-
|
|
15966
|
-
|
|
15967
|
-
|
|
15963
|
+
z0 as F0ButtonToggle,
|
|
15964
|
+
Sv as F0Callout,
|
|
15965
|
+
A0 as F0CardHorizontal,
|
|
15966
|
+
F0 as F0CardRow,
|
|
15967
|
+
Qv as F0Chat,
|
|
15968
|
+
Xv as F0ChatProvider,
|
|
15968
15969
|
fo as F0FileItem,
|
|
15969
|
-
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15970
|
+
hx as F0FormEditableTable,
|
|
15971
|
+
mx as F0NotesTextEditor,
|
|
15972
|
+
px as F0NotesTextEditorSkeleton,
|
|
15973
|
+
gx as F0NumberInput,
|
|
15974
|
+
pc as F0RichTextDisplay,
|
|
15975
|
+
bx as F0RichTextEditor,
|
|
15976
|
+
ed as F0SearchInput,
|
|
15977
|
+
kv as F0SegmentedBar,
|
|
15978
|
+
vx as F0SegmentedControl,
|
|
15979
|
+
xx as F0TableOfContent,
|
|
15980
|
+
yx as F0TextAreaInput,
|
|
15981
|
+
P0 as F0TextInput,
|
|
15982
|
+
Tv as F0VersionHistory,
|
|
15983
|
+
wx as F1SearchBox,
|
|
15984
|
+
Nx as FILE_TYPES,
|
|
15985
|
+
M0 as FileItem,
|
|
15986
|
+
zv as HighlightBanner,
|
|
15987
|
+
d0 as IndicatorsList,
|
|
15988
|
+
Cx as Input,
|
|
15989
|
+
Ix as Item,
|
|
15990
|
+
Sx as ItemSectionHeader,
|
|
15990
15991
|
wh as LATEST,
|
|
15991
|
-
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
15992
|
+
kx as LineChart,
|
|
15993
|
+
r0 as LineChartWidget,
|
|
15994
|
+
jv as Menu,
|
|
15995
|
+
O0 as MobileDropdown,
|
|
15996
|
+
Tx as NotesTextEditor,
|
|
15997
|
+
Rx as NotesTextEditorSkeleton,
|
|
15998
|
+
Ex as NumberInput,
|
|
15999
|
+
Ov as OmniButton,
|
|
16000
|
+
Kv as OneApprovalHistory,
|
|
16001
|
+
D0 as OneCalendar,
|
|
16002
|
+
B0 as OneCalendarInternal,
|
|
16003
|
+
Lx as OneDataCollection,
|
|
16004
|
+
zx as OneDateNavigator,
|
|
16004
16005
|
Ba as OneEmptyState,
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16006
|
+
Ax as OnePagination,
|
|
16007
|
+
Fv as OnePersonListItem,
|
|
16008
|
+
N0 as OneRestrictComponent,
|
|
16009
|
+
Dv as Page,
|
|
16010
|
+
Iv as PageHeader,
|
|
16010
16011
|
yo as PageHeaderNavigationContext,
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16012
|
+
Nv as PageHeaderNavigationProvider,
|
|
16013
|
+
jl as PageNavigation,
|
|
16014
|
+
Fx as PieChart,
|
|
16015
|
+
o0 as PieChartWidget,
|
|
16015
16016
|
Yg as PrivateBox,
|
|
16016
|
-
|
|
16017
|
-
|
|
16017
|
+
Px as ProgressBarChart,
|
|
16018
|
+
Mx as RadarChart,
|
|
16018
16019
|
mf as Reactions,
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16020
|
+
Ox as ResourceHeader,
|
|
16021
|
+
_0 as RichTextDisplay,
|
|
16022
|
+
Dx as RichTextEditor,
|
|
16023
|
+
C0 as ScrollArea,
|
|
16024
|
+
Vv as SearchBar,
|
|
16025
|
+
Bx as SectionHeader,
|
|
16025
16026
|
jn as Select,
|
|
16026
|
-
|
|
16027
|
-
|
|
16027
|
+
Mc as Shortcut,
|
|
16028
|
+
Uv as Sidebar,
|
|
16028
16029
|
$f as SidebarChatBlankState,
|
|
16029
16030
|
Gf as SidebarChatItem,
|
|
16030
16031
|
ds as SidebarChatItemSkeleton,
|
|
16031
|
-
|
|
16032
|
+
Hv as SidebarChatList,
|
|
16032
16033
|
jf as SidebarChatListSkeleton,
|
|
16033
|
-
|
|
16034
|
+
Bv as SidebarChatProvider,
|
|
16034
16035
|
Kn as SidebarCollapsibleSection,
|
|
16035
|
-
|
|
16036
|
-
|
|
16036
|
+
$v as SidebarFooter,
|
|
16037
|
+
Wv as SidebarHeader,
|
|
16037
16038
|
_f as SidebarTabPanel,
|
|
16038
|
-
|
|
16039
|
+
Gv as SidebarTabs,
|
|
16039
16040
|
tr as Spinner,
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16041
|
+
Zv as Split,
|
|
16042
|
+
Jv as Stack,
|
|
16043
|
+
a0 as SummariesWidget,
|
|
16044
|
+
H0 as Switch,
|
|
16045
|
+
$0 as Tabs,
|
|
16046
|
+
W0 as TabsSkeleton,
|
|
16047
|
+
b0 as TasksList,
|
|
16048
|
+
_x as Textarea,
|
|
16049
|
+
j0 as ToggleGroup,
|
|
16050
|
+
V0 as ToggleGroupItem,
|
|
16050
16051
|
At as Tooltip,
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16052
|
+
m0 as TwoColumnsList,
|
|
16053
|
+
Hx as UPLOAD_INPUT_ID,
|
|
16054
|
+
$x as VerticalBarChart,
|
|
16055
|
+
i0 as VerticalBarChartWidget,
|
|
16055
16056
|
Gr as VirtualList,
|
|
16056
|
-
|
|
16057
|
-
|
|
16057
|
+
U0 as WeekStartDay,
|
|
16058
|
+
G0 as Weekdays,
|
|
16058
16059
|
Qt as Widget,
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16060
|
+
u0 as WidgetAvatarsListItem,
|
|
16061
|
+
y0 as WidgetEmptyState,
|
|
16062
|
+
c0 as WidgetHighlightButton,
|
|
16063
|
+
f0 as WidgetInboxList,
|
|
16063
16064
|
Xi as WidgetInboxListItem,
|
|
16064
|
-
|
|
16065
|
-
|
|
16065
|
+
w0 as WidgetSection,
|
|
16066
|
+
h0 as WidgetSimpleList,
|
|
16066
16067
|
ao as WidgetSimpleListItem,
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16068
|
+
x0 as WidgetStrip,
|
|
16069
|
+
Wx as actionBarStatuses,
|
|
16070
|
+
jx as buttonToggleSizes,
|
|
16071
|
+
Vx as buttonToggleVariants,
|
|
16072
|
+
K0 as chipVariants,
|
|
16073
|
+
Ux as downloadAsCSV,
|
|
16074
|
+
q0 as f0FileItemSizes,
|
|
16075
|
+
Gx as generateCSVContent,
|
|
16076
|
+
Kx as getAutoPerPageMinHeight,
|
|
16077
|
+
Y0 as getGranularityDefinition,
|
|
16078
|
+
X0 as getGranularityDefinitions,
|
|
16079
|
+
Q0 as getGranularitySimpleDefinition,
|
|
16080
|
+
J0 as granularityDefinitions,
|
|
16081
|
+
Yv as isSystemMessage,
|
|
16081
16082
|
qn as isUserMessage,
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16083
|
+
Z0 as modules,
|
|
16084
|
+
qx as predefinedPresets,
|
|
16085
|
+
ex as rangeSeparator,
|
|
16085
16086
|
yi as seedFromStorage,
|
|
16086
|
-
|
|
16087
|
+
Yx as selectSizes,
|
|
16087
16088
|
sr as useAiPromotionChat,
|
|
16088
|
-
|
|
16089
|
-
|
|
16089
|
+
Xx as useDataCollectionData,
|
|
16090
|
+
qv as useDataCollectionItemNavigation,
|
|
16090
16091
|
jd as useDataCollectionSource,
|
|
16091
|
-
|
|
16092
|
+
Qx as useExportAction,
|
|
16092
16093
|
rn as useF0Chat,
|
|
16093
|
-
|
|
16094
|
+
Jx as useInfiniteScrollPagination,
|
|
16094
16095
|
Iu as usePageHeaderItemNavigation,
|
|
16095
|
-
|
|
16096
|
+
Cv as usePageHeaderNavigation,
|
|
16096
16097
|
nn as useSidebar,
|
|
16097
|
-
|
|
16098
|
+
_v as useSidebarChatActions,
|
|
16098
16099
|
Mf as useSidebarChats
|
|
16099
16100
|
};
|