@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.
Files changed (208) hide show
  1. package/bottom-sheet/component.js +22 -12
  2. package/bottom-sheet/consts/swipeConsts.d.ts +2 -0
  3. package/bottom-sheet/consts/swipeConsts.js +7 -0
  4. package/bottom-sheet/cssm/component.js +22 -12
  5. package/bottom-sheet/cssm/consts/swipeConsts.d.ts +2 -0
  6. package/bottom-sheet/cssm/consts/swipeConsts.js +7 -0
  7. package/bottom-sheet/cssm/enums/swipeEnums.d.ts +7 -0
  8. package/bottom-sheet/cssm/enums/swipeEnums.js +9 -0
  9. package/bottom-sheet/cssm/types/swipeTypes.d.ts +9 -0
  10. package/bottom-sheet/cssm/types/swipeTypes.js +1 -0
  11. package/bottom-sheet/enums/swipeEnums.d.ts +7 -0
  12. package/bottom-sheet/enums/swipeEnums.js +9 -0
  13. package/bottom-sheet/esm/component.js +23 -12
  14. package/bottom-sheet/esm/consts/swipeConsts.d.ts +2 -0
  15. package/bottom-sheet/esm/consts/swipeConsts.js +5 -0
  16. package/bottom-sheet/esm/enums/swipeEnums.d.ts +7 -0
  17. package/bottom-sheet/esm/enums/swipeEnums.js +9 -0
  18. package/bottom-sheet/esm/index.js +2 -0
  19. package/bottom-sheet/esm/types/swipeTypes.d.ts +9 -0
  20. package/bottom-sheet/esm/types/swipeTypes.js +1 -0
  21. package/bottom-sheet/modern/component.js +23 -9
  22. package/bottom-sheet/modern/consts/swipeConsts.d.ts +2 -0
  23. package/bottom-sheet/modern/consts/swipeConsts.js +5 -0
  24. package/bottom-sheet/modern/enums/swipeEnums.d.ts +7 -0
  25. package/bottom-sheet/modern/enums/swipeEnums.js +9 -0
  26. package/bottom-sheet/modern/index.js +2 -0
  27. package/bottom-sheet/modern/types/swipeTypes.d.ts +9 -0
  28. package/bottom-sheet/modern/types/swipeTypes.js +1 -0
  29. package/bottom-sheet/types/swipeTypes.d.ts +9 -0
  30. package/bottom-sheet/types/swipeTypes.js +1 -0
  31. package/confirmation/components/screens/initial/component.js +1 -1
  32. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  33. package/confirmation/esm/component.responsive.js +1 -1
  34. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  35. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  36. package/confirmation/esm/components/index.js +1 -1
  37. package/confirmation/esm/components/screens/index.js +1 -1
  38. package/confirmation/esm/components/screens/initial/component.js +1 -1
  39. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  40. package/confirmation/esm/components/screens/initial/index.js +1 -1
  41. package/confirmation/esm/desktop/component.desktop.js +1 -1
  42. package/confirmation/esm/desktop/index.js +1 -1
  43. package/confirmation/esm/index.js +1 -1
  44. package/confirmation/esm/mobile/component.mobile.js +1 -1
  45. package/confirmation/esm/mobile/index.js +1 -1
  46. package/confirmation/esm/shared/index.js +1 -1
  47. package/confirmation/modern/component.responsive.js +1 -1
  48. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  49. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  50. package/confirmation/modern/components/index.js +1 -1
  51. package/confirmation/modern/components/screens/index.js +1 -1
  52. package/confirmation/modern/components/screens/initial/component.js +1 -1
  53. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  54. package/confirmation/modern/components/screens/initial/index.js +1 -1
  55. package/confirmation/modern/desktop/component.desktop.js +1 -1
  56. package/confirmation/modern/desktop/index.js +1 -1
  57. package/confirmation/modern/index.js +1 -1
  58. package/confirmation/modern/mobile/component.mobile.js +1 -1
  59. package/confirmation/modern/mobile/index.js +1 -1
  60. package/confirmation/modern/shared/index.js +1 -1
  61. package/gallery/components/header/Component.js +1 -1
  62. package/gallery/components/header/buttons.js +1 -1
  63. package/gallery/components/image-viewer/component.js +1 -1
  64. package/gallery/components/image-viewer/slide.js +1 -1
  65. package/gallery/esm/Component.js +2 -2
  66. package/gallery/esm/components/header/Component.js +1 -1
  67. package/gallery/esm/components/header/buttons.js +1 -1
  68. package/gallery/esm/components/header/index.js +1 -1
  69. package/gallery/esm/components/image-preview/Component.js +1 -1
  70. package/gallery/esm/components/image-preview/index.js +1 -1
  71. package/gallery/esm/components/image-viewer/component.js +1 -1
  72. package/gallery/esm/components/image-viewer/index.js +1 -1
  73. package/gallery/esm/components/image-viewer/slide.js +1 -1
  74. package/gallery/esm/components/index.js +2 -2
  75. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  76. package/gallery/esm/components/navigation-bar/index.js +1 -1
  77. package/gallery/esm/index.js +2 -2
  78. package/gallery/modern/Component.js +2 -2
  79. package/gallery/modern/components/header/Component.js +1 -1
  80. package/gallery/modern/components/header/buttons.js +1 -1
  81. package/gallery/modern/components/header/index.js +1 -1
  82. package/gallery/modern/components/image-preview/Component.js +1 -1
  83. package/gallery/modern/components/image-preview/index.js +1 -1
  84. package/gallery/modern/components/image-viewer/component.js +1 -1
  85. package/gallery/modern/components/image-viewer/index.js +1 -1
  86. package/gallery/modern/components/image-viewer/slide.js +1 -1
  87. package/gallery/modern/components/index.js +2 -2
  88. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  89. package/gallery/modern/components/navigation-bar/index.js +1 -1
  90. package/gallery/modern/index.js +2 -2
  91. package/international-phone-input/cssm/typings-57569e57.d.ts +18 -2
  92. package/international-phone-input/esm/typings-57569e57.d.ts +18 -2
  93. package/international-phone-input/modern/typings-57569e57.d.ts +18 -2
  94. package/international-phone-input/typings-57569e57.d.ts +18 -2
  95. package/modal/components/controls/Component.js +1 -1
  96. package/modal/components/footer/Component.js +1 -1
  97. package/modal/esm/Component.responsive.js +1 -1
  98. package/modal/esm/components/controls/Component.js +1 -1
  99. package/modal/esm/components/controls/index.js +1 -1
  100. package/modal/esm/components/footer/Component.js +1 -1
  101. package/modal/esm/desktop/Component.desktop.js +1 -1
  102. package/modal/esm/desktop/index.js +1 -1
  103. package/modal/esm/index.js +1 -1
  104. package/modal/esm/mobile/Component.mobile.js +1 -1
  105. package/modal/esm/mobile/index.js +1 -1
  106. package/modal/modern/Component.responsive.js +1 -1
  107. package/modal/modern/components/controls/Component.js +1 -1
  108. package/modal/modern/components/controls/index.js +1 -1
  109. package/modal/modern/components/footer/Component.js +1 -1
  110. package/modal/modern/desktop/Component.desktop.js +1 -1
  111. package/modal/modern/desktop/index.js +1 -1
  112. package/modal/modern/index.js +1 -1
  113. package/modal/modern/mobile/Component.mobile.js +1 -1
  114. package/modal/modern/mobile/index.js +1 -1
  115. package/package.json +1 -1
  116. package/picker-button/cssm/typings-57569e57.d.ts +18 -2
  117. package/picker-button/esm/typings-57569e57.d.ts +18 -2
  118. package/picker-button/modern/typings-57569e57.d.ts +18 -2
  119. package/picker-button/typings-57569e57.d.ts +18 -2
  120. package/select/esm/Component.responsive.js +1 -1
  121. package/select/esm/index.js +1 -1
  122. package/select/esm/mobile/Component.mobile.js +1 -1
  123. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  124. package/select/esm/mobile/index.js +1 -1
  125. package/select/esm/presets/index.js +1 -1
  126. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  127. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  128. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  129. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  130. package/select/esm/shared/index.js +1 -1
  131. package/select/mobile/Component.mobile.js +1 -1
  132. package/select/modern/Component.responsive.js +1 -1
  133. package/select/modern/index.js +1 -1
  134. package/select/modern/mobile/Component.mobile.js +1 -1
  135. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  136. package/select/modern/mobile/index.js +1 -1
  137. package/select/modern/presets/index.js +1 -1
  138. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  139. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  140. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  141. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  142. package/select/modern/shared/index.js +1 -1
  143. package/select/presets/index.js +1 -1
  144. package/select/presets/useSelectWithApply/hook.js +1 -1
  145. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  146. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  147. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  148. package/select/shared/index.js +1 -1
  149. package/side-panel/components/controls/Component.js +1 -1
  150. package/side-panel/components/footer/Component.js +1 -1
  151. package/side-panel/esm/Component.responsive.js +1 -1
  152. package/side-panel/esm/components/controls/Component.js +1 -1
  153. package/side-panel/esm/components/controls/index.js +1 -1
  154. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  155. package/side-panel/esm/components/footer/Component.js +1 -1
  156. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  157. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  158. package/side-panel/esm/desktop/index.js +1 -1
  159. package/side-panel/esm/index.js +1 -1
  160. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  161. package/side-panel/esm/mobile/index.js +1 -1
  162. package/side-panel/modern/Component.responsive.js +1 -1
  163. package/side-panel/modern/components/controls/Component.js +1 -1
  164. package/side-panel/modern/components/controls/index.js +1 -1
  165. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  166. package/side-panel/modern/components/footer/Component.js +1 -1
  167. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  168. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  169. package/side-panel/modern/desktop/index.js +1 -1
  170. package/side-panel/modern/index.js +1 -1
  171. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  172. package/side-panel/modern/mobile/index.js +1 -1
  173. package/themes/click.css +1515 -0
  174. package/themes/compiled/mobile-dark-bluetint.css +65 -204
  175. package/themes/corp.css +1515 -0
  176. package/themes/intranet.css +1515 -0
  177. package/themes/mobile.css +1515 -0
  178. package/themes/site.css +1515 -0
  179. /package/confirmation/{countdown-section-ea52770e.d.ts → countdown-section-b30d5212.d.ts} +0 -0
  180. /package/confirmation/{countdown-section-ea52770e.js → countdown-section-b30d5212.js} +0 -0
  181. /package/confirmation/esm/{countdown-section-95b6b929.d.ts → countdown-section-c4f73a77.d.ts} +0 -0
  182. /package/confirmation/esm/{countdown-section-95b6b929.js → countdown-section-c4f73a77.js} +0 -0
  183. /package/confirmation/modern/{countdown-section-bfef8483.d.ts → countdown-section-f3215ad8.d.ts} +0 -0
  184. /package/confirmation/modern/{countdown-section-bfef8483.js → countdown-section-f3215ad8.js} +0 -0
  185. /package/gallery/{buttons-c863bfdb.d.ts → buttons-01e8353f.d.ts} +0 -0
  186. /package/gallery/{buttons-c863bfdb.js → buttons-01e8353f.js} +0 -0
  187. /package/gallery/esm/{buttons-7955bd19.d.ts → buttons-85c1b9a3.d.ts} +0 -0
  188. /package/gallery/esm/{buttons-7955bd19.js → buttons-85c1b9a3.js} +0 -0
  189. /package/gallery/esm/{slide-ccf09eda.d.ts → slide-530dfb83.d.ts} +0 -0
  190. /package/gallery/esm/{slide-ccf09eda.js → slide-530dfb83.js} +0 -0
  191. /package/gallery/modern/{buttons-a7c365d3.d.ts → buttons-5f86c790.d.ts} +0 -0
  192. /package/gallery/modern/{buttons-a7c365d3.js → buttons-5f86c790.js} +0 -0
  193. /package/gallery/modern/{slide-8098a08f.d.ts → slide-afec4d99.d.ts} +0 -0
  194. /package/gallery/modern/{slide-8098a08f.js → slide-afec4d99.js} +0 -0
  195. /package/gallery/{slide-11daaf82.d.ts → slide-18998644.d.ts} +0 -0
  196. /package/gallery/{slide-11daaf82.js → slide-18998644.js} +0 -0
  197. /package/modal/esm/{layout.module-b635b128.js → layout.module-1b8afca9.js} +0 -0
  198. /package/modal/{layout.module-34149103.js → layout.module-3eb92921.js} +0 -0
  199. /package/modal/modern/{layout.module-41e8947b.js → layout.module-13b15398.js} +0 -0
  200. /package/select/esm/{hook-c0758dcd.d.ts → hook-aa7d4c07.d.ts} +0 -0
  201. /package/select/esm/{hook-c0758dcd.js → hook-aa7d4c07.js} +0 -0
  202. /package/select/{hook-10a14b43.d.ts → hook-f0adfa6b.d.ts} +0 -0
  203. /package/select/{hook-10a14b43.js → hook-f0adfa6b.js} +0 -0
  204. /package/select/modern/{hook-5ccdb908.d.ts → hook-d72e58c4.d.ts} +0 -0
  205. /package/select/modern/{hook-5ccdb908.js → hook-d72e58c4.js} +0 -0
  206. /package/side-panel/esm/{layout.module-82f2a2ed.js → layout.module-d6ca40a5.js} +0 -0
  207. /package/side-panel/{layout.module-cda730eb.js → layout.module-85234bb1.js} +0 -0
  208. /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 (deltaY, startY, event) {
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 handleSheetSwipe = function (_a) {
217
- var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
218
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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 (_a) {
224
- var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
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 handleSheetSwiping = function (_a) {
235
- var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
236
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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: handleSheetSwiping,
250
- onSwiped: handleSheetSwipe,
259
+ onSwiping: handleSheetSwipeMove,
260
+ onSwiped: handleSheetSwipeEnd,
251
261
  onTouchEndOrOnMouseUp: handleTouchEnd,
252
262
  trackMouse: swipeable,
253
263
  trackTouch: swipeable,
@@ -0,0 +1,2 @@
1
+ declare const horizontalDirections: [string, string];
2
+ export { horizontalDirections };
@@ -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 (deltaY, startY, event) {
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 handleSheetSwipe = function (_a) {
216
- var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
217
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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 (_a) {
223
- var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
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 handleSheetSwiping = function (_a) {
234
- var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
235
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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: handleSheetSwiping,
249
- onSwiped: handleSheetSwipe,
258
+ onSwiping: handleSheetSwipeMove,
259
+ onSwiped: handleSheetSwipeEnd,
250
260
  onTouchEndOrOnMouseUp: handleTouchEnd,
251
261
  trackMouse: swipeable,
252
262
  trackTouch: swipeable,
@@ -0,0 +1,2 @@
1
+ declare const horizontalDirections: [string, string];
2
+ export { horizontalDirections };
@@ -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,7 @@
1
+ declare enum SwipeDirection {
2
+ Left = "Left",
3
+ Right = "Right",
4
+ Up = "Up",
5
+ Down = "Down"
6
+ }
7
+ export { SwipeDirection };
@@ -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,7 @@
1
+ declare enum SwipeDirection {
2
+ Left = "Left",
3
+ Right = "Right",
4
+ Up = "Up",
5
+ Down = "Down"
6
+ }
7
+ export { SwipeDirection };
@@ -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 (deltaY, startY, event) {
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 handleSheetSwipe = function (_a) {
211
- var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
212
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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 (_a) {
218
- var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
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 handleSheetSwiping = function (_a) {
229
- var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
230
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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: handleSheetSwiping,
244
- onSwiped: handleSheetSwipe,
254
+ onSwiping: handleSheetSwipeMove,
255
+ onSwiped: handleSheetSwipeEnd,
245
256
  onTouchEndOrOnMouseUp: handleTouchEnd,
246
257
  trackMouse: swipeable,
247
258
  trackTouch: swipeable,
@@ -0,0 +1,2 @@
1
+ declare const horizontalDirections: [string, string];
2
+ export { horizontalDirections };
@@ -0,0 +1,5 @@
1
+ import { SwipeDirection } from '../enums/swipeEnums.js';
2
+
3
+ var horizontalDirections = [SwipeDirection.Left, SwipeDirection.Right];
4
+
5
+ export { horizontalDirections };
@@ -0,0 +1,7 @@
1
+ declare enum SwipeDirection {
2
+ Left = "Left",
3
+ Right = "Right",
4
+ Up = "Up",
5
+ Down = "Down"
6
+ }
7
+ export { SwipeDirection };
@@ -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 };
@@ -13,3 +13,5 @@ import './components/header/Component.js';
13
13
  import '../../navigation-bar/esm';
14
14
  import './components/swipeable-backdrop/Component.js';
15
15
  import '../../backdrop/esm';
16
+ import './consts/swipeConsts.js';
17
+ import './enums/swipeEnums.js';
@@ -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 };
@@ -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 = (deltaY, startY, event) => {
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 handleSheetSwipe = ({ initial, velocity, deltaY, event }) => {
228
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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 = ({ deltaY, initial, event }) => {
234
- if (shouldSkipSwiping(deltaY, initial[1], event)) {
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 handleSheetSwiping = ({ initial, deltaY, event }) => {
241
- if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
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: handleSheetSwiping,
255
- onSwiped: handleSheetSwipe,
268
+ onSwiping: handleSheetSwipeMove,
269
+ onSwiped: handleSheetSwipeEnd,
256
270
  onTouchEndOrOnMouseUp: handleTouchEnd,
257
271
  trackMouse: swipeable,
258
272
  trackTouch: swipeable,
@@ -0,0 +1,2 @@
1
+ declare const horizontalDirections: [string, string];
2
+ export { horizontalDirections };
@@ -0,0 +1,5 @@
1
+ import { SwipeDirection } from '../enums/swipeEnums.js';
2
+
3
+ const horizontalDirections = [SwipeDirection.Left, SwipeDirection.Right];
4
+
5
+ export { horizontalDirections };
@@ -0,0 +1,7 @@
1
+ declare enum SwipeDirection {
2
+ Left = "Left",
3
+ Right = "Right",
4
+ Up = "Up",
5
+ Down = "Down"
6
+ }
7
+ export { SwipeDirection };
@@ -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 };
@@ -12,3 +12,5 @@ import './components/header/Component.js';
12
12
  import '../../navigation-bar/modern';
13
13
  import './components/swipeable-backdrop/Component.js';
14
14
  import '../../backdrop/modern';
15
+ import './consts/swipeConsts.js';
16
+ import './enums/swipeEnums.js';
@@ -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,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-ea52770e.js');
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-ea52770e.js');
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
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-95b6b929.js';
13
+ import '../../../countdown-section-c4f73a77.js';
14
14
  import '../../../../../button/esm';
15
15
  import '../../../../../spinner/esm';