profinansy-ui-lib 1.0.77 → 1.0.79
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-new.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 +31 -31
- package/dist/components/footer/constants.d.ts +16 -16
- package/dist/components/footer/footer.d.ts +11 -11
- 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 +89 -83
- 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 +9 -9
- 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 +3 -3
- 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 LogoutIconNew: FC<IconsInterface>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconsInterface } from '../common.types';
|
|
3
|
+
export declare const LogoutIconNew: 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,31 +1,31 @@
|
|
|
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
|
-
iconSize?: {
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
};
|
|
19
|
-
locked?: boolean;
|
|
20
|
-
subPages: {
|
|
21
|
-
name: string;
|
|
22
|
-
href: string;
|
|
23
|
-
locked?: boolean;
|
|
24
|
-
onlyMobile?: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export type SearchBoxTypes = {
|
|
28
|
-
open: boolean;
|
|
29
|
-
onClose: () => void;
|
|
30
|
-
anchorEl: HTMLButtonElement | HTMLDivElement | null;
|
|
31
|
-
};
|
|
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
|
+
iconSize?: {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
};
|
|
19
|
+
locked?: boolean;
|
|
20
|
+
subPages: {
|
|
21
|
+
name: string;
|
|
22
|
+
href: string;
|
|
23
|
+
locked?: boolean;
|
|
24
|
+
onlyMobile?: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
export type SearchBoxTypes = {
|
|
28
|
+
open: boolean;
|
|
29
|
+
onClose: () => void;
|
|
30
|
+
anchorEl: HTMLButtonElement | HTMLDivElement | null;
|
|
31
|
+
};
|
|
@@ -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 getFooterDescription: (isLms?: boolean) => string;
|
|
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 getFooterDescription: (isLms?: boolean) => string;
|
|
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,11 +1,11 @@
|
|
|
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
|
-
isLMS?: boolean;
|
|
10
|
-
};
|
|
11
|
-
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
|
+
isLMS?: boolean;
|
|
10
|
+
};
|
|
11
|
+
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,83 +1,89 @@
|
|
|
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
|
-
iconSize: {
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
};
|
|
25
|
-
subPages: {
|
|
26
|
-
name: string;
|
|
27
|
-
href: string;
|
|
28
|
-
locked: boolean;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
32
|
-
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
33
|
-
name: string;
|
|
34
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
})[];
|
|
66
|
-
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => {
|
|
67
|
-
name: string;
|
|
68
|
-
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
+
iconSize: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
subPages: {
|
|
26
|
+
name: string;
|
|
27
|
+
href: string;
|
|
28
|
+
locked: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
export declare const guestLinks: (profinansyHostname: string) => HeaderLinkType[];
|
|
32
|
+
export declare const authorizedLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
33
|
+
name: string;
|
|
34
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
35
|
+
href: string;
|
|
36
|
+
subPages: any[];
|
|
37
|
+
iconSize?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
name: string;
|
|
40
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
41
|
+
iconSize: {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
};
|
|
45
|
+
href: string;
|
|
46
|
+
subPages: ({
|
|
47
|
+
name: string;
|
|
48
|
+
href: string;
|
|
49
|
+
locked: boolean;
|
|
50
|
+
onlyMobile: boolean;
|
|
51
|
+
} | {
|
|
52
|
+
name: string;
|
|
53
|
+
href: string;
|
|
54
|
+
locked: boolean;
|
|
55
|
+
onlyMobile?: undefined;
|
|
56
|
+
} | {
|
|
57
|
+
name: string;
|
|
58
|
+
href: string;
|
|
59
|
+
onlyMobile: boolean;
|
|
60
|
+
} | {
|
|
61
|
+
name: string;
|
|
62
|
+
href: string;
|
|
63
|
+
onlyMobile?: undefined;
|
|
64
|
+
})[];
|
|
65
|
+
})[];
|
|
66
|
+
export declare const paidLinks: (profinansyHostname: string, isTest: boolean, leaderBoardPermission: boolean) => ({
|
|
67
|
+
name: string;
|
|
68
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
69
|
+
href: string;
|
|
70
|
+
subPages: any[];
|
|
71
|
+
iconSize?: undefined;
|
|
72
|
+
} | {
|
|
73
|
+
name: string;
|
|
74
|
+
Icon: import("react").FC<import("../../common.types").IconsInterface>;
|
|
75
|
+
iconSize: {
|
|
76
|
+
width: number;
|
|
77
|
+
height: number;
|
|
78
|
+
};
|
|
79
|
+
href: string;
|
|
80
|
+
subPages: ({
|
|
81
|
+
name: string;
|
|
82
|
+
href: string;
|
|
83
|
+
onlyMobile: boolean;
|
|
84
|
+
} | {
|
|
85
|
+
name: string;
|
|
86
|
+
href: string;
|
|
87
|
+
onlyMobile?: undefined;
|
|
88
|
+
})[];
|
|
89
|
+
})[];
|
|
@@ -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;
|