profinansy-ui-lib 4.1.7 → 4.1.9
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/common.types.d.ts +4 -0
- package/dist/components/blocks/headerV2/components/Burger/components/SubSubPages/SubSubPages.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.styled.d.ts +4 -1
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/constants/linksV2.d.ts +2 -0
- package/dist/components/blocks/sideMenuV2/SideMenuV2.typed.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/components/Item/Item.styled.d.ts +2 -0
- package/dist/components/blocks/sideMenuV2/components/SubPages/SubPages.styled.d.ts +1 -0
- package/dist/components/blocks/sideMenuV2/components/SubPagesSide/SubPagesSide.styled.d.ts +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/hooks/useMenuItemLogic.d.ts +1 -0
- package/dist/localization/translations/common.d.ts +2 -0
- package/dist/localization/translations/urls.d.ts +34 -0
- package/dist/profinansy-ui-lib.cjs +1025 -1006
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +7901 -7592
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/productsV2/courses/courses.d.ts +3 -232
- package/dist/urls/productsV2/courses/courses.header.d.ts +431 -0
- package/dist/urls/productsV2/courses/courses.shared.d.ts +111 -0
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +91 -0
- package/dist/urls/productsV2/courses/coursesNew.sidebar.d.ts +170 -0
- package/dist/urls/productsV2/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/common.types.d.ts
CHANGED
|
@@ -71,6 +71,10 @@ export type THeaderLinkSubPage = {
|
|
|
71
71
|
isOpenNewTab?: boolean;
|
|
72
72
|
/** Страницы, которые недоступны без премиума **/
|
|
73
73
|
unavailable?: boolean;
|
|
74
|
+
/** Неактивный пункт меню без перехода по ссылке **/
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
/** Текст подсказки для неактивного пункта меню **/
|
|
77
|
+
hint?: string;
|
|
74
78
|
/** Можно открыть недоступные страницы **/
|
|
75
79
|
isOpenUnavailable?: boolean;
|
|
76
80
|
/** Новая страница **/
|
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
4
|
$isActive: boolean;
|
|
5
|
+
$isDisabled?: boolean;
|
|
5
6
|
}>> & string;
|
package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export declare const Item: import("styled-components/dist/types").IStyledCompone
|
|
|
4
4
|
$isActive: boolean;
|
|
5
5
|
$isLocked: boolean;
|
|
6
6
|
$isOpen: boolean;
|
|
7
|
+
$isDisabled?: boolean;
|
|
7
8
|
}>> & string;
|
|
8
9
|
export declare const Symbols: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -22,6 +22,7 @@ export declare const ImageButton: import("styled-components/dist/types").IStyled
|
|
|
22
22
|
$isFirstRowHorizontal?: boolean;
|
|
23
23
|
$isSecondRowHorizontal?: boolean;
|
|
24
24
|
$isSecondColumnFirstRow?: boolean;
|
|
25
|
+
$isDisabled?: boolean;
|
|
25
26
|
}>> & string;
|
|
26
27
|
export declare const ButtonImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
27
28
|
export declare const ImageButtonText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../../../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
@@ -33,7 +34,9 @@ export declare const ComingSoonLabel: import("styled-components/dist/types").ISt
|
|
|
33
34
|
export declare const UnavailableIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
34
35
|
export declare const UnavailableIconThird: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
35
36
|
export declare const ThirdColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
36
|
-
export declare const IconButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
37
|
+
export declare const IconButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
38
|
+
$isDisabled?: boolean;
|
|
39
|
+
}>> & string;
|
|
37
40
|
export declare const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
38
41
|
export declare const IconButtonText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
39
42
|
ref?: import("react").Ref<HTMLElement>;
|
package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const HeaderLink: import("styled-components/dist/types").IStyledC
|
|
|
5
5
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
6
|
$isHover: boolean;
|
|
7
7
|
$isIdv: boolean;
|
|
8
|
+
$isDisabled?: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
11
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -21,6 +21,7 @@ export type HeaderDropdownItem = {
|
|
|
21
21
|
preserveIconColor?: boolean;
|
|
22
22
|
isOpenNewTab?: boolean;
|
|
23
23
|
isNotVisible?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
24
25
|
};
|
|
25
26
|
export type HeaderDropdownColumn = {
|
|
26
27
|
type: 'first' | 'second' | 'third' | 'fourth';
|
|
@@ -42,6 +43,7 @@ export type HeaderDropdownConfig = {
|
|
|
42
43
|
subPages?: THeaderLinkSubPage[];
|
|
43
44
|
Icon?: React.FC<IconsInterface>;
|
|
44
45
|
isFill?: boolean;
|
|
46
|
+
disabled?: boolean;
|
|
45
47
|
};
|
|
46
48
|
export type THeaderLinksV2 = {
|
|
47
49
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserRole } from '../../../common.types';
|
|
2
2
|
import { IApiSettings } from '../../../api/api';
|
|
3
3
|
import { ReactNode, ElementType } from 'react';
|
|
4
|
-
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'profile' | 'idv' | 'method' | 'feed' | 'about' | 'myMoney2';
|
|
4
|
+
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'education_new' | 'profile' | 'idv' | 'method' | 'feed' | 'about' | 'myMoney2';
|
|
5
5
|
export interface ISideModal {
|
|
6
6
|
bannerCodes?: string[];
|
|
7
7
|
userRole: UserRole;
|
|
@@ -4,9 +4,11 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
4
4
|
$isOpen: boolean;
|
|
5
5
|
$isActive: boolean;
|
|
6
6
|
$isOpenMode: boolean;
|
|
7
|
+
$isDisabled: boolean;
|
|
7
8
|
}>> & string;
|
|
8
9
|
export declare const TextContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
10
|
$isLocked: boolean;
|
|
11
|
+
$isDisabled: boolean;
|
|
10
12
|
}>> & string;
|
|
11
13
|
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
12
14
|
$isHoverMode: boolean;
|
|
@@ -5,6 +5,7 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
5
5
|
$isActive: boolean;
|
|
6
6
|
$isLocked: boolean;
|
|
7
7
|
$isOpen: boolean;
|
|
8
|
+
$isDisabled: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
10
11
|
export declare const New: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
@@ -5,5 +5,6 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
5
5
|
}>> & string;
|
|
6
6
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
7
7
|
$isActive: boolean;
|
|
8
|
+
$isDisabled: boolean;
|
|
8
9
|
}>> & string;
|
|
9
10
|
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
package/dist/config.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const common_translation: {
|
|
|
22
22
|
copy_link: string;
|
|
23
23
|
reset: string;
|
|
24
24
|
filter_search: string;
|
|
25
|
+
coming_soon: string;
|
|
25
26
|
};
|
|
26
27
|
en: {
|
|
27
28
|
find_recently: string;
|
|
@@ -46,5 +47,6 @@ export declare const common_translation: {
|
|
|
46
47
|
copy_link: string;
|
|
47
48
|
reset: string;
|
|
48
49
|
filter_search: string;
|
|
50
|
+
coming_soon: string;
|
|
49
51
|
};
|
|
50
52
|
};
|
|
@@ -56,6 +56,7 @@ export declare const Urls_translations: {
|
|
|
56
56
|
calculator_deposit: string;
|
|
57
57
|
calculator_inflation: string;
|
|
58
58
|
calculator_vacation: string;
|
|
59
|
+
calculator_iis: string;
|
|
59
60
|
club: string;
|
|
60
61
|
club_main: string;
|
|
61
62
|
club_feed: string;
|
|
@@ -83,6 +84,16 @@ export declare const Urls_translations: {
|
|
|
83
84
|
club_rkink: string;
|
|
84
85
|
club_help: string;
|
|
85
86
|
courses: string;
|
|
87
|
+
courses_home: string;
|
|
88
|
+
courses_available: string;
|
|
89
|
+
courses_my_courses: string;
|
|
90
|
+
courses_mini: string;
|
|
91
|
+
courses_free: string;
|
|
92
|
+
courses_students: string;
|
|
93
|
+
courses_reviews: string;
|
|
94
|
+
courses_stories: string;
|
|
95
|
+
courses_materials: string;
|
|
96
|
+
courses_events: string;
|
|
86
97
|
courses_main: string;
|
|
87
98
|
courses_shop: string;
|
|
88
99
|
courses_list: string;
|
|
@@ -99,6 +110,11 @@ export declare const Urls_translations: {
|
|
|
99
110
|
courses_graduates_home: string;
|
|
100
111
|
courses_graduates_events: string;
|
|
101
112
|
courses_child: string;
|
|
113
|
+
courses_child_home: string;
|
|
114
|
+
courses_child_audio_tales: string;
|
|
115
|
+
courses_child_comics: string;
|
|
116
|
+
courses_child_education: string;
|
|
117
|
+
courses_child_articles: string;
|
|
102
118
|
courses_blog: string;
|
|
103
119
|
courses_investology: string;
|
|
104
120
|
courses_library: string;
|
|
@@ -178,6 +194,7 @@ export declare const Urls_translations: {
|
|
|
178
194
|
profile_profile: string;
|
|
179
195
|
profile_main: string;
|
|
180
196
|
profile_personal_data: string;
|
|
197
|
+
profile_subscriptions: string;
|
|
181
198
|
profile_publications: string;
|
|
182
199
|
profile_groups: string;
|
|
183
200
|
profile_channels: string;
|
|
@@ -283,6 +300,7 @@ export declare const Urls_translations: {
|
|
|
283
300
|
calculator_deposit: string;
|
|
284
301
|
calculator_inflation: string;
|
|
285
302
|
calculator_vacation: string;
|
|
303
|
+
calculator_iis: string;
|
|
286
304
|
club: string;
|
|
287
305
|
club_main: string;
|
|
288
306
|
club_feed: string;
|
|
@@ -310,6 +328,16 @@ export declare const Urls_translations: {
|
|
|
310
328
|
club_rkink: string;
|
|
311
329
|
club_help: string;
|
|
312
330
|
courses: string;
|
|
331
|
+
courses_home: string;
|
|
332
|
+
courses_available: string;
|
|
333
|
+
courses_my_courses: string;
|
|
334
|
+
courses_mini: string;
|
|
335
|
+
courses_free: string;
|
|
336
|
+
courses_students: string;
|
|
337
|
+
courses_reviews: string;
|
|
338
|
+
courses_stories: string;
|
|
339
|
+
courses_materials: string;
|
|
340
|
+
courses_events: string;
|
|
313
341
|
courses_main: string;
|
|
314
342
|
courses_shop: string;
|
|
315
343
|
courses_list: string;
|
|
@@ -326,6 +354,11 @@ export declare const Urls_translations: {
|
|
|
326
354
|
courses_graduates_home: string;
|
|
327
355
|
courses_graduates_events: string;
|
|
328
356
|
courses_child: string;
|
|
357
|
+
courses_child_home: string;
|
|
358
|
+
courses_child_audio_tales: string;
|
|
359
|
+
courses_child_comics: string;
|
|
360
|
+
courses_child_education: string;
|
|
361
|
+
courses_child_articles: string;
|
|
329
362
|
courses_blog: string;
|
|
330
363
|
courses_investology: string;
|
|
331
364
|
courses_library: string;
|
|
@@ -405,6 +438,7 @@ export declare const Urls_translations: {
|
|
|
405
438
|
profile_profile: string;
|
|
406
439
|
profile_main: string;
|
|
407
440
|
profile_personal_data: string;
|
|
441
|
+
profile_subscriptions: string;
|
|
408
442
|
profile_publications: string;
|
|
409
443
|
profile_groups: string;
|
|
410
444
|
profile_channels: string;
|