profinansy-ui-lib 4.1.49 → 4.1.50
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/components/blocks/headerV2/components/Burger/components/Item/Item.d.ts +1 -3
- package/dist/components/blocks/headerV2/components/Burger/components/Menu/Menu.d.ts +4 -2
- package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.d.ts +1 -3
- package/dist/index.d.ts +0 -2
- package/dist/localization/translations/common.d.ts +0 -2
- package/dist/localization/translations/urls.d.ts +0 -6
- package/dist/profinansy-ui-lib.cjs +3260 -4642
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +13666 -20411
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/products/idv/idvLinks.d.ts +0 -13
- package/dist/urls/products/method/methodLinks.d.ts +6 -13
- package/dist/urls/productsV2/courses/courses.header.d.ts +0 -18
- package/dist/urls/productsV2/method/method.d.ts +33 -10
- package/package.json +1 -1
- package/dist/api/clubSearch/clubSearch.d.ts +0 -32
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/ClubSearch.styled.d.ts +0 -22
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/ClubSearch.translations.d.ts +0 -24
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/ClubSearchModal.d.ts +0 -8
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/ClubSearchTrigger.d.ts +0 -3
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/ClubSearchTrigger.typed.d.ts +0 -3
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchEmptyState/SearchEmptyState.d.ts +0 -3
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchEmptyState/SearchEmptyState.typed.d.ts +0 -4
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchEmptyState/index.d.ts +0 -1
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchResultItem.d.ts +0 -3
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchResultItem.typed.d.ts +0 -8
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/hooks/useClubSearch.d.ts +0 -8
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/index.d.ts +0 -2
- package/dist/components/blocks/headerV2/components/Burger/components/ClubSearch/utils/getClubSearchSectionMeta.d.ts +0 -12
- package/dist/components/blocks/headerV2/components/Burger/components/Menu/Menu.typed.d.ts +0 -5
- package/dist/components/uikit/DatepickerV2/DatepickerV2.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/DatepickerV2.styled.d.ts +0 -6
- package/dist/components/uikit/DatepickerV2/DatepickerV2.typed.d.ts +0 -53
- package/dist/components/uikit/DatepickerV2/components/Calendar/Calendar.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/Calendar/Calendar.styled.d.ts +0 -19
- package/dist/components/uikit/DatepickerV2/components/Calendar/Calendar.typed.d.ts +0 -20
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/ComparisonPeriod.const.d.ts +0 -25
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/ComparisonPeriod.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/ComparisonPeriod.styled.d.ts +0 -32
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/ComparisonPeriod.typed.d.ts +0 -21
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/ComparisonPeriodSettings.d.ts +0 -12
- package/dist/components/uikit/DatepickerV2/components/ComparisonPeriod/index.d.ts +0 -1
- package/dist/components/uikit/DatepickerV2/components/Day/Day.d.ts +0 -11
- package/dist/components/uikit/DatepickerV2/components/Day/Day.styled.d.ts +0 -4
- package/dist/components/uikit/DatepickerV2/components/Header/Header.d.ts +0 -5
- package/dist/components/uikit/DatepickerV2/components/Header/Header.styled.d.ts +0 -12
- package/dist/components/uikit/DatepickerV2/components/Header/index.d.ts +0 -1
- package/dist/components/uikit/DatepickerV2/components/Input/Input.d.ts +0 -19
- package/dist/components/uikit/DatepickerV2/components/Input/Input.styled.d.ts +0 -16
- package/dist/components/uikit/DatepickerV2/components/MobileRangePicker/MobileRangePicker.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/MobileRangePicker/MobileRangePicker.styled.d.ts +0 -22
- package/dist/components/uikit/DatepickerV2/components/MobileRangePicker/MobileRangePicker.typed.d.ts +0 -23
- package/dist/components/uikit/DatepickerV2/components/MobileRangePicker/index.d.ts +0 -1
- package/dist/components/uikit/DatepickerV2/components/PeriodTemplates/PeriodTemplates.const.d.ts +0 -23
- package/dist/components/uikit/DatepickerV2/components/PeriodTemplates/PeriodTemplates.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/PeriodTemplates/PeriodTemplates.styled.d.ts +0 -7
- package/dist/components/uikit/DatepickerV2/components/PeriodTemplates/PeriodTemplates.typed.d.ts +0 -6
- package/dist/components/uikit/DatepickerV2/components/RangeSummary/RangeSummary.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/RangeSummary/RangeSummary.styled.d.ts +0 -6
- package/dist/components/uikit/DatepickerV2/components/RangeSummary/RangeSummary.typed.d.ts +0 -7
- package/dist/components/uikit/DatepickerV2/components/Time/Time.const.d.ts +0 -8
- package/dist/components/uikit/DatepickerV2/components/Time/Time.d.ts +0 -3
- package/dist/components/uikit/DatepickerV2/components/Time/Time.styled.d.ts +0 -12
- package/dist/components/uikit/DatepickerV2/components/Time/Time.typed.d.ts +0 -6
- package/dist/components/uikit/DatepickerV2/index.d.ts +0 -2
|
@@ -9,7 +9,6 @@ export declare const getIdvLinks: (hostname: string, isPaid: boolean) => {
|
|
|
9
9
|
Icon: ComponentType<void>;
|
|
10
10
|
href: string;
|
|
11
11
|
innerPages?: undefined;
|
|
12
|
-
isFill?: undefined;
|
|
13
12
|
unavailable?: undefined;
|
|
14
13
|
isOpenUnavailable?: undefined;
|
|
15
14
|
subPages?: undefined;
|
|
@@ -18,16 +17,6 @@ export declare const getIdvLinks: (hostname: string, isPaid: boolean) => {
|
|
|
18
17
|
Icon: ComponentType<void>;
|
|
19
18
|
href: string;
|
|
20
19
|
innerPages: string[];
|
|
21
|
-
isFill?: undefined;
|
|
22
|
-
unavailable?: undefined;
|
|
23
|
-
isOpenUnavailable?: undefined;
|
|
24
|
-
subPages?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
name: string;
|
|
27
|
-
Icon: ComponentType<void>;
|
|
28
|
-
href: string;
|
|
29
|
-
isFill: boolean;
|
|
30
|
-
innerPages?: undefined;
|
|
31
20
|
unavailable?: undefined;
|
|
32
21
|
isOpenUnavailable?: undefined;
|
|
33
22
|
subPages?: undefined;
|
|
@@ -38,7 +27,6 @@ export declare const getIdvLinks: (hostname: string, isPaid: boolean) => {
|
|
|
38
27
|
isOpenUnavailable: boolean;
|
|
39
28
|
href: string;
|
|
40
29
|
innerPages: string[];
|
|
41
|
-
isFill?: undefined;
|
|
42
30
|
subPages?: undefined;
|
|
43
31
|
} | {
|
|
44
32
|
name: string;
|
|
@@ -51,6 +39,5 @@ export declare const getIdvLinks: (hostname: string, isPaid: boolean) => {
|
|
|
51
39
|
href: string;
|
|
52
40
|
}[];
|
|
53
41
|
innerPages?: undefined;
|
|
54
|
-
isFill?: undefined;
|
|
55
42
|
})[];
|
|
56
43
|
};
|
|
@@ -8,27 +8,25 @@ export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMet
|
|
|
8
8
|
name: string;
|
|
9
9
|
Icon: ComponentType<void>;
|
|
10
10
|
href: string;
|
|
11
|
-
|
|
11
|
+
innerPages?: undefined;
|
|
12
12
|
unavailable?: undefined;
|
|
13
13
|
isOpenUnavailable?: undefined;
|
|
14
14
|
isDeleteCommonNavigation?: undefined;
|
|
15
15
|
isOpenNewTab?: undefined;
|
|
16
16
|
preserveIconColor?: undefined;
|
|
17
17
|
isNotVisible?: undefined;
|
|
18
|
-
innerPages?: undefined;
|
|
19
18
|
subPages?: undefined;
|
|
20
19
|
} | {
|
|
21
20
|
name: string;
|
|
22
21
|
Icon: ComponentType<void>;
|
|
23
22
|
href: string;
|
|
24
|
-
|
|
23
|
+
innerPages: string[];
|
|
25
24
|
unavailable?: undefined;
|
|
26
25
|
isOpenUnavailable?: undefined;
|
|
27
26
|
isDeleteCommonNavigation?: undefined;
|
|
28
27
|
isOpenNewTab?: undefined;
|
|
29
28
|
preserveIconColor?: undefined;
|
|
30
29
|
isNotVisible?: undefined;
|
|
31
|
-
innerPages?: undefined;
|
|
32
30
|
subPages?: undefined;
|
|
33
31
|
} | {
|
|
34
32
|
name: string;
|
|
@@ -37,24 +35,22 @@ export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMet
|
|
|
37
35
|
unavailable: boolean;
|
|
38
36
|
isOpenUnavailable: boolean;
|
|
39
37
|
isDeleteCommonNavigation: boolean;
|
|
40
|
-
|
|
38
|
+
innerPages?: undefined;
|
|
41
39
|
isOpenNewTab?: undefined;
|
|
42
40
|
preserveIconColor?: undefined;
|
|
43
41
|
isNotVisible?: undefined;
|
|
44
|
-
innerPages?: undefined;
|
|
45
42
|
subPages?: undefined;
|
|
46
43
|
} | {
|
|
47
44
|
name: string;
|
|
48
45
|
Icon: ComponentType<void>;
|
|
49
46
|
href: string;
|
|
50
47
|
isOpenNewTab: boolean;
|
|
51
|
-
|
|
48
|
+
innerPages?: undefined;
|
|
52
49
|
unavailable?: undefined;
|
|
53
50
|
isOpenUnavailable?: undefined;
|
|
54
51
|
isDeleteCommonNavigation?: undefined;
|
|
55
52
|
preserveIconColor?: undefined;
|
|
56
53
|
isNotVisible?: undefined;
|
|
57
|
-
innerPages?: undefined;
|
|
58
54
|
subPages?: undefined;
|
|
59
55
|
} | {
|
|
60
56
|
name: string;
|
|
@@ -63,11 +59,10 @@ export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMet
|
|
|
63
59
|
preserveIconColor: boolean;
|
|
64
60
|
isOpenNewTab: boolean;
|
|
65
61
|
isNotVisible: boolean;
|
|
66
|
-
|
|
62
|
+
innerPages?: undefined;
|
|
67
63
|
unavailable?: undefined;
|
|
68
64
|
isOpenUnavailable?: undefined;
|
|
69
65
|
isDeleteCommonNavigation?: undefined;
|
|
70
|
-
innerPages?: undefined;
|
|
71
66
|
subPages?: undefined;
|
|
72
67
|
} | {
|
|
73
68
|
name: string;
|
|
@@ -76,7 +71,6 @@ export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMet
|
|
|
76
71
|
unavailable: boolean;
|
|
77
72
|
isOpenUnavailable: boolean;
|
|
78
73
|
innerPages: string[];
|
|
79
|
-
isFill?: undefined;
|
|
80
74
|
isDeleteCommonNavigation?: undefined;
|
|
81
75
|
isOpenNewTab?: undefined;
|
|
82
76
|
preserveIconColor?: undefined;
|
|
@@ -92,12 +86,11 @@ export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMet
|
|
|
92
86
|
Icon: ComponentType<void>;
|
|
93
87
|
href: string;
|
|
94
88
|
}[];
|
|
95
|
-
|
|
89
|
+
innerPages?: undefined;
|
|
96
90
|
unavailable?: undefined;
|
|
97
91
|
isOpenUnavailable?: undefined;
|
|
98
92
|
isOpenNewTab?: undefined;
|
|
99
93
|
preserveIconColor?: undefined;
|
|
100
94
|
isNotVisible?: undefined;
|
|
101
|
-
innerPages?: undefined;
|
|
102
95
|
})[];
|
|
103
96
|
};
|
|
@@ -62,21 +62,12 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
62
62
|
icon: ComponentType<void>;
|
|
63
63
|
locked: boolean;
|
|
64
64
|
isFill: boolean;
|
|
65
|
-
isNotVisible?: undefined;
|
|
66
65
|
} | {
|
|
67
66
|
title: string;
|
|
68
67
|
href: string;
|
|
69
68
|
icon: ComponentType<void>;
|
|
70
69
|
isFill: boolean;
|
|
71
70
|
locked?: undefined;
|
|
72
|
-
isNotVisible?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
title: string;
|
|
75
|
-
href: string;
|
|
76
|
-
icon: ComponentType<void>;
|
|
77
|
-
isFill: boolean;
|
|
78
|
-
isNotVisible: boolean;
|
|
79
|
-
locked?: undefined;
|
|
80
71
|
})[];
|
|
81
72
|
image?: undefined;
|
|
82
73
|
href?: undefined;
|
|
@@ -234,21 +225,12 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
234
225
|
icon: ComponentType<void>;
|
|
235
226
|
locked: boolean;
|
|
236
227
|
isFill: boolean;
|
|
237
|
-
isNotVisible?: undefined;
|
|
238
228
|
} | {
|
|
239
229
|
title: string;
|
|
240
230
|
href: string;
|
|
241
231
|
icon: ComponentType<void>;
|
|
242
232
|
isFill: boolean;
|
|
243
233
|
locked?: undefined;
|
|
244
|
-
isNotVisible?: undefined;
|
|
245
|
-
} | {
|
|
246
|
-
title: string;
|
|
247
|
-
href: string;
|
|
248
|
-
icon: ComponentType<void>;
|
|
249
|
-
isFill: boolean;
|
|
250
|
-
isNotVisible: boolean;
|
|
251
|
-
locked?: undefined;
|
|
252
234
|
})[];
|
|
253
235
|
image?: undefined;
|
|
254
236
|
href?: undefined;
|
|
@@ -92,43 +92,53 @@ export declare const getMethodHeader: (hostname: string, hostnameKfp: string, is
|
|
|
92
92
|
subPages: ({
|
|
93
93
|
name: string;
|
|
94
94
|
href: string;
|
|
95
|
+
innerPages?: undefined;
|
|
96
|
+
unavailable?: undefined;
|
|
97
|
+
isOpenUnavailable?: undefined;
|
|
98
|
+
isDeleteCommonNavigation?: undefined;
|
|
99
|
+
isOpenNewTab?: undefined;
|
|
100
|
+
preserveIconColor?: undefined;
|
|
101
|
+
isNotVisible?: undefined;
|
|
102
|
+
} | {
|
|
103
|
+
name: string;
|
|
104
|
+
href: string;
|
|
105
|
+
innerPages: string[];
|
|
95
106
|
unavailable?: undefined;
|
|
96
107
|
isOpenUnavailable?: undefined;
|
|
97
108
|
isDeleteCommonNavigation?: undefined;
|
|
98
109
|
isOpenNewTab?: undefined;
|
|
99
110
|
preserveIconColor?: undefined;
|
|
100
111
|
isNotVisible?: undefined;
|
|
101
|
-
innerPages?: undefined;
|
|
102
112
|
} | {
|
|
103
113
|
name: string;
|
|
104
114
|
href: string;
|
|
105
115
|
unavailable: boolean;
|
|
106
116
|
isOpenUnavailable: boolean;
|
|
107
117
|
isDeleteCommonNavigation: boolean;
|
|
118
|
+
innerPages?: undefined;
|
|
108
119
|
isOpenNewTab?: undefined;
|
|
109
120
|
preserveIconColor?: undefined;
|
|
110
121
|
isNotVisible?: undefined;
|
|
111
|
-
innerPages?: undefined;
|
|
112
122
|
} | {
|
|
113
123
|
name: string;
|
|
114
124
|
href: string;
|
|
115
125
|
isOpenNewTab: boolean;
|
|
126
|
+
innerPages?: undefined;
|
|
116
127
|
unavailable?: undefined;
|
|
117
128
|
isOpenUnavailable?: undefined;
|
|
118
129
|
isDeleteCommonNavigation?: undefined;
|
|
119
130
|
preserveIconColor?: undefined;
|
|
120
131
|
isNotVisible?: undefined;
|
|
121
|
-
innerPages?: undefined;
|
|
122
132
|
} | {
|
|
123
133
|
name: string;
|
|
124
134
|
href: string;
|
|
125
135
|
preserveIconColor: boolean;
|
|
126
136
|
isOpenNewTab: boolean;
|
|
127
137
|
isNotVisible: boolean;
|
|
138
|
+
innerPages?: undefined;
|
|
128
139
|
unavailable?: undefined;
|
|
129
140
|
isOpenUnavailable?: undefined;
|
|
130
141
|
isDeleteCommonNavigation?: undefined;
|
|
131
|
-
innerPages?: undefined;
|
|
132
142
|
} | {
|
|
133
143
|
name: string;
|
|
134
144
|
href: string;
|
|
@@ -151,6 +161,7 @@ export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, i
|
|
|
151
161
|
name: string;
|
|
152
162
|
Icon: ComponentType<void>;
|
|
153
163
|
href: string;
|
|
164
|
+
innerPages?: undefined;
|
|
154
165
|
isFill?: undefined;
|
|
155
166
|
unavailable?: undefined;
|
|
156
167
|
isOpenUnavailable?: undefined;
|
|
@@ -158,20 +169,32 @@ export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, i
|
|
|
158
169
|
isOpenNewTab?: undefined;
|
|
159
170
|
preserveIconColor?: undefined;
|
|
160
171
|
isNotVisible?: undefined;
|
|
161
|
-
innerPages?: undefined;
|
|
162
172
|
subPages?: undefined;
|
|
163
173
|
} | {
|
|
164
174
|
name: string;
|
|
165
175
|
Icon: ComponentType<void>;
|
|
166
176
|
href: string;
|
|
167
|
-
|
|
177
|
+
innerPages: string[];
|
|
178
|
+
isFill?: undefined;
|
|
168
179
|
unavailable?: undefined;
|
|
169
180
|
isOpenUnavailable?: undefined;
|
|
170
181
|
isDeleteCommonNavigation?: undefined;
|
|
171
182
|
isOpenNewTab?: undefined;
|
|
172
183
|
preserveIconColor?: undefined;
|
|
173
184
|
isNotVisible?: undefined;
|
|
185
|
+
subPages?: undefined;
|
|
186
|
+
} | {
|
|
187
|
+
name: string;
|
|
188
|
+
Icon: ComponentType<void>;
|
|
189
|
+
href: string;
|
|
190
|
+
isFill: boolean;
|
|
174
191
|
innerPages?: undefined;
|
|
192
|
+
unavailable?: undefined;
|
|
193
|
+
isOpenUnavailable?: undefined;
|
|
194
|
+
isDeleteCommonNavigation?: undefined;
|
|
195
|
+
isOpenNewTab?: undefined;
|
|
196
|
+
preserveIconColor?: undefined;
|
|
197
|
+
isNotVisible?: undefined;
|
|
175
198
|
subPages?: undefined;
|
|
176
199
|
} | {
|
|
177
200
|
name: string;
|
|
@@ -180,24 +203,24 @@ export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, i
|
|
|
180
203
|
unavailable: boolean;
|
|
181
204
|
isOpenUnavailable: boolean;
|
|
182
205
|
isDeleteCommonNavigation: boolean;
|
|
206
|
+
innerPages?: undefined;
|
|
183
207
|
isFill?: undefined;
|
|
184
208
|
isOpenNewTab?: undefined;
|
|
185
209
|
preserveIconColor?: undefined;
|
|
186
210
|
isNotVisible?: undefined;
|
|
187
|
-
innerPages?: undefined;
|
|
188
211
|
subPages?: undefined;
|
|
189
212
|
} | {
|
|
190
213
|
name: string;
|
|
191
214
|
Icon: ComponentType<void>;
|
|
192
215
|
href: string;
|
|
193
216
|
isOpenNewTab: boolean;
|
|
217
|
+
innerPages?: undefined;
|
|
194
218
|
isFill?: undefined;
|
|
195
219
|
unavailable?: undefined;
|
|
196
220
|
isOpenUnavailable?: undefined;
|
|
197
221
|
isDeleteCommonNavigation?: undefined;
|
|
198
222
|
preserveIconColor?: undefined;
|
|
199
223
|
isNotVisible?: undefined;
|
|
200
|
-
innerPages?: undefined;
|
|
201
224
|
subPages?: undefined;
|
|
202
225
|
} | {
|
|
203
226
|
name: string;
|
|
@@ -206,11 +229,11 @@ export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, i
|
|
|
206
229
|
preserveIconColor: boolean;
|
|
207
230
|
isOpenNewTab: boolean;
|
|
208
231
|
isNotVisible: boolean;
|
|
232
|
+
innerPages?: undefined;
|
|
209
233
|
isFill?: undefined;
|
|
210
234
|
unavailable?: undefined;
|
|
211
235
|
isOpenUnavailable?: undefined;
|
|
212
236
|
isDeleteCommonNavigation?: undefined;
|
|
213
|
-
innerPages?: undefined;
|
|
214
237
|
subPages?: undefined;
|
|
215
238
|
} | {
|
|
216
239
|
name: string;
|
|
@@ -234,13 +257,13 @@ export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, i
|
|
|
234
257
|
name: string;
|
|
235
258
|
href: string;
|
|
236
259
|
}[];
|
|
260
|
+
innerPages?: undefined;
|
|
237
261
|
isFill?: undefined;
|
|
238
262
|
unavailable?: undefined;
|
|
239
263
|
isOpenUnavailable?: undefined;
|
|
240
264
|
isOpenNewTab?: undefined;
|
|
241
265
|
preserveIconColor?: undefined;
|
|
242
266
|
isNotVisible?: undefined;
|
|
243
|
-
innerPages?: undefined;
|
|
244
267
|
})[];
|
|
245
268
|
};
|
|
246
269
|
/** Плоский список «Метод» для Mega-Footer */
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IApiSettings } from 'src/api/api';
|
|
2
|
-
export type ClubSearchNewsItem = {
|
|
3
|
-
news_id: number;
|
|
4
|
-
title: string;
|
|
5
|
-
tags?: number[];
|
|
6
|
-
idea?: unknown;
|
|
7
|
-
};
|
|
8
|
-
export type ClubSearchNewsResponse = {
|
|
9
|
-
data: ClubSearchNewsItem[];
|
|
10
|
-
next?: string;
|
|
11
|
-
ok?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export type ClubLentaMenuItem = {
|
|
14
|
-
news_section_id: number;
|
|
15
|
-
code: string;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
export type ClubMenuTab = {
|
|
19
|
-
id: number;
|
|
20
|
-
code: string;
|
|
21
|
-
name: string;
|
|
22
|
-
childs?: ClubMenuTab[] | null;
|
|
23
|
-
};
|
|
24
|
-
export declare const searchClubNews: (params: Record<string, string | number>, settings: IApiSettings) => Promise<ClubSearchNewsResponse>;
|
|
25
|
-
export declare const getClubLentaMenu: (settings: IApiSettings) => Promise<{
|
|
26
|
-
data: ClubLentaMenuItem[];
|
|
27
|
-
ok?: boolean;
|
|
28
|
-
}>;
|
|
29
|
-
export declare const getClubMenuTabs: (settings: IApiSettings) => Promise<{
|
|
30
|
-
data: ClubMenuTab[];
|
|
31
|
-
ok?: boolean;
|
|
32
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Backdrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const Panel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const BackButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
-
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
8
|
-
export declare const Body: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const InputWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
-
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
-
export declare const ClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
12
|
-
export declare const ResultsList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
-
export declare const SkeletonRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
|
-
export declare const SkeletonTexts: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
|
-
export declare const EmptyRoot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
16
|
-
export declare const EmptyImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
17
|
-
export declare const ResultItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
18
|
-
export declare const ResultIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
|
-
export declare const ResultContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
20
|
-
export declare const ResultTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
21
|
-
export declare const SearchTrigger: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
22
|
-
export declare const TriggerIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const club_search_translation: {
|
|
2
|
-
ru: {
|
|
3
|
-
trigger_placeholder: string;
|
|
4
|
-
modal_title: string;
|
|
5
|
-
input_placeholder: string;
|
|
6
|
-
no_results: string;
|
|
7
|
-
no_results_hint: string;
|
|
8
|
-
breadcrumb: string;
|
|
9
|
-
section_feed: string;
|
|
10
|
-
section_schedule: string;
|
|
11
|
-
section_invest_game: string;
|
|
12
|
-
};
|
|
13
|
-
en: {
|
|
14
|
-
trigger_placeholder: string;
|
|
15
|
-
modal_title: string;
|
|
16
|
-
input_placeholder: string;
|
|
17
|
-
no_results: string;
|
|
18
|
-
no_results_hint: string;
|
|
19
|
-
breadcrumb: string;
|
|
20
|
-
section_feed: string;
|
|
21
|
-
section_schedule: string;
|
|
22
|
-
section_invest_game: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SearchEmptyState } from 'src/components/blocks/headerV2/components/Burger/components/ClubSearch/components/SearchEmptyState/SearchEmptyState';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClubLentaMenuItem, ClubMenuTab, ClubSearchNewsItem } from 'src/api/clubSearch/clubSearch';
|
|
2
|
-
export interface ISearchResultItemProps {
|
|
3
|
-
news: ClubSearchNewsItem;
|
|
4
|
-
query: string;
|
|
5
|
-
clubTabs: ClubMenuTab[];
|
|
6
|
-
clubLentaMenu: ClubLentaMenuItem[];
|
|
7
|
-
onNavigate: () => void;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClubLentaMenuItem, ClubMenuTab, ClubSearchNewsItem } from '../../../../../../../../api/clubSearch/clubSearch';
|
|
2
|
-
export declare const useClubSearch: (searchQuery: string) => {
|
|
3
|
-
clubTabs: ClubMenuTab[];
|
|
4
|
-
clubLentaMenu: ClubLentaMenuItem[];
|
|
5
|
-
results: ClubSearchNewsItem[];
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
hasQuery: boolean;
|
|
8
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ClubLentaMenuItem, ClubMenuTab, ClubSearchNewsItem } from '../../../../../../../../api/clubSearch/clubSearch';
|
|
3
|
-
export type ClubSearchSectionMeta = {
|
|
4
|
-
sectionCode: string;
|
|
5
|
-
sectionName: string;
|
|
6
|
-
parentCode: string | null;
|
|
7
|
-
parentName: string;
|
|
8
|
-
Icon: FC;
|
|
9
|
-
};
|
|
10
|
-
export declare const collectClubSearchSectionIds: (clubTabs?: ClubMenuTab[], clubLentaMenu?: ClubLentaMenuItem[]) => string;
|
|
11
|
-
export declare const getClubSearchSectionMeta: (news: Pick<ClubSearchNewsItem, 'tags'>, clubTabs?: ClubMenuTab[], clubLentaMenu?: ClubLentaMenuItem[]) => ClubSearchSectionMeta;
|
|
12
|
-
export declare const highlightClubSearchTitle: (text: string, query: string) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const DatepickerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
$mode: string;
|
|
4
|
-
$isRange: boolean;
|
|
5
|
-
$isButton?: boolean;
|
|
6
|
-
}>> & string;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React, { SyntheticEvent } from 'react';
|
|
2
|
-
import { DatePickerProps } from 'react-datepicker';
|
|
3
|
-
export type DatePickerInputViews = 'input' | 'static' | 'icon' | 'button';
|
|
4
|
-
export type TComparisonPeriodPreset = 'currentToPreviousMonth' | 'currentToPreviousDecember' | 'currentToThreeMonthAverage' | 'januaryToPreviousDecember' | 'yearOverYearMonth' | 'currentToPreviousYear' | 'previousToYearBefore' | 'custom';
|
|
5
|
-
export interface IComparisonDateRange {
|
|
6
|
-
startDate: Date;
|
|
7
|
-
endDate: Date;
|
|
8
|
-
}
|
|
9
|
-
export interface IComparisonPeriodValue {
|
|
10
|
-
primary: IComparisonDateRange;
|
|
11
|
-
comparison: IComparisonDateRange;
|
|
12
|
-
preset: TComparisonPeriodPreset;
|
|
13
|
-
}
|
|
14
|
-
type TDatepickerCommon = {
|
|
15
|
-
error?: boolean | string | React.ReactNode;
|
|
16
|
-
UTC?: boolean;
|
|
17
|
-
handleClose?: () => void;
|
|
18
|
-
hintForMinDate?: string;
|
|
19
|
-
hintForMaxDate?: string;
|
|
20
|
-
};
|
|
21
|
-
type TReactDatePicker = Omit<DatePickerProps, 'locale' | 'calendarStartDay' | 'showPopperArrow' | 'renderCustomHeader' | 'customInput' | 'calendarContainer' | 'dateFormat' | 'selectsRange' | 'selectsMultiple' | 'shouldCloseOnSelect' | 'showTimeInput' | 'selected' | 'startDate' | 'endDate' | 'onChange' | 'value'>;
|
|
22
|
-
type TSingleDatepicker = {
|
|
23
|
-
comparisonPeriods?: false;
|
|
24
|
-
comparisonGap?: never;
|
|
25
|
-
selectsRange?: false;
|
|
26
|
-
view?: Exclude<DatePickerInputViews, 'button'>;
|
|
27
|
-
showTimeInput?: boolean;
|
|
28
|
-
selected?: Date | null;
|
|
29
|
-
value?: string;
|
|
30
|
-
onChange: (value: Date | null, name: string, e?: SyntheticEvent) => void;
|
|
31
|
-
};
|
|
32
|
-
type TRangeDatepicker = {
|
|
33
|
-
comparisonPeriods?: false;
|
|
34
|
-
comparisonGap?: never;
|
|
35
|
-
selectsRange: true;
|
|
36
|
-
view?: DatePickerInputViews;
|
|
37
|
-
showTimeInput?: never;
|
|
38
|
-
startDate?: Date | null;
|
|
39
|
-
endDate?: Date | null;
|
|
40
|
-
value?: string;
|
|
41
|
-
onChange: (value: [Date | null, Date | null], name: string, e?: SyntheticEvent) => void;
|
|
42
|
-
};
|
|
43
|
-
type TComparisonDatepicker = {
|
|
44
|
-
comparisonPeriods: true;
|
|
45
|
-
selectsRange?: false;
|
|
46
|
-
view?: never;
|
|
47
|
-
showTimeInput?: never;
|
|
48
|
-
value?: IComparisonPeriodValue | null;
|
|
49
|
-
comparisonGap?: number | string;
|
|
50
|
-
onChange: (value: IComparisonPeriodValue, name: string, e?: SyntheticEvent) => void;
|
|
51
|
-
};
|
|
52
|
-
export type IDatepickerV2 = TDatepickerCommon & TReactDatePicker & (TSingleDatepicker | TRangeDatepicker | TComparisonDatepicker);
|
|
53
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ICalendarProps } from './Calendar.typed';
|
|
2
|
-
declare const Calendar: ({ children, className, isForeignSite, selectedDate, selectsRange, rangeStart, rangeEnd, activePreset, showTimeInput, hour, minute, onReset, onSelect, onTimeChange, onPresetChange, onRangeInputChange }: ICalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { Calendar };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
$isRange: boolean;
|
|
4
|
-
}>> & string;
|
|
5
|
-
export declare const CalendarContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
|
-
$isRange: boolean;
|
|
7
|
-
}>> & string;
|
|
8
|
-
export declare const VerticalDivider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const SingleContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
-
export declare const Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
-
export declare const DateTimeRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
-
export declare const RangeRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
13
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
14
|
-
}, never>> & string;
|
|
15
|
-
export declare const SelectedDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
16
|
-
export declare const Actions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
17
|
-
export declare const RangeActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
18
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
19
|
-
}, never>> & string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { TPeriodPreset } from '../PeriodTemplates/PeriodTemplates.typed';
|
|
3
|
-
export interface ICalendarProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
isForeignSite: boolean;
|
|
7
|
-
selectedDate: Date | null;
|
|
8
|
-
selectsRange: boolean;
|
|
9
|
-
rangeStart: Date | null;
|
|
10
|
-
rangeEnd: Date | null;
|
|
11
|
-
activePreset: TPeriodPreset;
|
|
12
|
-
showTimeInput: boolean;
|
|
13
|
-
hour: number;
|
|
14
|
-
minute: number;
|
|
15
|
-
onReset: () => void;
|
|
16
|
-
onSelect: (event: SyntheticEvent) => void;
|
|
17
|
-
onTimeChange: (hour: number, minute: number) => void;
|
|
18
|
-
onPresetChange: (preset: TPeriodPreset) => void;
|
|
19
|
-
onRangeInputChange: (edge: 'start' | 'end', value: Date | null) => void;
|
|
20
|
-
}
|