profinansy-ui-lib 1.0.65 → 1.0.67
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/assets/about-icon.d.ts +3 -3
- package/dist/assets/apple-icon.d.ts +3 -3
- package/dist/assets/burger-icon-dark.d.ts +3 -3
- package/dist/assets/burger-icon.d.ts +3 -3
- package/dist/assets/capital-icon.d.ts +3 -3
- package/dist/assets/channels-icon.d.ts +3 -3
- package/dist/assets/chats-icon.d.ts +3 -3
- package/dist/assets/chevron-icon.d.ts +3 -3
- package/dist/assets/close-icon.d.ts +3 -3
- package/dist/assets/club-icon.d.ts +3 -3
- package/dist/assets/education-icon.d.ts +3 -3
- package/dist/assets/expenses-icon.d.ts +3 -3
- package/dist/assets/favorites-icon.d.ts +3 -3
- package/dist/assets/feed-icon.d.ts +3 -3
- package/dist/assets/google-store-icon.d.ts +3 -3
- package/dist/assets/huawei-store-icon.d.ts +3 -3
- package/dist/assets/investments-icon.d.ts +3 -3
- package/dist/assets/lock-icon-dark.d.ts +3 -3
- package/dist/assets/lock-icon.d.ts +3 -3
- package/dist/assets/logout-icon.d.ts +3 -3
- package/dist/assets/profile-icon.d.ts +3 -3
- package/dist/assets/purchases-icon.d.ts +3 -3
- package/dist/assets/purrple-logo-dark.d.ts +3 -3
- package/dist/assets/purrple-logo.d.ts +3 -3
- package/dist/assets/tariffs-icon.d.ts +3 -3
- package/dist/assets/telegram-icon.d.ts +3 -3
- package/dist/assets/vk-icon.d.ts +3 -3
- package/dist/assets/youtube-icon copy.d.ts +3 -3
- package/dist/common.types.d.ts +27 -27
- package/dist/components/footer/constants.d.ts +16 -16
- package/dist/components/footer/footer.d.ts +10 -10
- package/dist/components/footer/footer.styled.d.ts +29 -29
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/header/constants.d.ts +92 -92
- package/dist/components/header/header-link-item/header-link-item.d.ts +12 -12
- package/dist/components/header/header-link-item/header-link-item.styled.d.ts +7 -7
- package/dist/components/header/header.d.ts +16 -16
- package/dist/components/header/header.styled.d.ts +7 -7
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/user-dropdown-menu/constants.d.ts +5 -5
- package/dist/components/header/user-dropdown-menu/user-dropdown-menu.d.ts +13 -13
- package/dist/components/header/user-dropdown-menu/user-dropdown-menu.styled.d.ts +7 -7
- package/dist/components/icon-wrapper/icon-wrapper.d.ts +7 -7
- package/dist/context/theme-context.d.ts +5 -5
- package/dist/hooks/useBreakpoints.d.ts +6 -6
- package/dist/hooks/useCurrentPath.d.ts +4 -4
- package/dist/hooks/useDisableScroll.d.ts +3 -3
- package/dist/hooks/useListenOutsideClick.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/utils.d.ts +6 -6
- package/package.json +30 -30
- package/readme.md +10 -10
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const AboutIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const AboutIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const AppleIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const AppleIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const BurgerIconDark: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const BurgerIconDark: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const BurgerIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const BurgerIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const CapitalIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const CapitalIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ChannelsIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ChannelsIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ChatsIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ChatsIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ChevronIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ChevronIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const CloseIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const CloseIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ClubIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ClubIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const EducationIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const EducationIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ExpensesIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ExpensesIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const FavoritesIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const FavoritesIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const FeedIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const FeedIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const GoogleStoreIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const GoogleStoreIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const HuaweiStoreIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const HuaweiStoreIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const InvestmentsIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const InvestmentsIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const LockIconDark: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const LockIconDark: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const LockIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const LockIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const LogoutIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const LogoutIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const ProfileIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const ProfileIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const PurchasesIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const PurchasesIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const PurpleLogoDark: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const PurpleLogoDark: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const PurpleLogo: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const PurpleLogo: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const TariffsIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const TariffsIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const TelegramIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const TelegramIcon: FC<IconsInterface>;
|
package/dist/assets/vk-icon.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const VkIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const VkIcon: FC<IconsInterface>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconsInterface } from '../common.types';
|
|
3
|
-
export declare const YoutubeIcon: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const YoutubeIcon: FC<IconsInterface>;
|
package/dist/common.types.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IconsInterface {
|
|
3
|
-
color?: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
height?: number;
|
|
6
|
-
width?: number;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export type UserRole = 'guest' | 'authorized' | 'paid';
|
|
10
|
-
export type HeaderLinkType = {
|
|
11
|
-
name: string;
|
|
12
|
-
href: string;
|
|
13
|
-
outsideLink?: boolean;
|
|
14
|
-
Icon: React.FC<IconsInterface>;
|
|
15
|
-
locked?: boolean;
|
|
16
|
-
subPages: {
|
|
17
|
-
name: string;
|
|
18
|
-
href: string;
|
|
19
|
-
locked?: boolean;
|
|
20
|
-
onlyMobile?: boolean;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
export type SearchBoxTypes = {
|
|
24
|
-
open: boolean;
|
|
25
|
-
onClose: () => void;
|
|
26
|
-
anchorEl: HTMLButtonElement | HTMLDivElement | null;
|
|
27
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IconsInterface {
|
|
3
|
+
color?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
width?: number;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
export type UserRole = 'guest' | 'authorized' | 'paid';
|
|
10
|
+
export type HeaderLinkType = {
|
|
11
|
+
name: string;
|
|
12
|
+
href: string;
|
|
13
|
+
outsideLink?: boolean;
|
|
14
|
+
Icon: React.FC<IconsInterface>;
|
|
15
|
+
locked?: boolean;
|
|
16
|
+
subPages: {
|
|
17
|
+
name: string;
|
|
18
|
+
href: string;
|
|
19
|
+
locked?: boolean;
|
|
20
|
+
onlyMobile?: boolean;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
export type SearchBoxTypes = {
|
|
24
|
+
open: boolean;
|
|
25
|
+
onClose: () => void;
|
|
26
|
+
anchorEl: HTMLButtonElement | HTMLDivElement | null;
|
|
27
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { UserRole } from '../../common.types';
|
|
2
|
-
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, profinansyHostname: string, leaderboardPermission?: boolean) => FooterLink[][];
|
|
3
|
-
export declare const footerDescription = "\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0430\u043D\u043D\u043E\u043C \u0441\u0430\u0439\u0442\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0438\n\u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u043E\u043C. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u043E\u0439\n\u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0435\u0439. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0440\u0435\u043A\u043B\u0430\u043C\u043E\u0439 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433\n\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u0413\u0440\u0430\u0444\u0438\u043A\u0438 \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u0438 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433 \u043E\u0442\u0440\u0430\u0436\u0430\u044E\u0442\n\u0438\u0441\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0434\u0438\u043D\u0430\u043C\u0438\u043A\u0443 \u0446\u0435\u043D\u044B \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0435\u0439 \u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u0438 \u0432\n\u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u041F\u0440\u043E\u0448\u043B\u044B\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0440\u0443\u044E\u0442\n\u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u044C \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u0427\u0438\u0441\u043B\u043E\u0432\u044B\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0432\u0437\u044F\u0442\u044B \u0438\u0437 \u043E\u0444\u0438\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445\n\u0444\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0445 \u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u041E\u041E\u041E \u00AB\u041F\u0420\u041E\u0424\u0418\u041D\u0410\u041D\u0421\u042B \u0418\u0422 \u0420\u0415\u0428\u0415\u041D\u0418\u042F\u00BB \u043D\u0435 \u043D\u0435\u0441\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0437\u0430 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435\n\u0443\u0431\u044B\u0442\u043A\u0438 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u0430 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u043D\u0430 \u0441\u0430\u0439\u0442\u0435\n\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u0432 \u0441\u0432\u043E\u0435\u0439 \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0438, \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0445\n\u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433.";
|
|
4
|
-
export declare const getFooterLeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => {
|
|
5
|
-
title: string;
|
|
6
|
-
href: string;
|
|
7
|
-
}[];
|
|
8
|
-
type FooterLink = {
|
|
9
|
-
title: string;
|
|
10
|
-
href: string;
|
|
11
|
-
links?: {
|
|
12
|
-
title: string;
|
|
13
|
-
href: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
1
|
+
import { UserRole } from '../../common.types';
|
|
2
|
+
export declare const getFooterNavRows: (userRole: UserRole, clubAccess: boolean, profinansyHostname: string, leaderboardPermission?: boolean) => FooterLink[][];
|
|
3
|
+
export declare const footerDescription = "\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043D\u0430 \u0434\u0430\u043D\u043D\u043E\u043C \u0441\u0430\u0439\u0442\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0438\n\u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u043E\u043C. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u043E\u0439\n\u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0435\u0439. \u041D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0440\u0435\u043A\u043B\u0430\u043C\u043E\u0439 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433\n\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u0413\u0440\u0430\u0444\u0438\u043A\u0438 \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u0438 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433 \u043E\u0442\u0440\u0430\u0436\u0430\u044E\u0442\n\u0438\u0441\u0442\u043E\u0440\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0434\u0438\u043D\u0430\u043C\u0438\u043A\u0443 \u0446\u0435\u043D\u044B \u0438 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0435\u0439 \u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u0438 \u0432\n\u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u041F\u0440\u043E\u0448\u043B\u044B\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u0433\u0430\u0440\u0430\u043D\u0442\u0438\u0440\u0443\u044E\u0442\n\u0434\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u044C \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043C. \u0427\u0438\u0441\u043B\u043E\u0432\u044B\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0432\u0437\u044F\u0442\u044B \u0438\u0437 \u043E\u0444\u0438\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0445\n\u0444\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0445 \u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0439. \u041E\u041E\u041E \u00AB\u041F\u0420\u041E\u0424\u0418\u041D\u0410\u041D\u0421\u042B \u0418\u0422 \u0420\u0415\u0428\u0415\u041D\u0418\u042F\u00BB \u043D\u0435 \u043D\u0435\u0441\u0435\u0442 \u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0437\u0430 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0435\n\u0443\u0431\u044B\u0442\u043A\u0438 \u0438\u043D\u0432\u0435\u0441\u0442\u043E\u0440\u0430 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u043D\u0430 \u0441\u0430\u0439\u0442\u0435\n\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u0432 \u0441\u0432\u043E\u0435\u0439 \u0438\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u0438, \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0445\n\u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0446\u0435\u043D\u043D\u044B\u0445 \u0431\u0443\u043C\u0430\u0433.";
|
|
4
|
+
export declare const getFooterLeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => {
|
|
5
|
+
title: string;
|
|
6
|
+
href: string;
|
|
7
|
+
}[];
|
|
8
|
+
type FooterLink = {
|
|
9
|
+
title: string;
|
|
10
|
+
href: string;
|
|
11
|
+
links?: {
|
|
12
|
+
title: string;
|
|
13
|
+
href: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { UserRole } from '../../common.types';
|
|
3
|
-
export type FooterProps = {
|
|
4
|
-
userRole: UserRole;
|
|
5
|
-
clubAccess: boolean;
|
|
6
|
-
isProfinansy?: boolean;
|
|
7
|
-
onRouteChange?: (url: string) => void;
|
|
8
|
-
leaderboardPermission?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const Footer: FC<FooterProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { UserRole } from '../../common.types';
|
|
3
|
+
export type FooterProps = {
|
|
4
|
+
userRole: UserRole;
|
|
5
|
+
clubAccess: boolean;
|
|
6
|
+
isProfinansy?: boolean;
|
|
7
|
+
onRouteChange?: (url: string) => void;
|
|
8
|
+
leaderboardPermission?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const Footer: FC<FooterProps>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export declare const FooterRoot: any;
|
|
2
|
-
export declare const FooterTop: any;
|
|
3
|
-
export declare const FooterTopLeft: any;
|
|
4
|
-
export declare const FooterSecondBlock: any;
|
|
5
|
-
export declare const IconsList: any;
|
|
6
|
-
export declare const SocialIconWrapper: any;
|
|
7
|
-
export declare const FooterBottomText: any;
|
|
8
|
-
export declare const FooterLinks: any;
|
|
9
|
-
export declare const LinksRow: any;
|
|
10
|
-
export declare const LinksUl: any;
|
|
11
|
-
export declare const LinkLi: any;
|
|
12
|
-
export declare const MainLink: any;
|
|
13
|
-
export declare const LinkA: any;
|
|
14
|
-
export declare const DocumentsLinks: any;
|
|
15
|
-
export declare const DocumentLink: any;
|
|
16
|
-
export declare const FooterFirstBlock: any;
|
|
17
|
-
export declare const MainData: any;
|
|
18
|
-
export declare const DownloadMarketList: any;
|
|
19
|
-
export declare const DownloadIconWrapper: any;
|
|
20
|
-
export declare const StoreName: any;
|
|
21
|
-
export declare const DownloadDescription: any;
|
|
22
|
-
export declare const AddressBlock: any;
|
|
23
|
-
export declare const CompanyName: any;
|
|
24
|
-
export declare const Address: any;
|
|
25
|
-
export declare const HelpBlock: any;
|
|
26
|
-
export declare const HelpText: any;
|
|
27
|
-
export declare const HelpTextP: any;
|
|
28
|
-
export declare const HelpLink: any;
|
|
29
|
-
export declare const ContactNumbers: any;
|
|
1
|
+
export declare const FooterRoot: any;
|
|
2
|
+
export declare const FooterTop: any;
|
|
3
|
+
export declare const FooterTopLeft: any;
|
|
4
|
+
export declare const FooterSecondBlock: any;
|
|
5
|
+
export declare const IconsList: any;
|
|
6
|
+
export declare const SocialIconWrapper: any;
|
|
7
|
+
export declare const FooterBottomText: any;
|
|
8
|
+
export declare const FooterLinks: any;
|
|
9
|
+
export declare const LinksRow: any;
|
|
10
|
+
export declare const LinksUl: any;
|
|
11
|
+
export declare const LinkLi: any;
|
|
12
|
+
export declare const MainLink: any;
|
|
13
|
+
export declare const LinkA: any;
|
|
14
|
+
export declare const DocumentsLinks: any;
|
|
15
|
+
export declare const DocumentLink: any;
|
|
16
|
+
export declare const FooterFirstBlock: any;
|
|
17
|
+
export declare const MainData: any;
|
|
18
|
+
export declare const DownloadMarketList: any;
|
|
19
|
+
export declare const DownloadIconWrapper: any;
|
|
20
|
+
export declare const StoreName: any;
|
|
21
|
+
export declare const DownloadDescription: any;
|
|
22
|
+
export declare const AddressBlock: any;
|
|
23
|
+
export declare const CompanyName: any;
|
|
24
|
+
export declare const Address: any;
|
|
25
|
+
export declare const HelpBlock: any;
|
|
26
|
+
export declare const HelpText: any;
|
|
27
|
+
export declare const HelpTextP: any;
|
|
28
|
+
export declare const HelpLink: any;
|
|
29
|
+
export declare const ContactNumbers: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './footer';
|
|
1
|
+
export * from './footer';
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { HeaderLinkType, UserRole } from '../../common.types';
|
|
2
|
-
export declare const getMainLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
|
|
3
|
-
export declare const LeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => ({
|
|
4
|
-
name: string;
|
|
5
|
-
href: string;
|
|
6
|
-
locked: boolean;
|
|
7
|
-
onlyMobile: boolean;
|
|
8
|
-
} | {
|
|
9
|
-
name: string;
|
|
10
|
-
href: string;
|
|
11
|
-
locked: boolean;
|
|
12
|
-
onlyMobile?: undefined;
|
|
13
|
-
})[] | {
|
|
14
|
-
name: string;
|
|
15
|
-
href: string;
|
|
16
|
-
}[];
|
|
17
|
-
export declare const getClubLinks: (access: boolean, profinansyHostname: string) => {
|
|
18
|
-
name: string;
|
|
19
|
-
href: string;
|
|
20
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
21
|
-
subPages: {
|
|
22
|
-
name: string;
|
|
23
|
-
href: string;
|
|
24
|
-
locked: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
28
|
-
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
29
|
-
name: string;
|
|
30
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
31
|
-
href: string;
|
|
32
|
-
subPages: ({
|
|
33
|
-
name: string;
|
|
34
|
-
href: string;
|
|
35
|
-
locked: boolean;
|
|
36
|
-
Icon?: undefined;
|
|
37
|
-
} | {
|
|
38
|
-
name: string;
|
|
39
|
-
href: string;
|
|
40
|
-
locked?: undefined;
|
|
41
|
-
Icon?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
name: string;
|
|
44
|
-
href: string;
|
|
45
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
46
|
-
locked: boolean;
|
|
47
|
-
})[];
|
|
48
|
-
} | {
|
|
49
|
-
name: string;
|
|
50
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
51
|
-
href: string;
|
|
52
|
-
subPages: ({
|
|
53
|
-
name: string;
|
|
54
|
-
href: string;
|
|
55
|
-
locked: boolean;
|
|
56
|
-
onlyMobile: boolean;
|
|
57
|
-
} | {
|
|
58
|
-
name: string;
|
|
59
|
-
href: string;
|
|
60
|
-
locked: boolean;
|
|
61
|
-
onlyMobile?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
name: string;
|
|
64
|
-
href: string;
|
|
65
|
-
onlyMobile: boolean;
|
|
66
|
-
} | {
|
|
67
|
-
name: string;
|
|
68
|
-
href: string;
|
|
69
|
-
onlyMobile?: undefined;
|
|
70
|
-
})[];
|
|
71
|
-
})[];
|
|
72
|
-
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => {
|
|
73
|
-
name: string;
|
|
74
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
75
|
-
href: string;
|
|
76
|
-
subPages: ({
|
|
77
|
-
name: string;
|
|
78
|
-
href: string;
|
|
79
|
-
onlyMobile: boolean;
|
|
80
|
-
Icon?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
name: string;
|
|
83
|
-
href: string;
|
|
84
|
-
onlyMobile?: undefined;
|
|
85
|
-
Icon?: undefined;
|
|
86
|
-
} | {
|
|
87
|
-
name: string;
|
|
88
|
-
href: string;
|
|
89
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
90
|
-
onlyMobile?: undefined;
|
|
91
|
-
})[];
|
|
92
|
-
}[];
|
|
1
|
+
import { HeaderLinkType, UserRole } from '../../common.types';
|
|
2
|
+
export declare const getMainLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => Record<UserRole, HeaderLinkType[]>;
|
|
3
|
+
export declare const LeaderBoardLinks: (permission: boolean, profinansyHostname: string, isGuest?: boolean) => ({
|
|
4
|
+
name: string;
|
|
5
|
+
href: string;
|
|
6
|
+
locked: boolean;
|
|
7
|
+
onlyMobile: boolean;
|
|
8
|
+
} | {
|
|
9
|
+
name: string;
|
|
10
|
+
href: string;
|
|
11
|
+
locked: boolean;
|
|
12
|
+
onlyMobile?: undefined;
|
|
13
|
+
})[] | {
|
|
14
|
+
name: string;
|
|
15
|
+
href: string;
|
|
16
|
+
}[];
|
|
17
|
+
export declare const getClubLinks: (access: boolean, profinansyHostname: string) => {
|
|
18
|
+
name: string;
|
|
19
|
+
href: string;
|
|
20
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
21
|
+
subPages: {
|
|
22
|
+
name: string;
|
|
23
|
+
href: string;
|
|
24
|
+
locked: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
28
|
+
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
29
|
+
name: string;
|
|
30
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
31
|
+
href: string;
|
|
32
|
+
subPages: ({
|
|
33
|
+
name: string;
|
|
34
|
+
href: string;
|
|
35
|
+
locked: boolean;
|
|
36
|
+
Icon?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
name: string;
|
|
39
|
+
href: string;
|
|
40
|
+
locked?: undefined;
|
|
41
|
+
Icon?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
name: string;
|
|
44
|
+
href: string;
|
|
45
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
46
|
+
locked: boolean;
|
|
47
|
+
})[];
|
|
48
|
+
} | {
|
|
49
|
+
name: string;
|
|
50
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
51
|
+
href: string;
|
|
52
|
+
subPages: ({
|
|
53
|
+
name: string;
|
|
54
|
+
href: string;
|
|
55
|
+
locked: boolean;
|
|
56
|
+
onlyMobile: boolean;
|
|
57
|
+
} | {
|
|
58
|
+
name: string;
|
|
59
|
+
href: string;
|
|
60
|
+
locked: boolean;
|
|
61
|
+
onlyMobile?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
name: string;
|
|
64
|
+
href: string;
|
|
65
|
+
onlyMobile: boolean;
|
|
66
|
+
} | {
|
|
67
|
+
name: string;
|
|
68
|
+
href: string;
|
|
69
|
+
onlyMobile?: undefined;
|
|
70
|
+
})[];
|
|
71
|
+
})[];
|
|
72
|
+
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => {
|
|
73
|
+
name: string;
|
|
74
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
75
|
+
href: string;
|
|
76
|
+
subPages: ({
|
|
77
|
+
name: string;
|
|
78
|
+
href: string;
|
|
79
|
+
onlyMobile: boolean;
|
|
80
|
+
Icon?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
name: string;
|
|
83
|
+
href: string;
|
|
84
|
+
onlyMobile?: undefined;
|
|
85
|
+
Icon?: undefined;
|
|
86
|
+
} | {
|
|
87
|
+
name: string;
|
|
88
|
+
href: string;
|
|
89
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
90
|
+
onlyMobile?: undefined;
|
|
91
|
+
})[];
|
|
92
|
+
}[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { HeaderLinkType } from '../../../common.types';
|
|
3
|
-
type Props = HeaderLinkType & {
|
|
4
|
-
onRouteChange: (path: string) => void;
|
|
5
|
-
closeBurger: () => void;
|
|
6
|
-
burgerOpened: boolean;
|
|
7
|
-
blackVersion?: boolean;
|
|
8
|
-
mainColor?: string;
|
|
9
|
-
activeColor?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const HeaderLinkItem: FC<Props>;
|
|
12
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { HeaderLinkType } from '../../../common.types';
|
|
3
|
+
type Props = HeaderLinkType & {
|
|
4
|
+
onRouteChange: (path: string) => void;
|
|
5
|
+
closeBurger: () => void;
|
|
6
|
+
burgerOpened: boolean;
|
|
7
|
+
blackVersion?: boolean;
|
|
8
|
+
mainColor?: string;
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const HeaderLinkItem: FC<Props>;
|
|
12
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const HeaderItem: any;
|
|
2
|
-
export declare const HeaderDropdown: any;
|
|
3
|
-
export declare const HeaderDropdownItem: any;
|
|
4
|
-
export declare const HeaderDropdownItemLink: any;
|
|
5
|
-
export declare const HeaderLink: any;
|
|
6
|
-
export declare const ChevronIconWrapper: any;
|
|
7
|
-
export declare const LinkIconSvgWrapper: any;
|
|
1
|
+
export declare const HeaderItem: any;
|
|
2
|
+
export declare const HeaderDropdown: any;
|
|
3
|
+
export declare const HeaderDropdownItem: any;
|
|
4
|
+
export declare const HeaderDropdownItemLink: any;
|
|
5
|
+
export declare const HeaderLink: any;
|
|
6
|
+
export declare const ChevronIconWrapper: any;
|
|
7
|
+
export declare const LinkIconSvgWrapper: any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { UserRole } from '../../common.types';
|
|
3
|
-
type Props = {
|
|
4
|
-
userRole: UserRole;
|
|
5
|
-
avatarUrl?: string;
|
|
6
|
-
clubAccess: boolean;
|
|
7
|
-
isTest: boolean;
|
|
8
|
-
onLogout: () => void;
|
|
9
|
-
isProfinansy?: boolean;
|
|
10
|
-
onRouteChange?: (path: string) => void;
|
|
11
|
-
SearchBox?: () => JSX.Element;
|
|
12
|
-
blackVersion?: boolean;
|
|
13
|
-
leaderBoardPermission?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const Header: FC<Props>;
|
|
16
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { UserRole } from '../../common.types';
|
|
3
|
+
type Props = {
|
|
4
|
+
userRole: UserRole;
|
|
5
|
+
avatarUrl?: string;
|
|
6
|
+
clubAccess: boolean;
|
|
7
|
+
isTest: boolean;
|
|
8
|
+
onLogout: () => void;
|
|
9
|
+
isProfinansy?: boolean;
|
|
10
|
+
onRouteChange?: (path: string) => void;
|
|
11
|
+
SearchBox?: () => JSX.Element;
|
|
12
|
+
blackVersion?: boolean;
|
|
13
|
+
leaderBoardPermission?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const Header: FC<Props>;
|
|
16
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const HeaderRoot: any;
|
|
2
|
-
export declare const LinkList: any;
|
|
3
|
-
export declare const HeaderRight: any;
|
|
4
|
-
export declare const SearchBoxWrapper: any;
|
|
5
|
-
export declare const AuthBtn: any;
|
|
6
|
-
export declare const BurgerBtn: any;
|
|
7
|
-
export declare const LogoBtn: any;
|
|
1
|
+
export declare const HeaderRoot: any;
|
|
2
|
+
export declare const LinkList: any;
|
|
3
|
+
export declare const HeaderRight: any;
|
|
4
|
+
export declare const SearchBoxWrapper: any;
|
|
5
|
+
export declare const AuthBtn: any;
|
|
6
|
+
export declare const BurgerBtn: any;
|
|
7
|
+
export declare const LogoBtn: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './header';
|
|
1
|
+
export * from './header';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const getDropdownLinks: (profinansyHostname: string) => {
|
|
2
|
-
name: string;
|
|
3
|
-
href: string;
|
|
4
|
-
Icon: import("react").FC<import("../../../common.types").IconsInterface>;
|
|
5
|
-
}[];
|
|
1
|
+
export declare const getDropdownLinks: (profinansyHostname: string) => {
|
|
2
|
+
name: string;
|
|
3
|
+
href: string;
|
|
4
|
+
Icon: import("react").FC<import("../../../common.types").IconsInterface>;
|
|
5
|
+
}[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
type UserDropdownMenuProps = {
|
|
3
|
-
avatarUrl?: string;
|
|
4
|
-
profinansyHostname: string;
|
|
5
|
-
onRouteChange: (path: string) => void;
|
|
6
|
-
onLogout: () => void;
|
|
7
|
-
closeBurger: () => void;
|
|
8
|
-
mainColor?: string;
|
|
9
|
-
activeColor?: string;
|
|
10
|
-
blackVersion?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare const UserDropdownMenu: FC<UserDropdownMenuProps>;
|
|
13
|
-
export {};
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type UserDropdownMenuProps = {
|
|
3
|
+
avatarUrl?: string;
|
|
4
|
+
profinansyHostname: string;
|
|
5
|
+
onRouteChange: (path: string) => void;
|
|
6
|
+
onLogout: () => void;
|
|
7
|
+
closeBurger: () => void;
|
|
8
|
+
mainColor?: string;
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
blackVersion?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const UserDropdownMenu: FC<UserDropdownMenuProps>;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const UserDropdownRoot: any;
|
|
2
|
-
export declare const UserAvatar: any;
|
|
3
|
-
export declare const UserMenuWrapper: any;
|
|
4
|
-
export declare const UserMenu: any;
|
|
5
|
-
export declare const UserMenuItem: any;
|
|
6
|
-
export declare const UserMenuText: any;
|
|
7
|
-
export declare const Line: any;
|
|
1
|
+
export declare const UserDropdownRoot: any;
|
|
2
|
+
export declare const UserAvatar: any;
|
|
3
|
+
export declare const UserMenuWrapper: any;
|
|
4
|
+
export declare const UserMenu: any;
|
|
5
|
+
export declare const UserMenuItem: any;
|
|
6
|
+
export declare const UserMenuText: any;
|
|
7
|
+
export declare const Line: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconsInterface } from '../../common.types';
|
|
3
|
-
interface IconWrapperProps extends IconsInterface {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const IconWrapper: React.FC<IconWrapperProps>;
|
|
7
|
-
export default IconWrapper;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconsInterface } from '../../common.types';
|
|
3
|
+
interface IconWrapperProps extends IconsInterface {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const IconWrapper: React.FC<IconWrapperProps>;
|
|
7
|
+
export default IconWrapper;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ThemeContext: import("react").Context<{
|
|
3
|
-
mainColor: string;
|
|
4
|
-
activeColor: string;
|
|
5
|
-
}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ThemeContext: import("react").Context<{
|
|
3
|
+
mainColor: string;
|
|
4
|
+
activeColor: string;
|
|
5
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const useBreakpoints: () => {
|
|
2
|
-
xs: boolean;
|
|
3
|
-
sm: boolean;
|
|
4
|
-
md: boolean;
|
|
5
|
-
lg: boolean;
|
|
6
|
-
};
|
|
1
|
+
export declare const useBreakpoints: () => {
|
|
2
|
+
xs: boolean;
|
|
3
|
+
sm: boolean;
|
|
4
|
+
md: boolean;
|
|
5
|
+
lg: boolean;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const useCurrentPath: () => {
|
|
2
|
-
currentPathname: any;
|
|
3
|
-
currentHref: any;
|
|
4
|
-
};
|
|
1
|
+
export declare const useCurrentPath: () => {
|
|
2
|
+
currentPathname: any;
|
|
3
|
+
currentHref: any;
|
|
4
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useDisableScroll: ({ disable }: {
|
|
2
|
-
disable?: boolean;
|
|
3
|
-
}) => void;
|
|
1
|
+
export declare const useDisableScroll: ({ disable }: {
|
|
2
|
+
disable?: boolean;
|
|
3
|
+
}) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useListenOutsideClick: ({ onOutsideClick }: {
|
|
2
|
-
onOutsideClick: () => void;
|
|
3
|
-
}) => void;
|
|
1
|
+
export declare const useListenOutsideClick: ({ onOutsideClick }: {
|
|
2
|
+
onOutsideClick: () => void;
|
|
3
|
+
}) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Header } from './components/header/header';
|
|
2
|
-
import { Footer } from './components/footer';
|
|
3
|
-
export { Footer, Header };
|
|
1
|
+
import { Header } from './components/header/header';
|
|
2
|
+
import { Footer } from './components/footer';
|
|
3
|
+
export { Footer, Header };
|
package/dist/index.js
CHANGED
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
line-height: 20px;
|
|
258
258
|
`,t.ContactNumbers=a.default.div`
|
|
259
259
|
gap: 8px !important;
|
|
260
|
-
`},6564:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;const a=r(n(8156)),o=n(4601),i=n(7273),l=n(1198),s=n(8897),c=n(3696),u=n(6383),d=n(7740),f=n(550),p=n(6700),m=n(718),h=n(9547);t.Footer=({userRole:e,clubAccess:t,isProfinansy:n,onRouteChange:r,leaderboardPermission:g=!1})=>{const C=n?"":"https://profinansy.ru",L=e=>{r?r(e):window.location=e},{sm:v,xs:b}=(0,f.useBreakpoints)(),y=b?24:42,x=(0,m.getFooterNavRows)(e,t,C,g),{currentPathname:k}=(0,p.useCurrentPath)();return a.default.createElement(h.FooterRoot,null,a.default.createElement(h.FooterTop,null,a.default.createElement(h.FooterTopLeft,null,a.default.createElement(s.PurpleLogo,{width:b?156:250,height:b?30:50}),a.default.createElement("p",null,"Финансовая академия Ольги Гогаладзе")),a.default.createElement(h.IconsList,null,a.default.createElement("a",{target:"_blank",href:"https://t.me/profinansy"},a.default.createElement(c.TelegramIcon,{width:y,height:y})),a.default.createElement("a",{target:"_blank",href:"https://vk.com/pro.finansy"},a.default.createElement(u.VkIcon,{width:y,height:y})),a.default.createElement("a",{target:"_blank",href:"https://www.youtube.com/c/%D0%9E%D0%BB%D1%8C%D0%B3%D0%B0%D0%93%D0%BE%D0%B3%D0%B0%D0%BB%D0%B0%D0%B4%D0%B7%D0%B5"},a.default.createElement(d.YoutubeIcon,{width:y,height:y})))),a.default.createElement(h.FooterFirstBlock,null,a.default.createElement(h.MainData,null,a.default.createElement(h.DownloadMarketList,null,a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://apps.apple.com/ru/app/pro-finansy-%D0%BF%D1%80%D0%BE-%D1%84%D0%B8%D0%BD%D0%B0%D0%BD%D1%81%D1%8B/id1636352042"},a.default.createElement(o.AppleIcon,null),a.default.createElement(h.StoreName,null,"App Store"),a.default.createElement(h.DownloadDescription,null,"Download on the")),a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://play.google.com/store/apps/details?id=com.profinansy.profinansy"},a.default.createElement(i.GoogleStoreIcon,null),a.default.createElement(h.StoreName,null,"Google Play"),a.default.createElement(h.DownloadDescription,null,"GET IT ON")),a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://appgallery.huawei.com/app/C107227589"},a.default.createElement(l.HuaweiStoreIcon,null),a.default.createElement(h.StoreName,null,"App gallery"),a.default.createElement(h.DownloadDescription,null,"GET IT ON"))),a.default.createElement(h.HelpBlock,null,a.default.createElement("div",null,a.default.createElement(h.HelpTextP,null,"Техническая поддержка"," ",a.default.createElement(h.HelpLink,{href:"mailto:support@profinansy.info"},"support@profinansy.info"))),a.default.createElement(h.ContactNumbers,null,a.default.createElement(h.HelpText,{target:"_blank",href:"https://api.whatsapp.com/send?phone=79818115676&text=%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D1%81%D1%82%D0%B2%D1%83%D0%B9%D1%82%D0%B5!%20%D0%A5%D0%BE%D1%87%D1%83%20%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B8%D1%82%D1%8C%20%D0%BA%D0%BE%D0%BD%D1%81%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%86%D0%B8%D1%8E%20%D0%BF%D0%BE%20%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D1%83&utm_source=obshii_sait"},"+7 (981) 811-56-76, +7 (919) 972-83-08, +7 (911) 729-20-48, +7 (995) 298-90-24 — c этих номеров могут написать в WhatsApp наши сотрудники"),a.default.createElement(h.HelpText,{href:"tel:7 (977) 099-81-10"},"+7 (977) 099-81-10, +7 (995) 577-62-61 — c этих номеров могут звонить наши сотрудники"),a.default.createElement(h.HelpText,{href:"tel:7 (993) 552-59-41"},"+7 (993) 552-59-41 - редакция журнала PRO.FINANSY"),a.default.createElement(h.HelpText,{href:"tel:7 (995) 298-45-99"},"+7 (995) 298-45-99 - c этого номера можем писать"),a.default.createElement(h.HelpText,{href:"tel:7 (995) 436-67-08"},"+7 (995) 436-67-08 - менеджеры клуба")))),a.default.createElement(h.AddressBlock,null,!v&&a.default.createElement(h.CompanyName,null,'ООО "Профинансы ИТ решения"'),a.default.createElement(h.Address,null,"Адреc: 123112, г. Москва, вн.тер.г. Муниципальный округ Пресненский, наб. Пресненская, д.12, этаж 82, офис/пом. 405/4",a.default.createElement("br",null)," ОГРН 1227700402522 ",a.default.createElement("br",null)," Расчётный счет 40702810710001115701"," ",a.default.createElement("br",null),' БИК банка 044525974 / Банк АО "ТИНЬКОФФ БАНК" ',a.default.createElement("br",null)," ","Корреспондентский счет 30101810145250000974",a.default.createElement("br",null),"ИНН 9703096398"))),a.default.createElement(h.FooterSecondBlock,null,a.default.createElement(h.FooterLinks,null,x.map(((e,t)=>a.default.createElement(h.LinksRow,{key:t},e.map((e=>a.default.createElement(h.LinksUl,{key:e.title},a.default.createElement(h.LinkLi,null,a.default.createElement(h.MainLink,{active:k===e.href&&"Мои портфели"!==e.href,onClick:()=>L(e.href)},e.title)),e.links.map((e=>a.default.createElement(h.LinkLi,{key:e.title},a.default.createElement(h.LinkA,{active:k===e.href&&"Мои портфели"!==e.href,onClick:()=>L(e.href)},e.title))))))))))),a.default.createElement(h.DocumentsLinks,null,a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/5R8Xn3iU1SxYxA"},"Руководство пользователя"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/W1AgJWzWisIGLA"},"Полное описание функционала системы"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/z5H71ADNaefXBA"},"Свидетельство о государственной регистрации программы"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/t0a23rAlvx1_cA"},"Выписка из единого реестра российских программ для ЭВМ"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/privacy-policy"},"Политика обработки персональных данных"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/user-agreement"},"Пользовательское соглашение"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/contract-offer"},"Оферта о заключении лицензионного договора"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/privacy-conditions"},"Условия предоставления информации"))),v&&a.default.createElement(h.CompanyName,null,'ООО "Профинансы ИТ решения"'),a.default.createElement(h.FooterBottomText,null,m.footerDescription))}},7325:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(6564),t)},2149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paidLinks=t.authorizedLinks=t.guestLinks=t.getClubLinks=t.LeaderBoardLinks=t.getMainLinks=void 0;const r=n(6064),a=n(121),o=n(3241),i=n(9865),l=n(2626),s=n(9316),c=n(5386),u=n(4400),d=n(5463);t.getMainLinks=(e,n,r)=>({guest:(0,t.guestLinks)(e),authorized:(0,t.authorizedLinks)(e,n,r),paid:(0,t.paidLinks)(e,n,r)}),t.LeaderBoardLinks=(e,t,n)=>n?[{name:"Обучение",href:t+"/landings/learning",locked:!0,onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:t+"/landings/learning",locked:!0},{name:"Таблица Лидеров",href:t+"/landings/learning",locked:!0}]:e?[{name:"Таблица Лидеров",href:t+"/cabinet-ratings/leaderboard"},{name:"Кабинет выпускника",href:t+"/cabinet-ratings/office"}]:[{name:"Таблица Лидеров",href:t+"/cabinet-ratings/leaderboard"}],t.getClubLinks=(e,t)=>{const n=t+"/landings/club";return{name:"Клуб",href:e?t+"/club":n,Icon:o.ClubIcon,subPages:[{name:"Расписание",href:t+"/club",locked:!e},{name:"Экономический календарь",href:e?t+"/club/economics-calendar":n,locked:!e},{name:"Инвестиционный комитет",href:e?t+"/club/content/invest-committee":n,locked:!e},{name:"Инвестмент апдейты",href:e?t+"/club/content/invest-updates":n,locked:!e},{name:"Выбор PRO.FINANSY",href:e?t+"/club/profinansy-choice":n,locked:!e},{name:"Публичный портфель",href:e?t+"/club/content/public-portfolio":n,locked:!e},{name:"Аналитические обзоры",href:e?t+"/club/content/analytical-previ":n,locked:!e},{name:"Американские горки ",href:e?t+"/club/content/roller-coaster":n,locked:!e},{name:"Разбор портфелей",href:e?t+"/club/content/portfolios-analy":n,locked:!e},{name:"Приглашенные спикеры",href:e?t+"/club/content/invited-speakers":n,locked:!e},{name:"Офлайн встречи",href:e?t+"/club/content/offline-meetings":n,locked:!e},{name:"Полезные материалы",href:e?t+"/club/content/useful-materials":n,locked:!e}]}},t.guestLinks=e=>{const n=(0,t.LeaderBoardLinks)(!1,e,!0);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/authorization",locked:!0,subPages:[{name:"Мои цели",href:e+"/authorization",locked:!0},{name:"Мои желания",href:e+"/authorization",locked:!0}]},{name:"Мой бюджет",href:e+"/landings/my-costs",subPages:[],Icon:l.ExpensesIcon},{name:"Инвестиции",href:e+"/landings/investment",Icon:u.InvestmentsIcon,subPages:[{name:"Портфели",href:e+"/landings/investment",locked:!0},{name:"Календарь",href:e+"/landings/investment",locked:!0},{name:"Лидеры",href:e+"/landings/investment",locked:!0},{name:"Скринер",href:e+"/landings/investment",locked:!0},{name:"Избранное",href:e+"/landings/investment",locked:!0},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",href:e+"/landings/learning",subPages:[...n],Icon:i.EducationIcon},{name:"Лента",href:e+"/feed",subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news"},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"}],Icon:c.FeedIcon},{name:"Тарифы",href:e+"/payment",subPages:[],Icon:d.TariffsIcon},{name:"О проекте",href:e+"/about",subPages:[],Icon:r.AboutIcon}]},t.authorizedLinks=(e,n,o)=>{const f=(0,t.LeaderBoardLinks)(o,e);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/capital",subPages:[{name:"Мои цели",href:e+"/capital/my-purposes"},{name:"Мои желания",href:e+"/capital/my-desires"}]},{name:"Мой бюджет",Icon:l.ExpensesIcon,href:e+"/wallet",subPages:[]},{name:"Инвестиции",Icon:u.InvestmentsIcon,href:e+"/market/dashboard",subPages:[{name:"Портфели",href:e+"/landings/investment",locked:!0},{name:"Календарь",href:e+"/market/calendars/dividends"},{name:"Лидеры",href:e+"/landings/investment",locked:!0},{name:"Скринер",href:e+"/landings/investment",locked:!0},{name:"Избранное",href:e+"/landings/investment",Icon:s.FavoritesIcon,locked:!0},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",Icon:i.EducationIcon,href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",subPages:[{name:"Обучение",href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:e+"/training-section/training"},...f]},{name:"Лента",href:e+"/feed",Icon:c.FeedIcon,subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news "},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"}]},{name:"Тарифы",href:e+"/payment",subPages:[],Icon:d.TariffsIcon},{name:"О проекте",href:e+"/about",subPages:[],Icon:r.AboutIcon}]},t.paidLinks=(e,n,r)=>{const o=(0,t.LeaderBoardLinks)(r,e);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/capital",subPages:[{name:"Мои цели",href:e+"/capital/my-purposes"},{name:"Мои желания",href:e+"/capital/my-desires"}]},{name:"Мой бюджет",Icon:l.ExpensesIcon,href:e+"/wallet",subPages:[]},{name:"Инвестиции",Icon:u.InvestmentsIcon,href:e+"/market/dashboard",subPages:[{name:"Инвестиции",href:e+"/market/dashboard",onlyMobile:!0},{name:"Портфели",href:e+"/market/portfolios"},{name:"Календарь",href:e+"/market/calendars/dividends"},{name:"Скринер",href:e+"/market/screener"},{name:"Избранное",href:e+"/market/favorite/instruments",Icon:s.FavoritesIcon},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",Icon:i.EducationIcon,href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",subPages:[{name:"Обучение",href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:e+"/training-section/training"},...o]},{name:"Лента",Icon:c.FeedIcon,href:e+"/feed",subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news"},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"}]}]}},2992:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkIconSvgWrapper=t.ChevronIconWrapper=t.HeaderLink=t.HeaderDropdownItemLink=t.HeaderDropdownItem=t.HeaderDropdown=t.HeaderItem=void 0;const a=r(n(2788));t.HeaderItem=a.default.div`
|
|
260
|
+
`},6564:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;const a=r(n(8156)),o=n(4601),i=n(7273),l=n(1198),s=n(8897),c=n(3696),u=n(6383),d=n(7740),f=n(550),p=n(6700),m=n(718),h=n(9547);t.Footer=({userRole:e,clubAccess:t,isProfinansy:n,onRouteChange:r,leaderboardPermission:g=!1})=>{const C=n?"":"https://profinansy.ru",L=e=>{r?r(e):window.location=e},{sm:v,xs:b}=(0,f.useBreakpoints)(),y=b?24:42,x=(0,m.getFooterNavRows)(e,t,C,g),{currentPathname:k}=(0,p.useCurrentPath)();return a.default.createElement(h.FooterRoot,null,a.default.createElement(h.FooterTop,null,a.default.createElement(h.FooterTopLeft,null,a.default.createElement(s.PurpleLogo,{width:b?156:250,height:b?30:50}),a.default.createElement("p",null,"Финансовая академия Ольги Гогаладзе")),a.default.createElement(h.IconsList,null,a.default.createElement("a",{target:"_blank",href:"https://t.me/profinansy"},a.default.createElement(c.TelegramIcon,{width:y,height:y})),a.default.createElement("a",{target:"_blank",href:"https://vk.com/pro.finansy"},a.default.createElement(u.VkIcon,{width:y,height:y})),a.default.createElement("a",{target:"_blank",href:"https://www.youtube.com/c/%D0%9E%D0%BB%D1%8C%D0%B3%D0%B0%D0%93%D0%BE%D0%B3%D0%B0%D0%BB%D0%B0%D0%B4%D0%B7%D0%B5"},a.default.createElement(d.YoutubeIcon,{width:y,height:y})))),a.default.createElement(h.FooterFirstBlock,null,a.default.createElement(h.MainData,null,a.default.createElement(h.DownloadMarketList,null,a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://apps.apple.com/ru/app/pro-finansy-%D0%BF%D1%80%D0%BE-%D1%84%D0%B8%D0%BD%D0%B0%D0%BD%D1%81%D1%8B/id1636352042"},a.default.createElement(o.AppleIcon,null),a.default.createElement(h.StoreName,null,"App Store"),a.default.createElement(h.DownloadDescription,null,"Download on the")),a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://play.google.com/store/apps/details?id=com.profinansy.profinansy"},a.default.createElement(i.GoogleStoreIcon,null),a.default.createElement(h.StoreName,null,"Google Play"),a.default.createElement(h.DownloadDescription,null,"GET IT ON")),a.default.createElement(h.DownloadIconWrapper,{target:"_blank",href:"https://appgallery.huawei.com/app/C107227589"},a.default.createElement(l.HuaweiStoreIcon,null),a.default.createElement(h.StoreName,null,"App gallery"),a.default.createElement(h.DownloadDescription,null,"GET IT ON"))),a.default.createElement(h.HelpBlock,null,a.default.createElement("div",null,a.default.createElement(h.HelpTextP,null,"Техническая поддержка"," ",a.default.createElement(h.HelpLink,{href:"mailto:support@profinansy.info"},"support@profinansy.info"))),a.default.createElement(h.ContactNumbers,null,a.default.createElement(h.HelpText,{target:"_blank",href:"https://api.whatsapp.com/send?phone=79818115676&text=%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D1%81%D1%82%D0%B2%D1%83%D0%B9%D1%82%D0%B5!%20%D0%A5%D0%BE%D1%87%D1%83%20%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B8%D1%82%D1%8C%20%D0%BA%D0%BE%D0%BD%D1%81%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%86%D0%B8%D1%8E%20%D0%BF%D0%BE%20%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D1%83&utm_source=obshii_sait"},"+7 (981) 811-56-76, +7 (919) 972-83-08, +7 (911) 729-20-48, +7 (995) 298-90-24 — c этих номеров могут написать в WhatsApp наши сотрудники"),a.default.createElement(h.HelpText,{href:"tel:7 (977) 099-81-10"},"+7 (977) 099-81-10, +7 (995) 577-62-61 — c этих номеров могут звонить наши сотрудники"),a.default.createElement(h.HelpText,{href:"tel:7 (993) 552-59-41"},"+7 (993) 552-59-41 - редакция журнала PRO.FINANSY"),a.default.createElement(h.HelpText,{href:"tel:7 (995) 298-45-99"},"+7 (995) 298-45-99 - c этого номера можем писать"),a.default.createElement(h.HelpText,{href:"tel:7 (995) 436-67-08"},"+7 (995) 436-67-08 - менеджеры клуба")))),a.default.createElement(h.AddressBlock,null,!v&&a.default.createElement(h.CompanyName,null,'ООО "Профинансы ИТ решения"'),a.default.createElement(h.Address,null,"Адреc: 123112, г. Москва, вн.тер.г. Муниципальный округ Пресненский, наб. Пресненская, д.12, этаж 82, офис/пом. 405/4",a.default.createElement("br",null)," ОГРН 1227700402522 ",a.default.createElement("br",null)," Расчётный счет 40702810710001115701"," ",a.default.createElement("br",null),' БИК банка 044525974 / Банк АО "ТИНЬКОФФ БАНК" ',a.default.createElement("br",null)," ","Корреспондентский счет 30101810145250000974",a.default.createElement("br",null),"ИНН 9703096398"))),a.default.createElement(h.FooterSecondBlock,null,a.default.createElement(h.FooterLinks,null,x.map(((e,t)=>a.default.createElement(h.LinksRow,{key:t},e.map((e=>a.default.createElement(h.LinksUl,{key:e.title},a.default.createElement(h.LinkLi,null,a.default.createElement(h.MainLink,{active:k===e.href&&"Мои портфели"!==e.href,onClick:()=>L(e.href)},e.title)),e.links.map((e=>a.default.createElement(h.LinkLi,{key:e.title},a.default.createElement(h.LinkA,{active:k===e.href&&"Мои портфели"!==e.href,onClick:()=>L(e.href)},e.title))))))))))),a.default.createElement(h.DocumentsLinks,null,a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/5R8Xn3iU1SxYxA"},"Руководство пользователя"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/W1AgJWzWisIGLA"},"Полное описание функционала системы"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/z5H71ADNaefXBA"},"Свидетельство о государственной регистрации программы"),a.default.createElement(h.DocumentLink,{target:"_blank",href:"https://disk.yandex.ru/i/t0a23rAlvx1_cA"},"Выписка из единого реестра российских программ для ЭВМ"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/privacy-policy"},"Политика обработки персональных данных"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/user-agreement"},"Пользовательское соглашение"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/contract-offer"},"Оферта о заключении лицензионного договора"),a.default.createElement(h.DocumentLink,{target:"_blank",href:C+"/docs/privacy-conditions"},"Условия предоставления информации"))),v&&a.default.createElement(h.CompanyName,null,'ООО "Профинансы ИТ решения"'),a.default.createElement(h.FooterBottomText,null,m.footerDescription))}},7325:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(6564),t)},2149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paidLinks=t.authorizedLinks=t.guestLinks=t.getClubLinks=t.LeaderBoardLinks=t.getMainLinks=void 0;const r=n(6064),a=n(121),o=n(3241),i=n(9865),l=n(2626),s=n(9316),c=n(5386),u=n(4400),d=n(5463);t.getMainLinks=(e,n,r)=>({guest:(0,t.guestLinks)(e),authorized:(0,t.authorizedLinks)(e,n,r),paid:(0,t.paidLinks)(e,n,r)}),t.LeaderBoardLinks=(e,t,n)=>n?[{name:"Обучение",href:t+"/landings/learning",locked:!0,onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:t+"/landings/learning",locked:!0},{name:"Таблица Лидеров",href:t+"/landings/learning",locked:!0}]:e?[{name:"Таблица Лидеров",href:t+"/cabinet-ratings/leaderboard"},{name:"Кабинет выпускника",href:t+"/cabinet-ratings/office"}]:[{name:"Таблица Лидеров",href:t+"/cabinet-ratings/leaderboard"}],t.getClubLinks=(e,t)=>{const n=t+"/landings/club";return{name:"Клуб",href:e?t+"/club":n,Icon:o.ClubIcon,subPages:[{name:"Расписание",href:t+"/club",locked:!e},{name:"Экономический календарь",href:e?t+"/club/economics-calendar":n,locked:!e},{name:"Инвестиционный комитет",href:e?t+"/club/content/invest-committee":n,locked:!e},{name:"Инвестмент апдейты",href:e?t+"/club/content/invest-updates":n,locked:!e},{name:"Выбор PRO.FINANSY",href:e?t+"/club/profinansy-choice":n,locked:!e},{name:"Публичный портфель",href:e?t+"/club/content/public-portfolio":n,locked:!e},{name:"Аналитические обзоры",href:e?t+"/club/content/analytical-previ":n,locked:!e},{name:"Американские горки ",href:e?t+"/club/content/roller-coaster":n,locked:!e},{name:"Разбор портфелей",href:e?t+"/club/content/portfolios-analy":n,locked:!e},{name:"Приглашенные спикеры",href:e?t+"/club/content/invited-speakers":n,locked:!e},{name:"Офлайн встречи",href:e?t+"/club/content/offline-meetings":n,locked:!e},{name:"Полезные материалы",href:e?t+"/club/content/useful-materials":n,locked:!e}]}},t.guestLinks=e=>{const n=(0,t.LeaderBoardLinks)(!1,e,!0);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/authorization",locked:!0,subPages:[{name:"Мои цели",href:e+"/authorization",locked:!0},{name:"Мои желания",href:e+"/authorization",locked:!0}]},{name:"Мой бюджет",href:e+"/landings/my-costs",subPages:[],Icon:l.ExpensesIcon},{name:"Инвестиции",href:e+"/landings/investment",Icon:u.InvestmentsIcon,subPages:[{name:"Портфели",href:e+"/landings/investment",locked:!0},{name:"Календари",href:e+"/landings/investment",locked:!0},{name:"Скринер",href:e+"/landings/investment",locked:!0},{name:"Избранное",href:e+"/landings/investment",locked:!0},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",href:e+"/landings/learning",subPages:[...n],Icon:i.EducationIcon},{name:"Лента",href:e+"/feed",subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news"},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"},{name:"Инвестология",href:e+"/feed/investology"},{name:"Подкасты",href:e+"/feed/podcasts"}],Icon:c.FeedIcon},{name:"Тарифы",href:e+"/payment",subPages:[],Icon:d.TariffsIcon},{name:"О проекте",href:e+"/about",subPages:[],Icon:r.AboutIcon}]},t.authorizedLinks=(e,n,o)=>{const f=(0,t.LeaderBoardLinks)(o,e);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/capital",subPages:[{name:"Мои цели",href:e+"/capital/my-purposes"},{name:"Мои желания",href:e+"/capital/my-desires"}]},{name:"Мой бюджет",Icon:l.ExpensesIcon,href:e+"/wallet",subPages:[]},{name:"Инвестиции",Icon:u.InvestmentsIcon,href:e+"/market/dashboard",subPages:[{name:"Портфели",href:e+"/landings/investment",locked:!0},{name:"Календари",href:e+"/market/calendars/dividends"},{name:"Скринер",href:e+"/landings/investment",locked:!0},{name:"Избранное",href:e+"/landings/investment",Icon:s.FavoritesIcon,locked:!0},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",Icon:i.EducationIcon,href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",subPages:[{name:"Обучение",href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:e+"/training-section/training"},...f]},{name:"Лента",href:e+"/feed",Icon:c.FeedIcon,subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news "},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"},{name:"Инвестология",href:e+"/feed/investology"},{name:"Подкасты",href:e+"/feed/podcasts"}]},{name:"Тарифы",href:e+"/payment",subPages:[],Icon:d.TariffsIcon},{name:"О проекте",href:e+"/about",subPages:[],Icon:r.AboutIcon}]},t.paidLinks=(e,n,r)=>{const o=(0,t.LeaderBoardLinks)(r,e);return[{name:"Мои деньги",Icon:a.CapitalIcon,href:e+"/capital",subPages:[{name:"Мои цели",href:e+"/capital/my-purposes"},{name:"Мои желания",href:e+"/capital/my-desires"}]},{name:"Мой бюджет",Icon:l.ExpensesIcon,href:e+"/wallet",subPages:[]},{name:"Инвестиции",Icon:u.InvestmentsIcon,href:e+"/market/dashboard",subPages:[{name:"Инвестиции",href:e+"/market/dashboard",onlyMobile:!0},{name:"Портфели",href:e+"/market/portfolios"},{name:"Календари",href:e+"/market/calendars/dividends"},{name:"Скринер",href:e+"/market/screener"},{name:"Избранное",href:e+"/market/favorite/instruments",Icon:s.FavoritesIcon},{name:"Брокеры",href:e+"/market/brokers-list"}]},{name:"Обучение",Icon:i.EducationIcon,href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",subPages:[{name:"Обучение",href:n?"https://test.profinansy.ru/courses/":"https://profinansy.ru/courses/",onlyMobile:!0},{name:"Как пользоваться profinansy.ru",href:e+"/training-section/training"},...o]},{name:"Лента",Icon:c.FeedIcon,href:e+"/feed",subPages:[{name:"Лента",href:e+"/feed",onlyMobile:!0},{name:"Сообщество",href:e+"/feed/community"},{name:"Новости",href:e+"/feed/news"},{name:"Блог",href:e+"/feed/blog"},{name:"Библиотека",href:e+"/feed/library"},{name:"Подборки",href:e+"/feed/selections"},{name:"Инвестология",href:e+"/feed/investology"},{name:"Подкасты",href:e+"/feed/podcasts"}]}]}},2992:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkIconSvgWrapper=t.ChevronIconWrapper=t.HeaderLink=t.HeaderDropdownItemLink=t.HeaderDropdownItem=t.HeaderDropdown=t.HeaderItem=void 0;const a=r(n(2788));t.HeaderItem=a.default.div`
|
|
261
261
|
position: relative;
|
|
262
262
|
@media (max-width: 1050px) {
|
|
263
263
|
display: flex;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const getBreakPointsValues: (screenWidth: number) => {
|
|
2
|
-
xs: boolean;
|
|
3
|
-
sm: boolean;
|
|
4
|
-
md: boolean;
|
|
5
|
-
lg: boolean;
|
|
6
|
-
};
|
|
1
|
+
export declare const getBreakPointsValues: (screenWidth: number) => {
|
|
2
|
+
xs: boolean;
|
|
3
|
+
sm: boolean;
|
|
4
|
+
md: boolean;
|
|
5
|
+
lg: boolean;
|
|
6
|
+
};
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "profinansy-ui-lib",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "./dist/index.js",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"devDependencies": {
|
|
7
|
-
"@types/react": "^18.0.27",
|
|
8
|
-
"css-loader": "^6.7.3",
|
|
9
|
-
"sass": "^1.57.1",
|
|
10
|
-
"sass-loader": "^13.2.0",
|
|
11
|
-
"style-loader": "^3.3.1",
|
|
12
|
-
"styled-components": "^5.3.6",
|
|
13
|
-
"ts-loader": "^9.4.2",
|
|
14
|
-
"typescript": "^4.9.4",
|
|
15
|
-
"webpack": "^5.75.0",
|
|
16
|
-
"webpack-cli": "^5.0.1"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "webpack",
|
|
20
|
-
"pub": "webpack && npm version patch && npm publish"
|
|
21
|
-
},
|
|
22
|
-
"peerDependencies": {
|
|
23
|
-
"react": "^17",
|
|
24
|
-
"styled-components": "^5.3.6"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist"
|
|
28
|
-
],
|
|
29
|
-
"dependencies": {}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "profinansy-ui-lib",
|
|
3
|
+
"version": "1.0.67",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@types/react": "^18.0.27",
|
|
8
|
+
"css-loader": "^6.7.3",
|
|
9
|
+
"sass": "^1.57.1",
|
|
10
|
+
"sass-loader": "^13.2.0",
|
|
11
|
+
"style-loader": "^3.3.1",
|
|
12
|
+
"styled-components": "^5.3.6",
|
|
13
|
+
"ts-loader": "^9.4.2",
|
|
14
|
+
"typescript": "^4.9.4",
|
|
15
|
+
"webpack": "^5.75.0",
|
|
16
|
+
"webpack-cli": "^5.0.1"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "webpack",
|
|
20
|
+
"pub": "webpack && npm version patch && npm publish"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": "^17",
|
|
24
|
+
"styled-components": "^5.3.6"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {}
|
|
30
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Флоу работы
|
|
2
|
-
1. Создать ветку от master
|
|
3
|
-
2. Сделать изменения, обновить версию в package.json, выполнить команду yarn build, запушить в гитлаб и открыть МР в мастер(прикрепляете ссылку на задачу в МР и кидаете его в группу в телеге)
|
|
4
|
-
3. Ревьювер посмотрит на МР, если это апрув, примет МР в main, и выполнит у себя локально команду npm publish
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# Как смотреть изменения
|
|
8
|
-
1. Надо расшарить локально репу общих компонентов, для этого в терминале в корневой директории проекта **profinansy-react-components** запустить команду **yarn link**
|
|
9
|
-
2. В своем проекте, в котором используется эта репа(profinansy, к примеру),надо выполнить команду **yarn remove profinansy-ui-lib**, затем **yarn link profinansy-ui-lib**. Для применения изменений выполняйте команду **yarn build** в репозитории **profinansy-react-components**. Возможно то, что typescript будет кидать ошибки JSX типа "**cannot be used as a JSX component**", пока вы не отвяжете локальную привязку
|
|
10
|
-
3. После завершения работы над компонентами, надо отвязать привязку: **yarn unlink profinansy-ui-lib**, затем **yarn add --force profinansy-ui-lib**
|
|
1
|
+
# Флоу работы
|
|
2
|
+
1. Создать ветку от master
|
|
3
|
+
2. Сделать изменения, обновить версию в package.json, выполнить команду yarn build, запушить в гитлаб и открыть МР в мастер(прикрепляете ссылку на задачу в МР и кидаете его в группу в телеге)
|
|
4
|
+
3. Ревьювер посмотрит на МР, если это апрув, примет МР в main, и выполнит у себя локально команду npm publish
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Как смотреть изменения
|
|
8
|
+
1. Надо расшарить локально репу общих компонентов, для этого в терминале в корневой директории проекта **profinansy-react-components** запустить команду **yarn link**
|
|
9
|
+
2. В своем проекте, в котором используется эта репа(profinansy, к примеру),надо выполнить команду **yarn remove profinansy-ui-lib**, затем **yarn link profinansy-ui-lib**. Для применения изменений выполняйте команду **yarn build** в репозитории **profinansy-react-components**. Возможно то, что typescript будет кидать ошибки JSX типа "**cannot be used as a JSX component**", пока вы не отвяжете локальную привязку
|
|
10
|
+
3. После завершения работы над компонентами, надо отвязать привязку: **yarn unlink profinansy-ui-lib**, затем **yarn add --force profinansy-ui-lib**
|