profinansy-ui-lib 4.0.15 → 4.0.17
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/footerV2/constants.d.ts +2 -64
- package/dist/components/blocks/headerV2/components/Burger/components/Item/Item.d.ts +2 -2
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.d.ts +3 -1
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.styled.d.ts +3 -0
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts +1 -0
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-itemV2.d.ts +1 -0
- package/dist/components/blocks/headerV2/contstants/linksV2.d.ts +8 -2
- package/dist/localization/translations/urls.d.ts +8 -4
- package/dist/profinansy-ui-lib.cjs.js +959 -948
- package/dist/profinansy-ui-lib.cjs.js.map +1 -1
- package/dist/profinansy-ui-lib.es.js +7255 -6931
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/productsV2/about/about.d.ts +5 -0
- package/dist/urls/productsV2/budget/budget.d.ts +2 -0
- package/dist/urls/productsV2/calculators/calculators.d.ts +2 -1
- package/dist/urls/productsV2/club/club.d.ts +1 -0
- package/dist/urls/productsV2/courses/courses.d.ts +5 -0
- package/dist/urls/productsV2/feed/feed.d.ts +5 -0
- package/dist/urls/productsV2/goals/goals.d.ts +2 -0
- package/dist/urls/productsV2/idv/idv.d.ts +23 -2
- package/dist/urls/productsV2/investments/investments.d.ts +1 -0
- package/dist/urls/productsV2/method/method.d.ts +28 -4
- package/dist/urls/productsV2/portfolios/portfolios.d.ts +7 -0
- package/dist/urls/productsV2/profile/profile.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { UserRole } from '../../../common.types';
|
|
3
|
-
export declare const getFooterNavRowsV2: (userRole: UserRole, hostname: string, leaderboardPermission: boolean) =>
|
|
3
|
+
export declare const getFooterNavRowsV2: (userRole: UserRole, hostname: string, leaderboardPermission: boolean) => {
|
|
4
4
|
name: string;
|
|
5
5
|
Icon: ComponentType<void>;
|
|
6
6
|
href: string;
|
|
@@ -8,69 +8,7 @@ export declare const getFooterNavRowsV2: (userRole: UserRole, hostname: string,
|
|
|
8
8
|
name: string;
|
|
9
9
|
href: string;
|
|
10
10
|
}[];
|
|
11
|
-
}[] |
|
|
12
|
-
name: string;
|
|
13
|
-
Icon: ComponentType<void>;
|
|
14
|
-
href: string;
|
|
15
|
-
subPages: ({
|
|
16
|
-
name: string;
|
|
17
|
-
Icon: ComponentType<void>;
|
|
18
|
-
href: string;
|
|
19
|
-
isFill?: undefined;
|
|
20
|
-
nowrap?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
name: string;
|
|
23
|
-
Icon: ComponentType<void>;
|
|
24
|
-
href: string;
|
|
25
|
-
isFill: boolean;
|
|
26
|
-
nowrap?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
name: string;
|
|
29
|
-
Icon: ComponentType<void>;
|
|
30
|
-
href: string;
|
|
31
|
-
nowrap: boolean;
|
|
32
|
-
isFill?: undefined;
|
|
33
|
-
})[];
|
|
34
|
-
} | {
|
|
35
|
-
name: string;
|
|
36
|
-
href: string;
|
|
37
|
-
subPages: ({
|
|
38
|
-
name: string;
|
|
39
|
-
isFill: boolean;
|
|
40
|
-
Icon: ComponentType<void>;
|
|
41
|
-
href: string;
|
|
42
|
-
hiddenFromChildren?: undefined;
|
|
43
|
-
innerPages?: undefined;
|
|
44
|
-
} | {
|
|
45
|
-
name: string;
|
|
46
|
-
Icon: ComponentType<void>;
|
|
47
|
-
isFill: boolean;
|
|
48
|
-
href: string;
|
|
49
|
-
hiddenFromChildren: boolean;
|
|
50
|
-
innerPages?: undefined;
|
|
51
|
-
} | {
|
|
52
|
-
name: string;
|
|
53
|
-
Icon: ComponentType<void>;
|
|
54
|
-
href: string;
|
|
55
|
-
isFill?: undefined;
|
|
56
|
-
hiddenFromChildren?: undefined;
|
|
57
|
-
innerPages?: undefined;
|
|
58
|
-
} | {
|
|
59
|
-
name: string;
|
|
60
|
-
Icon: ComponentType<void>;
|
|
61
|
-
href: string;
|
|
62
|
-
hiddenFromChildren: boolean;
|
|
63
|
-
isFill?: undefined;
|
|
64
|
-
innerPages?: undefined;
|
|
65
|
-
} | {
|
|
66
|
-
name: string;
|
|
67
|
-
Icon: ComponentType<void>;
|
|
68
|
-
isFill: boolean;
|
|
69
|
-
href: string;
|
|
70
|
-
innerPages: string[];
|
|
71
|
-
hiddenFromChildren: boolean;
|
|
72
|
-
})[];
|
|
73
|
-
})[])[] | {
|
|
11
|
+
}[][] | {
|
|
74
12
|
subPages: import("../../../common.types").THeaderLinkSubPage[];
|
|
75
13
|
name: string;
|
|
76
14
|
href?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { THeaderLinksV2 } from '../../../../contstants/linksV2';
|
|
2
2
|
interface IProps {
|
|
3
|
-
data:
|
|
3
|
+
data: THeaderLinksV2;
|
|
4
4
|
setShowQuiz: (val: {
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
@@ -4,6 +4,8 @@ type TProps = {
|
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
item: THeaderLinksV2;
|
|
6
6
|
handleClose: () => void;
|
|
7
|
+
itemIndex?: number;
|
|
8
|
+
tabRef?: React.RefObject<HTMLDivElement>;
|
|
7
9
|
};
|
|
8
|
-
declare const MoreItemsV2: React.MemoExoticComponent<({ item, isOpen, handleClose }: TProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
declare const MoreItemsV2: React.MemoExoticComponent<({ item, isOpen, handleClose, itemIndex, tabRef }: TProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
11
|
export { MoreItemsV2 };
|
|
@@ -3,6 +3,8 @@ export declare const Wrapper: import("styled-components/dist/types").IStyledComp
|
|
|
3
3
|
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>, {
|
|
4
4
|
$isOpen: boolean;
|
|
5
5
|
$height: number;
|
|
6
|
+
$shouldAlignLeft?: boolean;
|
|
7
|
+
$tabPosition?: number | null;
|
|
6
8
|
}>> & string;
|
|
7
9
|
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
10
|
export declare const ImageColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
@@ -40,3 +42,4 @@ export declare const ViewAllButtonText: import("styled-components/dist/types").I
|
|
|
40
42
|
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
41
43
|
export declare const FourthColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
42
44
|
export declare const AppImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
45
|
+
export declare const ImageLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/components/blocks/headerV2/components/header-link-item/header-link-item.styled.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const HeaderLink: import("styled-components/dist/types").IStyledC
|
|
|
4
4
|
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
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
|
+
$isActive: boolean;
|
|
7
8
|
$isIdv: 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;
|
|
@@ -4,6 +4,7 @@ interface IProps {
|
|
|
4
4
|
openItem: string;
|
|
5
5
|
handleOpenItem: (val: string) => void;
|
|
6
6
|
item: THeaderLinksV2;
|
|
7
|
+
itemIndex?: number;
|
|
7
8
|
}
|
|
8
9
|
export declare const HeaderLinkItemV2: React.MemoExoticComponent<(props: IProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
10
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { UserRole } from '../../../../common.types';
|
|
2
|
+
import { THeaderLinkSubPage, UserRole, IconsInterface } from '../../../../common.types';
|
|
3
3
|
export type HeaderDropdownImage = {
|
|
4
4
|
src: string;
|
|
5
5
|
width: number;
|
|
@@ -13,6 +13,7 @@ export type HeaderDropdownItem = {
|
|
|
13
13
|
comingSoon?: boolean;
|
|
14
14
|
textWidth?: number;
|
|
15
15
|
unavailable?: boolean;
|
|
16
|
+
isOpenUnavailable?: boolean;
|
|
16
17
|
name?: string;
|
|
17
18
|
description?: string;
|
|
18
19
|
imagePlug?: string;
|
|
@@ -35,10 +36,15 @@ export type HeaderDropdownConfig = {
|
|
|
35
36
|
isSecondRowHorizontal: boolean;
|
|
36
37
|
hiddenFromChildren?: boolean;
|
|
37
38
|
columns: HeaderDropdownColumn[];
|
|
39
|
+
subPages?: THeaderLinkSubPage[];
|
|
40
|
+
Icon?: React.FC<IconsInterface>;
|
|
41
|
+
isFill?: boolean;
|
|
42
|
+
innerPages?: string[];
|
|
43
|
+
locked?: boolean;
|
|
38
44
|
};
|
|
39
45
|
export type THeaderLinksV2 = {
|
|
40
46
|
name: string;
|
|
41
47
|
href?: string;
|
|
42
48
|
config: HeaderDropdownConfig;
|
|
43
49
|
};
|
|
44
|
-
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number) => THeaderLinksV2[];
|
|
50
|
+
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number, isMobile?: boolean) => THeaderLinksV2[];
|
|
@@ -18,10 +18,14 @@ export declare const Urls_translations: {
|
|
|
18
18
|
coupon_calendar: string;
|
|
19
19
|
report_calendar: string;
|
|
20
20
|
ipo_calendar: string;
|
|
21
|
+
ico_calendar: string;
|
|
22
|
+
air_calendar: string;
|
|
21
23
|
screener: string;
|
|
22
24
|
stocks_screener: string;
|
|
23
25
|
bonds_screener: string;
|
|
24
26
|
etf_screener: string;
|
|
27
|
+
crypto_screener: string;
|
|
28
|
+
futures_screener: string;
|
|
25
29
|
asset_comparison: string;
|
|
26
30
|
asset_comparison_stocks: string;
|
|
27
31
|
asset_comparison_bonds: string;
|
|
@@ -29,6 +33,7 @@ export declare const Urls_translations: {
|
|
|
29
33
|
passive_income: string;
|
|
30
34
|
passive_income_stocks: string;
|
|
31
35
|
passive_income_bonds: string;
|
|
36
|
+
passive_income_common: string;
|
|
32
37
|
economic_cycles: string;
|
|
33
38
|
heat_map: string;
|
|
34
39
|
rrg: string;
|
|
@@ -171,7 +176,6 @@ export declare const Urls_translations: {
|
|
|
171
176
|
goals_wish: string;
|
|
172
177
|
goals_selection: string;
|
|
173
178
|
goals_checklist: string;
|
|
174
|
-
budget_planning: string;
|
|
175
179
|
budget_savings: string;
|
|
176
180
|
budget_credits: string;
|
|
177
181
|
budget_loans: string;
|
|
@@ -184,7 +188,6 @@ export declare const Urls_translations: {
|
|
|
184
188
|
portfolios_add_deal: string;
|
|
185
189
|
portfolios_create_new: string;
|
|
186
190
|
market_review: string;
|
|
187
|
-
inv_calendars: string;
|
|
188
191
|
pas_income: string;
|
|
189
192
|
econom_cycles: string;
|
|
190
193
|
investideas: string;
|
|
@@ -220,6 +223,8 @@ export declare const Urls_translations: {
|
|
|
220
223
|
coupon_calendar: string;
|
|
221
224
|
report_calendar: string;
|
|
222
225
|
ipo_calendar: string;
|
|
226
|
+
ico_calendar: string;
|
|
227
|
+
air_calendar: string;
|
|
223
228
|
screener: string;
|
|
224
229
|
stocks_screener: string;
|
|
225
230
|
bonds_screener: string;
|
|
@@ -231,6 +236,7 @@ export declare const Urls_translations: {
|
|
|
231
236
|
passive_income: string;
|
|
232
237
|
passive_income_stocks: string;
|
|
233
238
|
passive_income_bonds: string;
|
|
239
|
+
passive_income_common: string;
|
|
234
240
|
economic_cycles: string;
|
|
235
241
|
heat_map: string;
|
|
236
242
|
rrg: string;
|
|
@@ -373,7 +379,6 @@ export declare const Urls_translations: {
|
|
|
373
379
|
goals_wish: string;
|
|
374
380
|
goals_selection: string;
|
|
375
381
|
goals_checklist: string;
|
|
376
|
-
budget_planning: string;
|
|
377
382
|
budget_savings: string;
|
|
378
383
|
budget_credits: string;
|
|
379
384
|
budget_loans: string;
|
|
@@ -386,7 +391,6 @@ export declare const Urls_translations: {
|
|
|
386
391
|
portfolios_add_deal: string;
|
|
387
392
|
portfolios_create_new: string;
|
|
388
393
|
market_review: string;
|
|
389
|
-
inv_calendars: string;
|
|
390
394
|
pas_income: string;
|
|
391
395
|
econom_cycles: string;
|
|
392
396
|
investideas: string;
|