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