profinansy-ui-lib 4.1.33 → 4.1.35

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.
Files changed (47) hide show
  1. package/dist/components/blocks/QuizFunnel/utils/index.d.ts +1 -1
  2. package/dist/components/blocks/QuizFunnel/utils/quizFunnel.messenger.d.ts +5 -2
  3. package/dist/components/blocks/footerNew/components/AppPromotion/AppPromotion.const.d.ts +119 -0
  4. package/dist/components/blocks/footerNew/components/AppPromotion/AppPromotion.d.ts +5 -0
  5. package/dist/components/blocks/footerNew/components/AppPromotion/AppPromotion.styled.d.ts +19 -0
  6. package/dist/components/blocks/footerNew/components/AppPromotion/index.d.ts +1 -0
  7. package/dist/components/blocks/footerNew/components/Legal/FooterThemeToggle.d.ts +2 -0
  8. package/dist/components/blocks/footerNew/components/Legal/Legal.const.d.ts +128 -0
  9. package/dist/components/blocks/footerNew/components/Legal/Legal.d.ts +3 -0
  10. package/dist/components/blocks/footerNew/components/Legal/Legal.styled.d.ts +25 -0
  11. package/dist/components/blocks/footerNew/components/Legal/Legal.typed.d.ts +25 -0
  12. package/dist/components/blocks/footerNew/components/Legal/LegalEN.d.ts +2 -0
  13. package/dist/components/blocks/footerNew/components/Legal/index.d.ts +2 -0
  14. package/dist/components/blocks/footerNew/components/Navigation/Navigation.const.d.ts +54 -0
  15. package/dist/components/blocks/footerNew/components/Navigation/Navigation.d.ts +3 -0
  16. package/dist/components/blocks/footerNew/components/Navigation/Navigation.styled.d.ts +26 -0
  17. package/dist/components/blocks/footerNew/components/Navigation/Navigation.typed.d.ts +14 -0
  18. package/dist/components/blocks/footerNew/components/Navigation/NavigationDesktop.d.ts +12 -0
  19. package/dist/components/blocks/footerNew/components/Navigation/NavigationMobile.d.ts +12 -0
  20. package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.const.d.ts +91 -0
  21. package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.d.ts +2 -0
  22. package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.styled.d.ts +38 -0
  23. package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.typed.d.ts +25 -0
  24. package/dist/components/blocks/footerNew/components/SocialAndSupport/index.d.ts +1 -0
  25. package/dist/components/blocks/footerNew/constants.d.ts +23 -0
  26. package/dist/components/blocks/footerNew/footerNew.d.ts +10 -0
  27. package/dist/components/blocks/footerNew/footerNew.styled.d.ts +6 -0
  28. package/dist/components/blocks/footerNew/hooks/useAppBannerFooterInset.d.ts +4 -0
  29. package/dist/components/blocks/footerNew/index.d.ts +1 -0
  30. package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.d.ts +1 -1
  31. package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.styled.d.ts +1 -0
  32. package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.tyled.d.ts +2 -0
  33. package/dist/index.d.ts +1 -0
  34. package/dist/localization/translations/footer.d.ts +59 -0
  35. package/dist/profinansy-ui-lib.cjs +2584 -1398
  36. package/dist/profinansy-ui-lib.cjs.map +1 -1
  37. package/dist/profinansy-ui-lib.es.js +14141 -11765
  38. package/dist/profinansy-ui-lib.es.js.map +1 -1
  39. package/dist/theme/theme.const.d.ts +22 -0
  40. package/dist/urls/productsV2/club/club.d.ts +0 -7
  41. package/dist/urls/productsV2/courses/courses.d.ts +1 -1
  42. package/dist/urls/productsV2/courses/courses.sidebar.d.ts +25 -0
  43. package/dist/urls/productsV2/idv/idv.d.ts +18 -0
  44. package/dist/urls/productsV2/index.d.ts +4 -4
  45. package/dist/urls/productsV2/method/method.d.ts +26 -0
  46. package/dist/urls/productsV2/profile/profile.d.ts +27 -0
  47. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export { addQuizFunnelQueryToUrl, addQuizFunnelUlidToStart, buildQuizFunnelMessengerRedirectUrl, buildQuizFunnelMessengerRedirectUrls, buildQuizFunnelQueryString, buildQuizFunnelTelegramBaseUrl, buildQuizFunnelTelegramMaxRedirectUrl, buildQuizFunnelVkRedirectUrl, getQuizFunnelMessengerBaseUrls, getQuizFunnelMessengerUtmParams, getQuizFunnelQueryParams, getQuizFunnelQueryParamsWithoutUlid, getQuizFunnelTildaUtmSearch, appendQuizFunnelUtmTermToSearch } from './quizFunnel.messenger';
