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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "4.1.21",
3
+ "version": "4.1.22",
4
4
  "main": "./dist/profinansy-ui-lib.cjs",
5
5
  "module": "./dist/profinansy-ui-lib.es.js",
6
6
  "types": "./dist/index.d.ts",