profinansy-ui-lib 4.1.86 → 4.1.88
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/footerNew/components/Navigation/Navigation.const.d.ts +2 -2
- package/dist/components/uikit/Button/Button.styled.d.ts +2 -3
- package/dist/hooks/useAuthPageUrl.d.ts +1 -0
- package/dist/profinansy-ui-lib.cjs +1683 -1664
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +10575 -11123
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/guestClosedHref.d.ts +3 -0
- package/dist/urls/productsV2/about/about.d.ts +2 -2
- package/dist/urls/productsV2/budget/budget.d.ts +2 -2
- package/dist/urls/productsV2/courses/courses.header.d.ts +2 -2
- package/dist/urls/productsV2/courses/courses.shared.d.ts +5 -4
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +2 -2
- package/dist/urls/productsV2/courses/coursesNew.sidebar.d.ts +1 -1
- package/dist/urls/productsV2/goals/goals.d.ts +2 -2
- package/dist/urls/productsV2/investments/investments.d.ts +2 -2
- package/dist/urls/productsV2/portfolios/portfolios.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const guestClosedHref: (siteOrigin: string, path: string, pageUrl?: string) => string;
|
|
2
|
+
export type TAuthPlaceholderSource = 'profinansy' | 'wallet' | 'lms' | 'feed';
|
|
3
|
+
export declare const guestClosedTargetHref: (target: string, pageUrl?: string, source?: TAuthPlaceholderSource) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getAboutHeader: (hostname: string, isGuest: boolean, isEmployee?: boolean) => {
|
|
1
|
+
export declare const getAboutHeader: (hostname: string, isGuest: boolean, isEmployee?: boolean, pageUrl?: string) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
Icon: ComponentType<void>;
|
|
@@ -84,7 +84,7 @@ export declare const getAboutHeader: (hostname: string, isGuest: boolean, isEmpl
|
|
|
84
84
|
isNotVisible?: undefined;
|
|
85
85
|
})[];
|
|
86
86
|
};
|
|
87
|
-
export declare const getAboutSidebar: (hostname: string, isGuest: boolean, isEmployee?: boolean, isForeignSite?: boolean) => {
|
|
87
|
+
export declare const getAboutSidebar: (hostname: string, isGuest: boolean, isEmployee?: boolean, isForeignSite?: boolean, pageUrl?: string) => {
|
|
88
88
|
name: string;
|
|
89
89
|
subPages: ({
|
|
90
90
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getBudgetHeader: (hostname: string, isGuest: boolean) => {
|
|
1
|
+
export declare const getBudgetHeader: (hostname: string, isGuest: boolean, pageUrl?: string) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
Icon: ComponentType<void>;
|
|
@@ -54,7 +54,7 @@ export declare const getBudgetHeader: (hostname: string, isGuest: boolean) => {
|
|
|
54
54
|
locked: boolean;
|
|
55
55
|
}[];
|
|
56
56
|
};
|
|
57
|
-
export declare const getBudgetSidebar: (hostname: string, isGuest: boolean) => {
|
|
57
|
+
export declare const getBudgetSidebar: (hostname: string, isGuest: boolean, pageUrl?: string) => {
|
|
58
58
|
name: string;
|
|
59
59
|
Icon: ComponentType<void>;
|
|
60
60
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesHeader: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, childCourseId?: string) => {
|
|
1
|
+
export declare const getCoursesHeader: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, childCourseId?: string, pageUrl?: string) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
isFirstRowHorizontal: boolean;
|
|
@@ -201,7 +201,7 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
201
201
|
subPages?: undefined;
|
|
202
202
|
})[];
|
|
203
203
|
};
|
|
204
|
-
export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, childCourseId?: string) => {
|
|
204
|
+
export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, childCourseId?: string, pageUrl?: string) => {
|
|
205
205
|
title: string;
|
|
206
206
|
href: string;
|
|
207
207
|
isFirstRowHorizontal: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const closedCourseHref: (target: string, pageUrl?: string) => string;
|
|
1
2
|
export declare const COURSES_PATHS: {
|
|
2
3
|
readonly COURSES: "/courses";
|
|
3
4
|
readonly MY_COURSES: "/courses/my-courses";
|
|
@@ -21,7 +22,7 @@ export declare const CHILDREN_AND_PARENTS_PATHS: {
|
|
|
21
22
|
export declare const getLmsUrl: (hostname: string, path: string) => string;
|
|
22
23
|
export declare const getLegacyCoursePath: (childCourseId?: string) => string;
|
|
23
24
|
export declare const getNewCoursePath: (childCourseId?: string) => string;
|
|
24
|
-
export declare const getCourseStoreSubPages: (hostname: string, hostnameLMS: string, isGuest: boolean) => ({
|
|
25
|
+
export declare const getCourseStoreSubPages: (hostname: string, hostnameLMS: string, isGuest: boolean, pageUrl?: string) => ({
|
|
25
26
|
name: string;
|
|
26
27
|
href: string;
|
|
27
28
|
locked?: undefined;
|
|
@@ -35,7 +36,7 @@ export declare const getCoursesHowUseSubPages: (hostname: string) => {
|
|
|
35
36
|
href: string;
|
|
36
37
|
innerPages: string[];
|
|
37
38
|
}[];
|
|
38
|
-
export declare const getCoursesGraduatesSubPages: (hostname: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, isKfpHiddenFromChildren?: boolean) => ({
|
|
39
|
+
export declare const getCoursesGraduatesSubPages: (hostname: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, isKfpHiddenFromChildren?: boolean, pageUrl?: string) => ({
|
|
39
40
|
name: string;
|
|
40
41
|
href: string;
|
|
41
42
|
innerPages: string[];
|
|
@@ -68,7 +69,7 @@ export declare const getCoursesGraduatesSubPages: (hostname: string, hostnameKfp
|
|
|
68
69
|
isNotVisible?: undefined;
|
|
69
70
|
locked?: undefined;
|
|
70
71
|
})[];
|
|
71
|
-
export declare const getCoursesChildSubPages: (hostname: string, hostnameLenta: string, isGuest: boolean) => ({
|
|
72
|
+
export declare const getCoursesChildSubPages: (hostname: string, hostnameLenta: string, isGuest: boolean, pageUrl?: string) => ({
|
|
72
73
|
name: string;
|
|
73
74
|
href: string;
|
|
74
75
|
locked?: undefined;
|
|
@@ -77,7 +78,7 @@ export declare const getCoursesChildSubPages: (hostname: string, hostnameLenta:
|
|
|
77
78
|
href: string;
|
|
78
79
|
locked: boolean;
|
|
79
80
|
})[];
|
|
80
|
-
export declare const getAvailableCoursesSubPages: (hostname: string, hostnameLMS: string, isGuest: boolean) => {
|
|
81
|
+
export declare const getAvailableCoursesSubPages: (hostname: string, hostnameLMS: string, isGuest: boolean, pageUrl?: string) => {
|
|
81
82
|
name: string;
|
|
82
83
|
href: string;
|
|
83
84
|
locked: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean, childCourseId?: string) => {
|
|
1
|
+
export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean, childCourseId?: string, pageUrl?: string) => {
|
|
2
2
|
name: string;
|
|
3
3
|
Icon: ComponentType<void>;
|
|
4
4
|
href: string;
|
|
@@ -127,7 +127,7 @@ export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string
|
|
|
127
127
|
})[];
|
|
128
128
|
};
|
|
129
129
|
/** Плоский список подразделов «Обучение» для Mega-Footer */
|
|
130
|
-
export declare const getCoursesFooter: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean) => {
|
|
130
|
+
export declare const getCoursesFooter: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean, pageUrl?: string) => {
|
|
131
131
|
name: string;
|
|
132
132
|
Icon: ComponentType<void>;
|
|
133
133
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesSidebarNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean, childCourseId?: string) => {
|
|
1
|
+
export declare const getCoursesSidebarNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isPermission: boolean, isGuest: boolean, childCourseId?: string, pageUrl?: string) => {
|
|
2
2
|
name: string;
|
|
3
3
|
Icon: ComponentType<void>;
|
|
4
4
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getGoalsHeader: (hostname: string, isGuest: boolean) => {
|
|
1
|
+
export declare const getGoalsHeader: (hostname: string, isGuest: boolean, pageUrl?: string) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
isFirstRowHorizontal: boolean;
|
|
@@ -52,7 +52,7 @@ export declare const getGoalsHeader: (hostname: string, isGuest: boolean) => {
|
|
|
52
52
|
locked: boolean;
|
|
53
53
|
}[];
|
|
54
54
|
};
|
|
55
|
-
export declare const getGoalsSidebar: (hostname: string, isGuest: boolean) => {
|
|
55
|
+
export declare const getGoalsSidebar: (hostname: string, isGuest: boolean, pageUrl?: string) => {
|
|
56
56
|
name: string;
|
|
57
57
|
Icon: ComponentType<void>;
|
|
58
58
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: string, isGuest: boolean, isPaid: boolean, isStandard: boolean, isEmployee?: boolean, isForeignSite?: boolean) => {
|
|
1
|
+
export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: string, isGuest: boolean, isPaid: boolean, isStandard: boolean, isEmployee?: boolean, isForeignSite?: boolean, pageUrl?: string) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
Icon: ComponentType<void>;
|
|
@@ -267,7 +267,7 @@ export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: str
|
|
|
267
267
|
isHit?: undefined;
|
|
268
268
|
})[];
|
|
269
269
|
};
|
|
270
|
-
export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: string, isGuest: boolean, isPaid: boolean, isStandard: boolean, isEmployee?: boolean) => {
|
|
270
|
+
export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: string, isGuest: boolean, isPaid: boolean, isStandard: boolean, isEmployee?: boolean, pageUrl?: string) => {
|
|
271
271
|
name: string;
|
|
272
272
|
Icon: ComponentType<void>;
|
|
273
273
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getPortfoliosHeader: (hostname: string, isGuest: boolean,
|
|
1
|
+
export declare const getPortfoliosHeader: (hostname: string, isGuest: boolean, _isPaid: boolean, hostnameLenta: string, _isStandard: boolean) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
Icon: ComponentType<void>;
|
|
@@ -86,7 +86,7 @@ export declare const getPortfoliosHeader: (hostname: string, isGuest: boolean, i
|
|
|
86
86
|
imagePlugMob?: undefined;
|
|
87
87
|
})[];
|
|
88
88
|
};
|
|
89
|
-
export declare const getPortfoliosSidebar: (hostname: string, isGuest: boolean,
|
|
89
|
+
export declare const getPortfoliosSidebar: (hostname: string, isGuest: boolean, _isPaid: boolean, hostnameLenta: string, _isStandard: boolean) => {
|
|
90
90
|
name: string;
|
|
91
91
|
Icon: ComponentType<void>;
|
|
92
92
|
href: string;
|