@alfalab/core-components 45.8.0-beta.0 → 45.8.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bottom-sheet/component.js +22 -12
- package/bottom-sheet/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/consts/swipeConsts.js +7 -0
- package/bottom-sheet/cssm/component.js +22 -12
- package/bottom-sheet/cssm/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/cssm/consts/swipeConsts.js +7 -0
- package/bottom-sheet/cssm/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/cssm/enums/swipeEnums.js +9 -0
- package/bottom-sheet/cssm/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/cssm/types/swipeTypes.js +1 -0
- package/bottom-sheet/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/enums/swipeEnums.js +9 -0
- package/bottom-sheet/esm/component.js +23 -12
- package/bottom-sheet/esm/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/esm/consts/swipeConsts.js +5 -0
- package/bottom-sheet/esm/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/esm/enums/swipeEnums.js +9 -0
- package/bottom-sheet/esm/index.js +2 -0
- package/bottom-sheet/esm/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/esm/types/swipeTypes.js +1 -0
- package/bottom-sheet/modern/component.js +23 -9
- package/bottom-sheet/modern/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/modern/consts/swipeConsts.js +5 -0
- package/bottom-sheet/modern/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/modern/enums/swipeEnums.js +9 -0
- package/bottom-sheet/modern/index.js +2 -0
- package/bottom-sheet/modern/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/modern/types/swipeTypes.js +1 -0
- package/bottom-sheet/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/types/swipeTypes.js +1 -0
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/international-phone-input/cssm/typings-57569e57.d.ts +18 -2
- package/international-phone-input/esm/typings-57569e57.d.ts +18 -2
- package/international-phone-input/modern/typings-57569e57.d.ts +18 -2
- package/international-phone-input/typings-57569e57.d.ts +18 -2
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/package.json +1 -1
- package/picker-button/cssm/typings-57569e57.d.ts +18 -2
- package/picker-button/esm/typings-57569e57.d.ts +18 -2
- package/picker-button/modern/typings-57569e57.d.ts +18 -2
- package/picker-button/typings-57569e57.d.ts +18 -2
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/themes/click.css +1515 -0
- package/themes/compiled/mobile-dark-bluetint.css +65 -204
- package/themes/corp.css +1515 -0
- package/themes/intranet.css +1515 -0
- package/themes/mobile.css +1515 -0
- package/themes/site.css +1515 -0
- /package/confirmation/{countdown-section-ea52770e.d.ts → countdown-section-b30d5212.d.ts} +0 -0
- /package/confirmation/{countdown-section-ea52770e.js → countdown-section-b30d5212.js} +0 -0
- /package/confirmation/esm/{countdown-section-95b6b929.d.ts → countdown-section-c4f73a77.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-95b6b929.js → countdown-section-c4f73a77.js} +0 -0
- /package/confirmation/modern/{countdown-section-bfef8483.d.ts → countdown-section-f3215ad8.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-bfef8483.js → countdown-section-f3215ad8.js} +0 -0
- /package/gallery/{buttons-c863bfdb.d.ts → buttons-01e8353f.d.ts} +0 -0
- /package/gallery/{buttons-c863bfdb.js → buttons-01e8353f.js} +0 -0
- /package/gallery/esm/{buttons-7955bd19.d.ts → buttons-85c1b9a3.d.ts} +0 -0
- /package/gallery/esm/{buttons-7955bd19.js → buttons-85c1b9a3.js} +0 -0
- /package/gallery/esm/{slide-ccf09eda.d.ts → slide-530dfb83.d.ts} +0 -0
- /package/gallery/esm/{slide-ccf09eda.js → slide-530dfb83.js} +0 -0
- /package/gallery/modern/{buttons-a7c365d3.d.ts → buttons-5f86c790.d.ts} +0 -0
- /package/gallery/modern/{buttons-a7c365d3.js → buttons-5f86c790.js} +0 -0
- /package/gallery/modern/{slide-8098a08f.d.ts → slide-afec4d99.d.ts} +0 -0
- /package/gallery/modern/{slide-8098a08f.js → slide-afec4d99.js} +0 -0
- /package/gallery/{slide-11daaf82.d.ts → slide-18998644.d.ts} +0 -0
- /package/gallery/{slide-11daaf82.js → slide-18998644.js} +0 -0
- /package/modal/esm/{layout.module-b635b128.js → layout.module-1b8afca9.js} +0 -0
- /package/modal/{layout.module-34149103.js → layout.module-3eb92921.js} +0 -0
- /package/modal/modern/{layout.module-41e8947b.js → layout.module-13b15398.js} +0 -0
- /package/select/esm/{hook-c0758dcd.d.ts → hook-aa7d4c07.d.ts} +0 -0
- /package/select/esm/{hook-c0758dcd.js → hook-aa7d4c07.js} +0 -0
- /package/select/{hook-10a14b43.d.ts → hook-f0adfa6b.d.ts} +0 -0
- /package/select/{hook-10a14b43.js → hook-f0adfa6b.js} +0 -0
- /package/select/modern/{hook-5ccdb908.d.ts → hook-d72e58c4.d.ts} +0 -0
- /package/select/modern/{hook-5ccdb908.js → hook-d72e58c4.js} +0 -0
- /package/side-panel/esm/{layout.module-82f2a2ed.js → layout.module-d6ca40a5.js} +0 -0
- /package/side-panel/{layout.module-cda730eb.js → layout.module-85234bb1.js} +0 -0
- /package/side-panel/modern/{layout.module-2b3f98d0.js → layout.module-9f8549ee.js} +0 -0
|
@@ -11,6 +11,7 @@ var coreComponentsShared = require('../shared');
|
|
|
11
11
|
var components_footer_Component = require('./components/footer/Component.js');
|
|
12
12
|
var components_header_Component = require('./components/header/Component.js');
|
|
13
13
|
var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
|
|
14
|
+
var consts_swipeConsts = require('./consts/swipeConsts.js');
|
|
14
15
|
var utils = require('./utils.js');
|
|
15
16
|
|
|
16
17
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -185,8 +186,9 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
185
186
|
* Если контент внутри шторки скроллится - то шторка не должна свайпаться
|
|
186
187
|
* Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
|
|
187
188
|
*/
|
|
188
|
-
var shouldSkipSwiping = function (
|
|
189
|
+
var shouldSkipSwiping = function (swipeParams) {
|
|
189
190
|
var _a;
|
|
191
|
+
var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
|
|
190
192
|
if (scrollLockedProp || swipingInProgress)
|
|
191
193
|
return false;
|
|
192
194
|
if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
|
|
@@ -211,18 +213,24 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
211
213
|
if (!scrollOccurred.current && shouldScroll) {
|
|
212
214
|
scrollOccurred.current = true;
|
|
213
215
|
}
|
|
216
|
+
// Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
|
|
217
|
+
if (consts_swipeConsts.horizontalDirections.includes(dir)) {
|
|
218
|
+
return true;
|
|
219
|
+
}
|
|
214
220
|
return shouldScroll;
|
|
215
221
|
};
|
|
216
|
-
var
|
|
217
|
-
var initial =
|
|
218
|
-
|
|
222
|
+
var handleSheetSwipeEnd = function (swipeParams) {
|
|
223
|
+
var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
224
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
225
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
226
|
+
if (shouldPreventSwipe) {
|
|
219
227
|
return;
|
|
220
228
|
}
|
|
221
229
|
magnetize(velocity, deltaY);
|
|
222
230
|
};
|
|
223
|
-
var handleSheetSwipeStart = function (
|
|
224
|
-
var deltaY =
|
|
225
|
-
if (shouldSkipSwiping(deltaY, initial[1], event)) {
|
|
231
|
+
var handleSheetSwipeStart = function (swipeParams) {
|
|
232
|
+
var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
|
|
233
|
+
if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
|
|
226
234
|
return;
|
|
227
235
|
}
|
|
228
236
|
startSwiping(event);
|
|
@@ -231,9 +239,11 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
231
239
|
var event = _a.event;
|
|
232
240
|
return stopSwiping(event);
|
|
233
241
|
};
|
|
234
|
-
var
|
|
235
|
-
var initial =
|
|
236
|
-
|
|
242
|
+
var handleSheetSwipeMove = function (swipeParams) {
|
|
243
|
+
var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
244
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
245
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
246
|
+
if (shouldPreventSwipe) {
|
|
237
247
|
return;
|
|
238
248
|
}
|
|
239
249
|
if (!swipingInProgress) {
|
|
@@ -246,8 +256,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
246
256
|
};
|
|
247
257
|
var sheetSwipeableHandlers = reactSwipeable.useSwipeable({
|
|
248
258
|
onSwipeStart: handleSheetSwipeStart,
|
|
249
|
-
onSwiping:
|
|
250
|
-
onSwiped:
|
|
259
|
+
onSwiping: handleSheetSwipeMove,
|
|
260
|
+
onSwiped: handleSheetSwipeEnd,
|
|
251
261
|
onTouchEndOrOnMouseUp: handleTouchEnd,
|
|
252
262
|
trackMouse: swipeable,
|
|
253
263
|
trackTouch: swipeable,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var enums_swipeEnums = require('../enums/swipeEnums.js');
|
|
4
|
+
|
|
5
|
+
var horizontalDirections = [enums_swipeEnums.SwipeDirection.Left, enums_swipeEnums.SwipeDirection.Right];
|
|
6
|
+
|
|
7
|
+
exports.horizontalDirections = horizontalDirections;
|
|
@@ -11,6 +11,7 @@ var coreComponentsShared = require('../../shared/cssm');
|
|
|
11
11
|
var components_footer_Component = require('./components/footer/Component.js');
|
|
12
12
|
var components_header_Component = require('./components/header/Component.js');
|
|
13
13
|
var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
|
|
14
|
+
var consts_swipeConsts = require('./consts/swipeConsts.js');
|
|
14
15
|
var utils = require('./utils.js');
|
|
15
16
|
var styles = require('./index.module.css');
|
|
16
17
|
|
|
@@ -184,8 +185,9 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
184
185
|
* Если контент внутри шторки скроллится - то шторка не должна свайпаться
|
|
185
186
|
* Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
|
|
186
187
|
*/
|
|
187
|
-
var shouldSkipSwiping = function (
|
|
188
|
+
var shouldSkipSwiping = function (swipeParams) {
|
|
188
189
|
var _a;
|
|
190
|
+
var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
|
|
189
191
|
if (scrollLockedProp || swipingInProgress)
|
|
190
192
|
return false;
|
|
191
193
|
if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
|
|
@@ -210,18 +212,24 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
210
212
|
if (!scrollOccurred.current && shouldScroll) {
|
|
211
213
|
scrollOccurred.current = true;
|
|
212
214
|
}
|
|
215
|
+
// Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
|
|
216
|
+
if (consts_swipeConsts.horizontalDirections.includes(dir)) {
|
|
217
|
+
return true;
|
|
218
|
+
}
|
|
213
219
|
return shouldScroll;
|
|
214
220
|
};
|
|
215
|
-
var
|
|
216
|
-
var initial =
|
|
217
|
-
|
|
221
|
+
var handleSheetSwipeEnd = function (swipeParams) {
|
|
222
|
+
var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
223
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
224
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
225
|
+
if (shouldPreventSwipe) {
|
|
218
226
|
return;
|
|
219
227
|
}
|
|
220
228
|
magnetize(velocity, deltaY);
|
|
221
229
|
};
|
|
222
|
-
var handleSheetSwipeStart = function (
|
|
223
|
-
var deltaY =
|
|
224
|
-
if (shouldSkipSwiping(deltaY, initial[1], event)) {
|
|
230
|
+
var handleSheetSwipeStart = function (swipeParams) {
|
|
231
|
+
var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
|
|
232
|
+
if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
|
|
225
233
|
return;
|
|
226
234
|
}
|
|
227
235
|
startSwiping(event);
|
|
@@ -230,9 +238,11 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
230
238
|
var event = _a.event;
|
|
231
239
|
return stopSwiping(event);
|
|
232
240
|
};
|
|
233
|
-
var
|
|
234
|
-
var initial =
|
|
235
|
-
|
|
241
|
+
var handleSheetSwipeMove = function (swipeParams) {
|
|
242
|
+
var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
243
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
244
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
245
|
+
if (shouldPreventSwipe) {
|
|
236
246
|
return;
|
|
237
247
|
}
|
|
238
248
|
if (!swipingInProgress) {
|
|
@@ -245,8 +255,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
245
255
|
};
|
|
246
256
|
var sheetSwipeableHandlers = reactSwipeable.useSwipeable({
|
|
247
257
|
onSwipeStart: handleSheetSwipeStart,
|
|
248
|
-
onSwiping:
|
|
249
|
-
onSwiped:
|
|
258
|
+
onSwiping: handleSheetSwipeMove,
|
|
259
|
+
onSwiped: handleSheetSwipeEnd,
|
|
250
260
|
onTouchEndOrOnMouseUp: handleTouchEnd,
|
|
251
261
|
trackMouse: swipeable,
|
|
252
262
|
trackTouch: swipeable,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var enums_swipeEnums = require('../enums/swipeEnums.js');
|
|
4
|
+
|
|
5
|
+
var horizontalDirections = [enums_swipeEnums.SwipeDirection.Left, enums_swipeEnums.SwipeDirection.Right];
|
|
6
|
+
|
|
7
|
+
exports.horizontalDirections = horizontalDirections;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
exports.SwipeDirection = void 0;
|
|
4
|
+
(function (SwipeDirection) {
|
|
5
|
+
SwipeDirection["Left"] = "Left";
|
|
6
|
+
SwipeDirection["Right"] = "Right";
|
|
7
|
+
SwipeDirection["Up"] = "Up";
|
|
8
|
+
SwipeDirection["Down"] = "Down";
|
|
9
|
+
})(exports.SwipeDirection || (exports.SwipeDirection = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SwipeDirections } from 'react-swipeable';
|
|
2
|
+
import { HandledEvents } from 'react-swipeable/es/types';
|
|
3
|
+
type ShouldSkipSwipingParams = {
|
|
4
|
+
deltaY: number;
|
|
5
|
+
startY: number;
|
|
6
|
+
event: HandledEvents;
|
|
7
|
+
dir: SwipeDirections;
|
|
8
|
+
};
|
|
9
|
+
export { ShouldSkipSwipingParams };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
exports.SwipeDirection = void 0;
|
|
4
|
+
(function (SwipeDirection) {
|
|
5
|
+
SwipeDirection["Left"] = "Left";
|
|
6
|
+
SwipeDirection["Right"] = "Right";
|
|
7
|
+
SwipeDirection["Up"] = "Up";
|
|
8
|
+
SwipeDirection["Down"] = "Down";
|
|
9
|
+
})(exports.SwipeDirection || (exports.SwipeDirection = {}));
|
|
@@ -9,9 +9,11 @@ import { fnUtils, getDataTestId } from '../../shared/esm';
|
|
|
9
9
|
import { Footer } from './components/footer/Component.js';
|
|
10
10
|
import { Header } from './components/header/Component.js';
|
|
11
11
|
import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
|
|
12
|
+
import { horizontalDirections } from './consts/swipeConsts.js';
|
|
12
13
|
import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
|
|
13
14
|
import '../../navigation-bar/esm';
|
|
14
15
|
import '../../backdrop/esm';
|
|
16
|
+
import './enums/swipeEnums.js';
|
|
15
17
|
|
|
16
18
|
var styles = {"modal":"bottom-sheet__modal_tmbtb","wrapper":"bottom-sheet__wrapper_tmbtb","fullscreen":"bottom-sheet__fullscreen_tmbtb","component":"bottom-sheet__component_tmbtb","withTransition":"bottom-sheet__withTransition_tmbtb","scrollableContainer":"bottom-sheet__scrollableContainer_tmbtb","marker":"bottom-sheet__marker_tmbtb","defaultMarker":"bottom-sheet__defaultMarker_tmbtb","content":"bottom-sheet__content_tmbtb","noHeader":"bottom-sheet__noHeader_tmbtb","noFooter":"bottom-sheet__noFooter_tmbtb","scrollLocked":"bottom-sheet__scrollLocked_tmbtb","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_tmbtb","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_tmbtb","appear":"bottom-sheet__appear_tmbtb","enter":"bottom-sheet__enter_tmbtb","appearActive":"bottom-sheet__appearActive_tmbtb","enterActive":"bottom-sheet__enterActive_tmbtb","enterDone":"bottom-sheet__enterDone_tmbtb","appearDone":"bottom-sheet__appearDone_tmbtb","exit":"bottom-sheet__exit_tmbtb","exitActive":"bottom-sheet__exitActive_tmbtb","background-accent":"bottom-sheet__background-accent_tmbtb","background-info":"bottom-sheet__background-info_tmbtb","background-attention-muted":"bottom-sheet__background-attention-muted_tmbtb","background-positive-muted":"bottom-sheet__background-positive-muted_tmbtb","background-negative-muted":"bottom-sheet__background-negative-muted_tmbtb","background-primary":"bottom-sheet__background-primary_tmbtb","background-primary-inverted":"bottom-sheet__background-primary-inverted_tmbtb","background-secondary":"bottom-sheet__background-secondary_tmbtb","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_tmbtb","background-tertiary":"bottom-sheet__background-tertiary_tmbtb","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_tmbtb","background-quaternary":"bottom-sheet__background-quaternary_tmbtb","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_tmbtb","background-specialbg-component":"bottom-sheet__background-specialbg-component_tmbtb","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_tmbtb","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_tmbtb","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_tmbtb","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_tmbtb","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_tmbtb","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_tmbtb","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_tmbtb","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_tmbtb"};
|
|
17
19
|
require('./index.css');
|
|
@@ -179,8 +181,9 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
179
181
|
* Если контент внутри шторки скроллится - то шторка не должна свайпаться
|
|
180
182
|
* Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
|
|
181
183
|
*/
|
|
182
|
-
var shouldSkipSwiping = function (
|
|
184
|
+
var shouldSkipSwiping = function (swipeParams) {
|
|
183
185
|
var _a;
|
|
186
|
+
var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
|
|
184
187
|
if (scrollLockedProp || swipingInProgress)
|
|
185
188
|
return false;
|
|
186
189
|
if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
|
|
@@ -205,18 +208,24 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
205
208
|
if (!scrollOccurred.current && shouldScroll) {
|
|
206
209
|
scrollOccurred.current = true;
|
|
207
210
|
}
|
|
211
|
+
// Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
|
|
212
|
+
if (horizontalDirections.includes(dir)) {
|
|
213
|
+
return true;
|
|
214
|
+
}
|
|
208
215
|
return shouldScroll;
|
|
209
216
|
};
|
|
210
|
-
var
|
|
211
|
-
var initial =
|
|
212
|
-
|
|
217
|
+
var handleSheetSwipeEnd = function (swipeParams) {
|
|
218
|
+
var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
219
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
220
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
221
|
+
if (shouldPreventSwipe) {
|
|
213
222
|
return;
|
|
214
223
|
}
|
|
215
224
|
magnetize(velocity, deltaY);
|
|
216
225
|
};
|
|
217
|
-
var handleSheetSwipeStart = function (
|
|
218
|
-
var deltaY =
|
|
219
|
-
if (shouldSkipSwiping(deltaY, initial[1], event)) {
|
|
226
|
+
var handleSheetSwipeStart = function (swipeParams) {
|
|
227
|
+
var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
|
|
228
|
+
if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
|
|
220
229
|
return;
|
|
221
230
|
}
|
|
222
231
|
startSwiping(event);
|
|
@@ -225,9 +234,11 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
225
234
|
var event = _a.event;
|
|
226
235
|
return stopSwiping(event);
|
|
227
236
|
};
|
|
228
|
-
var
|
|
229
|
-
var initial =
|
|
230
|
-
|
|
237
|
+
var handleSheetSwipeMove = function (swipeParams) {
|
|
238
|
+
var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
|
|
239
|
+
var shouldPreventSwipe = scrollOccurred.current ||
|
|
240
|
+
shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
|
|
241
|
+
if (shouldPreventSwipe) {
|
|
231
242
|
return;
|
|
232
243
|
}
|
|
233
244
|
if (!swipingInProgress) {
|
|
@@ -240,8 +251,8 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
240
251
|
};
|
|
241
252
|
var sheetSwipeableHandlers = useSwipeable({
|
|
242
253
|
onSwipeStart: handleSheetSwipeStart,
|
|
243
|
-
onSwiping:
|
|
244
|
-
onSwiped:
|
|
254
|
+
onSwiping: handleSheetSwipeMove,
|
|
255
|
+
onSwiped: handleSheetSwipeEnd,
|
|
245
256
|
onTouchEndOrOnMouseUp: handleTouchEnd,
|
|
246
257
|
trackMouse: swipeable,
|
|
247
258
|
trackTouch: swipeable,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var SwipeDirection;
|
|
2
|
+
(function (SwipeDirection) {
|
|
3
|
+
SwipeDirection["Left"] = "Left";
|
|
4
|
+
SwipeDirection["Right"] = "Right";
|
|
5
|
+
SwipeDirection["Up"] = "Up";
|
|
6
|
+
SwipeDirection["Down"] = "Down";
|
|
7
|
+
})(SwipeDirection || (SwipeDirection = {}));
|
|
8
|
+
|
|
9
|
+
export { SwipeDirection };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SwipeDirections } from 'react-swipeable';
|
|
2
|
+
import { HandledEvents } from 'react-swipeable/es/types';
|
|
3
|
+
type ShouldSkipSwipingParams = {
|
|
4
|
+
deltaY: number;
|
|
5
|
+
startY: number;
|
|
6
|
+
event: HandledEvents;
|
|
7
|
+
dir: SwipeDirections;
|
|
8
|
+
};
|
|
9
|
+
export { ShouldSkipSwipingParams };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -8,9 +8,11 @@ import { getDataTestId, fnUtils } from '../../shared/modern';
|
|
|
8
8
|
import { Footer } from './components/footer/Component.js';
|
|
9
9
|
import { Header } from './components/header/Component.js';
|
|
10
10
|
import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
|
|
11
|
+
import { horizontalDirections } from './consts/swipeConsts.js';
|
|
11
12
|
import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
|
|
12
13
|
import '../../navigation-bar/modern';
|
|
13
14
|
import '../../backdrop/modern';
|
|
15
|
+
import './enums/swipeEnums.js';
|
|
14
16
|
|
|
15
17
|
const styles = {"modal":"bottom-sheet__modal_tmbtb","wrapper":"bottom-sheet__wrapper_tmbtb","fullscreen":"bottom-sheet__fullscreen_tmbtb","component":"bottom-sheet__component_tmbtb","withTransition":"bottom-sheet__withTransition_tmbtb","scrollableContainer":"bottom-sheet__scrollableContainer_tmbtb","marker":"bottom-sheet__marker_tmbtb","defaultMarker":"bottom-sheet__defaultMarker_tmbtb","content":"bottom-sheet__content_tmbtb","noHeader":"bottom-sheet__noHeader_tmbtb","noFooter":"bottom-sheet__noFooter_tmbtb","scrollLocked":"bottom-sheet__scrollLocked_tmbtb","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_tmbtb","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_tmbtb","appear":"bottom-sheet__appear_tmbtb","enter":"bottom-sheet__enter_tmbtb","appearActive":"bottom-sheet__appearActive_tmbtb","enterActive":"bottom-sheet__enterActive_tmbtb","enterDone":"bottom-sheet__enterDone_tmbtb","appearDone":"bottom-sheet__appearDone_tmbtb","exit":"bottom-sheet__exit_tmbtb","exitActive":"bottom-sheet__exitActive_tmbtb","background-accent":"bottom-sheet__background-accent_tmbtb","background-info":"bottom-sheet__background-info_tmbtb","background-attention-muted":"bottom-sheet__background-attention-muted_tmbtb","background-positive-muted":"bottom-sheet__background-positive-muted_tmbtb","background-negative-muted":"bottom-sheet__background-negative-muted_tmbtb","background-primary":"bottom-sheet__background-primary_tmbtb","background-primary-inverted":"bottom-sheet__background-primary-inverted_tmbtb","background-secondary":"bottom-sheet__background-secondary_tmbtb","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_tmbtb","background-tertiary":"bottom-sheet__background-tertiary_tmbtb","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_tmbtb","background-quaternary":"bottom-sheet__background-quaternary_tmbtb","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_tmbtb","background-specialbg-component":"bottom-sheet__background-specialbg-component_tmbtb","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_tmbtb","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_tmbtb","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_tmbtb","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_tmbtb","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_tmbtb","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_tmbtb","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_tmbtb","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_tmbtb"};
|
|
16
18
|
require('./index.css');
|
|
@@ -197,7 +199,8 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
197
199
|
* Если контент внутри шторки скроллится - то шторка не должна свайпаться
|
|
198
200
|
* Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
|
|
199
201
|
*/
|
|
200
|
-
const shouldSkipSwiping = (
|
|
202
|
+
const shouldSkipSwiping = (swipeParams) => {
|
|
203
|
+
const { deltaY, startY, event, dir } = swipeParams;
|
|
201
204
|
if (scrollLockedProp || swipingInProgress)
|
|
202
205
|
return false;
|
|
203
206
|
if (!swipeableContent && contentRef.current?.contains(event.target)) {
|
|
@@ -222,23 +225,34 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
222
225
|
if (!scrollOccurred.current && shouldScroll) {
|
|
223
226
|
scrollOccurred.current = true;
|
|
224
227
|
}
|
|
228
|
+
// Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
|
|
229
|
+
if (horizontalDirections.includes(dir)) {
|
|
230
|
+
return true;
|
|
231
|
+
}
|
|
225
232
|
return shouldScroll;
|
|
226
233
|
};
|
|
227
|
-
const
|
|
228
|
-
|
|
234
|
+
const handleSheetSwipeEnd = (swipeParams) => {
|
|
235
|
+
const { initial, velocity, deltaY, event, dir } = swipeParams;
|
|
236
|
+
const shouldPreventSwipe = scrollOccurred.current ||
|
|
237
|
+
shouldSkipSwiping({ deltaY, startY: initial[1], event, dir });
|
|
238
|
+
if (shouldPreventSwipe) {
|
|
229
239
|
return;
|
|
230
240
|
}
|
|
231
241
|
magnetize(velocity, deltaY);
|
|
232
242
|
};
|
|
233
|
-
const handleSheetSwipeStart = (
|
|
234
|
-
|
|
243
|
+
const handleSheetSwipeStart = (swipeParams) => {
|
|
244
|
+
const { deltaY, initial, event, dir } = swipeParams;
|
|
245
|
+
if (shouldSkipSwiping({ deltaY, startY: initial[1], event, dir })) {
|
|
235
246
|
return;
|
|
236
247
|
}
|
|
237
248
|
startSwiping(event);
|
|
238
249
|
};
|
|
239
250
|
const handleTouchEnd = ({ event }) => stopSwiping(event);
|
|
240
|
-
const
|
|
241
|
-
|
|
251
|
+
const handleSheetSwipeMove = (swipeParams) => {
|
|
252
|
+
const { initial, deltaY, event, dir } = swipeParams;
|
|
253
|
+
const shouldPreventSwipe = scrollOccurred.current ||
|
|
254
|
+
shouldSkipSwiping({ deltaY, startY: initial[1], event, dir });
|
|
255
|
+
if (shouldPreventSwipe) {
|
|
242
256
|
return;
|
|
243
257
|
}
|
|
244
258
|
if (!swipingInProgress) {
|
|
@@ -251,8 +265,8 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
251
265
|
};
|
|
252
266
|
const sheetSwipeableHandlers = useSwipeable({
|
|
253
267
|
onSwipeStart: handleSheetSwipeStart,
|
|
254
|
-
onSwiping:
|
|
255
|
-
onSwiped:
|
|
268
|
+
onSwiping: handleSheetSwipeMove,
|
|
269
|
+
onSwiped: handleSheetSwipeEnd,
|
|
256
270
|
onTouchEndOrOnMouseUp: handleTouchEnd,
|
|
257
271
|
trackMouse: swipeable,
|
|
258
272
|
trackTouch: swipeable,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var SwipeDirection;
|
|
2
|
+
(function (SwipeDirection) {
|
|
3
|
+
SwipeDirection["Left"] = "Left";
|
|
4
|
+
SwipeDirection["Right"] = "Right";
|
|
5
|
+
SwipeDirection["Up"] = "Up";
|
|
6
|
+
SwipeDirection["Down"] = "Down";
|
|
7
|
+
})(SwipeDirection || (SwipeDirection = {}));
|
|
8
|
+
|
|
9
|
+
export { SwipeDirection };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SwipeDirections } from 'react-swipeable';
|
|
2
|
+
import { HandledEvents } from 'react-swipeable/es/types';
|
|
3
|
+
type ShouldSkipSwipingParams = {
|
|
4
|
+
deltaY: number;
|
|
5
|
+
startY: number;
|
|
6
|
+
event: HandledEvents;
|
|
7
|
+
dir: SwipeDirections;
|
|
8
|
+
};
|
|
9
|
+
export { ShouldSkipSwipingParams };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SwipeDirections } from 'react-swipeable';
|
|
2
|
+
import { HandledEvents } from 'react-swipeable/es/types';
|
|
3
|
+
type ShouldSkipSwipingParams = {
|
|
4
|
+
deltaY: number;
|
|
5
|
+
startY: number;
|
|
6
|
+
event: HandledEvents;
|
|
7
|
+
dir: SwipeDirections;
|
|
8
|
+
};
|
|
9
|
+
export { ShouldSkipSwipingParams };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
|
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
11
|
var context = require('../../../context.js');
|
|
12
12
|
var components_header_component = require('../../header/component.js');
|
|
13
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
13
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-b30d5212.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@ require('../../../../spinner');
|
|
|
7
7
|
require('../../../../typography');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('../../../utils.js');
|
|
10
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-b30d5212.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-c4f73a77.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -15,7 +15,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
15
15
|
import '../../../../link/esm';
|
|
16
16
|
import '../../../../typography/esm';
|
|
17
17
|
import '../header/component.js';
|
|
18
|
-
import '../../countdown-section-
|
|
18
|
+
import '../../countdown-section-c4f73a77.js';
|
|
19
19
|
import '../../../../button/esm';
|
|
20
20
|
import '../../../../spinner/esm';
|
|
21
21
|
import '../countdown-loader/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../../link/esm';
|
|
14
14
|
import '../../../../typography/esm';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-c4f73a77.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-c4f73a77.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-c4f73a77.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-c4f73a77.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/esm';
|
|
14
14
|
import '../../../../../spinner/esm';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
|
|
|
4
4
|
import '../../../../../spinner/esm';
|
|
5
5
|
import '../../../../../typography/esm';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-c4f73a77.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-c4f73a77.js';
|
|
14
14
|
import '../../../../../button/esm';
|
|
15
15
|
import '../../../../../spinner/esm';
|