profinansy-ui-lib 4.1.21 → 4.1.22
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/constants/linksV2.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/SideMenuV2.const.d.ts +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/profinansy-ui-lib.cjs +587 -587
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +2927 -2894
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/constant.d.ts +2 -0
- package/dist/urls/products/education/educationLinks.d.ts +1 -1
- package/dist/urls/products/method/methodLinks.d.ts +1 -1
- package/dist/urls/productsV2/courses/courses.header.d.ts +2 -2
- package/dist/urls/productsV2/courses/courses.shared.d.ts +1 -1
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +1 -1
- package/dist/urls/productsV2/courses/coursesNew.sidebar.d.ts +1 -1
- package/dist/urls/productsV2/method/method.d.ts +2 -2
- package/package.json +1 -1
package/dist/urls/constant.d.ts
CHANGED
|
@@ -3,8 +3,10 @@ export declare const ABOUT_LINK = "https://sites.profinansy.ru/about_profinansyr
|
|
|
3
3
|
export declare const getFeedHost: (project: TProject, isTest: boolean) => "https://lenta.qa.profinansy.dev" | "https://lenta.profinansy.ru" | "";
|
|
4
4
|
export declare const getLMSHost: (project: TProject, isTest: boolean) => "https://lms.qa.profinansy.dev" | "https://profinansy.ru" | "";
|
|
5
5
|
export declare const getProfinansyHost: (project: TProject, isTest: boolean) => "https://profinansy.ru" | "https://frontend.qa.profinansy.dev" | "";
|
|
6
|
+
export declare const getKfpHost: (isTest: boolean) => "https://kfp-v2.qa.profinansy.dev" | "https://kfp-v2.profinansy.ru";
|
|
6
7
|
export declare const useGetHostnames: (isTest: boolean, project: TProject) => {
|
|
7
8
|
hostnameLMS: string;
|
|
8
9
|
hostname: string;
|
|
9
10
|
hostnameLenta: string;
|
|
11
|
+
hostnameKfp: string;
|
|
10
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getEducationLinks: (hostname: string, hostnameLenta: string, hostnameLMS: string, isPermission: boolean, isGuest: boolean, childCourseId?: string) => {
|
|
1
|
+
export declare const getEducationLinks: (hostname: string, hostnameLenta: string, hostnameLMS: string, isPermission: boolean, isGuest: boolean, childCourseId?: string, hostnameKfp?: string) => {
|
|
2
2
|
name: string;
|
|
3
3
|
Icon: ComponentType<void>;
|
|
4
4
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMethodInvestIdeas?: boolean) => {
|
|
1
|
+
export declare const getMethodLinks: (hostname: string, isPaid: boolean, showMethodInvestIdeas?: boolean, hostnameKfp?: string) => {
|
|
2
2
|
name: string;
|
|
3
3
|
href: string;
|
|
4
4
|
isWithoutSubpage: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesHeader: (hostname: string, hostnameLenta: string, hostnameLMS: 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) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
isFirstRowHorizontal: boolean;
|
|
@@ -161,7 +161,7 @@ export declare const getCoursesHeader: (hostname: string, hostnameLenta: string,
|
|
|
161
161
|
subPages?: undefined;
|
|
162
162
|
})[];
|
|
163
163
|
};
|
|
164
|
-
export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, isGuest: boolean, isPermission: boolean, childCourseId?: string) => {
|
|
164
|
+
export declare const getCoursesHeaderNew: (hostname: string, hostnameLenta: string, hostnameLMS: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, childCourseId?: string) => {
|
|
165
165
|
title: string;
|
|
166
166
|
href: string;
|
|
167
167
|
isFirstRowHorizontal: boolean;
|
|
@@ -35,7 +35,7 @@ export declare const getCoursesHowUseSubPages: (hostname: string) => {
|
|
|
35
35
|
href: string;
|
|
36
36
|
innerPages: string[];
|
|
37
37
|
}[];
|
|
38
|
-
export declare const getCoursesGraduatesSubPages: (hostname: string, isGuest: boolean, isPermission: boolean, isKfpHiddenFromChildren?: boolean) => ({
|
|
38
|
+
export declare const getCoursesGraduatesSubPages: (hostname: string, hostnameKfp: string, isGuest: boolean, isPermission: boolean, isKfpHiddenFromChildren?: boolean) => ({
|
|
39
39
|
name: string;
|
|
40
40
|
href: string;
|
|
41
41
|
innerPages: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesSidebar: (hostname: string, hostnameLenta: string, hostnameLMS: 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) => {
|
|
2
2
|
name: string;
|
|
3
3
|
Icon: ComponentType<void>;
|
|
4
4
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getCoursesSidebarNew: (hostname: string, hostnameLenta: string, hostnameLMS: 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) => {
|
|
2
2
|
name: string;
|
|
3
3
|
Icon: ComponentType<void>;
|
|
4
4
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getMethodHeader: (hostname: string, isPaid: boolean, isStandard: boolean, showMethodInvestIdeas?: boolean) => {
|
|
1
|
+
export declare const getMethodHeader: (hostname: string, hostnameKfp: string, isPaid: boolean, isStandard: boolean, showMethodInvestIdeas?: boolean) => {
|
|
2
2
|
title: string;
|
|
3
3
|
href: string;
|
|
4
4
|
Icon: ComponentType<void>;
|
|
@@ -151,7 +151,7 @@ export declare const getMethodHeader: (hostname: string, isPaid: boolean, isStan
|
|
|
151
151
|
isNotVisible?: undefined;
|
|
152
152
|
})[];
|
|
153
153
|
};
|
|
154
|
-
export declare const getMethodSidebar: (hostname: string, isPaid: boolean, isStandard: boolean, showMethodInvestIdeas?: boolean) => {
|
|
154
|
+
export declare const getMethodSidebar: (hostname: string, hostnameKfp: string, isPaid: boolean, isStandard: boolean, showMethodInvestIdeas?: boolean) => {
|
|
155
155
|
name: string;
|
|
156
156
|
href: string;
|
|
157
157
|
isWithoutSubpage: boolean;
|