profinansy-ui-lib 4.1.75 → 4.1.76
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/QuizFunnel/constants/QuizFunnel.const.d.ts +2 -2
- package/dist/components/blocks/SupportV2/SupportChatLink.d.ts +4 -0
- package/dist/components/blocks/SupportV2/SupportV2.d.ts +1 -1
- package/dist/components/blocks/SupportV2/SupportV2.events.d.ts +1 -0
- package/dist/components/blocks/SupportV2/SupportV2.typed.d.ts +6 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.d.ts +2 -1
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.typed.d.ts +3 -0
- package/dist/components/blocks/footerNew/constants.d.ts +318 -2
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.d.ts +1 -3
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-itemV2.d.ts +0 -2
- package/dist/components/blocks/sideMenuV2/SideMenuV2.const.d.ts +23 -0
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/uikit/FilterButton/components/Drop/Drop.d.ts +1 -1
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/components/PopupDesktop.d.ts +1 -1
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/profinansy-ui-lib.cjs +1742 -1781
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +16297 -17346
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/constant.d.ts +3 -3
- package/dist/urls/products/education/educationLinks.d.ts +17 -6
- package/dist/urls/products/other/other.d.ts +13 -0
- package/dist/urls/products/profile/profileLinks.d.ts +13 -0
- package/dist/urls/productsV2/club/club.d.ts +7 -0
- package/dist/urls/productsV2/courses/courses.header.d.ts +27 -0
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +24 -1
- package/dist/urls/productsV2/profile/profile.d.ts +11 -0
- package/dist/utils/supportChat.d.ts +4 -0
- package/package.json +1 -1
package/dist/urls/constant.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TProject } from '../config';
|
|
2
2
|
export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyru";
|
|
3
|
-
export declare const getFeedHost: (project: TProject, isTest: boolean) => "https://lenta.qa.profinansy.dev" | "https://lenta.profinansy.ru"
|
|
4
|
-
export declare const getLMSHost: (project: TProject, isTest: boolean) => "https://lms.qa.profinansy.dev" | "https://profinansy.ru"
|
|
5
|
-
export declare const getProfinansyHost: (project: TProject, isTest: boolean) => "https://profinansy.ru" | "https://frontend.qa.profinansy.dev"
|
|
3
|
+
export declare const getFeedHost: (project: TProject, isTest: boolean) => "" | "https://lenta.qa.profinansy.dev" | "https://lenta.profinansy.ru";
|
|
4
|
+
export declare const getLMSHost: (project: TProject, isTest: boolean) => "" | "https://lms.qa.profinansy.dev" | "https://profinansy.ru";
|
|
5
|
+
export declare const getProfinansyHost: (project: TProject, isTest: boolean) => "" | "https://profinansy.ru" | "https://frontend.qa.profinansy.dev";
|
|
6
6
|
export declare const getKfpHost: (isTest: boolean) => "https://kfp-v2.qa.profinansy.dev" | "https://kfp-v2.profinansy.ru";
|
|
7
7
|
export declare const useGetHostnames: (isTest: boolean, project: TProject) => {
|
|
8
8
|
hostnameLMS: string;
|
|
@@ -7,14 +7,15 @@ export declare const getEducationLinks: (hostname: string, hostnameLenta: string
|
|
|
7
7
|
Icon: ComponentType<void>;
|
|
8
8
|
href: string;
|
|
9
9
|
locked: boolean;
|
|
10
|
+
isNotVisible?: undefined;
|
|
10
11
|
isNew?: undefined;
|
|
11
12
|
innerPages?: undefined;
|
|
12
13
|
hiddenFromChildren?: undefined;
|
|
13
14
|
subPages?: undefined;
|
|
14
|
-
isNotVisible?: undefined;
|
|
15
15
|
isOpenNewTab?: undefined;
|
|
16
16
|
} | {
|
|
17
17
|
name: string;
|
|
18
|
+
isNotVisible: boolean;
|
|
18
19
|
Icon: ComponentType<void>;
|
|
19
20
|
isNew: boolean;
|
|
20
21
|
href: string;
|
|
@@ -30,7 +31,6 @@ export declare const getEducationLinks: (hostname: string, hostnameLenta: string
|
|
|
30
31
|
locked: boolean;
|
|
31
32
|
})[];
|
|
32
33
|
locked?: undefined;
|
|
33
|
-
isNotVisible?: undefined;
|
|
34
34
|
isOpenNewTab?: undefined;
|
|
35
35
|
} | {
|
|
36
36
|
name: string;
|
|
@@ -43,9 +43,9 @@ export declare const getEducationLinks: (hostname: string, hostnameLenta: string
|
|
|
43
43
|
innerPages: string[];
|
|
44
44
|
}[];
|
|
45
45
|
locked?: undefined;
|
|
46
|
+
isNotVisible?: undefined;
|
|
46
47
|
isNew?: undefined;
|
|
47
48
|
innerPages?: undefined;
|
|
48
|
-
isNotVisible?: undefined;
|
|
49
49
|
isOpenNewTab?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
name: string;
|
|
@@ -54,9 +54,9 @@ export declare const getEducationLinks: (hostname: string, hostnameLenta: string
|
|
|
54
54
|
locked: boolean;
|
|
55
55
|
innerPages: string[];
|
|
56
56
|
hiddenFromChildren: boolean;
|
|
57
|
+
isNotVisible?: undefined;
|
|
57
58
|
isNew?: undefined;
|
|
58
59
|
subPages?: undefined;
|
|
59
|
-
isNotVisible?: undefined;
|
|
60
60
|
isOpenNewTab?: undefined;
|
|
61
61
|
} | {
|
|
62
62
|
name: string;
|
|
@@ -75,21 +75,32 @@ export declare const getEducationLinks: (hostname: string, hostnameLenta: string
|
|
|
75
75
|
href: string;
|
|
76
76
|
hiddenFromChildren: boolean;
|
|
77
77
|
locked?: undefined;
|
|
78
|
+
isNotVisible?: undefined;
|
|
78
79
|
isNew?: undefined;
|
|
79
80
|
innerPages?: undefined;
|
|
80
81
|
subPages?: undefined;
|
|
81
|
-
isNotVisible?: undefined;
|
|
82
82
|
isOpenNewTab?: undefined;
|
|
83
83
|
} | {
|
|
84
84
|
name: string;
|
|
85
|
+
isNotVisible: boolean;
|
|
85
86
|
Icon: ComponentType<void>;
|
|
86
87
|
href: string;
|
|
87
|
-
isOpenNewTab: boolean;
|
|
88
88
|
hiddenFromChildren: boolean;
|
|
89
89
|
locked?: undefined;
|
|
90
90
|
isNew?: undefined;
|
|
91
91
|
innerPages?: undefined;
|
|
92
92
|
subPages?: undefined;
|
|
93
|
+
isOpenNewTab?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
name: string;
|
|
96
|
+
Icon: ComponentType<void>;
|
|
97
|
+
href: string;
|
|
98
|
+
isOpenNewTab: boolean;
|
|
99
|
+
hiddenFromChildren: boolean;
|
|
100
|
+
locked?: undefined;
|
|
93
101
|
isNotVisible?: undefined;
|
|
102
|
+
isNew?: undefined;
|
|
103
|
+
innerPages?: undefined;
|
|
104
|
+
subPages?: undefined;
|
|
94
105
|
})[];
|
|
95
106
|
};
|
|
@@ -15,11 +15,13 @@ export declare const getOther: (hostname: string, hostnameLenta: string, isGuest
|
|
|
15
15
|
name: string;
|
|
16
16
|
Icon: ComponentType<void>;
|
|
17
17
|
href: string;
|
|
18
|
+
isNotVisible?: undefined;
|
|
18
19
|
hiddenFromChildren?: undefined;
|
|
19
20
|
isNew?: undefined;
|
|
20
21
|
innerPages?: undefined;
|
|
21
22
|
} | {
|
|
22
23
|
name: string;
|
|
24
|
+
isNotVisible: boolean;
|
|
23
25
|
Icon: ComponentType<void>;
|
|
24
26
|
href: string;
|
|
25
27
|
hiddenFromChildren: boolean;
|
|
@@ -27,6 +29,15 @@ export declare const getOther: (hostname: string, hostnameLenta: string, isGuest
|
|
|
27
29
|
innerPages?: undefined;
|
|
28
30
|
} | {
|
|
29
31
|
name: string;
|
|
32
|
+
isNotVisible: boolean;
|
|
33
|
+
Icon: ComponentType<void>;
|
|
34
|
+
href: string;
|
|
35
|
+
hiddenFromChildren?: undefined;
|
|
36
|
+
isNew?: undefined;
|
|
37
|
+
innerPages?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
name: string;
|
|
40
|
+
isNotVisible: boolean;
|
|
30
41
|
href: string;
|
|
31
42
|
isNew: boolean;
|
|
32
43
|
Icon?: undefined;
|
|
@@ -38,6 +49,7 @@ export declare const getOther: (hostname: string, hostnameLenta: string, isGuest
|
|
|
38
49
|
href: string;
|
|
39
50
|
hiddenFromChildren: boolean;
|
|
40
51
|
Icon?: undefined;
|
|
52
|
+
isNotVisible?: undefined;
|
|
41
53
|
innerPages?: undefined;
|
|
42
54
|
} | {
|
|
43
55
|
name: string;
|
|
@@ -46,6 +58,7 @@ export declare const getOther: (hostname: string, hostnameLenta: string, isGuest
|
|
|
46
58
|
innerPages: string[];
|
|
47
59
|
hiddenFromChildren: boolean;
|
|
48
60
|
Icon?: undefined;
|
|
61
|
+
isNotVisible?: undefined;
|
|
49
62
|
})[];
|
|
50
63
|
} | {
|
|
51
64
|
name: string;
|
|
@@ -5,11 +5,13 @@ export declare const getProfileLinks: (hostname: string) => {
|
|
|
5
5
|
name: string;
|
|
6
6
|
Icon: ComponentType<void>;
|
|
7
7
|
href: string;
|
|
8
|
+
isNotVisible?: undefined;
|
|
8
9
|
hiddenFromChildren?: undefined;
|
|
9
10
|
isNew?: undefined;
|
|
10
11
|
innerPages?: undefined;
|
|
11
12
|
} | {
|
|
12
13
|
name: string;
|
|
14
|
+
isNotVisible: boolean;
|
|
13
15
|
Icon: ComponentType<void>;
|
|
14
16
|
href: string;
|
|
15
17
|
hiddenFromChildren: boolean;
|
|
@@ -17,6 +19,15 @@ export declare const getProfileLinks: (hostname: string) => {
|
|
|
17
19
|
innerPages?: undefined;
|
|
18
20
|
} | {
|
|
19
21
|
name: string;
|
|
22
|
+
isNotVisible: boolean;
|
|
23
|
+
Icon: ComponentType<void>;
|
|
24
|
+
href: string;
|
|
25
|
+
hiddenFromChildren?: undefined;
|
|
26
|
+
isNew?: undefined;
|
|
27
|
+
innerPages?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
name: string;
|
|
30
|
+
isNotVisible: boolean;
|
|
20
31
|
href: string;
|
|
21
32
|
isNew: boolean;
|
|
22
33
|
Icon?: undefined;
|
|
@@ -28,6 +39,7 @@ export declare const getProfileLinks: (hostname: string) => {
|
|
|
28
39
|
href: string;
|
|
29
40
|
hiddenFromChildren: boolean;
|
|
30
41
|
Icon?: undefined;
|
|
42
|
+
isNotVisible?: undefined;
|
|
31
43
|
innerPages?: undefined;
|
|
32
44
|
} | {
|
|
33
45
|
name: string;
|
|
@@ -36,5 +48,6 @@ export declare const getProfileLinks: (hostname: string) => {
|
|
|
36
48
|
innerPages: string[];
|
|
37
49
|
hiddenFromChildren: boolean;
|
|
38
50
|
Icon?: undefined;
|
|
51
|
+
isNotVisible?: undefined;
|
|
39
52
|
})[];
|
|
40
53
|
};
|
|
@@ -97,9 +97,16 @@ export declare const getClubFooter: (hostname: string) => {
|
|
|
97
97
|
subPages: ({
|
|
98
98
|
name: string;
|
|
99
99
|
href: string;
|
|
100
|
+
isNotVisible?: undefined;
|
|
100
101
|
innerPages?: undefined;
|
|
101
102
|
} | {
|
|
102
103
|
name: string;
|
|
104
|
+
isNotVisible: boolean;
|
|
105
|
+
href: string;
|
|
106
|
+
innerPages?: undefined;
|
|
107
|
+
} | {
|
|
108
|
+
name: string;
|
|
109
|
+
isNotVisible: boolean;
|
|
103
110
|
href: string;
|
|
104
111
|
innerPages: string[];
|
|
105
112
|
})[];
|
|
@@ -34,6 +34,7 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
34
34
|
type: "second";
|
|
35
35
|
items: ({
|
|
36
36
|
title: string;
|
|
37
|
+
isNotVisible: boolean;
|
|
37
38
|
href: string;
|
|
38
39
|
image: {
|
|
39
40
|
src: string;
|
|
@@ -50,6 +51,7 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
50
51
|
width: number;
|
|
51
52
|
height: number;
|
|
52
53
|
};
|
|
54
|
+
isNotVisible?: undefined;
|
|
53
55
|
})[];
|
|
54
56
|
image?: undefined;
|
|
55
57
|
href?: undefined;
|
|
@@ -103,12 +105,14 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
103
105
|
name: string;
|
|
104
106
|
href: string;
|
|
105
107
|
locked: boolean;
|
|
108
|
+
isNotVisible?: undefined;
|
|
106
109
|
isNew?: undefined;
|
|
107
110
|
innerPages?: undefined;
|
|
108
111
|
hiddenFromChildren?: undefined;
|
|
109
112
|
subPages?: undefined;
|
|
110
113
|
} | {
|
|
111
114
|
name: string;
|
|
115
|
+
isNotVisible: boolean;
|
|
112
116
|
isNew: boolean;
|
|
113
117
|
href: string;
|
|
114
118
|
innerPages: string[];
|
|
@@ -133,6 +137,7 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
133
137
|
innerPages: string[];
|
|
134
138
|
}[];
|
|
135
139
|
locked?: undefined;
|
|
140
|
+
isNotVisible?: undefined;
|
|
136
141
|
isNew?: undefined;
|
|
137
142
|
innerPages?: undefined;
|
|
138
143
|
} | {
|
|
@@ -173,10 +178,21 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
173
178
|
locked?: undefined;
|
|
174
179
|
})[];
|
|
175
180
|
locked?: undefined;
|
|
181
|
+
isNotVisible?: undefined;
|
|
182
|
+
isNew?: undefined;
|
|
183
|
+
innerPages?: undefined;
|
|
184
|
+
} | {
|
|
185
|
+
name: string;
|
|
186
|
+
href: string;
|
|
187
|
+
hiddenFromChildren: boolean;
|
|
188
|
+
locked?: undefined;
|
|
189
|
+
isNotVisible?: undefined;
|
|
176
190
|
isNew?: undefined;
|
|
177
191
|
innerPages?: undefined;
|
|
192
|
+
subPages?: undefined;
|
|
178
193
|
} | {
|
|
179
194
|
name: string;
|
|
195
|
+
isNotVisible: boolean;
|
|
180
196
|
href: string;
|
|
181
197
|
hiddenFromChildren: boolean;
|
|
182
198
|
locked?: undefined;
|
|
@@ -221,6 +237,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
221
237
|
type: "second";
|
|
222
238
|
items: ({
|
|
223
239
|
title: string;
|
|
240
|
+
isNotVisible: boolean;
|
|
224
241
|
href: string;
|
|
225
242
|
image: {
|
|
226
243
|
src: string;
|
|
@@ -237,6 +254,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
237
254
|
width: number;
|
|
238
255
|
height: number;
|
|
239
256
|
};
|
|
257
|
+
isNotVisible?: undefined;
|
|
240
258
|
})[];
|
|
241
259
|
image?: undefined;
|
|
242
260
|
href?: undefined;
|
|
@@ -289,6 +307,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
289
307
|
subPages: ({
|
|
290
308
|
name: string;
|
|
291
309
|
href: string;
|
|
310
|
+
isNotVisible?: undefined;
|
|
292
311
|
isNew?: undefined;
|
|
293
312
|
innerPages?: undefined;
|
|
294
313
|
hiddenFromChildren?: undefined;
|
|
@@ -301,6 +320,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
301
320
|
hint?: undefined;
|
|
302
321
|
} | {
|
|
303
322
|
name: string;
|
|
323
|
+
isNotVisible: boolean;
|
|
304
324
|
isNew: boolean;
|
|
305
325
|
href: string;
|
|
306
326
|
innerPages: string[];
|
|
@@ -331,6 +351,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
331
351
|
isFill: boolean;
|
|
332
352
|
locked: boolean;
|
|
333
353
|
})[];
|
|
354
|
+
isNotVisible?: undefined;
|
|
334
355
|
isNew?: undefined;
|
|
335
356
|
innerPages?: undefined;
|
|
336
357
|
hiddenFromChildren?: undefined;
|
|
@@ -345,6 +366,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
345
366
|
href: string;
|
|
346
367
|
hiddenFromChildren: boolean;
|
|
347
368
|
preserveIconColor: boolean;
|
|
369
|
+
isNotVisible?: undefined;
|
|
348
370
|
isNew?: undefined;
|
|
349
371
|
innerPages?: undefined;
|
|
350
372
|
locked?: undefined;
|
|
@@ -357,6 +379,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
357
379
|
Icon: ComponentType<void>;
|
|
358
380
|
href: string;
|
|
359
381
|
hiddenFromChildren: boolean;
|
|
382
|
+
isNotVisible?: undefined;
|
|
360
383
|
isNew?: undefined;
|
|
361
384
|
innerPages?: undefined;
|
|
362
385
|
locked?: undefined;
|
|
@@ -380,6 +403,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
380
403
|
href: string;
|
|
381
404
|
locked: boolean;
|
|
382
405
|
})[];
|
|
406
|
+
isNotVisible?: undefined;
|
|
383
407
|
isNew?: undefined;
|
|
384
408
|
innerPages?: undefined;
|
|
385
409
|
locked?: undefined;
|
|
@@ -393,6 +417,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
393
417
|
disabled: boolean;
|
|
394
418
|
hint: string;
|
|
395
419
|
isFill: boolean;
|
|
420
|
+
isNotVisible?: undefined;
|
|
396
421
|
isNew?: undefined;
|
|
397
422
|
innerPages?: undefined;
|
|
398
423
|
hiddenFromChildren?: undefined;
|
|
@@ -436,6 +461,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
436
461
|
isNotVisible?: undefined;
|
|
437
462
|
locked?: undefined;
|
|
438
463
|
})[];
|
|
464
|
+
isNotVisible?: undefined;
|
|
439
465
|
isNew?: undefined;
|
|
440
466
|
innerPages?: undefined;
|
|
441
467
|
locked?: undefined;
|
|
@@ -459,6 +485,7 @@ export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: stri
|
|
|
459
485
|
href: string;
|
|
460
486
|
innerPages?: undefined;
|
|
461
487
|
})[];
|
|
488
|
+
isNotVisible?: undefined;
|
|
462
489
|
isNew?: undefined;
|
|
463
490
|
innerPages?: undefined;
|
|
464
491
|
locked?: undefined;
|
|
@@ -7,12 +7,14 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
7
7
|
Icon: ComponentType<void>;
|
|
8
8
|
href: string;
|
|
9
9
|
locked: boolean;
|
|
10
|
+
isNotVisible?: undefined;
|
|
10
11
|
isNew?: undefined;
|
|
11
12
|
innerPages?: undefined;
|
|
12
13
|
hiddenFromChildren?: undefined;
|
|
13
14
|
subPages?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
name: string;
|
|
17
|
+
isNotVisible: boolean;
|
|
16
18
|
Icon: ComponentType<void>;
|
|
17
19
|
isNew: boolean;
|
|
18
20
|
href: string;
|
|
@@ -39,6 +41,7 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
39
41
|
innerPages: string[];
|
|
40
42
|
}[];
|
|
41
43
|
locked?: undefined;
|
|
44
|
+
isNotVisible?: undefined;
|
|
42
45
|
isNew?: undefined;
|
|
43
46
|
innerPages?: undefined;
|
|
44
47
|
} | {
|
|
@@ -81,6 +84,7 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
81
84
|
locked?: undefined;
|
|
82
85
|
})[];
|
|
83
86
|
locked?: undefined;
|
|
87
|
+
isNotVisible?: undefined;
|
|
84
88
|
isNew?: undefined;
|
|
85
89
|
} | {
|
|
86
90
|
name: string;
|
|
@@ -97,10 +101,12 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
97
101
|
locked: boolean;
|
|
98
102
|
})[];
|
|
99
103
|
locked?: undefined;
|
|
104
|
+
isNotVisible?: undefined;
|
|
100
105
|
isNew?: undefined;
|
|
101
106
|
innerPages?: undefined;
|
|
102
107
|
} | {
|
|
103
108
|
name: string;
|
|
109
|
+
isNotVisible: boolean;
|
|
104
110
|
Icon: ComponentType<void>;
|
|
105
111
|
href: string;
|
|
106
112
|
hiddenFromChildren: boolean;
|
|
@@ -108,6 +114,16 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
108
114
|
isNew?: undefined;
|
|
109
115
|
innerPages?: undefined;
|
|
110
116
|
subPages?: undefined;
|
|
117
|
+
} | {
|
|
118
|
+
name: string;
|
|
119
|
+
Icon: ComponentType<void>;
|
|
120
|
+
href: string;
|
|
121
|
+
hiddenFromChildren: boolean;
|
|
122
|
+
locked?: undefined;
|
|
123
|
+
isNotVisible?: undefined;
|
|
124
|
+
isNew?: undefined;
|
|
125
|
+
innerPages?: undefined;
|
|
126
|
+
subPages?: undefined;
|
|
111
127
|
})[];
|
|
112
128
|
};
|
|
113
129
|
/** Плоский список подразделов «Обучение» для Mega-Footer */
|
|
@@ -119,8 +135,15 @@ export declare const getCoursesFooter: (hostname: string, hostnameLenta: string,
|
|
|
119
135
|
name: string;
|
|
120
136
|
href: string;
|
|
121
137
|
locked: boolean;
|
|
122
|
-
hiddenFromChildren?: undefined;
|
|
123
138
|
isNotVisible?: undefined;
|
|
139
|
+
hiddenFromChildren?: undefined;
|
|
140
|
+
isOpenNewTab?: undefined;
|
|
141
|
+
} | {
|
|
142
|
+
name: string;
|
|
143
|
+
isNotVisible: boolean;
|
|
144
|
+
href: string;
|
|
145
|
+
hiddenFromChildren: boolean;
|
|
146
|
+
locked?: undefined;
|
|
124
147
|
isOpenNewTab?: undefined;
|
|
125
148
|
} | {
|
|
126
149
|
name: string;
|
|
@@ -20,10 +20,12 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
20
20
|
isForeignAccess: boolean;
|
|
21
21
|
Icon: ComponentType<void>;
|
|
22
22
|
href: string;
|
|
23
|
+
isNotVisible?: undefined;
|
|
23
24
|
hiddenFromChildren?: undefined;
|
|
24
25
|
innerPages?: undefined;
|
|
25
26
|
} | {
|
|
26
27
|
name: string;
|
|
28
|
+
isNotVisible: boolean;
|
|
27
29
|
Icon: ComponentType<void>;
|
|
28
30
|
isFill: boolean;
|
|
29
31
|
href: string;
|
|
@@ -32,6 +34,7 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
32
34
|
innerPages?: undefined;
|
|
33
35
|
} | {
|
|
34
36
|
name: string;
|
|
37
|
+
isNotVisible: boolean;
|
|
35
38
|
Icon: ComponentType<void>;
|
|
36
39
|
href: string;
|
|
37
40
|
isFill?: undefined;
|
|
@@ -40,6 +43,7 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
40
43
|
innerPages?: undefined;
|
|
41
44
|
} | {
|
|
42
45
|
name: string;
|
|
46
|
+
isNotVisible: boolean;
|
|
43
47
|
Icon: ComponentType<void>;
|
|
44
48
|
href: string;
|
|
45
49
|
hiddenFromChildren: boolean;
|
|
@@ -52,6 +56,7 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
52
56
|
isForeignAccess: boolean;
|
|
53
57
|
href: string;
|
|
54
58
|
isFill?: undefined;
|
|
59
|
+
isNotVisible?: undefined;
|
|
55
60
|
hiddenFromChildren?: undefined;
|
|
56
61
|
innerPages?: undefined;
|
|
57
62
|
} | {
|
|
@@ -61,6 +66,7 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
61
66
|
isForeignAccess: boolean;
|
|
62
67
|
href: string;
|
|
63
68
|
hiddenFromChildren: boolean;
|
|
69
|
+
isNotVisible?: undefined;
|
|
64
70
|
innerPages?: undefined;
|
|
65
71
|
} | {
|
|
66
72
|
name: string;
|
|
@@ -70,6 +76,7 @@ export declare const getProfileSidebar: (hostname: string, locale?: Locales) =>
|
|
|
70
76
|
href: string;
|
|
71
77
|
innerPages: string[];
|
|
72
78
|
hiddenFromChildren: boolean;
|
|
79
|
+
isNotVisible?: undefined;
|
|
73
80
|
})[];
|
|
74
81
|
};
|
|
75
82
|
/** Плоский список «Профиль» для Mega-Footer */
|
|
@@ -81,14 +88,17 @@ export declare const getProfileFooter: (hostname: string) => {
|
|
|
81
88
|
name: string;
|
|
82
89
|
href: string;
|
|
83
90
|
isForeignAccess: boolean;
|
|
91
|
+
isNotVisible?: undefined;
|
|
84
92
|
hiddenFromChildren?: undefined;
|
|
85
93
|
} | {
|
|
86
94
|
name: string;
|
|
95
|
+
isNotVisible: boolean;
|
|
87
96
|
href: string;
|
|
88
97
|
hiddenFromChildren: boolean;
|
|
89
98
|
isForeignAccess?: undefined;
|
|
90
99
|
} | {
|
|
91
100
|
name: string;
|
|
101
|
+
isNotVisible: boolean;
|
|
92
102
|
href: string;
|
|
93
103
|
isForeignAccess?: undefined;
|
|
94
104
|
hiddenFromChildren?: undefined;
|
|
@@ -97,5 +107,6 @@ export declare const getProfileFooter: (hostname: string) => {
|
|
|
97
107
|
href: string;
|
|
98
108
|
isForeignAccess: boolean;
|
|
99
109
|
hiddenFromChildren: boolean;
|
|
110
|
+
isNotVisible?: undefined;
|
|
100
111
|
})[];
|
|
101
112
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const SUPPORT_CHAT_HREF = "?supportChat=1";
|
|
2
|
+
export declare const getSupportChatHref: (currentHref: string) => string;
|
|
3
|
+
/** Открывает поддержку на текущей странице без перезагрузки. */
|
|
4
|
+
export declare const openSupportChat: (onRouteChange?: (url: string) => void) => void;
|