@namuna-nur/ui-kit 1.9.16 → 1.9.17
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 +381 -379
- package/package.json +1 -1
package/lib/molecules/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsxs as p, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as p, jsx as e, Fragment as vt } from "react/jsx-runtime";
|
|
2
2
|
import * as $ from "react";
|
|
3
|
-
import Ht, { useRef as ue, forwardRef as Z, useState as F, useImperativeHandle as
|
|
4
|
-
import { S as et, b as
|
|
5
|
-
import { cn as o, formatFileSize as
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { useReactTable as
|
|
8
|
-
import { b as
|
|
9
|
-
import { Link as Ee, useSearchParams as
|
|
10
|
-
import { S as Hr, a as Yr, b as Gr, c as Ur, d as Er, e as
|
|
11
|
-
import { P as de, b as ae, c as le, D as
|
|
12
|
-
import { d as Ye, e as Pr, f as Nr, g as
|
|
13
|
-
import { useDebounce as cn, useOption as
|
|
14
|
-
import * as
|
|
15
|
-
import { e as
|
|
16
|
-
import { useMask as
|
|
17
|
-
import { format as Q, addMonths as fn, parse as
|
|
18
|
-
import { ru as
|
|
3
|
+
import Ht, { useRef as ue, forwardRef as Z, useState as F, useImperativeHandle as xr, useEffect as _e, Fragment as gr, useMemo as sr } from "react";
|
|
4
|
+
import { S as et, b as vr, c as be, d as mr, e as wr, f as yr, g as Yt, h as Gt, i as kr, j as Ut, k as Cr, l as Tr, m as Sr, n as Br, o as Dr, p as mt } from "../shared/assets-icons-2.js";
|
|
5
|
+
import { cn as o, formatFileSize as kt, formatDateToDayMonthYear as jr, numberFormat as Ir } from "../utils/index.js";
|
|
6
|
+
import { Checkbox as wt, Label as P, Spinner as Et, Text as k, Button as _, Avatar as Vt, IconButton as Ct, Select as ke, Textarea as Qt, Radio as qt, Status as He, Toggle as Wr, Headline as Pe, Input as Mr, Message as _r, Tab as Fr } from "../atoms/index.js";
|
|
7
|
+
import { useReactTable as Or, getCoreRowModel as Ar, flexRender as ct } from "@tanstack/react-table";
|
|
8
|
+
import { b as $r, c as Rr, d as Lr, e as zr } from "../shared/assets-icons-3.js";
|
|
9
|
+
import { Link as Ee, useSearchParams as Tt, useNavigate as Xt, NavLink as St } from "react-router-dom";
|
|
10
|
+
import { S as Hr, a as Yr, b as Gr, c as Ur, d as Er, e as Zt, f as Bt } from "../shared/assets-icons-1.js";
|
|
11
|
+
import { P as de, b as ae, c as le, D as tt, d as rt, e as nt, f as Dt, A as Vr, g as Qr, h as qr, i as Xr, j as Jt, k as Kt, l as Pt, m as Zr, n as Jr, o as Kr } from "../shared/shared.js";
|
|
12
|
+
import { d as Ye, e as Pr, f as Nr, g as Nt, h as en, i as tn, j as rn, k as nn, a as on, l as dn, m as an, n as ln } from "../shared/assets-icons-4.js";
|
|
13
|
+
import { useDebounce as cn, useOption as er } from "../hooks/index.js";
|
|
14
|
+
import * as tr from "@radix-ui/react-toggle";
|
|
15
|
+
import { e as rr, f as pn, g as hn, h as un, i as nr, j as Fe, k as _t } from "../shared/assets-icons-0.js";
|
|
16
|
+
import { useMask as or, format as pt } from "@react-input/mask";
|
|
17
|
+
import { format as Q, addMonths as fn, parse as yt, isValid as We, parseISO as bn } from "date-fns";
|
|
18
|
+
import { ru as ht } from "date-fns/locale";
|
|
19
19
|
import { DayPicker as xn } from "react-day-picker";
|
|
20
|
-
import
|
|
20
|
+
import ot from "echarts-for-react/lib/core";
|
|
21
21
|
import { colorTokens as Ne } from "../tokens/index.js";
|
|
22
|
-
import * as
|
|
22
|
+
import * as it from "echarts/core";
|
|
23
23
|
const jo = ({
|
|
24
24
|
isOpen: t,
|
|
25
25
|
children: i,
|
|
@@ -31,7 +31,7 @@ const jo = ({
|
|
|
31
31
|
classNames: a,
|
|
32
32
|
onClick: f
|
|
33
33
|
}) => {
|
|
34
|
-
const h = se.root, u = se.header, b = se.icon, x = se.content, s = se.titlesWrapper,
|
|
34
|
+
const h = se.root, u = se.header, b = se.icon, x = se.content, s = se.titlesWrapper, y = se.title, w = se.subtitle;
|
|
35
35
|
return /* @__PURE__ */ p("div", { className: o(h, a == null ? void 0 : a.root), children: [
|
|
36
36
|
/* @__PURE__ */ p(
|
|
37
37
|
"button",
|
|
@@ -62,7 +62,7 @@ const jo = ({
|
|
|
62
62
|
"span",
|
|
63
63
|
{
|
|
64
64
|
className: o(
|
|
65
|
-
|
|
65
|
+
y,
|
|
66
66
|
r && "text-dark-30/25",
|
|
67
67
|
a == null ? void 0 : a.title
|
|
68
68
|
),
|
|
@@ -74,7 +74,7 @@ const jo = ({
|
|
|
74
74
|
"span",
|
|
75
75
|
{
|
|
76
76
|
className: o(
|
|
77
|
-
|
|
77
|
+
w,
|
|
78
78
|
r && "text-dark-30/25",
|
|
79
79
|
a == null ? void 0 : a.subtitle
|
|
80
80
|
),
|
|
@@ -109,7 +109,7 @@ const jo = ({
|
|
|
109
109
|
t ? x.opened : x.closed,
|
|
110
110
|
a == null ? void 0 : a.content
|
|
111
111
|
),
|
|
112
|
-
onClick: (
|
|
112
|
+
onClick: (v) => v.stopPropagation(),
|
|
113
113
|
children: i
|
|
114
114
|
}
|
|
115
115
|
)
|
|
@@ -132,7 +132,7 @@ const jo = ({
|
|
|
132
132
|
titlesWrapper: "flex flex-col items-start gap-1",
|
|
133
133
|
title: "text-sidebar-30 text-xs font-sans font-semibold leading-none",
|
|
134
134
|
subtitle: "text-gray-20 text-[11px] font-sans font-medium leading-none"
|
|
135
|
-
},
|
|
135
|
+
}, ir = ({
|
|
136
136
|
id: t,
|
|
137
137
|
label: i,
|
|
138
138
|
labelPosition: d = "right",
|
|
@@ -152,7 +152,7 @@ const jo = ({
|
|
|
152
152
|
),
|
|
153
153
|
children: [
|
|
154
154
|
/* @__PURE__ */ e(
|
|
155
|
-
|
|
155
|
+
wt,
|
|
156
156
|
{
|
|
157
157
|
id: t,
|
|
158
158
|
checked: l,
|
|
@@ -207,29 +207,29 @@ function Io({
|
|
|
207
207
|
isCheckboxVisible: a = !0,
|
|
208
208
|
isLoading: f = !1
|
|
209
209
|
}) {
|
|
210
|
-
const h =
|
|
210
|
+
const h = Or({
|
|
211
211
|
columns: i,
|
|
212
212
|
data: d,
|
|
213
|
-
getCoreRowModel:
|
|
213
|
+
getCoreRowModel: Ar(),
|
|
214
214
|
manualSorting: !0
|
|
215
|
-
}), u = ue(null), b = (
|
|
216
|
-
const
|
|
217
|
-
c == null || c({ key:
|
|
215
|
+
}), u = ue(null), b = (w) => {
|
|
216
|
+
const v = l == null ? void 0 : l.find((B) => B.id === w), S = v != null && v.desc ? "asc" : "desc";
|
|
217
|
+
c == null || c({ key: w, order: S });
|
|
218
218
|
}, x = h.getFooterGroups().some(
|
|
219
|
-
(
|
|
220
|
-
), s = (
|
|
221
|
-
n != null && n.includes(
|
|
222
|
-
},
|
|
223
|
-
const
|
|
219
|
+
(w) => w.headers.some((v) => v.column.columnDef.footer)
|
|
220
|
+
), s = (w) => {
|
|
221
|
+
n != null && n.includes(w) ? r(n.filter((v) => v !== w)) : r([...n, w]);
|
|
222
|
+
}, y = () => {
|
|
223
|
+
const w = h.getCoreRowModel().rows.map((v) => {
|
|
224
224
|
var S;
|
|
225
|
-
return (S =
|
|
225
|
+
return (S = v.original) == null ? void 0 : S.id;
|
|
226
226
|
});
|
|
227
|
-
(n == null ? void 0 : n.length) ===
|
|
227
|
+
(n == null ? void 0 : n.length) === w.length ? r([]) : r(w);
|
|
228
228
|
};
|
|
229
229
|
return /* @__PURE__ */ p("div", { className: o(V.root, t == null ? void 0 : t.root), children: [
|
|
230
230
|
f && /* @__PURE__ */ e(Et, {}),
|
|
231
231
|
!f && !d.length && /* @__PURE__ */ p("div", { className: V.info, children: [
|
|
232
|
-
/* @__PURE__ */ e(
|
|
232
|
+
/* @__PURE__ */ e($r, { className: "fill-dark-30/50" }),
|
|
233
233
|
/* @__PURE__ */ e(k, { className: V.infoText, children: "Нет данных" })
|
|
234
234
|
] }),
|
|
235
235
|
/* @__PURE__ */ e(
|
|
@@ -238,8 +238,8 @@ function Io({
|
|
|
238
238
|
className: o(V.wrapper, t == null ? void 0 : t.wrapper),
|
|
239
239
|
ref: u,
|
|
240
240
|
children: /* @__PURE__ */ p("table", { className: V.table, children: [
|
|
241
|
-
/* @__PURE__ */ e("thead", { className: V.tableHeader, children: h.getHeaderGroups().map((
|
|
242
|
-
var
|
|
241
|
+
/* @__PURE__ */ e("thead", { className: V.tableHeader, children: h.getHeaderGroups().map((w) => {
|
|
242
|
+
var v, S;
|
|
243
243
|
return /* @__PURE__ */ p("tr", { children: [
|
|
244
244
|
a && /* @__PURE__ */ e(
|
|
245
245
|
"th",
|
|
@@ -249,16 +249,16 @@ function Io({
|
|
|
249
249
|
t == null ? void 0 : t.firstHeaderCell
|
|
250
250
|
),
|
|
251
251
|
children: /* @__PURE__ */ e(
|
|
252
|
-
|
|
252
|
+
wt,
|
|
253
253
|
{
|
|
254
254
|
id: "selectAll",
|
|
255
|
-
checked: (n == null ? void 0 : n.length) === ((S = (
|
|
256
|
-
onChange:
|
|
255
|
+
checked: (n == null ? void 0 : n.length) === ((S = (v = h == null ? void 0 : h.getCoreRowModel()) == null ? void 0 : v.rows) == null ? void 0 : S.length),
|
|
256
|
+
onChange: y
|
|
257
257
|
}
|
|
258
258
|
)
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
|
-
|
|
261
|
+
w.headers.map((B, j) => {
|
|
262
262
|
var g;
|
|
263
263
|
const m = B.column.columnDef.meta;
|
|
264
264
|
return /* @__PURE__ */ e(
|
|
@@ -268,17 +268,17 @@ function Io({
|
|
|
268
268
|
className: o(
|
|
269
269
|
V.headerCell,
|
|
270
270
|
m == null ? void 0 : m.headerClass,
|
|
271
|
-
B.index ===
|
|
271
|
+
B.index === w.headers.length - 1 && "rounded-r-[10px]",
|
|
272
272
|
!a && j === 0 && V.firstHeaderCell
|
|
273
273
|
),
|
|
274
274
|
onClick: () => (m == null ? void 0 : m.isSortable) && b(B.column.id),
|
|
275
275
|
children: /* @__PURE__ */ p("div", { className: V.headerText, children: [
|
|
276
|
-
|
|
276
|
+
ct(
|
|
277
277
|
B.column.columnDef.header,
|
|
278
278
|
B.getContext()
|
|
279
279
|
),
|
|
280
280
|
(m == null ? void 0 : m.isSortable) && /* @__PURE__ */ e(
|
|
281
|
-
|
|
281
|
+
vr,
|
|
282
282
|
{
|
|
283
283
|
className: o(
|
|
284
284
|
V.sortIcon,
|
|
@@ -291,17 +291,17 @@ function Io({
|
|
|
291
291
|
B.id
|
|
292
292
|
);
|
|
293
293
|
})
|
|
294
|
-
] },
|
|
294
|
+
] }, w.id);
|
|
295
295
|
}) }),
|
|
296
|
-
/* @__PURE__ */ e("tbody", { children: h.getRowModel().rows.map((
|
|
296
|
+
/* @__PURE__ */ e("tbody", { children: h.getRowModel().rows.map((w) => {
|
|
297
297
|
var S;
|
|
298
|
-
const
|
|
298
|
+
const v = (S = w.original) == null ? void 0 : S.id;
|
|
299
299
|
return /* @__PURE__ */ p(
|
|
300
300
|
"tr",
|
|
301
301
|
{
|
|
302
302
|
className: o(
|
|
303
303
|
V.row,
|
|
304
|
-
(n == null ? void 0 : n.includes(
|
|
304
|
+
(n == null ? void 0 : n.includes(v)) && "bg-gray-50"
|
|
305
305
|
),
|
|
306
306
|
children: [
|
|
307
307
|
a && /* @__PURE__ */ e(
|
|
@@ -312,28 +312,28 @@ function Io({
|
|
|
312
312
|
t == null ? void 0 : t.firstBodyCell
|
|
313
313
|
),
|
|
314
314
|
children: /* @__PURE__ */ e(
|
|
315
|
-
|
|
315
|
+
wt,
|
|
316
316
|
{
|
|
317
|
-
id:
|
|
318
|
-
checked: n == null ? void 0 : n.includes(
|
|
319
|
-
onChange: () => s(
|
|
317
|
+
id: w.id,
|
|
318
|
+
checked: n == null ? void 0 : n.includes(v),
|
|
319
|
+
onChange: () => s(v)
|
|
320
320
|
}
|
|
321
321
|
)
|
|
322
322
|
}
|
|
323
323
|
),
|
|
324
|
-
|
|
324
|
+
w.getVisibleCells().map((B, j, m) => {
|
|
325
325
|
const g = B.column.columnDef.meta;
|
|
326
326
|
return /* @__PURE__ */ e(
|
|
327
327
|
"td",
|
|
328
328
|
{
|
|
329
329
|
className: o(
|
|
330
330
|
V.bodyCell,
|
|
331
|
-
(n == null ? void 0 : n.includes(
|
|
331
|
+
(n == null ? void 0 : n.includes(w.id)) && "font-bold",
|
|
332
332
|
j === m.length - 1 && "rounded-r-[10px]",
|
|
333
333
|
!a && j === 0 && "px-8",
|
|
334
334
|
g == null ? void 0 : g.cellClass
|
|
335
335
|
),
|
|
336
|
-
children:
|
|
336
|
+
children: ct(
|
|
337
337
|
B.column.columnDef.cell,
|
|
338
338
|
B.getContext()
|
|
339
339
|
)
|
|
@@ -343,13 +343,13 @@ function Io({
|
|
|
343
343
|
})
|
|
344
344
|
]
|
|
345
345
|
},
|
|
346
|
-
|
|
346
|
+
w.id
|
|
347
347
|
);
|
|
348
348
|
}) }),
|
|
349
|
-
x && /* @__PURE__ */ e("tfoot", { children: h.getFooterGroups().filter((
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
) },
|
|
349
|
+
x && /* @__PURE__ */ e("tfoot", { children: h.getFooterGroups().filter((w) => w.depth === 0).map((w) => /* @__PURE__ */ e("tr", { children: w.headers.map((v) => /* @__PURE__ */ e("td", { className: o(V.footerCell), children: ct(
|
|
350
|
+
v.column.columnDef.footer,
|
|
351
|
+
v.getContext()
|
|
352
|
+
) }, v.id)) }, w.id)) })
|
|
353
353
|
] })
|
|
354
354
|
}
|
|
355
355
|
)
|
|
@@ -419,7 +419,7 @@ const wn = ({
|
|
|
419
419
|
isLast: i,
|
|
420
420
|
label: d,
|
|
421
421
|
disabled: n
|
|
422
|
-
}) => /* @__PURE__ */ p(
|
|
422
|
+
}) => /* @__PURE__ */ p(vt, { children: [
|
|
423
423
|
/* @__PURE__ */ e(vn, { children: /* @__PURE__ */ e(
|
|
424
424
|
mn,
|
|
425
425
|
{
|
|
@@ -497,23 +497,23 @@ const wn = ({
|
|
|
497
497
|
setSelectedItems: a,
|
|
498
498
|
classNames: f
|
|
499
499
|
}, h) => {
|
|
500
|
-
const [u, b] = F(""), [x, s] = F(!1),
|
|
501
|
-
|
|
500
|
+
const [u, b] = F(""), [x, s] = F(!1), y = ue(null), w = ue(null);
|
|
501
|
+
xr(h, () => ({
|
|
502
502
|
open: () => s(!0),
|
|
503
503
|
close: () => s(!1),
|
|
504
504
|
toggle: () => s((g) => !g),
|
|
505
505
|
focus: () => {
|
|
506
506
|
var g;
|
|
507
|
-
return (g =
|
|
507
|
+
return (g = y.current) == null ? void 0 : g.focus();
|
|
508
508
|
}
|
|
509
509
|
}), []);
|
|
510
|
-
const
|
|
510
|
+
const v = (g) => {
|
|
511
511
|
var I;
|
|
512
512
|
const C = i.find((T) => T.id === g);
|
|
513
|
-
C && (a((T) => T.some((R) => R.id === g) ? T : [...T, C]), b("")), (I =
|
|
513
|
+
C && (a((T) => T.some((R) => R.id === g) ? T : [...T, C]), b("")), (I = y.current) == null || I.focus();
|
|
514
514
|
}, S = (g, C) => {
|
|
515
515
|
var I;
|
|
516
|
-
C.stopPropagation(), a(c.filter((T) => T.id !== g)), (I =
|
|
516
|
+
C.stopPropagation(), a(c.filter((T) => T.id !== g)), (I = y.current) == null || I.focus();
|
|
517
517
|
}, B = (g) => {
|
|
518
518
|
b(g.target.value.toLowerCase());
|
|
519
519
|
}, j = () => {
|
|
@@ -528,7 +528,7 @@ const wn = ({
|
|
|
528
528
|
};
|
|
529
529
|
i.push(I), b("");
|
|
530
530
|
}
|
|
531
|
-
(C =
|
|
531
|
+
(C = y.current) == null || C.focus();
|
|
532
532
|
}, m = i.filter(
|
|
533
533
|
(g) => g.label.toLowerCase().includes(u)
|
|
534
534
|
);
|
|
@@ -543,7 +543,7 @@ const wn = ({
|
|
|
543
543
|
open: x,
|
|
544
544
|
onOpenChange: () => {
|
|
545
545
|
var g;
|
|
546
|
-
n || ((g =
|
|
546
|
+
n || ((g = y.current) == null || g.focus(), s(!x));
|
|
547
547
|
},
|
|
548
548
|
children: [
|
|
549
549
|
/* @__PURE__ */ e(
|
|
@@ -616,10 +616,10 @@ const wn = ({
|
|
|
616
616
|
] })
|
|
617
617
|
}
|
|
618
618
|
),
|
|
619
|
-
/* @__PURE__ */ e("div", { ref:
|
|
619
|
+
/* @__PURE__ */ e("div", { ref: w, children: /* @__PURE__ */ p(
|
|
620
620
|
le,
|
|
621
621
|
{
|
|
622
|
-
container:
|
|
622
|
+
container: w.current,
|
|
623
623
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
624
624
|
className: o(A.options),
|
|
625
625
|
children: [
|
|
@@ -628,7 +628,7 @@ const wn = ({
|
|
|
628
628
|
/* @__PURE__ */ e(
|
|
629
629
|
"input",
|
|
630
630
|
{
|
|
631
|
-
ref:
|
|
631
|
+
ref: y,
|
|
632
632
|
onChange: B,
|
|
633
633
|
value: u,
|
|
634
634
|
autoFocus: !0,
|
|
@@ -637,7 +637,7 @@ const wn = ({
|
|
|
637
637
|
}
|
|
638
638
|
),
|
|
639
639
|
/* @__PURE__ */ e(
|
|
640
|
-
|
|
640
|
+
mr,
|
|
641
641
|
{
|
|
642
642
|
width: 20,
|
|
643
643
|
height: 20,
|
|
@@ -648,12 +648,12 @@ const wn = ({
|
|
|
648
648
|
)
|
|
649
649
|
] }),
|
|
650
650
|
m.length > 0 ? m.map((g, C, I) => /* @__PURE__ */ e(
|
|
651
|
-
|
|
651
|
+
ir,
|
|
652
652
|
{
|
|
653
653
|
id: g.id.toString(),
|
|
654
654
|
"data-testid": "menuitemcheckbox",
|
|
655
655
|
checked: c.some((T) => T.id === g.id),
|
|
656
|
-
onChange: () =>
|
|
656
|
+
onChange: () => v(g.id),
|
|
657
657
|
className: o(
|
|
658
658
|
A.option,
|
|
659
659
|
I.length - 1 !== C && "mb-2.5"
|
|
@@ -743,34 +743,34 @@ const wn = ({
|
|
|
743
743
|
isSearchIcon: b = !0,
|
|
744
744
|
isSearchResultDisabled: x = !0,
|
|
745
745
|
classNames: s,
|
|
746
|
-
...
|
|
747
|
-
},
|
|
748
|
-
const [
|
|
746
|
+
...y
|
|
747
|
+
}, w) => {
|
|
748
|
+
const [v, S] = F(r ?? []), [B, j] = F(l ?? []), [m, g] = F(!1), [C, I] = F(!1), T = cn(t, a);
|
|
749
749
|
_e(() => {
|
|
750
750
|
g(!!T), f == null || f(T);
|
|
751
751
|
}, [T, f]);
|
|
752
|
-
const W = ee.base, R = ee.hover, U = ee.focus, { focusWithin: Ce } = ee,
|
|
753
|
-
const fe = (
|
|
754
|
-
(
|
|
755
|
-
),
|
|
756
|
-
S(
|
|
757
|
-
},
|
|
752
|
+
const W = ee.base, R = ee.hover, U = ee.focus, { focusWithin: Ce } = ee, dt = ee.disabled, xe = ee.input, M = ee.button, q = ee.filterIcon, re = ee.dropdown, J = ee.popover, Wt = ee.emptyPopover, pr = (ce, ge, Oe) => {
|
|
753
|
+
const fe = (br = []) => br.map(
|
|
754
|
+
(lt) => lt.id === ge.id && ge.label === ge.label ? { ...lt, checked: Oe } : lt
|
|
755
|
+
), at = ce === "status" ? fe(v) : v, fr = ce === "module" ? fe(B) : B;
|
|
756
|
+
S(at), j(fr);
|
|
757
|
+
}, hr = () => {
|
|
758
758
|
c && c({
|
|
759
|
-
status:
|
|
759
|
+
status: v,
|
|
760
760
|
module: B
|
|
761
761
|
}), I(!1);
|
|
762
|
-
},
|
|
762
|
+
}, ur = (ce) => {
|
|
763
763
|
u == null || u(ce), g(!1);
|
|
764
|
-
}, Mt = ({ type: ce, title: ge, items: Oe }) => /* @__PURE__ */ p(
|
|
764
|
+
}, Mt = ({ type: ce, title: ge, items: Oe }) => /* @__PURE__ */ p(gr, { children: [
|
|
765
765
|
/* @__PURE__ */ e(k, { className: re.typeFilter, children: ge }),
|
|
766
766
|
Oe == null ? void 0 : Oe.map((fe) => /* @__PURE__ */ e(
|
|
767
|
-
|
|
767
|
+
ir,
|
|
768
768
|
{
|
|
769
769
|
id: fe.id,
|
|
770
770
|
label: fe.label,
|
|
771
771
|
checked: fe.checked,
|
|
772
772
|
className: "mt-2.5",
|
|
773
|
-
onChange: (
|
|
773
|
+
onChange: (at) => pr(ce, fe, at.target.checked)
|
|
774
774
|
},
|
|
775
775
|
fe.id
|
|
776
776
|
))
|
|
@@ -783,12 +783,12 @@ const wn = ({
|
|
|
783
783
|
!d && Ce,
|
|
784
784
|
(C || m) && !d && U,
|
|
785
785
|
!(C || m) && !d && R,
|
|
786
|
-
d &&
|
|
786
|
+
d && dt,
|
|
787
787
|
s == null ? void 0 : s.base
|
|
788
788
|
),
|
|
789
789
|
children: [
|
|
790
|
-
/* @__PURE__ */ p(
|
|
791
|
-
/* @__PURE__ */ e(
|
|
790
|
+
/* @__PURE__ */ p(tt, { open: C, onOpenChange: I, children: [
|
|
791
|
+
/* @__PURE__ */ e(rt, { asChild: !0, disabled: d, children: n && /* @__PURE__ */ e(
|
|
792
792
|
"button",
|
|
793
793
|
{
|
|
794
794
|
role: "button",
|
|
@@ -812,7 +812,7 @@ const wn = ({
|
|
|
812
812
|
}
|
|
813
813
|
) }),
|
|
814
814
|
/* @__PURE__ */ p(
|
|
815
|
-
|
|
815
|
+
nt,
|
|
816
816
|
{
|
|
817
817
|
className: o(re.content, s == null ? void 0 : s.dropdown),
|
|
818
818
|
align: "start",
|
|
@@ -822,7 +822,7 @@ const wn = ({
|
|
|
822
822
|
children: [
|
|
823
823
|
/* @__PURE__ */ p("div", { className: re.wrapperByStatus, children: [
|
|
824
824
|
/* @__PURE__ */ e(k, { className: re.title, children: "Поиск по фильтру" }),
|
|
825
|
-
/* @__PURE__ */ e(Mt, { type: "status", title: "Статус", items:
|
|
825
|
+
/* @__PURE__ */ e(Mt, { type: "status", title: "Статус", items: v })
|
|
826
826
|
] }),
|
|
827
827
|
/* @__PURE__ */ e("div", { className: re.wrapperByModule, children: /* @__PURE__ */ e(Mt, { type: "module", title: "Модуль", items: B }) }),
|
|
828
828
|
/* @__PURE__ */ p("div", { className: M.parent, children: [
|
|
@@ -838,7 +838,7 @@ const wn = ({
|
|
|
838
838
|
/* @__PURE__ */ e(
|
|
839
839
|
_,
|
|
840
840
|
{
|
|
841
|
-
onClick:
|
|
841
|
+
onClick: hr,
|
|
842
842
|
className: o(M.base, M.save),
|
|
843
843
|
children: "Сохранить"
|
|
844
844
|
}
|
|
@@ -854,14 +854,14 @@ const wn = ({
|
|
|
854
854
|
"input",
|
|
855
855
|
{
|
|
856
856
|
role: "searchbox",
|
|
857
|
-
ref:
|
|
857
|
+
ref: w,
|
|
858
858
|
value: t,
|
|
859
859
|
type: "text",
|
|
860
860
|
placeholder: "Поиск",
|
|
861
861
|
onChange: i,
|
|
862
862
|
className: o(xe.base, s == null ? void 0 : s.input),
|
|
863
863
|
disabled: d,
|
|
864
|
-
...
|
|
864
|
+
...y
|
|
865
865
|
}
|
|
866
866
|
),
|
|
867
867
|
b && /* @__PURE__ */ e(
|
|
@@ -898,7 +898,7 @@ const wn = ({
|
|
|
898
898
|
children: h == null ? void 0 : h.map((ce, ge) => /* @__PURE__ */ e(
|
|
899
899
|
k,
|
|
900
900
|
{
|
|
901
|
-
onClick: () =>
|
|
901
|
+
onClick: () => ur(ce),
|
|
902
902
|
className: J.item,
|
|
903
903
|
children: ce
|
|
904
904
|
},
|
|
@@ -1014,10 +1014,10 @@ const wn = ({
|
|
|
1014
1014
|
jobTitle: "text-xs text-dark-40/50 font-medium",
|
|
1015
1015
|
subText: "text-xs text-dark-40/50 font-normal"
|
|
1016
1016
|
}, Tn = ({ file: t, onClick: i }) => /* @__PURE__ */ p("li", { className: "flex items-center bg-white px-2 py-1.5 border border-dark-30/[.15] rounded-lg w-[112px] justify-between", children: [
|
|
1017
|
-
/* @__PURE__ */ e(
|
|
1017
|
+
/* @__PURE__ */ e(wr, { width: 17, height: 22, viewBox: "0 0 17 22" }),
|
|
1018
1018
|
/* @__PURE__ */ p("div", { className: "flex flex-col gap-y-1 justify-start ml-1", children: [
|
|
1019
1019
|
/* @__PURE__ */ e("span", { className: "text-xs text-dark-30 font-medium leading-none truncate max-w-10", children: t.name }),
|
|
1020
|
-
/* @__PURE__ */ e("span", { className: "text-start text-xs font-medium text-gray-30 leading-none", children:
|
|
1020
|
+
/* @__PURE__ */ e("span", { className: "text-start text-xs font-medium text-gray-30 leading-none", children: kt(t.size) })
|
|
1021
1021
|
] }),
|
|
1022
1022
|
/* @__PURE__ */ e(
|
|
1023
1023
|
Ye,
|
|
@@ -1029,7 +1029,7 @@ const wn = ({
|
|
|
1029
1029
|
viewBox: "0 0 20 20"
|
|
1030
1030
|
}
|
|
1031
1031
|
)
|
|
1032
|
-
] }), { Root: Sn } =
|
|
1032
|
+
] }), { Root: Sn } = tr, Fo = $.forwardRef(
|
|
1033
1033
|
({
|
|
1034
1034
|
id: t,
|
|
1035
1035
|
files: i = [],
|
|
@@ -1043,13 +1043,13 @@ const wn = ({
|
|
|
1043
1043
|
disabled: h = !1,
|
|
1044
1044
|
...u
|
|
1045
1045
|
}, b) => {
|
|
1046
|
-
const [x, s] = $.useState(!1),
|
|
1046
|
+
const [x, s] = $.useState(!1), y = $.useRef(null), w = ve.root, v = ve.input, S = ve.icon, B = ve.placeholder, j = ve.list, m = ve.status, g = () => {
|
|
1047
1047
|
var I;
|
|
1048
|
-
h || (s(!0), (I =
|
|
1048
|
+
h || (s(!0), (I = y.current) == null || I.click());
|
|
1049
1049
|
}, C = () => {
|
|
1050
1050
|
s(!1);
|
|
1051
1051
|
};
|
|
1052
|
-
return /* @__PURE__ */ p("div", { className: o(
|
|
1052
|
+
return /* @__PURE__ */ p("div", { className: o(w, a == null ? void 0 : a.root), children: [
|
|
1053
1053
|
/* @__PURE__ */ p("div", { className: ve.label.wrapper, children: [
|
|
1054
1054
|
!!d && /* @__PURE__ */ e(
|
|
1055
1055
|
P,
|
|
@@ -1071,9 +1071,9 @@ const wn = ({
|
|
|
1071
1071
|
onPressedChange: s,
|
|
1072
1072
|
onBlur: C,
|
|
1073
1073
|
className: o(
|
|
1074
|
-
|
|
1075
|
-
!h &&
|
|
1076
|
-
!h &&
|
|
1074
|
+
v.base,
|
|
1075
|
+
!h && v.pressed,
|
|
1076
|
+
!h && v.hover,
|
|
1077
1077
|
!h && !!f && m.danger,
|
|
1078
1078
|
a == null ? void 0 : a.input,
|
|
1079
1079
|
{
|
|
@@ -1084,7 +1084,7 @@ const wn = ({
|
|
|
1084
1084
|
/* @__PURE__ */ e(
|
|
1085
1085
|
"input",
|
|
1086
1086
|
{
|
|
1087
|
-
ref:
|
|
1087
|
+
ref: y,
|
|
1088
1088
|
id: "file-upload",
|
|
1089
1089
|
role: "file-input",
|
|
1090
1090
|
type: "file",
|
|
@@ -1106,7 +1106,7 @@ const wn = ({
|
|
|
1106
1106
|
I.id
|
|
1107
1107
|
)) }) : /* @__PURE__ */ p($.Fragment, { children: [
|
|
1108
1108
|
/* @__PURE__ */ e(
|
|
1109
|
-
|
|
1109
|
+
yr,
|
|
1110
1110
|
{
|
|
1111
1111
|
"data-testid": "file-upload-icon",
|
|
1112
1112
|
width: 16,
|
|
@@ -1159,7 +1159,7 @@ const wn = ({
|
|
|
1159
1159
|
}
|
|
1160
1160
|
)),
|
|
1161
1161
|
t.map(
|
|
1162
|
-
({ id: a, avatarSrc: f, fullName: h, role: u, comment: b, date: x, time: s, stars:
|
|
1162
|
+
({ id: a, avatarSrc: f, fullName: h, role: u, comment: b, date: x, time: s, stars: y = 0 }) => /* @__PURE__ */ p("div", { className: z.wrapper, children: [
|
|
1163
1163
|
/* @__PURE__ */ e(
|
|
1164
1164
|
jt,
|
|
1165
1165
|
{
|
|
@@ -1198,9 +1198,9 @@ const wn = ({
|
|
|
1198
1198
|
),
|
|
1199
1199
|
children: [
|
|
1200
1200
|
c && /* @__PURE__ */ e(
|
|
1201
|
-
|
|
1201
|
+
lr,
|
|
1202
1202
|
{
|
|
1203
|
-
rating:
|
|
1203
|
+
rating: y,
|
|
1204
1204
|
classNames: {
|
|
1205
1205
|
root: "gap-2.5",
|
|
1206
1206
|
rating: "text-sm font-semibold"
|
|
@@ -1214,7 +1214,7 @@ const wn = ({
|
|
|
1214
1214
|
s
|
|
1215
1215
|
] }),
|
|
1216
1216
|
l && /* @__PURE__ */ e(
|
|
1217
|
-
|
|
1217
|
+
Ct,
|
|
1218
1218
|
{
|
|
1219
1219
|
icon: Gr,
|
|
1220
1220
|
shape: "circle",
|
|
@@ -1274,7 +1274,7 @@ const wn = ({
|
|
|
1274
1274
|
button: "border-none shadow-none p-0 absolute right-3 bottom-1.5",
|
|
1275
1275
|
icon: "fill-sidebar-50/50"
|
|
1276
1276
|
}
|
|
1277
|
-
},
|
|
1277
|
+
}, ut = (t) => {
|
|
1278
1278
|
const i = t.getDate().toString().padStart(2, "0"), d = (t.getMonth() + 1).toString().padStart(2, "0"), n = t.getFullYear();
|
|
1279
1279
|
return `${i}/${d}/${n}`;
|
|
1280
1280
|
}, Bn = (t) => {
|
|
@@ -1355,14 +1355,14 @@ const wn = ({
|
|
|
1355
1355
|
const [a, f] = F(!1), [h, u] = F(
|
|
1356
1356
|
t ? new Date(t) : /* @__PURE__ */ new Date()
|
|
1357
1357
|
), [b, x] = F(
|
|
1358
|
-
t ?
|
|
1358
|
+
t ? ut(new Date(t)) : ""
|
|
1359
1359
|
);
|
|
1360
1360
|
_e(() => {
|
|
1361
|
-
t ? (x(
|
|
1361
|
+
t ? (x(ut(new Date(t))), u(new Date(t))) : x("");
|
|
1362
1362
|
}, [t]);
|
|
1363
|
-
const s = ue(null),
|
|
1364
|
-
i(g.toISOString()), x(
|
|
1365
|
-
},
|
|
1363
|
+
const s = ue(null), y = ue(null), w = (g) => {
|
|
1364
|
+
i(g.toISOString()), x(ut(g)), f(!1);
|
|
1365
|
+
}, v = (g) => {
|
|
1366
1366
|
let C = g.target.value.replace(/\D/g, "");
|
|
1367
1367
|
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)), x(C), !C || C.trim() === "") {
|
|
1368
1368
|
i(void 0);
|
|
@@ -1414,7 +1414,7 @@ const wn = ({
|
|
|
1414
1414
|
{
|
|
1415
1415
|
type: "text",
|
|
1416
1416
|
value: b,
|
|
1417
|
-
onChange:
|
|
1417
|
+
onChange: v,
|
|
1418
1418
|
placeholder: "__ / __ / ____",
|
|
1419
1419
|
disabled: n,
|
|
1420
1420
|
className: o(
|
|
@@ -1443,7 +1443,7 @@ const wn = ({
|
|
|
1443
1443
|
n && D.calendarButton.disabled
|
|
1444
1444
|
),
|
|
1445
1445
|
children: /* @__PURE__ */ e(
|
|
1446
|
-
|
|
1446
|
+
Nt,
|
|
1447
1447
|
{
|
|
1448
1448
|
width: 18,
|
|
1449
1449
|
height: 18,
|
|
@@ -1462,12 +1462,12 @@ const wn = ({
|
|
|
1462
1462
|
] })
|
|
1463
1463
|
}
|
|
1464
1464
|
),
|
|
1465
|
-
/* @__PURE__ */ e("div", { ref:
|
|
1465
|
+
/* @__PURE__ */ e("div", { ref: y, className: "relative z-50", children: /* @__PURE__ */ e(
|
|
1466
1466
|
le,
|
|
1467
1467
|
{
|
|
1468
1468
|
role: "dialog",
|
|
1469
1469
|
ref: s,
|
|
1470
|
-
container:
|
|
1470
|
+
container: y.current,
|
|
1471
1471
|
className: D.popoverWrapper,
|
|
1472
1472
|
children: /* @__PURE__ */ p("div", { children: [
|
|
1473
1473
|
/* @__PURE__ */ p("div", { className: D.navigation, children: [
|
|
@@ -1536,7 +1536,7 @@ const wn = ({
|
|
|
1536
1536
|
)
|
|
1537
1537
|
] }),
|
|
1538
1538
|
/* @__PURE__ */ e("div", { className: D.weekHeader, children: _n.map((g) => /* @__PURE__ */ e("div", { className: D.weekDay, children: g }, g)) }),
|
|
1539
|
-
/* @__PURE__ */ e("div", { className: D.calendar, children: An(
|
|
1539
|
+
/* @__PURE__ */ e("div", { className: D.calendar, children: An(w, c, h, t) }),
|
|
1540
1540
|
/* @__PURE__ */ e("div", { className: D.resetButtonWrapper, children: /* @__PURE__ */ e("button", { onClick: m, className: D.resetButton, children: "Сбросить" }) })
|
|
1541
1541
|
] })
|
|
1542
1542
|
}
|
|
@@ -1613,16 +1613,16 @@ const wn = ({
|
|
|
1613
1613
|
disabled: r = !1,
|
|
1614
1614
|
classNames: l
|
|
1615
1615
|
}) => {
|
|
1616
|
-
const c = $.useId(), [a, f] = $.useState(/* @__PURE__ */ new Date()), [h, u] = $.useState(""), [b, x] = $.useState(!1), s =
|
|
1616
|
+
const c = $.useId(), [a, f] = $.useState(/* @__PURE__ */ new Date()), [h, u] = $.useState(""), [b, x] = $.useState(!1), s = or({
|
|
1617
1617
|
mask: "__/__/____ - __/__/____",
|
|
1618
1618
|
replacement: { _: /\d/ }
|
|
1619
|
-
}),
|
|
1619
|
+
}), y = $.useRef(null), w = $.useRef(!1);
|
|
1620
1620
|
$.useEffect(() => {
|
|
1621
|
-
if (
|
|
1621
|
+
if (w.current || !t || !(t.to && t.from)) return;
|
|
1622
1622
|
const m = t.from ? Q(new Date(t.from), K) : "", g = t.to ? Q(new Date(t.to), K) : "";
|
|
1623
1623
|
u(g ? `${m} - ${g}` : `${m} - `);
|
|
1624
1624
|
}, [t]);
|
|
1625
|
-
const
|
|
1625
|
+
const v = Rn.base, S = (m) => {
|
|
1626
1626
|
if (!m)
|
|
1627
1627
|
u(""), i(void 0);
|
|
1628
1628
|
else if (m.from && !m.to)
|
|
@@ -1638,15 +1638,15 @@ const wn = ({
|
|
|
1638
1638
|
Q(new Date(m.from), K) + " - " + Q(new Date(m.to), K)
|
|
1639
1639
|
);
|
|
1640
1640
|
}, B = (m) => {
|
|
1641
|
-
|
|
1641
|
+
w.current = !0;
|
|
1642
1642
|
const { value: g } = m.target, [C, I] = g.split("-").map((R) => R.trim());
|
|
1643
1643
|
u(g);
|
|
1644
|
-
const T =
|
|
1644
|
+
const T = yt(C, K, /* @__PURE__ */ new Date()), W = I ? yt(I, K, /* @__PURE__ */ new Date()) : /* @__PURE__ */ new Date();
|
|
1645
1645
|
We(T) && We(W) ? i({ from: T, to: W }) : We(T) && !We(W) ? i({ from: T, to: void 0 }) : i({ from: void 0, to: void 0 });
|
|
1646
1646
|
}, j = () => {
|
|
1647
1647
|
u(""), i(void 0), f(/* @__PURE__ */ new Date());
|
|
1648
1648
|
};
|
|
1649
|
-
return /* @__PURE__ */ e("div", { className: o(
|
|
1649
|
+
return /* @__PURE__ */ e("div", { className: o(v.wrapper, l == null ? void 0 : l.wrapper), children: /* @__PURE__ */ p(de, { open: b, onOpenChange: x, children: [
|
|
1650
1650
|
/* @__PURE__ */ e(ae, { asChild: !0, role: "trigger", className: l == null ? void 0 : l.trigger, children: /* @__PURE__ */ e(
|
|
1651
1651
|
It,
|
|
1652
1652
|
{
|
|
@@ -1661,11 +1661,11 @@ const wn = ({
|
|
|
1661
1661
|
placeholder: "dd/mm/yyyy - dd/mm/yyyy",
|
|
1662
1662
|
status: n,
|
|
1663
1663
|
classNames: {
|
|
1664
|
-
target: o(
|
|
1664
|
+
target: o(v.input, l == null ? void 0 : l.input)
|
|
1665
1665
|
},
|
|
1666
1666
|
disabled: r
|
|
1667
1667
|
},
|
|
1668
|
-
icon:
|
|
1668
|
+
icon: Nt,
|
|
1669
1669
|
onIconClick: () => x(!0),
|
|
1670
1670
|
iconProps: {
|
|
1671
1671
|
width: 18,
|
|
@@ -1677,21 +1677,21 @@ const wn = ({
|
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
) }),
|
|
1680
|
-
/* @__PURE__ */ e("div", { ref:
|
|
1680
|
+
/* @__PURE__ */ e("div", { ref: y, className: "relative z-50", children: /* @__PURE__ */ p(
|
|
1681
1681
|
le,
|
|
1682
1682
|
{
|
|
1683
1683
|
role: "dialog",
|
|
1684
1684
|
style: { borderRadius: 5 },
|
|
1685
1685
|
side: "bottom",
|
|
1686
1686
|
align: "start",
|
|
1687
|
-
container:
|
|
1688
|
-
className: o(
|
|
1687
|
+
container: y.current,
|
|
1688
|
+
className: o(v.content, l == null ? void 0 : l.content),
|
|
1689
1689
|
children: [
|
|
1690
1690
|
/* @__PURE__ */ e(
|
|
1691
1691
|
xn,
|
|
1692
1692
|
{
|
|
1693
1693
|
month: a,
|
|
1694
|
-
locale:
|
|
1694
|
+
locale: ht,
|
|
1695
1695
|
onMonthChange: f,
|
|
1696
1696
|
mode: "range",
|
|
1697
1697
|
numberOfMonths: 2,
|
|
@@ -1725,7 +1725,7 @@ const wn = ({
|
|
|
1725
1725
|
to: void 0
|
|
1726
1726
|
});
|
|
1727
1727
|
},
|
|
1728
|
-
className:
|
|
1728
|
+
className: v.selectButton,
|
|
1729
1729
|
children: /* @__PURE__ */ e(
|
|
1730
1730
|
"div",
|
|
1731
1731
|
{
|
|
@@ -1775,10 +1775,10 @@ const wn = ({
|
|
|
1775
1775
|
) })
|
|
1776
1776
|
}
|
|
1777
1777
|
),
|
|
1778
|
-
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(k, { className: "text-base text-dark-40 font-semibold font-mono", children: Q(R, "MMMM yyyy", { locale:
|
|
1778
|
+
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(k, { className: "text-base text-dark-40 font-semibold font-mono", children: Q(R, "MMMM yyyy", { locale: ht }) }) })
|
|
1779
1779
|
] }),
|
|
1780
1780
|
/* @__PURE__ */ p("div", { className: "flex items-center w-1/2", children: [
|
|
1781
|
-
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(k, { className: "text-base text-dark-40 font-semibold font-mono", children: Q(U, "MMMM yyyy", { locale:
|
|
1781
|
+
/* @__PURE__ */ e("div", { className: "w-full flex-1 flex items-center justify-center", children: /* @__PURE__ */ e(k, { className: "text-base text-dark-40 font-semibold font-mono", children: Q(U, "MMMM yyyy", { locale: ht }) }) }),
|
|
1782
1782
|
/* @__PURE__ */ e("button", { onClick: C, disabled: !T, children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
1783
1783
|
Gt,
|
|
1784
1784
|
{
|
|
@@ -1803,7 +1803,7 @@ const wn = ({
|
|
|
1803
1803
|
type: "button",
|
|
1804
1804
|
onClick: j,
|
|
1805
1805
|
classNames: {
|
|
1806
|
-
base:
|
|
1806
|
+
base: v.resetButton
|
|
1807
1807
|
},
|
|
1808
1808
|
children: "Сбросить"
|
|
1809
1809
|
}
|
|
@@ -1835,61 +1835,62 @@ const wn = ({
|
|
|
1835
1835
|
align: c = "start",
|
|
1836
1836
|
classNames: a
|
|
1837
1837
|
}) => {
|
|
1838
|
-
const [f, h] = $.useState(), [u] =
|
|
1839
|
-
v
|
|
1840
|
-
},
|
|
1841
|
-
return /* @__PURE__ */ p(
|
|
1838
|
+
const [f, h] = $.useState(), [u] = Tt(), b = Xt(), x = (v) => {
|
|
1839
|
+
h(v), b(`${i}/${v.to}?${u.toString()}`);
|
|
1840
|
+
}, s = Ft.modal, y = s.item, w = Ft.text;
|
|
1841
|
+
return /* @__PURE__ */ p(tt, { open: n, onOpenChange: r, children: [
|
|
1842
1842
|
/* @__PURE__ */ e(
|
|
1843
|
-
|
|
1843
|
+
rt,
|
|
1844
1844
|
{
|
|
1845
1845
|
asChild: !0,
|
|
1846
|
-
className: o(
|
|
1846
|
+
className: o(s.trigger, a == null ? void 0 : a.trigger),
|
|
1847
1847
|
children: t
|
|
1848
1848
|
}
|
|
1849
1849
|
),
|
|
1850
1850
|
/* @__PURE__ */ e(
|
|
1851
|
-
|
|
1851
|
+
nt,
|
|
1852
1852
|
{
|
|
1853
1853
|
side: l,
|
|
1854
1854
|
align: c,
|
|
1855
|
-
className: o(
|
|
1856
|
-
children: d == null ? void 0 : d.map((v) =>
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
),
|
|
1875
|
-
children: [
|
|
1876
|
-
/* @__PURE__ */ e(
|
|
1877
|
-
"span",
|
|
1878
|
-
{
|
|
1879
|
-
className: o(
|
|
1880
|
-
w.dot,
|
|
1881
|
-
(f == null ? void 0 : f.id) === v.id && "bg-primary-10",
|
|
1882
|
-
a == null ? void 0 : a.dot
|
|
1883
|
-
)
|
|
1884
|
-
}
|
|
1855
|
+
className: o(s.content, a == null ? void 0 : a.content),
|
|
1856
|
+
children: d == null ? void 0 : d.map((v) => {
|
|
1857
|
+
const S = (f == null ? void 0 : f.id) === v.id;
|
|
1858
|
+
return /* @__PURE__ */ e(
|
|
1859
|
+
"div",
|
|
1860
|
+
{
|
|
1861
|
+
className: o(
|
|
1862
|
+
"p-2",
|
|
1863
|
+
S && y.active,
|
|
1864
|
+
S && (a == null ? void 0 : a.item)
|
|
1865
|
+
),
|
|
1866
|
+
children: /* @__PURE__ */ p(
|
|
1867
|
+
Dt,
|
|
1868
|
+
{
|
|
1869
|
+
onClick: () => x(v),
|
|
1870
|
+
className: o(
|
|
1871
|
+
w.base,
|
|
1872
|
+
S && "font-bold",
|
|
1873
|
+
S && (a == null ? void 0 : a.text)
|
|
1885
1874
|
),
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1875
|
+
children: [
|
|
1876
|
+
/* @__PURE__ */ e(
|
|
1877
|
+
"span",
|
|
1878
|
+
{
|
|
1879
|
+
className: o(
|
|
1880
|
+
w.dot,
|
|
1881
|
+
S && "bg-primary-10",
|
|
1882
|
+
a == null ? void 0 : a.dot
|
|
1883
|
+
)
|
|
1884
|
+
}
|
|
1885
|
+
),
|
|
1886
|
+
/* @__PURE__ */ e("span", { children: v.label })
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
)
|
|
1890
|
+
},
|
|
1891
|
+
v.id
|
|
1892
|
+
);
|
|
1893
|
+
})
|
|
1893
1894
|
}
|
|
1894
1895
|
)
|
|
1895
1896
|
] });
|
|
@@ -1914,7 +1915,7 @@ const wn = ({
|
|
|
1914
1915
|
classNames: l
|
|
1915
1916
|
}) => /* @__PURE__ */ p("div", { className: o(Y.wrapper, l == null ? void 0 : l.wrapper), children: [
|
|
1916
1917
|
t && /* @__PURE__ */ p("div", { className: Y.header, children: [
|
|
1917
|
-
/* @__PURE__ */ e(
|
|
1918
|
+
/* @__PURE__ */ e(kr, { className: Y.headerIcon, role: "img" }),
|
|
1918
1919
|
/* @__PURE__ */ p(k, { variant: "p", className: Y.headerText, children: [
|
|
1919
1920
|
t,
|
|
1920
1921
|
"(",
|
|
@@ -1962,7 +1963,7 @@ const wn = ({
|
|
|
1962
1963
|
/* @__PURE__ */ e(Ut, { className: Y.fileIcon, role: "img" }),
|
|
1963
1964
|
/* @__PURE__ */ p("div", { children: [
|
|
1964
1965
|
/* @__PURE__ */ e(k, { variant: "p", className: Y.fileText, children: c.name }),
|
|
1965
|
-
/* @__PURE__ */ e(k, { variant: "p", className: Y.fileSize, children:
|
|
1966
|
+
/* @__PURE__ */ e(k, { variant: "p", className: Y.fileSize, children: kt(c.size) })
|
|
1966
1967
|
] }),
|
|
1967
1968
|
/* @__PURE__ */ e(
|
|
1968
1969
|
Ue,
|
|
@@ -1970,8 +1971,9 @@ const wn = ({
|
|
|
1970
1971
|
href: c.downloadUrl ?? "#",
|
|
1971
1972
|
isIconVisible: !1,
|
|
1972
1973
|
classNames: { root: "p-0" },
|
|
1974
|
+
target: "_blank",
|
|
1973
1975
|
children: /* @__PURE__ */ e(
|
|
1974
|
-
|
|
1976
|
+
rr,
|
|
1975
1977
|
{
|
|
1976
1978
|
"data-testid": "download-icon",
|
|
1977
1979
|
className: Y.icon,
|
|
@@ -1999,7 +2001,7 @@ const wn = ({
|
|
|
1999
2001
|
htmlFor: "file-upload",
|
|
2000
2002
|
className: o(Y.target, l == null ? void 0 : l.target),
|
|
2001
2003
|
children: [
|
|
2002
|
-
/* @__PURE__ */ e(
|
|
2004
|
+
/* @__PURE__ */ e(Cr, { className: Y.plusIcon, role: "img" }),
|
|
2003
2005
|
/* @__PURE__ */ e(
|
|
2004
2006
|
"input",
|
|
2005
2007
|
{
|
|
@@ -2032,9 +2034,9 @@ const wn = ({
|
|
|
2032
2034
|
image: "w-full rounded-[10px] object-cover border box-border transition-all duration-300 group-hover:brightness-50",
|
|
2033
2035
|
imageText: "max-w-[70px] truncate text-xs underline text-info-10 font-medium focus:border-none p-0",
|
|
2034
2036
|
closeIcon: "absolute top-6 left-6 opacity-0 group-hover:opacity-100 group-hover:animate-slide-up animate-slide-down transition-opacity cursor-pointer fill-dark-20/60 bg-sidebar-10/80 rounded-full",
|
|
2035
|
-
fileWrapper: "flex items-center gap-
|
|
2037
|
+
fileWrapper: "flex items-center gap-1.5 w-[194px] h-[72px] px-3 py-2 justify-start border border-dark-30/[.30] rounded-[10px]",
|
|
2036
2038
|
fileIcon: "text-dark-40/[.30]",
|
|
2037
|
-
fileText: "
|
|
2039
|
+
fileText: "w-[80px] truncate text-sm text-dark-[.30] font-medium",
|
|
2038
2040
|
fileSize: "text-sm text-dark-30/[.30] font-medium",
|
|
2039
2041
|
icon: "fill-dark-20/60 cursor-pointer",
|
|
2040
2042
|
target: "flex items-center justify-center border border-dark-30/[.30] rounded-[10px]",
|
|
@@ -2051,23 +2053,23 @@ const wn = ({
|
|
|
2051
2053
|
icon: c,
|
|
2052
2054
|
iconSizes: a
|
|
2053
2055
|
}) => {
|
|
2054
|
-
const [f, h] = F(!1), b =
|
|
2055
|
-
className:
|
|
2056
|
+
const [f, h] = F(!1), b = er(n)(l), x = ft.base, s = ft.disabled.trigger, y = ft.disabled.triggerText, w = ({
|
|
2057
|
+
className: v,
|
|
2056
2058
|
text: S = ""
|
|
2057
2059
|
}) => /* @__PURE__ */ e(
|
|
2058
2060
|
k,
|
|
2059
2061
|
{
|
|
2060
2062
|
className: o(
|
|
2061
2063
|
x.placeholder,
|
|
2062
|
-
|
|
2063
|
-
i &&
|
|
2064
|
+
v,
|
|
2065
|
+
i && y
|
|
2064
2066
|
),
|
|
2065
2067
|
children: S
|
|
2066
2068
|
}
|
|
2067
2069
|
);
|
|
2068
|
-
return /* @__PURE__ */ p(
|
|
2070
|
+
return /* @__PURE__ */ p(tt, { open: f, onOpenChange: h, children: [
|
|
2069
2071
|
/* @__PURE__ */ p(
|
|
2070
|
-
|
|
2072
|
+
rt,
|
|
2071
2073
|
{
|
|
2072
2074
|
role: "listbox",
|
|
2073
2075
|
disabled: i,
|
|
@@ -2085,16 +2087,16 @@ const wn = ({
|
|
|
2085
2087
|
viewBox: a == null ? void 0 : a.viewBox,
|
|
2086
2088
|
className: o(x.icon, t == null ? void 0 : t.icon)
|
|
2087
2089
|
}
|
|
2088
|
-
) : /* @__PURE__ */ e(
|
|
2090
|
+
) : /* @__PURE__ */ e(w, { text: "Сортировать:", className: x.label }),
|
|
2089
2091
|
l ? /* @__PURE__ */ e(
|
|
2090
|
-
|
|
2092
|
+
w,
|
|
2091
2093
|
{
|
|
2092
2094
|
"data-testid": "dropdown-selected-option",
|
|
2093
2095
|
text: b == null ? void 0 : b.label,
|
|
2094
2096
|
className: o(x.selected, t == null ? void 0 : t.selected)
|
|
2095
2097
|
}
|
|
2096
2098
|
) : /* @__PURE__ */ e(
|
|
2097
|
-
|
|
2099
|
+
w,
|
|
2098
2100
|
{
|
|
2099
2101
|
text: r,
|
|
2100
2102
|
className: o(x.placeholder, t == null ? void 0 : t.placeholder)
|
|
@@ -2107,43 +2109,43 @@ const wn = ({
|
|
|
2107
2109
|
x.dropdownIcon,
|
|
2108
2110
|
f && "rotate-180 transition-transform"
|
|
2109
2111
|
),
|
|
2110
|
-
children: /* @__PURE__ */ e(
|
|
2112
|
+
children: /* @__PURE__ */ e(Tr, { className: "fill-dark-30" })
|
|
2111
2113
|
}
|
|
2112
2114
|
)
|
|
2113
2115
|
]
|
|
2114
2116
|
}
|
|
2115
2117
|
),
|
|
2116
2118
|
/* @__PURE__ */ e(
|
|
2117
|
-
|
|
2119
|
+
nt,
|
|
2118
2120
|
{
|
|
2119
2121
|
className: o(x.content, t == null ? void 0 : t.content),
|
|
2120
2122
|
align: "end",
|
|
2121
2123
|
sideOffset: 1,
|
|
2122
|
-
children: n && (n == null ? void 0 : n.map((
|
|
2124
|
+
children: n && (n == null ? void 0 : n.map((v) => /* @__PURE__ */ e(
|
|
2123
2125
|
Dt,
|
|
2124
2126
|
{
|
|
2125
2127
|
className: x.items,
|
|
2126
2128
|
onClick: (S) => {
|
|
2127
|
-
S.stopPropagation(), d(
|
|
2129
|
+
S.stopPropagation(), d(v.value), h(!1);
|
|
2128
2130
|
},
|
|
2129
2131
|
children: /* @__PURE__ */ e(
|
|
2130
2132
|
k,
|
|
2131
2133
|
{
|
|
2132
2134
|
className: o(
|
|
2133
2135
|
x.item,
|
|
2134
|
-
l ===
|
|
2135
|
-
l ===
|
|
2136
|
+
l === v.value && "before:bg-dark-10",
|
|
2137
|
+
l === v.value ? "font-semibold" : "font-regular"
|
|
2136
2138
|
),
|
|
2137
|
-
children:
|
|
2139
|
+
children: v.label
|
|
2138
2140
|
}
|
|
2139
2141
|
)
|
|
2140
2142
|
},
|
|
2141
|
-
|
|
2143
|
+
v.value
|
|
2142
2144
|
)))
|
|
2143
2145
|
}
|
|
2144
2146
|
)
|
|
2145
2147
|
] });
|
|
2146
|
-
},
|
|
2148
|
+
}, ft = {
|
|
2147
2149
|
base: {
|
|
2148
2150
|
content: "border border rounded-[10px] shadow-lg p-2.5",
|
|
2149
2151
|
dropdownIcon: "rounded-[5px] size-3 flex items-center justify-center ml-[7px]",
|
|
@@ -2310,7 +2312,7 @@ const wn = ({
|
|
|
2310
2312
|
d == null ? void 0 : d.button
|
|
2311
2313
|
),
|
|
2312
2314
|
children: /* @__PURE__ */ e(
|
|
2313
|
-
|
|
2315
|
+
Sr,
|
|
2314
2316
|
{
|
|
2315
2317
|
width: n == null ? void 0 : n.width,
|
|
2316
2318
|
height: n == null ? void 0 : n.height,
|
|
@@ -2343,7 +2345,7 @@ const wn = ({
|
|
|
2343
2345
|
hover: "group-hover:text-primary-20",
|
|
2344
2346
|
disabled: "text-dark-30/[.25] group-hover:text-dark-30/[.25] hover:cursor-default"
|
|
2345
2347
|
}
|
|
2346
|
-
},
|
|
2348
|
+
}, dr = Z(
|
|
2347
2349
|
({ checked: t, classNames: i, disabled: d, label: n, ...r }, l) => /* @__PURE__ */ p("div", { className: o(me.wrapper, i == null ? void 0 : i.wrapper), children: [
|
|
2348
2350
|
/* @__PURE__ */ e(
|
|
2349
2351
|
qt,
|
|
@@ -2374,7 +2376,7 @@ const wn = ({
|
|
|
2374
2376
|
)
|
|
2375
2377
|
] })
|
|
2376
2378
|
);
|
|
2377
|
-
|
|
2379
|
+
dr.displayName = "RadioGroup";
|
|
2378
2380
|
const Yn = ({
|
|
2379
2381
|
openDropdown: t,
|
|
2380
2382
|
setOpenDropdown: i,
|
|
@@ -2382,7 +2384,7 @@ const Yn = ({
|
|
|
2382
2384
|
item: { id: n, label: r, icon: l, to: c, subItems: a },
|
|
2383
2385
|
onSubNavClick: f
|
|
2384
2386
|
}) => {
|
|
2385
|
-
const [h] =
|
|
2387
|
+
const [h] = Tt();
|
|
2386
2388
|
return /* @__PURE__ */ e(Vr, { type: "single", collapsible: !0, children: /* @__PURE__ */ p(Qr, { value: String(n), children: [
|
|
2387
2389
|
/* @__PURE__ */ p(
|
|
2388
2390
|
qr,
|
|
@@ -2434,7 +2436,7 @@ const Yn = ({
|
|
|
2434
2436
|
}
|
|
2435
2437
|
),
|
|
2436
2438
|
d && /* @__PURE__ */ e(Xr, { className: "flex flex-col items-start", children: a == null ? void 0 : a.map((u) => /* @__PURE__ */ e(
|
|
2437
|
-
|
|
2439
|
+
St,
|
|
2438
2440
|
{
|
|
2439
2441
|
to: `${c}/${u == null ? void 0 : u.to}?${h.toString()}`,
|
|
2440
2442
|
onClick: f,
|
|
@@ -2469,7 +2471,7 @@ const Yn = ({
|
|
|
2469
2471
|
{
|
|
2470
2472
|
className: o(f.base, t && f.expanded),
|
|
2471
2473
|
children: [
|
|
2472
|
-
/* @__PURE__ */ e(
|
|
2474
|
+
/* @__PURE__ */ e(St, { role: "link", to: "/", children: t ? /* @__PURE__ */ e(Rr, {}) : /* @__PURE__ */ e(pn, {}) }),
|
|
2473
2475
|
/* @__PURE__ */ e(
|
|
2474
2476
|
_,
|
|
2475
2477
|
{
|
|
@@ -2571,7 +2573,7 @@ const Yn = ({
|
|
|
2571
2573
|
children: i.label
|
|
2572
2574
|
}
|
|
2573
2575
|
) }),
|
|
2574
|
-
r && /* @__PURE__ */ e(k, { className:
|
|
2576
|
+
r && /* @__PURE__ */ e(k, { className: bt.error, children: "Введите все языки" }),
|
|
2575
2577
|
/* @__PURE__ */ e(
|
|
2576
2578
|
le,
|
|
2577
2579
|
{
|
|
@@ -2579,11 +2581,11 @@ const Yn = ({
|
|
|
2579
2581
|
align: "center",
|
|
2580
2582
|
sideOffset: 4,
|
|
2581
2583
|
side: "bottom",
|
|
2582
|
-
className: o(
|
|
2583
|
-
children: /* @__PURE__ */ e("div", { className: o(
|
|
2584
|
+
className: o(bt.root, n == null ? void 0 : n.content),
|
|
2585
|
+
children: /* @__PURE__ */ e("div", { className: o(bt.optionsWrapper), children: t.map((h) => {
|
|
2584
2586
|
const u = `radio-${h.value}`;
|
|
2585
2587
|
return /* @__PURE__ */ e(
|
|
2586
|
-
|
|
2588
|
+
dr,
|
|
2587
2589
|
{
|
|
2588
2590
|
id: u,
|
|
2589
2591
|
checked: h.value === (i == null ? void 0 : i.value),
|
|
@@ -2598,7 +2600,7 @@ const Yn = ({
|
|
|
2598
2600
|
] })
|
|
2599
2601
|
}
|
|
2600
2602
|
);
|
|
2601
|
-
},
|
|
2603
|
+
}, bt = {
|
|
2602
2604
|
root: "w-full h-full bg-sidebar-10 border-2 border-dark-30/[.15] rounded-[10px] p-4 flex flex-col overflow-hidden",
|
|
2603
2605
|
optionsWrapper: "flex flex-col gap-3.5",
|
|
2604
2606
|
error: "flex items-center justify-end text-xs animate-pulse text-danger-10 font-semibold"
|
|
@@ -2666,7 +2668,7 @@ const Uo = ({
|
|
|
2666
2668
|
)
|
|
2667
2669
|
},
|
|
2668
2670
|
children: /* @__PURE__ */ e(
|
|
2669
|
-
|
|
2671
|
+
Lr,
|
|
2670
2672
|
{
|
|
2671
2673
|
width: 28,
|
|
2672
2674
|
height: 28,
|
|
@@ -2782,16 +2784,16 @@ const Uo = ({
|
|
|
2782
2784
|
classNames: a,
|
|
2783
2785
|
...f
|
|
2784
2786
|
}) => {
|
|
2785
|
-
const h =
|
|
2786
|
-
() =>
|
|
2787
|
+
const h = or(Xe), [u, b] = F(
|
|
2788
|
+
() => pt(String(t), Xe)
|
|
2787
2789
|
);
|
|
2788
2790
|
_e(() => {
|
|
2789
|
-
b(
|
|
2791
|
+
b(pt(String(t), Xe));
|
|
2790
2792
|
}, [t]);
|
|
2791
2793
|
const x = (j) => {
|
|
2792
|
-
const m = j.target.value.replace(/\D/g, ""), g =
|
|
2794
|
+
const m = j.target.value.replace(/\D/g, ""), g = pt(m, Xe);
|
|
2793
2795
|
b(g), c == null || c(m);
|
|
2794
|
-
}, s = Se.parent,
|
|
2796
|
+
}, s = Se.parent, y = Se.base, w = Se.hover, v = Se.focus, S = Se.disabled, B = l && Se.variants[l];
|
|
2795
2797
|
return /* @__PURE__ */ p("div", { className: o(s, a == null ? void 0 : a.parent), children: [
|
|
2796
2798
|
/* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: [
|
|
2797
2799
|
!!d && /* @__PURE__ */ e(
|
|
@@ -2816,10 +2818,10 @@ const Uo = ({
|
|
|
2816
2818
|
disabled: n,
|
|
2817
2819
|
autoFocus: r,
|
|
2818
2820
|
className: o(
|
|
2819
|
-
|
|
2821
|
+
y,
|
|
2822
|
+
!n && w,
|
|
2820
2823
|
!n && v,
|
|
2821
|
-
!n &&
|
|
2822
|
-
!n && r && y,
|
|
2824
|
+
!n && r && v,
|
|
2823
2825
|
n && S,
|
|
2824
2826
|
l === "danger" && B,
|
|
2825
2827
|
a == null ? void 0 : a.target
|
|
@@ -2837,7 +2839,7 @@ const Uo = ({
|
|
|
2837
2839
|
variants: {
|
|
2838
2840
|
danger: "bg-white border border-danger-20 ring-2 ring-danger-40/[.20] focus:border-danger-20 focus:ring-2 focus:ring-danger-40/[.20] hover:border-danger-20"
|
|
2839
2841
|
}
|
|
2840
|
-
}, { Root: En } =
|
|
2842
|
+
}, { Root: En } = tr, Vo = Ht.forwardRef(
|
|
2841
2843
|
({
|
|
2842
2844
|
id: t = "",
|
|
2843
2845
|
title: i,
|
|
@@ -2851,19 +2853,19 @@ const Uo = ({
|
|
|
2851
2853
|
onClick: h,
|
|
2852
2854
|
...u
|
|
2853
2855
|
}, b) => {
|
|
2854
|
-
const [x, s] = F(n || ""),
|
|
2856
|
+
const [x, s] = F(n || ""), y = (g) => {
|
|
2855
2857
|
s(g), r == null || r(t, g);
|
|
2856
|
-
},
|
|
2858
|
+
}, w = u.disabled || !1, v = $e.base, S = $e.pressed, B = $e.hover, j = $e.disabled, m = $e.content;
|
|
2857
2859
|
return /* @__PURE__ */ p(
|
|
2858
2860
|
En,
|
|
2859
2861
|
{
|
|
2860
2862
|
ref: b,
|
|
2861
2863
|
onClick: () => h == null ? void 0 : h(t),
|
|
2862
2864
|
className: o(
|
|
2863
|
-
|
|
2865
|
+
v,
|
|
2864
2866
|
S,
|
|
2865
|
-
!
|
|
2866
|
-
|
|
2867
|
+
!w && B,
|
|
2868
|
+
w && j,
|
|
2867
2869
|
f
|
|
2868
2870
|
),
|
|
2869
2871
|
...u,
|
|
@@ -2874,19 +2876,19 @@ const Uo = ({
|
|
|
2874
2876
|
{
|
|
2875
2877
|
className: o(
|
|
2876
2878
|
m.title,
|
|
2877
|
-
|
|
2879
|
+
w && m.disabled
|
|
2878
2880
|
),
|
|
2879
2881
|
children: i
|
|
2880
2882
|
}
|
|
2881
2883
|
),
|
|
2882
2884
|
/* @__PURE__ */ p("div", { className: m.actions, children: [
|
|
2883
2885
|
!!c && /* @__PURE__ */ e(
|
|
2884
|
-
|
|
2886
|
+
ar,
|
|
2885
2887
|
{
|
|
2886
2888
|
options: c,
|
|
2887
2889
|
value: x,
|
|
2888
|
-
onChange:
|
|
2889
|
-
disabled:
|
|
2890
|
+
onChange: y,
|
|
2891
|
+
disabled: w
|
|
2890
2892
|
}
|
|
2891
2893
|
),
|
|
2892
2894
|
!!a && /* @__PURE__ */ p(de, { children: [
|
|
@@ -2932,7 +2934,7 @@ const Uo = ({
|
|
|
2932
2934
|
{
|
|
2933
2935
|
className: o(
|
|
2934
2936
|
m.amount,
|
|
2935
|
-
|
|
2937
|
+
w && m.disabled
|
|
2936
2938
|
),
|
|
2937
2939
|
children: g.value
|
|
2938
2940
|
}
|
|
@@ -2962,14 +2964,14 @@ const Uo = ({
|
|
|
2962
2964
|
disabled: "text-dark-30/[.42]"
|
|
2963
2965
|
}
|
|
2964
2966
|
}, Qo = Ht.forwardRef(({ tabs: t = [], activeTab: i, onTabChange: d, classNames: n, iconSizes: r }, l) => /* @__PURE__ */ e(
|
|
2965
|
-
|
|
2967
|
+
Jt,
|
|
2966
2968
|
{
|
|
2967
2969
|
ref: l,
|
|
2968
2970
|
value: i,
|
|
2969
2971
|
onValueChange: d,
|
|
2970
2972
|
className: o(n == null ? void 0 : n.tab, we.tab),
|
|
2971
|
-
children: /* @__PURE__ */ e(
|
|
2972
|
-
|
|
2973
|
+
children: /* @__PURE__ */ e(Kt, { className: o(we.list, n == null ? void 0 : n.list), children: t && t.map((c) => /* @__PURE__ */ p(
|
|
2974
|
+
Pt,
|
|
2973
2975
|
{
|
|
2974
2976
|
value: c.value,
|
|
2975
2977
|
disabled: c.disabled,
|
|
@@ -3013,40 +3015,40 @@ const Uo = ({
|
|
|
3013
3015
|
{
|
|
3014
3016
|
role: "listbox",
|
|
3015
3017
|
className: o(b.base, r == null ? void 0 : r.datalist),
|
|
3016
|
-
children: s.map((
|
|
3018
|
+
children: s.map((y, w) => /* @__PURE__ */ p(
|
|
3017
3019
|
"li",
|
|
3018
3020
|
{
|
|
3019
3021
|
className: o(b.item, r == null ? void 0 : r.dataItem),
|
|
3020
3022
|
children: [
|
|
3021
3023
|
/* @__PURE__ */ p("span", { className: "text-dark-40/50", children: [
|
|
3022
|
-
|
|
3024
|
+
y.label,
|
|
3023
3025
|
":"
|
|
3024
3026
|
] }),
|
|
3025
3027
|
" ",
|
|
3026
|
-
|
|
3028
|
+
y.value
|
|
3027
3029
|
]
|
|
3028
3030
|
},
|
|
3029
|
-
|
|
3031
|
+
w
|
|
3030
3032
|
))
|
|
3031
3033
|
}
|
|
3032
3034
|
);
|
|
3033
3035
|
return /* @__PURE__ */ p(
|
|
3034
|
-
|
|
3036
|
+
Jt,
|
|
3035
3037
|
{
|
|
3036
3038
|
ref: l,
|
|
3037
3039
|
value: i,
|
|
3038
3040
|
onValueChange: d,
|
|
3039
3041
|
className: o(c, r == null ? void 0 : r.base),
|
|
3040
3042
|
children: [
|
|
3041
|
-
/* @__PURE__ */ e(
|
|
3042
|
-
|
|
3043
|
+
/* @__PURE__ */ e(Kt, { className: o(a, r == null ? void 0 : r.list), children: t.map((s, y, w) => /* @__PURE__ */ p(
|
|
3044
|
+
Pt,
|
|
3043
3045
|
{
|
|
3044
3046
|
value: s.value,
|
|
3045
3047
|
disabled: s.disabled,
|
|
3046
3048
|
className: o(
|
|
3047
3049
|
"curved-tab",
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
+
y === 0 && "first-tab",
|
|
3051
|
+
y === w.length - 1 && "last-tab",
|
|
3050
3052
|
f.base,
|
|
3051
3053
|
f.active,
|
|
3052
3054
|
f.hover,
|
|
@@ -3054,7 +3056,7 @@ const Uo = ({
|
|
|
3054
3056
|
r == null ? void 0 : r.trigger
|
|
3055
3057
|
),
|
|
3056
3058
|
children: [
|
|
3057
|
-
|
|
3059
|
+
y + 1,
|
|
3058
3060
|
i === s.value && /* @__PURE__ */ e(
|
|
3059
3061
|
"div",
|
|
3060
3062
|
{
|
|
@@ -3065,28 +3067,28 @@ const Uo = ({
|
|
|
3065
3067
|
},
|
|
3066
3068
|
s.value
|
|
3067
3069
|
)) }),
|
|
3068
|
-
t.map((s,
|
|
3070
|
+
t.map((s, y, w) => /* @__PURE__ */ p(
|
|
3069
3071
|
Zr,
|
|
3070
3072
|
{
|
|
3071
3073
|
value: s.value,
|
|
3072
3074
|
className: o(
|
|
3073
3075
|
h.base,
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
+
y === 0 && "rounded-ss-none",
|
|
3077
|
+
y === w.length - 1 && "rounded-se-none",
|
|
3076
3078
|
r == null ? void 0 : r.content
|
|
3077
3079
|
),
|
|
3078
3080
|
children: [
|
|
3079
3081
|
/* @__PURE__ */ p("div", { className: h.title.wrapper, children: [
|
|
3080
3082
|
/* @__PURE__ */ p(k, { className: h.title.text, children: [
|
|
3081
3083
|
"Квартира – ",
|
|
3082
|
-
|
|
3084
|
+
y + 1
|
|
3083
3085
|
] }),
|
|
3084
3086
|
/* @__PURE__ */ e(
|
|
3085
3087
|
"button",
|
|
3086
3088
|
{
|
|
3087
3089
|
className: "hover:cursor-pointer",
|
|
3088
3090
|
onClick: () => n(s),
|
|
3089
|
-
children: /* @__PURE__ */ e(
|
|
3091
|
+
children: /* @__PURE__ */ e(Br, { className: "fill-sidebar-10" })
|
|
3090
3092
|
}
|
|
3091
3093
|
)
|
|
3092
3094
|
] }),
|
|
@@ -3097,7 +3099,7 @@ const Uo = ({
|
|
|
3097
3099
|
/* @__PURE__ */ e("div", { className: "mt-2.5", children: /* @__PURE__ */ e(x, { list: s.content.secondary }) })
|
|
3098
3100
|
]
|
|
3099
3101
|
},
|
|
3100
|
-
|
|
3102
|
+
y
|
|
3101
3103
|
))
|
|
3102
3104
|
]
|
|
3103
3105
|
}
|
|
@@ -3155,7 +3157,7 @@ const Uo = ({
|
|
|
3155
3157
|
}) => /* @__PURE__ */ p("div", { className: o(Vn.root, d), children: [
|
|
3156
3158
|
/* @__PURE__ */ e(P, { ...n, disabled: i, children: t }),
|
|
3157
3159
|
/* @__PURE__ */ e(
|
|
3158
|
-
|
|
3160
|
+
Wr,
|
|
3159
3161
|
{
|
|
3160
3162
|
disabled: i,
|
|
3161
3163
|
onClick: l,
|
|
@@ -3252,7 +3254,7 @@ const Uo = ({
|
|
|
3252
3254
|
const c = ue(null), a = (T) => {
|
|
3253
3255
|
if (!T) return;
|
|
3254
3256
|
if (T instanceof Date) return T;
|
|
3255
|
-
const W =
|
|
3257
|
+
const W = yt(T, "dd.MM.yyyy", /* @__PURE__ */ new Date());
|
|
3256
3258
|
if (We(W)) return W;
|
|
3257
3259
|
const R = bn(T);
|
|
3258
3260
|
return We(R) ? R : void 0;
|
|
@@ -3262,14 +3264,14 @@ const Uo = ({
|
|
|
3262
3264
|
f == null ? void 0 : f.getDate()
|
|
3263
3265
|
), [x, s] = F(
|
|
3264
3266
|
f == null ? void 0 : f.getMonth()
|
|
3265
|
-
), [
|
|
3267
|
+
), [y, w] = F(
|
|
3266
3268
|
f == null ? void 0 : f.getFullYear()
|
|
3267
3269
|
);
|
|
3268
3270
|
_e(() => {
|
|
3269
3271
|
const T = a(t);
|
|
3270
|
-
h(T), b(T == null ? void 0 : T.getDate()), s(T == null ? void 0 : T.getMonth()),
|
|
3272
|
+
h(T), b(T == null ? void 0 : T.getDate()), s(T == null ? void 0 : T.getMonth()), w(T == null ? void 0 : T.getFullYear());
|
|
3271
3273
|
}, [t]);
|
|
3272
|
-
const
|
|
3274
|
+
const v = /* @__PURE__ */ new Date(), S = y ?? v.getFullYear(), B = x ?? v.getMonth(), j = sr(() => {
|
|
3273
3275
|
const T = new Date(S, B + 1, 0).getDate();
|
|
3274
3276
|
return Array.from({ length: T }, (W, R) => {
|
|
3275
3277
|
const U = R + 1;
|
|
@@ -3281,18 +3283,18 @@ const Uo = ({
|
|
|
3281
3283
|
}, [B, S]), m = (T, W, R) => {
|
|
3282
3284
|
if (T !== void 0 && W !== void 0 && R !== void 0) {
|
|
3283
3285
|
const U = new Date(R, W, T);
|
|
3284
|
-
h(U), i(
|
|
3286
|
+
h(U), i(jr(U));
|
|
3285
3287
|
} else
|
|
3286
3288
|
h(void 0), i(void 0);
|
|
3287
3289
|
}, g = (T) => {
|
|
3288
3290
|
const W = parseInt(T);
|
|
3289
|
-
s(W), m(u, W,
|
|
3291
|
+
s(W), m(u, W, y);
|
|
3290
3292
|
}, C = (T) => {
|
|
3291
3293
|
const W = parseInt(T);
|
|
3292
|
-
|
|
3294
|
+
w(W), m(u, x, W);
|
|
3293
3295
|
}, I = (T) => {
|
|
3294
3296
|
const W = parseInt(T);
|
|
3295
|
-
b(W), m(W, x,
|
|
3297
|
+
b(W), m(W, x, y);
|
|
3296
3298
|
};
|
|
3297
3299
|
return /* @__PURE__ */ p("div", { ref: c, className: At.root, children: [
|
|
3298
3300
|
!!n && /* @__PURE__ */ e(P, { className: o(l == null ? void 0 : l.label), children: n }),
|
|
@@ -3340,8 +3342,8 @@ const Uo = ({
|
|
|
3340
3342
|
},
|
|
3341
3343
|
disabled: d,
|
|
3342
3344
|
onChange: C,
|
|
3343
|
-
value:
|
|
3344
|
-
autoFocusValue: String(
|
|
3345
|
+
value: y !== void 0 ? String(y) : "",
|
|
3346
|
+
autoFocusValue: String(v.getFullYear()),
|
|
3345
3347
|
placeholder: "Год",
|
|
3346
3348
|
status: r === "danger" ? "danger" : void 0
|
|
3347
3349
|
}
|
|
@@ -3362,9 +3364,9 @@ const Uo = ({
|
|
|
3362
3364
|
classNames: a,
|
|
3363
3365
|
onClick: f
|
|
3364
3366
|
}) => {
|
|
3365
|
-
const [h] =
|
|
3367
|
+
const [h] = Tt(), u = xt.base;
|
|
3366
3368
|
return /* @__PURE__ */ p(
|
|
3367
|
-
|
|
3369
|
+
St,
|
|
3368
3370
|
{
|
|
3369
3371
|
tabIndex: 1,
|
|
3370
3372
|
role: "link",
|
|
@@ -3405,7 +3407,7 @@ const Uo = ({
|
|
|
3405
3407
|
{
|
|
3406
3408
|
"text-primary-10": d,
|
|
3407
3409
|
"text-sidebar/[.15]": n,
|
|
3408
|
-
[
|
|
3410
|
+
[xt.expanded.label]: !i
|
|
3409
3411
|
},
|
|
3410
3412
|
a == null ? void 0 : a.label
|
|
3411
3413
|
),
|
|
@@ -3418,7 +3420,7 @@ const Uo = ({
|
|
|
3418
3420
|
variant: "span",
|
|
3419
3421
|
className: o(
|
|
3420
3422
|
u.badge,
|
|
3421
|
-
!i &&
|
|
3423
|
+
!i && xt.expanded.badge,
|
|
3422
3424
|
a == null ? void 0 : a.badge
|
|
3423
3425
|
),
|
|
3424
3426
|
children: t
|
|
@@ -3428,7 +3430,7 @@ const Uo = ({
|
|
|
3428
3430
|
]
|
|
3429
3431
|
}
|
|
3430
3432
|
);
|
|
3431
|
-
},
|
|
3433
|
+
}, xt = {
|
|
3432
3434
|
base: {
|
|
3433
3435
|
container: "flex items-center gap-3 cursor-pointer p-3.5 h-[51px] w-[247px] bg-dark-20 group rounded-[10px] font-mono",
|
|
3434
3436
|
labelWrapper: "relative inline-block",
|
|
@@ -3583,7 +3585,7 @@ const Uo = ({
|
|
|
3583
3585
|
...u
|
|
3584
3586
|
}, b) => {
|
|
3585
3587
|
var B;
|
|
3586
|
-
const x = Ze.parent, s = Ze.base,
|
|
3588
|
+
const x = Ze.parent, s = Ze.base, y = Ze.icon, w = d || (h == null ? void 0 : h.disabled), v = !!(n || c), S = (h == null ? void 0 : h.status) === "danger";
|
|
3587
3589
|
return /* @__PURE__ */ p("div", { className: o(x, a == null ? void 0 : a.parent), ...u, children: [
|
|
3588
3590
|
/* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: [
|
|
3589
3591
|
!!i && /* @__PURE__ */ e(
|
|
@@ -3591,7 +3593,7 @@ const Uo = ({
|
|
|
3591
3593
|
{
|
|
3592
3594
|
htmlFor: t,
|
|
3593
3595
|
className: o(a == null ? void 0 : a.label),
|
|
3594
|
-
disabled:
|
|
3596
|
+
disabled: w,
|
|
3595
3597
|
children: i
|
|
3596
3598
|
}
|
|
3597
3599
|
),
|
|
@@ -3602,39 +3604,39 @@ const Uo = ({
|
|
|
3602
3604
|
{
|
|
3603
3605
|
className: o(
|
|
3604
3606
|
s,
|
|
3605
|
-
|
|
3607
|
+
v && Ze.container,
|
|
3606
3608
|
a == null ? void 0 : a.base
|
|
3607
3609
|
),
|
|
3608
3610
|
children: [
|
|
3609
3611
|
/* @__PURE__ */ e(
|
|
3610
|
-
|
|
3612
|
+
Mr,
|
|
3611
3613
|
{
|
|
3612
3614
|
...h,
|
|
3613
3615
|
ref: b,
|
|
3614
3616
|
id: t,
|
|
3615
|
-
disabled:
|
|
3617
|
+
disabled: w,
|
|
3616
3618
|
classNames: {
|
|
3617
3619
|
...h == null ? void 0 : h.classNames,
|
|
3618
3620
|
target: o(
|
|
3619
3621
|
(B = h == null ? void 0 : h.classNames) == null ? void 0 : B.target,
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
+
v && l === "left" && "pl-11",
|
|
3623
|
+
v && l === "right" && "pr-11"
|
|
3622
3624
|
)
|
|
3623
3625
|
}
|
|
3624
3626
|
}
|
|
3625
3627
|
),
|
|
3626
|
-
|
|
3628
|
+
v && /* @__PURE__ */ p(
|
|
3627
3629
|
"button",
|
|
3628
3630
|
{
|
|
3629
3631
|
role: "button",
|
|
3630
3632
|
type: "button",
|
|
3631
|
-
disabled:
|
|
3633
|
+
disabled: w,
|
|
3632
3634
|
className: o(
|
|
3633
|
-
|
|
3635
|
+
y.base,
|
|
3634
3636
|
l === "left" && "left-3.5",
|
|
3635
3637
|
l === "right" && "right-3.5",
|
|
3636
|
-
f &&
|
|
3637
|
-
|
|
3638
|
+
f && y.clickable,
|
|
3639
|
+
w && y.disabled,
|
|
3638
3640
|
a == null ? void 0 : a.iconButton
|
|
3639
3641
|
),
|
|
3640
3642
|
onClick: f,
|
|
@@ -3643,13 +3645,13 @@ const Uo = ({
|
|
|
3643
3645
|
n && /* @__PURE__ */ e(
|
|
3644
3646
|
n,
|
|
3645
3647
|
{
|
|
3646
|
-
className: o(
|
|
3648
|
+
className: o(y.icon, a == null ? void 0 : a.icon),
|
|
3647
3649
|
viewBox: r == null ? void 0 : r.viewBox,
|
|
3648
3650
|
width: r == null ? void 0 : r.width,
|
|
3649
3651
|
height: r == null ? void 0 : r.height
|
|
3650
3652
|
}
|
|
3651
3653
|
),
|
|
3652
|
-
c && /* @__PURE__ */ e(k, { className: o(
|
|
3654
|
+
c && /* @__PURE__ */ e(k, { className: o(y.text, a == null ? void 0 : a.text), children: c })
|
|
3653
3655
|
]
|
|
3654
3656
|
}
|
|
3655
3657
|
)
|
|
@@ -3692,12 +3694,12 @@ const Uo = ({
|
|
|
3692
3694
|
element: i,
|
|
3693
3695
|
label: d,
|
|
3694
3696
|
classNames: n
|
|
3695
|
-
}) => /* @__PURE__ */ p("div", { className: o(
|
|
3697
|
+
}) => /* @__PURE__ */ p("div", { className: o(gt.wrapper, n == null ? void 0 : n.wrapper), children: [
|
|
3696
3698
|
!!t && /* @__PURE__ */ e(
|
|
3697
3699
|
"div",
|
|
3698
3700
|
{
|
|
3699
3701
|
"data-testid": "user-icon",
|
|
3700
|
-
className: o(
|
|
3702
|
+
className: o(gt.iconWrapper, n == null ? void 0 : n.iconWrapper),
|
|
3701
3703
|
children: t
|
|
3702
3704
|
}
|
|
3703
3705
|
),
|
|
@@ -3706,12 +3708,12 @@ const Uo = ({
|
|
|
3706
3708
|
{
|
|
3707
3709
|
"data-testid": "user-label",
|
|
3708
3710
|
variant: "span",
|
|
3709
|
-
className: o(
|
|
3711
|
+
className: o(gt.label, n == null ? void 0 : n.label),
|
|
3710
3712
|
children: d
|
|
3711
3713
|
}
|
|
3712
3714
|
),
|
|
3713
3715
|
!!i && i
|
|
3714
|
-
] }),
|
|
3716
|
+
] }), gt = {
|
|
3715
3717
|
wrapper: "inline-flex w-auto gap-2 items-center justify-center",
|
|
3716
3718
|
iconWrapper: "size-5 rounded-full flex items-center justify-center bg-dark-30/[.10]",
|
|
3717
3719
|
label: "text-dark-40/[.50] text-sm font-medium",
|
|
@@ -3762,7 +3764,7 @@ const Uo = ({
|
|
|
3762
3764
|
),
|
|
3763
3765
|
children: [
|
|
3764
3766
|
l && /* @__PURE__ */ e(
|
|
3765
|
-
|
|
3767
|
+
zr,
|
|
3766
3768
|
{
|
|
3767
3769
|
width: f.width,
|
|
3768
3770
|
height: f.height,
|
|
@@ -3778,11 +3780,11 @@ const Uo = ({
|
|
|
3778
3780
|
states: {
|
|
3779
3781
|
active: "active:text-primary-30",
|
|
3780
3782
|
disabled: "text-dark-30/[.30] cursor-not-allowed",
|
|
3781
|
-
focus: "focus:
|
|
3783
|
+
focus: "focus:ring-2 focus:ring-primary-10/[.20] focus:rounded-[10px]",
|
|
3782
3784
|
hover: "hover:text-primary-20",
|
|
3783
3785
|
normal: "font-mono text-primary-10 outline-none transition-colors underline underline-offset-2 text-sm leading-none flex gap-1 items-end px-1.5 pb-1.5"
|
|
3784
3786
|
}
|
|
3785
|
-
},
|
|
3787
|
+
}, ar = Z(
|
|
3786
3788
|
({
|
|
3787
3789
|
classNames: t,
|
|
3788
3790
|
disabled: i,
|
|
@@ -3792,7 +3794,7 @@ const Uo = ({
|
|
|
3792
3794
|
value: l
|
|
3793
3795
|
}, c) => {
|
|
3794
3796
|
var B;
|
|
3795
|
-
const [a, f] = F(!1), u =
|
|
3797
|
+
const [a, f] = F(!1), u = er(n)(l), b = ue(null), x = Re.base, s = Re.options, y = Re.disabled.trigger, w = Re.disabled.triggerText, v = (B = n.find((j) => j.value === l)) == null ? void 0 : B.status, S = ({
|
|
3796
3798
|
className: j,
|
|
3797
3799
|
text: m = ""
|
|
3798
3800
|
}) => /* @__PURE__ */ e(
|
|
@@ -3800,7 +3802,7 @@ const Uo = ({
|
|
|
3800
3802
|
{
|
|
3801
3803
|
className: o(
|
|
3802
3804
|
x.placeholder,
|
|
3803
|
-
i &&
|
|
3805
|
+
i && w,
|
|
3804
3806
|
j
|
|
3805
3807
|
),
|
|
3806
3808
|
children: m
|
|
@@ -3811,18 +3813,18 @@ const Uo = ({
|
|
|
3811
3813
|
var j;
|
|
3812
3814
|
(j = b.current) == null || j.scrollIntoView({ block: "center" });
|
|
3813
3815
|
}, 0);
|
|
3814
|
-
}, [a]), /* @__PURE__ */ p(
|
|
3816
|
+
}, [a]), /* @__PURE__ */ p(tt, { open: a, onOpenChange: f, children: [
|
|
3815
3817
|
/* @__PURE__ */ p(
|
|
3816
|
-
|
|
3818
|
+
rt,
|
|
3817
3819
|
{
|
|
3818
3820
|
role: "listbox",
|
|
3819
3821
|
disabled: i,
|
|
3820
3822
|
className: o(
|
|
3821
3823
|
x.trigger,
|
|
3822
|
-
i &&
|
|
3824
|
+
i && y,
|
|
3823
3825
|
!a && !i && x.hover,
|
|
3824
3826
|
t == null ? void 0 : t.trigger,
|
|
3825
|
-
|
|
3827
|
+
v && Re.status[v]
|
|
3826
3828
|
),
|
|
3827
3829
|
children: [
|
|
3828
3830
|
l ? /* @__PURE__ */ e(
|
|
@@ -3839,7 +3841,7 @@ const Uo = ({
|
|
|
3839
3841
|
}
|
|
3840
3842
|
),
|
|
3841
3843
|
/* @__PURE__ */ e("div", { className: "transition-transform duration-200", children: /* @__PURE__ */ e(
|
|
3842
|
-
|
|
3844
|
+
nr,
|
|
3843
3845
|
{
|
|
3844
3846
|
className: o(x.icon, a && "rotate-180"),
|
|
3845
3847
|
width: 16,
|
|
@@ -3851,7 +3853,7 @@ const Uo = ({
|
|
|
3851
3853
|
}
|
|
3852
3854
|
),
|
|
3853
3855
|
/* @__PURE__ */ e(
|
|
3854
|
-
|
|
3856
|
+
nt,
|
|
3855
3857
|
{
|
|
3856
3858
|
className: o(s.content, t == null ? void 0 : t.content),
|
|
3857
3859
|
style: { minWidth: "var(--radix-popper-anchor-width)" },
|
|
@@ -3873,7 +3875,7 @@ const Uo = ({
|
|
|
3873
3875
|
] });
|
|
3874
3876
|
}
|
|
3875
3877
|
);
|
|
3876
|
-
|
|
3878
|
+
ar.displayName = "StatusSelect";
|
|
3877
3879
|
const Re = {
|
|
3878
3880
|
base: {
|
|
3879
3881
|
trigger: "rounded-[50px] h-[22px] w-max px-2.5 flex justify-between items-center outline-none bg-dark-30/[.15]",
|
|
@@ -3967,7 +3969,7 @@ const Re = {
|
|
|
3967
3969
|
children: i.name
|
|
3968
3970
|
}
|
|
3969
3971
|
),
|
|
3970
|
-
/* @__PURE__ */ e(k, { "data-testid": "size-file", className: L.sizeFile, children:
|
|
3972
|
+
/* @__PURE__ */ e(k, { "data-testid": "size-file", className: L.sizeFile, children: kt(Number(i.size.toFixed(1))) })
|
|
3971
3973
|
] }),
|
|
3972
3974
|
/* @__PURE__ */ p("div", { className: L.buttonContainer, children: [
|
|
3973
3975
|
/* @__PURE__ */ e(
|
|
@@ -4087,7 +4089,7 @@ const Re = {
|
|
|
4087
4089
|
},
|
|
4088
4090
|
onClick: n,
|
|
4089
4091
|
variant: "text",
|
|
4090
|
-
icon:
|
|
4092
|
+
icon: rr,
|
|
4091
4093
|
iconDimensions: { height: 15, width: 16, viewBox: "0 0 16 16" }
|
|
4092
4094
|
}
|
|
4093
4095
|
),
|
|
@@ -4289,24 +4291,24 @@ const Re = {
|
|
|
4289
4291
|
options: u = []
|
|
4290
4292
|
}, b) => {
|
|
4291
4293
|
var xe;
|
|
4292
|
-
const [x, s] = F(!1), [
|
|
4293
|
-
const M =
|
|
4294
|
+
const [x, s] = F(!1), [y, w] = F(a || ""), [v, S] = F(""), [B, j] = F(null), m = ue(null), g = () => {
|
|
4295
|
+
const M = v.trim();
|
|
4294
4296
|
M && (B && l ? (l(M, B), j(null)) : r(M), S(""));
|
|
4295
4297
|
}, C = (M, q) => {
|
|
4296
4298
|
q.stopPropagation(), j(M);
|
|
4297
4299
|
const re = u.find((J) => J.value === M);
|
|
4298
4300
|
re && S(re.label);
|
|
4299
4301
|
}, I = (M, q) => {
|
|
4300
|
-
q.stopPropagation(), n(M),
|
|
4302
|
+
q.stopPropagation(), n(M), y === M && w("");
|
|
4301
4303
|
}, T = () => {
|
|
4302
4304
|
S(""), j(null);
|
|
4303
4305
|
}, W = () => {
|
|
4304
4306
|
s(!1), T();
|
|
4305
4307
|
}, R = () => {
|
|
4306
|
-
d(
|
|
4308
|
+
d(y), s(!1), T();
|
|
4307
4309
|
}, U = (M) => {
|
|
4308
4310
|
s(M), M || T();
|
|
4309
|
-
}, Ce = a ? ((xe = u.find((M) => M.value === a)) == null ? void 0 : xe.label) || a : "",
|
|
4311
|
+
}, Ce = a ? ((xe = u.find((M) => M.value === a)) == null ? void 0 : xe.label) || a : "", dt = Ce ? H.base.selected : H.base.placeholder;
|
|
4310
4312
|
return /* @__PURE__ */ p("div", { className: H.container, children: [
|
|
4311
4313
|
f && /* @__PURE__ */ e(P, { htmlFor: "select-list", disabled: i, children: f }),
|
|
4312
4314
|
/* @__PURE__ */ p(de, { open: x, onOpenChange: U, children: [
|
|
@@ -4330,7 +4332,7 @@ const Re = {
|
|
|
4330
4332
|
H.base.text,
|
|
4331
4333
|
i && H.disabled.triggerText,
|
|
4332
4334
|
t == null ? void 0 : t[Ce ? "selected" : "placeholder"],
|
|
4333
|
-
|
|
4335
|
+
dt
|
|
4334
4336
|
),
|
|
4335
4337
|
children: Ce || c
|
|
4336
4338
|
}
|
|
@@ -4367,17 +4369,17 @@ const Re = {
|
|
|
4367
4369
|
id: "select-list",
|
|
4368
4370
|
classNames: { target: "px-3 py-[9px]" },
|
|
4369
4371
|
placeholder: B && h ? `Редактировать ${h}` : h || "",
|
|
4370
|
-
value:
|
|
4372
|
+
value: v,
|
|
4371
4373
|
onChange: (M) => S(M.target.value)
|
|
4372
4374
|
},
|
|
4373
|
-
icon:
|
|
4375
|
+
icon: Zt,
|
|
4374
4376
|
iconProps: { width: 20, height: 20, viewBox: "0 0 20 20" },
|
|
4375
4377
|
iconPosition: "right",
|
|
4376
4378
|
onIconClick: g
|
|
4377
4379
|
}
|
|
4378
4380
|
),
|
|
4379
4381
|
/* @__PURE__ */ e("div", { className: H.options.optionsWrapper, children: u.map((M) => {
|
|
4380
|
-
const q = B === M.value, re =
|
|
4382
|
+
const q = B === M.value, re = y === M.value;
|
|
4381
4383
|
return /* @__PURE__ */ p(
|
|
4382
4384
|
"div",
|
|
4383
4385
|
{
|
|
@@ -4386,7 +4388,7 @@ const Re = {
|
|
|
4386
4388
|
q && "opacity-50"
|
|
4387
4389
|
),
|
|
4388
4390
|
onClick: (J) => {
|
|
4389
|
-
J.stopPropagation(), J.preventDefault(), q ||
|
|
4391
|
+
J.stopPropagation(), J.preventDefault(), q || w(M.value);
|
|
4390
4392
|
},
|
|
4391
4393
|
children: [
|
|
4392
4394
|
/* @__PURE__ */ p(
|
|
@@ -4654,7 +4656,7 @@ const H = {
|
|
|
4654
4656
|
/* @__PURE__ */ e("div", { className: o(Le.actions, r == null ? void 0 : r.actions), children: a == null ? void 0 : a.map((u) => {
|
|
4655
4657
|
var b, x;
|
|
4656
4658
|
return /* @__PURE__ */ e(
|
|
4657
|
-
|
|
4659
|
+
Ct,
|
|
4658
4660
|
{
|
|
4659
4661
|
icon: u.icon,
|
|
4660
4662
|
shape: "circle",
|
|
@@ -4747,7 +4749,7 @@ const H = {
|
|
|
4747
4749
|
const s = (u == null ? void 0 : u.id) && (c == null ? void 0 : c.includes(u.id));
|
|
4748
4750
|
return /* @__PURE__ */ p("ul", { role: "listitem", className: Je.item, children: [
|
|
4749
4751
|
/* @__PURE__ */ e(
|
|
4750
|
-
|
|
4752
|
+
_r,
|
|
4751
4753
|
{
|
|
4752
4754
|
id: u.id,
|
|
4753
4755
|
text: u.text,
|
|
@@ -4812,7 +4814,7 @@ const H = {
|
|
|
4812
4814
|
),
|
|
4813
4815
|
children: [
|
|
4814
4816
|
/* @__PURE__ */ e(
|
|
4815
|
-
|
|
4817
|
+
Ct,
|
|
4816
4818
|
{
|
|
4817
4819
|
icon: Ye,
|
|
4818
4820
|
shape: "circle",
|
|
@@ -4867,7 +4869,7 @@ const H = {
|
|
|
4867
4869
|
}, Nn = [
|
|
4868
4870
|
{
|
|
4869
4871
|
id: "download",
|
|
4870
|
-
icon:
|
|
4872
|
+
icon: Dr,
|
|
4871
4873
|
iconSizes: {
|
|
4872
4874
|
width: 20,
|
|
4873
4875
|
height: 20,
|
|
@@ -4928,7 +4930,7 @@ const H = {
|
|
|
4928
4930
|
u.preventDefault(), n(!0);
|
|
4929
4931
|
}, l = (u) => {
|
|
4930
4932
|
i(u), n(!1);
|
|
4931
|
-
}, { icon: c, base: a } =
|
|
4933
|
+
}, { icon: c, base: a } = st.button.normal, { icon: f, base: h } = st.button.danger;
|
|
4932
4934
|
return /* @__PURE__ */ p(de, { open: d, onOpenChange: n, children: [
|
|
4933
4935
|
/* @__PURE__ */ e(ae, { asChild: !0, className: "cursor-pointer", children: /* @__PURE__ */ e(
|
|
4934
4936
|
"div",
|
|
@@ -4944,8 +4946,8 @@ const H = {
|
|
|
4944
4946
|
align: "center",
|
|
4945
4947
|
sideOffset: 4,
|
|
4946
4948
|
side: "top",
|
|
4947
|
-
className:
|
|
4948
|
-
children: Nn.map(({ id: u, icon: b, iconSizes: x, isDanger: s, text:
|
|
4949
|
+
className: st.wrapper,
|
|
4950
|
+
children: Nn.map(({ id: u, icon: b, iconSizes: x, isDanger: s, text: y }) => /* @__PURE__ */ e(
|
|
4949
4951
|
_,
|
|
4950
4952
|
{
|
|
4951
4953
|
"data-testid": "action",
|
|
@@ -4958,14 +4960,14 @@ const H = {
|
|
|
4958
4960
|
icon: s ? f : c,
|
|
4959
4961
|
base: s ? h : a
|
|
4960
4962
|
},
|
|
4961
|
-
children:
|
|
4963
|
+
children: y
|
|
4962
4964
|
},
|
|
4963
4965
|
u
|
|
4964
4966
|
))
|
|
4965
4967
|
}
|
|
4966
4968
|
)
|
|
4967
4969
|
] });
|
|
4968
|
-
},
|
|
4970
|
+
}, st = {
|
|
4969
4971
|
wrapper: "flex flex-col gap-3 rounded-xl p-4 w-[230px] shadow-3xl border-0",
|
|
4970
4972
|
button: {
|
|
4971
4973
|
normal: {
|
|
@@ -4978,9 +4980,9 @@ const H = {
|
|
|
4978
4980
|
}
|
|
4979
4981
|
}
|
|
4980
4982
|
}, pi = ({ tabs: t }) => {
|
|
4981
|
-
const i =
|
|
4983
|
+
const i = Xt();
|
|
4982
4984
|
return /* @__PURE__ */ e("div", { className: eo.wrapper, "data-testid": "tab-list", children: t.map(({ id: d, icon: n, label: r, isActive: l, href: c }) => /* @__PURE__ */ e(
|
|
4983
|
-
|
|
4985
|
+
Fr,
|
|
4984
4986
|
{
|
|
4985
4987
|
icon: n,
|
|
4986
4988
|
active: l,
|
|
@@ -5018,7 +5020,7 @@ const H = {
|
|
|
5018
5020
|
),
|
|
5019
5021
|
children: [
|
|
5020
5022
|
i ? u == null ? void 0 : u.name.ru : d,
|
|
5021
|
-
/* @__PURE__ */ e(
|
|
5023
|
+
/* @__PURE__ */ e(nr, { className: o(oe.icon, f && "-rotate-180") })
|
|
5022
5024
|
]
|
|
5023
5025
|
}
|
|
5024
5026
|
),
|
|
@@ -5031,7 +5033,7 @@ const H = {
|
|
|
5031
5033
|
oe.name,
|
|
5032
5034
|
i === s && "before:bg-dark-10"
|
|
5033
5035
|
),
|
|
5034
|
-
onClick: (
|
|
5036
|
+
onClick: (y) => b(y, s),
|
|
5035
5037
|
children: x.ru
|
|
5036
5038
|
}
|
|
5037
5039
|
),
|
|
@@ -5042,8 +5044,8 @@ const H = {
|
|
|
5042
5044
|
"data-testid": "edit-button",
|
|
5043
5045
|
variant: "text",
|
|
5044
5046
|
classNames: { base: "p-0" },
|
|
5045
|
-
onClick: (
|
|
5046
|
-
|
|
5047
|
+
onClick: (y) => {
|
|
5048
|
+
y.stopPropagation(), c(s);
|
|
5047
5049
|
},
|
|
5048
5050
|
children: /* @__PURE__ */ e(
|
|
5049
5051
|
Bt,
|
|
@@ -5062,8 +5064,8 @@ const H = {
|
|
|
5062
5064
|
"data-testid": "delete-button",
|
|
5063
5065
|
variant: "text",
|
|
5064
5066
|
classNames: { base: "p-0" },
|
|
5065
|
-
onClick: (
|
|
5066
|
-
|
|
5067
|
+
onClick: (y) => {
|
|
5068
|
+
y.stopPropagation(), a(s);
|
|
5067
5069
|
},
|
|
5068
5070
|
children: /* @__PURE__ */ e(
|
|
5069
5071
|
Fe,
|
|
@@ -5082,7 +5084,7 @@ const H = {
|
|
|
5082
5084
|
_,
|
|
5083
5085
|
{
|
|
5084
5086
|
variant: "text",
|
|
5085
|
-
icon:
|
|
5087
|
+
icon: Zt,
|
|
5086
5088
|
iconPosition: "left",
|
|
5087
5089
|
iconDimensions: { height: 17, width: 17, viewBox: "0 0 18 18" },
|
|
5088
5090
|
size: "medium",
|
|
@@ -5219,7 +5221,7 @@ const H = {
|
|
|
5219
5221
|
/* @__PURE__ */ e(k, { className: o(E.total, c == null ? void 0 : c.total), children: r.total }),
|
|
5220
5222
|
r.growth && /* @__PURE__ */ p("div", { className: o(E.badge, c == null ? void 0 : c.badge), children: [
|
|
5221
5223
|
/* @__PURE__ */ e(
|
|
5222
|
-
|
|
5224
|
+
mt,
|
|
5223
5225
|
{
|
|
5224
5226
|
width: 7,
|
|
5225
5227
|
height: 7,
|
|
@@ -5241,9 +5243,9 @@ const H = {
|
|
|
5241
5243
|
] })
|
|
5242
5244
|
] }),
|
|
5243
5245
|
i === "chart" && /* @__PURE__ */ e(
|
|
5244
|
-
|
|
5246
|
+
ot,
|
|
5245
5247
|
{
|
|
5246
|
-
echarts:
|
|
5248
|
+
echarts: it,
|
|
5247
5249
|
option: u,
|
|
5248
5250
|
style: { height: 250 }
|
|
5249
5251
|
}
|
|
@@ -5255,12 +5257,12 @@ const H = {
|
|
|
5255
5257
|
className: o(E.progress.line, (x = c == null ? void 0 : c.progress) == null ? void 0 : x.line)
|
|
5256
5258
|
}
|
|
5257
5259
|
),
|
|
5258
|
-
h.map(({ name: s, value:
|
|
5259
|
-
var
|
|
5260
|
+
h.map(({ name: s, value: y }, w) => {
|
|
5261
|
+
var v, S, B;
|
|
5260
5262
|
return /* @__PURE__ */ p(
|
|
5261
5263
|
"div",
|
|
5262
5264
|
{
|
|
5263
|
-
className: o(E.progress.row, (
|
|
5265
|
+
className: o(E.progress.row, (v = c == null ? void 0 : c.progress) == null ? void 0 : v.row),
|
|
5264
5266
|
children: [
|
|
5265
5267
|
/* @__PURE__ */ e(
|
|
5266
5268
|
k,
|
|
@@ -5273,11 +5275,11 @@ const H = {
|
|
|
5273
5275
|
}
|
|
5274
5276
|
),
|
|
5275
5277
|
/* @__PURE__ */ e(
|
|
5276
|
-
|
|
5278
|
+
cr,
|
|
5277
5279
|
{
|
|
5278
|
-
value:
|
|
5280
|
+
value: y,
|
|
5279
5281
|
total: r.total,
|
|
5280
|
-
color: l[
|
|
5282
|
+
color: l[w],
|
|
5281
5283
|
classNames: {
|
|
5282
5284
|
bar: E.progress.bar,
|
|
5283
5285
|
indicator: E.progress.indicator
|
|
@@ -5291,7 +5293,7 @@ const H = {
|
|
|
5291
5293
|
E.progress.value,
|
|
5292
5294
|
(B = c == null ? void 0 : c.progress) == null ? void 0 : B.value
|
|
5293
5295
|
),
|
|
5294
|
-
children:
|
|
5296
|
+
children: y
|
|
5295
5297
|
}
|
|
5296
5298
|
)
|
|
5297
5299
|
]
|
|
@@ -5376,7 +5378,7 @@ const H = {
|
|
|
5376
5378
|
allWhite: f = !1,
|
|
5377
5379
|
arrowDown: h = !1,
|
|
5378
5380
|
icon: u = null
|
|
5379
|
-
} = n ?? {}, b = f ? "#ffffff" : a, x = d === "payment" ?
|
|
5381
|
+
} = n ?? {}, b = f ? "#ffffff" : a, x = d === "payment" ? Ir(t.total) : t.total, s = no(d), y = oo(d, b);
|
|
5380
5382
|
return /* @__PURE__ */ p(
|
|
5381
5383
|
"div",
|
|
5382
5384
|
{
|
|
@@ -5411,7 +5413,7 @@ const H = {
|
|
|
5411
5413
|
d === "payment" && /* @__PURE__ */ e(k, { className: ie.payment, children: "Сум" }),
|
|
5412
5414
|
d === "count" && /* @__PURE__ */ p("div", { className: o(ie.badge, r == null ? void 0 : r.badge), children: [
|
|
5413
5415
|
/* @__PURE__ */ e(
|
|
5414
|
-
|
|
5416
|
+
mt,
|
|
5415
5417
|
{
|
|
5416
5418
|
width: 7,
|
|
5417
5419
|
height: 7,
|
|
@@ -5436,7 +5438,7 @@ const H = {
|
|
|
5436
5438
|
style: { color: b },
|
|
5437
5439
|
children: [
|
|
5438
5440
|
/* @__PURE__ */ e(
|
|
5439
|
-
|
|
5441
|
+
mt,
|
|
5440
5442
|
{
|
|
5441
5443
|
width: 16,
|
|
5442
5444
|
height: 16,
|
|
@@ -5452,10 +5454,10 @@ const H = {
|
|
|
5452
5454
|
),
|
|
5453
5455
|
d === "stat" && /* @__PURE__ */ e("div", { className: o(ie.icon, r == null ? void 0 : r.icon), children: u }),
|
|
5454
5456
|
s && /* @__PURE__ */ e(
|
|
5455
|
-
|
|
5457
|
+
ot,
|
|
5456
5458
|
{
|
|
5457
|
-
echarts:
|
|
5458
|
-
option:
|
|
5459
|
+
echarts: it,
|
|
5460
|
+
option: y,
|
|
5459
5461
|
style: {
|
|
5460
5462
|
...s,
|
|
5461
5463
|
position: "absolute",
|
|
@@ -5544,7 +5546,7 @@ const H = {
|
|
|
5544
5546
|
classNames: { title: ze.title, wrapper: "items-center" }
|
|
5545
5547
|
}
|
|
5546
5548
|
),
|
|
5547
|
-
t === "master" && f && c && /* @__PURE__ */ p(
|
|
5549
|
+
t === "master" && f && c && /* @__PURE__ */ p(vt, { children: [
|
|
5548
5550
|
/* @__PURE__ */ e(
|
|
5549
5551
|
jt,
|
|
5550
5552
|
{
|
|
@@ -5556,9 +5558,9 @@ const H = {
|
|
|
5556
5558
|
}
|
|
5557
5559
|
}
|
|
5558
5560
|
),
|
|
5559
|
-
/* @__PURE__ */ e(
|
|
5561
|
+
/* @__PURE__ */ e(lr, { rating: c, position: "right" })
|
|
5560
5562
|
] }),
|
|
5561
|
-
t === "service" && l && /* @__PURE__ */ p(
|
|
5563
|
+
t === "service" && l && /* @__PURE__ */ p(vt, { children: [
|
|
5562
5564
|
/* @__PURE__ */ e(
|
|
5563
5565
|
Ge,
|
|
5564
5566
|
{
|
|
@@ -5589,9 +5591,9 @@ const H = {
|
|
|
5589
5591
|
)
|
|
5590
5592
|
] }),
|
|
5591
5593
|
/* @__PURE__ */ e(
|
|
5592
|
-
|
|
5594
|
+
ot,
|
|
5593
5595
|
{
|
|
5594
|
-
echarts:
|
|
5596
|
+
echarts: it,
|
|
5595
5597
|
option: b,
|
|
5596
5598
|
style: { height: 135, width: 135 }
|
|
5597
5599
|
}
|
|
@@ -5609,7 +5611,7 @@ const H = {
|
|
|
5609
5611
|
}, ao = (t, i) => {
|
|
5610
5612
|
const d = i - t;
|
|
5611
5613
|
return d >= 1 ? 100 : d > 0 ? d * 100 : 0;
|
|
5612
|
-
},
|
|
5614
|
+
}, lr = ({
|
|
5613
5615
|
rating: t,
|
|
5614
5616
|
classNames: i,
|
|
5615
5617
|
position: d = "left",
|
|
@@ -5777,9 +5779,9 @@ const H = {
|
|
|
5777
5779
|
}) })
|
|
5778
5780
|
] }),
|
|
5779
5781
|
/* @__PURE__ */ e("div", { className: o(N.chartBlock, r == null ? void 0 : r.chartBlock), children: a.map((h, u) => /* @__PURE__ */ e(
|
|
5780
|
-
|
|
5782
|
+
ot,
|
|
5781
5783
|
{
|
|
5782
|
-
echarts:
|
|
5784
|
+
echarts: it,
|
|
5783
5785
|
"data-testid": "chart",
|
|
5784
5786
|
option: lo({
|
|
5785
5787
|
total: d.total,
|
|
@@ -5847,23 +5849,23 @@ const H = {
|
|
|
5847
5849
|
}
|
|
5848
5850
|
)
|
|
5849
5851
|
] }),
|
|
5850
|
-
/* @__PURE__ */ e("div", { className: o(Ie.bar.block, (u = c == null ? void 0 : c.bar) == null ? void 0 : u.block), children: h.map(({ label: b, value: x, color: s },
|
|
5851
|
-
var
|
|
5852
|
+
/* @__PURE__ */ e("div", { className: o(Ie.bar.block, (u = c == null ? void 0 : c.bar) == null ? void 0 : u.block), children: h.map(({ label: b, value: x, color: s }, y) => {
|
|
5853
|
+
var w;
|
|
5852
5854
|
return /* @__PURE__ */ p("div", { children: [
|
|
5853
|
-
/* @__PURE__ */ p("div", { className: o(Ie.bar.text, (
|
|
5855
|
+
/* @__PURE__ */ p("div", { className: o(Ie.bar.text, (w = c == null ? void 0 : c.bar) == null ? void 0 : w.text), children: [
|
|
5854
5856
|
/* @__PURE__ */ e(k, { children: b }),
|
|
5855
|
-
/* @__PURE__ */ p(k, { className: o(
|
|
5857
|
+
/* @__PURE__ */ p(k, { className: o(y === 2 && "text-danger-10"), children: [
|
|
5856
5858
|
x,
|
|
5857
5859
|
" сум"
|
|
5858
5860
|
] })
|
|
5859
5861
|
] }),
|
|
5860
5862
|
/* @__PURE__ */ e(
|
|
5861
|
-
|
|
5863
|
+
cr,
|
|
5862
5864
|
{
|
|
5863
5865
|
value: x,
|
|
5864
5866
|
total: l,
|
|
5865
5867
|
color: s,
|
|
5866
|
-
classNames: { bar: `${
|
|
5868
|
+
classNames: { bar: `${y === 0 && "h-9"}` }
|
|
5867
5869
|
}
|
|
5868
5870
|
)
|
|
5869
5871
|
] }, b);
|
|
@@ -5883,7 +5885,7 @@ const H = {
|
|
|
5883
5885
|
bar: "w-full bg-gray-50 rounded-md overflow-hidden h-7",
|
|
5884
5886
|
indicator: "h-full rounded-md"
|
|
5885
5887
|
}
|
|
5886
|
-
},
|
|
5888
|
+
}, cr = ({
|
|
5887
5889
|
value: t,
|
|
5888
5890
|
total: i,
|
|
5889
5891
|
color: d,
|
|
@@ -5925,7 +5927,7 @@ export {
|
|
|
5925
5927
|
di as ChatList,
|
|
5926
5928
|
ai as ChatMessage,
|
|
5927
5929
|
ii as ChatSidebar,
|
|
5928
|
-
|
|
5930
|
+
ir as CheckboxGroup,
|
|
5929
5931
|
Ho as CommentInput,
|
|
5930
5932
|
Oo as CommentList,
|
|
5931
5933
|
Ko as DateOfBirth,
|
|
@@ -5951,15 +5953,15 @@ export {
|
|
|
5951
5953
|
ri as PaymentCard,
|
|
5952
5954
|
Eo as PhoneInput,
|
|
5953
5955
|
Vo as Plate,
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5956
|
+
cr as ProgressItem,
|
|
5957
|
+
dr as RadioGroup,
|
|
5958
|
+
lr as Rating,
|
|
5957
5959
|
Cn as SearchInput,
|
|
5958
5960
|
ei as SelectGroup,
|
|
5959
5961
|
Kn as SelectList,
|
|
5960
5962
|
oi as ServiceOrders,
|
|
5961
5963
|
Yo as Sidebar,
|
|
5962
|
-
|
|
5964
|
+
ar as StatusSelect,
|
|
5963
5965
|
Po as Stepper,
|
|
5964
5966
|
qo as TabGroup,
|
|
5965
5967
|
pi as TabList,
|
|
@@ -5997,16 +5999,16 @@ export {
|
|
|
5997
5999
|
De as dragAndDropTokens,
|
|
5998
6000
|
Ft as dropdownTokens,
|
|
5999
6001
|
Y as fileUploaderTokens,
|
|
6000
|
-
|
|
6002
|
+
ft as filterTableTokens,
|
|
6001
6003
|
oe as floorSelectTokens,
|
|
6002
6004
|
$t as iconTitleTokens,
|
|
6003
6005
|
Ze as inputGroupTokens,
|
|
6004
6006
|
Rt as labelWithValueTokens,
|
|
6005
|
-
|
|
6007
|
+
bt as languagesTokens,
|
|
6006
6008
|
Zn as linkTokens,
|
|
6007
|
-
|
|
6009
|
+
st as messageSettingsTokens,
|
|
6008
6010
|
A as multiSelectTokens,
|
|
6009
|
-
|
|
6011
|
+
xt as navButtonTokens,
|
|
6010
6012
|
kn as passwordInputTokens,
|
|
6011
6013
|
X as paymentCardTokens,
|
|
6012
6014
|
Se as phoneInputTokens,
|
|
@@ -6027,5 +6029,5 @@ export {
|
|
|
6027
6029
|
Ot as textareaGroupTokens,
|
|
6028
6030
|
Vn as toggleGroupTokens,
|
|
6029
6031
|
ve as uploadInputTokens,
|
|
6030
|
-
|
|
6032
|
+
gt as userContactTokens
|
|
6031
6033
|
};
|