1
+ export { addQuizFunnelQueryToUrl, addQuizFunnelUlidToStart, buildQuizFunnelMessengerRedirectUrl, buildQuizFunnelMessengerRedirectUrls, buildQuizFunnelQueryString, buildQuizFunnelTelegramBaseUrl, buildQuizFunnelTelegramMaxRedirectUrl, buildQuizFunnelSalebotRedirectUrl, buildQuizFunnelVkRedirectUrl, isQuizFunnelSalebotMessengerUrl, getQuizFunnelMessengerBaseUrls, getQuizFunnelMessengerUtmParams, getQuizFunnelQueryParams, getQuizFunnelQueryParamsWithoutUlid, getQuizFunnelTildaUtmSearch, appendQuizFunnelUtmTermToSearch } from './quizFunnel.messenger';
2
2
  export type { IBuildQuizFunnelMessengerRedirectOptions, TQuizFunnelMessengerTarget } from './quizFunnel.messenger';
3
3
  export { buildQuizFunnelTelegramDeepLink, buildQuizFunnelTildaContactQuery, buildQuizFunnelTildaSaveContactUrl, saveQuizFunnelTildaContact } from './quizFunnel.tilda';
4
4
  export { resolveQuizTargetFunnel, QUIZ_TARGET_FUNNELS } from './QuizFunnel.funnels';
@@ -20,9 +20,12 @@ export declare const addQuizFunnelQueryToUrl: (url: string, query: string) => st
20
20
  */
21
21
  export declare const addQuizFunnelUlidToStart: (url: string, ulid: string) => string;
22
22
  /**
23
- * VK (Salebot): utm_source=quiz, utm_term=quiz1, ulid → utm_medium.
24
- * Пример: …_0?utm_source=quiz&utm_medium={ulid}&utm_term=quiz1
23
+ * Salebot: utm_source=quiz, utm_term=quiz1, ulid → utm_medium.
24
+ * Пример: …_1?utm_source=quiz&utm_medium={ulid}&utm_term=quiz1
25
25
  */
26
+ export declare const isQuizFunnelSalebotMessengerUrl: (url: string) => boolean;
27
+ export declare const buildQuizFunnelSalebotRedirectUrl: (baseUrl: string, params: Record<string, string>) => string;
28
+ /** @deprecated используйте buildQuizFunnelSalebotRedirectUrl */
26
29
  export declare const buildQuizFunnelVkRedirectUrl: (baseUrl: string, params: Record<string, string>) => string;
27
30
  export declare const buildQuizFunnelTelegramMaxRedirectUrl: (baseUrl: string, params: Record<string, string>) => string;
