@alfalab/core-components-confirmation 12.3.4 → 12.4.0
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-ad8387ce.d.ts → component-ad335d4a.d.ts} +0 -0
- package/{component-ad8387ce.js → component-ad335d4a.js} +9 -9
- package/component.desktop.js +8 -10
- package/component.mobile.js +10 -12
- package/component.responsive.d.ts +7 -1
- package/component.responsive.js +15 -16
- package/components/base-confirmation/component.js +7 -9
- package/components/base-confirmation/index.css +2 -2
- package/components/base-confirmation/index.d.ts +1 -1
- package/components/base-confirmation/index.js +5 -7
- package/components/countdown-loader/component.js +5 -7
- package/components/countdown-loader/index.css +2 -2
- package/components/countdown-loader/index.js +1 -3
- package/components/header/component.js +5 -7
- package/components/header/index.css +4 -4
- package/components/header/index.js +1 -3
- package/components/index.js +10 -12
- package/components/screens/fatal-error/component.js +10 -12
- package/components/screens/fatal-error/index.css +6 -6
- package/components/screens/fatal-error/index.js +3 -5
- package/components/screens/hint/component.js +18 -20
- package/components/screens/hint/index.css +12 -12
- package/components/screens/hint/index.js +3 -5
- package/components/screens/index.js +8 -10
- package/components/screens/initial/component.js +18 -15
- package/components/screens/initial/countdown-section.js +4 -6
- package/components/screens/initial/index.css +18 -18
- package/components/screens/initial/index.js +5 -7
- package/components/screens/temp-block/component.js +12 -14
- package/components/screens/temp-block/index.css +7 -7
- package/components/screens/temp-block/index.js +4 -6
- package/context.js +0 -2
- package/{countdown-section-f4894842.d.ts → countdown-section-6d91891a.d.ts} +0 -0
- package/countdown-section-6d91891a.js +49 -0
- package/cssm/{component-5a4af768.d.ts → component-3c591970.d.ts} +0 -0
- package/cssm/{component-5a4af768.js → component-3c591970.js} +9 -9
- package/cssm/component.desktop.js +12 -14
- package/cssm/component.mobile.js +15 -17
- package/cssm/component.responsive.d.ts +7 -1
- package/cssm/component.responsive.js +19 -20
- package/cssm/components/base-confirmation/component.js +10 -12
- package/cssm/components/base-confirmation/index.d.ts +1 -1
- package/cssm/components/base-confirmation/index.js +9 -11
- package/cssm/components/countdown-loader/component.js +5 -7
- package/cssm/components/countdown-loader/index.js +1 -3
- package/cssm/components/header/component.js +5 -7
- package/cssm/components/header/index.js +1 -3
- package/cssm/components/index.js +12 -14
- package/cssm/components/screens/fatal-error/component.js +11 -13
- package/cssm/components/screens/fatal-error/index.js +4 -6
- package/cssm/components/screens/hint/component.js +19 -21
- package/cssm/components/screens/hint/index.js +4 -6
- package/cssm/components/screens/index.js +10 -12
- package/cssm/components/screens/initial/component.js +21 -18
- package/cssm/components/screens/initial/countdown-section.js +18 -20
- package/cssm/components/screens/initial/index.js +6 -8
- package/cssm/components/screens/temp-block/component.js +14 -16
- package/cssm/components/screens/temp-block/index.js +6 -8
- package/cssm/context.js +0 -2
- package/cssm/desktop.d.ts +1 -0
- package/cssm/desktop.js +10 -12
- package/cssm/index.js +24 -26
- package/cssm/mobile.d.ts +1 -0
- package/cssm/mobile.js +10 -12
- package/cssm/responsive.d.ts +1 -0
- package/cssm/responsive.js +11 -13
- package/cssm/types.js +0 -2
- package/cssm/utils.js +6 -8
- package/desktop.d.ts +1 -0
- package/desktop.js +6 -8
- package/esm/{component-b1ceb5d0.d.ts → component-0eefd74d.d.ts} +0 -0
- package/esm/{component-b1ceb5d0.js → component-0eefd74d.js} +4 -4
- package/esm/component.desktop.js +5 -5
- package/esm/component.mobile.js +6 -6
- package/esm/component.responsive.d.ts +7 -1
- package/esm/component.responsive.js +13 -12
- package/esm/components/base-confirmation/component.js +7 -7
- package/esm/components/base-confirmation/index.css +2 -2
- package/esm/components/base-confirmation/index.d.ts +1 -1
- package/esm/components/base-confirmation/index.js +5 -5
- package/esm/components/countdown-loader/component.js +3 -3
- package/esm/components/countdown-loader/index.css +2 -2
- package/esm/components/countdown-loader/index.js +1 -1
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +4 -4
- package/esm/components/header/index.js +1 -1
- package/esm/components/index.js +9 -9
- package/esm/components/screens/fatal-error/component.js +3 -3
- package/esm/components/screens/fatal-error/index.css +6 -6
- package/esm/components/screens/fatal-error/index.js +3 -3
- package/esm/components/screens/hint/component.js +3 -3
- package/esm/components/screens/hint/index.css +12 -12
- package/esm/components/screens/hint/index.js +3 -3
- package/esm/components/screens/index.js +8 -8
- package/esm/components/screens/initial/component.js +10 -5
- package/esm/components/screens/initial/countdown-section.js +4 -4
- package/esm/components/screens/initial/index.css +18 -18
- package/esm/components/screens/initial/index.js +5 -5
- package/esm/components/screens/temp-block/component.js +4 -4
- package/esm/components/screens/temp-block/index.css +7 -7
- package/esm/components/screens/temp-block/index.js +4 -4
- package/esm/{countdown-section-608e4e3a.d.ts → countdown-section-0837d1c0.d.ts} +0 -0
- package/esm/{countdown-section-608e4e3a.js → countdown-section-0837d1c0.js} +6 -6
- package/esm/desktop.d.ts +1 -0
- package/esm/desktop.js +6 -6
- package/esm/index.js +12 -12
- package/esm/mobile.css +2 -2
- package/esm/mobile.d.ts +1 -0
- package/esm/mobile.js +6 -6
- package/esm/responsive.d.ts +1 -0
- package/esm/responsive.js +6 -6
- package/esm/utils.js +6 -6
- package/index.js +21 -23
- package/mobile.css +2 -2
- package/mobile.d.ts +1 -0
- package/mobile.js +6 -8
- package/modern/component.desktop.js +5 -5
- package/modern/component.mobile.js +6 -6
- package/modern/component.responsive.d.ts +7 -1
- package/modern/component.responsive.js +12 -12
- package/modern/components/base-confirmation/component.js +8 -8
- package/modern/components/base-confirmation/index.css +2 -2
- package/modern/components/base-confirmation/index.js +5 -5
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -2
- package/modern/components/countdown-loader/index.js +1 -1
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +4 -4
- package/modern/components/header/index.js +1 -1
- package/modern/components/index.js +9 -9
- package/modern/components/screens/fatal-error/component.js +3 -3
- package/modern/components/screens/fatal-error/index.css +6 -6
- package/modern/components/screens/fatal-error/index.js +3 -3
- package/modern/components/screens/hint/component.js +3 -3
- package/modern/components/screens/hint/index.css +12 -12
- package/modern/components/screens/hint/index.js +3 -3
- package/modern/components/screens/index.js +8 -8
- package/modern/components/screens/initial/component.js +10 -5
- package/modern/components/screens/initial/countdown-section.js +4 -4
- package/modern/components/screens/initial/index.css +18 -18
- package/modern/components/screens/initial/index.js +5 -5
- package/modern/components/screens/temp-block/component.js +4 -4
- package/modern/components/screens/temp-block/index.css +7 -7
- package/modern/components/screens/temp-block/index.js +4 -4
- package/modern/{countdown-section-cb87c8ea.d.ts → countdown-section-4c1f4500.d.ts} +0 -0
- package/modern/{countdown-section-cb87c8ea.js → countdown-section-4c1f4500.js} +5 -5
- package/modern/desktop.d.ts +1 -0
- package/modern/desktop.js +6 -6
- package/modern/index.js +12 -12
- package/modern/mobile.css +2 -2
- package/modern/mobile.d.ts +1 -0
- package/modern/mobile.js +6 -6
- package/modern/responsive.d.ts +1 -0
- package/modern/responsive.js +8 -8
- package/package.json +6 -6
- package/responsive.d.ts +1 -0
- package/responsive.js +6 -8
- package/types.js +0 -2
- package/utils.js +6 -8
- package/countdown-section-f4894842.js +0 -49
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var React = require('react');
|
|
6
4
|
var cn = require('classnames');
|
|
7
|
-
require('../../../utils.js');
|
|
8
|
-
var context = require('../../../context.js');
|
|
9
5
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
10
6
|
var coreComponentsLink = require('@alfalab/core-components-link');
|
|
11
7
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
8
|
+
var context = require('../../../context.js');
|
|
12
9
|
var components_header_component = require('../../header/component.js');
|
|
10
|
+
require('../../../utils.js');
|
|
13
11
|
|
|
14
|
-
function
|
|
12
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
13
|
|
|
16
|
-
var React__default = /*#__PURE__*/
|
|
17
|
-
var cn__default = /*#__PURE__*/
|
|
14
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
18
16
|
|
|
19
|
-
var styles = {"component":"
|
|
17
|
+
var styles = {"component":"confirmation__component_1xcu4","center":"confirmation__center_1xcu4","text":"confirmation__text_1xcu4","typographyTheme":"confirmation__typographyTheme_1xcu4","phonesWrap":"confirmation__phonesWrap_1xcu4","phoneWrap":"confirmation__phoneWrap_1xcu4","phoneLink":"confirmation__phoneLink_1xcu4","hintButton":"confirmation__hintButton_1xcu4","phoneContentMobile":"confirmation__phoneContentMobile_1xcu4"};
|
|
20
18
|
require('./index.css')
|
|
21
19
|
|
|
22
20
|
var Hint = function (_a) {
|
|
@@ -27,22 +25,22 @@ var Hint = function (_a) {
|
|
|
27
25
|
onChangeScreen('INITIAL');
|
|
28
26
|
onChangeState('INITIAL');
|
|
29
27
|
};
|
|
30
|
-
return (React__default
|
|
31
|
-
React__default
|
|
32
|
-
React__default
|
|
33
|
-
React__default
|
|
34
|
-
React__default
|
|
35
|
-
React__default
|
|
36
|
-
React__default
|
|
28
|
+
return (React__default.default.createElement("div", { className: cn__default.default(styles.component, styles[alignContent]) },
|
|
29
|
+
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?"),
|
|
30
|
+
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."),
|
|
31
|
+
React__default.default.createElement("div", { className: styles.phonesWrap },
|
|
32
|
+
React__default.default.createElement("div", { className: cn__default.default(styles.phoneWrap, (_c = {}, _c[styles.phoneContentMobile] = mobile, _c)) },
|
|
33
|
+
React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
|
|
34
|
+
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
35
|
? 'Для\u00A0 звонков по\u00A0России'
|
|
38
36
|
: ' \u2014\u00A0для звонков по\u00A0России')),
|
|
39
|
-
React__default
|
|
40
|
-
React__default
|
|
41
|
-
React__default
|
|
37
|
+
React__default.default.createElement("div", { className: cn__default.default(styles.phoneWrap, (_e = {}, _e[styles.phoneContentMobile] = mobile, _e)) },
|
|
38
|
+
React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
|
|
39
|
+
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
40
|
? 'В\u00A0Москве и\u00A0за\u00A0границей'
|
|
43
41
|
: ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей'))),
|
|
44
|
-
React__default
|
|
45
|
-
React__default
|
|
42
|
+
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."),
|
|
43
|
+
React__default.default.createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton }, texts.hintButton)));
|
|
46
44
|
};
|
|
47
45
|
|
|
48
46
|
exports.Hint = Hint;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1540f */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -33,48 +33,48 @@
|
|
|
33
33
|
|
|
34
34
|
/* header */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.confirmation__component_1xcu4 {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-start
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.confirmation__component_1xcu4 span:last-of-type {
|
|
42
42
|
margin-bottom: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.confirmation__center_1xcu4 {
|
|
45
45
|
align-items: center;
|
|
46
46
|
text-align: center;
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.confirmation__text_1xcu4.confirmation__text_1xcu4 {
|
|
49
49
|
margin-bottom: var(--gap-xl);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.confirmation__typographyTheme_1xcu4.confirmation__typographyTheme_1xcu4 {
|
|
52
52
|
font-size: var(--confirmation-text-font-size);
|
|
53
53
|
line-height: var(--confirmation-text-line-height);
|
|
54
54
|
font-weight: var(--confirmation-text-font-weight);
|
|
55
55
|
font-family: var(--confirmation-text-font-family);
|
|
56
56
|
color: var(--confirmation-text-color);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.confirmation__phonesWrap_1xcu4 {
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
margin-bottom: var(--gap-xl);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.confirmation__phoneWrap_1xcu4 {
|
|
64
64
|
margin-bottom: var(--gap-xs)
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.confirmation__phoneWrap_1xcu4:last-child {
|
|
67
67
|
margin-bottom: 0;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.confirmation__phoneLink_1xcu4.confirmation__phoneLink_1xcu4 {
|
|
70
70
|
font-size: 16px;
|
|
71
71
|
line-height: 24px;
|
|
72
72
|
font-weight: 500;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.confirmation__hintButton_1xcu4 {
|
|
75
75
|
margin-top: var(--gap-2xl);
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.confirmation__phoneContentMobile_1xcu4 {
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
align-items: center;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var components_screens_hint_component = require('./component.js');
|
|
5
4
|
require('react');
|
|
6
5
|
require('classnames');
|
|
7
|
-
require('../../../utils.js');
|
|
8
|
-
require('../../../context.js');
|
|
9
6
|
require('@alfalab/core-components-button');
|
|
10
7
|
require('@alfalab/core-components-link');
|
|
11
8
|
require('@alfalab/core-components-typography');
|
|
9
|
+
require('../../../context.js');
|
|
10
|
+
require('../../../utils.js');
|
|
12
11
|
require('../../header/component.js');
|
|
13
|
-
var components_screens_hint_component = require('./component.js');
|
|
14
12
|
|
|
15
13
|
|
|
16
14
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var components_screens_initial_component = require('./initial/component.js');
|
|
4
|
+
var components_screens_hint_component = require('./hint/component.js');
|
|
5
|
+
var components_screens_fatalError_component = require('./fatal-error/component.js');
|
|
6
|
+
var components_screens_tempBlock_component = require('./temp-block/component.js');
|
|
5
7
|
require('react');
|
|
6
8
|
require('classnames');
|
|
7
|
-
require('@alfalab/hooks');
|
|
8
|
-
require('../../utils.js');
|
|
9
|
-
require('../../context.js');
|
|
10
9
|
require('@alfalab/core-components-button');
|
|
11
10
|
require('@alfalab/core-components-code-input');
|
|
12
11
|
require('@alfalab/core-components-link');
|
|
13
12
|
require('@alfalab/core-components-typography');
|
|
13
|
+
require('@alfalab/hooks');
|
|
14
|
+
require('../../context.js');
|
|
15
|
+
require('../../utils.js');
|
|
14
16
|
require('../header/component.js');
|
|
17
|
+
require('../../countdown-section-6d91891a.js');
|
|
15
18
|
require('@alfalab/core-components-loader');
|
|
16
|
-
require('../../countdown-section-f4894842.js');
|
|
17
|
-
var components_screens_initial_component = require('./initial/component.js');
|
|
18
|
-
var components_screens_hint_component = require('./hint/component.js');
|
|
19
|
-
var components_screens_fatalError_component = require('./fatal-error/component.js');
|
|
20
19
|
require('../countdown-loader/component.js');
|
|
21
|
-
var components_screens_tempBlock_component = require('./temp-block/component.js');
|
|
22
20
|
|
|
23
21
|
|
|
24
22
|
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var React = require('react');
|
|
6
4
|
var cn = require('classnames');
|
|
7
|
-
var hooks = require('@alfalab/hooks');
|
|
8
|
-
require('../../../utils.js');
|
|
9
|
-
var context = require('../../../context.js');
|
|
10
5
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
11
6
|
var coreComponentsCodeInput = require('@alfalab/core-components-code-input');
|
|
12
7
|
var coreComponentsLink = require('@alfalab/core-components-link');
|
|
13
8
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
9
|
+
var hooks = require('@alfalab/hooks');
|
|
10
|
+
var context = require('../../../context.js');
|
|
14
11
|
var components_header_component = require('../../header/component.js');
|
|
12
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-6d91891a.js');
|
|
13
|
+
require('../../../utils.js');
|
|
15
14
|
require('@alfalab/core-components-loader');
|
|
16
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-f4894842.js');
|
|
17
15
|
|
|
18
|
-
function
|
|
16
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
19
17
|
|
|
20
|
-
var React__default = /*#__PURE__*/
|
|
21
|
-
var cn__default = /*#__PURE__*/
|
|
18
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
19
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
22
20
|
|
|
23
21
|
var CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
24
22
|
var Initial = function (_a) {
|
|
@@ -46,6 +44,11 @@ var Initial = function (_a) {
|
|
|
46
44
|
}
|
|
47
45
|
onSmsRetryClick();
|
|
48
46
|
};
|
|
47
|
+
var handleErrorAnimationEnd = function () {
|
|
48
|
+
if (clearCodeOnError && state !== 'INITIAL') {
|
|
49
|
+
onChangeState('INITIAL');
|
|
50
|
+
}
|
|
51
|
+
};
|
|
49
52
|
var clearTimer = React.useCallback(function () {
|
|
50
53
|
window.clearTimeout(timerId.current);
|
|
51
54
|
}, []);
|
|
@@ -85,14 +88,14 @@ var Initial = function (_a) {
|
|
|
85
88
|
};
|
|
86
89
|
var processing = ['CODE_CHECKING', 'CODE_SENDING'].includes(state);
|
|
87
90
|
var timePassed = timeLeft === 0;
|
|
88
|
-
return (React__default
|
|
89
|
-
React__default
|
|
90
|
-
React__default
|
|
91
|
+
return (React__default.default.createElement("div", { className: cn__default.default(components_screens_initial_countdownSection.styles.component, components_screens_initial_countdownSection.styles[alignContent]) },
|
|
92
|
+
React__default.default.createElement(components_header_component.Header, { mobile: mobile }, texts.title),
|
|
93
|
+
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default.default(components_screens_initial_countdownSection.styles.phone, (_b = {}, _b[components_screens_initial_countdownSection.styles.typographyTheme] = !mobile, _b)) },
|
|
91
94
|
"\u041A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u043D\u0430 ",
|
|
92
95
|
phone),
|
|
93
|
-
React__default
|
|
94
|
-
React__default
|
|
95
|
-
mobile ? (React__default
|
|
96
|
+
React__default.default.createElement(coreComponentsCodeInput.CodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn__default.default(components_screens_initial_countdownSection.styles.containerInput, components_screens_initial_countdownSection.styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange, clearCodeOnError: clearCodeOnError, onErrorAnimationEnd: handleErrorAnimationEnd }),
|
|
97
|
+
React__default.default.createElement(components_screens_initial_countdownSection.CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: mobile }),
|
|
98
|
+
mobile ? (React__default.default.createElement(coreComponentsButton.Button, { onClick: handleSmsHintLinkClick, view: 'link', size: 'xs' }, texts.linkToHint)) : (React__default.default.createElement(coreComponentsLink.Link, { onClick: handleSmsHintLinkClick, className: components_screens_initial_countdownSection.styles.smsComeLink, view: mobile ? 'primary' : 'secondary', pseudo: true }, texts.linkToHint))));
|
|
96
99
|
};
|
|
97
100
|
|
|
98
101
|
exports.Initial = Initial;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
require('react');
|
|
6
4
|
require('classnames');
|
|
7
|
-
require('../../../utils.js');
|
|
8
|
-
require('../../../context.js');
|
|
9
5
|
require('@alfalab/core-components-button');
|
|
10
|
-
require('@alfalab/core-components-typography');
|
|
11
6
|
require('@alfalab/core-components-loader');
|
|
12
|
-
|
|
7
|
+
require('@alfalab/core-components-typography');
|
|
8
|
+
require('../../../context.js');
|
|
9
|
+
require('../../../utils.js');
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-6d91891a.js');
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9yngt */
|
|
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_uowal {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.confirmation__typographyTheme_uowal.confirmation__typographyTheme_uowal {
|
|
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_uowal.confirmation__phone_uowal {
|
|
53
53
|
color: var(--color-light-text-primary);
|
|
54
54
|
margin-bottom: var(--gap-2xl);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.confirmation__compact_uowal {
|
|
57
57
|
margin-bottom: var(--gap-xl);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.confirmation__loaderWrap_uowal {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.confirmation__left_uowal {
|
|
64
64
|
align-items: flex-start;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.confirmation__center_uowal {
|
|
67
67
|
align-items: center;
|
|
68
68
|
text-align: center
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.confirmation__center_uowal .confirmation__loaderWrap_uowal {
|
|
71
71
|
justify-content: center;
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.confirmation__center_uowal input {
|
|
74
74
|
margin: 0 var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.confirmation__codeInput_uowal {
|
|
77
77
|
margin-bottom: var(--gap-s);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.confirmation__smsComeLink_uowal.confirmation__smsComeLink_uowal {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 500;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.confirmation__countdownContainer_uowal.confirmation__countdownContainer_uowal {
|
|
85
85
|
color: var(--color-light-text-secondary);
|
|
86
86
|
margin-bottom: var(--gap-xl);
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.confirmation__countdownMobile_uowal.confirmation__countdownMobile_uowal {
|
|
89
89
|
margin-bottom: var(--gap-l);
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.confirmation__countdownLoaderMobile_uowal {
|
|
92
92
|
margin-bottom: var(--gap-m);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.confirmation__getCodeButton_uowal {
|
|
95
95
|
position: relative;
|
|
96
96
|
top: var(--gap-2xs-neg);
|
|
97
97
|
margin-bottom: var(--gap-m);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.confirmation__getCodeButtonMobile_uowal {
|
|
100
100
|
margin-bottom: 0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.confirmation__containerInput_uowal {
|
|
103
103
|
min-height: 80px;
|
|
104
104
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var components_screens_initial_component = require('./component.js');
|
|
5
4
|
require('react');
|
|
6
5
|
require('classnames');
|
|
7
|
-
require('@alfalab/hooks');
|
|
8
|
-
require('../../../utils.js');
|
|
9
|
-
require('../../../context.js');
|
|
10
6
|
require('@alfalab/core-components-button');
|
|
11
7
|
require('@alfalab/core-components-code-input');
|
|
12
8
|
require('@alfalab/core-components-link');
|
|
13
9
|
require('@alfalab/core-components-typography');
|
|
10
|
+
require('@alfalab/hooks');
|
|
11
|
+
require('../../../context.js');
|
|
12
|
+
require('../../../utils.js');
|
|
14
13
|
require('../../header/component.js');
|
|
14
|
+
require('../../../countdown-section-6d91891a.js');
|
|
15
15
|
require('@alfalab/core-components-loader');
|
|
16
|
-
require('../../../countdown-section-f4894842.js');
|
|
17
|
-
var components_screens_initial_component = require('./component.js');
|
|
18
16
|
|
|
19
17
|
|
|
20
18
|
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var React = require('react');
|
|
6
4
|
var cn = require('classnames');
|
|
7
|
-
var utils = require('../../../utils.js');
|
|
8
|
-
var context = require('../../../context.js');
|
|
9
5
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
10
|
-
var
|
|
6
|
+
var context = require('../../../context.js');
|
|
7
|
+
var utils = require('../../../utils.js');
|
|
11
8
|
var components_countdownLoader_component = require('../../countdown-loader/component.js');
|
|
9
|
+
var components_header_component = require('../../header/component.js');
|
|
12
10
|
|
|
13
|
-
function
|
|
11
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
12
|
|
|
15
|
-
var React__default = /*#__PURE__*/
|
|
16
|
-
var cn__default = /*#__PURE__*/
|
|
13
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
15
|
|
|
18
|
-
var styles = {"component":"
|
|
16
|
+
var styles = {"component":"confirmation__component_y9u4p","center":"confirmation__center_y9u4p","typographyTheme":"confirmation__typographyTheme_y9u4p","description":"confirmation__description_y9u4p","countdownWrap":"confirmation__countdownWrap_y9u4p","loader":"confirmation__loader_y9u4p"};
|
|
19
17
|
require('./index.css')
|
|
20
18
|
|
|
21
19
|
var TempBlock = function (_a) {
|
|
@@ -31,11 +29,11 @@ var TempBlock = function (_a) {
|
|
|
31
29
|
onTempBlockFinished();
|
|
32
30
|
}
|
|
33
31
|
}, [timeLeft, onChangeScreen, onTempBlockFinished]);
|
|
34
|
-
return (React__default
|
|
35
|
-
React__default
|
|
36
|
-
React__default
|
|
37
|
-
React__default
|
|
38
|
-
React__default
|
|
32
|
+
return (React__default.default.createElement("div", { className: cn__default.default(styles.component, styles[alignContent]) },
|
|
33
|
+
React__default.default.createElement(components_header_component.Header, { mobile: mobile }, texts.tempBlockTitle),
|
|
34
|
+
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),
|
|
35
|
+
React__default.default.createElement("div", { className: cn__default.default(styles.countdownWrap, (_c = {}, _c[styles.typographyTheme] = !mobile, _c)) },
|
|
36
|
+
React__default.default.createElement(components_countdownLoader_component.CountdownLoader, { progress: 1 - timeLeft / tempBlockDuration, className: styles.loader }),
|
|
39
37
|
utils.formatMsAsMinutes(timeLeft))));
|
|
40
38
|
};
|
|
41
39
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kelsz */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
|
|
32
32
|
/* header */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.confirmation__component_y9u4p {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.confirmation__center_y9u4p {
|
|
39
39
|
align-items: center;
|
|
40
40
|
text-align: center;
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.confirmation__typographyTheme_y9u4p.confirmation__typographyTheme_y9u4p {
|
|
43
43
|
font-size: var(--confirmation-text-font-size);
|
|
44
44
|
line-height: var(--confirmation-text-line-height);
|
|
45
45
|
font-weight: var(--confirmation-text-font-weight);
|
|
46
46
|
font-family: var(--confirmation-text-font-family);
|
|
47
47
|
color: var(--confirmation-text-color);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.confirmation__description_y9u4p.confirmation__description_y9u4p {
|
|
50
50
|
margin-bottom: var(--gap-xs);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.confirmation__countdownWrap_y9u4p {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.confirmation__loader_y9u4p {
|
|
57
57
|
margin-right: var(--gap-xs);
|
|
58
58
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var components_screens_tempBlock_component = require('./component.js');
|
|
5
4
|
require('react');
|
|
6
5
|
require('classnames');
|
|
7
|
-
require('../../../utils.js');
|
|
8
|
-
require('../../../context.js');
|
|
9
6
|
require('@alfalab/core-components-typography');
|
|
10
|
-
require('
|
|
7
|
+
require('../../../context.js');
|
|
8
|
+
require('../../../utils.js');
|
|
11
9
|
require('../../countdown-loader/component.js');
|
|
12
|
-
|
|
10
|
+
require('../../header/component.js');
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
package/context.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var cn = require('classnames');
|
|
5
|
+
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
6
|
+
var coreComponentsLoader = require('@alfalab/core-components-loader');
|
|
7
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
8
|
+
var context = require('./context.js');
|
|
9
|
+
var utils = require('./utils.js');
|
|
10
|
+
|
|
11
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
|
+
|
|
13
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
|
+
|
|
16
|
+
var styles = {"component":"confirmation__component_uowal","typographyTheme":"confirmation__typographyTheme_uowal","phone":"confirmation__phone_uowal","compact":"confirmation__compact_uowal","loaderWrap":"confirmation__loaderWrap_uowal","left":"confirmation__left_uowal","center":"confirmation__center_uowal","codeInput":"confirmation__codeInput_uowal","smsComeLink":"confirmation__smsComeLink_uowal","countdownContainer":"confirmation__countdownContainer_uowal","countdownMobile":"confirmation__countdownMobile_uowal","countdownLoaderMobile":"confirmation__countdownLoaderMobile_uowal","getCodeButton":"confirmation__getCodeButton_uowal","getCodeButtonMobile":"confirmation__getCodeButtonMobile_uowal","containerInput":"confirmation__containerInput_uowal"};
|
|
17
|
+
require('./components/screens/initial/index.css')
|
|
18
|
+
|
|
19
|
+
var CountdownSection = function (_a) {
|
|
20
|
+
var _b, _c;
|
|
21
|
+
var codeSendHintVisible = _a.codeSendHintVisible, timePassed = _a.timePassed, processing = _a.processing, mobile = _a.mobile, handleSmsRetryClick = _a.handleSmsRetryClick;
|
|
22
|
+
var _d = React.useContext(context.ConfirmationContext), state = _d.state, texts = _d.texts, timeLeft = _d.timeLeft, blockSmsRetry = _d.blockSmsRetry;
|
|
23
|
+
var renderText = function (text) {
|
|
24
|
+
var _a;
|
|
25
|
+
return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: cn__default.default(styles.countdownContainer, (_a = {},
|
|
26
|
+
_a[styles.countdownMobile] = mobile,
|
|
27
|
+
_a[styles.typographyTheme] = !mobile,
|
|
28
|
+
_a)), view: mobile ? 'primary-small' : 'primary-medium', tag: 'div' }, text));
|
|
29
|
+
};
|
|
30
|
+
if (codeSendHintVisible)
|
|
31
|
+
return renderText(texts.codeSended);
|
|
32
|
+
if (processing) {
|
|
33
|
+
return (React__default.default.createElement("div", { className: cn__default.default(styles.loaderWrap, styles.countdownContainer, (_b = {},
|
|
34
|
+
_b[styles.countdownLoaderMobile] = mobile,
|
|
35
|
+
_b[styles.typographyTheme] = !mobile,
|
|
36
|
+
_b)) },
|
|
37
|
+
React__default.default.createElement(coreComponentsLoader.Loader, null),
|
|
38
|
+
React__default.default.createElement("span", { className: styles.loaderText }, state === 'CODE_CHECKING' ? texts.codeChecking : texts.codeSending)));
|
|
39
|
+
}
|
|
40
|
+
if (blockSmsRetry)
|
|
41
|
+
return renderText(texts.noAttemptsLeft);
|
|
42
|
+
if (timePassed) {
|
|
43
|
+
return (React__default.default.createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 'xxs', view: 'secondary', onClick: handleSmsRetryClick, className: cn__default.default(styles.getCodeButton, (_c = {}, _c[styles.getCodeButtonMobile] = mobile, _c)) }, texts.buttonRetry));
|
|
44
|
+
}
|
|
45
|
+
return renderText("".concat(texts.countdown, " ").concat(utils.formatMsAsMinutes(timeLeft)));
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
exports.CountdownSection = CountdownSection;
|
|
49
|
+
exports.styles = styles;
|
|
File without changes
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var cn = require('classnames');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
|
-
var utils = require('./utils.js');
|
|
7
6
|
var context = require('./context.js');
|
|
8
7
|
var types = require('./types.js');
|
|
8
|
+
var utils = require('./utils.js');
|
|
9
9
|
var components_screens_initial_component = require('./components/screens/initial/component.js');
|
|
10
10
|
var components_screens_hint_component = require('./components/screens/hint/component.js');
|
|
11
11
|
var components_screens_fatalError_component = require('./components/screens/fatal-error/component.js');
|
|
12
12
|
var components_screens_tempBlock_component = require('./components/screens/temp-block/component.js');
|
|
13
13
|
var styles = require('./components/base-confirmation/index.module.css');
|
|
14
14
|
|
|
15
|
-
function
|
|
15
|
+
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
17
|
-
var React__default = /*#__PURE__*/
|
|
18
|
-
var cn__default = /*#__PURE__*/
|
|
19
|
-
var styles__default = /*#__PURE__*/
|
|
17
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
|
+
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
|
+
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
20
20
|
|
|
21
21
|
/******************************************************************************
|
|
22
22
|
Copyright (c) Microsoft Corporation.
|
|
@@ -64,8 +64,8 @@ var confirmationScreens = {
|
|
|
64
64
|
TEMP_BLOCK: components_screens_tempBlock_component.TempBlock,
|
|
65
65
|
};
|
|
66
66
|
var BaseConfirmation = function (_a) {
|
|
67
|
-
var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b
|
|
68
|
-
var
|
|
67
|
+
var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError"]);
|
|
68
|
+
var _g = utils.useCountdown(countdownDuration), timeLeft = _g[0], startTimer = _g[1], stopTimer = _g[2];
|
|
69
69
|
var prevState = hooks.usePrevious(state);
|
|
70
70
|
React.useEffect(function () {
|
|
71
71
|
startTimer();
|
|
@@ -121,8 +121,8 @@ var BaseConfirmation = function (_a) {
|
|
|
121
121
|
};
|
|
122
122
|
var screensMap = getScreensMap ? getScreensMap(confirmationScreens) : confirmationScreens;
|
|
123
123
|
var CurrentScreen = screensMap[screen];
|
|
124
|
-
return (React__default
|
|
125
|
-
React__default
|
|
124
|
+
return (React__default.default.createElement(context.ConfirmationContext.Provider, { value: contextValue },
|
|
125
|
+
React__default.default.createElement("div", { className: cn__default.default(styles__default.default.component, className), "data-test-id": dataTestId }, CurrentScreen && React__default.default.createElement(CurrentScreen, { mobile: mobile }))));
|
|
126
126
|
};
|
|
127
127
|
|
|
128
128
|
exports.BaseConfirmation = BaseConfirmation;
|