@alfalab/core-components-confirmation 12.3.3 → 12.3.4
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/{component-c18159ad.d.ts → component-ad8387ce.d.ts} +0 -0
- package/{component-c18159ad.js → component-ad8387ce.js} +2 -2
- package/component.desktop.js +2 -2
- package/component.mobile.js +3 -3
- package/component.responsive.js +2 -2
- package/components/base-confirmation/component.js +2 -2
- package/components/base-confirmation/index.css +2 -8
- package/components/base-confirmation/index.d.ts +1 -1
- package/components/base-confirmation/index.js +2 -2
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -2
- package/components/header/component.js +1 -1
- package/components/header/index.css +4 -4
- package/components/index.js +1 -1
- package/components/screens/fatal-error/component.js +1 -1
- package/components/screens/fatal-error/index.css +10 -5
- package/components/screens/hint/component.js +16 -17
- package/components/screens/hint/index.css +15 -14
- package/components/screens/index.js +1 -1
- package/components/screens/initial/component.js +1 -1
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +18 -18
- package/components/screens/initial/index.js +1 -1
- package/components/screens/temp-block/component.js +3 -3
- package/components/screens/temp-block/index.css +13 -5
- package/{countdown-section-fa5d99c6.d.ts → countdown-section-f4894842.d.ts} +0 -0
- package/countdown-section-f4894842.js +49 -0
- package/cssm/{component-cbe72bf1.d.ts → component-5a4af768.d.ts} +0 -0
- package/cssm/{component-cbe72bf1.js → component-5a4af768.js} +1 -1
- package/cssm/component.desktop.js +1 -1
- package/cssm/component.mobile.js +1 -1
- package/cssm/component.responsive.js +1 -1
- package/cssm/components/base-confirmation/component.js +1 -1
- package/cssm/components/base-confirmation/index.d.ts +1 -1
- package/cssm/components/base-confirmation/index.js +1 -1
- package/cssm/components/base-confirmation/index.module.css +0 -6
- package/cssm/components/header/index.module.css +3 -3
- package/cssm/components/screens/fatal-error/index.module.css +6 -1
- package/cssm/components/screens/hint/component.js +15 -16
- package/cssm/components/screens/hint/index.module.css +9 -8
- package/cssm/components/screens/initial/countdown-section.js +19 -26
- package/cssm/components/screens/initial/index.module.css +5 -5
- package/cssm/components/screens/temp-block/component.js +2 -2
- package/cssm/components/screens/temp-block/index.module.css +10 -2
- package/cssm/desktop.js +1 -1
- package/cssm/index.js +1 -1
- package/cssm/mobile.js +1 -1
- package/cssm/responsive.js +1 -1
- package/desktop.js +2 -2
- package/esm/{component-2c4a15b0.d.ts → component-b1ceb5d0.d.ts} +0 -0
- package/esm/{component-2c4a15b0.js → component-b1ceb5d0.js} +2 -2
- package/esm/component.desktop.js +2 -2
- package/esm/component.mobile.js +3 -3
- package/esm/component.responsive.js +2 -2
- package/esm/components/base-confirmation/component.js +2 -2
- package/esm/components/base-confirmation/index.css +2 -8
- package/esm/components/base-confirmation/index.d.ts +1 -1
- package/esm/components/base-confirmation/index.js +2 -2
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -2
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +4 -4
- package/esm/components/index.js +1 -1
- package/esm/components/screens/fatal-error/component.js +1 -1
- package/esm/components/screens/fatal-error/index.css +10 -5
- package/esm/components/screens/hint/component.js +16 -17
- package/esm/components/screens/hint/index.css +15 -14
- package/esm/components/screens/index.js +1 -1
- package/esm/components/screens/initial/component.js +1 -1
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +18 -18
- package/esm/components/screens/initial/index.js +1 -1
- package/esm/components/screens/temp-block/component.js +4 -4
- package/esm/components/screens/temp-block/index.css +13 -5
- package/esm/{countdown-section-a819b4f1.d.ts → countdown-section-608e4e3a.d.ts} +0 -0
- package/esm/countdown-section-608e4e3a.js +41 -0
- package/esm/desktop.js +2 -2
- package/esm/index.js +2 -2
- package/esm/mobile.css +2 -2
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +2 -2
- package/index.js +2 -2
- package/mobile.css +2 -2
- package/mobile.js +2 -2
- package/modern/component.desktop.js +1 -1
- package/modern/component.mobile.js +2 -2
- package/modern/component.responsive.js +1 -1
- package/modern/components/base-confirmation/component.js +3 -3
- package/modern/components/base-confirmation/index.css +2 -8
- package/modern/components/base-confirmation/index.js +1 -1
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -2
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +4 -4
- package/modern/components/index.js +1 -1
- package/modern/components/screens/fatal-error/component.js +1 -1
- package/modern/components/screens/fatal-error/index.css +10 -5
- package/modern/components/screens/hint/component.js +16 -17
- package/modern/components/screens/hint/index.css +15 -14
- package/modern/components/screens/index.js +1 -1
- package/modern/components/screens/initial/component.js +1 -1
- package/modern/components/screens/initial/countdown-section.js +1 -1
- package/modern/components/screens/initial/index.css +18 -18
- package/modern/components/screens/initial/index.js +1 -1
- package/modern/components/screens/temp-block/component.js +4 -4
- package/modern/components/screens/temp-block/index.css +13 -5
- package/modern/{countdown-section-5519e1b6.d.ts → countdown-section-cb87c8ea.d.ts} +0 -0
- package/modern/countdown-section-cb87c8ea.js +36 -0
- package/modern/desktop.js +1 -1
- package/modern/index.js +1 -1
- package/modern/mobile.css +2 -2
- package/modern/mobile.js +1 -1
- package/modern/responsive.js +1 -1
- package/package.json +1 -1
- package/responsive.js +2 -2
- package/countdown-section-fa5d99c6.js +0 -56
- package/esm/countdown-section-a819b4f1.js +0 -48
- package/modern/countdown-section-5519e1b6.js +0 -46
|
File without changes
|
|
@@ -55,7 +55,7 @@ function __rest(s, e) {
|
|
|
55
55
|
return t;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
var styles = {"component":"
|
|
58
|
+
var styles = {"component":"confirmation__component_jlzzz"};
|
|
59
59
|
require('./components/base-confirmation/index.css')
|
|
60
60
|
|
|
61
61
|
var confirmationScreens = {
|
|
@@ -123,7 +123,7 @@ var BaseConfirmation = function (_a) {
|
|
|
123
123
|
var screensMap = getScreensMap ? getScreensMap(confirmationScreens) : confirmationScreens;
|
|
124
124
|
var CurrentScreen = screensMap[screen];
|
|
125
125
|
return (React__default['default'].createElement(context.ConfirmationContext.Provider, { value: contextValue },
|
|
126
|
-
React__default['default'].createElement("div", { className: cn__default['default'](styles.component,
|
|
126
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.component, className), "data-test-id": dataTestId }, CurrentScreen && React__default['default'].createElement(CurrentScreen, { mobile: mobile }))));
|
|
127
127
|
};
|
|
128
128
|
|
|
129
129
|
exports.BaseConfirmation = BaseConfirmation;
|
package/component.desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_baseConfirmation_component = require('./component-
|
|
5
|
+
var components_baseConfirmation_component = require('./component-ad8387ce.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('./countdown-section-
|
|
18
|
+
require('./countdown-section-f4894842.js');
|
|
19
19
|
require('./components/screens/initial/component.js');
|
|
20
20
|
require('./components/screens/hint/component.js');
|
|
21
21
|
require('./components/screens/fatal-error/component.js');
|
package/component.mobile.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_baseConfirmation_component = require('./component-
|
|
5
|
+
var components_baseConfirmation_component = require('./component-ad8387ce.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('./countdown-section-
|
|
18
|
+
require('./countdown-section-f4894842.js');
|
|
19
19
|
require('./components/screens/initial/component.js');
|
|
20
20
|
require('./components/screens/hint/component.js');
|
|
21
21
|
require('./components/screens/fatal-error/component.js');
|
|
@@ -27,7 +27,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
27
27
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
28
28
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
29
29
|
|
|
30
|
-
var styles = {"container":"
|
|
30
|
+
var styles = {"container":"confirmation__container_15921"};
|
|
31
31
|
require('./mobile.css')
|
|
32
32
|
|
|
33
33
|
var ConfirmationMobile = function (_a) {
|
package/component.responsive.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_baseConfirmation_component = require('./component-
|
|
5
|
+
var components_baseConfirmation_component = require('./component-ad8387ce.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
var hooks = require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('./components/header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('./countdown-section-
|
|
18
|
+
require('./countdown-section-f4894842.js');
|
|
19
19
|
require('./components/screens/initial/component.js');
|
|
20
20
|
require('./components/screens/hint/component.js');
|
|
21
21
|
require('./components/screens/fatal-error/component.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_baseConfirmation_component = require('../../component-
|
|
5
|
+
var components_baseConfirmation_component = require('../../component-ad8387ce.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('../header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('../../countdown-section-
|
|
18
|
+
require('../../countdown-section-f4894842.js');
|
|
19
19
|
require('../screens/initial/component.js');
|
|
20
20
|
require('../screens/hint/component.js');
|
|
21
21
|
require('../screens/fatal-error/component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5tjjg */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
4
|
}
|
|
@@ -10,15 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
/* Hard up */
|
|
12
12
|
}
|
|
13
|
-
.
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
13
|
+
.confirmation__component_jlzzz {
|
|
16
14
|
width: 100%;
|
|
17
15
|
max-width: 388px;
|
|
18
16
|
margin: 0 auto;
|
|
19
17
|
color: var(--color-light-text-secondary);
|
|
20
18
|
}
|
|
21
|
-
.confirmation__center_1u8w9 {
|
|
22
|
-
align-items: center;
|
|
23
|
-
text-align: center;
|
|
24
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-ad8387ce";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_baseConfirmation_component = require('../../component-
|
|
5
|
+
var components_baseConfirmation_component = require('../../component-ad8387ce.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/hooks');
|
|
@@ -15,7 +15,7 @@ require('@alfalab/core-components-link');
|
|
|
15
15
|
require('@alfalab/core-components-typography');
|
|
16
16
|
require('../header/component.js');
|
|
17
17
|
require('@alfalab/core-components-loader');
|
|
18
|
-
require('../../countdown-section-
|
|
18
|
+
require('../../countdown-section-f4894842.js');
|
|
19
19
|
require('../screens/initial/component.js');
|
|
20
20
|
require('../screens/hint/component.js');
|
|
21
21
|
require('../screens/fatal-error/component.js');
|
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
10
|
|
|
11
|
-
var styles = {"circle":"
|
|
11
|
+
var styles = {"circle":"confirmation__circle_8bmir"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var SIZE = 16;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16dc1 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-tertiary: #b6bcc3;
|
|
4
4
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
/* Hard up */
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.confirmation__circle_8bmir {
|
|
14
14
|
fill: transparent;
|
|
15
15
|
stroke: var(--color-light-graphic-tertiary);
|
|
16
16
|
stroke-width: 2px;
|
|
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"header":"
|
|
14
|
+
var styles = {"header":"confirmation__header_oznd3","typography":"confirmation__typography_oznd3","typographyMobile":"confirmation__typographyMobile_oznd3"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qs6c */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
/* header */
|
|
33
33
|
--confirmation-header-font-feature-settings: normal
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.confirmation__header_oznd3.confirmation__header_oznd3 {
|
|
36
36
|
margin-bottom: var(--gap-xl);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.confirmation__typography_oznd3.confirmation__typography_oznd3 {
|
|
39
39
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
40
40
|
font-size: var(--confirmation-header-desktop-font-size);
|
|
41
41
|
line-height: var(--confirmation-header-desktop-line-height);
|
|
42
42
|
font-weight: var(--confirmation-header-desktop-font-weight);
|
|
43
43
|
font-family: var(--confirmation-header-desktop-font-family);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.confirmation__typographyMobile_oznd3.confirmation__typographyMobile_oznd3 {
|
|
46
46
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
47
47
|
font-size: var(--confirmation-header-mobile-font-size);
|
|
48
48
|
line-height: var(--confirmation-header-mobile-line-height);
|
package/components/index.js
CHANGED
|
@@ -13,7 +13,7 @@ require('@alfalab/core-components-link');
|
|
|
13
13
|
require('@alfalab/core-components-typography');
|
|
14
14
|
require('./header/component.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
|
-
require('../countdown-section-
|
|
16
|
+
require('../countdown-section-f4894842.js');
|
|
17
17
|
var components_screens_initial_component = require('./screens/initial/component.js');
|
|
18
18
|
var components_screens_hint_component = require('./screens/hint/component.js');
|
|
19
19
|
var components_screens_fatalError_component = require('./screens/fatal-error/component.js');
|
|
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"typographyTheme":"
|
|
18
|
+
var styles = {"component":"confirmation__component_90sl5","typographyTheme":"confirmation__typographyTheme_90sl5","left":"confirmation__left_90sl5","center":"confirmation__center_90sl5","button":"confirmation__button_90sl5"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var FatalError = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yc2fe */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -31,19 +31,24 @@
|
|
|
31
31
|
|
|
32
32
|
/* header */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.confirmation__component_90sl5 {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
}
|
|
38
|
+
.confirmation__typographyTheme_90sl5.confirmation__typographyTheme_90sl5 {
|
|
35
39
|
font-size: var(--confirmation-text-font-size);
|
|
36
40
|
line-height: var(--confirmation-text-line-height);
|
|
37
41
|
font-weight: var(--confirmation-text-font-weight);
|
|
38
42
|
font-family: var(--confirmation-text-font-family);
|
|
39
43
|
color: var(--confirmation-text-color);
|
|
40
44
|
}
|
|
41
|
-
.
|
|
45
|
+
.confirmation__left_90sl5 {
|
|
42
46
|
align-items: flex-start;
|
|
43
47
|
}
|
|
44
|
-
.
|
|
48
|
+
.confirmation__center_90sl5 {
|
|
45
49
|
align-items: center;
|
|
50
|
+
text-align: center;
|
|
46
51
|
}
|
|
47
|
-
.
|
|
52
|
+
.confirmation__button_90sl5 {
|
|
48
53
|
margin-top: var(--gap-2xl);
|
|
49
54
|
}
|
|
@@ -16,7 +16,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
17
17
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
18
18
|
|
|
19
|
-
var styles = {"
|
|
19
|
+
var styles = {"component":"confirmation__component_8p0cq","center":"confirmation__center_8p0cq","text":"confirmation__text_8p0cq","typographyTheme":"confirmation__typographyTheme_8p0cq","phonesWrap":"confirmation__phonesWrap_8p0cq","phoneWrap":"confirmation__phoneWrap_8p0cq","phoneLink":"confirmation__phoneLink_8p0cq","hintButton":"confirmation__hintButton_8p0cq","phoneContentMobile":"confirmation__phoneContentMobile_8p0cq"};
|
|
20
20
|
require('./index.css')
|
|
21
21
|
|
|
22
22
|
var Hint = function (_a) {
|
|
@@ -28,22 +28,21 @@ var Hint = function (_a) {
|
|
|
28
28
|
onChangeState('INITIAL');
|
|
29
29
|
};
|
|
30
30
|
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent]) },
|
|
31
|
-
React__default['default'].createElement(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
React__default['default'].createElement("div", { className: styles.
|
|
35
|
-
React__default['default'].createElement(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
React__default['default'].createElement(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
React__default['default'].createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton))));
|
|
31
|
+
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, "\u041D\u0435\u00A0\u043F\u0440\u0438\u0445\u043E\u0434\u0438\u0442 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435?"),
|
|
32
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, "\u0415\u0441\u043B\u0438 \u0443\u00A0\u0432\u0430\u0441 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0441\u044F \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430, \u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u0435 \u043D\u0430\u043C \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432\u00A0\u043B\u044E\u0431\u043E\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430."),
|
|
33
|
+
React__default['default'].createElement("div", { className: styles.phonesWrap },
|
|
34
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.phoneWrap, (_c = {}, _c[styles.phoneContentMobile] = mobile, _c)) },
|
|
35
|
+
React__default['default'].createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
|
|
36
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_d = {}, _d[styles.typographyTheme] = !mobile, _d)) }, mobile
|
|
37
|
+
? 'Для\u00A0 звонков по\u00A0России'
|
|
38
|
+
: ' \u2014\u00A0для звонков по\u00A0России')),
|
|
39
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.phoneWrap, (_e = {}, _e[styles.phoneContentMobile] = mobile, _e)) },
|
|
40
|
+
React__default['default'].createElement(coreComponentsLink.Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
|
|
41
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_f = {}, _f[styles.typographyTheme] = !mobile, _f)) }, mobile
|
|
42
|
+
? 'В\u00A0Москве и\u00A0за\u00A0границей'
|
|
43
|
+
: ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей'))),
|
|
44
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.text, (_g = {}, _g[styles.typographyTheme] = !mobile, _g)) }, "\u0415\u0441\u043B\u0438 \u043D\u043E\u043C\u0435\u0440 \u043D\u0435\u00A0\u043C\u0435\u043D\u044F\u043B\u0441\u044F, \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043D \u0441\u0435\u0440\u0432\u0438\u0441 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442."),
|
|
45
|
+
React__default['default'].createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton)));
|
|
47
46
|
};
|
|
48
47
|
|
|
49
48
|
exports.Hint = Hint;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hget */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -33,47 +33,48 @@
|
|
|
33
33
|
|
|
34
34
|
/* header */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
.confirmation__hintWrap_1jbwm {
|
|
36
|
+
.confirmation__component_8p0cq {
|
|
40
37
|
display: flex;
|
|
41
38
|
flex-direction: column;
|
|
42
39
|
align-items: flex-start
|
|
43
40
|
}
|
|
44
|
-
.
|
|
41
|
+
.confirmation__component_8p0cq span:last-of-type {
|
|
45
42
|
margin-bottom: 0;
|
|
46
43
|
}
|
|
47
|
-
.
|
|
44
|
+
.confirmation__center_8p0cq {
|
|
45
|
+
align-items: center;
|
|
46
|
+
text-align: center;
|
|
47
|
+
}
|
|
48
|
+
.confirmation__text_8p0cq.confirmation__text_8p0cq {
|
|
48
49
|
margin-bottom: var(--gap-xl);
|
|
49
50
|
}
|
|
50
|
-
.
|
|
51
|
+
.confirmation__typographyTheme_8p0cq.confirmation__typographyTheme_8p0cq {
|
|
51
52
|
font-size: var(--confirmation-text-font-size);
|
|
52
53
|
line-height: var(--confirmation-text-line-height);
|
|
53
54
|
font-weight: var(--confirmation-text-font-weight);
|
|
54
55
|
font-family: var(--confirmation-text-font-family);
|
|
55
56
|
color: var(--confirmation-text-color);
|
|
56
57
|
}
|
|
57
|
-
.
|
|
58
|
+
.confirmation__phonesWrap_8p0cq {
|
|
58
59
|
display: flex;
|
|
59
60
|
flex-direction: column;
|
|
60
61
|
margin-bottom: var(--gap-xl);
|
|
61
62
|
}
|
|
62
|
-
.
|
|
63
|
+
.confirmation__phoneWrap_8p0cq {
|
|
63
64
|
margin-bottom: var(--gap-xs)
|
|
64
65
|
}
|
|
65
|
-
.
|
|
66
|
+
.confirmation__phoneWrap_8p0cq:last-child {
|
|
66
67
|
margin-bottom: 0;
|
|
67
68
|
}
|
|
68
|
-
.
|
|
69
|
+
.confirmation__phoneLink_8p0cq.confirmation__phoneLink_8p0cq {
|
|
69
70
|
font-size: 16px;
|
|
70
71
|
line-height: 24px;
|
|
71
72
|
font-weight: 500;
|
|
72
73
|
}
|
|
73
|
-
.
|
|
74
|
+
.confirmation__hintButton_8p0cq {
|
|
74
75
|
margin-top: var(--gap-2xl);
|
|
75
76
|
}
|
|
76
|
-
.
|
|
77
|
+
.confirmation__phoneContentMobile_8p0cq {
|
|
77
78
|
display: flex;
|
|
78
79
|
flex-direction: column;
|
|
79
80
|
align-items: center;
|
|
@@ -13,7 +13,7 @@ require('@alfalab/core-components-link');
|
|
|
13
13
|
require('@alfalab/core-components-typography');
|
|
14
14
|
require('../header/component.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
|
-
require('../../countdown-section-
|
|
16
|
+
require('../../countdown-section-f4894842.js');
|
|
17
17
|
var components_screens_initial_component = require('./initial/component.js');
|
|
18
18
|
var components_screens_hint_component = require('./hint/component.js');
|
|
19
19
|
var components_screens_fatalError_component = require('./fatal-error/component.js');
|
|
@@ -13,7 +13,7 @@ var coreComponentsLink = require('@alfalab/core-components-link');
|
|
|
13
13
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
14
14
|
var components_header_component = require('../../header/component.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
16
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f4894842.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -9,7 +9,7 @@ require('../../../context.js');
|
|
|
9
9
|
require('@alfalab/core-components-button');
|
|
10
10
|
require('@alfalab/core-components-typography');
|
|
11
11
|
require('@alfalab/core-components-loader');
|
|
12
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
12
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f4894842.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yft4p */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
@@ -38,67 +38,67 @@
|
|
|
38
38
|
|
|
39
39
|
/* header */
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.confirmation__component_17tyk {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.confirmation__typographyTheme_17tyk.confirmation__typographyTheme_17tyk {
|
|
46
46
|
font-size: var(--confirmation-text-font-size);
|
|
47
47
|
line-height: var(--confirmation-text-line-height);
|
|
48
48
|
font-weight: var(--confirmation-text-font-weight);
|
|
49
49
|
font-family: var(--confirmation-text-font-family);
|
|
50
50
|
color: var(--confirmation-text-color);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.confirmation__phone_17tyk.confirmation__phone_17tyk {
|
|
53
53
|
color: var(--color-light-text-primary);
|
|
54
54
|
margin-bottom: var(--gap-2xl);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.confirmation__compact_17tyk {
|
|
57
57
|
margin-bottom: var(--gap-xl);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.confirmation__loaderWrap_17tyk {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.confirmation__left_17tyk {
|
|
64
64
|
align-items: flex-start;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.confirmation__center_17tyk {
|
|
67
67
|
align-items: center;
|
|
68
68
|
text-align: center
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.confirmation__center_17tyk .confirmation__loaderWrap_17tyk {
|
|
71
71
|
justify-content: center;
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.confirmation__center_17tyk input {
|
|
74
74
|
margin: 0 var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.confirmation__codeInput_17tyk {
|
|
77
77
|
margin-bottom: var(--gap-s);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.confirmation__smsComeLink_17tyk.confirmation__smsComeLink_17tyk {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 500;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.confirmation__countdownContainer_17tyk.confirmation__countdownContainer_17tyk {
|
|
85
85
|
color: var(--color-light-text-secondary);
|
|
86
86
|
margin-bottom: var(--gap-xl);
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.confirmation__countdownMobile_17tyk.confirmation__countdownMobile_17tyk {
|
|
89
89
|
margin-bottom: var(--gap-l);
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.confirmation__countdownLoaderMobile_17tyk {
|
|
92
92
|
margin-bottom: var(--gap-m);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.confirmation__getCodeButton_17tyk {
|
|
95
95
|
position: relative;
|
|
96
96
|
top: var(--gap-2xs-neg);
|
|
97
97
|
margin-bottom: var(--gap-m);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.confirmation__getCodeButtonMobile_17tyk {
|
|
100
100
|
margin-bottom: 0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.confirmation__containerInput_17tyk {
|
|
103
103
|
min-height: 80px;
|
|
104
104
|
}
|
|
@@ -13,7 +13,7 @@ require('@alfalab/core-components-link');
|
|
|
13
13
|
require('@alfalab/core-components-typography');
|
|
14
14
|
require('../../header/component.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
|
-
require('../../../countdown-section-
|
|
16
|
+
require('../../../countdown-section-f4894842.js');
|
|
17
17
|
var components_screens_initial_component = require('./component.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -15,13 +15,13 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"typographyTheme":"
|
|
18
|
+
var styles = {"component":"confirmation__component_hd738","center":"confirmation__center_hd738","typographyTheme":"confirmation__typographyTheme_hd738","description":"confirmation__description_hd738","countdownWrap":"confirmation__countdownWrap_hd738","loader":"confirmation__loader_hd738"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var TempBlock = function (_a) {
|
|
22
22
|
var _b, _c;
|
|
23
23
|
var mobile = _a.mobile;
|
|
24
|
-
var _d = React.useContext(context.ConfirmationContext), texts = _d.texts, tempBlockDuration = _d.tempBlockDuration, onChangeScreen = _d.onChangeScreen, onTempBlockFinished = _d.onTempBlockFinished;
|
|
24
|
+
var _d = React.useContext(context.ConfirmationContext), alignContent = _d.alignContent, texts = _d.texts, tempBlockDuration = _d.tempBlockDuration, onChangeScreen = _d.onChangeScreen, onTempBlockFinished = _d.onTempBlockFinished;
|
|
25
25
|
var _e = utils.useCountdown(tempBlockDuration), timeLeft = _e[0], startTimer = _e[1];
|
|
26
26
|
React.useEffect(function () {
|
|
27
27
|
startTimer();
|
|
@@ -31,7 +31,7 @@ var TempBlock = function (_a) {
|
|
|
31
31
|
onTempBlockFinished();
|
|
32
32
|
}
|
|
33
33
|
}, [timeLeft, onChangeScreen, onTempBlockFinished]);
|
|
34
|
-
return (React__default['default'].createElement(
|
|
34
|
+
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent]) },
|
|
35
35
|
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, texts.tempBlockTitle),
|
|
36
36
|
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default'](styles.description, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, texts.tempBlockDescription),
|
|
37
37
|
React__default['default'].createElement("div", { className: cn__default['default'](styles.countdownWrap, (_c = {}, _c[styles.typographyTheme] = !mobile, _c)) },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1uyk7 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -31,20 +31,28 @@
|
|
|
31
31
|
|
|
32
32
|
/* header */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.confirmation__component_hd738 {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
}
|
|
38
|
+
.confirmation__center_hd738 {
|
|
39
|
+
align-items: center;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
.confirmation__typographyTheme_hd738.confirmation__typographyTheme_hd738 {
|
|
35
43
|
font-size: var(--confirmation-text-font-size);
|
|
36
44
|
line-height: var(--confirmation-text-line-height);
|
|
37
45
|
font-weight: var(--confirmation-text-font-weight);
|
|
38
46
|
font-family: var(--confirmation-text-font-family);
|
|
39
47
|
color: var(--confirmation-text-color);
|
|
40
48
|
}
|
|
41
|
-
.
|
|
49
|
+
.confirmation__description_hd738.confirmation__description_hd738 {
|
|
42
50
|
margin-bottom: var(--gap-xs);
|
|
43
51
|
}
|
|
44
|
-
.
|
|
52
|
+
.confirmation__countdownWrap_hd738 {
|
|
45
53
|
display: flex;
|
|
46
54
|
align-items: center;
|
|
47
55
|
}
|
|
48
|
-
.
|
|
56
|
+
.confirmation__loader_hd738 {
|
|
49
57
|
margin-right: var(--gap-xs);
|
|
50
58
|
}
|
|
File without changes
|