@namuna-nur/ui-kit 1.10.7 → 1.10.8
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/lib/molecules/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as z from "react";
|
|
|
3
3
|
import Pt, { forwardRef as Q, useState as A, useRef as oe, useImperativeHandle as Nt, useEffect as ve, Fragment as Tr, useMemo as ht, useCallback as nt } from "react";
|
|
4
4
|
import { S as Je, b as Br, c as se, d as Sr, e as Dr, f as er, g as tr, h as jr, i as rr, j as Ir, k as _r, l as Wr, m as Ar, n as Mr, o as _t, p as Or, q as Fr } from "../shared/assets-icons-2.js";
|
|
5
5
|
import { cn as r, formatFileSize as ft, DATE_FORMAT_DAY_MONTH_YEAR_DASH as Ht, formatDateToDayMonthYear as Rr, formatDate as xt, numberFormat as $r, formatTime as bt } from "../utils/index.js";
|
|
6
|
-
import { Checkbox as Wt, Label as P, Spinner as gt, Text as
|
|
6
|
+
import { Checkbox as Wt, Label as P, Spinner as gt, Text as w, Button as O, Avatar as nr, IconButton as Mt, Select as De, Textarea as or, Radio as ir, Status as qe, Toggle as Lr, Headline as ut, Input as zr, Tab as Hr, ReplyMessage as Ur } from "../atoms/index.js";
|
|
7
7
|
import { useReactTable as Yr, getCoreRowModel as Er, flexRender as Ut } from "@tanstack/react-table";
|
|
8
8
|
import { b as Gr, c as Vr, d as qr, e as Kr, f as Zr, g as Qr, h as Xr } from "../shared/assets-icons-3.js";
|
|
9
9
|
import { Link as Pe, useSearchParams as Ot, useNavigate as dr, NavLink as Ft } from "react-router-dom";
|
|
@@ -31,7 +31,7 @@ const Lo = ({
|
|
|
31
31
|
classNames: a,
|
|
32
32
|
onClick: h
|
|
33
33
|
}) => {
|
|
34
|
-
const p = me.root, f = me.header, g = me.icon,
|
|
34
|
+
const p = me.root, f = me.header, g = me.icon, b = me.content, x = me.titlesWrapper, s = me.title, y = me.subtitle;
|
|
35
35
|
return /* @__PURE__ */ u("div", { className: r(p, a == null ? void 0 : a.root), children: [
|
|
36
36
|
/* @__PURE__ */ u(
|
|
37
37
|
"button",
|
|
@@ -47,7 +47,7 @@ const Lo = ({
|
|
|
47
47
|
),
|
|
48
48
|
onClick: h,
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ u("div", { className: r(
|
|
50
|
+
/* @__PURE__ */ u("div", { className: r(x, a == null ? void 0 : a.wrapperTitles), children: [
|
|
51
51
|
/* @__PURE__ */ u("div", { className: f.title, children: [
|
|
52
52
|
!!i && /* @__PURE__ */ e(
|
|
53
53
|
i,
|
|
@@ -74,7 +74,7 @@ const Lo = ({
|
|
|
74
74
|
"span",
|
|
75
75
|
{
|
|
76
76
|
className: r(
|
|
77
|
-
|
|
77
|
+
y,
|
|
78
78
|
n && "text-dark-30/25",
|
|
79
79
|
a == null ? void 0 : a.subtitle
|
|
80
80
|
),
|
|
@@ -105,8 +105,8 @@ const Lo = ({
|
|
|
105
105
|
role: "group",
|
|
106
106
|
"aria-hidden": "true",
|
|
107
107
|
className: r(
|
|
108
|
-
|
|
109
|
-
t ?
|
|
108
|
+
b.base,
|
|
109
|
+
t ? b.opened : b.closed,
|
|
110
110
|
a == null ? void 0 : a.content
|
|
111
111
|
),
|
|
112
112
|
onClick: (m) => m.stopPropagation(),
|
|
@@ -212,27 +212,27 @@ function zo({
|
|
|
212
212
|
data: i,
|
|
213
213
|
getCoreRowModel: Er(),
|
|
214
214
|
manualSorting: !0
|
|
215
|
-
}), f = (
|
|
216
|
-
const s = c == null ? void 0 : c.find((m) => m.id ===
|
|
217
|
-
l == null || l({ key:
|
|
218
|
-
}, g = (
|
|
219
|
-
o != null && o.includes(
|
|
220
|
-
},
|
|
221
|
-
const
|
|
222
|
-
var
|
|
223
|
-
return (
|
|
215
|
+
}), f = (x) => {
|
|
216
|
+
const s = c == null ? void 0 : c.find((m) => m.id === x), y = s != null && s.desc ? "asc" : "desc";
|
|
217
|
+
l == null || l({ key: x, order: y });
|
|
218
|
+
}, g = (x) => {
|
|
219
|
+
o != null && o.includes(x) ? n(o.filter((s) => s !== x)) : n([...o, x]);
|
|
220
|
+
}, b = () => {
|
|
221
|
+
const x = p.getCoreRowModel().rows.map((s) => {
|
|
222
|
+
var y;
|
|
223
|
+
return (y = s.original) == null ? void 0 : y.id;
|
|
224
224
|
});
|
|
225
|
-
(o == null ? void 0 : o.length) ===
|
|
225
|
+
(o == null ? void 0 : o.length) === x.length ? n([]) : n(x);
|
|
226
226
|
};
|
|
227
227
|
return /* @__PURE__ */ u("div", { className: r(X.root, t == null ? void 0 : t.root), children: [
|
|
228
228
|
h && /* @__PURE__ */ e(gt, {}),
|
|
229
229
|
!h && !i.length && /* @__PURE__ */ u("div", { className: X.info, children: [
|
|
230
230
|
/* @__PURE__ */ e(Gr, { className: "fill-dark-30/50" }),
|
|
231
|
-
/* @__PURE__ */ e(
|
|
231
|
+
/* @__PURE__ */ e(w, { className: X.infoText, children: "Нет данных" })
|
|
232
232
|
] }),
|
|
233
233
|
/* @__PURE__ */ e("div", { className: r(X.container, t == null ? void 0 : t.container), children: /* @__PURE__ */ u("table", { className: r(X.table, t == null ? void 0 : t.table), children: [
|
|
234
|
-
/* @__PURE__ */ e("thead", { className: X.tableHeader, children: p.getHeaderGroups().map((
|
|
235
|
-
var s,
|
|
234
|
+
/* @__PURE__ */ e("thead", { className: X.tableHeader, children: p.getHeaderGroups().map((x) => {
|
|
235
|
+
var s, y;
|
|
236
236
|
return /* @__PURE__ */ u("tr", { children: [
|
|
237
237
|
a && /* @__PURE__ */ e(
|
|
238
238
|
"th",
|
|
@@ -245,13 +245,13 @@ function zo({
|
|
|
245
245
|
Wt,
|
|
246
246
|
{
|
|
247
247
|
id: "selectAll",
|
|
248
|
-
checked: (o == null ? void 0 : o.length) === ((
|
|
249
|
-
onChange:
|
|
248
|
+
checked: (o == null ? void 0 : o.length) === ((y = (s = p == null ? void 0 : p.getCoreRowModel()) == null ? void 0 : s.rows) == null ? void 0 : y.length),
|
|
249
|
+
onChange: b
|
|
250
250
|
}
|
|
251
251
|
)
|
|
252
252
|
}
|
|
253
253
|
),
|
|
254
|
-
|
|
254
|
+
x.headers.map((m, B) => {
|
|
255
255
|
var j;
|
|
256
256
|
const S = m.column.columnDef.meta;
|
|
257
257
|
return /* @__PURE__ */ e(
|
|
@@ -261,7 +261,7 @@ function zo({
|
|
|
261
261
|
className: r(
|
|
262
262
|
X.headerCell,
|
|
263
263
|
S == null ? void 0 : S.headerClass,
|
|
264
|
-
m.index ===
|
|
264
|
+
m.index === x.headers.length - 1 && "rounded-r-[10px]",
|
|
265
265
|
!a && B === 0 && X.firstHeaderCell
|
|
266
266
|
),
|
|
267
267
|
onClick: () => (S == null ? void 0 : S.isSortable) && f(m.column.id),
|
|
@@ -284,11 +284,11 @@ function zo({
|
|
|
284
284
|
m.id
|
|
285
285
|
);
|
|
286
286
|
})
|
|
287
|
-
] },
|
|
287
|
+
] }, x.id);
|
|
288
288
|
}) }),
|
|
289
|
-
/* @__PURE__ */ e("tbody", { children: p.getRowModel().rows.map((
|
|
290
|
-
var
|
|
291
|
-
const s = (
|
|
289
|
+
/* @__PURE__ */ e("tbody", { children: p.getRowModel().rows.map((x) => {
|
|
290
|
+
var y;
|
|
291
|
+
const s = (y = x.original) == null ? void 0 : y.id;
|
|
292
292
|
return /* @__PURE__ */ u(
|
|
293
293
|
"tr",
|
|
294
294
|
{
|
|
@@ -307,21 +307,21 @@ function zo({
|
|
|
307
307
|
children: /* @__PURE__ */ e(
|
|
308
308
|
Wt,
|
|
309
309
|
{
|
|
310
|
-
id:
|
|
310
|
+
id: x.id,
|
|
311
311
|
checked: o == null ? void 0 : o.includes(s),
|
|
312
312
|
onChange: () => g(s)
|
|
313
313
|
}
|
|
314
314
|
)
|
|
315
315
|
}
|
|
316
316
|
),
|
|
317
|
-
|
|
317
|
+
x.getVisibleCells().map((m, B, S) => {
|
|
318
318
|
const j = m.column.columnDef.meta;
|
|
319
319
|
return /* @__PURE__ */ e(
|
|
320
320
|
"td",
|
|
321
321
|
{
|
|
322
322
|
className: r(
|
|
323
323
|
X.bodyCell,
|
|
324
|
-
(o == null ? void 0 : o.includes(
|
|
324
|
+
(o == null ? void 0 : o.includes(x.id)) && "font-bold",
|
|
325
325
|
B === S.length - 1 && "rounded-r-[10px]",
|
|
326
326
|
!a && B === 0 && "px-8",
|
|
327
327
|
j == null ? void 0 : j.cellClass
|
|
@@ -336,7 +336,7 @@ function zo({
|
|
|
336
336
|
})
|
|
337
337
|
]
|
|
338
338
|
},
|
|
339
|
-
|
|
339
|
+
x.id
|
|
340
340
|
);
|
|
341
341
|
}) })
|
|
342
342
|
] }) })
|
|
@@ -412,7 +412,7 @@ const _n = ({
|
|
|
412
412
|
className: r(d && "pointer-events-none"),
|
|
413
413
|
to: o ? "/" : t,
|
|
414
414
|
children: /* @__PURE__ */ e(
|
|
415
|
-
|
|
415
|
+
w,
|
|
416
416
|
{
|
|
417
417
|
variant: "p",
|
|
418
418
|
className: r(
|
|
@@ -484,14 +484,14 @@ const _n = ({
|
|
|
484
484
|
classNames: h,
|
|
485
485
|
inputPlaceholder: p
|
|
486
486
|
}, f) => {
|
|
487
|
-
const [g,
|
|
487
|
+
const [g, b] = A(""), [x, s] = A(!1), y = oe(null), m = oe(null);
|
|
488
488
|
Nt(f, () => ({
|
|
489
489
|
open: () => s(!0),
|
|
490
490
|
close: () => s(!1),
|
|
491
491
|
toggle: () => s((v) => !v),
|
|
492
492
|
focus: () => {
|
|
493
493
|
var v;
|
|
494
|
-
return (v =
|
|
494
|
+
return (v = y.current) == null ? void 0 : v.focus();
|
|
495
495
|
}
|
|
496
496
|
}), []);
|
|
497
497
|
const B = (v) => {
|
|
@@ -501,12 +501,12 @@ const _n = ({
|
|
|
501
501
|
const D = l.some((I) => I.value === v);
|
|
502
502
|
a(
|
|
503
503
|
D ? l.filter((I) => I.value !== v) : [...l, C]
|
|
504
|
-
),
|
|
504
|
+
), b(""), (T = y.current) == null || T.focus();
|
|
505
505
|
}, S = (v, C) => {
|
|
506
506
|
var D;
|
|
507
|
-
C.stopPropagation(), a(l.filter((T) => T.value !== v)), (D =
|
|
507
|
+
C.stopPropagation(), a(l.filter((T) => T.value !== v)), (D = y.current) == null || D.focus();
|
|
508
508
|
}, j = (v) => {
|
|
509
|
-
|
|
509
|
+
b(v.target.value.toLowerCase());
|
|
510
510
|
}, k = d.filter(
|
|
511
511
|
(v) => v.label.toLowerCase().includes(g)
|
|
512
512
|
);
|
|
@@ -519,10 +519,10 @@ const _n = ({
|
|
|
519
519
|
ae,
|
|
520
520
|
{
|
|
521
521
|
modal: !1,
|
|
522
|
-
open:
|
|
522
|
+
open: x,
|
|
523
523
|
onOpenChange: () => {
|
|
524
524
|
var v;
|
|
525
|
-
o || ((v =
|
|
525
|
+
o || ((v = y.current) == null || v.focus(), s(!x));
|
|
526
526
|
},
|
|
527
527
|
children: [
|
|
528
528
|
/* @__PURE__ */ e(
|
|
@@ -536,7 +536,7 @@ const _n = ({
|
|
|
536
536
|
{
|
|
537
537
|
[L.hoverTrigger]: !o,
|
|
538
538
|
[L.status.danger]: n === "danger",
|
|
539
|
-
[L.focusTrigger]:
|
|
539
|
+
[L.focusTrigger]: x || l.length > 0,
|
|
540
540
|
"pl-1.5 pr-3.5 py-[5px]": l.length > 0,
|
|
541
541
|
[L.disabled.trigger]: o
|
|
542
542
|
},
|
|
@@ -544,7 +544,7 @@ const _n = ({
|
|
|
544
544
|
),
|
|
545
545
|
children: /* @__PURE__ */ u("div", { className: L.selectedItems, children: [
|
|
546
546
|
l.length === 0 && /* @__PURE__ */ e(
|
|
547
|
-
|
|
547
|
+
w,
|
|
548
548
|
{
|
|
549
549
|
className: r(
|
|
550
550
|
L.text,
|
|
@@ -559,7 +559,7 @@ const _n = ({
|
|
|
559
559
|
className: L.selectedItem,
|
|
560
560
|
children: [
|
|
561
561
|
/* @__PURE__ */ e(
|
|
562
|
-
|
|
562
|
+
w,
|
|
563
563
|
{
|
|
564
564
|
className: L.selectedItemText,
|
|
565
565
|
variant: "p",
|
|
@@ -595,7 +595,7 @@ const _n = ({
|
|
|
595
595
|
viewBox: "0 0 20 20",
|
|
596
596
|
className: r(
|
|
597
597
|
L.arrowIcon,
|
|
598
|
-
|
|
598
|
+
x && "-rotate-180"
|
|
599
599
|
)
|
|
600
600
|
}
|
|
601
601
|
)
|
|
@@ -609,11 +609,11 @@ const _n = ({
|
|
|
609
609
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
610
610
|
className: r(L.options),
|
|
611
611
|
children: [
|
|
612
|
-
/* @__PURE__ */ e(
|
|
612
|
+
/* @__PURE__ */ e(w, { className: L.popoverLabel, children: t }),
|
|
613
613
|
c && /* @__PURE__ */ e("div", { className: L.wrapperInput, children: /* @__PURE__ */ e(
|
|
614
614
|
"input",
|
|
615
615
|
{
|
|
616
|
-
ref:
|
|
616
|
+
ref: y,
|
|
617
617
|
onChange: j,
|
|
618
618
|
value: g,
|
|
619
619
|
autoFocus: !0,
|
|
@@ -716,10 +716,10 @@ const _n = ({
|
|
|
716
716
|
onResultClick: p,
|
|
717
717
|
isSearchIcon: f = !0,
|
|
718
718
|
isSearchResultDisabled: g = !0,
|
|
719
|
-
isLoading:
|
|
720
|
-
classNames:
|
|
719
|
+
isLoading: b = !1,
|
|
720
|
+
classNames: x,
|
|
721
721
|
...s
|
|
722
|
-
},
|
|
722
|
+
}, y) => {
|
|
723
723
|
const [m, B] = A({
|
|
724
724
|
id: "",
|
|
725
725
|
label: ""
|
|
@@ -728,9 +728,9 @@ const _n = ({
|
|
|
728
728
|
j(!!C), a == null || a(C);
|
|
729
729
|
}, [C, a]);
|
|
730
730
|
const D = re.base, T = re.hover, I = re.focus, { focusWithin: F } = re, V = re.disabled, ie = re.input, ce = re.button, xe = re.filterIcon, M = re.dropdown, K = re.popover, W = re.emptyPopover, H = re.options, tt = ({ title: je, items: ze }) => /* @__PURE__ */ u(Tr, { children: [
|
|
731
|
-
/* @__PURE__ */ e(
|
|
731
|
+
/* @__PURE__ */ e(w, { className: M.typeFilter, children: je }),
|
|
732
732
|
/* @__PURE__ */ e("div", { className: H.items, children: ze == null ? void 0 : ze.map((rt) => /* @__PURE__ */ e(
|
|
733
|
-
|
|
733
|
+
w,
|
|
734
734
|
{
|
|
735
735
|
onClick: () => B(rt),
|
|
736
736
|
className: r(
|
|
@@ -751,7 +751,7 @@ const _n = ({
|
|
|
751
751
|
(k || S) && !i && I,
|
|
752
752
|
!(k || S) && !i && T,
|
|
753
753
|
i && V,
|
|
754
|
-
|
|
754
|
+
x == null ? void 0 : x.base
|
|
755
755
|
),
|
|
756
756
|
children: [
|
|
757
757
|
/* @__PURE__ */ u(vt, { open: k, onOpenChange: v, children: [
|
|
@@ -785,7 +785,7 @@ const _n = ({
|
|
|
785
785
|
sideOffset: 18,
|
|
786
786
|
alignOffset: -12,
|
|
787
787
|
onInteractOutside: (je) => je.preventDefault(),
|
|
788
|
-
className: r(M.content,
|
|
788
|
+
className: r(M.content, x == null ? void 0 : x.dropdown),
|
|
789
789
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
790
790
|
children: [
|
|
791
791
|
/* @__PURE__ */ e("div", { className: M.wrapperModule, children: /* @__PURE__ */ e(tt, { title: "Поиск по модулям", items: n }) }),
|
|
@@ -823,12 +823,12 @@ const _n = ({
|
|
|
823
823
|
{
|
|
824
824
|
...s,
|
|
825
825
|
role: "searchbox",
|
|
826
|
-
ref:
|
|
826
|
+
ref: y,
|
|
827
827
|
value: t,
|
|
828
828
|
type: "text",
|
|
829
829
|
placeholder: "Поиск",
|
|
830
830
|
onChange: d,
|
|
831
|
-
className: r(ie.base,
|
|
831
|
+
className: r(ie.base, x == null ? void 0 : x.input),
|
|
832
832
|
disabled: i
|
|
833
833
|
}
|
|
834
834
|
),
|
|
@@ -850,9 +850,9 @@ const _n = ({
|
|
|
850
850
|
sideOffset: 18,
|
|
851
851
|
alignOffset: o ? -42 : -76,
|
|
852
852
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
853
|
-
className: r(K.content,
|
|
854
|
-
children:
|
|
855
|
-
/* @__PURE__ */ u(
|
|
853
|
+
className: r(K.content, x == null ? void 0 : x.popover),
|
|
854
|
+
children: b ? /* @__PURE__ */ e("div", { className: W.wrapper, children: /* @__PURE__ */ e(gt, { width: 30, height: 30 }) }) : h && (h == null ? void 0 : h.length) > 0 ? /* @__PURE__ */ u("div", { className: K.wrapper, children: [
|
|
855
|
+
/* @__PURE__ */ u(w, { className: K.title, children: [
|
|
856
856
|
"Результаты (",
|
|
857
857
|
h == null ? void 0 : h.length,
|
|
858
858
|
")"
|
|
@@ -864,7 +864,7 @@ const _n = ({
|
|
|
864
864
|
"aria-label": "search-result",
|
|
865
865
|
className: "first:mt-5",
|
|
866
866
|
children: h == null ? void 0 : h.map((je, ze) => /* @__PURE__ */ e(
|
|
867
|
-
|
|
867
|
+
w,
|
|
868
868
|
{
|
|
869
869
|
onClick: () => {
|
|
870
870
|
p == null || p(je), j(!1);
|
|
@@ -876,7 +876,7 @@ const _n = ({
|
|
|
876
876
|
))
|
|
877
877
|
}
|
|
878
878
|
)
|
|
879
|
-
] }) : /* @__PURE__ */ e("div", { className: W.wrapper, children: /* @__PURE__ */ e(
|
|
879
|
+
] }) : /* @__PURE__ */ e("div", { className: W.wrapper, children: /* @__PURE__ */ e(w, { className: W.text, children: "Нет результатов поиска" }) })
|
|
880
880
|
}
|
|
881
881
|
)
|
|
882
882
|
] })
|
|
@@ -960,7 +960,7 @@ const _n = ({
|
|
|
960
960
|
),
|
|
961
961
|
children: [
|
|
962
962
|
t && c ? /* @__PURE__ */ e(Xe, { ...c, children: t }) : /* @__PURE__ */ u(
|
|
963
|
-
|
|
963
|
+
w,
|
|
964
964
|
{
|
|
965
965
|
className: r(
|
|
966
966
|
He.fullName,
|
|
@@ -973,7 +973,7 @@ const _n = ({
|
|
|
973
973
|
]
|
|
974
974
|
}
|
|
975
975
|
),
|
|
976
|
-
l || !!d && /* @__PURE__ */ e(
|
|
976
|
+
l || !!d && /* @__PURE__ */ e(w, { className: r(He.jobTitle, o == null ? void 0 : o.jobTitle), children: d })
|
|
977
977
|
]
|
|
978
978
|
}
|
|
979
979
|
),
|
|
@@ -1016,13 +1016,13 @@ const _n = ({
|
|
|
1016
1016
|
disabled: p = !1,
|
|
1017
1017
|
...f
|
|
1018
1018
|
}, g) => {
|
|
1019
|
-
const [
|
|
1019
|
+
const [b, x] = z.useState(!1), s = z.useRef(null), y = we.root, m = we.input, B = we.icon, S = we.placeholder, j = we.list, k = we.status, v = () => {
|
|
1020
1020
|
var D;
|
|
1021
|
-
p || (
|
|
1021
|
+
p || (x(!0), (D = s.current) == null || D.click());
|
|
1022
1022
|
}, C = () => {
|
|
1023
|
-
|
|
1023
|
+
x(!1);
|
|
1024
1024
|
};
|
|
1025
|
-
return /* @__PURE__ */ u("div", { className: r(
|
|
1025
|
+
return /* @__PURE__ */ u("div", { className: r(y, a == null ? void 0 : a.root), children: [
|
|
1026
1026
|
/* @__PURE__ */ u("div", { className: we.label.wrapper, children: [
|
|
1027
1027
|
!!i && /* @__PURE__ */ e(
|
|
1028
1028
|
P,
|
|
@@ -1040,8 +1040,8 @@ const _n = ({
|
|
|
1040
1040
|
{
|
|
1041
1041
|
ref: g,
|
|
1042
1042
|
onClick: v,
|
|
1043
|
-
pressed:
|
|
1044
|
-
onPressedChange:
|
|
1043
|
+
pressed: b,
|
|
1044
|
+
onPressedChange: x,
|
|
1045
1045
|
onBlur: C,
|
|
1046
1046
|
className: r(
|
|
1047
1047
|
m.base,
|
|
@@ -1123,7 +1123,7 @@ const _n = ({
|
|
|
1123
1123
|
const l = i === "review";
|
|
1124
1124
|
return /* @__PURE__ */ u("div", { className: r(Y.root, o == null ? void 0 : o.root), children: [
|
|
1125
1125
|
!(t != null && t.length) && (n ? /* @__PURE__ */ e(gt, {}) : /* @__PURE__ */ e(
|
|
1126
|
-
|
|
1126
|
+
w,
|
|
1127
1127
|
{
|
|
1128
1128
|
variant: "p",
|
|
1129
1129
|
className: r(
|
|
@@ -1134,7 +1134,7 @@ const _n = ({
|
|
|
1134
1134
|
}
|
|
1135
1135
|
)),
|
|
1136
1136
|
t.map(
|
|
1137
|
-
({ id: a, avatarSrc: h, fullName: p, role: f, comment: g, date:
|
|
1137
|
+
({ id: a, avatarSrc: h, fullName: p, role: f, comment: g, date: b, time: x, stars: s = 0 }) => /* @__PURE__ */ u("div", { className: Y.wrapper, children: [
|
|
1138
1138
|
/* @__PURE__ */ e(
|
|
1139
1139
|
Lt,
|
|
1140
1140
|
{
|
|
@@ -1183,11 +1183,11 @@ const _n = ({
|
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
),
|
|
1186
|
-
/* @__PURE__ */ e(
|
|
1187
|
-
/* @__PURE__ */ u(
|
|
1188
|
-
|
|
1186
|
+
/* @__PURE__ */ e(w, { variant: "p", className: Y.commentText, children: g }),
|
|
1187
|
+
/* @__PURE__ */ u(w, { variant: "span", className: Y.commentDate, children: [
|
|
1188
|
+
b,
|
|
1189
1189
|
" ",
|
|
1190
|
-
|
|
1190
|
+
x
|
|
1191
1191
|
] }),
|
|
1192
1192
|
c && /* @__PURE__ */ e(
|
|
1193
1193
|
Mt,
|
|
@@ -1310,8 +1310,8 @@ const _n = ({
|
|
|
1310
1310
|
return f ? g += ` ${_.dayDisabled}` : h ? Hn(a, o ? new Date(o) : void 0) ? g += ` ${_.daySelected}` : Ln(a) ? g += ` ${_.dayToday}` : zn(a) ? g += ` ${_.dayWeekend}` : g += ` ${_.dayNormal}` : g += ` ${_.dayOutside}`, /* @__PURE__ */ e(
|
|
1311
1311
|
"button",
|
|
1312
1312
|
{
|
|
1313
|
-
onClick: (
|
|
1314
|
-
|
|
1313
|
+
onClick: (b) => {
|
|
1314
|
+
b.stopPropagation(), b.preventDefault(), f || t(a);
|
|
1315
1315
|
},
|
|
1316
1316
|
disabled: f,
|
|
1317
1317
|
className: g,
|
|
@@ -1331,17 +1331,17 @@ const _n = ({
|
|
|
1331
1331
|
}) => {
|
|
1332
1332
|
const [a, h] = A(!1), [p, f] = A(
|
|
1333
1333
|
t ? new Date(t) : /* @__PURE__ */ new Date()
|
|
1334
|
-
), [g,
|
|
1334
|
+
), [g, b] = A(
|
|
1335
1335
|
t ? Tt(new Date(t)) : ""
|
|
1336
1336
|
);
|
|
1337
1337
|
ve(() => {
|
|
1338
|
-
t ? (
|
|
1338
|
+
t ? (b(Tt(new Date(t))), f(new Date(t))) : b("");
|
|
1339
1339
|
}, [t]);
|
|
1340
|
-
const
|
|
1341
|
-
d(v.toISOString()),
|
|
1340
|
+
const x = oe(null), s = oe(null), y = (v) => {
|
|
1341
|
+
d(v.toISOString()), b(Tt(v)), h(!1);
|
|
1342
1342
|
}, m = (v) => {
|
|
1343
1343
|
let C = v.target.value.replace(/\D/g, "");
|
|
1344
|
-
if (C.length >= 3 && C.length <= 4 ? C = `${C.slice(0, 2)}/${C.slice(2)}` : C.length > 4 && (C = `${C.slice(0, 2)}/${C.slice(2, 4)}/${C.slice(4, 8)}`), C.length > 10 && (C = C.slice(0, 10)),
|
|
1344
|
+
if (C.length >= 3 && C.length <= 4 ? C = `${C.slice(0, 2)}/${C.slice(2)}` : C.length > 4 && (C = `${C.slice(0, 2)}/${C.slice(2, 4)}/${C.slice(4, 8)}`), C.length > 10 && (C = C.slice(0, 10)), b(C), !C || C.trim() === "") {
|
|
1345
1345
|
d(void 0);
|
|
1346
1346
|
return;
|
|
1347
1347
|
}
|
|
@@ -1363,7 +1363,7 @@ const _n = ({
|
|
|
1363
1363
|
const C = parseInt(v);
|
|
1364
1364
|
f(new Date(C, p.getMonth(), 1));
|
|
1365
1365
|
}, k = (v) => {
|
|
1366
|
-
v.stopPropagation(), v.preventDefault(), d(void 0),
|
|
1366
|
+
v.stopPropagation(), v.preventDefault(), d(void 0), b(""), h(!1);
|
|
1367
1367
|
};
|
|
1368
1368
|
return /* @__PURE__ */ u("div", { className: _.base, children: [
|
|
1369
1369
|
/* @__PURE__ */ u("div", { className: _.label.wrapper, children: [
|
|
@@ -1443,7 +1443,7 @@ const _n = ({
|
|
|
1443
1443
|
pe,
|
|
1444
1444
|
{
|
|
1445
1445
|
role: "dialog",
|
|
1446
|
-
ref:
|
|
1446
|
+
ref: x,
|
|
1447
1447
|
container: s.current,
|
|
1448
1448
|
className: _.popoverWrapper,
|
|
1449
1449
|
children: /* @__PURE__ */ u("div", { children: [
|
|
@@ -1513,7 +1513,7 @@ const _n = ({
|
|
|
1513
1513
|
)
|
|
1514
1514
|
] }),
|
|
1515
1515
|
/* @__PURE__ */ e("div", { className: _.weekHeader, children: Yn.map((v) => /* @__PURE__ */ e("div", { className: _.weekDay, children: v }, v)) }),
|
|
1516
|
-
/* @__PURE__ */ e("div", { className: _.calendar, children: Vn(
|
|
1516
|
+
/* @__PURE__ */ e("div", { className: _.calendar, children: Vn(y, l, p, t) }),
|
|
1517
1517
|
/* @__PURE__ */ e("div", { className: _.resetButtonWrapper, children: /* @__PURE__ */ e("button", { onClick: k, className: _.resetButton, children: "Сбросить" }) })
|
|
1518
1518
|
] })
|
|
1519
1519
|
}
|
|
@@ -1590,12 +1590,12 @@ const _n = ({
|
|
|
1590
1590
|
disabled: n = !1,
|
|
1591
1591
|
classNames: c
|
|
1592
1592
|
}) => {
|
|
1593
|
-
const l = z.useId(), [a, h] = z.useState(/* @__PURE__ */ new Date()), [p, f] = z.useState(""), [g,
|
|
1593
|
+
const l = z.useId(), [a, h] = z.useState(/* @__PURE__ */ new Date()), [p, f] = z.useState(""), [g, b] = z.useState(!1), x = sr({
|
|
1594
1594
|
mask: "__/__/____ - __/__/____",
|
|
1595
1595
|
replacement: { _: /\d/ }
|
|
1596
|
-
}), s = z.useRef(null),
|
|
1596
|
+
}), s = z.useRef(null), y = z.useRef(!1);
|
|
1597
1597
|
z.useEffect(() => {
|
|
1598
|
-
if (
|
|
1598
|
+
if (y.current || !t || !(t.to && t.from)) return;
|
|
1599
1599
|
const k = t.from ? N(new Date(t.from), ee) : "", v = t.to ? N(new Date(t.to), ee) : "";
|
|
1600
1600
|
f(v ? `${k} - ${v}` : `${k} - `);
|
|
1601
1601
|
}, [t]);
|
|
@@ -1615,7 +1615,7 @@ const _n = ({
|
|
|
1615
1615
|
N(new Date(k.from), ee) + " - " + N(new Date(k.to), ee)
|
|
1616
1616
|
);
|
|
1617
1617
|
}, S = (k) => {
|
|
1618
|
-
|
|
1618
|
+
y.current = !0;
|
|
1619
1619
|
const { value: v } = k.target, [C, D] = v.split("-").map((F) => F.trim());
|
|
1620
1620
|
f(v);
|
|
1621
1621
|
const T = At(C, ee, /* @__PURE__ */ new Date()), I = D ? At(D, ee, /* @__PURE__ */ new Date()) : /* @__PURE__ */ new Date();
|
|
@@ -1623,11 +1623,11 @@ const _n = ({
|
|
|
1623
1623
|
}, j = () => {
|
|
1624
1624
|
f(""), d(void 0), h(/* @__PURE__ */ new Date());
|
|
1625
1625
|
};
|
|
1626
|
-
return /* @__PURE__ */ e("div", { className: r(m.wrapper, c == null ? void 0 : c.wrapper), children: /* @__PURE__ */ u(ae, { open: g, onOpenChange:
|
|
1626
|
+
return /* @__PURE__ */ e("div", { className: r(m.wrapper, c == null ? void 0 : c.wrapper), children: /* @__PURE__ */ u(ae, { open: g, onOpenChange: b, children: [
|
|
1627
1627
|
/* @__PURE__ */ e(le, { asChild: !0, role: "trigger", className: c == null ? void 0 : c.trigger, children: /* @__PURE__ */ e(
|
|
1628
1628
|
zt,
|
|
1629
1629
|
{
|
|
1630
|
-
ref:
|
|
1630
|
+
ref: x,
|
|
1631
1631
|
label: i,
|
|
1632
1632
|
inputProps: {
|
|
1633
1633
|
id: l,
|
|
@@ -1643,7 +1643,7 @@ const _n = ({
|
|
|
1643
1643
|
disabled: n
|
|
1644
1644
|
},
|
|
1645
1645
|
icon: hr,
|
|
1646
|
-
onIconClick: () =>
|
|
1646
|
+
onIconClick: () => b(!0),
|
|
1647
1647
|
iconProps: {
|
|
1648
1648
|
width: 18,
|
|
1649
1649
|
height: 18,
|
|
@@ -1712,7 +1712,7 @@ const _n = ({
|
|
|
1712
1712
|
(t == null ? void 0 : t.to) && N(new Date(t == null ? void 0 : t.to), ee) === N(new Date(k.day.date), ee) && "!bg-primary-10 text-sidebar-10 shadow-4xl",
|
|
1713
1713
|
v && "!bg-primary-40 text-dark-50"
|
|
1714
1714
|
),
|
|
1715
|
-
children: /* @__PURE__ */ e(
|
|
1715
|
+
children: /* @__PURE__ */ e(w, { className: "text-sm font-mono font-medium", children: k.children })
|
|
1716
1716
|
}
|
|
1717
1717
|
)
|
|
1718
1718
|
}
|
|
@@ -1752,10 +1752,10 @@ const _n = ({
|
|
|
1752
1752
|
) })
|
|
1753
1753
|
}
|
|
1754
1754
|
),
|
|
1755
|
-
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(
|
|
1755
|
+
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(w, { className: "text-base text-dark-40 font-semibold font-mono", children: N(F, "MMMM yyyy", { locale: Ct }) }) })
|
|
1756
1756
|
] }),
|
|
1757
1757
|
/* @__PURE__ */ u("div", { className: "flex items-center w-1/2", children: [
|
|
1758
|
-
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(
|
|
1758
|
+
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(w, { className: "text-base text-dark-40 font-semibold font-mono", children: N(V, "MMMM yyyy", { locale: Ct }) }) }),
|
|
1759
1759
|
/* @__PURE__ */ e("button", { onClick: C, disabled: !T, children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
1760
1760
|
tr,
|
|
1761
1761
|
{
|
|
@@ -1812,15 +1812,15 @@ const _n = ({
|
|
|
1812
1812
|
align: l = "start",
|
|
1813
1813
|
classNames: a
|
|
1814
1814
|
}) => {
|
|
1815
|
-
const [h, p] = z.useState(), [f] = Ot(), g = dr(),
|
|
1815
|
+
const [h, p] = z.useState(), [f] = Ot(), g = dr(), b = (m) => {
|
|
1816
1816
|
p(m), g(`${d}/${m.to}?${f.toString()}`);
|
|
1817
|
-
},
|
|
1817
|
+
}, x = Et.modal, s = x.item, y = Et.text;
|
|
1818
1818
|
return /* @__PURE__ */ u(vt, { open: o, onOpenChange: n, children: [
|
|
1819
1819
|
/* @__PURE__ */ e(
|
|
1820
1820
|
st,
|
|
1821
1821
|
{
|
|
1822
1822
|
asChild: !0,
|
|
1823
|
-
className: r(
|
|
1823
|
+
className: r(x.trigger, a == null ? void 0 : a.trigger),
|
|
1824
1824
|
children: t
|
|
1825
1825
|
}
|
|
1826
1826
|
),
|
|
@@ -1829,7 +1829,7 @@ const _n = ({
|
|
|
1829
1829
|
{
|
|
1830
1830
|
side: c,
|
|
1831
1831
|
align: l,
|
|
1832
|
-
className: r(
|
|
1832
|
+
className: r(x.content, a == null ? void 0 : a.content),
|
|
1833
1833
|
children: i == null ? void 0 : i.map((m) => {
|
|
1834
1834
|
const B = (h == null ? void 0 : h.id) === m.id;
|
|
1835
1835
|
return /* @__PURE__ */ e(
|
|
@@ -1843,9 +1843,9 @@ const _n = ({
|
|
|
1843
1843
|
children: /* @__PURE__ */ u(
|
|
1844
1844
|
$t,
|
|
1845
1845
|
{
|
|
1846
|
-
onClick: () =>
|
|
1846
|
+
onClick: () => b(m),
|
|
1847
1847
|
className: r(
|
|
1848
|
-
|
|
1848
|
+
y.base,
|
|
1849
1849
|
B && "font-bold",
|
|
1850
1850
|
B && (a == null ? void 0 : a.text)
|
|
1851
1851
|
),
|
|
@@ -1854,7 +1854,7 @@ const _n = ({
|
|
|
1854
1854
|
"span",
|
|
1855
1855
|
{
|
|
1856
1856
|
className: r(
|
|
1857
|
-
|
|
1857
|
+
y.dot,
|
|
1858
1858
|
B && "bg-primary-10",
|
|
1859
1859
|
a == null ? void 0 : a.dot
|
|
1860
1860
|
)
|
|
@@ -1894,7 +1894,7 @@ const _n = ({
|
|
|
1894
1894
|
}) => /* @__PURE__ */ u("div", { className: r(G.wrapper, l == null ? void 0 : l.wrapper), children: [
|
|
1895
1895
|
t && /* @__PURE__ */ u("div", { className: G.header, children: [
|
|
1896
1896
|
/* @__PURE__ */ e(jr, { className: G.headerIcon, role: "img" }),
|
|
1897
|
-
/* @__PURE__ */ u(
|
|
1897
|
+
/* @__PURE__ */ u(w, { variant: "p", className: G.headerText, children: [
|
|
1898
1898
|
t,
|
|
1899
1899
|
"(",
|
|
1900
1900
|
i.length,
|
|
@@ -1940,8 +1940,8 @@ const _n = ({
|
|
|
1940
1940
|
) : /* @__PURE__ */ u("div", { className: r(G.fileWrapper, l == null ? void 0 : l.file), children: [
|
|
1941
1941
|
/* @__PURE__ */ e(rr, { className: G.fileIcon, role: "img" }),
|
|
1942
1942
|
/* @__PURE__ */ u("div", { children: [
|
|
1943
|
-
/* @__PURE__ */ e(
|
|
1944
|
-
/* @__PURE__ */ e(
|
|
1943
|
+
/* @__PURE__ */ e(w, { variant: "p", className: G.fileText, children: a.name }),
|
|
1944
|
+
/* @__PURE__ */ e(w, { variant: "p", className: G.fileSize, children: ft(a.size) })
|
|
1945
1945
|
] }),
|
|
1946
1946
|
/* @__PURE__ */ e(
|
|
1947
1947
|
Xe,
|
|
@@ -1995,7 +1995,7 @@ const _n = ({
|
|
|
1995
1995
|
)
|
|
1996
1996
|
] }),
|
|
1997
1997
|
d && /* @__PURE__ */ e(
|
|
1998
|
-
|
|
1998
|
+
w,
|
|
1999
1999
|
{
|
|
2000
2000
|
variant: "p",
|
|
2001
2001
|
className: r(G.description, l == null ? void 0 : l.description),
|
|
@@ -2031,14 +2031,14 @@ const _n = ({
|
|
|
2031
2031
|
icon: l,
|
|
2032
2032
|
iconSizes: a
|
|
2033
2033
|
}) => {
|
|
2034
|
-
const [h, p] = A(!1), g = xr(o)(c),
|
|
2034
|
+
const [h, p] = A(!1), g = xr(o)(c), b = Bt.base, x = Bt.disabled.trigger, s = Bt.disabled.triggerText, y = ({
|
|
2035
2035
|
className: m,
|
|
2036
2036
|
text: B = ""
|
|
2037
2037
|
}) => /* @__PURE__ */ e(
|
|
2038
|
-
|
|
2038
|
+
w,
|
|
2039
2039
|
{
|
|
2040
2040
|
className: r(
|
|
2041
|
-
|
|
2041
|
+
b.placeholder,
|
|
2042
2042
|
m,
|
|
2043
2043
|
d && s
|
|
2044
2044
|
),
|
|
@@ -2052,8 +2052,8 @@ const _n = ({
|
|
|
2052
2052
|
role: "listbox",
|
|
2053
2053
|
disabled: d,
|
|
2054
2054
|
className: r(
|
|
2055
|
-
|
|
2056
|
-
d &&
|
|
2055
|
+
b.trigger,
|
|
2056
|
+
d && x,
|
|
2057
2057
|
t == null ? void 0 : t.trigger
|
|
2058
2058
|
),
|
|
2059
2059
|
children: [
|
|
@@ -2063,28 +2063,28 @@ const _n = ({
|
|
|
2063
2063
|
width: a == null ? void 0 : a.width,
|
|
2064
2064
|
height: a == null ? void 0 : a.height,
|
|
2065
2065
|
viewBox: a == null ? void 0 : a.viewBox,
|
|
2066
|
-
className: r(
|
|
2066
|
+
className: r(b.icon, t == null ? void 0 : t.icon)
|
|
2067
2067
|
}
|
|
2068
|
-
) : /* @__PURE__ */ e(
|
|
2068
|
+
) : /* @__PURE__ */ e(y, { text: "Сортировать:", className: b.label }),
|
|
2069
2069
|
c ? /* @__PURE__ */ e(
|
|
2070
|
-
|
|
2070
|
+
y,
|
|
2071
2071
|
{
|
|
2072
2072
|
"data-testid": "dropdown-selected-option",
|
|
2073
2073
|
text: g == null ? void 0 : g.label,
|
|
2074
|
-
className: r(
|
|
2074
|
+
className: r(b.selected, t == null ? void 0 : t.selected)
|
|
2075
2075
|
}
|
|
2076
2076
|
) : /* @__PURE__ */ e(
|
|
2077
|
-
|
|
2077
|
+
y,
|
|
2078
2078
|
{
|
|
2079
2079
|
text: n,
|
|
2080
|
-
className: r(
|
|
2080
|
+
className: r(b.placeholder, t == null ? void 0 : t.placeholder)
|
|
2081
2081
|
}
|
|
2082
2082
|
),
|
|
2083
2083
|
/* @__PURE__ */ e(
|
|
2084
2084
|
"div",
|
|
2085
2085
|
{
|
|
2086
2086
|
className: r(
|
|
2087
|
-
|
|
2087
|
+
b.dropdownIcon,
|
|
2088
2088
|
h && "rotate-180 transition-transform"
|
|
2089
2089
|
),
|
|
2090
2090
|
children: /* @__PURE__ */ e(_r, { className: "fill-dark-30" })
|
|
@@ -2096,21 +2096,21 @@ const _n = ({
|
|
|
2096
2096
|
/* @__PURE__ */ e(
|
|
2097
2097
|
mt,
|
|
2098
2098
|
{
|
|
2099
|
-
className: r(
|
|
2099
|
+
className: r(b.content, t == null ? void 0 : t.content),
|
|
2100
2100
|
align: "end",
|
|
2101
2101
|
sideOffset: 1,
|
|
2102
2102
|
children: o && (o == null ? void 0 : o.map((m) => /* @__PURE__ */ e(
|
|
2103
2103
|
$t,
|
|
2104
2104
|
{
|
|
2105
|
-
className:
|
|
2105
|
+
className: b.items,
|
|
2106
2106
|
onClick: (B) => {
|
|
2107
2107
|
B.stopPropagation(), i(m.value), p(!1);
|
|
2108
2108
|
},
|
|
2109
2109
|
children: /* @__PURE__ */ e(
|
|
2110
|
-
|
|
2110
|
+
w,
|
|
2111
2111
|
{
|
|
2112
2112
|
className: r(
|
|
2113
|
-
|
|
2113
|
+
b.item,
|
|
2114
2114
|
c === m.value && "before:bg-dark-10",
|
|
2115
2115
|
c === m.value ? "font-semibold" : "font-regular"
|
|
2116
2116
|
),
|
|
@@ -2181,7 +2181,7 @@ const _n = ({
|
|
|
2181
2181
|
/* @__PURE__ */ u("div", { className: r(Ie.timeWrapper, o == null ? void 0 : o.timeWrapper), children: [
|
|
2182
2182
|
/* @__PURE__ */ e("time", { className: r(Ie.time, o == null ? void 0 : o.time), children: c }),
|
|
2183
2183
|
!!n && /* @__PURE__ */ e(
|
|
2184
|
-
|
|
2184
|
+
w,
|
|
2185
2185
|
{
|
|
2186
2186
|
className: r(Ie.notification, o == null ? void 0 : o.notification),
|
|
2187
2187
|
"data-testid": "notification",
|
|
@@ -2236,7 +2236,7 @@ const _n = ({
|
|
|
2236
2236
|
}
|
|
2237
2237
|
),
|
|
2238
2238
|
o && /* @__PURE__ */ e(
|
|
2239
|
-
|
|
2239
|
+
w,
|
|
2240
2240
|
{
|
|
2241
2241
|
className: r(
|
|
2242
2242
|
be.base.label,
|
|
@@ -2267,8 +2267,8 @@ const _n = ({
|
|
|
2267
2267
|
}
|
|
2268
2268
|
}, Xo = z.forwardRef(({ textareaProps: t, disabled: d, classNames: i, iconSizes: o, onIconClick: n }, c) => {
|
|
2269
2269
|
const l = ot.base, a = ot.button, h = (t == null ? void 0 : t.status) === "danger", p = z.useRef(null), f = (g) => {
|
|
2270
|
-
var
|
|
2271
|
-
g.key === "Enter" && (g.preventDefault(), (
|
|
2270
|
+
var b;
|
|
2271
|
+
g.key === "Enter" && (g.preventDefault(), (b = p.current) == null || b.click());
|
|
2272
2272
|
};
|
|
2273
2273
|
return /* @__PURE__ */ u("div", { className: r(ot.parent, i == null ? void 0 : i.parent), children: [
|
|
2274
2274
|
h && /* @__PURE__ */ e(se, { className: "fill-danger-10 mb-[5px]" }),
|
|
@@ -2413,7 +2413,7 @@ const Jn = ({
|
|
|
2413
2413
|
}
|
|
2414
2414
|
)),
|
|
2415
2415
|
i && /* @__PURE__ */ e(
|
|
2416
|
-
|
|
2416
|
+
w,
|
|
2417
2417
|
{
|
|
2418
2418
|
variant: "span",
|
|
2419
2419
|
className: r(
|
|
@@ -2559,7 +2559,7 @@ const Jn = ({
|
|
|
2559
2559
|
children: d.label
|
|
2560
2560
|
}
|
|
2561
2561
|
) }),
|
|
2562
|
-
n && /* @__PURE__ */ e(
|
|
2562
|
+
n && /* @__PURE__ */ e(w, { className: St.error, children: "Введите все языки" }),
|
|
2563
2563
|
/* @__PURE__ */ e(
|
|
2564
2564
|
pe,
|
|
2565
2565
|
{
|
|
@@ -2667,23 +2667,23 @@ const No = ({
|
|
|
2667
2667
|
}
|
|
2668
2668
|
),
|
|
2669
2669
|
/* @__PURE__ */ e("div", { className: r($.nav.pageBtnWrapper), children: g.map(
|
|
2670
|
-
(
|
|
2670
|
+
(b, x) => b === "..." ? /* @__PURE__ */ e("span", { className: r($.pageButton.base), children: "..." }, `dots-${x}`) : /* @__PURE__ */ e(
|
|
2671
2671
|
O,
|
|
2672
2672
|
{
|
|
2673
|
-
onClick: () => d == null ? void 0 : d(
|
|
2674
|
-
"aria-current":
|
|
2673
|
+
onClick: () => d == null ? void 0 : d(b),
|
|
2674
|
+
"aria-current": b === t ? "page" : void 0,
|
|
2675
2675
|
classNames: {
|
|
2676
2676
|
base: r(
|
|
2677
2677
|
$.pageButton.base,
|
|
2678
2678
|
$.pageButton.hover,
|
|
2679
2679
|
$.pageButton.focus,
|
|
2680
2680
|
$.pageButton.pressed,
|
|
2681
|
-
|
|
2681
|
+
b === t && $.pageButton.active
|
|
2682
2682
|
)
|
|
2683
2683
|
},
|
|
2684
|
-
children:
|
|
2684
|
+
children: b
|
|
2685
2685
|
},
|
|
2686
|
-
`page-${
|
|
2686
|
+
`page-${b}`
|
|
2687
2687
|
)
|
|
2688
2688
|
) }),
|
|
2689
2689
|
/* @__PURE__ */ e(
|
|
@@ -2780,17 +2780,17 @@ const No = ({
|
|
|
2780
2780
|
const f = ht(
|
|
2781
2781
|
() => Gt[l] || Gt.DEFAULT,
|
|
2782
2782
|
[l]
|
|
2783
|
-
), g = sr(f), [
|
|
2783
|
+
), g = sr(f), [b, x] = A(
|
|
2784
2784
|
() => kt(String(t), f)
|
|
2785
2785
|
);
|
|
2786
2786
|
ve(() => {
|
|
2787
|
-
|
|
2787
|
+
x(kt(String(t), f));
|
|
2788
2788
|
}, [t, f]);
|
|
2789
2789
|
const s = (v) => {
|
|
2790
2790
|
const C = v.target.value.replace(/\D/g, ""), D = kt(C, f);
|
|
2791
|
-
|
|
2792
|
-
},
|
|
2793
|
-
return /* @__PURE__ */ u("div", { className: r(
|
|
2791
|
+
x(D), a == null || a(C);
|
|
2792
|
+
}, y = ke.parent, m = ke.base, B = ke.hover, S = ke.focus, j = ke.disabled, k = c && ke.variants[c];
|
|
2793
|
+
return /* @__PURE__ */ u("div", { className: r(y, h == null ? void 0 : h.parent), children: [
|
|
2794
2794
|
/* @__PURE__ */ u("div", { className: ke.title, children: [
|
|
2795
2795
|
!!i && /* @__PURE__ */ e(
|
|
2796
2796
|
P,
|
|
@@ -2809,7 +2809,7 @@ const No = ({
|
|
|
2809
2809
|
ref: g,
|
|
2810
2810
|
id: d,
|
|
2811
2811
|
onChange: s,
|
|
2812
|
-
value:
|
|
2812
|
+
value: b,
|
|
2813
2813
|
placeholder: l === "UZ" ? "+998 (__) ___ __ __" : "Введите телефон номер",
|
|
2814
2814
|
disabled: o,
|
|
2815
2815
|
autoFocus: n,
|
|
@@ -2850,9 +2850,9 @@ const No = ({
|
|
|
2850
2850
|
onClick: p,
|
|
2851
2851
|
...f
|
|
2852
2852
|
}, g) => {
|
|
2853
|
-
const [
|
|
2854
|
-
|
|
2855
|
-
},
|
|
2853
|
+
const [b, x] = A(o || ""), s = (v) => {
|
|
2854
|
+
x(v), n == null || n(t, v);
|
|
2855
|
+
}, y = f.disabled || !1, m = Ue.base, B = Ue.pressed, S = Ue.hover, j = Ue.disabled, k = Ue.content;
|
|
2856
2856
|
return /* @__PURE__ */ u(
|
|
2857
2857
|
eo,
|
|
2858
2858
|
{
|
|
@@ -2861,19 +2861,19 @@ const No = ({
|
|
|
2861
2861
|
className: r(
|
|
2862
2862
|
m,
|
|
2863
2863
|
B,
|
|
2864
|
-
!
|
|
2865
|
-
|
|
2864
|
+
!y && S,
|
|
2865
|
+
y && j,
|
|
2866
2866
|
h
|
|
2867
2867
|
),
|
|
2868
2868
|
...f,
|
|
2869
2869
|
children: [
|
|
2870
2870
|
/* @__PURE__ */ u("div", { className: k.header, "data-testid": "plate", children: [
|
|
2871
2871
|
/* @__PURE__ */ e(
|
|
2872
|
-
|
|
2872
|
+
w,
|
|
2873
2873
|
{
|
|
2874
2874
|
className: r(
|
|
2875
2875
|
k.title,
|
|
2876
|
-
|
|
2876
|
+
y && k.disabled
|
|
2877
2877
|
),
|
|
2878
2878
|
children: d
|
|
2879
2879
|
}
|
|
@@ -2883,9 +2883,9 @@ const No = ({
|
|
|
2883
2883
|
wr,
|
|
2884
2884
|
{
|
|
2885
2885
|
options: l,
|
|
2886
|
-
value:
|
|
2886
|
+
value: b,
|
|
2887
2887
|
onChange: s,
|
|
2888
|
-
disabled:
|
|
2888
|
+
disabled: y
|
|
2889
2889
|
}
|
|
2890
2890
|
),
|
|
2891
2891
|
!!a && /* @__PURE__ */ u(ae, { children: [
|
|
@@ -2912,7 +2912,7 @@ const No = ({
|
|
|
2912
2912
|
] })
|
|
2913
2913
|
] }),
|
|
2914
2914
|
/* @__PURE__ */ e("div", { className: k.flatType, children: !!c && /* @__PURE__ */ e(qe, { text: c, variant: "warning" }) }),
|
|
2915
|
-
/* @__PURE__ */ e("div", { className: k.flexWrapper, children: i.map((v) => /* @__PURE__ */ u(
|
|
2915
|
+
/* @__PURE__ */ e("div", { className: k.flexWrapper, children: i.map((v) => /* @__PURE__ */ u(w, { className: k.typography, children: [
|
|
2916
2916
|
v.label,
|
|
2917
2917
|
":",
|
|
2918
2918
|
v.href ? /* @__PURE__ */ e(
|
|
@@ -2932,7 +2932,7 @@ const No = ({
|
|
|
2932
2932
|
{
|
|
2933
2933
|
className: r(
|
|
2934
2934
|
k.amount,
|
|
2935
|
-
|
|
2935
|
+
y && k.disabled
|
|
2936
2936
|
),
|
|
2937
2937
|
children: v.value
|
|
2938
2938
|
}
|
|
@@ -2975,7 +2975,7 @@ const No = ({
|
|
|
2975
2975
|
disabled: l.disabled,
|
|
2976
2976
|
className: r(Ce.trigger, o == null ? void 0 : o.trigger),
|
|
2977
2977
|
children: [
|
|
2978
|
-
/* @__PURE__ */ u(
|
|
2978
|
+
/* @__PURE__ */ u(w, { variant: "span", className: Ce.label, children: [
|
|
2979
2979
|
(l == null ? void 0 : l.icon) && /* @__PURE__ */ e(
|
|
2980
2980
|
l.icon,
|
|
2981
2981
|
{
|
|
@@ -2991,7 +2991,7 @@ const No = ({
|
|
|
2991
2991
|
" ",
|
|
2992
2992
|
l.label
|
|
2993
2993
|
] }),
|
|
2994
|
-
l.badge && /* @__PURE__ */ e(
|
|
2994
|
+
l.badge && /* @__PURE__ */ e(w, { variant: "span", className: Ce.badge, children: l.badge })
|
|
2995
2995
|
]
|
|
2996
2996
|
},
|
|
2997
2997
|
l.value
|
|
@@ -3008,12 +3008,12 @@ const No = ({
|
|
|
3008
3008
|
iconInactive: "fill-dark-40/[.50]"
|
|
3009
3009
|
}, ni = z.forwardRef(
|
|
3010
3010
|
({ tabs: t = [], activeTab: d, onTabChange: i, onEditTabContent: o, classNames: n }, c) => {
|
|
3011
|
-
const l = _e.base, a = _e.list, h = _e.trigger, p = _e.content, f = _e.overlayBorder, g = _e.datalist,
|
|
3011
|
+
const l = _e.base, a = _e.list, h = _e.trigger, p = _e.content, f = _e.overlayBorder, g = _e.datalist, b = ({ list: x }) => /* @__PURE__ */ e(
|
|
3012
3012
|
"ul",
|
|
3013
3013
|
{
|
|
3014
3014
|
role: "listbox",
|
|
3015
3015
|
className: r(g.base, n == null ? void 0 : n.datalist),
|
|
3016
|
-
children:
|
|
3016
|
+
children: x.map((s, y) => /* @__PURE__ */ u(
|
|
3017
3017
|
"li",
|
|
3018
3018
|
{
|
|
3019
3019
|
className: r(g.item, n == null ? void 0 : n.dataItem),
|
|
@@ -3026,7 +3026,7 @@ const No = ({
|
|
|
3026
3026
|
s.value
|
|
3027
3027
|
]
|
|
3028
3028
|
},
|
|
3029
|
-
|
|
3029
|
+
y
|
|
3030
3030
|
))
|
|
3031
3031
|
}
|
|
3032
3032
|
);
|
|
@@ -3038,24 +3038,24 @@ const No = ({
|
|
|
3038
3038
|
onValueChange: i,
|
|
3039
3039
|
className: r(l, n == null ? void 0 : n.base),
|
|
3040
3040
|
children: [
|
|
3041
|
-
/* @__PURE__ */ e(pr, { className: r(a, n == null ? void 0 : n.list), children: t.map((
|
|
3041
|
+
/* @__PURE__ */ e(pr, { className: r(a, n == null ? void 0 : n.list), children: t.map((x, s, y) => /* @__PURE__ */ u(
|
|
3042
3042
|
cr,
|
|
3043
3043
|
{
|
|
3044
|
-
value:
|
|
3045
|
-
disabled:
|
|
3044
|
+
value: x.value,
|
|
3045
|
+
disabled: x.disabled,
|
|
3046
3046
|
className: r(
|
|
3047
3047
|
"curved-tab",
|
|
3048
3048
|
s === 0 && "first-tab",
|
|
3049
|
-
s ===
|
|
3049
|
+
s === y.length - 1 && "last-tab",
|
|
3050
3050
|
h.base,
|
|
3051
3051
|
h.active,
|
|
3052
3052
|
h.hover,
|
|
3053
|
-
|
|
3053
|
+
x.disabled && h.disabled,
|
|
3054
3054
|
n == null ? void 0 : n.trigger
|
|
3055
3055
|
),
|
|
3056
3056
|
children: [
|
|
3057
3057
|
s + 1,
|
|
3058
|
-
d ===
|
|
3058
|
+
d === x.value && /* @__PURE__ */ e(
|
|
3059
3059
|
"div",
|
|
3060
3060
|
{
|
|
3061
3061
|
className: r(f, n == null ? void 0 : n.overlayBorder)
|
|
@@ -3063,21 +3063,21 @@ const No = ({
|
|
|
3063
3063
|
)
|
|
3064
3064
|
]
|
|
3065
3065
|
},
|
|
3066
|
-
|
|
3066
|
+
x.value
|
|
3067
3067
|
)) }),
|
|
3068
|
-
t.map((
|
|
3068
|
+
t.map((x, s, y) => /* @__PURE__ */ u(
|
|
3069
3069
|
an,
|
|
3070
3070
|
{
|
|
3071
|
-
value:
|
|
3071
|
+
value: x.value,
|
|
3072
3072
|
className: r(
|
|
3073
3073
|
p.base,
|
|
3074
3074
|
s === 0 && "rounded-ss-none",
|
|
3075
|
-
s ===
|
|
3075
|
+
s === y.length - 1 && "rounded-se-none",
|
|
3076
3076
|
n == null ? void 0 : n.content
|
|
3077
3077
|
),
|
|
3078
3078
|
children: [
|
|
3079
3079
|
/* @__PURE__ */ u("div", { className: p.title.wrapper, children: [
|
|
3080
|
-
/* @__PURE__ */ u(
|
|
3080
|
+
/* @__PURE__ */ u(w, { className: p.title.text, children: [
|
|
3081
3081
|
"Квартира – ",
|
|
3082
3082
|
s + 1
|
|
3083
3083
|
] }),
|
|
@@ -3085,16 +3085,16 @@ const No = ({
|
|
|
3085
3085
|
"button",
|
|
3086
3086
|
{
|
|
3087
3087
|
className: "hover:cursor-pointer",
|
|
3088
|
-
onClick: () => o(
|
|
3088
|
+
onClick: () => o(x),
|
|
3089
3089
|
children: /* @__PURE__ */ e(Ar, { className: "fill-sidebar-10" })
|
|
3090
3090
|
}
|
|
3091
3091
|
)
|
|
3092
3092
|
] }),
|
|
3093
3093
|
/* @__PURE__ */ u("div", { className: g.title.wrapper, children: [
|
|
3094
|
-
/* @__PURE__ */ e(
|
|
3095
|
-
/* @__PURE__ */ e(
|
|
3094
|
+
/* @__PURE__ */ e(w, { className: g.title.text, children: "Общая площадь:" }),
|
|
3095
|
+
/* @__PURE__ */ e(b, { list: x.content.main })
|
|
3096
3096
|
] }),
|
|
3097
|
-
/* @__PURE__ */ e("div", { className: "mt-2.5", children: /* @__PURE__ */ e(
|
|
3097
|
+
/* @__PURE__ */ e("div", { className: "mt-2.5", children: /* @__PURE__ */ e(b, { list: x.content.secondary }) })
|
|
3098
3098
|
]
|
|
3099
3099
|
},
|
|
3100
3100
|
s
|
|
@@ -3206,7 +3206,7 @@ const No = ({
|
|
|
3206
3206
|
children: /* @__PURE__ */ e(en, {})
|
|
3207
3207
|
}
|
|
3208
3208
|
),
|
|
3209
|
-
/* @__PURE__ */ e(
|
|
3209
|
+
/* @__PURE__ */ e(w, { className: We.wrapperBlockName, children: t || "-" }),
|
|
3210
3210
|
/* @__PURE__ */ e(
|
|
3211
3211
|
O,
|
|
3212
3212
|
{
|
|
@@ -3264,16 +3264,16 @@ const No = ({
|
|
|
3264
3264
|
a(t)
|
|
3265
3265
|
), [f, g] = A(
|
|
3266
3266
|
h == null ? void 0 : h.getDate()
|
|
3267
|
-
), [
|
|
3267
|
+
), [b, x] = A(
|
|
3268
3268
|
h == null ? void 0 : h.getMonth()
|
|
3269
|
-
), [s,
|
|
3269
|
+
), [s, y] = A(
|
|
3270
3270
|
h == null ? void 0 : h.getFullYear()
|
|
3271
3271
|
);
|
|
3272
3272
|
ve(() => {
|
|
3273
3273
|
const T = a(t);
|
|
3274
|
-
p(T), g(T == null ? void 0 : T.getDate()),
|
|
3274
|
+
p(T), g(T == null ? void 0 : T.getDate()), x(T == null ? void 0 : T.getMonth()), y(T == null ? void 0 : T.getFullYear());
|
|
3275
3275
|
}, [t]);
|
|
3276
|
-
const m = /* @__PURE__ */ new Date(), B = s ?? m.getFullYear(), S =
|
|
3276
|
+
const m = /* @__PURE__ */ new Date(), B = s ?? m.getFullYear(), S = b ?? m.getMonth(), j = ht(() => {
|
|
3277
3277
|
const T = new Date(B, S + 1, 0).getDate();
|
|
3278
3278
|
return Array.from({ length: T }, (I, F) => {
|
|
3279
3279
|
const V = F + 1;
|
|
@@ -3292,13 +3292,13 @@ const No = ({
|
|
|
3292
3292
|
p(void 0), d(void 0);
|
|
3293
3293
|
}, v = (T) => {
|
|
3294
3294
|
const I = parseInt(T);
|
|
3295
|
-
|
|
3295
|
+
x(I), k(f, I, s);
|
|
3296
3296
|
}, C = (T) => {
|
|
3297
3297
|
const I = parseInt(T);
|
|
3298
|
-
|
|
3298
|
+
y(I), k(f, b, I);
|
|
3299
3299
|
}, D = (T) => {
|
|
3300
3300
|
const I = parseInt(T);
|
|
3301
|
-
g(I), k(I,
|
|
3301
|
+
g(I), k(I, b, s);
|
|
3302
3302
|
};
|
|
3303
3303
|
return /* @__PURE__ */ u("div", { ref: l, className: qt.root, children: [
|
|
3304
3304
|
!!o && /* @__PURE__ */ e(P, { className: r(c == null ? void 0 : c.label), children: o }),
|
|
@@ -3331,7 +3331,7 @@ const No = ({
|
|
|
3331
3331
|
},
|
|
3332
3332
|
disabled: i,
|
|
3333
3333
|
onChange: v,
|
|
3334
|
-
value:
|
|
3334
|
+
value: b !== void 0 ? String(b) : "",
|
|
3335
3335
|
placeholder: "Месяц",
|
|
3336
3336
|
status: n === "danger" ? "danger" : void 0
|
|
3337
3337
|
}
|
|
@@ -3408,7 +3408,7 @@ const No = ({
|
|
|
3408
3408
|
className: r(h.labelWrapper, l == null ? void 0 : l.labelWrapper),
|
|
3409
3409
|
children: [
|
|
3410
3410
|
!!n && d && /* @__PURE__ */ e(
|
|
3411
|
-
|
|
3411
|
+
w,
|
|
3412
3412
|
{
|
|
3413
3413
|
className: r(
|
|
3414
3414
|
h.label,
|
|
@@ -3423,7 +3423,7 @@ const No = ({
|
|
|
3423
3423
|
}
|
|
3424
3424
|
),
|
|
3425
3425
|
!!t && /* @__PURE__ */ e(
|
|
3426
|
-
|
|
3426
|
+
w,
|
|
3427
3427
|
{
|
|
3428
3428
|
variant: "span",
|
|
3429
3429
|
className: r(
|
|
@@ -3510,7 +3510,7 @@ const No = ({
|
|
|
3510
3510
|
}
|
|
3511
3511
|
),
|
|
3512
3512
|
/* @__PURE__ */ e(
|
|
3513
|
-
|
|
3513
|
+
w,
|
|
3514
3514
|
{
|
|
3515
3515
|
"data-testid": `step-${l}-subtitle`,
|
|
3516
3516
|
className: r(
|
|
@@ -3521,7 +3521,7 @@ const No = ({
|
|
|
3521
3521
|
}
|
|
3522
3522
|
),
|
|
3523
3523
|
/* @__PURE__ */ e(
|
|
3524
|
-
|
|
3524
|
+
w,
|
|
3525
3525
|
{
|
|
3526
3526
|
"data-testid": `step-${l}-date`,
|
|
3527
3527
|
className: r(
|
|
@@ -3573,7 +3573,7 @@ const No = ({
|
|
|
3573
3573
|
),
|
|
3574
3574
|
children: [
|
|
3575
3575
|
!!t && t,
|
|
3576
|
-
/* @__PURE__ */ e(
|
|
3576
|
+
/* @__PURE__ */ e(w, { className: r(Kt.headerTitle, i == null ? void 0 : i.title), children: d })
|
|
3577
3577
|
]
|
|
3578
3578
|
}
|
|
3579
3579
|
), Kt = {
|
|
@@ -3595,15 +3595,15 @@ const No = ({
|
|
|
3595
3595
|
...f
|
|
3596
3596
|
}, g) => {
|
|
3597
3597
|
var S;
|
|
3598
|
-
const
|
|
3599
|
-
return /* @__PURE__ */ u("div", { className: r(
|
|
3598
|
+
const b = dt.parent, x = dt.base, s = dt.icon, y = i || (p == null ? void 0 : p.disabled), m = !!(o || l), B = (p == null ? void 0 : p.status) === "danger";
|
|
3599
|
+
return /* @__PURE__ */ u("div", { className: r(b, a == null ? void 0 : a.parent), ...f, children: [
|
|
3600
3600
|
/* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
|
|
3601
3601
|
!!d && /* @__PURE__ */ e(
|
|
3602
3602
|
P,
|
|
3603
3603
|
{
|
|
3604
3604
|
htmlFor: t,
|
|
3605
3605
|
className: r(a == null ? void 0 : a.label),
|
|
3606
|
-
disabled:
|
|
3606
|
+
disabled: y,
|
|
3607
3607
|
children: d
|
|
3608
3608
|
}
|
|
3609
3609
|
),
|
|
@@ -3613,7 +3613,7 @@ const No = ({
|
|
|
3613
3613
|
"div",
|
|
3614
3614
|
{
|
|
3615
3615
|
className: r(
|
|
3616
|
-
|
|
3616
|
+
x,
|
|
3617
3617
|
m && dt.container,
|
|
3618
3618
|
a == null ? void 0 : a.base
|
|
3619
3619
|
),
|
|
@@ -3624,7 +3624,7 @@ const No = ({
|
|
|
3624
3624
|
...p,
|
|
3625
3625
|
ref: g,
|
|
3626
3626
|
id: t,
|
|
3627
|
-
disabled:
|
|
3627
|
+
disabled: y,
|
|
3628
3628
|
classNames: {
|
|
3629
3629
|
...p == null ? void 0 : p.classNames,
|
|
3630
3630
|
target: r(
|
|
@@ -3640,13 +3640,13 @@ const No = ({
|
|
|
3640
3640
|
{
|
|
3641
3641
|
role: "button",
|
|
3642
3642
|
type: "button",
|
|
3643
|
-
disabled:
|
|
3643
|
+
disabled: y,
|
|
3644
3644
|
className: r(
|
|
3645
3645
|
s.base,
|
|
3646
3646
|
c === "left" && "left-3.5",
|
|
3647
3647
|
c === "right" && "right-3.5",
|
|
3648
3648
|
h && s.clickable,
|
|
3649
|
-
|
|
3649
|
+
y && s.disabled,
|
|
3650
3650
|
a == null ? void 0 : a.iconButton
|
|
3651
3651
|
),
|
|
3652
3652
|
onClick: h,
|
|
@@ -3661,7 +3661,7 @@ const No = ({
|
|
|
3661
3661
|
height: n == null ? void 0 : n.height
|
|
3662
3662
|
}
|
|
3663
3663
|
),
|
|
3664
|
-
l && /* @__PURE__ */ e(
|
|
3664
|
+
l && /* @__PURE__ */ e(w, { className: r(s.text, a == null ? void 0 : a.text), children: l })
|
|
3665
3665
|
]
|
|
3666
3666
|
}
|
|
3667
3667
|
)
|
|
@@ -3714,7 +3714,7 @@ const No = ({
|
|
|
3714
3714
|
}
|
|
3715
3715
|
),
|
|
3716
3716
|
!!i && /* @__PURE__ */ e(
|
|
3717
|
-
|
|
3717
|
+
w,
|
|
3718
3718
|
{
|
|
3719
3719
|
"data-testid": "user-label",
|
|
3720
3720
|
variant: "span",
|
|
@@ -3755,9 +3755,9 @@ const No = ({
|
|
|
3755
3755
|
...p,
|
|
3756
3756
|
"data-testid": "link-root",
|
|
3757
3757
|
to: i,
|
|
3758
|
-
onClick: (
|
|
3759
|
-
if (
|
|
3760
|
-
|
|
3758
|
+
onClick: (b) => {
|
|
3759
|
+
if (b.stopPropagation(), d) {
|
|
3760
|
+
b.preventDefault();
|
|
3761
3761
|
return;
|
|
3762
3762
|
}
|
|
3763
3763
|
o && o();
|
|
@@ -3804,15 +3804,15 @@ const No = ({
|
|
|
3804
3804
|
value: c
|
|
3805
3805
|
}, l) => {
|
|
3806
3806
|
var S;
|
|
3807
|
-
const [a, h] = A(!1), f = xr(o)(c), g = oe(null),
|
|
3807
|
+
const [a, h] = A(!1), f = xr(o)(c), g = oe(null), b = Ye.base, x = Ye.options, s = Ye.disabled.trigger, y = Ye.disabled.triggerText, m = (S = o.find((j) => j.value === c)) == null ? void 0 : S.status, B = ({
|
|
3808
3808
|
className: j,
|
|
3809
3809
|
text: k = ""
|
|
3810
3810
|
}) => /* @__PURE__ */ e(
|
|
3811
|
-
|
|
3811
|
+
w,
|
|
3812
3812
|
{
|
|
3813
3813
|
className: r(
|
|
3814
|
-
|
|
3815
|
-
d &&
|
|
3814
|
+
b.placeholder,
|
|
3815
|
+
d && y,
|
|
3816
3816
|
j
|
|
3817
3817
|
),
|
|
3818
3818
|
children: k
|
|
@@ -3830,9 +3830,9 @@ const No = ({
|
|
|
3830
3830
|
role: "listbox",
|
|
3831
3831
|
disabled: d,
|
|
3832
3832
|
className: r(
|
|
3833
|
-
|
|
3833
|
+
b.trigger,
|
|
3834
3834
|
d && s,
|
|
3835
|
-
!a && !d &&
|
|
3835
|
+
!a && !d && b.hover,
|
|
3836
3836
|
t == null ? void 0 : t.trigger,
|
|
3837
3837
|
m && Ye.status[m]
|
|
3838
3838
|
),
|
|
@@ -3841,7 +3841,7 @@ const No = ({
|
|
|
3841
3841
|
B,
|
|
3842
3842
|
{
|
|
3843
3843
|
text: f == null ? void 0 : f.label,
|
|
3844
|
-
className: r(
|
|
3844
|
+
className: r(b.selected, t == null ? void 0 : t.selected)
|
|
3845
3845
|
}
|
|
3846
3846
|
) : /* @__PURE__ */ e(
|
|
3847
3847
|
B,
|
|
@@ -3853,7 +3853,7 @@ const No = ({
|
|
|
3853
3853
|
/* @__PURE__ */ e("div", { className: "transition-transform duration-200", children: /* @__PURE__ */ e(
|
|
3854
3854
|
vr,
|
|
3855
3855
|
{
|
|
3856
|
-
className: r(
|
|
3856
|
+
className: r(b.icon, a && "rotate-180"),
|
|
3857
3857
|
width: 16,
|
|
3858
3858
|
height: 16,
|
|
3859
3859
|
viewBox: "0 0 24 24"
|
|
@@ -3865,14 +3865,14 @@ const No = ({
|
|
|
3865
3865
|
/* @__PURE__ */ e(
|
|
3866
3866
|
mt,
|
|
3867
3867
|
{
|
|
3868
|
-
className: r(
|
|
3868
|
+
className: r(x.content, t == null ? void 0 : t.content),
|
|
3869
3869
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
3870
3870
|
ref: l,
|
|
3871
|
-
children: /* @__PURE__ */ e("div", { className: r(
|
|
3871
|
+
children: /* @__PURE__ */ e("div", { className: r(x.wrapper), children: !!o && (o == null ? void 0 : o.map((j) => /* @__PURE__ */ e(
|
|
3872
3872
|
$t,
|
|
3873
3873
|
{
|
|
3874
3874
|
ref: c === j.value ? g : null,
|
|
3875
|
-
className: r(
|
|
3875
|
+
className: r(x.items),
|
|
3876
3876
|
onClick: (k) => {
|
|
3877
3877
|
k.preventDefault(), k.stopPropagation(), i(j.value), h(!1);
|
|
3878
3878
|
},
|
|
@@ -3953,9 +3953,9 @@ const Ye = {
|
|
|
3953
3953
|
/* @__PURE__ */ u("div", { className: U.titleContainer, children: [
|
|
3954
3954
|
/* @__PURE__ */ u("div", { className: U.textContainer, children: [
|
|
3955
3955
|
/* @__PURE__ */ e("div", { className: U.circle[l] }),
|
|
3956
|
-
/* @__PURE__ */ e(
|
|
3956
|
+
/* @__PURE__ */ e(w, { "data-testid": "title", className: U.text, children: t })
|
|
3957
3957
|
] }),
|
|
3958
|
-
/* @__PURE__ */ e(
|
|
3958
|
+
/* @__PURE__ */ e(w, { "data-testid": "date-and-time", className: U.dateAndTime, children: xt(i) })
|
|
3959
3959
|
] }),
|
|
3960
3960
|
/* @__PURE__ */ u("div", { className: U.fileContainer, children: [
|
|
3961
3961
|
/* @__PURE__ */ e("div", { className: U.iconContainer, children: d.type.startsWith("image/") ? /* @__PURE__ */ e(
|
|
@@ -3970,7 +3970,7 @@ const Ye = {
|
|
|
3970
3970
|
) : /* @__PURE__ */ e(rr, { "data-testid": "pdf-icon", width: 22, height: 30 }) }),
|
|
3971
3971
|
/* @__PURE__ */ u("div", { className: "flex-grow", children: [
|
|
3972
3972
|
/* @__PURE__ */ e(
|
|
3973
|
-
|
|
3973
|
+
w,
|
|
3974
3974
|
{
|
|
3975
3975
|
className: r(
|
|
3976
3976
|
U.fileName,
|
|
@@ -3979,7 +3979,7 @@ const Ye = {
|
|
|
3979
3979
|
children: d.name
|
|
3980
3980
|
}
|
|
3981
3981
|
),
|
|
3982
|
-
/* @__PURE__ */ e(
|
|
3982
|
+
/* @__PURE__ */ e(w, { "data-testid": "size-file", className: U.sizeFile, children: ft(Number(d.size.toFixed(1))) })
|
|
3983
3983
|
] }),
|
|
3984
3984
|
/* @__PURE__ */ u("div", { className: U.buttonContainer, children: [
|
|
3985
3985
|
/* @__PURE__ */ e(
|
|
@@ -4075,8 +4075,8 @@ const Ye = {
|
|
|
4075
4075
|
)
|
|
4076
4076
|
] }),
|
|
4077
4077
|
/* @__PURE__ */ u("div", { className: J.titleContainer.base, children: [
|
|
4078
|
-
/* @__PURE__ */ e(
|
|
4079
|
-
/* @__PURE__ */ e(
|
|
4078
|
+
/* @__PURE__ */ e(w, { "data-testid": "title", className: J.titleContainer.title, children: t }),
|
|
4079
|
+
/* @__PURE__ */ e(w, { "data-testid": "price", className: J.titleContainer.price, children: p })
|
|
4080
4080
|
] }),
|
|
4081
4081
|
/* @__PURE__ */ u("div", { className: J.buttonContainer.base, children: [
|
|
4082
4082
|
/* @__PURE__ */ e(
|
|
@@ -4180,7 +4180,7 @@ const Ye = {
|
|
|
4180
4180
|
!!l.sectionTitle && /* @__PURE__ */ e(ut, { variant: "h2", className: de.title, children: l.sectionTitle }),
|
|
4181
4181
|
!!l.sectionSubtitle && /* @__PURE__ */ e(ut, { variant: "h3", className: de.subTitle, children: l.sectionSubtitle }),
|
|
4182
4182
|
/* @__PURE__ */ e("ul", { className: de.items, children: (h = l.items) == null ? void 0 : h.map((p, f) => /* @__PURE__ */ u("li", { children: [
|
|
4183
|
-
!!p.subtitle && /* @__PURE__ */ e(
|
|
4183
|
+
!!p.subtitle && /* @__PURE__ */ e(w, { "data-testid": "subtitle", className: de.item, children: p == null ? void 0 : p.subtitle }),
|
|
4184
4184
|
/* @__PURE__ */ e(
|
|
4185
4185
|
O,
|
|
4186
4186
|
{
|
|
@@ -4216,7 +4216,7 @@ const Ye = {
|
|
|
4216
4216
|
const o = Te.base, n = Te.content.wrapper, c = Te.content.title, l = Te.content.typography, a = Te.content.amount, h = Te.content.amountBold, p = d.find((g) => g.total), f = d.filter((g) => !g.total);
|
|
4217
4217
|
return /* @__PURE__ */ u("div", { className: r(o, i == null ? void 0 : i.root), children: [
|
|
4218
4218
|
/* @__PURE__ */ e("div", { className: n, "data-testid": "plate", children: /* @__PURE__ */ e(
|
|
4219
|
-
|
|
4219
|
+
w,
|
|
4220
4220
|
{
|
|
4221
4221
|
"data-testid": "title",
|
|
4222
4222
|
className: r(c, i == null ? void 0 : i.title),
|
|
@@ -4272,7 +4272,7 @@ const Ye = {
|
|
|
4272
4272
|
classNames: i,
|
|
4273
4273
|
...o
|
|
4274
4274
|
}) => /* @__PURE__ */ u(
|
|
4275
|
-
|
|
4275
|
+
w,
|
|
4276
4276
|
{
|
|
4277
4277
|
"data-testid": "label",
|
|
4278
4278
|
className: r(Zt.label, i == null ? void 0 : i.label),
|
|
@@ -4300,7 +4300,7 @@ const Ye = {
|
|
|
4300
4300
|
options: f = []
|
|
4301
4301
|
}, g) => {
|
|
4302
4302
|
var xe;
|
|
4303
|
-
const [
|
|
4303
|
+
const [b, x] = A(!1), [s, y] = A(a || ""), [m, B] = A(""), [S, j] = A(null), k = oe(null), v = () => {
|
|
4304
4304
|
const M = m.trim();
|
|
4305
4305
|
M && (S && c ? (c(M, S), j(null)) : n(M), B(""));
|
|
4306
4306
|
}, C = (M, K) => {
|
|
@@ -4308,19 +4308,19 @@ const Ye = {
|
|
|
4308
4308
|
const W = f.find((H) => H.value === M);
|
|
4309
4309
|
W && B(W.label);
|
|
4310
4310
|
}, D = (M, K) => {
|
|
4311
|
-
K.stopPropagation(), o(M), s === M &&
|
|
4311
|
+
K.stopPropagation(), o(M), s === M && y("");
|
|
4312
4312
|
}, T = () => {
|
|
4313
4313
|
B(""), j(null);
|
|
4314
4314
|
}, I = () => {
|
|
4315
|
-
|
|
4315
|
+
x(!1), T();
|
|
4316
4316
|
}, F = () => {
|
|
4317
|
-
i(s),
|
|
4317
|
+
i(s), x(!1), T();
|
|
4318
4318
|
}, V = (M) => {
|
|
4319
|
-
|
|
4319
|
+
x(M), M || T();
|
|
4320
4320
|
}, ie = a ? ((xe = f.find((M) => M.value === a)) == null ? void 0 : xe.label) || a : "", ce = ie ? E.base.selected : E.base.placeholder;
|
|
4321
4321
|
return /* @__PURE__ */ u("div", { className: E.container, children: [
|
|
4322
4322
|
h && /* @__PURE__ */ e(P, { htmlFor: "select-list", disabled: d, children: h }),
|
|
4323
|
-
/* @__PURE__ */ u(ae, { open:
|
|
4323
|
+
/* @__PURE__ */ u(ae, { open: b, onOpenChange: V, children: [
|
|
4324
4324
|
/* @__PURE__ */ u(
|
|
4325
4325
|
le,
|
|
4326
4326
|
{
|
|
@@ -4329,13 +4329,13 @@ const Ye = {
|
|
|
4329
4329
|
className: r(
|
|
4330
4330
|
E.base.trigger,
|
|
4331
4331
|
d && E.disabled.trigger,
|
|
4332
|
-
|
|
4333
|
-
!
|
|
4332
|
+
b && E.base.focus,
|
|
4333
|
+
!b && !d && E.base.hover,
|
|
4334
4334
|
t == null ? void 0 : t.trigger
|
|
4335
4335
|
),
|
|
4336
4336
|
children: [
|
|
4337
4337
|
/* @__PURE__ */ e(
|
|
4338
|
-
|
|
4338
|
+
w,
|
|
4339
4339
|
{
|
|
4340
4340
|
className: r(
|
|
4341
4341
|
E.base.text,
|
|
@@ -4355,7 +4355,7 @@ const Ye = {
|
|
|
4355
4355
|
className: r(
|
|
4356
4356
|
E.base.icon,
|
|
4357
4357
|
d && E.base.iconDisabled,
|
|
4358
|
-
|
|
4358
|
+
b && "-rotate-180"
|
|
4359
4359
|
)
|
|
4360
4360
|
}
|
|
4361
4361
|
)
|
|
@@ -4370,7 +4370,7 @@ const Ye = {
|
|
|
4370
4370
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
4371
4371
|
ref: g,
|
|
4372
4372
|
children: [
|
|
4373
|
-
p && /* @__PURE__ */ e(
|
|
4373
|
+
p && /* @__PURE__ */ e(w, { className: r(E.options.label), children: p }),
|
|
4374
4374
|
/* @__PURE__ */ e(
|
|
4375
4375
|
zt,
|
|
4376
4376
|
{
|
|
@@ -4397,11 +4397,11 @@ const Ye = {
|
|
|
4397
4397
|
K && "opacity-50"
|
|
4398
4398
|
),
|
|
4399
4399
|
onClick: (H) => {
|
|
4400
|
-
H.stopPropagation(), H.preventDefault(), K ||
|
|
4400
|
+
H.stopPropagation(), H.preventDefault(), K || y(M.value);
|
|
4401
4401
|
},
|
|
4402
4402
|
children: [
|
|
4403
4403
|
/* @__PURE__ */ u(
|
|
4404
|
-
|
|
4404
|
+
w,
|
|
4405
4405
|
{
|
|
4406
4406
|
className: r(
|
|
4407
4407
|
E.options.itemsText,
|
|
@@ -4549,7 +4549,7 @@ const E = {
|
|
|
4549
4549
|
}
|
|
4550
4550
|
),
|
|
4551
4551
|
!!o && /* @__PURE__ */ e(
|
|
4552
|
-
|
|
4552
|
+
w,
|
|
4553
4553
|
{
|
|
4554
4554
|
className: r(
|
|
4555
4555
|
Ae.base.label,
|
|
@@ -4636,7 +4636,7 @@ const E = {
|
|
|
4636
4636
|
}
|
|
4637
4637
|
),
|
|
4638
4638
|
/* @__PURE__ */ e(
|
|
4639
|
-
|
|
4639
|
+
w,
|
|
4640
4640
|
{
|
|
4641
4641
|
className: r(
|
|
4642
4642
|
"transition-colors",
|
|
@@ -4663,7 +4663,7 @@ const E = {
|
|
|
4663
4663
|
f.value
|
|
4664
4664
|
)) }),
|
|
4665
4665
|
/* @__PURE__ */ e("div", { className: r(Ee.actions, n == null ? void 0 : n.actions), children: a == null ? void 0 : a.map((f) => {
|
|
4666
|
-
var g,
|
|
4666
|
+
var g, b;
|
|
4667
4667
|
return /* @__PURE__ */ e(
|
|
4668
4668
|
Mt,
|
|
4669
4669
|
{
|
|
@@ -4672,7 +4672,7 @@ const E = {
|
|
|
4672
4672
|
variant: "text",
|
|
4673
4673
|
classNames: {
|
|
4674
4674
|
icon: r("fill-dark-40/[.80]", (g = f.classNames) == null ? void 0 : g.icon),
|
|
4675
|
-
button: r("p-0", (
|
|
4675
|
+
button: r("p-0", (b = f.classNames) == null ? void 0 : b.button)
|
|
4676
4676
|
},
|
|
4677
4677
|
iconSizes: f.iconSizes ?? {
|
|
4678
4678
|
width: 20,
|
|
@@ -4747,11 +4747,12 @@ const E = {
|
|
|
4747
4747
|
onSelectedMessage: a,
|
|
4748
4748
|
visibleSelections: h,
|
|
4749
4749
|
classNames: p,
|
|
4750
|
-
onMessageAction: f
|
|
4750
|
+
onMessageAction: f,
|
|
4751
|
+
mediaContent: g
|
|
4751
4752
|
}) => {
|
|
4752
|
-
const
|
|
4753
|
+
const b = t === d;
|
|
4753
4754
|
return /* @__PURE__ */ u("div", { className: r(at.root, p == null ? void 0 : p.root), children: [
|
|
4754
|
-
c && !
|
|
4755
|
+
c && !b && /* @__PURE__ */ e(
|
|
4755
4756
|
nr,
|
|
4756
4757
|
{
|
|
4757
4758
|
imageSrc: n == null ? void 0 : n.url,
|
|
@@ -4763,9 +4764,9 @@ const E = {
|
|
|
4763
4764
|
"ul",
|
|
4764
4765
|
{
|
|
4765
4766
|
role: "list",
|
|
4766
|
-
className: r(at.list,
|
|
4767
|
-
children: o.map((x,
|
|
4768
|
-
const
|
|
4767
|
+
className: r(at.list, b && "items-end", p == null ? void 0 : p.list),
|
|
4768
|
+
children: o.map((x, s, y) => {
|
|
4769
|
+
const m = (x == null ? void 0 : x.id) && (l == null ? void 0 : l.includes(x.id));
|
|
4769
4770
|
return /* @__PURE__ */ u(
|
|
4770
4771
|
"li",
|
|
4771
4772
|
{
|
|
@@ -4775,8 +4776,8 @@ const E = {
|
|
|
4775
4776
|
/* @__PURE__ */ e(
|
|
4776
4777
|
co,
|
|
4777
4778
|
{
|
|
4778
|
-
isMine:
|
|
4779
|
-
trigger: /* @__PURE__ */ e(
|
|
4779
|
+
isMine: b,
|
|
4780
|
+
trigger: (g == null ? void 0 : g(x, b)) ?? /* @__PURE__ */ e(
|
|
4780
4781
|
Cr,
|
|
4781
4782
|
{
|
|
4782
4783
|
id: x.id,
|
|
@@ -4785,13 +4786,13 @@ const E = {
|
|
|
4785
4786
|
reply: x.reply,
|
|
4786
4787
|
senderName: c ? i : "",
|
|
4787
4788
|
status: x.status,
|
|
4788
|
-
isMine:
|
|
4789
|
-
firstMessage: !
|
|
4790
|
-
lastMessage: !
|
|
4789
|
+
isMine: b,
|
|
4790
|
+
firstMessage: !b && c ? s === 0 : !1,
|
|
4791
|
+
lastMessage: !b && c ? s === y.length - 1 : !0,
|
|
4791
4792
|
onClick: () => a == null ? void 0 : a(x == null ? void 0 : x.id)
|
|
4792
4793
|
}
|
|
4793
4794
|
),
|
|
4794
|
-
onClick: (
|
|
4795
|
+
onClick: (B) => f(B, {
|
|
4795
4796
|
messageId: x.id,
|
|
4796
4797
|
messageText: x.text,
|
|
4797
4798
|
senderName: i
|
|
@@ -4804,14 +4805,14 @@ const E = {
|
|
|
4804
4805
|
"data-testid": "select-icon",
|
|
4805
4806
|
className: r(
|
|
4806
4807
|
at.selection,
|
|
4807
|
-
|
|
4808
|
+
m && "bg-sidebar-20"
|
|
4808
4809
|
),
|
|
4809
4810
|
onClick: () => a == null ? void 0 : a(x == null ? void 0 : x.id),
|
|
4810
4811
|
children: /* @__PURE__ */ e(
|
|
4811
4812
|
$e,
|
|
4812
4813
|
{
|
|
4813
4814
|
className: r(
|
|
4814
|
-
|
|
4815
|
+
m ? "fill-sidebar-10" : "fill-transparent"
|
|
4815
4816
|
),
|
|
4816
4817
|
width: 24,
|
|
4817
4818
|
height: 24,
|
|
@@ -4970,17 +4971,17 @@ const E = {
|
|
|
4970
4971
|
onClick: d,
|
|
4971
4972
|
isMine: i = !1
|
|
4972
4973
|
}) => {
|
|
4973
|
-
const [o, n] = A(!1), c = (
|
|
4974
|
-
|
|
4975
|
-
}, l = (
|
|
4976
|
-
d(
|
|
4977
|
-
}, { icon: a, base: h } = It.button.normal, { icon: p, base: f } = It.button.danger, g = i ? Xt : Xt.filter((
|
|
4974
|
+
const [o, n] = A(!1), c = (b) => {
|
|
4975
|
+
b.preventDefault(), n(!0);
|
|
4976
|
+
}, l = (b) => {
|
|
4977
|
+
d(b), n(!1);
|
|
4978
|
+
}, { icon: a, base: h } = It.button.normal, { icon: p, base: f } = It.button.danger, g = i ? Xt : Xt.filter((b) => b.id !== "edit");
|
|
4978
4979
|
return /* @__PURE__ */ u(ae, { open: o, onOpenChange: n, children: [
|
|
4979
4980
|
/* @__PURE__ */ e(le, { asChild: !0, className: "cursor-pointer", children: /* @__PURE__ */ e(
|
|
4980
4981
|
"div",
|
|
4981
4982
|
{
|
|
4982
4983
|
onContextMenu: c,
|
|
4983
|
-
onClick: (
|
|
4984
|
+
onClick: (b) => b.preventDefault(),
|
|
4984
4985
|
children: t
|
|
4985
4986
|
}
|
|
4986
4987
|
) }),
|
|
@@ -4991,22 +4992,22 @@ const E = {
|
|
|
4991
4992
|
sideOffset: 4,
|
|
4992
4993
|
side: "top",
|
|
4993
4994
|
className: It.wrapper,
|
|
4994
|
-
children: g.map(({ id:
|
|
4995
|
+
children: g.map(({ id: b, icon: x, iconSizes: s, isDanger: y, text: m }) => /* @__PURE__ */ e(
|
|
4995
4996
|
O,
|
|
4996
4997
|
{
|
|
4997
4998
|
"data-testid": "action",
|
|
4998
4999
|
variant: "text",
|
|
4999
5000
|
iconPosition: "left",
|
|
5000
|
-
icon:
|
|
5001
|
+
icon: x,
|
|
5001
5002
|
iconDimensions: s,
|
|
5002
|
-
onClick: () => l(
|
|
5003
|
+
onClick: () => l(b),
|
|
5003
5004
|
classNames: {
|
|
5004
|
-
icon:
|
|
5005
|
-
base:
|
|
5005
|
+
icon: y ? p : a,
|
|
5006
|
+
base: y ? f : h
|
|
5006
5007
|
},
|
|
5007
5008
|
children: m
|
|
5008
5009
|
},
|
|
5009
|
-
|
|
5010
|
+
b
|
|
5010
5011
|
))
|
|
5011
5012
|
}
|
|
5012
5013
|
)
|
|
@@ -5048,8 +5049,8 @@ const E = {
|
|
|
5048
5049
|
onEdit: l,
|
|
5049
5050
|
onDelete: a
|
|
5050
5051
|
}) => {
|
|
5051
|
-
const [h, p] = A(!1), f = t == null ? void 0 : t.find((
|
|
5052
|
-
|
|
5052
|
+
const [h, p] = A(!1), f = t == null ? void 0 : t.find((b) => b.id === d), g = (b, x) => {
|
|
5053
|
+
b.stopPropagation(), n(x), p(!1);
|
|
5053
5054
|
};
|
|
5054
5055
|
return /* @__PURE__ */ e("div", { className: "min-w-[170px]", children: /* @__PURE__ */ u(ae, { open: h, onOpenChange: p, children: [
|
|
5055
5056
|
/* @__PURE__ */ u(
|
|
@@ -5069,16 +5070,16 @@ const E = {
|
|
|
5069
5070
|
}
|
|
5070
5071
|
),
|
|
5071
5072
|
/* @__PURE__ */ u(pe, { className: he.content, children: [
|
|
5072
|
-
/* @__PURE__ */ e("ul", { role: "list", className: he.list, children: t == null ? void 0 : t.map(({ name:
|
|
5073
|
+
/* @__PURE__ */ e("ul", { role: "list", className: he.list, children: t == null ? void 0 : t.map(({ name: b, id: x }) => /* @__PURE__ */ u("li", { role: "listitem", className: he.item, children: [
|
|
5073
5074
|
/* @__PURE__ */ e(
|
|
5074
|
-
|
|
5075
|
+
w,
|
|
5075
5076
|
{
|
|
5076
5077
|
className: r(
|
|
5077
5078
|
he.name,
|
|
5078
|
-
d ===
|
|
5079
|
+
d === x && "before:bg-dark-10"
|
|
5079
5080
|
),
|
|
5080
|
-
onClick: (s) => g(s,
|
|
5081
|
-
children:
|
|
5081
|
+
onClick: (s) => g(s, x),
|
|
5082
|
+
children: b.ru
|
|
5082
5083
|
}
|
|
5083
5084
|
),
|
|
5084
5085
|
/* @__PURE__ */ u("div", { className: he.actions, children: [
|
|
@@ -5089,7 +5090,7 @@ const E = {
|
|
|
5089
5090
|
variant: "text",
|
|
5090
5091
|
classNames: { base: "p-0" },
|
|
5091
5092
|
onClick: (s) => {
|
|
5092
|
-
s.stopPropagation(), l(
|
|
5093
|
+
s.stopPropagation(), l(x);
|
|
5093
5094
|
},
|
|
5094
5095
|
children: /* @__PURE__ */ e(
|
|
5095
5096
|
Rt,
|
|
@@ -5109,7 +5110,7 @@ const E = {
|
|
|
5109
5110
|
variant: "text",
|
|
5110
5111
|
classNames: { base: "p-0" },
|
|
5111
5112
|
onClick: (s) => {
|
|
5112
|
-
s.stopPropagation(), a(
|
|
5113
|
+
s.stopPropagation(), a(x);
|
|
5113
5114
|
},
|
|
5114
5115
|
children: /* @__PURE__ */ e(
|
|
5115
5116
|
Le,
|
|
@@ -5123,7 +5124,7 @@ const E = {
|
|
|
5123
5124
|
}
|
|
5124
5125
|
)
|
|
5125
5126
|
] })
|
|
5126
|
-
] },
|
|
5127
|
+
] }, x)) }),
|
|
5127
5128
|
/* @__PURE__ */ e(
|
|
5128
5129
|
O,
|
|
5129
5130
|
{
|
|
@@ -5199,7 +5200,7 @@ const E = {
|
|
|
5199
5200
|
}
|
|
5200
5201
|
},
|
|
5201
5202
|
formatter: (p) => {
|
|
5202
|
-
const f = h.find((
|
|
5203
|
+
const f = h.find((b) => b.name === p), g = (f == null ? void 0 : f.value) ?? 0;
|
|
5203
5204
|
return `{name|${p}}: {value|${g}}`;
|
|
5204
5205
|
}
|
|
5205
5206
|
},
|
|
@@ -5226,7 +5227,7 @@ const E = {
|
|
|
5226
5227
|
classNames: l,
|
|
5227
5228
|
...a
|
|
5228
5229
|
}, h) => {
|
|
5229
|
-
var g,
|
|
5230
|
+
var g, b;
|
|
5230
5231
|
const p = [
|
|
5231
5232
|
{ value: n.rented, name: "Сдано в аренду" },
|
|
5232
5233
|
{ value: n.sold, name: "Продано" },
|
|
@@ -5260,9 +5261,9 @@ const E = {
|
|
|
5260
5261
|
}
|
|
5261
5262
|
)
|
|
5262
5263
|
] }),
|
|
5263
|
-
/* @__PURE__ */ e(
|
|
5264
|
+
/* @__PURE__ */ e(w, { className: r(Z.totalText, l == null ? void 0 : l.totalText), children: "Общее количество" }),
|
|
5264
5265
|
/* @__PURE__ */ u("div", { className: r(Z.block, l == null ? void 0 : l.block), children: [
|
|
5265
|
-
/* @__PURE__ */ e(
|
|
5266
|
+
/* @__PURE__ */ e(w, { className: r(Z.total, l == null ? void 0 : l.total), children: n.total }),
|
|
5266
5267
|
!!n.growth && /* @__PURE__ */ u("div", { className: r(Z.badge, l == null ? void 0 : l.badge), children: [
|
|
5267
5268
|
/* @__PURE__ */ e(
|
|
5268
5269
|
_t,
|
|
@@ -5274,7 +5275,7 @@ const E = {
|
|
|
5274
5275
|
}
|
|
5275
5276
|
),
|
|
5276
5277
|
/* @__PURE__ */ u(
|
|
5277
|
-
|
|
5278
|
+
w,
|
|
5278
5279
|
{
|
|
5279
5280
|
variant: "span",
|
|
5280
5281
|
className: r(Z.percent, l == null ? void 0 : l.percent),
|
|
@@ -5298,10 +5299,10 @@ const E = {
|
|
|
5298
5299
|
/* @__PURE__ */ e(
|
|
5299
5300
|
"div",
|
|
5300
5301
|
{
|
|
5301
|
-
className: r(Z.progress.line, (
|
|
5302
|
+
className: r(Z.progress.line, (b = l == null ? void 0 : l.progress) == null ? void 0 : b.line)
|
|
5302
5303
|
}
|
|
5303
5304
|
),
|
|
5304
|
-
p.map(({ name:
|
|
5305
|
+
p.map(({ name: x, value: s }, y) => {
|
|
5305
5306
|
var m, B, S;
|
|
5306
5307
|
return /* @__PURE__ */ u(
|
|
5307
5308
|
"div",
|
|
@@ -5309,13 +5310,13 @@ const E = {
|
|
|
5309
5310
|
className: r(Z.progress.row, (m = l == null ? void 0 : l.progress) == null ? void 0 : m.row),
|
|
5310
5311
|
children: [
|
|
5311
5312
|
/* @__PURE__ */ e(
|
|
5312
|
-
|
|
5313
|
+
w,
|
|
5313
5314
|
{
|
|
5314
5315
|
className: r(
|
|
5315
5316
|
Z.progress.name,
|
|
5316
5317
|
(B = l == null ? void 0 : l.progress) == null ? void 0 : B.name
|
|
5317
5318
|
),
|
|
5318
|
-
children:
|
|
5319
|
+
children: x
|
|
5319
5320
|
}
|
|
5320
5321
|
),
|
|
5321
5322
|
/* @__PURE__ */ e(
|
|
@@ -5323,7 +5324,7 @@ const E = {
|
|
|
5323
5324
|
{
|
|
5324
5325
|
value: s,
|
|
5325
5326
|
total: n.total,
|
|
5326
|
-
color: c[
|
|
5327
|
+
color: c[y],
|
|
5327
5328
|
classNames: {
|
|
5328
5329
|
bar: Z.progress.bar,
|
|
5329
5330
|
indicator: Z.progress.indicator
|
|
@@ -5331,7 +5332,7 @@ const E = {
|
|
|
5331
5332
|
}
|
|
5332
5333
|
),
|
|
5333
5334
|
/* @__PURE__ */ e(
|
|
5334
|
-
|
|
5335
|
+
w,
|
|
5335
5336
|
{
|
|
5336
5337
|
className: r(
|
|
5337
5338
|
Z.progress.value,
|
|
@@ -5342,7 +5343,7 @@ const E = {
|
|
|
5342
5343
|
)
|
|
5343
5344
|
]
|
|
5344
5345
|
},
|
|
5345
|
-
|
|
5346
|
+
x
|
|
5346
5347
|
);
|
|
5347
5348
|
})
|
|
5348
5349
|
] })
|
|
@@ -5422,7 +5423,7 @@ const E = {
|
|
|
5422
5423
|
allWhite: h = !1,
|
|
5423
5424
|
arrowDown: p = !1,
|
|
5424
5425
|
icon: f = null
|
|
5425
|
-
} = o ?? {}, g = h ? "#ffffff" : a,
|
|
5426
|
+
} = o ?? {}, g = h ? "#ffffff" : a, b = i === "payment" ? $r(t.total) : t.total, x = xo(i), s = bo(i, g);
|
|
5426
5427
|
return /* @__PURE__ */ u(
|
|
5427
5428
|
"div",
|
|
5428
5429
|
{
|
|
@@ -5432,7 +5433,7 @@ const E = {
|
|
|
5432
5433
|
...c,
|
|
5433
5434
|
children: [
|
|
5434
5435
|
/* @__PURE__ */ e(
|
|
5435
|
-
|
|
5436
|
+
w,
|
|
5436
5437
|
{
|
|
5437
5438
|
className: r(
|
|
5438
5439
|
fe.title,
|
|
@@ -5444,17 +5445,17 @@ const E = {
|
|
|
5444
5445
|
),
|
|
5445
5446
|
/* @__PURE__ */ u("div", { className: r(fe.totalBlock, n == null ? void 0 : n.totalBlock), children: [
|
|
5446
5447
|
/* @__PURE__ */ e(
|
|
5447
|
-
|
|
5448
|
+
w,
|
|
5448
5449
|
{
|
|
5449
5450
|
className: r(
|
|
5450
5451
|
fe.total,
|
|
5451
5452
|
n == null ? void 0 : n.total,
|
|
5452
5453
|
h && "text-sidebar-10"
|
|
5453
5454
|
),
|
|
5454
|
-
children:
|
|
5455
|
+
children: b
|
|
5455
5456
|
}
|
|
5456
5457
|
),
|
|
5457
|
-
i === "payment" && /* @__PURE__ */ e(
|
|
5458
|
+
i === "payment" && /* @__PURE__ */ e(w, { className: fe.payment, children: "Сум" }),
|
|
5458
5459
|
!!t.growth && i === "count" && /* @__PURE__ */ u("div", { className: r(fe.badge, n == null ? void 0 : n.badge), children: [
|
|
5459
5460
|
/* @__PURE__ */ e(
|
|
5460
5461
|
_t,
|
|
@@ -5465,7 +5466,7 @@ const E = {
|
|
|
5465
5466
|
viewBox: "0 0 16 16"
|
|
5466
5467
|
}
|
|
5467
5468
|
),
|
|
5468
|
-
/* @__PURE__ */ u(
|
|
5469
|
+
/* @__PURE__ */ u(w, { variant: "span", className: fe.percent, children: [
|
|
5469
5470
|
t.growth,
|
|
5470
5471
|
"%"
|
|
5471
5472
|
] })
|
|
@@ -5489,7 +5490,7 @@ const E = {
|
|
|
5489
5490
|
className: r(p && "rotate-180")
|
|
5490
5491
|
}
|
|
5491
5492
|
),
|
|
5492
|
-
/* @__PURE__ */ u(
|
|
5493
|
+
/* @__PURE__ */ u(w, { variant: "span", children: [
|
|
5493
5494
|
t.growth,
|
|
5494
5495
|
"%"
|
|
5495
5496
|
] })
|
|
@@ -5497,13 +5498,13 @@ const E = {
|
|
|
5497
5498
|
}
|
|
5498
5499
|
),
|
|
5499
5500
|
i === "stat" && /* @__PURE__ */ e("div", { className: r(fe.icon, n == null ? void 0 : n.icon), children: f }),
|
|
5500
|
-
|
|
5501
|
+
x && /* @__PURE__ */ e(
|
|
5501
5502
|
wt,
|
|
5502
5503
|
{
|
|
5503
5504
|
echarts: yt,
|
|
5504
5505
|
option: s,
|
|
5505
5506
|
style: {
|
|
5506
|
-
...
|
|
5507
|
+
...x,
|
|
5507
5508
|
position: "absolute",
|
|
5508
5509
|
right: i === "bid" ? -60 : -40,
|
|
5509
5510
|
bottom: i === "bid" ? -5 : 0
|
|
@@ -5700,7 +5701,7 @@ const E = {
|
|
|
5700
5701
|
)
|
|
5701
5702
|
] }, c);
|
|
5702
5703
|
}) }),
|
|
5703
|
-
/* @__PURE__ */ e(
|
|
5704
|
+
/* @__PURE__ */ e(w, { variant: "span", className: r(ge.rating, d == null ? void 0 : d.rating), children: String(t).replace(".", ",") })
|
|
5704
5705
|
]
|
|
5705
5706
|
}
|
|
5706
5707
|
), ge = {
|
|
@@ -5788,8 +5789,8 @@ const E = {
|
|
|
5788
5789
|
] }),
|
|
5789
5790
|
/* @__PURE__ */ u("div", { className: r(ne.info, n == null ? void 0 : n.info), children: [
|
|
5790
5791
|
/* @__PURE__ */ u("div", { className: r(ne.block, n == null ? void 0 : n.block), children: [
|
|
5791
|
-
/* @__PURE__ */ e(
|
|
5792
|
-
/* @__PURE__ */ e(
|
|
5792
|
+
/* @__PURE__ */ e(w, { className: r(ne.totalText, n == null ? void 0 : n.totalText), children: "Общее количество" }),
|
|
5793
|
+
/* @__PURE__ */ e(w, { className: r(ne.total, n == null ? void 0 : n.total), children: i.total })
|
|
5793
5794
|
] }),
|
|
5794
5795
|
/* @__PURE__ */ e("div", { className: r(ne.legend.root, (h = n == null ? void 0 : n.legend) == null ? void 0 : h.root), children: a.map((p, f) => {
|
|
5795
5796
|
var g;
|
|
@@ -5893,22 +5894,22 @@ const E = {
|
|
|
5893
5894
|
}
|
|
5894
5895
|
)
|
|
5895
5896
|
] }),
|
|
5896
|
-
/* @__PURE__ */ e("div", { className: r(Me.bar.block, (f = l == null ? void 0 : l.bar) == null ? void 0 : f.block), children: p.map(({ label: g, value:
|
|
5897
|
-
var
|
|
5897
|
+
/* @__PURE__ */ e("div", { className: r(Me.bar.block, (f = l == null ? void 0 : l.bar) == null ? void 0 : f.block), children: p.map(({ label: g, value: b, color: x }, s) => {
|
|
5898
|
+
var y;
|
|
5898
5899
|
return /* @__PURE__ */ u("div", { children: [
|
|
5899
|
-
/* @__PURE__ */ u("div", { className: r(Me.bar.text, (
|
|
5900
|
-
/* @__PURE__ */ e(
|
|
5901
|
-
/* @__PURE__ */ u(
|
|
5902
|
-
|
|
5900
|
+
/* @__PURE__ */ u("div", { className: r(Me.bar.text, (y = l == null ? void 0 : l.bar) == null ? void 0 : y.text), children: [
|
|
5901
|
+
/* @__PURE__ */ e(w, { children: g }),
|
|
5902
|
+
/* @__PURE__ */ u(w, { className: r(s === 2 && "text-danger-10"), children: [
|
|
5903
|
+
b,
|
|
5903
5904
|
" сум"
|
|
5904
5905
|
] })
|
|
5905
5906
|
] }),
|
|
5906
5907
|
/* @__PURE__ */ e(
|
|
5907
5908
|
kr,
|
|
5908
5909
|
{
|
|
5909
|
-
value:
|
|
5910
|
+
value: b,
|
|
5910
5911
|
total: c,
|
|
5911
|
-
color:
|
|
5912
|
+
color: x,
|
|
5912
5913
|
classNames: { bar: `${s === 0 && "h-9"}` }
|
|
5913
5914
|
}
|
|
5914
5915
|
)
|
|
@@ -5967,17 +5968,17 @@ const E = {
|
|
|
5967
5968
|
searchValue: p,
|
|
5968
5969
|
onSearchChange: f,
|
|
5969
5970
|
searchPlaceholder: g = "Search...",
|
|
5970
|
-
emptyMessage:
|
|
5971
|
-
container:
|
|
5971
|
+
emptyMessage: b = "Нет данных",
|
|
5972
|
+
container: x,
|
|
5972
5973
|
disablePortal: s = !1,
|
|
5973
|
-
onDebouncedSearch:
|
|
5974
|
+
onDebouncedSearch: y,
|
|
5974
5975
|
debounceDelay: m = 300
|
|
5975
5976
|
}, B) => {
|
|
5976
5977
|
var K;
|
|
5977
5978
|
const [S, j] = A(!1), [k, v] = A(-1), C = fr(p, m);
|
|
5978
5979
|
ve(() => {
|
|
5979
|
-
|
|
5980
|
-
}, [C,
|
|
5980
|
+
y == null || y(C);
|
|
5981
|
+
}, [C, y]);
|
|
5981
5982
|
const D = oe(""), T = oe(null), I = oe(null);
|
|
5982
5983
|
Nt(
|
|
5983
5984
|
B,
|
|
@@ -6065,7 +6066,7 @@ const E = {
|
|
|
6065
6066
|
),
|
|
6066
6067
|
children: [
|
|
6067
6068
|
/* @__PURE__ */ e("div", { className: R.base.textWrapper, children: /* @__PURE__ */ e(
|
|
6068
|
-
|
|
6069
|
+
w,
|
|
6069
6070
|
{
|
|
6070
6071
|
className: r(
|
|
6071
6072
|
R.base.placeholder,
|
|
@@ -6101,7 +6102,7 @@ const E = {
|
|
|
6101
6102
|
className: r("p-1", t == null ? void 0 : t.content),
|
|
6102
6103
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
6103
6104
|
onOpenAutoFocus: M,
|
|
6104
|
-
container:
|
|
6105
|
+
container: x,
|
|
6105
6106
|
disablePortal: s,
|
|
6106
6107
|
children: [
|
|
6107
6108
|
/* @__PURE__ */ u("div", { className: R.search.wrapper, children: [
|
|
@@ -6146,7 +6147,7 @@ const E = {
|
|
|
6146
6147
|
tt.preventDefault(), tt.stopPropagation(), ce(W.value);
|
|
6147
6148
|
},
|
|
6148
6149
|
onMouseEnter: () => v(H),
|
|
6149
|
-
children: /* @__PURE__ */ e(
|
|
6150
|
+
children: /* @__PURE__ */ e(w, { className: R.options.itemsText, children: W.label })
|
|
6150
6151
|
},
|
|
6151
6152
|
W.value
|
|
6152
6153
|
)) : !h && /* @__PURE__ */ e(
|
|
@@ -6156,7 +6157,7 @@ const E = {
|
|
|
6156
6157
|
R.options.items,
|
|
6157
6158
|
"cursor-default"
|
|
6158
6159
|
),
|
|
6159
|
-
children: /* @__PURE__ */ e(
|
|
6160
|
+
children: /* @__PURE__ */ e(w, { className: R.options.itemsText, children: b })
|
|
6160
6161
|
}
|
|
6161
6162
|
)
|
|
6162
6163
|
] })
|
|
@@ -6227,9 +6228,9 @@ const E = {
|
|
|
6227
6228
|
}
|
|
6228
6229
|
) }),
|
|
6229
6230
|
/* @__PURE__ */ u("div", { className: r(Oe.content, n == null ? void 0 : n.content), children: [
|
|
6230
|
-
/* @__PURE__ */ e(
|
|
6231
|
-
/* @__PURE__ */ e(
|
|
6232
|
-
/* @__PURE__ */ e(
|
|
6231
|
+
/* @__PURE__ */ e(w, { "data-testid": "file-name", className: Oe.name, children: t }),
|
|
6232
|
+
/* @__PURE__ */ e(w, { "data-testid": "file-size", className: Oe.size, children: ft(d) }),
|
|
6233
|
+
/* @__PURE__ */ e(w, { "data-testid": "file-date", className: Oe.dateAndTime, children: xt(i) })
|
|
6233
6234
|
] })
|
|
6234
6235
|
]
|
|
6235
6236
|
}
|
|
@@ -6256,7 +6257,7 @@ const E = {
|
|
|
6256
6257
|
classNames: p,
|
|
6257
6258
|
...f
|
|
6258
6259
|
}, g) => {
|
|
6259
|
-
const
|
|
6260
|
+
const b = Ve.base, x = Ve.wrapper, s = Ve.sender, y = Ve.message, m = Ve.timestamp;
|
|
6260
6261
|
return /* @__PURE__ */ u(
|
|
6261
6262
|
"div",
|
|
6262
6263
|
{
|
|
@@ -6264,7 +6265,7 @@ const E = {
|
|
|
6264
6265
|
id: t,
|
|
6265
6266
|
"data-testid": "message",
|
|
6266
6267
|
className: r(
|
|
6267
|
-
|
|
6268
|
+
b,
|
|
6268
6269
|
l && "bg-primary-10/[.15] border-dark-40/[.25]",
|
|
6269
6270
|
a && !l && "bg-dark-40/[.25]",
|
|
6270
6271
|
a && l && "bg-primary-10/[.55]",
|
|
@@ -6272,7 +6273,7 @@ const E = {
|
|
|
6272
6273
|
),
|
|
6273
6274
|
...f,
|
|
6274
6275
|
children: [
|
|
6275
|
-
/* @__PURE__ */ u("div", { className: r(
|
|
6276
|
+
/* @__PURE__ */ u("div", { className: r(x.above), children: [
|
|
6276
6277
|
!l && h && !!o && /* @__PURE__ */ e(
|
|
6277
6278
|
"div",
|
|
6278
6279
|
{
|
|
@@ -6293,12 +6294,12 @@ const E = {
|
|
|
6293
6294
|
"span",
|
|
6294
6295
|
{
|
|
6295
6296
|
"data-testid": "message-text",
|
|
6296
|
-
className: r(
|
|
6297
|
+
className: r(y, p == null ? void 0 : p.message),
|
|
6297
6298
|
children: d
|
|
6298
6299
|
}
|
|
6299
6300
|
)
|
|
6300
6301
|
] }),
|
|
6301
|
-
/* @__PURE__ */ u("div", { className:
|
|
6302
|
+
/* @__PURE__ */ u("div", { className: x.below, children: [
|
|
6302
6303
|
!!i && /* @__PURE__ */ e(
|
|
6303
6304
|
"span",
|
|
6304
6305
|
{
|
|
@@ -6375,7 +6376,7 @@ const Ve = {
|
|
|
6375
6376
|
) }),
|
|
6376
6377
|
/* @__PURE__ */ u("div", { className: r(Be.content, a == null ? void 0 : a.content), children: [
|
|
6377
6378
|
/* @__PURE__ */ e(
|
|
6378
|
-
|
|
6379
|
+
w,
|
|
6379
6380
|
{
|
|
6380
6381
|
"data-testid": "document-title",
|
|
6381
6382
|
className: r(Be.title, a == null ? void 0 : a.title),
|
|
@@ -6383,7 +6384,7 @@ const Ve = {
|
|
|
6383
6384
|
}
|
|
6384
6385
|
),
|
|
6385
6386
|
/* @__PURE__ */ e(
|
|
6386
|
-
|
|
6387
|
+
w,
|
|
6387
6388
|
{
|
|
6388
6389
|
"data-testid": "document-size",
|
|
6389
6390
|
className: r(Be.size, a == null ? void 0 : a.size),
|
|
@@ -6391,7 +6392,7 @@ const Ve = {
|
|
|
6391
6392
|
}
|
|
6392
6393
|
),
|
|
6393
6394
|
/* @__PURE__ */ e(
|
|
6394
|
-
|
|
6395
|
+
w,
|
|
6395
6396
|
{
|
|
6396
6397
|
"data-testid": "document-date",
|
|
6397
6398
|
className: r(Be.dateAndTime, a == null ? void 0 : a.dateTime),
|
|
@@ -6624,7 +6625,7 @@ const Ve = {
|
|
|
6624
6625
|
onClick: h,
|
|
6625
6626
|
classNames: p
|
|
6626
6627
|
}) => {
|
|
6627
|
-
const f = oe(null), [g,
|
|
6628
|
+
const f = oe(null), [g, b] = A(!1), [x, s] = A(d), [y, m] = A(0), B = ht(() => Array.from(
|
|
6628
6629
|
{ length: 40 },
|
|
6629
6630
|
(D, T) => ((T * 7 + 13) * 17 + 31) % 97 / 97 * 0.8 + 0.2
|
|
6630
6631
|
), []), S = nt((C) => {
|
|
@@ -6636,14 +6637,14 @@ const Ve = {
|
|
|
6636
6637
|
}, []), j = nt((C) => {
|
|
6637
6638
|
C.stopPropagation();
|
|
6638
6639
|
const D = f.current;
|
|
6639
|
-
D && (D.paused ? (D.play(),
|
|
6640
|
+
D && (D.paused ? (D.play(), b(!0)) : (D.pause(), b(!1)));
|
|
6640
6641
|
}, []), k = nt(() => {
|
|
6641
6642
|
const C = f.current;
|
|
6642
6643
|
if (!C) return;
|
|
6643
6644
|
const D = Math.floor(C.currentTime / 60).toString().padStart(2, "0"), T = Math.floor(C.currentTime % 60).toString().padStart(2, "0");
|
|
6644
6645
|
s(`${D}:${T}`), m(C.duration ? C.currentTime / C.duration * 100 : 0);
|
|
6645
6646
|
}, []), v = nt(() => {
|
|
6646
|
-
|
|
6647
|
+
b(!1), s(d), m(0);
|
|
6647
6648
|
}, [d]);
|
|
6648
6649
|
return /* @__PURE__ */ u(
|
|
6649
6650
|
"div",
|
|
@@ -6686,7 +6687,7 @@ const Ve = {
|
|
|
6686
6687
|
className: r(te.waveform, p == null ? void 0 : p.waveform),
|
|
6687
6688
|
onClick: S,
|
|
6688
6689
|
role: "slider",
|
|
6689
|
-
"aria-valuenow":
|
|
6690
|
+
"aria-valuenow": y,
|
|
6690
6691
|
"aria-valuemin": 0,
|
|
6691
6692
|
"aria-valuemax": 100,
|
|
6692
6693
|
tabIndex: 0,
|
|
@@ -6696,7 +6697,7 @@ const Ve = {
|
|
|
6696
6697
|
className: "w-[2px] shrink-0 rounded-full",
|
|
6697
6698
|
style: {
|
|
6698
6699
|
height: `${C * 100}%`,
|
|
6699
|
-
backgroundColor: D / B.length * 100 <=
|
|
6700
|
+
backgroundColor: D / B.length * 100 <= y ? a : l
|
|
6700
6701
|
}
|
|
6701
6702
|
},
|
|
6702
6703
|
D
|
|
@@ -6710,7 +6711,7 @@ const Ve = {
|
|
|
6710
6711
|
{
|
|
6711
6712
|
"data-testid": "audio-card-duration",
|
|
6712
6713
|
className: r(te.duration, p == null ? void 0 : p.duration),
|
|
6713
|
-
children:
|
|
6714
|
+
children: x
|
|
6714
6715
|
}
|
|
6715
6716
|
),
|
|
6716
6717
|
/* @__PURE__ */ e(
|