@alfalab/core-components-confirmation 12.1.3 → 12.2.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-40c9adb0.d.ts +35 -0
- package/{component.js → component-40c9adb0.js} +11 -18
- package/component.desktop.d.ts +5 -0
- package/component.desktop.js +31 -0
- package/component.mobile.d.ts +5 -0
- package/component.mobile.js +38 -0
- package/component.responsive.d.ts +6 -0
- package/component.responsive.js +39 -0
- package/components/base-confirmation/component.d.ts +0 -0
- package/components/base-confirmation/component.js +27 -0
- package/components/base-confirmation/index.css +24 -0
- package/components/base-confirmation/index.d.ts +1 -0
- package/components/base-confirmation/index.js +27 -0
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -11
- package/components/header/component.d.ts +13 -0
- package/components/header/component.js +23 -0
- package/components/header/index.css +51 -0
- package/components/header/index.d.ts +1 -0
- package/components/header/index.js +12 -0
- package/components/index.js +4 -2
- package/components/screens/fatal-error/component.d.ts +9 -3
- package/components/screens/fatal-error/component.js +13 -7
- package/components/screens/fatal-error/index.css +17 -29
- package/components/screens/fatal-error/index.js +3 -0
- package/components/screens/hint/component.d.ts +9 -3
- package/components/screens/hint/component.js +17 -17
- package/components/screens/hint/index.css +25 -48
- package/components/screens/hint/index.js +2 -0
- package/components/screens/index.js +4 -2
- package/components/screens/initial/component.d.ts +9 -3
- package/components/screens/initial/component.js +14 -11
- package/components/screens/initial/countdown-section.js +3 -2
- package/components/screens/initial/index.css +48 -45
- package/components/screens/initial/index.js +4 -2
- package/components/screens/temp-block/component.d.ts +9 -3
- package/components/screens/temp-block/component.js +13 -7
- package/components/screens/temp-block/index.css +12 -30
- package/components/screens/temp-block/index.js +3 -0
- package/{esm/countdown-section-3aba82dd.d.ts → countdown-section-d04caa75.d.ts} +1 -0
- package/countdown-section-d04caa75.js +56 -0
- package/cssm/component-5c5b24ae.d.ts +35 -0
- package/cssm/{component.js → component-5c5b24ae.js} +10 -22
- package/cssm/component.desktop.d.ts +5 -0
- package/cssm/component.desktop.js +38 -0
- package/cssm/component.mobile.d.ts +5 -0
- package/cssm/component.mobile.js +44 -0
- package/cssm/component.responsive.d.ts +6 -0
- package/cssm/component.responsive.js +47 -0
- package/cssm/components/base-confirmation/component.d.ts +0 -0
- package/cssm/components/base-confirmation/component.js +34 -0
- package/cssm/components/base-confirmation/index.d.ts +1 -0
- package/cssm/components/base-confirmation/index.js +34 -0
- package/cssm/components/base-confirmation/index.module.css +23 -0
- package/cssm/components/countdown-loader/index.module.css +0 -9
- package/cssm/components/header/component.d.ts +13 -0
- package/cssm/components/header/component.js +22 -0
- package/cssm/components/header/index.d.ts +1 -0
- package/cssm/components/header/index.js +13 -0
- package/cssm/components/header/index.module.css +50 -0
- package/cssm/components/index.js +5 -2
- package/cssm/components/screens/fatal-error/component.d.ts +9 -3
- package/cssm/components/screens/fatal-error/component.js +13 -6
- package/cssm/components/screens/fatal-error/index.js +4 -0
- package/cssm/components/screens/fatal-error/index.module.css +16 -28
- package/cssm/components/screens/hint/component.d.ts +9 -3
- package/cssm/components/screens/hint/component.js +17 -16
- package/cssm/components/screens/hint/index.js +3 -0
- package/cssm/components/screens/hint/index.module.css +17 -40
- package/cssm/components/screens/index.js +5 -2
- package/cssm/components/screens/initial/component.d.ts +9 -3
- package/cssm/components/screens/initial/component.js +15 -11
- package/cssm/components/screens/initial/countdown-section.d.ts +1 -0
- package/cssm/components/screens/initial/countdown-section.js +25 -10
- package/cssm/components/screens/initial/index.js +5 -2
- package/cssm/components/screens/initial/index.module.css +37 -34
- package/cssm/components/screens/temp-block/component.d.ts +9 -3
- package/cssm/components/screens/temp-block/component.js +13 -6
- package/cssm/components/screens/temp-block/index.js +4 -0
- package/cssm/components/screens/temp-block/index.module.css +9 -27
- package/cssm/desktop.d.ts +1 -0
- package/cssm/desktop.js +35 -0
- package/cssm/index.d.ts +2 -1
- package/cssm/index.js +13 -5
- package/cssm/mobile.d.ts +1 -0
- package/cssm/mobile.js +36 -0
- package/cssm/mobile.module.css +3 -0
- package/cssm/responsive.d.ts +1 -0
- package/cssm/responsive.js +38 -0
- package/cssm/types.d.ts +4 -0
- package/cssm/vars.css +4 -4
- package/desktop.d.ts +1 -0
- package/desktop.js +28 -0
- package/esm/component-1f28492d.d.ts +35 -0
- package/esm/{component.js → component-1f28492d.js} +6 -12
- package/esm/component.desktop.d.ts +5 -0
- package/esm/component.desktop.js +23 -0
- package/esm/component.mobile.d.ts +5 -0
- package/esm/component.mobile.js +29 -0
- package/esm/component.responsive.d.ts +6 -0
- package/esm/component.responsive.js +31 -0
- package/esm/components/base-confirmation/component.d.ts +0 -0
- package/esm/components/base-confirmation/component.js +19 -0
- package/esm/components/base-confirmation/index.css +24 -0
- package/esm/components/base-confirmation/index.d.ts +1 -0
- package/esm/components/base-confirmation/index.js +19 -0
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -11
- package/esm/components/header/component.d.ts +13 -0
- package/esm/components/header/component.js +14 -0
- package/esm/components/header/index.css +51 -0
- package/esm/components/header/index.d.ts +1 -0
- package/esm/components/header/index.js +4 -0
- package/esm/components/index.js +4 -2
- package/esm/components/screens/fatal-error/component.d.ts +9 -3
- package/esm/components/screens/fatal-error/component.js +13 -8
- package/esm/components/screens/fatal-error/index.css +17 -29
- package/esm/components/screens/fatal-error/index.js +3 -0
- package/esm/components/screens/hint/component.d.ts +9 -3
- package/esm/components/screens/hint/component.js +17 -17
- package/esm/components/screens/hint/index.css +25 -48
- package/esm/components/screens/hint/index.js +2 -0
- package/esm/components/screens/index.js +4 -2
- package/esm/components/screens/initial/component.d.ts +9 -3
- package/esm/components/screens/initial/component.js +14 -11
- package/esm/components/screens/initial/countdown-section.js +3 -2
- package/esm/components/screens/initial/index.css +48 -45
- package/esm/components/screens/initial/index.js +4 -2
- package/esm/components/screens/temp-block/component.d.ts +9 -3
- package/esm/components/screens/temp-block/component.js +12 -7
- package/esm/components/screens/temp-block/index.css +12 -30
- package/esm/components/screens/temp-block/index.js +3 -0
- package/{modern/countdown-section-7a5f6574.d.ts → esm/countdown-section-b47c61ca.d.ts} +1 -0
- package/esm/countdown-section-b47c61ca.js +48 -0
- package/esm/desktop.d.ts +1 -0
- package/esm/desktop.js +20 -0
- package/esm/index.d.ts +2 -1
- package/esm/index.js +8 -3
- package/esm/mobile.css +4 -0
- package/esm/mobile.d.ts +1 -0
- package/esm/mobile.js +20 -0
- package/esm/responsive.d.ts +1 -0
- package/esm/responsive.js +22 -0
- package/esm/types.d.ts +4 -0
- package/index.d.ts +2 -1
- package/index.js +10 -4
- package/mobile.css +4 -0
- package/mobile.d.ts +1 -0
- package/mobile.js +28 -0
- package/modern/component.desktop.d.ts +5 -0
- package/modern/component.desktop.js +23 -0
- package/modern/component.mobile.d.ts +5 -0
- package/modern/component.mobile.js +26 -0
- package/modern/component.responsive.d.ts +6 -0
- package/modern/component.responsive.js +31 -0
- package/modern/components/base-confirmation/component.d.ts +4 -0
- package/modern/{component.js → components/base-confirmation/component.js} +16 -14
- package/modern/components/base-confirmation/index.css +24 -0
- package/modern/components/base-confirmation/index.d.ts +1 -0
- package/modern/components/base-confirmation/index.js +19 -0
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -11
- package/modern/components/header/component.d.ts +13 -0
- package/modern/components/header/component.js +10 -0
- package/modern/components/header/index.css +51 -0
- package/modern/components/header/index.d.ts +1 -0
- package/modern/components/header/index.js +4 -0
- package/modern/components/index.js +4 -2
- package/modern/components/screens/fatal-error/component.d.ts +9 -3
- package/modern/components/screens/fatal-error/component.js +11 -8
- package/modern/components/screens/fatal-error/index.css +17 -29
- package/modern/components/screens/fatal-error/index.js +3 -0
- package/modern/components/screens/hint/component.d.ts +9 -3
- package/modern/components/screens/hint/component.js +14 -16
- package/modern/components/screens/hint/index.css +25 -48
- package/modern/components/screens/hint/index.js +2 -0
- package/modern/components/screens/index.js +4 -2
- package/modern/components/screens/initial/component.d.ts +9 -3
- package/modern/components/screens/initial/component.js +10 -9
- package/modern/components/screens/initial/countdown-section.js +3 -2
- package/modern/components/screens/initial/index.css +48 -45
- package/modern/components/screens/initial/index.js +4 -2
- package/modern/components/screens/temp-block/component.d.ts +9 -3
- package/modern/components/screens/temp-block/component.js +8 -5
- package/modern/components/screens/temp-block/index.css +12 -30
- package/modern/components/screens/temp-block/index.js +3 -0
- package/{countdown-section-44184a06.d.ts → modern/countdown-section-2212ec31.d.ts} +1 -0
- package/modern/countdown-section-2212ec31.js +46 -0
- package/modern/desktop.d.ts +1 -0
- package/modern/desktop.js +20 -0
- package/modern/index.d.ts +2 -1
- package/modern/index.js +8 -3
- package/modern/mobile.css +4 -0
- package/modern/mobile.d.ts +1 -0
- package/modern/mobile.js +20 -0
- package/modern/responsive.d.ts +1 -0
- package/modern/responsive.js +22 -0
- package/modern/types.d.ts +4 -0
- package/package.json +4 -3
- package/responsive.d.ts +1 -0
- package/responsive.js +30 -0
- package/types.d.ts +4 -0
- package/component.d.ts +0 -4
- package/countdown-section-44184a06.js +0 -41
- package/cssm/component.d.ts +0 -4
- package/cssm/index.module.css +0 -46
- package/esm/component.d.ts +0 -4
- package/esm/countdown-section-3aba82dd.js +0 -33
- package/esm/index.css +0 -47
- package/index.css +0 -47
- package/modern/component.d.ts +0 -4
- package/modern/countdown-section-7a5f6574.js +0 -32
- package/modern/index.css +0 -47
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ConfirmationProps } from "./types";
|
|
3
|
+
declare function __extends(d: any, b: any): void;
|
|
4
|
+
declare function __rest(s: any, e: any): {};
|
|
5
|
+
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
6
|
+
declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
|
|
7
|
+
declare function __metadata(metadataKey: any, metadataValue: any): any;
|
|
8
|
+
declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
|
|
9
|
+
declare function __generator(thisArg: any, body: any): {
|
|
10
|
+
next: (v: any) => any;
|
|
11
|
+
throw: (v: any) => any;
|
|
12
|
+
return: (v: any) => any;
|
|
13
|
+
};
|
|
14
|
+
declare function __exportStar(m: any, o: any): void;
|
|
15
|
+
declare function __values(o: any): any;
|
|
16
|
+
declare function __read(o: any, n: any): any;
|
|
17
|
+
declare function __spread(...args: any[]): any[];
|
|
18
|
+
declare function __spreadArrays(...args: any[]): any[];
|
|
19
|
+
declare function __await(v: any): any;
|
|
20
|
+
declare class __await {
|
|
21
|
+
constructor(v: any);
|
|
22
|
+
v: any;
|
|
23
|
+
}
|
|
24
|
+
declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
|
|
25
|
+
declare function __asyncDelegator(o: any): {};
|
|
26
|
+
declare function __asyncValues(o: any): any;
|
|
27
|
+
declare function __makeTemplateObject(cooked: any, raw: any): any;
|
|
28
|
+
declare function __importStar(mod: any): any;
|
|
29
|
+
declare function __importDefault(mod: any): any;
|
|
30
|
+
declare function __classPrivateFieldGet(receiver: any, privateMap: any): any;
|
|
31
|
+
declare function __classPrivateFieldSet(receiver: any, privateMap: any, value: any): any;
|
|
32
|
+
declare function __assign(...args: any[]): any;
|
|
33
|
+
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
34
|
+
declare const BaseConfirmation: FC<ConfirmationProps>;
|
|
35
|
+
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding, BaseConfirmation };
|
|
@@ -1,22 +1,14 @@
|
|
|
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
5
|
var hooks = require('@alfalab/hooks');
|
|
8
6
|
var utils = require('./utils.js');
|
|
9
7
|
var context = require('./context.js');
|
|
10
8
|
var types = require('./types.js');
|
|
11
|
-
require('@alfalab/core-components-code-input');
|
|
12
|
-
require('@alfalab/core-components-link');
|
|
13
|
-
require('./countdown-section-44184a06.js');
|
|
14
|
-
require('@alfalab/core-components-loader');
|
|
15
|
-
require('@alfalab/core-components-button');
|
|
16
9
|
var components_screens_initial_component = require('./components/screens/initial/component.js');
|
|
17
10
|
var components_screens_hint_component = require('./components/screens/hint/component.js');
|
|
18
11
|
var components_screens_fatalError_component = require('./components/screens/fatal-error/component.js');
|
|
19
|
-
require('./components/countdown-loader/component.js');
|
|
20
12
|
var components_screens_tempBlock_component = require('./components/screens/temp-block/component.js');
|
|
21
13
|
|
|
22
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -38,8 +30,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
38
30
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
39
31
|
PERFORMANCE OF THIS SOFTWARE.
|
|
40
32
|
***************************************************************************** */
|
|
41
|
-
|
|
42
|
-
__assign = Object.assign || function __assign(t) {
|
|
33
|
+
exports.__assign = function () {
|
|
34
|
+
exports.__assign = Object.assign || function __assign(t) {
|
|
43
35
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44
36
|
s = arguments[i];
|
|
45
37
|
for (var p in s)
|
|
@@ -48,7 +40,7 @@ var __assign = function () {
|
|
|
48
40
|
}
|
|
49
41
|
return t;
|
|
50
42
|
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
43
|
+
return exports.__assign.apply(this, arguments);
|
|
52
44
|
};
|
|
53
45
|
function __rest(s, e) {
|
|
54
46
|
var t = {};
|
|
@@ -63,8 +55,8 @@ function __rest(s, e) {
|
|
|
63
55
|
return t;
|
|
64
56
|
}
|
|
65
57
|
|
|
66
|
-
var styles = {"component":"
|
|
67
|
-
require('./index.css')
|
|
58
|
+
var styles = {"component":"confirmation__component_n9c29","center":"confirmation__center_n9c29"};
|
|
59
|
+
require('./components/base-confirmation/index.css')
|
|
68
60
|
|
|
69
61
|
var confirmationScreens = {
|
|
70
62
|
INITIAL: components_screens_initial_component.Initial,
|
|
@@ -72,8 +64,8 @@ var confirmationScreens = {
|
|
|
72
64
|
FATAL_ERROR: components_screens_fatalError_component.FatalError,
|
|
73
65
|
TEMP_BLOCK: components_screens_tempBlock_component.TempBlock,
|
|
74
66
|
};
|
|
75
|
-
var
|
|
76
|
-
var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b, children = _a.children, _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, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished"]);
|
|
67
|
+
var BaseConfirmation = function (_a) {
|
|
68
|
+
var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b, children = _a.children, _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, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile"]);
|
|
77
69
|
var _f = utils.useCountdown(countdownDuration), timeLeft = _f[0], startTimer = _f[1], stopTimer = _f[2];
|
|
78
70
|
var prevState = hooks.usePrevious(state);
|
|
79
71
|
React.useEffect(function () {
|
|
@@ -110,7 +102,7 @@ var Confirmation = function (_a) {
|
|
|
110
102
|
};
|
|
111
103
|
var contextValue = {
|
|
112
104
|
alignContent: alignContent,
|
|
113
|
-
texts: __assign(__assign({}, types.defaultTexts), restProps.texts),
|
|
105
|
+
texts: exports.__assign(exports.__assign({}, types.defaultTexts), restProps.texts),
|
|
114
106
|
state: state,
|
|
115
107
|
screen: screen,
|
|
116
108
|
requiredCharAmount: requiredCharAmount,
|
|
@@ -129,7 +121,8 @@ var Confirmation = function (_a) {
|
|
|
129
121
|
var screensMap = getScreensMap ? getScreensMap(confirmationScreens) : confirmationScreens;
|
|
130
122
|
var CurrentScreen = screensMap[screen];
|
|
131
123
|
return (React__default['default'].createElement(context.ConfirmationContext.Provider, { value: contextValue },
|
|
132
|
-
React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent], className), "data-test-id": dataTestId }, CurrentScreen && React__default['default'].createElement(CurrentScreen,
|
|
124
|
+
React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent], className), "data-test-id": dataTestId }, CurrentScreen && React__default['default'].createElement(CurrentScreen, { mobile: mobile }))));
|
|
133
125
|
};
|
|
134
126
|
|
|
135
|
-
exports.
|
|
127
|
+
exports.BaseConfirmation = BaseConfirmation;
|
|
128
|
+
exports.__rest = __rest;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var components_baseConfirmation_component = require('./component-40c9adb0.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('./utils.js');
|
|
10
|
+
require('./context.js');
|
|
11
|
+
require('./types.js');
|
|
12
|
+
require('@alfalab/core-components-code-input');
|
|
13
|
+
require('@alfalab/core-components-link');
|
|
14
|
+
require('@alfalab/core-components-typography');
|
|
15
|
+
require('@alfalab/core-components-button');
|
|
16
|
+
require('./components/header/component.js');
|
|
17
|
+
require('@alfalab/core-components-loader');
|
|
18
|
+
require('./countdown-section-d04caa75.js');
|
|
19
|
+
require('./components/screens/initial/component.js');
|
|
20
|
+
require('./components/screens/hint/component.js');
|
|
21
|
+
require('./components/screens/fatal-error/component.js');
|
|
22
|
+
require('./components/countdown-loader/component.js');
|
|
23
|
+
require('./components/screens/temp-block/component.js');
|
|
24
|
+
|
|
25
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
26
|
+
|
|
27
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
28
|
+
|
|
29
|
+
var ConfirmationDesktop = function (props) { return (React__default['default'].createElement(components_baseConfirmation_component.BaseConfirmation, components_baseConfirmation_component.__assign({}, props))); };
|
|
30
|
+
|
|
31
|
+
exports.ConfirmationDesktop = ConfirmationDesktop;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var components_baseConfirmation_component = require('./component-40c9adb0.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var cn = require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('./utils.js');
|
|
10
|
+
require('./context.js');
|
|
11
|
+
require('./types.js');
|
|
12
|
+
require('@alfalab/core-components-code-input');
|
|
13
|
+
require('@alfalab/core-components-link');
|
|
14
|
+
require('@alfalab/core-components-typography');
|
|
15
|
+
require('@alfalab/core-components-button');
|
|
16
|
+
require('./components/header/component.js');
|
|
17
|
+
require('@alfalab/core-components-loader');
|
|
18
|
+
require('./countdown-section-d04caa75.js');
|
|
19
|
+
require('./components/screens/initial/component.js');
|
|
20
|
+
require('./components/screens/hint/component.js');
|
|
21
|
+
require('./components/screens/fatal-error/component.js');
|
|
22
|
+
require('./components/countdown-loader/component.js');
|
|
23
|
+
require('./components/screens/temp-block/component.js');
|
|
24
|
+
|
|
25
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
26
|
+
|
|
27
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
28
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
29
|
+
|
|
30
|
+
var styles = {"container":"confirmation__container_wf4yk"};
|
|
31
|
+
require('./mobile.css')
|
|
32
|
+
|
|
33
|
+
var ConfirmationMobile = function (_a) {
|
|
34
|
+
var className = _a.className, resProps = components_baseConfirmation_component.__rest(_a, ["className"]);
|
|
35
|
+
return (React__default['default'].createElement(components_baseConfirmation_component.BaseConfirmation, components_baseConfirmation_component.__assign({ mobile: true, className: cn__default['default'](className, styles.container) }, resProps)));
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
exports.ConfirmationMobile = ConfirmationMobile;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ConfirmationProps } from "./types";
|
|
3
|
+
type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'>;
|
|
4
|
+
type ConfirmationMedia = 'desktop' | 'mobile';
|
|
5
|
+
declare const ConfirmationResponsive: FC<ResponsiveConfirmationProps>;
|
|
6
|
+
export { ResponsiveConfirmationProps, ConfirmationMedia, ConfirmationResponsive };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var components_baseConfirmation_component = require('./component-40c9adb0.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
var hooks = require('@alfalab/hooks');
|
|
9
|
+
require('./utils.js');
|
|
10
|
+
require('./context.js');
|
|
11
|
+
require('./types.js');
|
|
12
|
+
require('@alfalab/core-components-code-input');
|
|
13
|
+
require('@alfalab/core-components-link');
|
|
14
|
+
require('@alfalab/core-components-typography');
|
|
15
|
+
require('@alfalab/core-components-button');
|
|
16
|
+
require('./components/header/component.js');
|
|
17
|
+
require('@alfalab/core-components-loader');
|
|
18
|
+
require('./countdown-section-d04caa75.js');
|
|
19
|
+
require('./components/screens/initial/component.js');
|
|
20
|
+
require('./components/screens/hint/component.js');
|
|
21
|
+
require('./components/screens/fatal-error/component.js');
|
|
22
|
+
require('./components/countdown-loader/component.js');
|
|
23
|
+
require('./components/screens/temp-block/component.js');
|
|
24
|
+
var component_desktop = require('./component.desktop.js');
|
|
25
|
+
var component_mobile = require('./component.mobile.js');
|
|
26
|
+
|
|
27
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
28
|
+
|
|
29
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
30
|
+
|
|
31
|
+
var ConfirmationResponsive = function (props) {
|
|
32
|
+
var view = hooks.useMedia([
|
|
33
|
+
['mobile', '(max-width: 1023px)'],
|
|
34
|
+
['desktop', '(min-width: 1024px)'],
|
|
35
|
+
], 'desktop')[0];
|
|
36
|
+
return view === 'desktop' ? (React__default['default'].createElement(component_desktop.ConfirmationDesktop, components_baseConfirmation_component.__assign({}, props))) : (React__default['default'].createElement(component_mobile.ConfirmationMobile, components_baseConfirmation_component.__assign({}, props)));
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
exports.ConfirmationResponsive = ConfirmationResponsive;
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var components_baseConfirmation_component = require('../../component-40c9adb0.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('../../utils.js');
|
|
10
|
+
require('../../context.js');
|
|
11
|
+
require('../../types.js');
|
|
12
|
+
require('@alfalab/core-components-code-input');
|
|
13
|
+
require('@alfalab/core-components-link');
|
|
14
|
+
require('@alfalab/core-components-typography');
|
|
15
|
+
require('@alfalab/core-components-button');
|
|
16
|
+
require('../header/component.js');
|
|
17
|
+
require('@alfalab/core-components-loader');
|
|
18
|
+
require('../../countdown-section-d04caa75.js');
|
|
19
|
+
require('../screens/initial/component.js');
|
|
20
|
+
require('../screens/hint/component.js');
|
|
21
|
+
require('../screens/fatal-error/component.js');
|
|
22
|
+
require('../countdown-loader/component.js');
|
|
23
|
+
require('../screens/temp-block/component.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.BaseConfirmation = components_baseConfirmation_component.BaseConfirmation;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* hash: 1y4yr */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-text-secondary: #546272;
|
|
4
|
+
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
8
|
+
|
|
9
|
+
/* Up */
|
|
10
|
+
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
.confirmation__component_n9c29 {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-width: 388px;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
color: var(--color-light-text-secondary);
|
|
20
|
+
}
|
|
21
|
+
.confirmation__center_n9c29 {
|
|
22
|
+
align-items: center;
|
|
23
|
+
text-align: center;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../component-40c9adb0";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var components_baseConfirmation_component = require('../../component-40c9adb0.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('../../utils.js');
|
|
10
|
+
require('../../context.js');
|
|
11
|
+
require('../../types.js');
|
|
12
|
+
require('@alfalab/core-components-code-input');
|
|
13
|
+
require('@alfalab/core-components-link');
|
|
14
|
+
require('@alfalab/core-components-typography');
|
|
15
|
+
require('@alfalab/core-components-button');
|
|
16
|
+
require('../header/component.js');
|
|
17
|
+
require('@alfalab/core-components-loader');
|
|
18
|
+
require('../../countdown-section-d04caa75.js');
|
|
19
|
+
require('../screens/initial/component.js');
|
|
20
|
+
require('../screens/hint/component.js');
|
|
21
|
+
require('../screens/fatal-error/component.js');
|
|
22
|
+
require('../countdown-loader/component.js');
|
|
23
|
+
require('../screens/temp-block/component.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.BaseConfirmation = components_baseConfirmation_component.BaseConfirmation;
|
|
@@ -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_h5jlk"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var SIZE = 16;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xam3 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-tertiary: #b6bcc3;
|
|
4
4
|
}
|
|
@@ -10,16 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
/* Hard up */
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
/* title */
|
|
15
|
-
|
|
16
|
-
/* text */
|
|
17
|
-
|
|
18
|
-
/* error */
|
|
19
|
-
|
|
20
|
-
/* input */
|
|
21
|
-
}
|
|
22
|
-
.confirmation__circle_16p6f {
|
|
13
|
+
.confirmation__circle_h5jlk {
|
|
23
14
|
fill: transparent;
|
|
24
15
|
stroke: var(--color-light-graphic-tertiary);
|
|
25
16
|
stroke-width: 2px;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type HeaderProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Контент шапки
|
|
5
|
+
*/
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Отображать в мобильной версии экран компонента
|
|
9
|
+
*/
|
|
10
|
+
mobile?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const Header: FC<HeaderProps>;
|
|
13
|
+
export { HeaderProps, Header };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var cn = require('classnames');
|
|
7
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
8
|
+
|
|
9
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
|
+
|
|
14
|
+
var styles = {"header":"confirmation__header_smzfd","typography":"confirmation__typography_smzfd","typographyMobile":"confirmation__typographyMobile_smzfd"};
|
|
15
|
+
require('./index.css')
|
|
16
|
+
|
|
17
|
+
var Header = function (_a) {
|
|
18
|
+
var _b;
|
|
19
|
+
var mobile = _a.mobile, children = _a.children;
|
|
20
|
+
return (React__default['default'].createElement(coreComponentsTypography.Typography.Title, { className: cn__default['default'](styles.header, styles.typography, (_b = {}, _b[styles.typographyMobile] = mobile, _b)), tag: 'h3', color: 'primary' }, children));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.Header = Header;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* hash: cyuy8 */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-xl: 24px;
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
15
|
+
sans-serif;
|
|
16
|
+
}
|
|
17
|
+
:root {
|
|
18
|
+
/* desktop */
|
|
19
|
+
--confirmation-header-desktop-font-size: 22px;
|
|
20
|
+
--confirmation-header-desktop-line-height: 26px;
|
|
21
|
+
--confirmation-header-desktop-font-weight: bold;
|
|
22
|
+
--confirmation-header-desktop-font-family: var(--font-family-system);
|
|
23
|
+
|
|
24
|
+
/* mobile */
|
|
25
|
+
--confirmation-header-mobile-font-size: 18px;
|
|
26
|
+
--confirmation-header-mobile-line-height: 22px;
|
|
27
|
+
--confirmation-header-mobile-font-weight: bold;
|
|
28
|
+
--confirmation-header-mobile-font-family: var(--font-family-system);
|
|
29
|
+
|
|
30
|
+
/* text */
|
|
31
|
+
|
|
32
|
+
/* header */
|
|
33
|
+
--confirmation-header-font-feature-settings: normal
|
|
34
|
+
}
|
|
35
|
+
.confirmation__header_smzfd {
|
|
36
|
+
margin-bottom: var(--gap-xl);
|
|
37
|
+
}
|
|
38
|
+
.confirmation__typography_smzfd {
|
|
39
|
+
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
40
|
+
font-size: var(--confirmation-header-desktop-font-size);
|
|
41
|
+
line-height: var(--confirmation-header-desktop-line-height);
|
|
42
|
+
font-weight: var(--confirmation-header-desktop-font-weight);
|
|
43
|
+
font-family: var(--confirmation-header-desktop-font-family);
|
|
44
|
+
}
|
|
45
|
+
.confirmation__typographyMobile_smzfd {
|
|
46
|
+
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
47
|
+
font-size: var(--confirmation-header-mobile-font-size);
|
|
48
|
+
line-height: var(--confirmation-header-mobile-line-height);
|
|
49
|
+
font-weight: var(--confirmation-header-mobile-font-weight);
|
|
50
|
+
font-family: var(--confirmation-header-mobile-font-family);
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./component";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('react');
|
|
6
|
+
require('classnames');
|
|
7
|
+
require('@alfalab/core-components-typography');
|
|
8
|
+
var components_header_component = require('./component.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.Header = components_header_component.Header;
|
package/components/index.js
CHANGED
|
@@ -9,9 +9,11 @@ require('../utils.js');
|
|
|
9
9
|
require('../context.js');
|
|
10
10
|
require('@alfalab/core-components-code-input');
|
|
11
11
|
require('@alfalab/core-components-link');
|
|
12
|
-
require('
|
|
13
|
-
require('@alfalab/core-components-loader');
|
|
12
|
+
require('@alfalab/core-components-typography');
|
|
14
13
|
require('@alfalab/core-components-button');
|
|
14
|
+
require('./header/component.js');
|
|
15
|
+
require('@alfalab/core-components-loader');
|
|
16
|
+
require('../countdown-section-d04caa75.js');
|
|
15
17
|
var components_screens_initial_component = require('./screens/initial/component.js');
|
|
16
18
|
var components_screens_hint_component = require('./screens/hint/component.js');
|
|
17
19
|
var components_screens_fatalError_component = require('./screens/fatal-error/component.js');
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type FatalErrorProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Отображать в мобильной версии экран компонента
|
|
5
|
+
*/
|
|
6
|
+
mobile?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const FatalError: FC<FatalErrorProps>;
|
|
9
|
+
export { FatalErrorProps, FatalError };
|
|
@@ -3,23 +3,29 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
+
var cn = require('classnames');
|
|
6
7
|
require('../../../utils.js');
|
|
7
8
|
var context = require('../../../context.js');
|
|
9
|
+
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
8
10
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
11
|
+
var components_header_component = require('../../header/component.js');
|
|
9
12
|
|
|
10
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
14
|
|
|
12
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
17
|
|
|
14
|
-
var styles = {"
|
|
18
|
+
var styles = {"typographyTheme":"confirmation__typographyTheme_6vibs","left":"confirmation__left_6vibs","center":"confirmation__center_6vibs","button":"confirmation__button_6vibs"};
|
|
15
19
|
require('./index.css')
|
|
16
20
|
|
|
17
|
-
var FatalError = function () {
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
React__default['default'].createElement(
|
|
21
|
+
var FatalError = function (_a) {
|
|
22
|
+
var _b;
|
|
23
|
+
var mobile = _a.mobile;
|
|
24
|
+
var _c = React.useContext(context.ConfirmationContext), alignContent = _c.alignContent, texts = _c.texts, onFatalErrorOkButtonClick = _c.onFatalErrorOkButtonClick;
|
|
25
|
+
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, styles[alignContent]) },
|
|
26
|
+
React__default['default'].createElement(components_header_component.Header, { mobile: mobile }, texts.fatalErrorTitle),
|
|
27
|
+
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default['default']((_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, texts.fatalErrorDescription),
|
|
28
|
+
React__default['default'].createElement(coreComponentsButton.Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: onFatalErrorOkButtonClick, className: styles.button }, texts.fatalErrorButton)));
|
|
23
29
|
};
|
|
24
30
|
|
|
25
31
|
exports.FatalError = FatalError;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ceovk */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
|
-
--color-light-text-secondary: #546272;
|
|
5
4
|
}
|
|
6
5
|
:root {
|
|
7
6
|
|
|
@@ -12,7 +11,6 @@
|
|
|
12
11
|
/* Hard up */
|
|
13
12
|
}
|
|
14
13
|
:root {
|
|
15
|
-
--gap-xl: 24px;
|
|
16
14
|
--gap-2xl: 32px;
|
|
17
15
|
}
|
|
18
16
|
:root {
|
|
@@ -20,42 +18,32 @@
|
|
|
20
18
|
sans-serif;
|
|
21
19
|
}
|
|
22
20
|
:root {
|
|
23
|
-
/*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
--confirmation-title-font-weight: 700;
|
|
27
|
-
--confirmation-title-font-family: var(--font-family-system);
|
|
28
|
-
--confirmation-title-color: var(--color-light-text-primary);
|
|
29
|
-
--confirmation-title-font-feature-settings: normal;
|
|
21
|
+
/* desktop */
|
|
22
|
+
|
|
23
|
+
/* mobile */
|
|
30
24
|
|
|
31
25
|
/* text */
|
|
32
26
|
--confirmation-text-font-size: 16px;
|
|
33
27
|
--confirmation-text-line-height: 24px;
|
|
34
28
|
--confirmation-text-font-weight: 400;
|
|
35
29
|
--confirmation-text-font-family: var(--font-family-system);
|
|
36
|
-
--confirmation-text-color: var(--color-light-text-
|
|
37
|
-
|
|
38
|
-
/* error */
|
|
30
|
+
--confirmation-text-color: var(--color-light-text-primary)
|
|
39
31
|
|
|
40
|
-
/*
|
|
41
|
-
}
|
|
42
|
-
.
|
|
43
|
-
margin: 0;
|
|
44
|
-
margin-bottom: var(--gap-xl);
|
|
45
|
-
font-size: var(--confirmation-title-font-size);
|
|
46
|
-
line-height: var(--confirmation-title-line-height);
|
|
47
|
-
font-weight: var(--confirmation-title-font-weight);
|
|
48
|
-
font-family: var(--confirmation-title-font-family);
|
|
49
|
-
color: var(--confirmation-title-color);
|
|
50
|
-
font-feature-settings: var(--confirmation-title-font-feature-settings);
|
|
51
|
-
}
|
|
52
|
-
.confirmation__description_1a9y7 {
|
|
32
|
+
/* header */
|
|
33
|
+
}
|
|
34
|
+
.confirmation__typographyTheme_6vibs {
|
|
53
35
|
font-size: var(--confirmation-text-font-size);
|
|
54
36
|
line-height: var(--confirmation-text-line-height);
|
|
55
37
|
font-weight: var(--confirmation-text-font-weight);
|
|
56
38
|
font-family: var(--confirmation-text-font-family);
|
|
57
39
|
color: var(--confirmation-text-color);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
40
|
+
}
|
|
41
|
+
.confirmation__left_6vibs {
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
}
|
|
44
|
+
.confirmation__center_6vibs {
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
.confirmation__button_6vibs {
|
|
48
|
+
margin-top: var(--gap-2xl);
|
|
61
49
|
}
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('react');
|
|
6
|
+
require('classnames');
|
|
6
7
|
require('../../../utils.js');
|
|
7
8
|
require('../../../context.js');
|
|
9
|
+
require('@alfalab/core-components-typography');
|
|
8
10
|
require('@alfalab/core-components-button');
|
|
11
|
+
require('../../header/component.js');
|
|
9
12
|
var components_screens_fatalError_component = require('./component.js');
|
|
10
13
|
|
|
11
14
|
|