konsolpro-custom-ui 0.0.336 → 0.0.337
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/uploader-B-BmspDu.js +28819 -0
- package/dist/lib/index.js +189 -188
- package/dist/lib/ui/accordion.js +31 -31
- package/dist/lib/ui/alert.js +1 -1
- package/dist/lib/ui/autocomplete.js +3 -3
- package/dist/lib/ui/banner.js +8 -0
- package/dist/lib/ui/button.js +1 -1
- package/dist/lib/ui/calendar.js +1 -1
- package/dist/lib/ui/combobox-base/combobox-base.js +2 -2
- package/dist/lib/ui/combobox-base/index.js +1 -1
- package/dist/lib/ui/combobox-multiselect/combobox-multiselect.js +1 -1
- package/dist/lib/ui/combobox-multiselect/index.js +1 -1
- package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +1 -1
- package/dist/lib/ui/combobox-primitive/components/index.js +3 -3
- package/dist/lib/ui/combobox-primitive/index.js +5 -5
- package/dist/lib/ui/combobox.js +1 -1
- package/dist/lib/ui/date-picker.js +15 -15
- package/dist/lib/ui/date-range-picker.js +53 -53
- package/dist/lib/ui/dialog/dialog-base/dialog-base.js +1 -1
- package/dist/lib/ui/dialog/dialog-base/index.js +1 -1
- package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +1 -1
- package/dist/lib/ui/dialog/dialog-primitive/index.js +2 -2
- package/dist/lib/ui/dialog/index.js +2 -2
- package/dist/lib/ui/dropdown.js +1 -1
- package/dist/lib/ui/input-number/index.js +2 -2
- package/dist/lib/ui/input-number/input-number.js +1 -1
- package/dist/lib/ui/input.js +1 -1
- package/dist/lib/ui/masked-input.js +1 -1
- package/dist/lib/ui/modal.js +1 -1
- package/dist/lib/ui/otp-input.js +1 -1
- package/dist/lib/ui/pagination/pagination.js +7 -7
- package/dist/lib/ui/phone-input/phone-input.js +5 -5
- package/dist/lib/ui/radio.js +1 -1
- package/dist/lib/ui/schedule-calendar/calendar-day-card.js +1 -1
- package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +1 -1
- package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +6 -6
- package/dist/lib/ui/schedule-calendar/schedule-header.js +20 -20
- package/dist/lib/ui/select.js +1 -1
- package/dist/lib/ui/stepper.js +1 -1
- package/dist/lib/ui/table/table-body.js +1 -1
- package/dist/lib/ui/table/table-settings.js +1 -1
- package/dist/lib/ui/textarea.js +1 -1
- package/dist/lib/ui/time-picker.js +1 -1
- package/dist/lib/ui/time-range-picker.js +3 -3
- package/dist/lib/ui/timeline.js +1 -1
- package/dist/lib/ui/typography.js +1 -1
- package/dist/lib/ui/uploader.js +1 -1
- package/dist/styles/konsolpro-custom-ui.css +1 -1
- package/dist/styles/variables.css +20 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/ui/banner.d.ts +12 -0
- package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/uploader-CJhU85NW.js +0 -28659
package/dist/lib/ui/button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../chunks/index-CN5JEZ5H.js";
|
|
4
4
|
import "../../chunks/index-BO6p208a.js";
|
|
5
5
|
import "../icon/icon.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as H, b as I } from "../../chunks/uploader-B-BmspDu.js";
|
|
7
7
|
import "../icon-banks/icons-banks.js";
|
|
8
8
|
import "../icon-documents/icons-document.js";
|
|
9
9
|
import "../../chunks/utils-TbLXCoKm.js";
|
package/dist/lib/ui/calendar.js
CHANGED
|
@@ -19,7 +19,7 @@ var f = (e, r) => {
|
|
|
19
19
|
return t;
|
|
20
20
|
};
|
|
21
21
|
import { jsx as u, jsxs as _ } from "react/jsx-runtime";
|
|
22
|
-
import {
|
|
22
|
+
import { a1 as w, Z as v, b as k } from "../../chunks/uploader-B-BmspDu.js";
|
|
23
23
|
import { c as o } from "../../chunks/utils-TbLXCoKm.js";
|
|
24
24
|
import { Icon as b } from "../icon/icon.js";
|
|
25
25
|
import { f as x } from "../../chunks/format-DoKcg9cH.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../combobox-primitive/combobox-primitive-context.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as C } from "../../../chunks/uploader-B-BmspDu.js";
|
|
5
5
|
import "../combobox-primitive/components/combobox-container.js";
|
|
6
6
|
import "../combobox-primitive/components/combobox-input.js";
|
|
7
7
|
import "../combobox-primitive/components/combobox-item-renderer.js";
|
|
@@ -12,5 +12,5 @@ import "../combobox-primitive/components/list.js";
|
|
|
12
12
|
import "../combobox-primitive/hooks.js";
|
|
13
13
|
import "../combobox-primitive/utils.js";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
C as ComboboxBase
|
|
16
16
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../icon/icon.js";
|
|
4
4
|
import "../combobox-primitive/combobox-primitive-context.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as k } from "../../../chunks/uploader-B-BmspDu.js";
|
|
6
6
|
import "../combobox-primitive/components/combobox-container.js";
|
|
7
7
|
import "../combobox-primitive/components/combobox-input.js";
|
|
8
8
|
import "../combobox-primitive/components/combobox-item-renderer.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e } from "../../../../chunks/uploader-B-BmspDu.js";
|
|
2
2
|
import { ComboboxContainer as t } from "./combobox-container.js";
|
|
3
3
|
import { ComboboxInput as b } from "./combobox-input.js";
|
|
4
4
|
import { ComboboxItemRenderer as f } from "./combobox-item-renderer.js";
|
|
5
5
|
import { ComboboxMenu as C } from "./combobox-menu.js";
|
|
6
6
|
import { Item as I } from "./Item.js";
|
|
7
7
|
import { ItemView as a } from "./item-view.js";
|
|
8
|
-
import { List as
|
|
8
|
+
import { List as c } from "./list.js";
|
|
9
9
|
export {
|
|
10
10
|
e as ComboboxActions,
|
|
11
11
|
t as ComboboxContainer,
|
|
@@ -14,5 +14,5 @@ export {
|
|
|
14
14
|
C as ComboboxMenu,
|
|
15
15
|
I as Item,
|
|
16
16
|
a as ItemView,
|
|
17
|
-
|
|
17
|
+
c as List
|
|
18
18
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComboboxPrimitiveProvider as e, useComboboxPrimitiveContext as m } from "./combobox-primitive-context.js";
|
|
2
|
-
import {
|
|
2
|
+
import { e as x } from "../../../chunks/uploader-B-BmspDu.js";
|
|
3
3
|
import { ComboboxContainer as i } from "./components/combobox-container.js";
|
|
4
4
|
import { ComboboxInput as f } from "./components/combobox-input.js";
|
|
5
5
|
import { ComboboxItemRenderer as n } from "./components/combobox-item-renderer.js";
|
|
6
6
|
import { ComboboxMenu as I } from "./components/combobox-menu.js";
|
|
7
|
-
import { Item as
|
|
8
|
-
import { ItemView as
|
|
7
|
+
import { Item as v } from "./components/Item.js";
|
|
8
|
+
import { ItemView as a } from "./components/item-view.js";
|
|
9
9
|
import { List as c } from "./components/list.js";
|
|
10
10
|
export {
|
|
11
11
|
x as ComboboxActions,
|
|
@@ -14,8 +14,8 @@ export {
|
|
|
14
14
|
n as ComboboxItemRenderer,
|
|
15
15
|
I as ComboboxMenu,
|
|
16
16
|
e as ComboboxPrimitiveProvider,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
v as Item,
|
|
18
|
+
a as ItemView,
|
|
19
19
|
c as List,
|
|
20
20
|
m as useComboboxPrimitiveContext
|
|
21
21
|
};
|
package/dist/lib/ui/combobox.js
CHANGED
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../chunks/popover-kFSgc5Lv.js";
|
|
4
4
|
import "../../chunks/utils-TbLXCoKm.js";
|
|
5
5
|
import "../icon/icon.js";
|
|
6
|
-
import { C as x } from "../../chunks/uploader-
|
|
6
|
+
import { C as x } from "../../chunks/uploader-B-BmspDu.js";
|
|
7
7
|
export {
|
|
8
8
|
x as Combobox
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { Z as c, r as F, y as E, a as u, t as T, u as B, x as H, a0 as Z } from "../../chunks/uploader-B-BmspDu.js";
|
|
4
4
|
import { Calendar as I } from "./calendar.js";
|
|
5
|
-
import { P as
|
|
5
|
+
import { P as q, c as A, b as G } from "../../chunks/popover-kFSgc5Lv.js";
|
|
6
6
|
import { Icon as m } from "../icon/icon.js";
|
|
7
7
|
import "../icon-banks/icons-banks.js";
|
|
8
8
|
import "../icon-documents/icons-document.js";
|
|
@@ -32,7 +32,7 @@ import "./toaster.js";
|
|
|
32
32
|
import "../../chunks/tooltip-BxRtZLBR.js";
|
|
33
33
|
import { r as p } from "../../chunks/ru-CUCVR8Pn.js";
|
|
34
34
|
import { f as M } from "../../chunks/format-DoKcg9cH.js";
|
|
35
|
-
function
|
|
35
|
+
function ye({
|
|
36
36
|
date: n,
|
|
37
37
|
onSelect: s,
|
|
38
38
|
disabled: i = !1,
|
|
@@ -41,13 +41,13 @@ function we({
|
|
|
41
41
|
size: l = "md",
|
|
42
42
|
error: e,
|
|
43
43
|
caption: N,
|
|
44
|
-
label:
|
|
45
|
-
showResetButton:
|
|
44
|
+
label: y,
|
|
45
|
+
showResetButton: w = !0,
|
|
46
46
|
onReset: f,
|
|
47
47
|
disabledDays: C,
|
|
48
48
|
"data-testid": k
|
|
49
49
|
}) {
|
|
50
|
-
const [o, x] = h.useState(n), D =
|
|
50
|
+
const [o, x] = h.useState(n), D = Z(), [r, g] = h.useState(!1);
|
|
51
51
|
h.useEffect(() => {
|
|
52
52
|
n !== o && x(n);
|
|
53
53
|
}, [n]);
|
|
@@ -66,7 +66,7 @@ function we({
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
return /* @__PURE__ */ d("div", { className: _, children: [
|
|
69
|
-
|
|
69
|
+
y && /* @__PURE__ */ t(
|
|
70
70
|
c,
|
|
71
71
|
{
|
|
72
72
|
variant: "p3",
|
|
@@ -75,7 +75,7 @@ function we({
|
|
|
75
75
|
"text-[14px]": l === "md",
|
|
76
76
|
"text-[16px]": l === "lg"
|
|
77
77
|
}),
|
|
78
|
-
children:
|
|
78
|
+
children: y
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
81
|
D === "mobile" ? /* @__PURE__ */ d(
|
|
@@ -148,7 +148,7 @@ function we({
|
|
|
148
148
|
}
|
|
149
149
|
) }),
|
|
150
150
|
/* @__PURE__ */ d(T, { className: "w-full pb-0", children: [
|
|
151
|
-
/* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(
|
|
151
|
+
/* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(H, { className: "m-0 mb-5 p-0 text-left", children: /* @__PURE__ */ t(c, { variant: "h2", className: "font-graphik", children: "Выберите дату" }) }) }),
|
|
152
152
|
/* @__PURE__ */ t(
|
|
153
153
|
I,
|
|
154
154
|
{
|
|
@@ -162,7 +162,7 @@ function we({
|
|
|
162
162
|
disabled: C
|
|
163
163
|
}
|
|
164
164
|
),
|
|
165
|
-
|
|
165
|
+
w && /* @__PURE__ */ t("div", { className: "flex h-[64px] items-center justify-center", children: /* @__PURE__ */ t(
|
|
166
166
|
u,
|
|
167
167
|
{
|
|
168
168
|
onClick: j,
|
|
@@ -176,12 +176,12 @@ function we({
|
|
|
176
176
|
]
|
|
177
177
|
}
|
|
178
178
|
) : /* @__PURE__ */ d(
|
|
179
|
-
|
|
179
|
+
q,
|
|
180
180
|
{
|
|
181
181
|
open: r,
|
|
182
182
|
onOpenChange: i ? void 0 : g,
|
|
183
183
|
children: [
|
|
184
|
-
/* @__PURE__ */ t(
|
|
184
|
+
/* @__PURE__ */ t(A, { asChild: !0, children: /* @__PURE__ */ t(
|
|
185
185
|
u,
|
|
186
186
|
{
|
|
187
187
|
variant: "dashed",
|
|
@@ -244,7 +244,7 @@ function we({
|
|
|
244
244
|
}
|
|
245
245
|
) }),
|
|
246
246
|
/* @__PURE__ */ d(
|
|
247
|
-
|
|
247
|
+
G,
|
|
248
248
|
{
|
|
249
249
|
className: "w-auto rounded-xl p-0 shadow-[0_2px_10px_rgba(0,0,0,0.1)]",
|
|
250
250
|
align: "start",
|
|
@@ -262,7 +262,7 @@ function we({
|
|
|
262
262
|
disabled: C
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
|
-
|
|
265
|
+
w && /* @__PURE__ */ t("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ t(
|
|
266
266
|
u,
|
|
267
267
|
{
|
|
268
268
|
onClick: j,
|
|
@@ -284,5 +284,5 @@ function we({
|
|
|
284
284
|
] });
|
|
285
285
|
}
|
|
286
286
|
export {
|
|
287
|
-
|
|
287
|
+
ye as DatePicker
|
|
288
288
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var X = Object.defineProperty,
|
|
1
|
+
var X = Object.defineProperty, Y = Object.defineProperties;
|
|
2
2
|
var D = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var y = Object.getOwnPropertySymbols;
|
|
4
|
+
var Z = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var U = (e, s, i) => s in e ? X(e, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[s] = i, G = (e, s) => {
|
|
6
6
|
for (var i in s || (s = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
Z.call(s, i) && U(e, i, s[i]);
|
|
8
|
+
if (y)
|
|
9
|
+
for (var i of y(s))
|
|
10
|
+
q.call(s, i) && U(e, i, s[i]);
|
|
11
11
|
return e;
|
|
12
|
-
}, J = (e, s) =>
|
|
12
|
+
}, J = (e, s) => Y(e, D(s));
|
|
13
13
|
var K = (e, s) => {
|
|
14
14
|
var i = {};
|
|
15
15
|
for (var c in e)
|
|
16
|
-
|
|
17
|
-
if (e != null &&
|
|
18
|
-
for (var c of
|
|
19
|
-
s.indexOf(c) < 0 &&
|
|
16
|
+
Z.call(e, c) && s.indexOf(c) < 0 && (i[c] = e[c]);
|
|
17
|
+
if (e != null && y)
|
|
18
|
+
for (var c of y(e))
|
|
19
|
+
s.indexOf(c) < 0 && q.call(e, c) && (i[c] = e[c]);
|
|
20
20
|
return i;
|
|
21
21
|
};
|
|
22
|
-
import { jsxs as
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
22
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
23
|
+
import N from "react";
|
|
24
|
+
import { Z as E, r as rr, y as tr, a as w, t as er, u as or, x as sr, a0 as ir } from "../../chunks/uploader-B-BmspDu.js";
|
|
25
25
|
import { Calendar as Q } from "./calendar.js";
|
|
26
26
|
import { P as nr, c as cr, b as dr } from "../../chunks/popover-kFSgc5Lv.js";
|
|
27
27
|
import { Icon as g } from "../icon/icon.js";
|
|
@@ -51,7 +51,7 @@ import "./tag.js";
|
|
|
51
51
|
import "./toaster.js";
|
|
52
52
|
import "../../chunks/tooltip-BxRtZLBR.js";
|
|
53
53
|
import { translations as lr } from "./date-range-picker/constants.js";
|
|
54
|
-
import { tg as
|
|
54
|
+
import { tg as ar, uz as ur } from "./date-range-picker/locales.js";
|
|
55
55
|
import { f as M, e as mr } from "../../chunks/format-DoKcg9cH.js";
|
|
56
56
|
import { r as fr } from "../../chunks/ru-CUCVR8Pn.js";
|
|
57
57
|
function xr(e) {
|
|
@@ -59,9 +59,9 @@ function xr(e) {
|
|
|
59
59
|
case "en":
|
|
60
60
|
return mr;
|
|
61
61
|
case "uz":
|
|
62
|
-
return ar;
|
|
63
|
-
case "tg":
|
|
64
62
|
return ur;
|
|
63
|
+
case "tg":
|
|
64
|
+
return ar;
|
|
65
65
|
case "ru":
|
|
66
66
|
default:
|
|
67
67
|
return fr;
|
|
@@ -99,26 +99,26 @@ function et(pr) {
|
|
|
99
99
|
"disabledDays",
|
|
100
100
|
"data-testid"
|
|
101
101
|
]);
|
|
102
|
-
const [r, T] =
|
|
102
|
+
const [r, T] = N.useState(s), [m, j] = N.useState(!1), C = ir(), h = lr[i], p = xr(i), v = {
|
|
103
103
|
from: (x == null ? void 0 : x.from) || h.placeholder,
|
|
104
104
|
to: (x == null ? void 0 : x.to) || h.placeholder
|
|
105
|
-
}, V =
|
|
106
|
-
const
|
|
105
|
+
}, V = N.useMemo(() => {
|
|
106
|
+
const a = (b) => typeof b == "string", k = (b) => typeof b == "object" && b !== null;
|
|
107
107
|
return {
|
|
108
|
-
hasAnyError: () => o ?
|
|
109
|
-
hasFromError: () =>
|
|
110
|
-
hasToError: () =>
|
|
111
|
-
getErrorText: () =>
|
|
108
|
+
hasAnyError: () => o ? a(o) ? !0 : !!(o.from || o.to) : !1,
|
|
109
|
+
hasFromError: () => a(o) ? !0 : k(o) && !!o.from,
|
|
110
|
+
hasToError: () => a(o) ? !0 : k(o) && !!o.to,
|
|
111
|
+
getErrorText: () => a(o) ? o : k(o) ? o.from && o.to ? `${o.from}, ${o.to}` : o.from || o.to || "" : ""
|
|
112
112
|
};
|
|
113
|
-
}, [o]), { hasAnyError: d, hasFromError:
|
|
114
|
-
|
|
113
|
+
}, [o]), { hasAnyError: d, hasFromError: L, hasToError: $, getErrorText: W } = V;
|
|
114
|
+
N.useEffect(() => {
|
|
115
115
|
T(s);
|
|
116
116
|
}, [s]);
|
|
117
|
-
const
|
|
118
|
-
T(
|
|
119
|
-
},
|
|
117
|
+
const z = (a) => {
|
|
118
|
+
T(a), c == null || c(a), a != null && a.from && (a != null && a.to) && C === "mobile" && j(!1);
|
|
119
|
+
}, B = () => {
|
|
120
120
|
T(void 0), c == null || c(void 0), F == null || F();
|
|
121
|
-
},
|
|
121
|
+
}, H = () => {
|
|
122
122
|
switch (f) {
|
|
123
123
|
case "md":
|
|
124
124
|
return "rounded-lg";
|
|
@@ -128,7 +128,7 @@ function et(pr) {
|
|
|
128
128
|
return "rounded-lg";
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ u("div", J(G({ className: e }, R), { children: [
|
|
132
132
|
O && /* @__PURE__ */ t(
|
|
133
133
|
E,
|
|
134
134
|
{
|
|
@@ -141,7 +141,7 @@ function et(pr) {
|
|
|
141
141
|
children: O
|
|
142
142
|
}
|
|
143
143
|
),
|
|
144
|
-
C === "mobile" ? /* @__PURE__ */
|
|
144
|
+
C === "mobile" ? /* @__PURE__ */ u(rr, { open: m, onOpenChange: j, children: [
|
|
145
145
|
/* @__PURE__ */ t(tr, { asChild: !0, children: /* @__PURE__ */ t(
|
|
146
146
|
w,
|
|
147
147
|
{
|
|
@@ -151,7 +151,7 @@ function et(pr) {
|
|
|
151
151
|
iconPosition: "end",
|
|
152
152
|
className: l(
|
|
153
153
|
"group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
|
|
154
|
-
|
|
154
|
+
H(),
|
|
155
155
|
f === "lg" ? "px-3" : "px-2.5",
|
|
156
156
|
d() ? "hover:text-destructive" : "",
|
|
157
157
|
{
|
|
@@ -165,8 +165,8 @@ function et(pr) {
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
"data-testid": A,
|
|
168
|
-
children: /* @__PURE__ */
|
|
169
|
-
/* @__PURE__ */
|
|
168
|
+
children: /* @__PURE__ */ u("div", { className: "flex w-full items-center", children: [
|
|
169
|
+
/* @__PURE__ */ u(
|
|
170
170
|
"div",
|
|
171
171
|
{
|
|
172
172
|
className: l(
|
|
@@ -180,7 +180,7 @@ function et(pr) {
|
|
|
180
180
|
{
|
|
181
181
|
className: l(
|
|
182
182
|
"flex-1 text-left",
|
|
183
|
-
|
|
183
|
+
L() && "text-destructive"
|
|
184
184
|
),
|
|
185
185
|
children: r != null && r.from ? M(r.from, "dd.MM.yyyy", {
|
|
186
186
|
locale: p
|
|
@@ -193,7 +193,7 @@ function et(pr) {
|
|
|
193
193
|
{
|
|
194
194
|
className: l(
|
|
195
195
|
"flex-1 text-left",
|
|
196
|
-
|
|
196
|
+
$() && "text-destructive"
|
|
197
197
|
),
|
|
198
198
|
children: r != null && r.to ? M(r.to, "dd.MM.yyyy", {
|
|
199
199
|
locale: p
|
|
@@ -203,7 +203,7 @@ function et(pr) {
|
|
|
203
203
|
]
|
|
204
204
|
}
|
|
205
205
|
),
|
|
206
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ u("div", { className: "ml-2 flex items-center gap-1.5", children: [
|
|
207
207
|
/* @__PURE__ */ t(
|
|
208
208
|
g,
|
|
209
209
|
{
|
|
@@ -230,7 +230,7 @@ function et(pr) {
|
|
|
230
230
|
] })
|
|
231
231
|
}
|
|
232
232
|
) }),
|
|
233
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ u(er, { className: "w-full", children: [
|
|
234
234
|
/* @__PURE__ */ t(or, { children: /* @__PURE__ */ t(sr, { className: "m-0 mb-5 p-0 text-left", children: /* @__PURE__ */ t(E, { variant: "h2", className: "font-graphik", children: h.selectPeriod }) }) }),
|
|
235
235
|
/* @__PURE__ */ t(
|
|
236
236
|
Q,
|
|
@@ -240,7 +240,7 @@ function et(pr) {
|
|
|
240
240
|
defaultMonth: r == null ? void 0 : r.from,
|
|
241
241
|
selected: r,
|
|
242
242
|
className: "mt-3",
|
|
243
|
-
onSelect:
|
|
243
|
+
onSelect: z,
|
|
244
244
|
numberOfMonths: 1,
|
|
245
245
|
locale: p,
|
|
246
246
|
disabled: S
|
|
@@ -249,7 +249,7 @@ function et(pr) {
|
|
|
249
249
|
I && /* @__PURE__ */ t("div", { className: "flex h-[44px] items-center justify-center", children: /* @__PURE__ */ t(
|
|
250
250
|
w,
|
|
251
251
|
{
|
|
252
|
-
onClick:
|
|
252
|
+
onClick: B,
|
|
253
253
|
variant: "text",
|
|
254
254
|
className: "w-full",
|
|
255
255
|
disabled: !(r != null && r.from) && !(r != null && r.to),
|
|
@@ -257,7 +257,7 @@ function et(pr) {
|
|
|
257
257
|
}
|
|
258
258
|
) })
|
|
259
259
|
] })
|
|
260
|
-
] }) : /* @__PURE__ */
|
|
260
|
+
] }) : /* @__PURE__ */ u(nr, { open: m, onOpenChange: j, children: [
|
|
261
261
|
/* @__PURE__ */ t(cr, { asChild: !0, children: /* @__PURE__ */ t(
|
|
262
262
|
w,
|
|
263
263
|
{
|
|
@@ -267,7 +267,7 @@ function et(pr) {
|
|
|
267
267
|
iconPosition: "end",
|
|
268
268
|
className: l(
|
|
269
269
|
"group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
|
|
270
|
-
|
|
270
|
+
H(),
|
|
271
271
|
f === "lg" ? "px-3" : "px-2.5",
|
|
272
272
|
d() ? "hover:text-destructive" : "",
|
|
273
273
|
{
|
|
@@ -281,8 +281,8 @@ function et(pr) {
|
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
283
|
"data-testid": A,
|
|
284
|
-
children: /* @__PURE__ */
|
|
285
|
-
/* @__PURE__ */
|
|
284
|
+
children: /* @__PURE__ */ u("div", { className: "flex w-full items-center", children: [
|
|
285
|
+
/* @__PURE__ */ u(
|
|
286
286
|
"div",
|
|
287
287
|
{
|
|
288
288
|
className: l(
|
|
@@ -296,7 +296,7 @@ function et(pr) {
|
|
|
296
296
|
{
|
|
297
297
|
className: l(
|
|
298
298
|
"flex-1 text-left",
|
|
299
|
-
|
|
299
|
+
L() && "text-destructive",
|
|
300
300
|
n && "text-muted-foreground"
|
|
301
301
|
),
|
|
302
302
|
children: r != null && r.from ? M(r.from, "dd.MM.yyyy", {
|
|
@@ -310,7 +310,7 @@ function et(pr) {
|
|
|
310
310
|
{
|
|
311
311
|
className: l(
|
|
312
312
|
"flex-1 text-left",
|
|
313
|
-
|
|
313
|
+
$() && "text-destructive",
|
|
314
314
|
n && "text-muted-foreground"
|
|
315
315
|
),
|
|
316
316
|
children: r != null && r.to ? M(r.to, "dd.MM.yyyy", {
|
|
@@ -321,7 +321,7 @@ function et(pr) {
|
|
|
321
321
|
]
|
|
322
322
|
}
|
|
323
323
|
),
|
|
324
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ u("div", { className: "ml-2 flex items-center gap-1.5", children: [
|
|
325
325
|
/* @__PURE__ */ t(
|
|
326
326
|
g,
|
|
327
327
|
{
|
|
@@ -348,7 +348,7 @@ function et(pr) {
|
|
|
348
348
|
] })
|
|
349
349
|
}
|
|
350
350
|
) }),
|
|
351
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ u(
|
|
352
352
|
dr,
|
|
353
353
|
{
|
|
354
354
|
className: "w-screen rounded-xl p-0 shadow-[0_2px_10px_rgba(0,0,0,0.1)] sm:w-auto",
|
|
@@ -362,7 +362,7 @@ function et(pr) {
|
|
|
362
362
|
mode: "range",
|
|
363
363
|
defaultMonth: r == null ? void 0 : r.from,
|
|
364
364
|
selected: r,
|
|
365
|
-
onSelect:
|
|
365
|
+
onSelect: z,
|
|
366
366
|
numberOfMonths: 2,
|
|
367
367
|
locale: p,
|
|
368
368
|
disabled: S
|
|
@@ -371,7 +371,7 @@ function et(pr) {
|
|
|
371
371
|
I && /* @__PURE__ */ t("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ t(
|
|
372
372
|
w,
|
|
373
373
|
{
|
|
374
|
-
onClick:
|
|
374
|
+
onClick: B,
|
|
375
375
|
variant: "text",
|
|
376
376
|
size: "sm",
|
|
377
377
|
className: "w-full",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { D as e } from "../../../../chunks/uploader-
|
|
3
|
+
import { D as e } from "../../../../chunks/uploader-B-BmspDu.js";
|
|
4
4
|
import "../../../../chunks/utils-TbLXCoKm.js";
|
|
5
5
|
import "../utils.js";
|
|
6
6
|
import "./use-base-dialog.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a2 as m, a3 as p, a4 as l, a5 as n, a6 as g, a7 as C, a8 as T, a9 as f, aa as v } from "../../../../chunks/uploader-B-BmspDu.js";
|
|
4
4
|
import "../../../../chunks/index-BO6p208a.js";
|
|
5
5
|
import "../../../../chunks/utils-TbLXCoKm.js";
|
|
6
6
|
import "../utils.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as
|
|
1
|
+
import { D as e, f as i } from "../../../chunks/uploader-B-BmspDu.js";
|
|
2
2
|
import { useDialogBaseCtx as s } from "./dialog-base/use-base-dialog.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
e as DialogBase,
|
|
5
5
|
i as DialogPrimitive,
|
|
6
6
|
s as useDialogBaseCtx
|
|
7
7
|
};
|
package/dist/lib/ui/dropdown.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../chunks/popover-kFSgc5Lv.js";
|
|
4
4
|
import "../../chunks/utils-TbLXCoKm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { g as d, h as e, i, j as m, k as s, l as w } from "../../chunks/uploader-B-BmspDu.js";
|
|
6
6
|
export {
|
|
7
7
|
d as Dropdown,
|
|
8
8
|
e as DropdownContent,
|
package/dist/lib/ui/input.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../chunks/utils-TbLXCoKm.js";
|
|
4
4
|
import "../icon/icon.js";
|
|
5
|
-
import { I as s,
|
|
5
|
+
import { I as s, m as i, n as m, o as I, p as u } from "../../chunks/uploader-B-BmspDu.js";
|
|
6
6
|
export {
|
|
7
7
|
s as Input,
|
|
8
8
|
i as InputLink,
|
package/dist/lib/ui/modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
3
|
+
import { r as A, s as B, t as E, u as F, v as G, w as I, x as J, y as K } from "../../chunks/uploader-B-BmspDu.js";
|
|
4
4
|
import "../../chunks/utils-TbLXCoKm.js";
|
|
5
5
|
import "../icon/icons.js";
|
|
6
6
|
import "../icon-banks/icons-banks.js";
|
package/dist/lib/ui/otp-input.js
CHANGED