mimir-ui-kit 1.59.3 → 1.60.1
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/assets/Pagination.css +1 -1
- package/dist/assets/PaginationDateButton.css +1 -0
- package/dist/components/Pagination/Pagination.js +141 -156
- package/dist/components/Pagination/PaginationDateButton/PaginationDateButton.d.ts +22 -0
- package/dist/components/Pagination/PaginationDateButton/PaginationDateButton.js +52 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination/index.js +4 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +124 -122
- package/dist/index.js +141 -139
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
._pagination-
|
|
1
|
+
._pagination-button_1b4hk_2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;height:40px;color:var(--black-100);font-weight:var(--mimir-font-weight-text-medium);font-size:var(--mimir-size-text-l);font-family:var(--mimir-font-inter);background-color:transparent;border-radius:var(--mimir-control-radius);-webkit-font-feature-settings:"zero";font-feature-settings:"zero"}._pagination-button_1b4hk_2:active{background-color:var(--pagination-active)}._pagination-button_1b4hk_2:focus-visible,._pagination-button_1b4hk_2:hover{color:var(--sapphire-normal);-webkit-text-decoration:none;text-decoration:none}._pagination-button_1b4hk_2._is-active_1b4hk_23{background-color:var(--pagination-active)}._container_1b4hk_27{--pagination-active: #e5e5e5;display:-webkit-box;display:-ms-flexbox;display:flex;gap:var(--mimir-space-2xl);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 auto}._container_1b4hk_27:not(:last-child){margin-bottom:0 auto var(--mimir-space-xl)}._container--date-mode_1b4hk_37{gap:var(--mimir-space-l)}@media (max-width: 767.9px){._container_1b4hk_27,._container--date-mode_1b4hk_37{gap:var(--mimir-space-xs)}}._container_1b4hk_27 ._ellipsis_1b4hk_48{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._disabled_1b4hk_53{pointer-events:none}._disabled_1b4hk_53 ._pagination-button_1b4hk_2{color:var(--disabled-color)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._pagination-button_1l24n_2{--pagination-active: #e5e5e5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:40px;color:var(--black-100);font-weight:var(--mimir-font-weight-text-medium);font-size:var(--mimir-size-text-l);font-family:var(--mimir-font-inter);background-color:transparent;border-radius:var(--mimir-control-radius);-webkit-font-feature-settings:"zero";font-feature-settings:"zero"}._pagination-button_1l24n_2:active{background-color:var(--pagination-active)}._pagination-button_1l24n_2:focus-visible,._pagination-button_1l24n_2:hover{color:var(--sapphire-normal);-webkit-text-decoration:none;text-decoration:none}._pagination-button_1l24n_2._is-active_1l24n_23{background-color:var(--pagination-active)}._pagination-button--date_1l24n_26{width:auto;padding:var(--mimir-space-xs) var(--mimir-space-s)}._pagination-button_1l24n_2 ._date-content_1l24n_30{display:-webkit-box;display:-ms-flexbox;display:flex;gap:var(--mimir-space-2xs);-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:var(--mimir-font-weight-text-regular)}._pagination-button_1l24n_2 ._date-text_1l24n_36{font-size:var(--mimir-size-text-l);line-height:var(--mimir-line-height-text-s1)}
|
|
@@ -1,34 +1,31 @@
|
|
|
1
|
-
import { jsxs as x, jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { FIRST_PAGE_NUMBER as f, DEFAULT_PER_PAGE as
|
|
5
|
-
import {
|
|
6
|
-
import { useWindowSize as
|
|
7
|
-
import { MergedButton as
|
|
8
|
-
import '../../assets/Pagination.css';const
|
|
9
|
-
"pagination-button": "_pagination-
|
|
10
|
-
"is-active": "_is-
|
|
11
|
-
|
|
12
|
-
"date-
|
|
13
|
-
|
|
14
|
-
container: T,
|
|
15
|
-
"container--date-mode": "_container--date-mode_1rzjl_53",
|
|
16
|
-
ellipsis: U,
|
|
1
|
+
import { jsxs as x, jsx as i, Fragment as I } from "react/jsx-runtime";
|
|
2
|
+
import { c as E } from "../../index-DIxK0V-G.js";
|
|
3
|
+
import { forwardRef as $, useState as j, useEffect as F } from "react";
|
|
4
|
+
import { FIRST_PAGE_NUMBER as f, DEFAULT_PER_PAGE as L } from "./constants.js";
|
|
5
|
+
import { PaginationDateButton as G } from "./PaginationDateButton/PaginationDateButton.js";
|
|
6
|
+
import { useWindowSize as T } from "../../hooks/useWindowSize/index.js";
|
|
7
|
+
import { MergedButton as y } from "../MergedButton/MergedButton.js";
|
|
8
|
+
import '../../assets/Pagination.css';const U = "_container_1b4hk_27", z = "_ellipsis_1b4hk_48", O = "_disabled_1b4hk_53", p = {
|
|
9
|
+
"pagination-button": "_pagination-button_1b4hk_2",
|
|
10
|
+
"is-active": "_is-active_1b4hk_23",
|
|
11
|
+
container: U,
|
|
12
|
+
"container--date-mode": "_container--date-mode_1b4hk_37",
|
|
13
|
+
ellipsis: z,
|
|
17
14
|
disabled: O
|
|
18
15
|
}, V = ({
|
|
19
16
|
currentPageNumber: n,
|
|
20
17
|
onClick: e,
|
|
21
|
-
setCurrentPage:
|
|
18
|
+
setCurrentPage: l,
|
|
22
19
|
disabled: c
|
|
23
|
-
}) => /* @__PURE__ */
|
|
24
|
-
|
|
20
|
+
}) => /* @__PURE__ */ i(
|
|
21
|
+
y,
|
|
25
22
|
{
|
|
26
23
|
buttons: [
|
|
27
24
|
{
|
|
28
25
|
isIconButton: !0,
|
|
29
26
|
variant: "white",
|
|
30
27
|
onClick: () => {
|
|
31
|
-
n !== f && (
|
|
28
|
+
n !== f && (l(n - 1), e(n - 1));
|
|
32
29
|
},
|
|
33
30
|
iconName: "ArrowLeft16px",
|
|
34
31
|
disabled: c || n === f,
|
|
@@ -39,221 +36,209 @@ import '../../assets/Pagination.css';const T = "_container_1rzjl_43", U = "_elli
|
|
|
39
36
|
), W = ({
|
|
40
37
|
currentPageNumber: n,
|
|
41
38
|
lastPageNumber: e,
|
|
42
|
-
onClick:
|
|
39
|
+
onClick: l,
|
|
43
40
|
setCurrentPage: c,
|
|
44
|
-
disabled:
|
|
41
|
+
disabled: r
|
|
45
42
|
}) => {
|
|
46
43
|
const t = n >= e;
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
44
|
+
return /* @__PURE__ */ i(
|
|
45
|
+
y,
|
|
49
46
|
{
|
|
50
47
|
buttons: [
|
|
51
48
|
{
|
|
52
49
|
isIconButton: !0,
|
|
53
50
|
variant: "white",
|
|
54
51
|
onClick: () => {
|
|
55
|
-
t || (c(n + 1),
|
|
52
|
+
t || (c(n + 1), l(n + 1));
|
|
56
53
|
},
|
|
57
|
-
disabled:
|
|
54
|
+
disabled: r || t,
|
|
58
55
|
iconName: "ArrowRight16px",
|
|
59
56
|
"data-testid": "next-button"
|
|
60
57
|
}
|
|
61
58
|
]
|
|
62
59
|
}
|
|
63
60
|
);
|
|
64
|
-
},
|
|
65
|
-
|
|
61
|
+
}, M = () => /* @__PURE__ */ i(
|
|
62
|
+
y,
|
|
66
63
|
{
|
|
67
64
|
buttons: [
|
|
68
65
|
{
|
|
69
66
|
children: "...",
|
|
70
67
|
variant: "transparent",
|
|
71
|
-
className:
|
|
68
|
+
className: E(p["pagination-button"], p.ellipsis)
|
|
72
69
|
}
|
|
73
70
|
]
|
|
74
71
|
}
|
|
75
|
-
),
|
|
72
|
+
), B = ({
|
|
76
73
|
currentPageNumber: n,
|
|
77
74
|
newPageNumber: e,
|
|
78
|
-
onClick:
|
|
75
|
+
onClick: l,
|
|
79
76
|
setCurrentPage: c,
|
|
80
|
-
disabled:
|
|
77
|
+
disabled: r,
|
|
81
78
|
pageData: t,
|
|
82
|
-
isDateMode:
|
|
79
|
+
isDateMode: o = !1
|
|
83
80
|
}) => {
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
return
|
|
88
|
-
|
|
81
|
+
const a = n === e, h = () => {
|
|
82
|
+
r || (c(e), l(e));
|
|
83
|
+
}, s = e < 10 ? `0${e}` : e;
|
|
84
|
+
return o && t ? /* @__PURE__ */ i(
|
|
85
|
+
G,
|
|
89
86
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
children: /* @__PURE__ */ x("div", { className: r["date-content"], children: [
|
|
102
|
-
/* @__PURE__ */ o("span", { className: r["date-text"], children: t.date }),
|
|
103
|
-
t.count !== void 0 && /* @__PURE__ */ o(
|
|
104
|
-
L,
|
|
105
|
-
{
|
|
106
|
-
value: t.count,
|
|
107
|
-
variant: t.counterVariant,
|
|
108
|
-
color: t.counterColor,
|
|
109
|
-
backgroundColor: t.counterBackgroundColor
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
] })
|
|
87
|
+
testId: `pagination-button-${s}`,
|
|
88
|
+
disabled: r,
|
|
89
|
+
isActive: a,
|
|
90
|
+
onClick: h,
|
|
91
|
+
date: t.date,
|
|
92
|
+
counterProps: {
|
|
93
|
+
value: t.count ?? 0,
|
|
94
|
+
variant: t.counterVariant,
|
|
95
|
+
color: t.counterColor,
|
|
96
|
+
backgroundColor: t.counterBackgroundColor
|
|
97
|
+
}
|
|
113
98
|
}
|
|
114
|
-
) : /* @__PURE__ */
|
|
99
|
+
) : /* @__PURE__ */ i(
|
|
115
100
|
"button",
|
|
116
101
|
{
|
|
117
|
-
"data-testid": `pagination-button-${
|
|
102
|
+
"data-testid": `pagination-button-${s}`,
|
|
118
103
|
type: "button",
|
|
119
|
-
onClick:
|
|
120
|
-
disabled:
|
|
121
|
-
className:
|
|
122
|
-
[
|
|
104
|
+
onClick: h,
|
|
105
|
+
disabled: r,
|
|
106
|
+
className: E(p["pagination-button"], {
|
|
107
|
+
[p["is-active"]]: a
|
|
123
108
|
}),
|
|
124
|
-
children:
|
|
109
|
+
children: s
|
|
125
110
|
}
|
|
126
111
|
);
|
|
127
112
|
}, q = ({
|
|
128
113
|
start: n,
|
|
129
114
|
end: e,
|
|
130
|
-
currentPageNumber:
|
|
115
|
+
currentPageNumber: l,
|
|
131
116
|
onClick: c,
|
|
132
|
-
setCurrentPage:
|
|
117
|
+
setCurrentPage: r,
|
|
133
118
|
disabled: t,
|
|
134
|
-
pagesData:
|
|
135
|
-
isDateMode:
|
|
119
|
+
pagesData: o,
|
|
120
|
+
isDateMode: a
|
|
136
121
|
}) => {
|
|
137
|
-
const
|
|
138
|
-
for (let
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
|
|
122
|
+
const h = [];
|
|
123
|
+
for (let s = n; s <= e; s++) {
|
|
124
|
+
const N = o == null ? void 0 : o[s - 1];
|
|
125
|
+
h.push(
|
|
126
|
+
/* @__PURE__ */ i(
|
|
127
|
+
B,
|
|
143
128
|
{
|
|
144
|
-
currentPageNumber:
|
|
145
|
-
setCurrentPage:
|
|
146
|
-
newPageNumber:
|
|
129
|
+
currentPageNumber: l,
|
|
130
|
+
setCurrentPage: r,
|
|
131
|
+
newPageNumber: s,
|
|
147
132
|
onClick: c,
|
|
148
133
|
disabled: t,
|
|
149
|
-
pageData:
|
|
150
|
-
isDateMode:
|
|
134
|
+
pageData: N,
|
|
135
|
+
isDateMode: a
|
|
151
136
|
},
|
|
152
|
-
|
|
137
|
+
s
|
|
153
138
|
)
|
|
154
139
|
);
|
|
155
140
|
}
|
|
156
|
-
return
|
|
157
|
-
}, D =
|
|
141
|
+
return h;
|
|
142
|
+
}, D = $(
|
|
158
143
|
(n, e) => {
|
|
159
144
|
const {
|
|
160
|
-
rootClassName:
|
|
145
|
+
rootClassName: l,
|
|
161
146
|
total: c,
|
|
162
|
-
perPage:
|
|
147
|
+
perPage: r = L,
|
|
163
148
|
currentPageNumber: t = f,
|
|
164
|
-
onChange:
|
|
165
|
-
disabled:
|
|
166
|
-
hidePrevButton:
|
|
167
|
-
hideNextButton:
|
|
168
|
-
siblingCount:
|
|
169
|
-
boundaryCount:
|
|
170
|
-
isDateMode:
|
|
171
|
-
pagesData:
|
|
172
|
-
} = n, [
|
|
173
|
-
let
|
|
174
|
-
return
|
|
175
|
-
|
|
176
|
-
}, [t]),
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
)) :
|
|
180
|
-
|
|
149
|
+
onChange: o,
|
|
150
|
+
disabled: a = !1,
|
|
151
|
+
hidePrevButton: h = !1,
|
|
152
|
+
hideNextButton: s = !1,
|
|
153
|
+
siblingCount: N,
|
|
154
|
+
boundaryCount: u = 1,
|
|
155
|
+
isDateMode: v = !1,
|
|
156
|
+
pagesData: C
|
|
157
|
+
} = n, [d, g] = j(t), b = Math.ceil(c / r), { width: w } = T(), R = w <= 650 ? 1 : 2, P = N !== void 0 ? N : R;
|
|
158
|
+
let k = 0, _ = 0;
|
|
159
|
+
return F(() => {
|
|
160
|
+
g(t);
|
|
161
|
+
}, [t]), d <= u + P + 1 ? (k = f, _ = Math.min(
|
|
162
|
+
u + P * 2 + 1,
|
|
163
|
+
b
|
|
164
|
+
)) : d >= b - u - P ? (k = Math.max(
|
|
165
|
+
b - u - P * 2,
|
|
181
166
|
f
|
|
182
|
-
),
|
|
167
|
+
), _ = b) : (k = d - P, _ = d + P), c <= r ? null : /* @__PURE__ */ x(
|
|
183
168
|
"nav",
|
|
184
169
|
{
|
|
185
170
|
"aria-label": "Постраничная навигация",
|
|
186
|
-
className:
|
|
187
|
-
[
|
|
188
|
-
[
|
|
171
|
+
className: E(p.container, l, {
|
|
172
|
+
[p.disabled]: a,
|
|
173
|
+
[p["container--date-mode"]]: v
|
|
189
174
|
}),
|
|
190
175
|
ref: e,
|
|
191
176
|
children: [
|
|
192
|
-
!
|
|
177
|
+
!h && /* @__PURE__ */ i(
|
|
193
178
|
V,
|
|
194
179
|
{
|
|
195
|
-
currentPageNumber:
|
|
196
|
-
onClick:
|
|
197
|
-
setCurrentPage:
|
|
198
|
-
disabled:
|
|
180
|
+
currentPageNumber: d,
|
|
181
|
+
onClick: o,
|
|
182
|
+
setCurrentPage: g,
|
|
183
|
+
disabled: a
|
|
199
184
|
}
|
|
200
185
|
),
|
|
201
|
-
|
|
202
|
-
Array.from({ length:
|
|
203
|
-
const
|
|
204
|
-
return
|
|
205
|
-
|
|
186
|
+
k > f && /* @__PURE__ */ x(I, { children: [
|
|
187
|
+
Array.from({ length: u }).map((S, A) => {
|
|
188
|
+
const m = f + A;
|
|
189
|
+
return m >= k ? null : /* @__PURE__ */ i(
|
|
190
|
+
B,
|
|
206
191
|
{
|
|
207
|
-
newPageNumber:
|
|
208
|
-
currentPageNumber:
|
|
209
|
-
onClick:
|
|
210
|
-
setCurrentPage:
|
|
211
|
-
disabled:
|
|
212
|
-
pageData:
|
|
213
|
-
isDateMode:
|
|
192
|
+
newPageNumber: m,
|
|
193
|
+
currentPageNumber: d,
|
|
194
|
+
onClick: o,
|
|
195
|
+
setCurrentPage: g,
|
|
196
|
+
disabled: a,
|
|
197
|
+
pageData: C == null ? void 0 : C[m - 1],
|
|
198
|
+
isDateMode: v
|
|
214
199
|
},
|
|
215
|
-
`boundary-start-${
|
|
200
|
+
`boundary-start-${m}`
|
|
216
201
|
);
|
|
217
202
|
}),
|
|
218
|
-
|
|
203
|
+
k > u + f && /* @__PURE__ */ i(M, {})
|
|
219
204
|
] }),
|
|
220
205
|
q({
|
|
221
|
-
start:
|
|
222
|
-
end:
|
|
223
|
-
currentPageNumber:
|
|
224
|
-
setCurrentPage:
|
|
225
|
-
onClick:
|
|
226
|
-
disabled:
|
|
227
|
-
pagesData:
|
|
228
|
-
isDateMode:
|
|
206
|
+
start: k,
|
|
207
|
+
end: _,
|
|
208
|
+
currentPageNumber: d,
|
|
209
|
+
setCurrentPage: g,
|
|
210
|
+
onClick: o,
|
|
211
|
+
disabled: a,
|
|
212
|
+
pagesData: C,
|
|
213
|
+
isDateMode: v
|
|
229
214
|
}),
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
Array.from({ length:
|
|
233
|
-
const
|
|
234
|
-
return
|
|
235
|
-
|
|
215
|
+
_ < b && /* @__PURE__ */ x(I, { children: [
|
|
216
|
+
_ < b - u && /* @__PURE__ */ i(M, {}),
|
|
217
|
+
Array.from({ length: u }).map((S, A) => {
|
|
218
|
+
const m = b - u + 1 + A;
|
|
219
|
+
return m <= _ ? null : /* @__PURE__ */ i(
|
|
220
|
+
B,
|
|
236
221
|
{
|
|
237
|
-
newPageNumber:
|
|
238
|
-
currentPageNumber:
|
|
239
|
-
onClick:
|
|
240
|
-
setCurrentPage:
|
|
241
|
-
disabled:
|
|
242
|
-
pageData:
|
|
243
|
-
isDateMode:
|
|
222
|
+
newPageNumber: m,
|
|
223
|
+
currentPageNumber: d,
|
|
224
|
+
onClick: o,
|
|
225
|
+
setCurrentPage: g,
|
|
226
|
+
disabled: a,
|
|
227
|
+
pageData: C == null ? void 0 : C[m - 1],
|
|
228
|
+
isDateMode: v
|
|
244
229
|
},
|
|
245
|
-
`boundary-end-${
|
|
230
|
+
`boundary-end-${m}`
|
|
246
231
|
);
|
|
247
232
|
})
|
|
248
233
|
] }),
|
|
249
|
-
!
|
|
234
|
+
!s && /* @__PURE__ */ i(
|
|
250
235
|
W,
|
|
251
236
|
{
|
|
252
|
-
currentPageNumber:
|
|
253
|
-
setCurrentPage:
|
|
254
|
-
lastPageNumber:
|
|
255
|
-
onClick:
|
|
256
|
-
disabled:
|
|
237
|
+
currentPageNumber: d,
|
|
238
|
+
setCurrentPage: g,
|
|
239
|
+
lastPageNumber: b,
|
|
240
|
+
onClick: o,
|
|
241
|
+
disabled: a
|
|
257
242
|
}
|
|
258
243
|
)
|
|
259
244
|
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { TCounterProps } from '../Counter/Counter';
|
|
3
|
+
|
|
4
|
+
export type TProps = ComponentProps<'button'> & {
|
|
5
|
+
/**
|
|
6
|
+
* Id для тестов.
|
|
7
|
+
*/
|
|
8
|
+
testId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Состояние, когда кнопка активна.
|
|
11
|
+
*/
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Значение даты или любой другой контент.
|
|
15
|
+
*/
|
|
16
|
+
date?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Объект пропсов компонента <Counter />.
|
|
19
|
+
*/
|
|
20
|
+
counterProps: TCounterProps;
|
|
21
|
+
};
|
|
22
|
+
export declare const PaginationDateButton: ({ disabled, isActive, testId, onClick, counterProps, date, className, ...otherProps }: TProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as n, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as b } from "../../../index-DIxK0V-G.js";
|
|
3
|
+
import { Counter as c } from "../Counter/Counter.js";
|
|
4
|
+
import '../../../assets/PaginationDateButton.css';const t = {
|
|
5
|
+
"pagination-button": "_pagination-button_1l24n_2",
|
|
6
|
+
"is-active": "_is-active_1l24n_23",
|
|
7
|
+
"pagination-button--date": "_pagination-button--date_1l24n_26",
|
|
8
|
+
"date-content": "_date-content_1l24n_30",
|
|
9
|
+
"date-text": "_date-text_1l24n_36"
|
|
10
|
+
}, N = ({
|
|
11
|
+
disabled: i,
|
|
12
|
+
isActive: e,
|
|
13
|
+
testId: l,
|
|
14
|
+
onClick: d,
|
|
15
|
+
counterProps: a,
|
|
16
|
+
date: _,
|
|
17
|
+
className: o,
|
|
18
|
+
...m
|
|
19
|
+
}) => /* @__PURE__ */ n(
|
|
20
|
+
"button",
|
|
21
|
+
{
|
|
22
|
+
...m,
|
|
23
|
+
"data-testid": l,
|
|
24
|
+
type: "button",
|
|
25
|
+
onClick: d,
|
|
26
|
+
disabled: i,
|
|
27
|
+
className: b(
|
|
28
|
+
t["pagination-button"],
|
|
29
|
+
t["pagination-button--date"],
|
|
30
|
+
{
|
|
31
|
+
[t["is-active"]]: e
|
|
32
|
+
},
|
|
33
|
+
o
|
|
34
|
+
),
|
|
35
|
+
children: /* @__PURE__ */ s("div", { className: t["date-content"], children: [
|
|
36
|
+
/* @__PURE__ */ n("span", { className: t["date-text"], children: _ }),
|
|
37
|
+
a.value !== void 0 && /* @__PURE__ */ n(
|
|
38
|
+
c,
|
|
39
|
+
{
|
|
40
|
+
value: a == null ? void 0 : a.value,
|
|
41
|
+
variant: a.variant,
|
|
42
|
+
color: a.color,
|
|
43
|
+
backgroundColor: a.backgroundColor,
|
|
44
|
+
className: a == null ? void 0 : a.className
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
] })
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
export {
|
|
51
|
+
N as PaginationDateButton
|
|
52
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { Pagination as
|
|
1
|
+
import { Pagination as r } from "./Pagination.js";
|
|
2
2
|
import { ECounterVariant as n } from "./constants.js";
|
|
3
|
+
import { PaginationDateButton as i } from "./PaginationDateButton/PaginationDateButton.js";
|
|
3
4
|
export {
|
|
4
5
|
n as ECounterVariant,
|
|
5
|
-
|
|
6
|
+
r as Pagination,
|
|
7
|
+
i as PaginationDateButton
|
|
6
8
|
};
|
|
@@ -35,7 +35,7 @@ export { Accordion, AccordionItem, EAccordionSize } from './Accordion';
|
|
|
35
35
|
export type { TAccordionProps, TAccordionItemProps } from './Accordion';
|
|
36
36
|
export { TabTrail, ETabTrailSize } from './TabTrail';
|
|
37
37
|
export type { TTabTrailProps, TCategoryTab } from './TabTrail';
|
|
38
|
-
export { Pagination, ECounterVariant } from './Pagination';
|
|
38
|
+
export { Pagination, ECounterVariant, PaginationDateButton, type TPaginationDateButtonProps } from './Pagination';
|
|
39
39
|
export { ToastProvider, useToast, EToastPosition, EToastVariant } from './Toasts';
|
|
40
40
|
export { UploaderPhotos } from './UploaderPhotos';
|
|
41
41
|
export type { TUploaderPhotos, TOnChangePhotosUpdate } from './UploaderPhotos';
|
package/dist/components/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import { I as l } from "../Input-DPnH8pKc.js";
|
|
|
4
4
|
import { EInputSize as S, EInputStatus as d, EInputVariant as s } from "./Input/constants.js";
|
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
|
6
6
|
import { ETextAreaInputSize as B } from "./TextArea/constants.js";
|
|
7
|
-
import { InputPassword as
|
|
8
|
-
import { InputPhoneNumber as
|
|
7
|
+
import { InputPassword as V } from "./InputPassword/InputPassword.js";
|
|
8
|
+
import { InputPhoneNumber as I } from "./InputPhoneNumber/InputPhoneNumber.js";
|
|
9
9
|
import { getMaskedInputPhoneValue as h, getUnmaskedInputValue as k } from "./InputPhoneNumber/utils.js";
|
|
10
|
-
import { OtpInput as
|
|
10
|
+
import { OtpInput as L } from "./OtpInput/OtpInput.js";
|
|
11
11
|
import { RadioGroup as M } from "./RadioGroup/RadioGroup.js";
|
|
12
12
|
import { DatePicker as C } from "./DatePicker/DatePicker.js";
|
|
13
13
|
import { EDatePickerBorderRadius as R } from "./DatePicker/constants.js";
|
|
@@ -28,10 +28,10 @@ import { EStepColor as xo, EStepsSize as fo } from "./Steps/constants.js";
|
|
|
28
28
|
import { Vote as Eo } from "./Vote/Vote.js";
|
|
29
29
|
import { EVoteSize as so } from "./Vote/constants.js";
|
|
30
30
|
import { SelectSearch as co } from "./SelectSearch/SelectSearch.js";
|
|
31
|
-
import { ELoadingIndicatorPlacement as Bo, ESelectSearchBorderRadius as
|
|
32
|
-
import { CheckboxMimir as
|
|
31
|
+
import { ELoadingIndicatorPlacement as Bo, ESelectSearchBorderRadius as go, ESelectSearchSize as Vo } from "./SelectSearch/constants.js";
|
|
32
|
+
import { CheckboxMimir as Io } from "./CheckboxMimir/CheckboxMimir.js";
|
|
33
33
|
import { Tag as ho } from "./Tag/Tag.js";
|
|
34
|
-
import { ETagSize as
|
|
34
|
+
import { ETagSize as Do, ETagType as Lo } from "./Tag/constants.js";
|
|
35
35
|
import { Timer as Mo } from "./Timer/Timer.js";
|
|
36
36
|
import { Accordion as Co } from "./Accordion/Accordion.js";
|
|
37
37
|
import { EAccordionSize as Ro } from "./Accordion/constants.js";
|
|
@@ -40,168 +40,170 @@ import { TabTrail as Fo } from "./TabTrail/TabTrail.js";
|
|
|
40
40
|
import { ETabTrailSize as No } from "./TabTrail/constants.js";
|
|
41
41
|
import { Pagination as Oo } from "./Pagination/Pagination.js";
|
|
42
42
|
import { ECounterVariant as qo } from "./Pagination/constants.js";
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
43
|
+
import { PaginationDateButton as Jo } from "./Pagination/PaginationDateButton/PaginationDateButton.js";
|
|
44
|
+
import { ToastProvider as Qo } from "./Toasts/ToastsProvider.js";
|
|
45
|
+
import { useToast as Xo } from "./Toasts/hooks.js";
|
|
46
|
+
import { EToastPosition as _o, EToastVariant as $o } from "./Toasts/constants.js";
|
|
47
|
+
import { UploaderPhotos as rr } from "./UploaderPhotos/UploaderPhotos.js";
|
|
48
|
+
import { ListPhoto as tr } from "./ListPhotos/ListPhoto/ListPhoto.js";
|
|
49
|
+
import { UploaderFiles as pr } from "./UploaderFiles/UploaderFiles.js";
|
|
50
|
+
import { EUploaderFilesVariant as mr } from "./UploaderFiles/constants.js";
|
|
51
|
+
import { Uploader as xr } from "./Uploader/Uploader.js";
|
|
52
|
+
import { Link as lr } from "./AnchorLink/Link.js";
|
|
53
|
+
import { ELinkSize as Sr, ELinkVariant as dr } from "./AnchorLink/constants.js";
|
|
54
|
+
import { NotificationBadge as ur } from "./NotificationBadge/NotificationBadge.js";
|
|
55
|
+
import { ENotificationBadgeSize as Tr } from "./NotificationBadge/constants.js";
|
|
56
|
+
import { Chip as gr } from "./Chip/Chip.js";
|
|
57
|
+
import { EChipSize as Pr, EChipVariant as Ir } from "./Chip/constants.js";
|
|
58
|
+
import { UniversalUploader as hr } from "./UniversalUploader/UniversalUploader.js";
|
|
59
|
+
import { EUploaderType as Dr } from "./UniversalUploader/constants.js";
|
|
60
|
+
import { InputRangeSlider as Ar } from "./InputRangeSlider/InputRangeSlider.js";
|
|
61
|
+
import { EInputRangeSliderBorderState as wr, EInputRangeSliderPositions as Cr } from "./InputRangeSlider/constants.js";
|
|
62
|
+
import { GosZnak as Rr } from "./GosZnak/GosZnak.js";
|
|
63
|
+
import { EGosZnakSize as Ur, EGosZnakType as vr } from "./GosZnak/constants.js";
|
|
64
|
+
import { Switcher as Gr } from "./Switcher/Switcher.js";
|
|
65
|
+
import { ELabelPositions as Zr } from "./Switcher/constants.js";
|
|
66
|
+
import { TwinSwitcher as jr } from "./TwinSwitcher/TwinSwitcher.js";
|
|
67
|
+
import { SkeletonBrick as Hr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
|
68
|
+
import { SkeletonText as Kr } from "./Skeleton/SkeletonText/SkeletonText.js";
|
|
69
|
+
import { SkeletonCircle as Wr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
|
70
|
+
import { ESkeletonVariant as Yr } from "./Skeleton/constants.js";
|
|
71
|
+
import { Avatar as $r } from "./Avatar/Avatar.js";
|
|
72
|
+
import { EAvatarSize as re, EAvatarVariant as ee } from "./Avatar/constants.js";
|
|
73
|
+
import { MultiSelectSearch as ae } from "./MultiSelectSearch/MultiSelectSearch.js";
|
|
74
|
+
import { ELoadingIndicatorPlacement as ie, EMultiSelectSearchSize as me } from "./MultiSelectSearch/constants.js";
|
|
75
|
+
import { ListFiles as xe } from "./ListFiles/ListFiles.js";
|
|
76
|
+
import { EFileItemVariant as le } from "./ListFiles/constants.js";
|
|
77
|
+
import { ListPhotos as Se } from "./ListPhotos/ListPhotos.js";
|
|
78
|
+
import { MessageShortReply as se } from "./MessageShortReply/MessageShortReply.js";
|
|
79
|
+
import { EMessageShortReplyVariant as ce } from "./MessageShortReply/constants.js";
|
|
80
|
+
import { Table as Be } from "./Table/Table.js";
|
|
81
|
+
import { ESortDirection as Ve, ETableDisplayMode as Pe, ETableScrollButtonVariant as Ie, ETableScrollIconName as ze, ETableVariant as he } from "./Table/constants.js";
|
|
82
|
+
import { PromoSlider as De } from "./PromoSlider/PromoSlider.js";
|
|
83
|
+
import { CardTrail as Ae } from "./CardTrail/CardTrail.js";
|
|
84
|
+
import { ClearButton as we } from "./InputClearButton/ClearButton.js";
|
|
85
|
+
import { CopyText as be } from "./CopyText/CopyText.js";
|
|
86
|
+
import { CarBodyButton as ye } from "./CarBodyButton/CarBodyButton.js";
|
|
87
|
+
import { TextArea as ve } from "./TextAreaV2/TextArea.js";
|
|
88
|
+
import { MiniButton as Ge } from "./MiniButton/MiniButton.js";
|
|
89
|
+
import { EMiniButtonSize as Ze, EMiniButtonVariant as Oe } from "./MiniButton/constants.js";
|
|
90
|
+
import { default as qe } from "./Slider/Slider.js";
|
|
91
|
+
import { EProgressBarPosition as Je } from "./Slider/constants.js";
|
|
91
92
|
export {
|
|
92
93
|
Co as Accordion,
|
|
93
94
|
Uo as AccordionItem,
|
|
94
|
-
|
|
95
|
+
$r as Avatar,
|
|
95
96
|
e as Button,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
ye as CarBodyButton,
|
|
98
|
+
Ae as CardTrail,
|
|
99
|
+
Io as CheckboxMimir,
|
|
100
|
+
gr as Chip,
|
|
101
|
+
we as ClearButton,
|
|
102
|
+
be as CopyText,
|
|
102
103
|
C as DatePicker,
|
|
103
104
|
Q as Drawer,
|
|
104
105
|
_ as Dropdown,
|
|
105
106
|
to as DropdownSelect,
|
|
106
107
|
Ro as EAccordionSize,
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
re as EAvatarSize,
|
|
109
|
+
ee as EAvatarVariant,
|
|
109
110
|
a as EButtonForm,
|
|
110
111
|
p as EButtonSize,
|
|
111
112
|
i as EButtonVariantBorderless,
|
|
112
113
|
m as EButtonVariantDefault,
|
|
113
114
|
n as EButtonVariantOutline,
|
|
114
115
|
x as EButtonVariantRound,
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
Pr as EChipSize,
|
|
117
|
+
Ir as EChipVariant,
|
|
117
118
|
qo as ECounterVariant,
|
|
118
119
|
R as EDatePickerBorderRadius,
|
|
119
120
|
X as EDrawerPosition,
|
|
120
121
|
oo as EDropdownAlign,
|
|
121
122
|
ro as EDropdownPlacement,
|
|
122
123
|
po as EDropdownSelectSize,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
le as EFileItemVariant,
|
|
125
|
+
Ur as EGosZnakSize,
|
|
126
|
+
vr as EGosZnakType,
|
|
127
|
+
wr as EInputRangeSliderBorderState,
|
|
128
|
+
Cr as EInputRangeSliderPositions,
|
|
128
129
|
S as EInputSize,
|
|
129
130
|
d as EInputStatus,
|
|
130
131
|
s as EInputVariant,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
Zr as ELabelPositions,
|
|
133
|
+
Sr as ELinkSize,
|
|
134
|
+
dr as ELinkVariant,
|
|
134
135
|
q as ELoaderSize,
|
|
135
|
-
|
|
136
|
+
ie as ELoadingIndicatorPlacement,
|
|
136
137
|
F as EMergedButtonVariantRound,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
ce as EMessageShortReplyVariant,
|
|
139
|
+
Ze as EMiniButtonSize,
|
|
140
|
+
Oe as EMiniButtonVariant,
|
|
141
|
+
me as EMultiSelectSearchSize,
|
|
142
|
+
Tr as ENotificationBadgeSize,
|
|
143
|
+
Je as EProgressBarPosition,
|
|
143
144
|
Bo as ESSLoadingPlacement,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
go as ESelectSearchBorderRadius,
|
|
146
|
+
Vo as ESelectSearchSize,
|
|
147
|
+
Yr as ESkeletonVariant,
|
|
148
|
+
Ve as ESortDirection,
|
|
148
149
|
xo as EStepColor,
|
|
149
150
|
fo as EStepsSize,
|
|
150
151
|
No as ETabTrailSize,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
Pe as ETableDisplayMode,
|
|
153
|
+
Ie as ETableScrollButtonVariant,
|
|
154
|
+
ze as ETableScrollIconName,
|
|
155
|
+
he as ETableVariant,
|
|
156
|
+
Do as ETagSize,
|
|
157
|
+
Lo as ETagType,
|
|
157
158
|
B as ETextAreaInputSize,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
_o as EToastPosition,
|
|
160
|
+
$o as EToastVariant,
|
|
161
|
+
mr as EUploaderFilesVariant,
|
|
162
|
+
Dr as EUploaderType,
|
|
162
163
|
so as EVoteSize,
|
|
163
|
-
|
|
164
|
+
Rr as GosZnak,
|
|
164
165
|
N as Image,
|
|
165
166
|
l as Input,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
V as InputPassword,
|
|
168
|
+
I as InputPhoneNumber,
|
|
169
|
+
Ar as InputRangeSlider,
|
|
170
|
+
lr as Link,
|
|
171
|
+
xe as ListFiles,
|
|
172
|
+
tr as ListPhoto,
|
|
173
|
+
Se as ListPhotos,
|
|
173
174
|
O as Loader,
|
|
174
175
|
U as MergedButton,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
se as MessageShortReply,
|
|
177
|
+
Ge as MiniButton,
|
|
178
|
+
ae as MultiSelectSearch,
|
|
179
|
+
ur as NotificationBadge,
|
|
180
|
+
L as OtpInput,
|
|
180
181
|
Oo as Pagination,
|
|
181
|
-
|
|
182
|
+
Jo as PaginationDateButton,
|
|
183
|
+
De as PromoSlider,
|
|
182
184
|
M as RadioGroup,
|
|
183
185
|
co as SelectSearch,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
Hr as SkeletonBrick,
|
|
187
|
+
Wr as SkeletonCircle,
|
|
188
|
+
Kr as SkeletonText,
|
|
189
|
+
qe as Slider,
|
|
188
190
|
J as SliderLazy,
|
|
189
191
|
mo as Steps,
|
|
190
|
-
|
|
192
|
+
Gr as Switcher,
|
|
191
193
|
Fo as TabTrail,
|
|
192
|
-
|
|
194
|
+
Be as Table,
|
|
193
195
|
ho as Tag,
|
|
194
196
|
c as TextArea,
|
|
195
|
-
|
|
197
|
+
ve as TextAreaV2,
|
|
196
198
|
Mo as Timer,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
Qo as ToastProvider,
|
|
200
|
+
jr as TwinSwitcher,
|
|
201
|
+
hr as UniversalUploader,
|
|
202
|
+
xr as Uploader,
|
|
203
|
+
pr as UploaderFiles,
|
|
204
|
+
rr as UploaderPhotos,
|
|
203
205
|
Eo as Vote,
|
|
204
206
|
h as getMaskedInputPhoneValue,
|
|
205
207
|
k as getUnmaskedInputValue,
|
|
206
|
-
|
|
208
|
+
Xo as useToast
|
|
207
209
|
};
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { InputPhoneNumber as P } from "./components/InputPhoneNumber/InputPhoneN
|
|
|
9
9
|
import { getMaskedInputPhoneValue as h, getUnmaskedInputValue as k } from "./components/InputPhoneNumber/utils.js";
|
|
10
10
|
import { OtpInput as C } from "./components/OtpInput/OtpInput.js";
|
|
11
11
|
import { RadioGroup as y } from "./components/RadioGroup/RadioGroup.js";
|
|
12
|
-
import { DatePicker as
|
|
12
|
+
import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
|
|
13
13
|
import { EDatePickerBorderRadius as A } from "./components/DatePicker/constants.js";
|
|
14
14
|
import { MergedButton as U } from "./components/MergedButton/MergedButton.js";
|
|
15
15
|
import { EMergedButtonVariantRound as F } from "./components/MergedButton/constants.js";
|
|
@@ -33,202 +33,204 @@ import { CheckboxMimir as Po } from "./components/CheckboxMimir/CheckboxMimir.js
|
|
|
33
33
|
import { Tag as ho } from "./components/Tag/Tag.js";
|
|
34
34
|
import { ETagSize as Mo, ETagType as Co } from "./components/Tag/constants.js";
|
|
35
35
|
import { Timer as yo } from "./components/Timer/Timer.js";
|
|
36
|
-
import { Accordion as
|
|
36
|
+
import { Accordion as Lo } from "./components/Accordion/Accordion.js";
|
|
37
37
|
import { EAccordionSize as Ao } from "./components/Accordion/constants.js";
|
|
38
38
|
import { AccordionItem as Uo } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
|
39
39
|
import { TabTrail as Fo } from "./components/TabTrail/TabTrail.js";
|
|
40
40
|
import { ETabTrailSize as No } from "./components/TabTrail/constants.js";
|
|
41
41
|
import { Pagination as Qo } from "./components/Pagination/Pagination.js";
|
|
42
42
|
import { ECounterVariant as jo } from "./components/Pagination/constants.js";
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
43
|
+
import { PaginationDateButton as Ho } from "./components/Pagination/PaginationDateButton/PaginationDateButton.js";
|
|
44
|
+
import { ToastProvider as Ko } from "./components/Toasts/ToastsProvider.js";
|
|
45
|
+
import { useToast as Xo } from "./components/Toasts/hooks.js";
|
|
46
|
+
import { EToastPosition as _o, EToastVariant as $o } from "./components/Toasts/constants.js";
|
|
47
|
+
import { UploaderPhotos as rr } from "./components/UploaderPhotos/UploaderPhotos.js";
|
|
48
|
+
import { ListPhoto as tr } from "./components/ListPhotos/ListPhoto/ListPhoto.js";
|
|
49
|
+
import { UploaderFiles as ar } from "./components/UploaderFiles/UploaderFiles.js";
|
|
50
|
+
import { EUploaderFilesVariant as mr } from "./components/UploaderFiles/constants.js";
|
|
51
|
+
import { Uploader as xr } from "./components/Uploader/Uploader.js";
|
|
52
|
+
import { Link as lr } from "./components/AnchorLink/Link.js";
|
|
53
|
+
import { ELinkSize as Er, ELinkVariant as ur } from "./components/AnchorLink/constants.js";
|
|
54
|
+
import { NotificationBadge as dr } from "./components/NotificationBadge/NotificationBadge.js";
|
|
55
|
+
import { ENotificationBadgeSize as Tr } from "./components/NotificationBadge/constants.js";
|
|
56
|
+
import { Chip as gr } from "./components/Chip/Chip.js";
|
|
57
|
+
import { EChipSize as Vr, EChipVariant as Pr } from "./components/Chip/constants.js";
|
|
58
|
+
import { UniversalUploader as hr } from "./components/UniversalUploader/UniversalUploader.js";
|
|
59
|
+
import { EUploaderType as Mr } from "./components/UniversalUploader/constants.js";
|
|
60
|
+
import { InputRangeSlider as br } from "./components/InputRangeSlider/InputRangeSlider.js";
|
|
61
|
+
import { EInputRangeSliderBorderState as Dr, EInputRangeSliderPositions as Lr } from "./components/InputRangeSlider/constants.js";
|
|
62
|
+
import { GosZnak as Ar } from "./components/GosZnak/GosZnak.js";
|
|
63
|
+
import { EGosZnakSize as Ur, EGosZnakType as vr } from "./components/GosZnak/constants.js";
|
|
64
|
+
import { Switcher as Gr } from "./components/Switcher/Switcher.js";
|
|
65
|
+
import { ELabelPositions as Or } from "./components/Switcher/constants.js";
|
|
66
|
+
import { TwinSwitcher as Zr } from "./components/TwinSwitcher/TwinSwitcher.js";
|
|
67
|
+
import { SkeletonBrick as qr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
|
68
|
+
import { SkeletonText as Jr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
|
69
|
+
import { SkeletonCircle as Wr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
|
70
|
+
import { ESkeletonVariant as Yr } from "./components/Skeleton/constants.js";
|
|
71
|
+
import { Avatar as $r } from "./components/Avatar/Avatar.js";
|
|
72
|
+
import { EAvatarSize as re, EAvatarVariant as ee } from "./components/Avatar/constants.js";
|
|
73
|
+
import { MultiSelectSearch as pe } from "./components/MultiSelectSearch/MultiSelectSearch.js";
|
|
74
|
+
import { ELoadingIndicatorPlacement as ie, EMultiSelectSearchSize as me } from "./components/MultiSelectSearch/constants.js";
|
|
75
|
+
import { ListFiles as xe } from "./components/ListFiles/ListFiles.js";
|
|
76
|
+
import { EFileItemVariant as le } from "./components/ListFiles/constants.js";
|
|
77
|
+
import { ListPhotos as Ee } from "./components/ListPhotos/ListPhotos.js";
|
|
78
|
+
import { MessageShortReply as Se } from "./components/MessageShortReply/MessageShortReply.js";
|
|
79
|
+
import { EMessageShortReplyVariant as ce } from "./components/MessageShortReply/constants.js";
|
|
80
|
+
import { Table as Be } from "./components/Table/Table.js";
|
|
81
|
+
import { ESortDirection as Ie, ETableDisplayMode as Ve, ETableScrollButtonVariant as Pe, ETableScrollIconName as ze, ETableVariant as he } from "./components/Table/constants.js";
|
|
82
|
+
import { PromoSlider as Me } from "./components/PromoSlider/PromoSlider.js";
|
|
83
|
+
import { CardTrail as be } from "./components/CardTrail/CardTrail.js";
|
|
84
|
+
import { ClearButton as De } from "./components/InputClearButton/ClearButton.js";
|
|
85
|
+
import { CopyText as Re } from "./components/CopyText/CopyText.js";
|
|
86
|
+
import { CarBodyButton as we } from "./components/CarBodyButton/CarBodyButton.js";
|
|
87
|
+
import { TextArea as ve } from "./components/TextAreaV2/TextArea.js";
|
|
88
|
+
import { MiniButton as Ge } from "./components/MiniButton/MiniButton.js";
|
|
89
|
+
import { EMiniButtonSize as Oe, EMiniButtonVariant as Qe } from "./components/MiniButton/constants.js";
|
|
90
|
+
import { useMediaQuery as je } from "./hooks/useMediaQuery/useMediaQuery.js";
|
|
91
|
+
import { EMediaQuery as He, EMinMediaQuery as Je } from "./hooks/useMediaQuery/constants.js";
|
|
92
|
+
import { useLockBodyScroll as We } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
|
93
|
+
import { useInterval as Ye } from "./hooks/useInterval/useInterval.js";
|
|
94
|
+
import { useTimer as $e } from "./hooks/useTimer/index.js";
|
|
95
|
+
import { useCopyToClipboard as rt } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
|
96
|
+
import { useMergeRefs as tt } from "./hooks/useMergeRefs/useMergeRefs.js";
|
|
97
|
+
import { useResizeObserver as at } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
98
|
+
import { useCallbackRef as mt } from "./hooks/useCallbackRef/index.js";
|
|
99
|
+
import { useThrottledCallback as xt } from "./hooks/useThrottledCallback/index.js";
|
|
100
|
+
import { Icon as lt } from "./icons/Icon.js";
|
|
101
|
+
import { formating as Et } from "./utils/index.js";
|
|
102
|
+
import { default as St } from "./components/Slider/Slider.js";
|
|
103
|
+
import { EProgressBarPosition as ct } from "./components/Slider/constants.js";
|
|
104
|
+
import { parseDate as Bt } from "./utils/formating/Date.js";
|
|
104
105
|
import './assets/index.css';export {
|
|
105
|
-
|
|
106
|
+
Lo as Accordion,
|
|
106
107
|
Uo as AccordionItem,
|
|
107
|
-
|
|
108
|
+
$r as Avatar,
|
|
108
109
|
e as Button,
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
we as CarBodyButton,
|
|
111
|
+
be as CardTrail,
|
|
111
112
|
Po as CheckboxMimir,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
gr as Chip,
|
|
114
|
+
De as ClearButton,
|
|
115
|
+
Re as CopyText,
|
|
116
|
+
L as DatePicker,
|
|
116
117
|
K as Drawer,
|
|
117
118
|
_ as Dropdown,
|
|
118
119
|
to as DropdownSelect,
|
|
119
120
|
Ao as EAccordionSize,
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
re as EAvatarSize,
|
|
122
|
+
ee as EAvatarVariant,
|
|
122
123
|
p as EButtonForm,
|
|
123
124
|
a as EButtonSize,
|
|
124
125
|
i as EButtonVariantBorderless,
|
|
125
126
|
m as EButtonVariantDefault,
|
|
126
127
|
f as EButtonVariantOutline,
|
|
127
128
|
x as EButtonVariantRound,
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
Vr as EChipSize,
|
|
130
|
+
Pr as EChipVariant,
|
|
130
131
|
jo as ECounterVariant,
|
|
131
132
|
A as EDatePickerBorderRadius,
|
|
132
133
|
X as EDrawerPosition,
|
|
133
134
|
oo as EDropdownAlign,
|
|
134
135
|
ro as EDropdownPlacement,
|
|
135
136
|
ao as EDropdownSelectSize,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
le as EFileItemVariant,
|
|
138
|
+
Ur as EGosZnakSize,
|
|
139
|
+
vr as EGosZnakType,
|
|
140
|
+
Dr as EInputRangeSliderBorderState,
|
|
141
|
+
Lr as EInputRangeSliderPositions,
|
|
141
142
|
E as EInputSize,
|
|
142
143
|
u as EInputStatus,
|
|
143
144
|
S as EInputVariant,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
Or as ELabelPositions,
|
|
146
|
+
Er as ELinkSize,
|
|
147
|
+
ur as ELinkVariant,
|
|
147
148
|
j as ELoaderSize,
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
ie as ELoadingIndicatorPlacement,
|
|
150
|
+
He as EMediaQuery,
|
|
150
151
|
F as EMergedButtonVariantRound,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
ce as EMessageShortReplyVariant,
|
|
153
|
+
Je as EMinMediaQuery,
|
|
154
|
+
Oe as EMiniButtonSize,
|
|
155
|
+
Qe as EMiniButtonVariant,
|
|
156
|
+
me as EMultiSelectSearchSize,
|
|
157
|
+
Tr as ENotificationBadgeSize,
|
|
158
|
+
ct as EProgressBarPosition,
|
|
158
159
|
Bo as ESSLoadingPlacement,
|
|
159
160
|
go as ESelectSearchBorderRadius,
|
|
160
161
|
Io as ESelectSearchSize,
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
Yr as ESkeletonVariant,
|
|
163
|
+
Ie as ESortDirection,
|
|
163
164
|
xo as EStepColor,
|
|
164
165
|
no as EStepsSize,
|
|
165
166
|
No as ETabTrailSize,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
Ve as ETableDisplayMode,
|
|
168
|
+
Pe as ETableScrollButtonVariant,
|
|
169
|
+
ze as ETableScrollIconName,
|
|
170
|
+
he as ETableVariant,
|
|
170
171
|
Mo as ETagSize,
|
|
171
172
|
Co as ETagType,
|
|
172
173
|
B as ETextAreaInputSize,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
_o as EToastPosition,
|
|
175
|
+
$o as EToastVariant,
|
|
176
|
+
mr as EUploaderFilesVariant,
|
|
177
|
+
Mr as EUploaderType,
|
|
177
178
|
uo as EVoteSize,
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
Ar as GosZnak,
|
|
180
|
+
lt as Icon,
|
|
180
181
|
N as Image,
|
|
181
182
|
l as Input,
|
|
182
183
|
I as InputPassword,
|
|
183
184
|
P as InputPhoneNumber,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
br as InputRangeSlider,
|
|
186
|
+
lr as Link,
|
|
187
|
+
xe as ListFiles,
|
|
188
|
+
tr as ListPhoto,
|
|
189
|
+
Ee as ListPhotos,
|
|
189
190
|
Q as Loader,
|
|
190
191
|
U as MergedButton,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
Se as MessageShortReply,
|
|
193
|
+
Ge as MiniButton,
|
|
194
|
+
pe as MultiSelectSearch,
|
|
195
|
+
dr as NotificationBadge,
|
|
195
196
|
C as OtpInput,
|
|
196
197
|
Qo as Pagination,
|
|
197
|
-
|
|
198
|
+
Ho as PaginationDateButton,
|
|
199
|
+
Me as PromoSlider,
|
|
198
200
|
y as RadioGroup,
|
|
199
201
|
co as SelectSearch,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
qr as SkeletonBrick,
|
|
203
|
+
Wr as SkeletonCircle,
|
|
204
|
+
Jr as SkeletonText,
|
|
205
|
+
St as Slider,
|
|
204
206
|
H as SliderLazy,
|
|
205
207
|
mo as Steps,
|
|
206
|
-
|
|
208
|
+
Gr as Switcher,
|
|
207
209
|
Fo as TabTrail,
|
|
208
|
-
|
|
210
|
+
Be as Table,
|
|
209
211
|
ho as Tag,
|
|
210
212
|
c as TextArea,
|
|
211
|
-
|
|
213
|
+
ve as TextAreaV2,
|
|
212
214
|
yo as Timer,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
215
|
+
Ko as ToastProvider,
|
|
216
|
+
Zr as TwinSwitcher,
|
|
217
|
+
hr as UniversalUploader,
|
|
218
|
+
xr as Uploader,
|
|
219
|
+
ar as UploaderFiles,
|
|
220
|
+
rr as UploaderPhotos,
|
|
219
221
|
so as Vote,
|
|
220
|
-
|
|
222
|
+
Et as formating,
|
|
221
223
|
h as getMaskedInputPhoneValue,
|
|
222
224
|
k as getUnmaskedInputValue,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
225
|
+
Bt as parseDate,
|
|
226
|
+
mt as useCallbackRef,
|
|
227
|
+
rt as useCopyToClipboard,
|
|
228
|
+
Ye as useInterval,
|
|
229
|
+
We as useLockBodyScroll,
|
|
230
|
+
je as useMediaQuery,
|
|
231
|
+
tt as useMergeRefs,
|
|
232
|
+
at as useResizeObserver,
|
|
233
|
+
xt as useThrottledCallback,
|
|
234
|
+
$e as useTimer,
|
|
235
|
+
Xo as useToast
|
|
234
236
|
};
|