28
31
  export interface IBuildQuizFunnelMessengerRedirectOptions {
@@ -0,0 +1,119 @@
1
+ /** Перелом tablet-layout баннера (колонка, компактные карточки) */
2
+ export declare const APP_BANNER_TABLET_BREAKPOINT = 1000;
3
+ /** Насколько баннер выступает над футером (desktop / tablet / mobile) */
4
+ export declare const APP_BANNER_OVERHANG = 158;
5
+ /** Размеры по макету — один объект вместо десятков отдельных констант */
6
+ export declare const APP_PROMOTION_LAYOUT: {
7
+ readonly fluidBreakpoint: 1440;
8
+ readonly container: {
9
+ readonly paddingX: 12;
10
+ };
11
+ readonly desktop: {
12
+ readonly panel: {
13
+ readonly maxWidth: 1416;
14
+ readonly gap: 127;
15
+ readonly paddingX: 54;
16
+ readonly height: 318;
17
+ readonly borderRadius: 28;
18
+ };
19
+ readonly intro: {
20
+ readonly maxWidth: 353;
21
+ readonly gap: 18;
22
+ };
23
+ readonly subtitle: {
24
+ readonly maxWidth: 329;
25
+ };
26
+ readonly cards: {
27
+ readonly maxWidth: 828;
28
+ readonly gap: 28;
29
+ readonly cardHeight: 255;
30
+ };
31
+ readonly icon: {
32
+ readonly size: 105;
33
+ readonly markSize: 83;
34
+ readonly borderRadius: 26.66;
35
+ };
36
+ };
37
+ readonly tablet: {
38
+ readonly sectionPaddingX: 16;
39
+ readonly panel: {
40
+ readonly maxWidth: 928;
41
+ readonly paddingY: 32;
42
+ readonly paddingX: 20;
43
+ readonly gap: 22;
44
+ readonly borderRadius: 20;
45
+ readonly height: 360;
46
+ };
47
+ readonly intro: {
48
+ readonly maxWidth: 460;
49
+ readonly gap: 12;
50
+ };
51
+ readonly cards: {
52
+ readonly height: 170;
53
+ readonly gap: 8;
54
+ };
55
+ readonly icon: {
56
+ readonly size: 80;
57
+ readonly markSize: 62.656;
58
+ readonly borderRadius: 20.482;
59
+ };
60
+ };
61
+ readonly mobile: {
62
+ readonly panel: {
63
+ readonly paddingY: 32;
64
+ readonly paddingX: 20;
65
+ readonly gap: 20;
66
+ readonly borderRadius: 20;
67
+ };
68
+ readonly intro: {
69
+ readonly maxWidth: 320;
70
+ readonly gap: 12;
71
+ };
72
+ readonly cards: {
73
+ readonly gap: 8;
74
+ readonly innerGap: 16;
75
+ };
76
+ readonly card: {
77
+ readonly paddingY: 44;
78
+ readonly innerGap: 16;
79
+ readonly ctaHeight: 20;
80
+ };
81
+ readonly icon: {
82
+ readonly size: 60;
83
+ readonly borderRadius: 15.361;
84
+ readonly markSize: 46.992;
85
+ readonly clubMarkWidth: 49.438;
86
+ readonly clubMarkHeight: 50.432;
87
+ };
88
+ /** Запас под переносы текста intro на узком экране (для inset футера) */
89
+ readonly introHeightEstimate: 220;
90
+ };
91
+ };
92
+ export declare const APP_ICON_BG: {
93
+ readonly profinansy: "https://storage.yandexcloud.net/public-files.profinansy.ru/images/Bg_app_Main.png";
94
+ readonly proclub: "https://storage.yandexcloud.net/public-files.profinansy.ru/images/Bg_app_Club.png";
95
+ };
96
+ /** Высота panel и inset футера — fallback до измерения ResizeObserver */
97
+ export declare const APP_BANNER_HEIGHT_DESKTOP: 318;
98
+ export declare const APP_BANNER_HEIGHT_TABLET: 360;
99
+ export declare const APP_BANNER_HEIGHT_MOBILE: number;
100
+ export declare const getAppBannerFooterInset: (bannerHeight: number) => number;
101
+ export declare const APP_BANNER_FOOTER_INSET_DESKTOP: number;
102
+ export declare const APP_BANNER_FOOTER_INSET_TABLET: number;
103
+ export declare const APP_BANNER_FOOTER_INSET_MOBILE: number;
104
+ /** @deprecated используй APP_BANNER_OVERHANG */
105
+ export declare const APP_BANNER_OVERHANG_DESKTOP = 158;
106
+ export type TAppPromotionCardId = 'profinansy' | 'proclub';
107
+ export declare const APP_PROMOTION_CARDS: ({
108
+ id: "profinansy";
109
+ altKey: "app_profinansy_alt";
110
+ descriptionKey: "app_profinansy_description";
111
+ ctaKey: "app_profinansy_cta";
112
+ href: string;
113
+ } | {
114
+ id: "proclub";
115
+ altKey: "app_proclub_alt";
116
+ descriptionKey: "app_proclub_description";
117
+ ctaKey: "app_proclub_cta";
118
+ href: string;
119
+ })[];
@@ -0,0 +1,5 @@
1
+ interface IAppPromotionProps {
2
+ onBannerHeightChange?: (height: number) => void;
3
+ }
4
+ declare const AppPromotion: ({ onBannerHeightChange }: IAppPromotionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export { AppPromotion };
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
3
+ export declare const Panel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ export declare const Intro: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
6
+ export declare const Subtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
7
+ export declare const Cards: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
9
+ export declare const AppIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
10
+ $variant: 'profinansy' | 'proclub';
11
+ }>> & string;
12
+ export declare const AppIconMark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
13
+ $variant: 'profinansy' | 'proclub';
14
+ }>> & string;
15
+ export declare const CardContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
+ export declare const Description: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
17
+ export declare const Cta: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
18
+ export declare const CtaText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
19
+ export declare const CtaIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1 @@
1
+ export { AppPromotion } from './AppPromotion';
@@ -0,0 +1,2 @@
1
+ declare const FooterThemeToggle: () => import("react/jsx-runtime").JSX.Element;
2
+ export { FooterThemeToggle };
@@ -0,0 +1,128 @@
1
+ import { ICompanyData, ILegalLink } from './Legal.typed';
2
+ /** Размеры и отступы Legal — один объект */
3
+ export declare const LEGAL_LAYOUT: {
4
+ readonly breakpoints: {
5
+ readonly stack: 960;
6
+ readonly compact: 600;
7
+ readonly themeToggleHideMax: 1000;
8
+ readonly themeToggleDesktopMin: number;
9
+ };
10
+ readonly themeToggle: {
11
+ readonly iconGap: 8;
12
+ readonly iconSize: 16;
13
+ readonly label: {
14
+ readonly fontSize: 14;
15
+ readonly fontWeight: 500;
16
+ readonly lineHeight: 18;
17
+ };
18
+ };
19
+ readonly desktop: {
20
+ readonly section: {
21
+ readonly paddingX: 12;
22
+ readonly paddingBottom: 32;
23
+ };
24
+ readonly grid: {
25
+ readonly columnGap: 120;
26
+ readonly sidebarMin: 280;
27
+ readonly sidebarMax: 400;
28
+ };
29
+ readonly companyName: {
30
+ readonly fontSize: 20;
31
+ readonly fontWeight: 500;
32
+ readonly lineHeight: 22;
33
+ readonly marginBottom: 12;
34
+ };
35
+ readonly address: {
36
+ readonly fontSize: 14;
37
+ readonly fontWeight: 400;
38
+ readonly lineHeight: 18;
39
+ readonly marginBottom: 16;
40
+ readonly maxWidth: 499;
41
+ readonly maxWidthMafk: 540;
42
+ };
43
+ readonly requisites: {
44
+ readonly fontSize: 12;
45
+ readonly fontWeight: 400;
46
+ readonly lineHeight: 15;
47
+ readonly marginBottom: 30;
48
+ };
49
+ readonly documentText: {
50
+ readonly fontSize: 11;
51
+ readonly fontWeight: 400;
52
+ readonly lineHeight: 14;
53
+ readonly marginBottom: 9;
54
+ readonly maxWidth: 960;
55
+ };
56
+ readonly disclaimer: {
57
+ readonly fontSize: 11;
58
+ readonly fontWeight: 400;
59
+ readonly lineHeight: 14;
60
+ readonly maxWidth: 922;
61
+ };
62
+ readonly link: {
63
+ readonly fontSize: 12;
64
+ readonly fontWeight: 400;
65
+ readonly lineHeight: 15;
66
+ readonly gap: 8;
67
+ readonly gapBeforeCertificates: 16;
68
+ };
69
+ readonly sidebar: {
70
+ readonly controlsGap: 12;
71
+ };
72
+ };
73
+ readonly mobile: {
74
+ readonly section: {
75
+ readonly paddingX: 16;
76
+ readonly paddingBottom: 32;
77
+ };
78
+ readonly grid: {
79
+ readonly contentToLinksGap: 24;
80
+ };
81
+ readonly address: {
82
+ readonly maxWidth: "none";
83
+ };
84
+ readonly requisites: {
85
+ readonly marginBottom: 24;
86
+ };
87
+ readonly documentText: {
88
+ readonly maxWidth: "none";
89
+ readonly marginBottom: 9;
90
+ readonly marginBottomLast: 10;
91
+ };
92
+ readonly disclaimer: {
93
+ readonly maxWidth: "none";
94
+ };
95
+ readonly link: {
96
+ readonly gap: 4;
97
+ readonly gapBeforeCertificates: 10;
98
+ };
99
+ };
100
+ readonly compact: {
101
+ readonly section: {
102
+ readonly paddingX: 16;
103
+ readonly paddingBottom: 32;
104
+ };
105
+ readonly grid: {
106
+ readonly contentToLinksGap: 12;
107
+ };
108
+ readonly address: {
109
+ readonly marginBottom: 16;
110
+ };
111
+ readonly requisites: {
112
+ readonly marginBottom: 20;
113
+ };
114
+ readonly documentText: {
115
+ readonly marginBottom: 9;
116
+ readonly marginBottomLast: 12;
117
+ };
118
+ readonly link: {
119
+ readonly gap: 4;
120
+ readonly gapBeforeCertificates: 14;
121
+ };
122
+ };
123
+ };
124
+ export declare const COMPANY_ADDRESS: Record<'mafk' | 'profinansy', ICompanyData>;
125
+ export declare const getDocumentTexts: (isMAFK: boolean) => string[];
126
+ export declare const getPrivacyLinks: (isMAFK: boolean, hostname: string) => ILegalLink[];
127
+ export declare const getDocumentLinks: (isMAFK: boolean, hostname: string) => ILegalLink[];
128
+ export declare const getLegalLinks: (isMAFK: boolean, hostname: string) => ILegalLink[];
@@ -0,0 +1,3 @@
1
+ import { ILegalProps } from './Legal.typed';
2
+ declare const Legal: ({ isMAFK, isIdv, hostname }: ILegalProps) => import("react/jsx-runtime").JSX.Element;
3
+ export { Legal };
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {
3
+ $isIdv: boolean;
4
+ }>> & string;
5
+ export declare const Layout: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
+ export declare const MainContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
+ export declare const CompanyName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
8
+ export declare const Address: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ $isMAFK: boolean;
10
+ }>> & string;
11
+ export declare const CompanyDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
+ export declare const EmailLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
13
+ export declare const DocumentText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {
14
+ $isLast?: boolean;
15
+ }>> & string;
16
+ export declare const Disclaimer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
17
+ export declare const Sidebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
18
+ export declare const Controls: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
19
+ export declare const ThemeToggleSlot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
20
+ export declare const LinksList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
+ export declare const Link: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
22
+ $marginTopDesktop: number;
23
+ $marginTopMobile: number;
24
+ $marginTopCompact: number;
25
+ }>> & string;
@@ -0,0 +1,25 @@
1
+ export interface ILegalProps {
2
+ isMAFK: boolean;
3
+ isIdv: boolean;
4
+ hostname: string;
5
+ }
6
+ export interface ILegalLink {
7
+ label: string;
8
+ href: string;
9
+ isCertificate?: boolean;
10
+ }
11
+ export interface ICompanyData {
12
+ name: string;
13
+ address: string;
14
+ ogrn: string;
15
+ inn: string;
16
+ kpp: string;
17
+ okvd: string;
18
+ ras_account: string;
19
+ kor_account: string;
20
+ bik: string;
21
+ bank_name: string;
22
+ email: string;
23
+ activity_code: string;
24
+ prog_lang: string;
25
+ }
@@ -0,0 +1,2 @@
1
+ declare const LegalEN: () => import("react/jsx-runtime").JSX.Element;
2
+ export { LegalEN };
@@ -0,0 +1,2 @@
1
+ export { Legal } from './Legal';
2
+ export { LegalEN } from './LegalEN';
@@ -0,0 +1,54 @@
1
+ import { IFooterAboutLink } from './Navigation.typed';
2
+ /** Размеры и отступы Navigation — один объект */
3
+ export declare const NAVIGATION_LAYOUT: {
4
+ readonly breakpoints: {
5
+ readonly columnGapNarrow: 1200;
6
+ readonly tablet: 1000;
7
+ readonly mobileAccordion: 960;
8
+ };
9
+ readonly desktop: {
10
+ readonly section: {
11
+ readonly paddingTop: 43;
12
+ readonly paddingX: 12;
13
+ readonly paddingBottom: 48;
14
+ };
15
+ readonly grid: {
16
+ readonly columnGap: 60;
17
+ readonly narrowColumnGap: 20;
18
+ };
19
+ readonly list: {
20
+ readonly headerToSubGap: 16;
21
+ readonly subLinkGap: 10;
22
+ readonly blockGap: 32;
23
+ };
24
+ readonly mainLink: {
25
+ readonly paddingY: 0;
26
+ readonly fontSize: 15;
27
+ readonly fontWeight: 600;
28
+ readonly lineHeight: 20;
29
+ readonly iconGap: 4;
30
+ readonly iconSize: 16;
31
+ };
32
+ readonly subLink: {
33
+ readonly fontSize: 14;
34
+ readonly fontWeight: 500;
35
+ readonly lineHeight: 18;
36
+ };
37
+ };
38
+ readonly mobile: {
39
+ readonly section: {
40
+ readonly paddingX: 16;
41
+ readonly paddingTop: 0;
42
+ readonly paddingBottom: 28;
43
+ };
44
+ readonly accordion: {
45
+ readonly dividerGap: 12;
46
+ readonly headerToSubGap: 12;
47
+ readonly subLinkGap: 10;
48
+ readonly divider: "rgba(255, 255, 255, 0.08)";
49
+ };
50
+ };
51
+ };
52
+ export declare const NAVIGATION_COLUMN_GAP_NARROW_BREAKPOINT: 1200;
53
+ export declare const FOOTER_ABOUT_LINKS: IFooterAboutLink[];
54
+ export declare const getFooterAboutLinks: (hostname: string, isGuest: boolean, isEmployee: boolean) => IFooterAboutLink[];
@@ -0,0 +1,3 @@
1
+ import { INavigationProps } from './Navigation.typed';
2
+ declare const Navigation: ({ hostname, userRole, leaderboardPermission, onRouteChange, showAboutLinks, aboutLinks }: INavigationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export { Navigation };
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export declare const MainLinkArrow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
3
+ export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
4
+ export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const DesktopGrid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
6
+ export declare const Column: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
+ export declare const List: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
8
+ export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
9
+ export declare const MainLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
10
+ export declare const MainLinkTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
+ export declare const SubLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
12
+ export declare const ExternalSubLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
13
+ export declare const MobileAccordion: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
+ export declare const AccordionItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
+ export declare const AccordionHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
16
+ $isOpen: boolean;
17
+ }>> & string;
18
+ export declare const AccordionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
19
+ export declare const AccordionArrow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
20
+ $isOpen: boolean;
21
+ }>> & string;
22
+ export declare const AccordionContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
23
+ $isOpen: boolean;
24
+ }>> & string;
25
+ export declare const AccordionSubLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
26
+ export declare const AccordionExternalLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
@@ -0,0 +1,14 @@
1
+ import { UserRole } from '../../../../../common.types';
2
+ export interface INavigationProps {
3
+ userRole: UserRole;
4
+ leaderboardPermission: boolean;
5
+ hostname: string;
6
+ onRouteChange?: (url: string) => void;
7
+ showAboutLinks?: boolean;
8
+ aboutLinks?: IFooterAboutLink[];
9
+ }
10
+ export interface IFooterAboutLink {
11
+ name: keyof (typeof import('../../../../../localization/translations/urls'))['Urls_translations']['ru'];
12
+ href: string;
13
+ isNotVisible?: boolean;
14
+ }
@@ -0,0 +1,12 @@
1
+ import { HeaderLinkType } from '../../../../../common.types';
2
+ import { Locales } from '../../../../../common.types';
3
+ import { IFooterAboutLink } from './Navigation.typed';
4
+ interface INavigationDesktopProps {
5
+ footerNavRows: HeaderLinkType[][];
6
+ locale: Locales;
7
+ showAboutLinks: boolean;
8
+ aboutLinks: IFooterAboutLink[];
9
+ onNavigate: (url: string) => void;
10
+ }
11
+ declare const NavigationDesktop: ({ footerNavRows, locale, showAboutLinks, aboutLinks, onNavigate }: INavigationDesktopProps) => import("react/jsx-runtime").JSX.Element;
12
+ export { NavigationDesktop };
@@ -0,0 +1,12 @@
1
+ import { HeaderLinkType } from '../../../../../common.types';
2
+ import { Locales } from '../../../../../common.types';
3
+ import { IFooterAboutLink } from './Navigation.typed';
4
+ interface INavigationMobileProps {
5
+ footerNavRows: HeaderLinkType[][];
6
+ locale: Locales;
7
+ showAboutLinks: boolean;
8
+ aboutLinks: IFooterAboutLink[];
9
+ onNavigate: (url: string) => void;
10
+ }
11
+ declare const NavigationMobile: ({ footerNavRows, locale, showAboutLinks, aboutLinks, onNavigate }: INavigationMobileProps) => import("react/jsx-runtime").JSX.Element;
12
+ export { NavigationMobile };
@@ -0,0 +1,91 @@
1
+ import { IContactColumn } from './SocialAndSupport.typed';
2
+ import { TContactIconType } from './SocialAndSupport.typed';
3
+ /** TODO: заменить на актуальную ссылку, когда пришлют */
4
+ export declare const SOCIAL_SUPPORT_PLACEHOLDER_HREF = "#";
5
+ /** Размеры и отступы SocialAndSupport — один объект вместо десятков констант */
6
+ export declare const SOCIAL_SUPPORT_LAYOUT: {
7
+ readonly breakpoints: {
8
+ readonly tablet: 1000;
9
+ readonly tabletNarrow: 940;
10
+ readonly preMobile: 675;
11
+ readonly desktopNarrow: 1280;
12
+ };
13
+ readonly desktop: {
14
+ readonly section: {
15
+ readonly paddingTop: 50;
16
+ readonly paddingX: 12;
17
+ readonly paddingBottom: 60;
18
+ };
19
+ readonly grid: {
20
+ readonly gap: 24;
21
+ readonly narrowColumnGap: 16;
22
+ };
23
+ readonly social: {
24
+ readonly columnGap: 16;
25
+ };
26
+ readonly support: {
27
+ readonly columnGap: 24;
28
+ readonly columnMaxWidth: 166;
29
+ readonly contactGroupGap: 12;
30
+ readonly linksBlockGap: 8;
31
+ readonly linksBlockMaxWidth: 143;
32
+ };
33
+ readonly managers: {
34
+ readonly columnGap: 12;
35
+ };
36
+ };
37
+ readonly tablet: {
38
+ readonly section: {
39
+ readonly paddingTop: 44;
40
+ readonly paddingX: 16;
41
+ readonly paddingBottom: 40;
42
+ };
43
+ readonly grid: {
44
+ readonly rowGap: 32;
45
+ readonly columnGap: 24;
46
+ };
47
+ readonly linksBlockGap: 12;
48
+ };
49
+ readonly preMobile: {
50
+ readonly gogaladzeFr: 1.06;
51
+ readonly managersFr: 0.97;
52
+ };
53
+ readonly mobile: {
54
+ readonly section: {
55
+ readonly paddingX: 16;
56
+ readonly paddingBottom: 38;
57
+ readonly gogaladzePaddingTop: 28;
58
+ };
59
+ readonly sectionGap: 28;
60
+ readonly columnGap: 12;
61
+ readonly supportTitleGap: 16;
62
+ readonly supportRowGap: 35;
63
+ };
64
+ readonly icons: {
65
+ readonly hoverScale: 1.08;
66
+ readonly social: {
67
+ readonly buttonSize: 44;
68
+ readonly gogaladzeGap: 7;
69
+ readonly defaultGap: 12;
70
+ };
71
+ readonly support: {
72
+ readonly buttonSize: 40;
73
+ readonly gap: 12;
74
+ };
75
+ };
76
+ };
77
+ export declare const SOCIAL_ICON_SIZES: Record<TContactIconType, {
78
+ width: number;
79
+ height: number;
80
+ }>;
81
+ export declare const COMPACT_ICON_SIZES: Record<TContactIconType, {
82
+ width: number;
83
+ height: number;
84
+ }>;
85
+ /** 4×44 + 3×7 — минимальная ширина ряда иконок Гогаладзе (pre-mobile grid) */
86
+ export declare const SOCIAL_SUPPORT_GOGALADZE_ICONS_ROW_WIDTH: number;
87
+ /** Для Legal, tsx и обратной совместимости */
88
+ export declare const SOCIAL_SUPPORT_TABLET_BREAKPOINT: 1000;
89
+ export declare const SOCIAL_ICONS_GAP: 7;
90
+ export declare const COMPACT_ICONS_GAP: 12;
91
+ export declare const SOCIAL_AND_SUPPORT_COLUMNS: IContactColumn[];
@@ -0,0 +1,2 @@
1
+ declare const SocialAndSupport: () => import("react/jsx-runtime").JSX.Element;
2
+ export { SocialAndSupport };