@factorialco/f0-react 1.482.0 → 2.0.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/ai.d.ts +302 -31
- package/dist/ai.js +45 -31
- package/dist/experimental.d.ts +59 -0
- package/dist/experimental.js +109 -109
- package/dist/f0.d.ts +536 -34
- package/dist/f0.js +3431 -3095
- package/dist/{index-N9fyCIKK.js → index-DJFqQyZE.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/types-1gWIB_Uz.js +66371 -0
- package/dist/{F0AiChat-JWFVPdAK.js → useDataCollectionSource-DNTWm7Va.js} +133855 -214864
- package/dist/{F0AiChat.css → useDataCollectionSource.css} +1 -1
- package/dist/xlsx-Bedf3nwD.js +15557 -0
- package/package.json +1 -1
- package/dist/types-D7xpTwmC.js +0 -2354
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { o as oa, B as ca, p as da, D as ua, q as Ft, r as Te, s as fa, t as b, v as Z, w as pe, u as se, T as ma, x as ha, y as ba, R as pa, z as ga, A as oe, E as xa, G as ht, H as rt, J as Re, K as Ee, L as va, M as wa, N as $, O as ya, P as Na, Q as _e, S as ln, U as Ca, V as ka, W as R, X as sn, Y as E, Z as ve, _ as Sa, $ as Ia, a0 as Fa, a1 as Aa, a2 as La, a3 as Ce, a4 as on, a5 as Ea, a6 as ge, a7 as $e, a8 as _a, a9 as bt, n as cn, aa as Ne, ab as Oa, ac as dn, ad as ne, ae as H, af as un, ag as fn, ah as Ta, ai as mn, aj as me, ak as ee, al as Da, am as za, an as Pa, ao as Ba, ap as be, aq as Ge, ar as Ra, as as $a, at as Wa, au as Ma, av as He, aw as hn, ax as ja, ay as Va, az as Ga, aA as We, aB as Ha, aC as Ua, aD as Ka, aE as qa, aF as Ya, aG as Za, aH as Xa, aI as Ja, aJ as Qa, aK as er, aL as lt, aM as it, aN as bn, aO as tr, aP as nr, aQ as pn, aR as ar, aS as rr, aT as Ue, aU as pt, aV as gn, aW as lr, aX as xn, aY as ir, aZ as sr, a_ as or, a$ as Le, b0 as cr, b1 as De, b2 as At, b3 as st, b4 as dr, b5 as ur, a as fr, g as mr, b6 as hr, b7 as vn, b8 as br, b9 as pr, F as gr, ba as wn, bb as xr, bc as yn, bd as vr, be as Lt, bf as wr, bg as yr, bh as Nr, bi as Cr, bj as Nn, bk as kr, bl as Sr, bm as Ir, bn as Fr, bo as Ar, bp as Cn, bq as ue, br as kn, bs as gt, bt as xt, bu as vt, bv as Sn, bw as wt, bx as In, by as Fn, bz as Lr, bA as Er, bB as _r, bC as Or, bD as Tr, bE as Dr, bF as zr, bG as Pr, bH as Br, bI as Rr, bJ as $r, bK as Et, bL as _t, bM as Ot, bN as Wr, bO as Mr, bP as jr, bQ as Vr, bR as An, bS as Gr, bT as Hr, bU as Ur } from "./useDataCollectionSource-DNTWm7Va.js";
|
|
2
|
+
import { cd as Ac, cc as Lc, bX as Ec, cp as _c, c6 as Oc, c7 as Tc, bW as Dc, c9 as zc, bY as Pc, cB as Bc, cz as Rc, bZ as $c, ca as Wc, cb as Mc, c8 as jc, b_ as Vc, cl as Gc, cm as Hc, cq as Uc, cx as Kc, cy as qc, c4 as Yc, cA as Zc, c5 as Xc, b$ as Jc, cf as Qc, ce as ed, c0 as td, c1 as nd, c2 as ad, cn as rd, cC as ld, bV as id, co as sd, cs as od, ct as cd, ck as dd, ch as ud, cj as fd, cg as md, c3 as hd, ci as bd, cu as pd, cv as gd, cr as xd, cw as vd } from "./useDataCollectionSource-DNTWm7Va.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useId as qr, useContext as Ke, createContext as yt, useEffect as W, useCallback as Q, useMemo as K, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
|
|
5
|
-
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-
|
|
6
|
-
import { l as yd, m as Nd, j as Cd, n as kd, s as Sd, D as Id, k as Fd, o as Ad, v as Ld, w as Ed, N as _d, x as Od, p as Td, r as Dd, R as zd, q as Pd, u as
|
|
5
|
+
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-DJFqQyZE.js";
|
|
6
|
+
import { l as yd, m as Nd, j as Cd, n as kd, s as Sd, D as Id, k as Fd, o as Ad, v as Ld, w as Ed, N as _d, x as Od, p as Td, r as Dd, R as zd, q as Pd, u as Bd, t as Rd } from "./index-DJFqQyZE.js";
|
|
7
7
|
const dl = oa("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
@@ -450,9 +450,9 @@ const Pn = ({
|
|
|
450
450
|
) }),
|
|
451
451
|
!l && /* @__PURE__ */ e(xa, { side: "left", className: "font-medium", children: i.ai.welcome })
|
|
452
452
|
] }) }) }) : null;
|
|
453
|
-
}, Pt = "one_sidebar_locked",
|
|
453
|
+
}, Pt = "one_sidebar_locked", Bn = yt(void 0);
|
|
454
454
|
function ke() {
|
|
455
|
-
const t = Ke(
|
|
455
|
+
const t = Ke(Bn);
|
|
456
456
|
return t === void 0 ? {
|
|
457
457
|
isSmallScreen: !1,
|
|
458
458
|
isLastToggleInvokedByUser: !0,
|
|
@@ -465,7 +465,7 @@ function ke() {
|
|
|
465
465
|
} : t;
|
|
466
466
|
}
|
|
467
467
|
function wl({ children: t }) {
|
|
468
|
-
const { currentPath: n } = ht(), [a, r] = _(!1), [l, i] = _(!1), s = a ?
|
|
468
|
+
const { currentPath: n } = ht(), [a, r] = _(!1), [l, i] = _(!1), s = a ? Re.xl : Re.md, c = rt(`(max-width: ${s}px)`, {
|
|
469
469
|
initializeWithValue: !0
|
|
470
470
|
}), [d, f] = _(() => {
|
|
471
471
|
const A = localStorage.getItem(Pt);
|
|
@@ -492,7 +492,7 @@ function wl({ children: t }) {
|
|
|
492
492
|
}, [d, l]), W(() => () => {
|
|
493
493
|
p(w);
|
|
494
494
|
}, [w]), /* @__PURE__ */ e(
|
|
495
|
-
|
|
495
|
+
Bn.Provider,
|
|
496
496
|
{
|
|
497
497
|
value: {
|
|
498
498
|
isSmallScreen: c,
|
|
@@ -506,7 +506,7 @@ function wl({ children: t }) {
|
|
|
506
506
|
}
|
|
507
507
|
);
|
|
508
508
|
}
|
|
509
|
-
const
|
|
509
|
+
const Bt = Z.create($), Rt = {
|
|
510
510
|
initial: { scale: 1 },
|
|
511
511
|
animate: { scale: 1 },
|
|
512
512
|
exit: { scale: 0.5 },
|
|
@@ -531,12 +531,12 @@ const Rt = Z.create($), Bt = {
|
|
|
531
531
|
onClick: i,
|
|
532
532
|
"aria-label": a,
|
|
533
533
|
children: t ? /* @__PURE__ */ e(
|
|
534
|
-
|
|
534
|
+
Bt,
|
|
535
535
|
{
|
|
536
536
|
size: "sm",
|
|
537
537
|
icon: va,
|
|
538
538
|
className: "text-[hsl(var(--promote-50))] outline-none",
|
|
539
|
-
variants:
|
|
539
|
+
variants: Rt,
|
|
540
540
|
initial: r ? "enterFromUnfavorite" : "initial",
|
|
541
541
|
animate: "animate",
|
|
542
542
|
exit: "exit",
|
|
@@ -549,13 +549,13 @@ const Rt = Z.create($), Bt = {
|
|
|
549
549
|
},
|
|
550
550
|
"favorite"
|
|
551
551
|
) : /* @__PURE__ */ e(
|
|
552
|
-
|
|
552
|
+
Bt,
|
|
553
553
|
{
|
|
554
554
|
size: "sm",
|
|
555
555
|
whileTap: { scale: 0.8 },
|
|
556
556
|
icon: wa,
|
|
557
557
|
className: "outline-none",
|
|
558
|
-
variants:
|
|
558
|
+
variants: Rt,
|
|
559
559
|
initial: r ? "enterFromFavorite" : "initial",
|
|
560
560
|
"aria-hidden": "true",
|
|
561
561
|
focusable: !1,
|
|
@@ -590,7 +590,7 @@ const Rt = Z.create($), Bt = {
|
|
|
590
590
|
W(() => {
|
|
591
591
|
g(null), h("idle");
|
|
592
592
|
}, [t]);
|
|
593
|
-
const
|
|
593
|
+
const B = Q(async () => {
|
|
594
594
|
try {
|
|
595
595
|
h("fetching");
|
|
596
596
|
const O = await a();
|
|
@@ -604,7 +604,7 @@ const Rt = Z.create($), Bt = {
|
|
|
604
604
|
{
|
|
605
605
|
open: A,
|
|
606
606
|
onOpenChange: async (O) => {
|
|
607
|
-
D(O), O && p === null &&
|
|
607
|
+
D(O), O && p === null && B(), s(O);
|
|
608
608
|
},
|
|
609
609
|
children: [
|
|
610
610
|
/* @__PURE__ */ e(Na, { asChild: !0, children: /* @__PURE__ */ e(
|
|
@@ -654,7 +654,7 @@ const Rt = Z.create($), Bt = {
|
|
|
654
654
|
{
|
|
655
655
|
...i,
|
|
656
656
|
onClick: () => {
|
|
657
|
-
|
|
657
|
+
B();
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
) })
|
|
@@ -768,7 +768,7 @@ const Rt = Z.create($), Bt = {
|
|
|
768
768
|
children: [
|
|
769
769
|
/* @__PURE__ */ e("h2", { className: "text-base font-medium", children: t }),
|
|
770
770
|
/* @__PURE__ */ e(
|
|
771
|
-
|
|
771
|
+
R,
|
|
772
772
|
{
|
|
773
773
|
variant: "outline",
|
|
774
774
|
size: "sm",
|
|
@@ -780,7 +780,7 @@ const Rt = Z.create($), Bt = {
|
|
|
780
780
|
)
|
|
781
781
|
]
|
|
782
782
|
}
|
|
783
|
-
),
|
|
783
|
+
), Rn = ({
|
|
784
784
|
icon: t,
|
|
785
785
|
button: n,
|
|
786
786
|
title: a,
|
|
@@ -808,12 +808,12 @@ const Rt = Z.create($), Bt = {
|
|
|
808
808
|
buttonUrl: a,
|
|
809
809
|
description: r
|
|
810
810
|
}) => /* @__PURE__ */ e(
|
|
811
|
-
|
|
811
|
+
Rn,
|
|
812
812
|
{
|
|
813
813
|
title: t,
|
|
814
814
|
description: r,
|
|
815
815
|
icon: /* @__PURE__ */ e($, { icon: ln, size: "lg", className: "block" }),
|
|
816
|
-
button: /* @__PURE__ */ e(ve, { href: a, children: /* @__PURE__ */ e(
|
|
816
|
+
button: /* @__PURE__ */ e(ve, { href: a, children: /* @__PURE__ */ e(R, { label: n }) })
|
|
817
817
|
}
|
|
818
818
|
), Fl = ({
|
|
819
819
|
title: t,
|
|
@@ -821,13 +821,13 @@ const Rt = Z.create($), Bt = {
|
|
|
821
821
|
buttonText: a,
|
|
822
822
|
onClick: r
|
|
823
823
|
}) => /* @__PURE__ */ e(
|
|
824
|
-
|
|
824
|
+
Rn,
|
|
825
825
|
{
|
|
826
826
|
title: t,
|
|
827
827
|
description: n,
|
|
828
828
|
iconWrapperClassName: "text-f1-icon-critical bg-f1-background-critical border-f1-critical",
|
|
829
829
|
icon: /* @__PURE__ */ e($, { icon: Aa, size: "lg" }),
|
|
830
|
-
button: /* @__PURE__ */ e(
|
|
830
|
+
button: /* @__PURE__ */ e(R, { variant: "outline", label: a, onClick: r })
|
|
831
831
|
}
|
|
832
832
|
), Al = () => /* @__PURE__ */ e(
|
|
833
833
|
"div",
|
|
@@ -875,7 +875,7 @@ const Rt = Z.create($), Bt = {
|
|
|
875
875
|
/* @__PURE__ */ o("div", { className: "flex flex-row items-center justify-between px-3", children: [
|
|
876
876
|
/* @__PURE__ */ e("p", { className: "text-balance pb-2 pt-2 text-sm font-medium text-f1-foreground-secondary", children: a?.sectionTitle }),
|
|
877
877
|
n && /* @__PURE__ */ e("div", { className: "relative z-10 h-6 w-6", children: /* @__PURE__ */ e(
|
|
878
|
-
|
|
878
|
+
R,
|
|
879
879
|
{
|
|
880
880
|
variant: "ghost",
|
|
881
881
|
icon: Ce,
|
|
@@ -917,7 +917,7 @@ function $t({
|
|
|
917
917
|
}) {
|
|
918
918
|
const l = V(null);
|
|
919
919
|
return /* @__PURE__ */ e(
|
|
920
|
-
|
|
920
|
+
R,
|
|
921
921
|
{
|
|
922
922
|
href: n,
|
|
923
923
|
title: a,
|
|
@@ -952,7 +952,7 @@ function zo({
|
|
|
952
952
|
module: t.id
|
|
953
953
|
},
|
|
954
954
|
...a
|
|
955
|
-
], p = n && Object.keys(n).length !== 0, g = l && a.length > 0, x = !l && r.length > 0, w = !l && !!s?.isVisible, A = h[h.length - 1], D = "navigation" in window ? window.navigation : null,
|
|
955
|
+
], p = n && Object.keys(n).length !== 0, g = l && a.length > 0, x = !l && r.length > 0, w = !l && !!s?.isVisible, A = h[h.length - 1], D = "navigation" in window ? window.navigation : null, B = l && (D ? !!D.canGoBack : window.history.length > 1);
|
|
956
956
|
return /* @__PURE__ */ o(
|
|
957
957
|
"div",
|
|
958
958
|
{
|
|
@@ -969,7 +969,7 @@ function zo({
|
|
|
969
969
|
animate: { opacity: 1, width: "auto" },
|
|
970
970
|
exit: { opacity: 0, width: 0 },
|
|
971
971
|
children: /* @__PURE__ */ e("div", { className: "mr-3", children: /* @__PURE__ */ e(
|
|
972
|
-
|
|
972
|
+
R,
|
|
973
973
|
{
|
|
974
974
|
variant: "ghost",
|
|
975
975
|
hideLabel: !0,
|
|
@@ -985,11 +985,11 @@ function zo({
|
|
|
985
985
|
{
|
|
986
986
|
className: b(
|
|
987
987
|
"flex flex-grow items-center gap-2",
|
|
988
|
-
|
|
988
|
+
B && "justify-center"
|
|
989
989
|
),
|
|
990
990
|
children: [
|
|
991
|
-
l &&
|
|
992
|
-
|
|
991
|
+
l && B && /* @__PURE__ */ e("div", { className: "absolute left-4", children: /* @__PURE__ */ e(
|
|
992
|
+
R,
|
|
993
993
|
{
|
|
994
994
|
variant: "ghost",
|
|
995
995
|
hideLabel: !0,
|
|
@@ -998,7 +998,7 @@ function zo({
|
|
|
998
998
|
onClick: () => window.history.back()
|
|
999
999
|
}
|
|
1000
1000
|
) }),
|
|
1001
|
-
|
|
1001
|
+
B || g ? /* @__PURE__ */ e("div", { className: "text-lg font-semibold text-f1-foreground", children: "loading" in A ? /* @__PURE__ */ e(E, { className: "h-4 w-24" }) : A.label }) : /* @__PURE__ */ e(
|
|
1002
1002
|
bl,
|
|
1003
1003
|
{
|
|
1004
1004
|
breadcrumbs: h,
|
|
@@ -1093,7 +1093,7 @@ function El({ action: t }) {
|
|
|
1093
1093
|
pressed: a
|
|
1094
1094
|
}
|
|
1095
1095
|
) }) : "onClick" in t ? /* @__PURE__ */ e(
|
|
1096
|
-
|
|
1096
|
+
R,
|
|
1097
1097
|
{
|
|
1098
1098
|
size: "md",
|
|
1099
1099
|
variant: "outline",
|
|
@@ -1110,7 +1110,7 @@ function El({ action: t }) {
|
|
|
1110
1110
|
"aria-label": t.label,
|
|
1111
1111
|
ref: n,
|
|
1112
1112
|
children: /* @__PURE__ */ e(
|
|
1113
|
-
|
|
1113
|
+
R,
|
|
1114
1114
|
{
|
|
1115
1115
|
size: "md",
|
|
1116
1116
|
variant: "outline",
|
|
@@ -1357,9 +1357,9 @@ const _l = () => {
|
|
|
1357
1357
|
] }) }),
|
|
1358
1358
|
/* @__PURE__ */ e("div", { className: "m-3 mt-2 flex-shrink-0", children: /* @__PURE__ */ e(_l, {}) })
|
|
1359
1359
|
] }) : null;
|
|
1360
|
-
},
|
|
1360
|
+
}, Bl = ne(
|
|
1361
1361
|
H("AiPromotionChat", Pl)
|
|
1362
|
-
),
|
|
1362
|
+
), Rl = ne(
|
|
1363
1363
|
H("AiPromotionChatProvider", zl)
|
|
1364
1364
|
), $n = pe({
|
|
1365
1365
|
base: "flex w-full flex-col rounded-lg p-[1px]",
|
|
@@ -1418,7 +1418,7 @@ const _l = () => {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
),
|
|
1420
1420
|
a && /* @__PURE__ */ e(
|
|
1421
|
-
|
|
1421
|
+
R,
|
|
1422
1422
|
{
|
|
1423
1423
|
variant: "ghost",
|
|
1424
1424
|
icon: Ce,
|
|
@@ -1441,7 +1441,7 @@ const _l = () => {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
),
|
|
1443
1443
|
c && /* @__PURE__ */ e("div", { className: "flex flex-row items-center justify-between gap-3 rounded-b-[13.25px] bg-f1-background px-4 py-3", children: l.map((d, f) => /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
1444
|
-
|
|
1444
|
+
R,
|
|
1445
1445
|
{
|
|
1446
1446
|
label: d.label,
|
|
1447
1447
|
onClick: d.onClick,
|
|
@@ -1534,7 +1534,7 @@ function Vl({
|
|
|
1534
1534
|
onClick: a,
|
|
1535
1535
|
isActive: r
|
|
1536
1536
|
}) {
|
|
1537
|
-
const { locale: l } = za(), i = Pa(l), s =
|
|
1537
|
+
const { locale: l } = za(), i = Pa(l), s = Ba(n, "PPPp", { locale: i }), c = `${t.firstName} ${t.lastName}`;
|
|
1538
1538
|
return /* @__PURE__ */ o(
|
|
1539
1539
|
"button",
|
|
1540
1540
|
{
|
|
@@ -1619,7 +1619,7 @@ function Gl({
|
|
|
1619
1619
|
}
|
|
1620
1620
|
);
|
|
1621
1621
|
}
|
|
1622
|
-
const
|
|
1622
|
+
const Bo = ne(
|
|
1623
1623
|
H("F0VersionHistory", Gl)
|
|
1624
1624
|
), Mn = j(
|
|
1625
1625
|
({ height: t, itemCount: n, itemSize: a, className: r, renderer: l }, i) => {
|
|
@@ -1629,7 +1629,7 @@ const Ro = ne(
|
|
|
1629
1629
|
() => s.current,
|
|
1630
1630
|
[]
|
|
1631
1631
|
);
|
|
1632
|
-
const c =
|
|
1632
|
+
const c = Ra({
|
|
1633
1633
|
count: n,
|
|
1634
1634
|
getScrollElement: () => s.current,
|
|
1635
1635
|
estimateSize: typeof a == "number" ? () => a : a,
|
|
@@ -1836,7 +1836,7 @@ const Hl = ({
|
|
|
1836
1836
|
hiddenAvatar: w
|
|
1837
1837
|
}
|
|
1838
1838
|
);
|
|
1839
|
-
const
|
|
1839
|
+
const B = (k) => {
|
|
1840
1840
|
if (k.key === " ")
|
|
1841
1841
|
k.preventDefault(), d(!n);
|
|
1842
1842
|
else if (k.key === "Enter" && g)
|
|
@@ -1858,7 +1858,7 @@ const Hl = ({
|
|
|
1858
1858
|
return /* @__PURE__ */ o(U, { children: [
|
|
1859
1859
|
/* @__PURE__ */ o("div", { className: "flex w-full flex-row flex-wrap items-center gap-0 rounded-md border pl-2.5 pr-1", children: [
|
|
1860
1860
|
/* @__PURE__ */ e(
|
|
1861
|
-
|
|
1861
|
+
R,
|
|
1862
1862
|
{
|
|
1863
1863
|
hideLabel: !0,
|
|
1864
1864
|
icon: n ? $a : Wa,
|
|
@@ -1903,7 +1903,7 @@ const Hl = ({
|
|
|
1903
1903
|
checked: L,
|
|
1904
1904
|
disabled: x,
|
|
1905
1905
|
onClick: O,
|
|
1906
|
-
onKeyDown:
|
|
1906
|
+
onKeyDown: B,
|
|
1907
1907
|
indeterminate: i,
|
|
1908
1908
|
onPointerDown: (k) => {
|
|
1909
1909
|
k.stopPropagation(), D(!1);
|
|
@@ -1938,7 +1938,7 @@ const jt = ({
|
|
|
1938
1938
|
),
|
|
1939
1939
|
children: [
|
|
1940
1940
|
/* @__PURE__ */ e(
|
|
1941
|
-
|
|
1941
|
+
R,
|
|
1942
1942
|
{
|
|
1943
1943
|
hideLabel: !0,
|
|
1944
1944
|
label: t,
|
|
@@ -1954,7 +1954,7 @@ const jt = ({
|
|
|
1954
1954
|
) }), Ae = ({ primaryAction: t, secondaryActions: n }) => {
|
|
1955
1955
|
if (!n || n.length === 0)
|
|
1956
1956
|
return /* @__PURE__ */ e(
|
|
1957
|
-
|
|
1957
|
+
R,
|
|
1958
1958
|
{
|
|
1959
1959
|
disabled: t.disabled,
|
|
1960
1960
|
variant: t.variant,
|
|
@@ -2083,7 +2083,7 @@ const jt = ({
|
|
|
2083
2083
|
selectAllLabel: w,
|
|
2084
2084
|
clearLabel: A,
|
|
2085
2085
|
notFoundTitle: D,
|
|
2086
|
-
notFoundSubtitle:
|
|
2086
|
+
notFoundSubtitle: B,
|
|
2087
2087
|
className: O,
|
|
2088
2088
|
actions: L,
|
|
2089
2089
|
onCreate: k,
|
|
@@ -2420,7 +2420,7 @@ const jt = ({
|
|
|
2420
2420
|
},
|
|
2421
2421
|
children: [
|
|
2422
2422
|
/* @__PURE__ */ e("span", { className: "text-lg font-medium", children: D }),
|
|
2423
|
-
/* @__PURE__ */ e("span", { className: "text-center text-f1-foreground-secondary", children:
|
|
2423
|
+
/* @__PURE__ */ e("span", { className: "text-center text-f1-foreground-secondary", children: B })
|
|
2424
2424
|
]
|
|
2425
2425
|
}
|
|
2426
2426
|
),
|
|
@@ -2659,7 +2659,7 @@ const jt = ({
|
|
|
2659
2659
|
readonly: w = !1,
|
|
2660
2660
|
append: A,
|
|
2661
2661
|
size: D = "sm",
|
|
2662
|
-
open:
|
|
2662
|
+
open: B
|
|
2663
2663
|
}) => {
|
|
2664
2664
|
const O = K(
|
|
2665
2665
|
() => a.some(
|
|
@@ -2709,7 +2709,7 @@ const jt = ({
|
|
|
2709
2709
|
src: L[0].subItem.subAvatar,
|
|
2710
2710
|
deactivated: L[0].subItem.subDeactivated
|
|
2711
2711
|
},
|
|
2712
|
-
append: A ?? /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(Ya, { open:
|
|
2712
|
+
append: A ?? /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(Ya, { open: B, disabled: r, size: D }) }),
|
|
2713
2713
|
children: /* @__PURE__ */ e(
|
|
2714
2714
|
"span",
|
|
2715
2715
|
{
|
|
@@ -2732,7 +2732,7 @@ const jt = ({
|
|
|
2732
2732
|
)
|
|
2733
2733
|
}
|
|
2734
2734
|
);
|
|
2735
|
-
},
|
|
2735
|
+
}, Ro = (t) => {
|
|
2736
2736
|
const [n, a] = _(
|
|
2737
2737
|
(t.alwaysOpen || t.defaultOpen) ?? !1
|
|
2738
2738
|
), r = (y) => {
|
|
@@ -2898,7 +2898,7 @@ const jt = ({
|
|
|
2898
2898
|
}
|
|
2899
2899
|
t.onSelect(S);
|
|
2900
2900
|
}
|
|
2901
|
-
function
|
|
2901
|
+
function B() {
|
|
2902
2902
|
const y = [...t.selectedEntities ?? []];
|
|
2903
2903
|
l.forEach((S) => {
|
|
2904
2904
|
const N = y.find((I) => I.id === S.id);
|
|
@@ -2993,7 +2993,7 @@ const jt = ({
|
|
|
2993
2993
|
onSubItemRemove: A,
|
|
2994
2994
|
onSubItemSelect: x,
|
|
2995
2995
|
onClear: D,
|
|
2996
|
-
onSelectAll:
|
|
2996
|
+
onSelectAll: B,
|
|
2997
2997
|
selectedEntities: t.selectedEntities ?? [],
|
|
2998
2998
|
search: s,
|
|
2999
2999
|
onSearch: O,
|
|
@@ -3068,7 +3068,7 @@ const jt = ({
|
|
|
3068
3068
|
onSubItemRemove: A,
|
|
3069
3069
|
onSubItemSelect: x,
|
|
3070
3070
|
onClear: D,
|
|
3071
|
-
onSelectAll:
|
|
3071
|
+
onSelectAll: B,
|
|
3072
3072
|
selectedEntities: t.selectedEntities ?? [],
|
|
3073
3073
|
search: s,
|
|
3074
3074
|
onSearch: O,
|
|
@@ -3208,7 +3208,7 @@ const ni = ({
|
|
|
3208
3208
|
)) }), li = ({
|
|
3209
3209
|
title: t,
|
|
3210
3210
|
numItems: n
|
|
3211
|
-
}) => /* @__PURE__ */ e(Vn, { title: t, children: Array.from({ length: n }).map((a, r) => /* @__PURE__ */ e(kt.Skeleton, {}, r)) }),
|
|
3211
|
+
}) => /* @__PURE__ */ e(Vn, { title: t, children: Array.from({ length: n }).map((a, r) => /* @__PURE__ */ e(kt.Skeleton, {}, r)) }), Be = ee(ri, li), ii = 3, si = ["today", "yesterday", "lastWeek", "lastMonth"], oi = (t) => nr(t, ([n]) => {
|
|
3212
3212
|
const a = si.indexOf(n);
|
|
3213
3213
|
return a === -1 ? -Number(n) : a - 4e3;
|
|
3214
3214
|
}), ut = () => /* @__PURE__ */ e("div", { className: "-mx-2 h-px bg-f1-background-secondary" }), ci = ({
|
|
@@ -3226,7 +3226,7 @@ const ni = ({
|
|
|
3226
3226
|
return /* @__PURE__ */ o("div", { className: "flex flex-col gap-2 p-2", children: [
|
|
3227
3227
|
f.map(([u, m], h) => /* @__PURE__ */ o(re.Fragment, { children: [
|
|
3228
3228
|
/* @__PURE__ */ e(
|
|
3229
|
-
|
|
3229
|
+
Be,
|
|
3230
3230
|
{
|
|
3231
3231
|
title: u in i.date.groups ? i.date.groups[u] : u,
|
|
3232
3232
|
items: m,
|
|
@@ -3241,10 +3241,10 @@ const ni = ({
|
|
|
3241
3241
|
}, di = () => {
|
|
3242
3242
|
const t = se();
|
|
3243
3243
|
return /* @__PURE__ */ o("div", { className: "flex flex-col gap-2 p-2", children: [
|
|
3244
|
-
/* @__PURE__ */ e(
|
|
3244
|
+
/* @__PURE__ */ e(Be.Skeleton, { title: t.date.groups.today, numItems: 1 }),
|
|
3245
3245
|
/* @__PURE__ */ e(ut, {}),
|
|
3246
3246
|
/* @__PURE__ */ e(
|
|
3247
|
-
|
|
3247
|
+
Be.Skeleton,
|
|
3248
3248
|
{
|
|
3249
3249
|
title: t.date.groups.yesterday,
|
|
3250
3250
|
numItems: 3
|
|
@@ -3252,7 +3252,7 @@ const ni = ({
|
|
|
3252
3252
|
),
|
|
3253
3253
|
/* @__PURE__ */ e(ut, {}),
|
|
3254
3254
|
/* @__PURE__ */ e(
|
|
3255
|
-
|
|
3255
|
+
Be.Skeleton,
|
|
3256
3256
|
{
|
|
3257
3257
|
title: t.date.groups.lastMonth,
|
|
3258
3258
|
numItems: 5
|
|
@@ -3398,7 +3398,7 @@ const bi = ({
|
|
|
3398
3398
|
}, [s]);
|
|
3399
3399
|
const g = (O) => {
|
|
3400
3400
|
h(O), c?.(O);
|
|
3401
|
-
}, x = Ue(), { canvasRef: w, handleMouseEnter: A, handleMouseLeave: D } = hi(x),
|
|
3401
|
+
}, x = Ue(), { canvasRef: w, handleMouseEnter: A, handleMouseLeave: D } = hi(x), B = pt({
|
|
3402
3402
|
emoji: ui[d],
|
|
3403
3403
|
size: "sm"
|
|
3404
3404
|
});
|
|
@@ -3442,7 +3442,7 @@ const bi = ({
|
|
|
3442
3442
|
] }),
|
|
3443
3443
|
/* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-1.5 text-f1-foreground-secondary", children: [
|
|
3444
3444
|
/* @__PURE__ */ e("span", { className: "truncate", children: f }),
|
|
3445
|
-
/* @__PURE__ */ e("span", { className: "shrink-0 leading-none", children:
|
|
3445
|
+
/* @__PURE__ */ e("span", { className: "shrink-0 leading-none", children: B })
|
|
3446
3446
|
] })
|
|
3447
3447
|
] }),
|
|
3448
3448
|
/* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(ot, { date: u }) })
|
|
@@ -3478,7 +3478,7 @@ const bi = ({
|
|
|
3478
3478
|
/* @__PURE__ */ e("span", { className: "text-f1-foreground-secondary", children: n })
|
|
3479
3479
|
] })
|
|
3480
3480
|
] }),
|
|
3481
|
-
/* @__PURE__ */ e("div", { className: "w-full sm:w-fit [&>div]:w-full", children: /* @__PURE__ */ e(
|
|
3481
|
+
/* @__PURE__ */ e("div", { className: "w-full sm:w-fit [&>div]:w-full", children: /* @__PURE__ */ e(R, { label: a, variant: "outline", onClick: r }) })
|
|
3482
3482
|
] });
|
|
3483
3483
|
function gi({
|
|
3484
3484
|
emoji: t,
|
|
@@ -3526,7 +3526,7 @@ function gi({
|
|
|
3526
3526
|
function xi({ items: t, onInteraction: n, locale: a, action: r }) {
|
|
3527
3527
|
return /* @__PURE__ */ o("div", { className: "flex flex-wrap gap-2", children: [
|
|
3528
3528
|
r && /* @__PURE__ */ e(
|
|
3529
|
-
|
|
3529
|
+
R,
|
|
3530
3530
|
{
|
|
3531
3531
|
label: r.label,
|
|
3532
3532
|
icon: r.icon,
|
|
@@ -3771,7 +3771,7 @@ const vi = H("Reactions", xi), wi = ({
|
|
|
3771
3771
|
dropdownItems: g,
|
|
3772
3772
|
noReactionsButton: x = !1
|
|
3773
3773
|
}) => {
|
|
3774
|
-
const w = [f.views, f.comments].filter(Boolean).join(" · "), A = !0, D = On(r),
|
|
3774
|
+
const w = [f.views, f.comments].filter(Boolean).join(" · "), A = !0, D = On(r), B = () => {
|
|
3775
3775
|
s(t);
|
|
3776
3776
|
}, O = (k) => {
|
|
3777
3777
|
k.stopPropagation();
|
|
@@ -3780,7 +3780,7 @@ const vi = H("Reactions", xi), wi = ({
|
|
|
3780
3780
|
"div",
|
|
3781
3781
|
{
|
|
3782
3782
|
className: "flex w-full cursor-pointer flex-row gap-3 rounded-xl border border-solid border-transparent p-3 pt-2 hover:bg-f1-background-hover focus:border-f1-border-secondary focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold md:pb-4 md:pt-3",
|
|
3783
|
-
onClick:
|
|
3783
|
+
onClick: B,
|
|
3784
3784
|
id: `community-post-${t}`,
|
|
3785
3785
|
children: [
|
|
3786
3786
|
/* @__PURE__ */ e("div", { className: "hidden md:block", children: n ? /* @__PURE__ */ e(
|
|
@@ -3858,7 +3858,7 @@ const vi = H("Reactions", xi), wi = ({
|
|
|
3858
3858
|
/* @__PURE__ */ o("div", { className: "flex flex-row gap-2", children: [
|
|
3859
3859
|
/* @__PURE__ */ o("div", { className: "hidden flex-row gap-2 md:flex", children: [
|
|
3860
3860
|
p?.map((k) => /* @__PURE__ */ e(
|
|
3861
|
-
|
|
3861
|
+
R,
|
|
3862
3862
|
{
|
|
3863
3863
|
hideLabel: !k.label,
|
|
3864
3864
|
...k.icon && { icon: k.icon },
|
|
@@ -4016,7 +4016,7 @@ const vi = H("Reactions", xi), wi = ({
|
|
|
4016
4016
|
"rightTag" in a && a.rightTag && /* @__PURE__ */ e(ur, { ...a.rightTag }),
|
|
4017
4017
|
"actions" in a && /* @__PURE__ */ o("div", { className: "flex flex-1 flex-row items-center justify-end gap-2", children: [
|
|
4018
4018
|
a.actions?.primary && /* @__PURE__ */ e(
|
|
4019
|
-
|
|
4019
|
+
R,
|
|
4020
4020
|
{
|
|
4021
4021
|
variant: "outline",
|
|
4022
4022
|
onClick: a.actions.primary.onClick,
|
|
@@ -4025,7 +4025,7 @@ const vi = H("Reactions", xi), wi = ({
|
|
|
4025
4025
|
}
|
|
4026
4026
|
),
|
|
4027
4027
|
a.actions?.secondary && /* @__PURE__ */ e(
|
|
4028
|
-
|
|
4028
|
+
R,
|
|
4029
4029
|
{
|
|
4030
4030
|
variant: "outline",
|
|
4031
4031
|
onClick: a.actions.secondary.onClick,
|
|
@@ -4078,7 +4078,7 @@ function Ei({
|
|
|
4078
4078
|
ai: r,
|
|
4079
4079
|
aiPromotion: l
|
|
4080
4080
|
}) {
|
|
4081
|
-
const i = r?.enabled ? fr : l?.enabled ?
|
|
4081
|
+
const i = r?.enabled ? fr : l?.enabled ? Rl : Yr, s = r?.enabled ? r : l?.enabled ? l : void 0;
|
|
4082
4082
|
return /* @__PURE__ */ e(i, { ...s, children: /* @__PURE__ */ e(
|
|
4083
4083
|
Di,
|
|
4084
4084
|
{
|
|
@@ -4132,17 +4132,17 @@ function Di({
|
|
|
4132
4132
|
canvasContent: h,
|
|
4133
4133
|
chatWidth: p,
|
|
4134
4134
|
resizable: g
|
|
4135
|
-
} = mr(), x = m === "fullscreen", w = m === "canvas", { open: A } = qe(), D = g ? p : br,
|
|
4135
|
+
} = mr(), x = m === "fullscreen", w = m === "canvas", { open: A } = qe(), D = g ? p : br, B = V(x), O = x && !B.current, L = !x && B.current, [
|
|
4136
4136
|
k,
|
|
4137
4137
|
X
|
|
4138
4138
|
] = _(!1);
|
|
4139
4139
|
W(() => {
|
|
4140
|
-
!x &&
|
|
4140
|
+
!x && B.current && X(!0), B.current = x;
|
|
4141
4141
|
}, [x]);
|
|
4142
4142
|
const T = x || k || L, y = K(() => O ? { duration: 0.15, ease: "easeOut" } : L ? { duration: 0.4, ease: [0.25, 0.1, 0.25, 1] } : { duration: 0 }, [O, L]), S = rt(
|
|
4143
|
-
`(max-width: ${
|
|
4143
|
+
`(max-width: ${Re.xl}px)`,
|
|
4144
4144
|
{ initializeWithValue: !0 }
|
|
4145
|
-
), N = rt(`(max-width: ${
|
|
4145
|
+
), N = rt(`(max-width: ${Re.md}px)`, {
|
|
4146
4146
|
initializeWithValue: !0
|
|
4147
4147
|
});
|
|
4148
4148
|
return W(() => {
|
|
@@ -4270,7 +4270,7 @@ function Di({
|
|
|
4270
4270
|
]
|
|
4271
4271
|
}
|
|
4272
4272
|
),
|
|
4273
|
-
n?.enabled && /* @__PURE__ */ e(
|
|
4273
|
+
n?.enabled && /* @__PURE__ */ e(Bl, {})
|
|
4274
4274
|
] }) })
|
|
4275
4275
|
] })
|
|
4276
4276
|
}
|
|
@@ -4305,7 +4305,7 @@ function qn({
|
|
|
4305
4305
|
n && /* @__PURE__ */ o("div", { className: "flex flex-row items-center justify-between pr-6 @container", children: [
|
|
4306
4306
|
/* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-2 px-5 py-4 @5xl:px-6", children: [
|
|
4307
4307
|
(s || l === "hidden") && /* @__PURE__ */ e(
|
|
4308
|
-
|
|
4308
|
+
R,
|
|
4309
4309
|
{
|
|
4310
4310
|
variant: "ghost",
|
|
4311
4311
|
onClick: () => i(),
|
|
@@ -4397,7 +4397,7 @@ function Pi(t) {
|
|
|
4397
4397
|
onClick: l ? () => l(void 0) : void 0
|
|
4398
4398
|
}));
|
|
4399
4399
|
}
|
|
4400
|
-
function
|
|
4400
|
+
function Bi({ label: t, options: n, hasNewUpdate: a }) {
|
|
4401
4401
|
return /* @__PURE__ */ e(
|
|
4402
4402
|
"div",
|
|
4403
4403
|
{
|
|
@@ -4424,7 +4424,7 @@ function Ri({ label: t, options: n, hasNewUpdate: a }) {
|
|
|
4424
4424
|
);
|
|
4425
4425
|
}
|
|
4426
4426
|
const Uo = ne(
|
|
4427
|
-
H("OmniButton",
|
|
4427
|
+
H("OmniButton", Bi)
|
|
4428
4428
|
);
|
|
4429
4429
|
function Yn({ children: t, header: n, embedded: a = !1 }) {
|
|
4430
4430
|
return /* @__PURE__ */ o(
|
|
@@ -4440,7 +4440,7 @@ function Yn({ children: t, header: n, embedded: a = !1 }) {
|
|
|
4440
4440
|
}
|
|
4441
4441
|
Yn.displayName = "Page";
|
|
4442
4442
|
const Ko = ne(H("Page", Yn));
|
|
4443
|
-
function
|
|
4443
|
+
function Ri({
|
|
4444
4444
|
companies: t,
|
|
4445
4445
|
selected: n,
|
|
4446
4446
|
onChange: a,
|
|
@@ -4604,7 +4604,7 @@ function qo({
|
|
|
4604
4604
|
) }) }),
|
|
4605
4605
|
a && /* @__PURE__ */ e(ge, { label: c.notifications, shortcut: r, children: /* @__PURE__ */ o("div", { className: "relative", children: [
|
|
4606
4606
|
/* @__PURE__ */ e(
|
|
4607
|
-
|
|
4607
|
+
R,
|
|
4608
4608
|
{
|
|
4609
4609
|
icon: bn,
|
|
4610
4610
|
label: c.notifications,
|
|
@@ -4704,7 +4704,7 @@ function Yo({
|
|
|
4704
4704
|
}) {
|
|
4705
4705
|
return /* @__PURE__ */ o("div", { className: "flex h-[72px] w-full flex-1 items-center justify-between gap-3 px-3", children: [
|
|
4706
4706
|
/* @__PURE__ */ e(
|
|
4707
|
-
|
|
4707
|
+
Ri,
|
|
4708
4708
|
{
|
|
4709
4709
|
companies: t,
|
|
4710
4710
|
selected: n,
|
|
@@ -4784,9 +4784,9 @@ const Gi = ({
|
|
|
4784
4784
|
onReorderFinish: c,
|
|
4785
4785
|
isSortable: d = !0
|
|
4786
4786
|
}) => {
|
|
4787
|
-
const f = se(), { isDragging: u, setIsDragging: m, draggedItemId: h, setDraggedItemId: p } = St(), { isActive: g } = ht(), x = g(t.href, { exact: t.exactMatch }), w = V(!1), [A, D] = _(!1),
|
|
4787
|
+
const f = se(), { isDragging: u, setIsDragging: m, draggedItemId: h, setDraggedItemId: p } = St(), { isActive: g } = ht(), x = g(t.href, { exact: t.exactMatch }), w = V(!1), [A, D] = _(!1), B = l === 0, O = l === i - 1, L = i === 1, k = K(() => {
|
|
4788
4788
|
const I = [];
|
|
4789
|
-
return !L && !
|
|
4789
|
+
return !L && !B && I.push({
|
|
4790
4790
|
label: f.actions.moveUp,
|
|
4791
4791
|
onClick: () => s?.(l, l - 1),
|
|
4792
4792
|
icon: wr
|
|
@@ -4800,7 +4800,7 @@ const Gi = ({
|
|
|
4800
4800
|
icon: Nr,
|
|
4801
4801
|
critical: !0
|
|
4802
4802
|
}), I;
|
|
4803
|
-
}, [L,
|
|
4803
|
+
}, [L, B, O, f, s, l, r, t]), X = () => {
|
|
4804
4804
|
m(!0), D(!1), p(t.href || null), w.current = !0;
|
|
4805
4805
|
}, T = () => {
|
|
4806
4806
|
m(!1), p(null), c(), setTimeout(() => {
|
|
@@ -5084,7 +5084,7 @@ function Ki({
|
|
|
5084
5084
|
W(() => {
|
|
5085
5085
|
JSON.stringify(s) !== JSON.stringify(w) && A(s);
|
|
5086
5086
|
}, [s]);
|
|
5087
|
-
const
|
|
5087
|
+
const B = (v) => {
|
|
5088
5088
|
A(v);
|
|
5089
5089
|
}, O = Q(
|
|
5090
5090
|
(v) => {
|
|
@@ -5178,7 +5178,7 @@ function Ki({
|
|
|
5178
5178
|
{
|
|
5179
5179
|
axis: "y",
|
|
5180
5180
|
values: w,
|
|
5181
|
-
onReorder:
|
|
5181
|
+
onReorder: B,
|
|
5182
5182
|
className: y,
|
|
5183
5183
|
children: N
|
|
5184
5184
|
}
|
|
@@ -5746,7 +5746,7 @@ const es = ({
|
|
|
5746
5746
|
n.comment && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3 overflow-visible", children: [
|
|
5747
5747
|
/* @__PURE__ */ e(cs, { children: /* @__PURE__ */ e(Er, { children: n.comment }) }),
|
|
5748
5748
|
!!n.canBeBlurred && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
5749
|
-
|
|
5749
|
+
R,
|
|
5750
5750
|
{
|
|
5751
5751
|
icon: f ? _r : Or,
|
|
5752
5752
|
hideLabel: !0,
|
|
@@ -5772,7 +5772,7 @@ const es = ({
|
|
|
5772
5772
|
p
|
|
5773
5773
|
] }, g))
|
|
5774
5774
|
] }),
|
|
5775
|
-
r && /* @__PURE__ */ e(Dr, { children: /* @__PURE__ */ e(
|
|
5775
|
+
r && /* @__PURE__ */ e(Dr, { children: /* @__PURE__ */ e(R, { variant: "neutral", size: "sm", ...r }) })
|
|
5776
5776
|
]
|
|
5777
5777
|
}
|
|
5778
5778
|
);
|
|
@@ -6294,7 +6294,7 @@ const es = ({
|
|
|
6294
6294
|
/* @__PURE__ */ o("div", { className: "relative flex min-h-28 flex-1 flex-col items-start gap-5", children: [
|
|
6295
6295
|
/* @__PURE__ */ e("p", { className: "flex w-3/4 text-xl font-semibold", children: a }),
|
|
6296
6296
|
r && /* @__PURE__ */ e(
|
|
6297
|
-
|
|
6297
|
+
R,
|
|
6298
6298
|
{
|
|
6299
6299
|
label: r,
|
|
6300
6300
|
icon: l,
|
|
@@ -6476,7 +6476,7 @@ function uc({
|
|
|
6476
6476
|
}
|
|
6477
6477
|
) });
|
|
6478
6478
|
}
|
|
6479
|
-
const
|
|
6479
|
+
const Bs = j(
|
|
6480
6480
|
function({ content: n, label: a, color: r, ...l }, i) {
|
|
6481
6481
|
return /* @__PURE__ */ o("div", { className: "flex flex-col gap-1", ref: i, children: [
|
|
6482
6482
|
/* @__PURE__ */ e("p", { className: "text-3xl font-semibold", children: n }),
|
|
@@ -6502,7 +6502,7 @@ const Rs = j(
|
|
|
6502
6502
|
ref: a,
|
|
6503
6503
|
className: "grid auto-cols-fr grid-flow-col items-end gap-x-3",
|
|
6504
6504
|
children: n.map(({ label: r, content: l, color: i, ...s }) => /* @__PURE__ */ e(
|
|
6505
|
-
|
|
6505
|
+
Bs,
|
|
6506
6506
|
{
|
|
6507
6507
|
label: r,
|
|
6508
6508
|
content: l,
|
|
@@ -6514,7 +6514,7 @@ const Rs = j(
|
|
|
6514
6514
|
}
|
|
6515
6515
|
);
|
|
6516
6516
|
}
|
|
6517
|
-
),
|
|
6517
|
+
), Rs = ({
|
|
6518
6518
|
onClick: t,
|
|
6519
6519
|
withEmoji: n,
|
|
6520
6520
|
withPointerCursor: a,
|
|
@@ -6539,7 +6539,7 @@ function mc({
|
|
|
6539
6539
|
...c
|
|
6540
6540
|
}) {
|
|
6541
6541
|
return /* @__PURE__ */ o(
|
|
6542
|
-
|
|
6542
|
+
Rs,
|
|
6543
6543
|
{
|
|
6544
6544
|
onClick: (f) => {
|
|
6545
6545
|
f.preventDefault(), s?.(t);
|
|
@@ -6548,7 +6548,7 @@ function mc({
|
|
|
6548
6548
|
withPointerCursor: i,
|
|
6549
6549
|
children: [
|
|
6550
6550
|
"alert" in c && c.alert && /* @__PURE__ */ e(Pr, { type: c.alert }),
|
|
6551
|
-
"emoji" in c && c.emoji && /* @__PURE__ */ e(
|
|
6551
|
+
"emoji" in c && c.emoji && /* @__PURE__ */ e(Br, { emoji: c.emoji }),
|
|
6552
6552
|
/* @__PURE__ */ o("div", { className: "flex-1", children: [
|
|
6553
6553
|
/* @__PURE__ */ e("p", { className: "line-clamp-1 font-medium", children: n }),
|
|
6554
6554
|
/* @__PURE__ */ e("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: a })
|
|
@@ -6856,7 +6856,7 @@ function Us({
|
|
|
6856
6856
|
strokeWidth: 0,
|
|
6857
6857
|
isAnimationActive: !1,
|
|
6858
6858
|
children: r.map((c, d) => /* @__PURE__ */ e(
|
|
6859
|
-
|
|
6859
|
+
Rr,
|
|
6860
6860
|
{
|
|
6861
6861
|
fill: c.color,
|
|
6862
6862
|
role: "presentation",
|
|
@@ -6922,7 +6922,7 @@ function xc({
|
|
|
6922
6922
|
onChangeLocationId: w,
|
|
6923
6923
|
canShowProject: A = !0,
|
|
6924
6924
|
projectSelectorElement: D,
|
|
6925
|
-
breakTypeName:
|
|
6925
|
+
breakTypeName: B
|
|
6926
6926
|
}) {
|
|
6927
6927
|
const { status: O, statusText: L, subtitle: k, statusColor: X } = js({
|
|
6928
6928
|
data: a,
|
|
@@ -6987,7 +6987,7 @@ function xc({
|
|
|
6987
6987
|
] }),
|
|
6988
6988
|
/* @__PURE__ */ o("div", { className: "flex justify-center gap-2 @xs:justify-start", children: [
|
|
6989
6989
|
O === "clocked-out" && /* @__PURE__ */ e("div", { className: "mr-3 @xs:mr-0", children: /* @__PURE__ */ e(
|
|
6990
|
-
|
|
6990
|
+
R,
|
|
6991
6991
|
{
|
|
6992
6992
|
onClick: d,
|
|
6993
6993
|
label: r.clockIn,
|
|
@@ -7006,7 +7006,7 @@ function xc({
|
|
|
7006
7006
|
open: S,
|
|
7007
7007
|
onOpenChange: N,
|
|
7008
7008
|
children: /* @__PURE__ */ e("div", { "aria-label": "Select break type", children: /* @__PURE__ */ e(
|
|
7009
|
-
|
|
7009
|
+
R,
|
|
7010
7010
|
{
|
|
7011
7011
|
label: r.break,
|
|
7012
7012
|
variant: "neutral",
|
|
@@ -7016,7 +7016,7 @@ function xc({
|
|
|
7016
7016
|
) })
|
|
7017
7017
|
}
|
|
7018
7018
|
) : /* @__PURE__ */ e(
|
|
7019
|
-
|
|
7019
|
+
R,
|
|
7020
7020
|
{
|
|
7021
7021
|
onClick: I,
|
|
7022
7022
|
label: r.break,
|
|
@@ -7026,7 +7026,7 @@ function xc({
|
|
|
7026
7026
|
}
|
|
7027
7027
|
) }),
|
|
7028
7028
|
/* @__PURE__ */ e(
|
|
7029
|
-
|
|
7029
|
+
R,
|
|
7030
7030
|
{
|
|
7031
7031
|
onClick: f,
|
|
7032
7032
|
label: r.clockOut,
|
|
@@ -7037,7 +7037,7 @@ function xc({
|
|
|
7037
7037
|
] }),
|
|
7038
7038
|
O === "break" && /* @__PURE__ */ o(U, { children: [
|
|
7039
7039
|
/* @__PURE__ */ e(
|
|
7040
|
-
|
|
7040
|
+
R,
|
|
7041
7041
|
{
|
|
7042
7042
|
onClick: f,
|
|
7043
7043
|
label: r.clockOut,
|
|
@@ -7047,7 +7047,7 @@ function xc({
|
|
|
7047
7047
|
}
|
|
7048
7048
|
),
|
|
7049
7049
|
/* @__PURE__ */ e(
|
|
7050
|
-
|
|
7050
|
+
R,
|
|
7051
7051
|
{
|
|
7052
7052
|
onClick: d,
|
|
7053
7053
|
label: r.resume,
|
|
@@ -7092,7 +7092,7 @@ function xc({
|
|
|
7092
7092
|
] }) : /* @__PURE__ */ o(U, { children: [
|
|
7093
7093
|
s && C && /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(Le, { text: C.name, icon: C.icon }) }),
|
|
7094
7094
|
A && D,
|
|
7095
|
-
G &&
|
|
7095
|
+
G && B && /* @__PURE__ */ e(Le, { text: B })
|
|
7096
7096
|
] }) })
|
|
7097
7097
|
] }) });
|
|
7098
7098
|
}
|
|
@@ -7390,8 +7390,8 @@ const Cc = ne(
|
|
|
7390
7390
|
export {
|
|
7391
7391
|
$o as ActivityItemList,
|
|
7392
7392
|
di as ActivityItemListSkeleton,
|
|
7393
|
-
|
|
7394
|
-
|
|
7393
|
+
Bl as AiPromotionChat,
|
|
7394
|
+
Rl as AiPromotionChatProvider,
|
|
7395
7395
|
Go as ApplicationFrame,
|
|
7396
7396
|
yd as AreaChart,
|
|
7397
7397
|
ac as AreaChartWidget,
|
|
@@ -7420,7 +7420,7 @@ export {
|
|
|
7420
7420
|
Sd as ComboChart,
|
|
7421
7421
|
jo as CommunityPost,
|
|
7422
7422
|
Ii as CommunityPostSkeleton,
|
|
7423
|
-
|
|
7423
|
+
Ri as CompanySelector,
|
|
7424
7424
|
He as Counter,
|
|
7425
7425
|
wc as Dashboard,
|
|
7426
7426
|
Ho as DaytimePage,
|
|
@@ -7428,16 +7428,16 @@ export {
|
|
|
7428
7428
|
Tc as DetailsItemsList,
|
|
7429
7429
|
Id as Dialog,
|
|
7430
7430
|
Ne as Dropdown,
|
|
7431
|
-
|
|
7431
|
+
Ro as EntitySelect,
|
|
7432
7432
|
Dc as F0ActionBar,
|
|
7433
7433
|
Fd as F0AiBanner,
|
|
7434
7434
|
gn as F0AvatarModule,
|
|
7435
7435
|
Po as F0Callout,
|
|
7436
7436
|
zc as F0TableOfContent,
|
|
7437
|
-
|
|
7437
|
+
Bo as F0VersionHistory,
|
|
7438
7438
|
Pc as F1SearchBox,
|
|
7439
|
-
|
|
7440
|
-
|
|
7439
|
+
Bc as FILE_TYPES,
|
|
7440
|
+
Rc as FileItem,
|
|
7441
7441
|
Mo as HighlightBanner,
|
|
7442
7442
|
fc as IndicatorsList,
|
|
7443
7443
|
$c as Input,
|
|
@@ -7518,9 +7518,9 @@ export {
|
|
|
7518
7518
|
fd as getGranularitySimpleDefinition,
|
|
7519
7519
|
md as granularityDefinitions,
|
|
7520
7520
|
hd as modules,
|
|
7521
|
-
|
|
7521
|
+
Bd as predefinedPresets,
|
|
7522
7522
|
bd as rangeSeparator,
|
|
7523
|
-
|
|
7523
|
+
Rd as selectSizes,
|
|
7524
7524
|
qe as useAiPromotionChat,
|
|
7525
7525
|
pd as useDataCollectionData,
|
|
7526
7526
|
gd as useDataCollectionSource,
|