mimir-ui-kit 1.37.0 → 1.37.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/DatePicker/DatePicker.js +112 -107
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +51 -47
- package/dist/index.js +80 -76
- package/package.json +1 -1
@@ -1,149 +1,154 @@
|
|
1
|
-
import { jsxs as B, jsx as
|
2
|
-
import { c as
|
3
|
-
import { memo as V, forwardRef as tt, useState as
|
4
|
-
import { MAX_DAY as st, MAX_MONTH as et, DATE_LENGTH as
|
5
|
-
import { DatePickerModal as
|
6
|
-
import { MonthPickerModal as
|
1
|
+
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
2
|
+
import { c as b } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as V, forwardRef as tt, useState as w, useEffect as T } from "react";
|
4
|
+
import { MAX_DAY as st, MAX_MONTH as et, DATE_LENGTH as it } from "./constants.js";
|
5
|
+
import { DatePickerModal as ot } from "./DatePickerModal.js";
|
6
|
+
import { MonthPickerModal as rt } from "./MonthPickerModal.js";
|
7
7
|
import { c as o } from "../../styles.module-B3xL6-zc.js";
|
8
|
-
import { formatDatePart as
|
9
|
-
import { YearPickerModal as
|
8
|
+
import { formatDatePart as L } from "./utils.js";
|
9
|
+
import { YearPickerModal as at } from "./YearPickerModal.js";
|
10
10
|
import { useClickOutside as ct } from "../../hooks/useClickOutside/useClickOutside.js";
|
11
|
-
import { Icon as
|
12
|
-
import { formating as
|
11
|
+
import { Icon as R } from "../../icons/Icon.js";
|
12
|
+
import { formating as y } from "../../utils/index.js";
|
13
13
|
import { I as mt } from "../../Input-BYrIS5GU.js";
|
14
|
-
import { EInputStatus as pt, EInputSize as
|
14
|
+
import { EInputStatus as pt, EInputSize as U } from "../Input/constants.js";
|
15
15
|
const dt = {
|
16
|
-
days:
|
17
|
-
months:
|
18
|
-
years:
|
19
|
-
},
|
16
|
+
days: ot,
|
17
|
+
months: rt,
|
18
|
+
years: at
|
19
|
+
}, ft = V(
|
20
20
|
tt(
|
21
21
|
({
|
22
|
-
size:
|
23
|
-
value:
|
24
|
-
onChangeValue:
|
25
|
-
name:
|
26
|
-
before:
|
27
|
-
type:
|
28
|
-
error:
|
29
|
-
onError:
|
30
|
-
onBlur:
|
31
|
-
validateImmediately:
|
32
|
-
variant:
|
33
|
-
disabled:
|
34
|
-
editable:
|
35
|
-
openOnInput:
|
36
|
-
...
|
37
|
-
},
|
38
|
-
const [
|
39
|
-
() =>
|
40
|
-
), [
|
41
|
-
|
42
|
-
|
43
|
-
}, [
|
44
|
-
|
45
|
-
|
22
|
+
size: P,
|
23
|
+
value: e,
|
24
|
+
onChangeValue: s,
|
25
|
+
name: a,
|
26
|
+
before: M,
|
27
|
+
type: p = "days",
|
28
|
+
error: v,
|
29
|
+
onError: d,
|
30
|
+
onBlur: i,
|
31
|
+
validateImmediately: h,
|
32
|
+
variant: X,
|
33
|
+
disabled: x = !1,
|
34
|
+
editable: D = !1,
|
35
|
+
openOnInput: j = !0,
|
36
|
+
...u
|
37
|
+
}, F) => {
|
38
|
+
const [N, c] = w(!1), [S, f] = w(p), [r, l] = w(
|
39
|
+
() => e && !isNaN(new Date(e).getTime()) ? new Date(e) : void 0
|
40
|
+
), [_, g] = w(v), [G, k] = w("");
|
41
|
+
T(() => {
|
42
|
+
g(v);
|
43
|
+
}, [v]), T(() => {
|
44
|
+
l(
|
45
|
+
e && !isNaN(new Date(e).getTime()) ? new Date(e) : void 0
|
46
46
|
);
|
47
|
-
}, [
|
48
|
-
|
49
|
-
}, [
|
50
|
-
const
|
51
|
-
|
52
|
-
|
53
|
-
}, [
|
54
|
-
isActive:
|
47
|
+
}, [e]), T(() => {
|
48
|
+
r && typeof r != "string" && !isNaN(r == null ? void 0 : r.getTime()) ? k(y.Date(r, "dd/mm/yyyy")) : k("");
|
49
|
+
}, [r]);
|
50
|
+
const O = e && new Date(e).getTime;
|
51
|
+
T(() => {
|
52
|
+
h && (O ? (g(!1), d == null || d({ name: a, active: !1 })) : (g(!0), d == null || d({ name: a, active: !0 })));
|
53
|
+
}, [h, a, O]), ct({
|
54
|
+
isActive: N,
|
55
55
|
setActive: (t) => {
|
56
|
-
|
56
|
+
c(t), f(p);
|
57
57
|
},
|
58
58
|
className: o["calendar-block"]
|
59
59
|
});
|
60
|
-
const
|
61
|
-
!
|
62
|
-
}, K = (t) => {
|
63
|
-
isNaN(t.getTime()) || (D(t), e == null || e({
|
64
|
-
value: f.Date(t, "yyyy-mm-dd"),
|
65
|
-
name: c
|
66
|
-
})), g === "years" && (m === "years" ? (a(!1), n(m)) : n("months")), g === "months" && (m === "months" ? (a(!1), n(m)) : n("days")), D(t), e == null || e({
|
67
|
-
value: f.Date(t, "yyyy-mm-dd"),
|
68
|
-
name: c
|
69
|
-
}), d == null || d(f.Date(t, "yyyy-mm-dd"));
|
60
|
+
const K = () => {
|
61
|
+
!x && (j || !D) && c(!0);
|
70
62
|
}, W = (t) => {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
63
|
+
isNaN(t.getTime()) || (l(t), s == null || s({
|
64
|
+
value: y.Date(t, "yyyy-mm-dd"),
|
65
|
+
name: a
|
66
|
+
})), S === "years" && (p === "years" ? (c(!1), f(p)) : f("months")), S === "months" && (p === "months" ? (c(!1), f(p)) : f("days")), l(t), s == null || s({
|
67
|
+
value: y.Date(t, "yyyy-mm-dd"),
|
68
|
+
name: a
|
69
|
+
}), i == null || i(y.Date(t, "yyyy-mm-dd"));
|
70
|
+
}, q = (t) => {
|
71
|
+
if (D) {
|
72
|
+
const n = t.target.value.replace(/[^\d]/g, "");
|
73
|
+
if (n.length === 0)
|
74
|
+
k(""), s == null || s({ value: "", name: a }), i == null || i("");
|
75
|
+
else {
|
76
|
+
const [A, Y, $] = [
|
77
|
+
L(n.substring(0, 2), st),
|
78
|
+
L(n.substring(2, 4), et),
|
79
|
+
n.substring(4, 8)
|
80
|
+
], H = [A, Y, $].filter(Boolean).join("/");
|
81
|
+
if (k(H), H.length === it) {
|
82
|
+
const C = parseInt($), I = /* @__PURE__ */ new Date(
|
83
|
+
`${C}-${Y.padStart(2, "0")}-${A.padStart(2, "0")}`
|
84
|
+
);
|
85
|
+
isNaN(I.getTime()) || (l(I), s == null || s({
|
86
|
+
value: y.Date(I, "yyyy-mm-dd"),
|
87
|
+
name: a
|
88
|
+
}), i == null || i(y.Date(I, "yyyy-mm-dd")));
|
89
|
+
}
|
85
90
|
}
|
86
91
|
}
|
87
|
-
},
|
88
|
-
onChangeValue:
|
89
|
-
date:
|
90
|
-
before: typeof
|
91
|
-
onChangeType:
|
92
|
-
setIsActive:
|
93
|
-
},
|
94
|
-
|
95
|
-
}, className: o["icon-button"], children: t ? /* @__PURE__ */
|
96
|
-
|
92
|
+
}, E = b(o.wrapper, N && o.active), J = b(o.input, o.inputBorderControl), Q = {
|
93
|
+
onChangeValue: W,
|
94
|
+
date: r || /* @__PURE__ */ new Date(),
|
95
|
+
before: typeof M == "string" ? new Date(M) : M,
|
96
|
+
onChangeType: f,
|
97
|
+
setIsActive: c
|
98
|
+
}, Z = dt[S], z = ({ isActive: t }) => /* @__PURE__ */ m("button", { onClick: (A) => {
|
99
|
+
A.stopPropagation(), x || c(!t);
|
100
|
+
}, className: o["icon-button"], children: t ? /* @__PURE__ */ m(
|
101
|
+
R,
|
97
102
|
{
|
98
|
-
iconName:
|
103
|
+
iconName: P === U.S ? "DropdownArrowUp16px" : "DropdownArrowUp24px"
|
99
104
|
}
|
100
|
-
) : /* @__PURE__ */
|
101
|
-
|
105
|
+
) : /* @__PURE__ */ m(
|
106
|
+
R,
|
102
107
|
{
|
103
|
-
iconName:
|
108
|
+
iconName: P === U.S ? "DropdownArrowBottom16px" : "DropdownArrowDown24px"
|
104
109
|
}
|
105
110
|
) });
|
106
|
-
return /* @__PURE__ */ B("div", { className:
|
107
|
-
/* @__PURE__ */
|
111
|
+
return /* @__PURE__ */ B("div", { className: E, "data-disabled": x, children: [
|
112
|
+
/* @__PURE__ */ m(
|
108
113
|
"div",
|
109
114
|
{
|
110
115
|
role: "button",
|
111
|
-
"data-error":
|
112
|
-
className:
|
113
|
-
[o.editable]:
|
116
|
+
"data-error": _,
|
117
|
+
className: b(o["date-wrapper"], {
|
118
|
+
[o.editable]: D
|
114
119
|
}),
|
115
|
-
onClick:
|
116
|
-
children: /* @__PURE__ */
|
120
|
+
onClick: K,
|
121
|
+
children: /* @__PURE__ */ m(
|
117
122
|
mt,
|
118
123
|
{
|
119
|
-
ref:
|
120
|
-
className:
|
124
|
+
ref: F,
|
125
|
+
className: J,
|
121
126
|
wrapperClassName: o["input-wrapper"],
|
122
|
-
size:
|
127
|
+
size: P,
|
123
128
|
type: "text",
|
124
|
-
variant:
|
125
|
-
status:
|
126
|
-
value:
|
127
|
-
onChange:
|
129
|
+
variant: X,
|
130
|
+
status: _ ? pt.Error : void 0,
|
131
|
+
value: G,
|
132
|
+
onChange: q,
|
128
133
|
rightAddon: {
|
129
134
|
addonType: "react-node",
|
130
|
-
addonContent: /* @__PURE__ */
|
135
|
+
addonContent: /* @__PURE__ */ m(z, { isActive: N })
|
131
136
|
},
|
132
137
|
onFocus: () => {
|
133
|
-
|
138
|
+
j && !D && c(!0);
|
134
139
|
},
|
135
|
-
"data-error":
|
136
|
-
...
|
140
|
+
"data-error": _,
|
141
|
+
...u
|
137
142
|
}
|
138
143
|
)
|
139
144
|
}
|
140
145
|
),
|
141
|
-
|
146
|
+
N && /* @__PURE__ */ m(Z, { ...Q })
|
142
147
|
] });
|
143
148
|
}
|
144
149
|
)
|
145
150
|
);
|
146
|
-
|
151
|
+
ft.displayName = "DatePicker";
|
147
152
|
export {
|
148
|
-
|
153
|
+
ft as DatePicker
|
149
154
|
};
|
@@ -65,3 +65,5 @@ export { ListFiles, EFileItemVariant } from './ListFiles';
|
|
65
65
|
export type { TListFiles, TFilesDetail, TFileValue } from './ListFiles';
|
66
66
|
export { ListPhotos } from './ListPhotos';
|
67
67
|
export type { TListPhotos, TPhotosDetail, TPhotoValue, TPhotoItem } from './ListPhotos';
|
68
|
+
export { MessageShortReply } from './MessageShortReply';
|
69
|
+
export { EMessageShortReplyVariant, type TMessageShortReplyProps } from './MessageShortReply';
|
package/dist/components/index.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as x, EButtonVariantRound as f } from "./Button/constants.js";
|
3
3
|
import { I as S } from "../Input-BYrIS5GU.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as s, EInputStatus as l, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as I } from "./TextArea/constants.js";
|
7
|
-
import { InputPassword as
|
8
|
-
import { InputPhoneNumber as
|
7
|
+
import { InputPassword as h } from "./InputPassword/InputPassword.js";
|
8
|
+
import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
|
9
9
|
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
|
10
|
-
import { OtpInput as
|
11
|
-
import { RadioGroup as
|
12
|
-
import { DatePicker as
|
10
|
+
import { OtpInput as M } from "./OtpInput/OtpInput.js";
|
11
|
+
import { RadioGroup as L } from "./RadioGroup/RadioGroup.js";
|
12
|
+
import { DatePicker as w } from "./DatePicker/DatePicker.js";
|
13
13
|
import { MergedButton as b } from "./MergedButton/MergedButton.js";
|
14
|
-
import { EMergedButtonVariantRound as
|
15
|
-
import { AppImage as
|
14
|
+
import { EMergedButtonVariantRound as v } from "./MergedButton/constants.js";
|
15
|
+
import { AppImage as F } from "./Image/Image.js";
|
16
16
|
import { Loader as N } from "./Loader/Loader.js";
|
17
17
|
import { Slider as O } from "./Slider/index.js";
|
18
18
|
import { Drawer as q } from "./Drawer/Drawer.js";
|
@@ -29,15 +29,15 @@ import { ETagSize as So, ETagType as Eo } from "./Tag/constants.js";
|
|
29
29
|
import { Timer as lo } from "./Timer/Timer.js";
|
30
30
|
import { Accordion as co } from "./Accordion/Accordion.js";
|
31
31
|
import { EAccordionSize as Io } from "./Accordion/constants.js";
|
32
|
-
import { AccordionItem as
|
33
|
-
import { TabTrail as
|
32
|
+
import { AccordionItem as ho } from "./Accordion/AccordionItem/AccordionItem.js";
|
33
|
+
import { TabTrail as ko } from "./TabTrail/TabTrail.js";
|
34
34
|
import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
|
35
35
|
import { Pagination as Ao } from "./Pagination/Pagination.js";
|
36
|
-
import { ToastProvider as
|
37
|
-
import { useToast as
|
38
|
-
import { EToastPosition as
|
39
|
-
import { UploaderPhotos as
|
40
|
-
import { UploaderFiles as
|
36
|
+
import { ToastProvider as Ro } from "./Toasts/ToastsProvider.js";
|
37
|
+
import { useToast as Uo } from "./Toasts/hooks.js";
|
38
|
+
import { EToastPosition as Co, EToastVariant as bo } from "./Toasts/constants.js";
|
39
|
+
import { UploaderPhotos as vo } from "./UploaderPhotos/UploaderPhotos.js";
|
40
|
+
import { UploaderFiles as Fo } from "./UploaderFiles/UploaderFiles.js";
|
41
41
|
import { Uploader as No } from "./Uploader/Uploader.js";
|
42
42
|
import { Link as Oo } from "./AnchorLink/Link.js";
|
43
43
|
import { ELinkSize as qo, ELinkVariant as Ho } from "./AnchorLink/constants.js";
|
@@ -50,32 +50,34 @@ import { EUploaderType as pr } from "./UniversalUploader/constants.js";
|
|
50
50
|
import { InputRangeSlider as ir } from "./InputRangeSlider/InputRangeSlider.js";
|
51
51
|
import { EInputRangeSliderBorderState as xr, EInputRangeSliderPositions as fr } from "./InputRangeSlider/constants.js";
|
52
52
|
import { GosZnak as Sr } from "./GosZnak/GosZnak.js";
|
53
|
-
import { EGosZnakSize as
|
53
|
+
import { EGosZnakSize as sr, EGosZnakType as lr } from "./GosZnak/constants.js";
|
54
54
|
import { Switcher as dr } from "./Switcher/Switcher.js";
|
55
55
|
import { ELabelPositions as Tr } from "./Switcher/constants.js";
|
56
56
|
import { TwinSwitcher as gr } from "./TwinSwitcher/TwinSwitcher.js";
|
57
|
-
import { SkeletonBrick as
|
58
|
-
import { SkeletonText as
|
57
|
+
import { SkeletonBrick as Vr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
58
|
+
import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
|
59
59
|
import { SkeletonCircle as Pr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
60
|
-
import { ESkeletonVariant as
|
61
|
-
import { Avatar as
|
62
|
-
import { EAvatarSize as
|
60
|
+
import { ESkeletonVariant as Mr } from "./Skeleton/constants.js";
|
61
|
+
import { Avatar as Lr } from "./Avatar/Avatar.js";
|
62
|
+
import { EAvatarSize as wr } from "./Avatar/constants.js";
|
63
63
|
import { MultiSelectSearch as br } from "./MultiSelectSearch/MultiSelectSearch.js";
|
64
|
-
import { EMultiSelectSearchSize as
|
65
|
-
import { ListFiles as
|
64
|
+
import { EMultiSelectSearchSize as vr } from "./MultiSelectSearch/constants.js";
|
65
|
+
import { ListFiles as Fr } from "./ListFiles/ListFiles.js";
|
66
66
|
import { EFileItemVariant as Nr } from "./ListFiles/constants.js";
|
67
67
|
import { ListPhotos as Or } from "./ListPhotos/ListPhotos.js";
|
68
|
+
import { MessageShortReply as qr } from "./MessageShortReply/MessageShortReply.js";
|
69
|
+
import { EMessageShortReplyVariant as Jr } from "./MessageShortReply/constants.js";
|
68
70
|
export {
|
69
71
|
co as Accordion,
|
70
|
-
|
71
|
-
|
72
|
+
ho as AccordionItem,
|
73
|
+
Lr as Avatar,
|
72
74
|
e as Button,
|
73
75
|
mo as CheckboxMimir,
|
74
76
|
Yo as Chip,
|
75
|
-
|
77
|
+
w as DatePicker,
|
76
78
|
q as Drawer,
|
77
79
|
Io as EAccordionSize,
|
78
|
-
|
80
|
+
wr as EAvatarSize,
|
79
81
|
p as EButtonForm,
|
80
82
|
a as EButtonSize,
|
81
83
|
i as EButtonVariantBorderless,
|
@@ -86,66 +88,68 @@ export {
|
|
86
88
|
or as EChipVariant,
|
87
89
|
J as EDrawerPosition,
|
88
90
|
Nr as EFileItemVariant,
|
89
|
-
|
91
|
+
sr as EGosZnakSize,
|
90
92
|
lr as EGosZnakType,
|
91
93
|
xr as EInputRangeSliderBorderState,
|
92
94
|
fr as EInputRangeSliderPositions,
|
93
|
-
|
95
|
+
s as EInputSize,
|
94
96
|
l as EInputStatus,
|
95
|
-
|
97
|
+
u as EInputVariant,
|
96
98
|
Tr as ELabelPositions,
|
97
99
|
qo as ELinkSize,
|
98
100
|
Ho as ELinkVariant,
|
99
|
-
|
100
|
-
|
101
|
+
v as EMergedButtonVariantRound,
|
102
|
+
Jr as EMessageShortReplyVariant,
|
103
|
+
vr as EMultiSelectSearchSize,
|
101
104
|
Wo as ENotificationBadgeSize,
|
102
105
|
ao as ESelectSearchSize,
|
103
|
-
|
106
|
+
Mr as ESkeletonVariant,
|
104
107
|
X as EStepColor,
|
105
108
|
Y as EStepsSize,
|
106
109
|
Bo as ETabTrailSize,
|
107
110
|
So as ETagSize,
|
108
111
|
Eo as ETagType,
|
109
112
|
I as ETextAreaInputSize,
|
110
|
-
|
113
|
+
Co as EToastPosition,
|
111
114
|
bo as EToastVariant,
|
112
115
|
pr as EUploaderType,
|
113
116
|
ro as EVoteSize,
|
114
117
|
Sr as GosZnak,
|
115
|
-
|
118
|
+
F as Image,
|
116
119
|
S as Input,
|
117
|
-
|
118
|
-
|
120
|
+
h as InputPassword,
|
121
|
+
k as InputPhoneNumber,
|
119
122
|
ir as InputRangeSlider,
|
120
123
|
Oo as Link,
|
121
|
-
|
124
|
+
Fr as ListFiles,
|
122
125
|
Or as ListPhotos,
|
123
126
|
N as Loader,
|
124
127
|
b as MergedButton,
|
128
|
+
qr as MessageShortReply,
|
125
129
|
br as MultiSelectSearch,
|
126
130
|
Ko as NotificationBadge,
|
127
|
-
|
131
|
+
M as OtpInput,
|
128
132
|
Ao as Pagination,
|
129
|
-
|
133
|
+
L as RadioGroup,
|
130
134
|
to as SelectSearch,
|
131
|
-
|
135
|
+
Vr as SkeletonBrick,
|
132
136
|
Pr as SkeletonCircle,
|
133
|
-
|
137
|
+
zr as SkeletonText,
|
134
138
|
O as Slider,
|
135
139
|
Q as Steps,
|
136
140
|
dr as Switcher,
|
137
|
-
|
141
|
+
ko as TabTrail,
|
138
142
|
fo as Tag,
|
139
143
|
c as TextArea,
|
140
144
|
lo as Timer,
|
141
|
-
|
145
|
+
Ro as ToastProvider,
|
142
146
|
gr as TwinSwitcher,
|
143
147
|
er as UniversalUploader,
|
144
148
|
No as Uploader,
|
145
|
-
|
146
|
-
|
149
|
+
Fo as UploaderFiles,
|
150
|
+
vo as UploaderPhotos,
|
147
151
|
$ as Vote,
|
148
152
|
B as getMaskedInputPhoneValue,
|
149
153
|
P as getUnmaskedInputValue,
|
150
|
-
|
154
|
+
Uo as useToast
|
151
155
|
};
|
package/dist/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
|
-
import { EButtonForm as p, EButtonSize as
|
3
|
-
import { I as
|
4
|
-
import { EInputSize as
|
2
|
+
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
|
+
import { I as s } from "./Input-BYrIS5GU.js";
|
4
|
+
import { EInputSize as S, EInputStatus as E, EInputVariant as l } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
|
7
|
-
import { InputPassword as
|
8
|
-
import { InputPhoneNumber as
|
9
|
-
import { getMaskedInputPhoneValue as
|
7
|
+
import { InputPassword as h } from "./components/InputPassword/InputPassword.js";
|
8
|
+
import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
|
9
|
+
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as M } from "./components/InputPhoneNumber/utils.js";
|
10
10
|
import { OtpInput as y } from "./components/OtpInput/OtpInput.js";
|
11
|
-
import { RadioGroup as
|
12
|
-
import { DatePicker as
|
11
|
+
import { RadioGroup as A } from "./components/RadioGroup/RadioGroup.js";
|
12
|
+
import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
|
13
13
|
import { MergedButton as U } from "./components/MergedButton/MergedButton.js";
|
14
14
|
import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
|
15
15
|
import { AppImage as F } from "./components/Image/Image.js";
|
@@ -22,19 +22,19 @@ import { EStepColor as X, EStepsSize as Y } from "./components/Steps/constants.j
|
|
22
22
|
import { Vote as $ } from "./components/Vote/Vote.js";
|
23
23
|
import { EVoteSize as ro } from "./components/Vote/constants.js";
|
24
24
|
import { SelectSearch as to } from "./components/SelectSearch/SelectSearch.js";
|
25
|
-
import { ESelectSearchSize as
|
25
|
+
import { ESelectSearchSize as ao } from "./components/SelectSearch/constants.js";
|
26
26
|
import { CheckboxMimir as io } from "./components/CheckboxMimir/CheckboxMimir.js";
|
27
27
|
import { Tag as xo } from "./components/Tag/Tag.js";
|
28
|
-
import { ETagSize as
|
29
|
-
import { Timer as
|
28
|
+
import { ETagSize as so, ETagType as uo } from "./components/Tag/constants.js";
|
29
|
+
import { Timer as Eo } from "./components/Timer/Timer.js";
|
30
30
|
import { Accordion as co } from "./components/Accordion/Accordion.js";
|
31
31
|
import { EAccordionSize as Io } from "./components/Accordion/constants.js";
|
32
|
-
import { AccordionItem as
|
33
|
-
import { TabTrail as
|
34
|
-
import { ETabTrailSize as
|
35
|
-
import { Pagination as
|
36
|
-
import { ToastProvider as
|
37
|
-
import { useToast as
|
32
|
+
import { AccordionItem as ho } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
33
|
+
import { TabTrail as zo } from "./components/TabTrail/TabTrail.js";
|
34
|
+
import { ETabTrailSize as Bo } from "./components/TabTrail/constants.js";
|
35
|
+
import { Pagination as Po } from "./components/Pagination/Pagination.js";
|
36
|
+
import { ToastProvider as Ro } from "./components/Toasts/ToastsProvider.js";
|
37
|
+
import { useToast as Co } from "./components/Toasts/hooks.js";
|
38
38
|
import { EToastPosition as bo, EToastVariant as Uo } from "./components/Toasts/constants.js";
|
39
39
|
import { UploaderPhotos as wo } from "./components/UploaderPhotos/UploaderPhotos.js";
|
40
40
|
import { UploaderFiles as Fo } from "./components/UploaderFiles/UploaderFiles.js";
|
@@ -47,49 +47,51 @@ import { Chip as Yo } from "./components/Chip/Chip.js";
|
|
47
47
|
import { EChipSize as $o, EChipVariant as or } from "./components/Chip/constants.js";
|
48
48
|
import { UniversalUploader as er } from "./components/UniversalUploader/UniversalUploader.js";
|
49
49
|
import { EUploaderType as pr } from "./components/UniversalUploader/constants.js";
|
50
|
-
import { InputRangeSlider as
|
50
|
+
import { InputRangeSlider as mr } from "./components/InputRangeSlider/InputRangeSlider.js";
|
51
51
|
import { EInputRangeSliderBorderState as fr, EInputRangeSliderPositions as xr } from "./components/InputRangeSlider/constants.js";
|
52
|
-
import { GosZnak as
|
53
|
-
import { EGosZnakSize as
|
52
|
+
import { GosZnak as sr } from "./components/GosZnak/GosZnak.js";
|
53
|
+
import { EGosZnakSize as Sr, EGosZnakType as Er } from "./components/GosZnak/constants.js";
|
54
54
|
import { Switcher as dr } from "./components/Switcher/Switcher.js";
|
55
55
|
import { ELabelPositions as Tr } from "./components/Switcher/constants.js";
|
56
56
|
import { TwinSwitcher as gr } from "./components/TwinSwitcher/TwinSwitcher.js";
|
57
|
-
import { SkeletonBrick as
|
57
|
+
import { SkeletonBrick as kr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
58
58
|
import { SkeletonText as Vr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
59
|
-
import { SkeletonCircle as
|
59
|
+
import { SkeletonCircle as Mr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
60
60
|
import { ESkeletonVariant as yr } from "./components/Skeleton/constants.js";
|
61
|
-
import { Avatar as
|
62
|
-
import { EAvatarSize as
|
61
|
+
import { Avatar as Ar } from "./components/Avatar/Avatar.js";
|
62
|
+
import { EAvatarSize as Lr } from "./components/Avatar/constants.js";
|
63
63
|
import { MultiSelectSearch as Ur } from "./components/MultiSelectSearch/MultiSelectSearch.js";
|
64
64
|
import { EMultiSelectSearchSize as wr } from "./components/MultiSelectSearch/constants.js";
|
65
65
|
import { ListFiles as Fr } from "./components/ListFiles/ListFiles.js";
|
66
66
|
import { EFileItemVariant as Nr } from "./components/ListFiles/constants.js";
|
67
67
|
import { ListPhotos as Qr } from "./components/ListPhotos/ListPhotos.js";
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
72
|
-
import {
|
73
|
-
import {
|
74
|
-
import {
|
75
|
-
import {
|
76
|
-
import {
|
77
|
-
import {
|
78
|
-
import {
|
68
|
+
import { MessageShortReply as jr } from "./components/MessageShortReply/MessageShortReply.js";
|
69
|
+
import { EMessageShortReplyVariant as Hr } from "./components/MessageShortReply/constants.js";
|
70
|
+
import { useMediaQuery as Kr } from "./hooks/useMediaQuery/useMediaQuery.js";
|
71
|
+
import { EMediaQuery as Xr, EMinMediaQuery as Yr } from "./hooks/useMediaQuery/constants.js";
|
72
|
+
import { useLockBodyScroll as $r } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
73
|
+
import { useInterval as re } from "./hooks/useInterval/useInterval.js";
|
74
|
+
import { useTimer as te } from "./hooks/useTimer/index.js";
|
75
|
+
import { useCopyToClipboard as ae } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
76
|
+
import { useMergeRefs as ie } from "./hooks/useMergeRefs/useMergeRefs.js";
|
77
|
+
import { useResizeObserver as xe } from "./hooks/useResizeObserver/useResizeObserver.js";
|
78
|
+
import { Icon as se } from "./icons/Icon.js";
|
79
|
+
import { formating as Se } from "./utils/index.js";
|
80
|
+
import { parseDate as le } from "./utils/formating/Date.js";
|
79
81
|
import './assets/index.css';export {
|
80
82
|
co as Accordion,
|
81
|
-
|
82
|
-
|
83
|
+
ho as AccordionItem,
|
84
|
+
Ar as Avatar,
|
83
85
|
e as Button,
|
84
86
|
io as CheckboxMimir,
|
85
87
|
Yo as Chip,
|
86
|
-
|
88
|
+
L as DatePicker,
|
87
89
|
j as Drawer,
|
88
90
|
Io as EAccordionSize,
|
89
|
-
|
91
|
+
Lr as EAvatarSize,
|
90
92
|
p as EButtonForm,
|
91
|
-
|
92
|
-
|
93
|
+
a as EButtonSize,
|
94
|
+
m as EButtonVariantBorderless,
|
93
95
|
i as EButtonVariantDefault,
|
94
96
|
f as EButtonVariantOutline,
|
95
97
|
x as EButtonVariantRound,
|
@@ -97,78 +99,80 @@ import './assets/index.css';export {
|
|
97
99
|
or as EChipVariant,
|
98
100
|
H as EDrawerPosition,
|
99
101
|
Nr as EFileItemVariant,
|
100
|
-
|
101
|
-
|
102
|
+
Sr as EGosZnakSize,
|
103
|
+
Er as EGosZnakType,
|
102
104
|
fr as EInputRangeSliderBorderState,
|
103
105
|
xr as EInputRangeSliderPositions,
|
104
|
-
|
105
|
-
|
106
|
+
S as EInputSize,
|
107
|
+
E as EInputStatus,
|
106
108
|
l as EInputVariant,
|
107
109
|
Tr as ELabelPositions,
|
108
110
|
jo as ELinkSize,
|
109
111
|
qo as ELinkVariant,
|
110
|
-
|
112
|
+
Xr as EMediaQuery,
|
111
113
|
w as EMergedButtonVariantRound,
|
112
|
-
|
114
|
+
Hr as EMessageShortReplyVariant,
|
115
|
+
Yr as EMinMediaQuery,
|
113
116
|
wr as EMultiSelectSearchSize,
|
114
117
|
Wo as ENotificationBadgeSize,
|
115
|
-
|
118
|
+
ao as ESelectSearchSize,
|
116
119
|
yr as ESkeletonVariant,
|
117
120
|
X as EStepColor,
|
118
121
|
Y as EStepsSize,
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
+
Bo as ETabTrailSize,
|
123
|
+
so as ETagSize,
|
124
|
+
uo as ETagType,
|
122
125
|
I as ETextAreaInputSize,
|
123
126
|
bo as EToastPosition,
|
124
127
|
Uo as EToastVariant,
|
125
128
|
pr as EUploaderType,
|
126
129
|
ro as EVoteSize,
|
127
|
-
|
128
|
-
|
130
|
+
sr as GosZnak,
|
131
|
+
se as Icon,
|
129
132
|
F as Image,
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
133
|
+
s as Input,
|
134
|
+
h as InputPassword,
|
135
|
+
z as InputPhoneNumber,
|
136
|
+
mr as InputRangeSlider,
|
134
137
|
Qo as Link,
|
135
138
|
Fr as ListFiles,
|
136
139
|
Qr as ListPhotos,
|
137
140
|
N as Loader,
|
138
141
|
U as MergedButton,
|
142
|
+
jr as MessageShortReply,
|
139
143
|
Ur as MultiSelectSearch,
|
140
144
|
Jo as NotificationBadge,
|
141
145
|
y as OtpInput,
|
142
|
-
|
143
|
-
|
146
|
+
Po as Pagination,
|
147
|
+
A as RadioGroup,
|
144
148
|
to as SelectSearch,
|
145
|
-
|
146
|
-
|
149
|
+
kr as SkeletonBrick,
|
150
|
+
Mr as SkeletonCircle,
|
147
151
|
Vr as SkeletonText,
|
148
152
|
Q as Slider,
|
149
153
|
K as Steps,
|
150
154
|
dr as Switcher,
|
151
|
-
|
155
|
+
zo as TabTrail,
|
152
156
|
xo as Tag,
|
153
157
|
c as TextArea,
|
154
|
-
|
155
|
-
|
158
|
+
Eo as Timer,
|
159
|
+
Ro as ToastProvider,
|
156
160
|
gr as TwinSwitcher,
|
157
161
|
er as UniversalUploader,
|
158
162
|
No as Uploader,
|
159
163
|
Fo as UploaderFiles,
|
160
164
|
wo as UploaderPhotos,
|
161
165
|
$ as Vote,
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
166
|
+
Se as formating,
|
167
|
+
B as getMaskedInputPhoneValue,
|
168
|
+
M as getUnmaskedInputValue,
|
169
|
+
le as parseDate,
|
170
|
+
ae as useCopyToClipboard,
|
171
|
+
re as useInterval,
|
172
|
+
$r as useLockBodyScroll,
|
173
|
+
Kr as useMediaQuery,
|
174
|
+
ie as useMergeRefs,
|
175
|
+
xe as useResizeObserver,
|
176
|
+
te as useTimer,
|
177
|
+
Co as useToast
|
174
178
|
};
|