@scbt-ecom/ui 0.14.1 → 0.15.1
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/client.js +7041 -7026
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +453 -419
- package/dist/hybrid.js.map +1 -1
- package/dist/{index-BJGvyDqg.js → index-CexXWplL.js} +22 -2
- package/dist/index-CexXWplL.js.map +1 -0
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/useFieldsProgress.d.ts +14 -0
- package/dist/shared/ui/CustomLink.d.ts +7 -2
- package/dist/shared/ui/Ligal.d.ts +12 -0
- package/dist/shared/ui/icon/sprite.gen.d.ts +1 -0
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/sprites/logos.svg +1 -0
- package/dist/style.css +1 -1
- package/dist/widgets/authProvider/AuthProvider.d.ts +3 -0
- package/dist/widgets/authProvider/index.d.ts +2 -0
- package/dist/widgets/authProvider/model/helpers.d.ts +5 -0
- package/dist/widgets/authProvider/model/types.d.ts +75 -0
- package/dist/widgets/authProvider/ui/Esia.d.ts +2 -0
- package/dist/widgets/authProvider/ui/MobileId.d.ts +2 -0
- package/dist/widgets/authProvider/ui/index.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +2 -0
- package/dist/widgets/authProvider/ui/ui/Links.d.ts +11 -0
- package/dist/widgets/authProvider/ui/ui/index.d.ts +3 -0
- package/dist/widgets/baseForm/BaseForm.d.ts +3 -0
- package/dist/widgets/baseForm/index.d.ts +1 -0
- package/dist/widgets/footer/Footer.d.ts +16 -15
- package/dist/widgets/footer/model/defaultValues.d.ts +0 -1
- package/dist/widgets/footer/ui/Copyright.d.ts +4 -3
- package/dist/widgets/footer/ui/FooterLogo.d.ts +8 -0
- package/dist/widgets/footer/ui/NavLinks.d.ts +7 -6
- package/dist/widgets/footer/ui/PhonesBlock.d.ts +5 -5
- package/dist/widgets/footer/ui/SiteMap.d.ts +8 -0
- package/dist/widgets/footer/ui/SocialLinks.d.ts +4 -4
- package/dist/widgets/footer/ui/index.d.ts +7 -5
- package/dist/widgets/index.d.ts +9 -7
- package/package.json +1 -1
- package/dist/index-BJGvyDqg.js.map +0 -1
- package/dist/widgets/footer/ui/Ligal.d.ts +0 -12
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { IFooterNavLinks, IFooterPhones, IFooterSocialLinks } from './model/types';
|
|
2
|
-
import { TCopyrightClasses,
|
|
2
|
+
import { TCopyrightClasses, TFooterLogoClasses, TNavigationLinksClasses, TPhoneBlockClasses, TSiteMapClasses, TSocialLinksClasses } from './ui';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
type
|
|
5
|
-
section: string;
|
|
6
|
-
container: string;
|
|
7
|
-
footerRoot: string;
|
|
8
|
-
footerHead: string;
|
|
9
|
-
footerSocialBlock: string;
|
|
10
|
-
footerLogo: string;
|
|
11
|
-
};
|
|
12
|
-
export interface IFooterProps {
|
|
13
|
-
classes?: Partial<IFooterClasses>;
|
|
4
|
+
type TFooterRenderBlocks = {
|
|
14
5
|
withSocial?: boolean;
|
|
15
6
|
withPhones?: boolean;
|
|
16
7
|
withNavLinks?: boolean;
|
|
17
|
-
withLigal?: boolean;
|
|
18
8
|
withCopyright?: boolean;
|
|
19
9
|
withSiteMap?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type TFooterClasses = TSiteMapClasses & TFooterLogoClasses & TNavigationLinksClasses & TPhoneBlockClasses & TSocialLinksClasses & TCopyrightClasses & {
|
|
12
|
+
root?: string;
|
|
13
|
+
footerContainer?: string;
|
|
14
|
+
footerWrapper?: string;
|
|
15
|
+
footerHead?: string;
|
|
16
|
+
footerSocialBlock?: string;
|
|
17
|
+
};
|
|
18
|
+
export interface IFooterProps {
|
|
19
|
+
classes?: TFooterClasses;
|
|
20
|
+
renderBlocks?: TFooterRenderBlocks;
|
|
20
21
|
socialsLinks?: IFooterSocialLinks[];
|
|
21
22
|
phones?: IFooterPhones[];
|
|
22
|
-
navigationLinks
|
|
23
|
-
ligal
|
|
23
|
+
navigationLinks?: IFooterNavLinks[];
|
|
24
|
+
ligal?: string | React.ReactElement;
|
|
24
25
|
copyright?: string | React.ReactElement;
|
|
25
26
|
}
|
|
26
|
-
export declare const Footer: ({ withSocial, withPhones, withNavLinks,
|
|
27
|
+
export declare const Footer: ({ renderBlocks: { withSocial, withPhones, withNavLinks, withCopyright, withSiteMap }, socialsLinks, phones, navigationLinks, ligal, copyright, classes }: IFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
28
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IFooterNavLinks, IFooterPhones, IFooterSocialLinks } from './types';
|
|
2
2
|
export declare const defaultCopyright: import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const defaultLigal = "\u041A\u0440\u0435\u0434\u0438\u0442 \u043D\u0430 \u0431\u0438\u0437\u043D\u0435\u0441 \u0446\u0435\u043B\u0438, \u0441\u0440\u043E\u043A 3, 6, 9, 12, 18, 24, 36, 48, 60 \u043C\u0435\u0441. \u0421\u0442\u0430\u0432\u043A\u0430 \u2013 \u043E\u0442 22,9%*. *\u0422\u043E\u0447\u043D\u0430\u044F \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430\n \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u043E \u0441\u043E\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u044E \u0441\u0442\u043E\u0440\u043E\u043D \u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F \u0438\u0441\u0445\u043E\u0434\u044F \u0438\u0437 \u043F\u043B\u0430\u0442\u0451\u0436\u0435\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043B\u0438\u0435\u043D\u0442\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435\n \u0438\u043D\u044B\u0445 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0441\u043E\u0431\u0435\u043D\u043D\u043E\u0441\u0442\u0435\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \u0421\u0443\u043C\u043C\u0430 100 000 \u2013 50 000 000 \u0440\u0443\u0431. \u041A\u0440\u0435\u0434\u0438\u0442 \u0432\u044B\u0434\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u043A\u0430\u0440\u0442\u0443 \u201C\u0425\u0430\u043B\u0432\u0430\u201D, \u043E\u0442\u043A\u0440\u044B\u0442\u044B\u0439 \u0432\n \u0411\u0430\u043D\u043A\u0435. \u0411\u0430\u043D\u043A \u0432\u043F\u0440\u0430\u0432\u0435 \u043E\u0442\u043A\u0430\u0437\u0430\u0442\u044C \u0432 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u0430 \u0431\u0435\u0437 \u043E\u0431\u044A\u044F\u0441\u043D\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u0447\u0438\u043D\u044B, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E\n \u043A\u043B\u0438\u0435\u043D\u0442\u0435. \u041F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u0435 \u043D\u0435 \u0432\u043B\u0435\u0447\u0435\u0442 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u0441\u0442\u0432 \u0411\u0430\u043D\u043A\u0430 \u043F\u043E \u0432\u044B\u0434\u0430\u0447\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0430. \u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0441\u0440\u043E\u043A \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u044F\n \u0437\u0430\u044F\u0432\u043A\u0438 \u043C\u043E\u0436\u0435\u0442 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0434\u043E 3 \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u0434\u043D\u0435\u0439. \u041F\u043E\u043B\u043D\u044B\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043E\u0431\u043E\u0440\u043E\u0442 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u043E\u0433\u043E \u0440/\u0441 \u0432 \u041F\u0410\u041E \u00AB\u0421\u043E\u0432\u043A\u043E\u043C\u0431\u0430\u043D\u043A\u00BB\n \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0449\u0435\u0439 \u042D\u0426\u041F. \u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0440\u0435\u043A\u043B\u0430\u043C\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B \u043D\u0430 20.02.2024\u0433.";
|
|
4
3
|
export declare const defaultPhones: IFooterPhones[];
|
|
5
4
|
export declare const defaultSocialsLinks: IFooterSocialLinks[];
|
|
6
5
|
export declare const defaultNavigationLinks: IFooterNavLinks[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type TCopyrightClasses = {
|
|
3
|
-
|
|
3
|
+
copyRight?: string;
|
|
4
4
|
};
|
|
5
5
|
interface ICopyrightProps {
|
|
6
6
|
text?: string | React.ReactElement;
|
|
7
|
-
classes?:
|
|
7
|
+
classes?: TCopyrightClasses;
|
|
8
|
+
withSiteMap?: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare const Copyright: ({ text, classes }: ICopyrightProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Copyright: ({ text, classes, withSiteMap }: ICopyrightProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type TFooterLogoClasses = {
|
|
2
|
+
footerLogo?: string;
|
|
3
|
+
footerLogoIcon?: string;
|
|
4
|
+
};
|
|
5
|
+
export interface IFooterLogoProps {
|
|
6
|
+
classes?: TFooterLogoClasses;
|
|
7
|
+
}
|
|
8
|
+
export declare const FooterLogo: ({ classes }: IFooterLogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { IFooterNavLinks } from '../model/types';
|
|
2
2
|
export type TNavigationLinksClasses = {
|
|
3
|
-
navRoot
|
|
4
|
-
navGroup
|
|
5
|
-
navLabel
|
|
6
|
-
|
|
7
|
-
navLink
|
|
3
|
+
navRoot?: string;
|
|
4
|
+
navGroup?: string;
|
|
5
|
+
navLabel?: string;
|
|
6
|
+
navLinks?: string;
|
|
7
|
+
navLink?: string;
|
|
8
|
+
navLinkIcon?: string;
|
|
8
9
|
};
|
|
9
10
|
interface INavLinksProps {
|
|
10
11
|
navigationLinks: IFooterNavLinks[];
|
|
11
|
-
classes?:
|
|
12
|
+
classes?: TNavigationLinksClasses;
|
|
12
13
|
}
|
|
13
14
|
export declare const NavLinks: ({ navigationLinks, classes }: INavLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { IFooterPhones } from '../model/types';
|
|
2
2
|
export type TPhoneBlockClasses = {
|
|
3
|
-
phonesRoot
|
|
4
|
-
phoneWrapper
|
|
5
|
-
phoneText
|
|
6
|
-
phoneLink
|
|
3
|
+
phonesRoot?: string;
|
|
4
|
+
phoneWrapper?: string;
|
|
5
|
+
phoneText?: string;
|
|
6
|
+
phoneLink?: string;
|
|
7
7
|
};
|
|
8
8
|
interface IPhonesBlockProps {
|
|
9
9
|
phones: IFooterPhones[];
|
|
10
|
-
classes?:
|
|
10
|
+
classes?: TPhoneBlockClasses;
|
|
11
11
|
}
|
|
12
12
|
export declare const PhonesBlock: ({ phones, classes }: IPhonesBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IFooterSocialLinks } from '../model/types';
|
|
2
2
|
export type TSocialLinksClasses = {
|
|
3
|
-
socialRoot
|
|
4
|
-
socialLink
|
|
5
|
-
socialIcon
|
|
3
|
+
socialRoot?: string;
|
|
4
|
+
socialLink?: string;
|
|
5
|
+
socialIcon?: string;
|
|
6
6
|
};
|
|
7
7
|
interface ISocialLinksProps {
|
|
8
8
|
socialsLinks: IFooterSocialLinks[];
|
|
9
|
-
classes?:
|
|
9
|
+
classes?: TSocialLinksClasses;
|
|
10
10
|
}
|
|
11
11
|
export declare const SocialLinks: ({ socialsLinks, classes }: ISocialLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export * from './SocialLinks';
|
|
2
|
+
export * from './PhonesBlock';
|
|
3
|
+
export * from './NavLinks';
|
|
4
|
+
export * from '../../../shared/ui/Ligal';
|
|
5
|
+
export * from './Copyright';
|
|
6
|
+
export * from './FooterLogo';
|
|
7
|
+
export * from './SiteMap';
|
package/dist/widgets/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
1
|
+
export * from './benefit';
|
|
2
|
+
export * from './pageHeader';
|
|
3
|
+
export * from './banner';
|
|
4
|
+
export * from './advantages';
|
|
5
|
+
export * from './footer';
|
|
6
|
+
export * from './stepper';
|
|
7
|
+
export * from './longBanner';
|
|
8
|
+
export * from './baseForm';
|
|
9
|
+
export * from './authProvider';
|