@expressms/smartapp-ui 3.0.0-alpha.22 → 3.0.0-alpha.221

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 (535) hide show
  1. package/build/main/assets/icons/accepted-invite-status.svg +4 -0
  2. package/build/main/assets/icons/arrow-back.svg +3 -0
  3. package/build/main/assets/icons/arrow-down.svg +3 -0
  4. package/build/main/assets/icons/arrow-up.svg +3 -0
  5. package/build/main/assets/icons/attachment-loader.svg +3 -0
  6. package/build/main/assets/icons/avatar-loader.svg +3 -0
  7. package/build/main/assets/icons/button-loader.svg +3 -0
  8. package/build/main/assets/icons/calendar-arrow-next.svg +3 -0
  9. package/build/main/assets/icons/calendar-arrow-prev.svg +3 -0
  10. package/build/main/assets/icons/check-mark-square.svg +4 -0
  11. package/build/main/assets/icons/check-mark.svg +4 -0
  12. package/build/main/assets/icons/chevron.svg +3 -0
  13. package/build/main/assets/icons/chip-info.svg +5 -0
  14. package/build/main/assets/icons/clear.svg +3 -0
  15. package/build/main/assets/icons/close-modal.svg +3 -0
  16. package/build/main/assets/icons/close-stories.svg +4 -0
  17. package/build/main/assets/icons/close.svg +3 -0
  18. package/build/main/assets/icons/contact-info.svg +5 -0
  19. package/build/main/assets/icons/copy.svg +3 -0
  20. package/build/main/assets/icons/corporate-user.svg +3 -0
  21. package/build/main/assets/icons/crown.svg +5 -0
  22. package/build/main/assets/icons/declined-invite-status.svg +4 -0
  23. package/build/main/assets/icons/delete-chip.svg +3 -0
  24. package/build/main/assets/icons/department.svg +3 -0
  25. package/build/main/assets/icons/distribution.svg +12 -0
  26. package/build/main/assets/icons/doc-small.svg +11 -0
  27. package/build/main/assets/icons/doc.svg +11 -0
  28. package/build/main/assets/icons/download.svg +3 -0
  29. package/build/main/assets/icons/error.svg +5 -0
  30. package/build/main/assets/icons/external-link.svg +3 -0
  31. package/build/main/assets/icons/eye-off.svg +5 -0
  32. package/build/main/assets/icons/eye-on.svg +4 -0
  33. package/build/main/assets/icons/file-small.svg +11 -0
  34. package/build/main/assets/icons/file.svg +11 -0
  35. package/build/main/assets/icons/global-address-book-user.svg +4 -0
  36. package/build/main/assets/icons/group.svg +3 -0
  37. package/build/main/assets/icons/image-no-preview-small.svg +11 -0
  38. package/build/main/assets/icons/image-no-preview.svg +11 -0
  39. package/build/main/assets/icons/indeterminate-check-mark-square.svg +4 -0
  40. package/build/main/assets/icons/info.svg +5 -0
  41. package/build/main/assets/icons/input-arrow-down.svg +3 -0
  42. package/build/main/assets/icons/input-arrow-up.svg +3 -0
  43. package/build/main/assets/icons/job-position.svg +3 -0
  44. package/build/main/assets/icons/loader.svg +3 -0
  45. package/build/main/assets/icons/logout.svg +4 -0
  46. package/build/main/assets/icons/magnifying-glass.svg +3 -0
  47. package/build/main/assets/icons/mail.svg +3 -0
  48. package/build/main/assets/icons/meeting-room.svg +3 -0
  49. package/build/main/assets/icons/more.svg +3 -0
  50. package/build/main/assets/icons/my-contacts-user.svg +3 -0
  51. package/build/main/assets/icons/needs-action-invite-status.svg +4 -0
  52. package/build/main/assets/icons/notification-close.svg +3 -0
  53. package/build/main/assets/icons/notification-error.svg +5 -0
  54. package/build/main/assets/icons/notification-failure-filled.svg +3 -0
  55. package/build/main/assets/icons/notification-failure.svg +3 -0
  56. package/build/main/assets/icons/notification-info-filled.svg +5 -0
  57. package/build/main/assets/icons/notification-info.svg +5 -0
  58. package/build/main/assets/icons/notification-success-filled.svg +4 -0
  59. package/build/main/assets/icons/notification-success.svg +4 -0
  60. package/build/main/assets/icons/office.svg +3 -0
  61. package/build/main/assets/icons/order.svg +6 -0
  62. package/build/main/assets/icons/pdf-small.svg +11 -0
  63. package/build/main/assets/icons/pdf.svg +11 -0
  64. package/build/main/assets/icons/play-small.svg +3 -0
  65. package/build/main/assets/icons/play.svg +3 -0
  66. package/build/main/assets/icons/plus.svg +4 -0
  67. package/build/main/assets/icons/ppt-small.svg +11 -0
  68. package/build/main/assets/icons/ppt.svg +11 -0
  69. package/build/main/assets/icons/private.svg +5 -0
  70. package/build/main/assets/icons/refresh.svg +3 -0
  71. package/build/main/assets/icons/remove.svg +3 -0
  72. package/build/main/assets/icons/search.svg +3 -0
  73. package/build/main/assets/icons/select-arrow-down.svg +3 -0
  74. package/build/main/assets/icons/select-arrow-up.svg +3 -0
  75. package/build/main/assets/icons/server.svg +3 -0
  76. package/build/main/assets/icons/story-loader.svg +3 -0
  77. package/build/main/assets/icons/tick.svg +10 -0
  78. package/build/main/assets/icons/trash.svg +3 -0
  79. package/build/main/assets/icons/txt-small.svg +11 -0
  80. package/build/main/assets/icons/txt.svg +11 -0
  81. package/build/main/assets/icons/video-no-preview-small.svg +11 -0
  82. package/build/main/assets/icons/video-no-preview.svg +11 -0
  83. package/build/main/assets/icons/warning-avatar.svg +4 -0
  84. package/build/main/assets/icons/xls-small.svg +11 -0
  85. package/build/main/assets/icons/xls.svg +11 -0
  86. package/build/main/assets/storybook/index.d.ts +27 -0
  87. package/build/main/assets/storybook/index.js +28 -0
  88. package/build/main/assets/storybook/index.js.map +1 -0
  89. package/build/main/constants/constants.d.ts +243 -0
  90. package/build/main/constants/constants.js +301 -0
  91. package/build/main/constants/constants.js.map +1 -0
  92. package/build/main/constants/index.d.ts +2 -0
  93. package/build/main/constants/index.js +3 -0
  94. package/build/main/constants/index.js.map +1 -0
  95. package/build/main/constants/types.d.ts +69 -0
  96. package/build/main/constants/types.js +2 -0
  97. package/build/main/constants/types.js.map +1 -0
  98. package/build/main/helpers/index.d.ts +33 -0
  99. package/build/main/helpers/index.js +204 -0
  100. package/build/main/helpers/index.js.map +1 -0
  101. package/build/main/hooks/useCharHintDisplay.d.ts +10 -0
  102. package/build/main/hooks/useCharHintDisplay.js +57 -0
  103. package/build/main/hooks/useCharHintDisplay.js.map +1 -0
  104. package/build/main/hooks/useMobileLongTap.d.ts +16 -0
  105. package/build/main/hooks/useMobileLongTap.js +65 -0
  106. package/build/main/hooks/useMobileLongTap.js.map +1 -0
  107. package/build/main/hooks/useModal.d.ts +30 -0
  108. package/build/main/hooks/useModal.js +275 -0
  109. package/build/main/hooks/useModal.js.map +1 -0
  110. package/build/main/index.d.ts +38 -0
  111. package/build/main/index.js +39 -0
  112. package/build/main/index.js.map +1 -0
  113. package/build/main/styles/index.d.ts +1 -0
  114. package/build/main/styles/index.js +2 -0
  115. package/build/main/styles/index.js.map +1 -0
  116. package/build/main/styles/main.js +0 -0
  117. package/build/main/styles/styles.scss +14 -0
  118. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
  119. package/build/main//321/201omponents/ActionModal/ActionModal.js +53 -0
  120. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
  121. package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
  122. package/build/main//321/201omponents/ActionModal/index.js +2 -0
  123. package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
  124. package/build/main//321/201omponents/ActionModal/types.d.ts +23 -0
  125. package/build/main//321/201omponents/ActionModal/types.js +2 -0
  126. package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
  127. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +8 -0
  128. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +201 -0
  129. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
  130. package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
  131. package/build/main//321/201omponents/AttachedFile/index.js +2 -0
  132. package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
  133. package/build/main//321/201omponents/AttachedFile/types.d.ts +23 -0
  134. package/build/main//321/201omponents/AttachedFile/types.js +2 -0
  135. package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
  136. package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
  137. package/build/main//321/201omponents/Avatar/Avatar.js +254 -0
  138. package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
  139. package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
  140. package/build/main//321/201omponents/Avatar/index.js +2 -0
  141. package/build/main//321/201omponents/Avatar/index.js.map +1 -0
  142. package/build/main//321/201omponents/Avatar/types.d.ts +64 -0
  143. package/build/main//321/201omponents/Avatar/types.js +32 -0
  144. package/build/main//321/201omponents/Avatar/types.js.map +1 -0
  145. package/build/main//321/201omponents/Button/Button.d.ts +4 -0
  146. package/build/main//321/201omponents/Button/Button.js +68 -0
  147. package/build/main//321/201omponents/Button/Button.js.map +1 -0
  148. package/build/main//321/201omponents/Button/index.d.ts +1 -0
  149. package/build/main//321/201omponents/Button/index.js +2 -0
  150. package/build/main//321/201omponents/Button/index.js.map +1 -0
  151. package/build/main//321/201omponents/Button/types.d.ts +31 -0
  152. package/build/main//321/201omponents/Button/types.js +15 -0
  153. package/build/main//321/201omponents/Button/types.js.map +1 -0
  154. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +4 -0
  155. package/build/main//321/201omponents/CachedImage/CachedImage.js +59 -0
  156. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
  157. package/build/main//321/201omponents/CachedImage/helpers.d.ts +3 -0
  158. package/build/main//321/201omponents/CachedImage/helpers.js +40 -0
  159. package/build/main//321/201omponents/CachedImage/helpers.js.map +1 -0
  160. package/build/main//321/201omponents/CachedImage/index.d.ts +1 -0
  161. package/build/main//321/201omponents/CachedImage/index.js +2 -0
  162. package/build/main//321/201omponents/CachedImage/index.js.map +1 -0
  163. package/build/main//321/201omponents/CachedImage/types.d.ts +10 -0
  164. package/build/main//321/201omponents/CachedImage/types.js +2 -0
  165. package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
  166. package/build/main//321/201omponents/Calendar/Calendar.d.ts +16 -0
  167. package/build/main//321/201omponents/Calendar/Calendar.js +294 -0
  168. package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
  169. package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
  170. package/build/main//321/201omponents/Calendar/index.js +2 -0
  171. package/build/main//321/201omponents/Calendar/index.js.map +1 -0
  172. package/build/main//321/201omponents/Calendar/types.d.ts +28 -0
  173. package/build/main//321/201omponents/Calendar/types.js +2 -0
  174. package/build/main//321/201omponents/Calendar/types.js.map +1 -0
  175. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +4 -0
  176. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +47 -0
  177. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
  178. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +4 -0
  179. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +71 -0
  180. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
  181. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +4 -0
  182. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +42 -0
  183. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
  184. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +4 -0
  185. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +64 -0
  186. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
  187. package/build/main//321/201omponents/Charts/colors.d.ts +3 -0
  188. package/build/main//321/201omponents/Charts/colors.js +4 -0
  189. package/build/main//321/201omponents/Charts/colors.js.map +1 -0
  190. package/build/main//321/201omponents/Charts/constants.d.ts +42 -0
  191. package/build/main//321/201omponents/Charts/constants.js +42 -0
  192. package/build/main//321/201omponents/Charts/constants.js.map +1 -0
  193. package/build/main//321/201omponents/Charts/helpers.d.ts +17 -0
  194. package/build/main//321/201omponents/Charts/helpers.js +73 -0
  195. package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
  196. package/build/main//321/201omponents/Charts/index.d.ts +3 -0
  197. package/build/main//321/201omponents/Charts/index.js +4 -0
  198. package/build/main//321/201omponents/Charts/index.js.map +1 -0
  199. package/build/main//321/201omponents/Charts/types.d.ts +89 -0
  200. package/build/main//321/201omponents/Charts/types.js +2 -0
  201. package/build/main//321/201omponents/Charts/types.js.map +1 -0
  202. package/build/main//321/201omponents/Charts/useEvents.d.ts +5 -0
  203. package/build/main//321/201omponents/Charts/useEvents.js +45 -0
  204. package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
  205. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +6 -0
  206. package/build/main//321/201omponents/Charts/usePieEvents.js +57 -0
  207. package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
  208. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +8 -0
  209. package/build/main//321/201omponents/Checkbox/Checkbox.js +48 -0
  210. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
  211. package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
  212. package/build/main//321/201omponents/Checkbox/index.js +2 -0
  213. package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
  214. package/build/main//321/201omponents/Checkbox/types.d.ts +14 -0
  215. package/build/main//321/201omponents/Checkbox/types.js +2 -0
  216. package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
  217. package/build/main//321/201omponents/Chip/Chip.d.ts +5 -0
  218. package/build/main//321/201omponents/Chip/Chip.js +288 -0
  219. package/build/main//321/201omponents/Chip/Chip.js.map +1 -0
  220. package/build/main//321/201omponents/Chip/index.d.ts +1 -0
  221. package/build/main//321/201omponents/Chip/index.js +2 -0
  222. package/build/main//321/201omponents/Chip/index.js.map +1 -0
  223. package/build/main//321/201omponents/Chip/types.d.ts +39 -0
  224. package/build/main//321/201omponents/Chip/types.js +2 -0
  225. package/build/main//321/201omponents/Chip/types.js.map +1 -0
  226. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.d.ts +13 -0
  227. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js +76 -0
  228. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js.map +1 -0
  229. package/build/main//321/201omponents/ChipDndContext/index.d.ts +1 -0
  230. package/build/main//321/201omponents/ChipDndContext/index.js +2 -0
  231. package/build/main//321/201omponents/ChipDndContext/index.js.map +1 -0
  232. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
  233. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +64 -0
  234. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
  235. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
  236. package/build/main//321/201omponents/ConfirmationModal/index.js +2 -0
  237. package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
  238. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +31 -0
  239. package/build/main//321/201omponents/ConfirmationModal/types.js +2 -0
  240. package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
  241. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +4 -0
  242. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +122 -0
  243. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -0
  244. package/build/main//321/201omponents/ContextMenu/index.d.ts +1 -0
  245. package/build/main//321/201omponents/ContextMenu/index.js +2 -0
  246. package/build/main//321/201omponents/ContextMenu/index.js.map +1 -0
  247. package/build/main//321/201omponents/ContextMenu/types.d.ts +41 -0
  248. package/build/main//321/201omponents/ContextMenu/types.js +2 -0
  249. package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
  250. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.d.ts +4 -0
  251. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js +49 -0
  252. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js.map +1 -0
  253. package/build/main//321/201omponents/ContextMenuItem/index.d.ts +1 -0
  254. package/build/main//321/201omponents/ContextMenuItem/index.js +2 -0
  255. package/build/main//321/201omponents/ContextMenuItem/index.js.map +1 -0
  256. package/build/main//321/201omponents/ContextMenuItem/types.d.ts +28 -0
  257. package/build/main//321/201omponents/ContextMenuItem/types.js +6 -0
  258. package/build/main//321/201omponents/ContextMenuItem/types.js.map +1 -0
  259. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
  260. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +281 -0
  261. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
  262. package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
  263. package/build/main//321/201omponents/CustomSelect/index.js +2 -0
  264. package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
  265. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +16 -0
  266. package/build/main//321/201omponents/CustomSelect/selectStyles.js +77 -0
  267. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
  268. package/build/main//321/201omponents/CustomSelect/types.d.ts +86 -0
  269. package/build/main//321/201omponents/CustomSelect/types.js +2 -0
  270. package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
  271. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +4 -0
  272. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +67 -0
  273. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
  274. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
  275. package/build/main//321/201omponents/CustomSelectProfiles/index.js +2 -0
  276. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
  277. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.d.ts +12 -0
  278. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js +41 -0
  279. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js.map +1 -0
  280. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
  281. package/build/main//321/201omponents/CustomSelectProfiles/types.js +2 -0
  282. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
  283. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +4 -0
  284. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +57 -0
  285. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
  286. package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
  287. package/build/main//321/201omponents/DragAndDrop/index.js +2 -0
  288. package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
  289. package/build/main//321/201omponents/DragAndDrop/types.d.ts +24 -0
  290. package/build/main//321/201omponents/DragAndDrop/types.js +2 -0
  291. package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
  292. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +4 -0
  293. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +228 -0
  294. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -0
  295. package/build/main//321/201omponents/DraggablePopup/index.d.ts +1 -0
  296. package/build/main//321/201omponents/DraggablePopup/index.js +2 -0
  297. package/build/main//321/201omponents/DraggablePopup/index.js.map +1 -0
  298. package/build/main//321/201omponents/DraggablePopup/types.d.ts +90 -0
  299. package/build/main//321/201omponents/DraggablePopup/types.js +2 -0
  300. package/build/main//321/201omponents/DraggablePopup/types.js.map +1 -0
  301. package/build/main//321/201omponents/Error/Error.d.ts +4 -0
  302. package/build/main//321/201omponents/Error/Error.js +23 -0
  303. package/build/main//321/201omponents/Error/Error.js.map +1 -0
  304. package/build/main//321/201omponents/Error/index.d.ts +1 -0
  305. package/build/main//321/201omponents/Error/index.js +2 -0
  306. package/build/main//321/201omponents/Error/index.js.map +1 -0
  307. package/build/main//321/201omponents/Error/types.d.ts +10 -0
  308. package/build/main//321/201omponents/Error/types.js +2 -0
  309. package/build/main//321/201omponents/Error/types.js.map +1 -0
  310. package/build/main//321/201omponents/Flex/Flex.d.ts +2 -0
  311. package/build/main//321/201omponents/Flex/Flex.js +35 -0
  312. package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
  313. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +5 -0
  314. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +16 -0
  315. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +1 -0
  316. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +1 -0
  317. package/build/main//321/201omponents/Flex/HFlex/index.js +2 -0
  318. package/build/main//321/201omponents/Flex/HFlex/index.js.map +1 -0
  319. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +5 -0
  320. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +16 -0
  321. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +1 -0
  322. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +1 -0
  323. package/build/main//321/201omponents/Flex/VFlex/index.js +2 -0
  324. package/build/main//321/201omponents/Flex/VFlex/index.js.map +1 -0
  325. package/build/main//321/201omponents/Flex/index.d.ts +3 -0
  326. package/build/main//321/201omponents/Flex/index.js +4 -0
  327. package/build/main//321/201omponents/Flex/index.js.map +1 -0
  328. package/build/main//321/201omponents/Flex/types.d.ts +21 -0
  329. package/build/main//321/201omponents/Flex/types.js +2 -0
  330. package/build/main//321/201omponents/Flex/types.js.map +1 -0
  331. package/build/main//321/201omponents/Header/Header.d.ts +5 -0
  332. package/build/main//321/201omponents/Header/Header.js +125 -0
  333. package/build/main//321/201omponents/Header/Header.js.map +1 -0
  334. package/build/main//321/201omponents/Header/index.d.ts +1 -0
  335. package/build/main//321/201omponents/Header/index.js +2 -0
  336. package/build/main//321/201omponents/Header/index.js.map +1 -0
  337. package/build/main//321/201omponents/Header/types.d.ts +47 -0
  338. package/build/main//321/201omponents/Header/types.js +2 -0
  339. package/build/main//321/201omponents/Header/types.js.map +1 -0
  340. package/build/main//321/201omponents/Input/Input.d.ts +4 -0
  341. package/build/main//321/201omponents/Input/Input.js +256 -0
  342. package/build/main//321/201omponents/Input/Input.js.map +1 -0
  343. package/build/main//321/201omponents/Input/index.d.ts +1 -0
  344. package/build/main//321/201omponents/Input/index.js +2 -0
  345. package/build/main//321/201omponents/Input/index.js.map +1 -0
  346. package/build/main//321/201omponents/Input/types.d.ts +37 -0
  347. package/build/main//321/201omponents/Input/types.js +2 -0
  348. package/build/main//321/201omponents/Input/types.js.map +1 -0
  349. package/build/main//321/201omponents/ListItem/ListItem.d.ts +23 -0
  350. package/build/main//321/201omponents/ListItem/ListItem.js +214 -0
  351. package/build/main//321/201omponents/ListItem/ListItem.js.map +1 -0
  352. package/build/main//321/201omponents/ListItem/index.d.ts +1 -0
  353. package/build/main//321/201omponents/ListItem/index.js +2 -0
  354. package/build/main//321/201omponents/ListItem/index.js.map +1 -0
  355. package/build/main//321/201omponents/ListItem/types.d.ts +47 -0
  356. package/build/main//321/201omponents/ListItem/types.js +2 -0
  357. package/build/main//321/201omponents/ListItem/types.js.map +1 -0
  358. package/build/main//321/201omponents/Loader/Loader.d.ts +4 -0
  359. package/build/main//321/201omponents/Loader/Loader.js +44 -0
  360. package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
  361. package/build/main//321/201omponents/Loader/index.d.ts +1 -0
  362. package/build/main//321/201omponents/Loader/index.js +2 -0
  363. package/build/main//321/201omponents/Loader/index.js.map +1 -0
  364. package/build/main//321/201omponents/Loader/types.d.ts +18 -0
  365. package/build/main//321/201omponents/Loader/types.js +2 -0
  366. package/build/main//321/201omponents/Loader/types.js.map +1 -0
  367. package/build/main//321/201omponents/Modal/Modal.d.ts +5 -0
  368. package/build/main//321/201omponents/Modal/Modal.js +397 -0
  369. package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
  370. package/build/main//321/201omponents/Modal/index.d.ts +1 -0
  371. package/build/main//321/201omponents/Modal/index.js +2 -0
  372. package/build/main//321/201omponents/Modal/index.js.map +1 -0
  373. package/build/main//321/201omponents/Modal/types.d.ts +77 -0
  374. package/build/main//321/201omponents/Modal/types.js +2 -0
  375. package/build/main//321/201omponents/Modal/types.js.map +1 -0
  376. package/build/main//321/201omponents/Notification/Notification.d.ts +4 -0
  377. package/build/main//321/201omponents/Notification/Notification.js +208 -0
  378. package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
  379. package/build/main//321/201omponents/Notification/constants.d.ts +34 -0
  380. package/build/main//321/201omponents/Notification/constants.js +59 -0
  381. package/build/main//321/201omponents/Notification/constants.js.map +1 -0
  382. package/build/main//321/201omponents/Notification/index.d.ts +1 -0
  383. package/build/main//321/201omponents/Notification/index.js +2 -0
  384. package/build/main//321/201omponents/Notification/index.js.map +1 -0
  385. package/build/main//321/201omponents/Notification/types.d.ts +64 -0
  386. package/build/main//321/201omponents/Notification/types.js +2 -0
  387. package/build/main//321/201omponents/Notification/types.js.map +1 -0
  388. package/build/main//321/201omponents/Profile/Profile.d.ts +4 -0
  389. package/build/main//321/201omponents/Profile/Profile.js +42 -0
  390. package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
  391. package/build/main//321/201omponents/Profile/index.d.ts +1 -0
  392. package/build/main//321/201omponents/Profile/index.js +2 -0
  393. package/build/main//321/201omponents/Profile/index.js.map +1 -0
  394. package/build/main//321/201omponents/Profile/types.d.ts +14 -0
  395. package/build/main//321/201omponents/Profile/types.js +2 -0
  396. package/build/main//321/201omponents/Profile/types.js.map +1 -0
  397. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +4 -0
  398. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +66 -0
  399. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +1 -0
  400. package/build/main//321/201omponents/ProgressBar/index.d.ts +1 -0
  401. package/build/main//321/201omponents/ProgressBar/index.js +2 -0
  402. package/build/main//321/201omponents/ProgressBar/index.js.map +1 -0
  403. package/build/main//321/201omponents/ProgressBar/types.d.ts +7 -0
  404. package/build/main//321/201omponents/ProgressBar/types.js +2 -0
  405. package/build/main//321/201omponents/ProgressBar/types.js.map +1 -0
  406. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +4 -0
  407. package/build/main//321/201omponents/RadioButton/RadioButton.js +33 -0
  408. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
  409. package/build/main//321/201omponents/RadioButton/index.d.ts +1 -0
  410. package/build/main//321/201omponents/RadioButton/index.js +2 -0
  411. package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
  412. package/build/main//321/201omponents/RadioButton/types.d.ts +12 -0
  413. package/build/main//321/201omponents/RadioButton/types.js +2 -0
  414. package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
  415. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +5 -0
  416. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +140 -0
  417. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +1 -0
  418. package/build/main//321/201omponents/ScrollBar/index.d.ts +1 -0
  419. package/build/main//321/201omponents/ScrollBar/index.js +2 -0
  420. package/build/main//321/201omponents/ScrollBar/index.js.map +1 -0
  421. package/build/main//321/201omponents/ScrollBar/types.d.ts +24 -0
  422. package/build/main//321/201omponents/ScrollBar/types.js +2 -0
  423. package/build/main//321/201omponents/ScrollBar/types.js.map +1 -0
  424. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +4 -0
  425. package/build/main//321/201omponents/Skeleton/Skeleton.js +59 -0
  426. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
  427. package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
  428. package/build/main//321/201omponents/Skeleton/index.js +2 -0
  429. package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
  430. package/build/main//321/201omponents/Skeleton/types.d.ts +17 -0
  431. package/build/main//321/201omponents/Skeleton/types.js +2 -0
  432. package/build/main//321/201omponents/Skeleton/types.js.map +1 -0
  433. package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
  434. package/build/main//321/201omponents/Stories/Stories.js +406 -0
  435. package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
  436. package/build/main//321/201omponents/Stories/index.d.ts +1 -0
  437. package/build/main//321/201omponents/Stories/index.js +2 -0
  438. package/build/main//321/201omponents/Stories/index.js.map +1 -0
  439. package/build/main//321/201omponents/Stories/types.d.ts +71 -0
  440. package/build/main//321/201omponents/Stories/types.js +16 -0
  441. package/build/main//321/201omponents/Stories/types.js.map +1 -0
  442. package/build/main//321/201omponents/Switcher/Switcher.d.ts +4 -0
  443. package/build/main//321/201omponents/Switcher/Switcher.js +34 -0
  444. package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
  445. package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
  446. package/build/main//321/201omponents/Switcher/index.js +2 -0
  447. package/build/main//321/201omponents/Switcher/index.js.map +1 -0
  448. package/build/main//321/201omponents/Switcher/types.d.ts +8 -0
  449. package/build/main//321/201omponents/Switcher/types.js +2 -0
  450. package/build/main//321/201omponents/Switcher/types.js.map +1 -0
  451. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +5 -0
  452. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +65 -0
  453. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
  454. package/build/main//321/201omponents/SyncLoader/index.d.ts +1 -0
  455. package/build/main//321/201omponents/SyncLoader/index.js +2 -0
  456. package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
  457. package/build/main//321/201omponents/SyncLoader/types.d.ts +8 -0
  458. package/build/main//321/201omponents/SyncLoader/types.js +2 -0
  459. package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
  460. package/build/main//321/201omponents/Textarea/Textarea.d.ts +4 -0
  461. package/build/main//321/201omponents/Textarea/Textarea.js +59 -0
  462. package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -0
  463. package/build/main//321/201omponents/Textarea/index.d.ts +1 -0
  464. package/build/main//321/201omponents/Textarea/index.js +2 -0
  465. package/build/main//321/201omponents/Textarea/index.js.map +1 -0
  466. package/build/main//321/201omponents/Textarea/types.d.ts +13 -0
  467. package/build/main//321/201omponents/Textarea/types.js +2 -0
  468. package/build/main//321/201omponents/Textarea/types.js.map +1 -0
  469. package/build/main//321/201omponents/Toggle/Toggle.d.ts +4 -0
  470. package/build/main//321/201omponents/Toggle/Toggle.js +35 -0
  471. package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
  472. package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
  473. package/build/main//321/201omponents/Toggle/index.js +2 -0
  474. package/build/main//321/201omponents/Toggle/index.js.map +1 -0
  475. package/build/main//321/201omponents/Toggle/types.d.ts +12 -0
  476. package/build/main//321/201omponents/Toggle/types.js +2 -0
  477. package/build/main//321/201omponents/Toggle/types.js.map +1 -0
  478. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
  479. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +40 -0
  480. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
  481. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
  482. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +98 -0
  483. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
  484. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +5 -0
  485. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +24 -0
  486. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
  487. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +4 -0
  488. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +104 -0
  489. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
  490. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +4 -0
  491. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +133 -0
  492. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
  493. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +4 -0
  494. package/build/main//321/201omponents/UserDropdown/Option/Option.js +85 -0
  495. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
  496. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +4 -0
  497. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +41 -0
  498. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +1 -0
  499. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
  500. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +527 -0
  501. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
  502. package/build/main//321/201omponents/UserDropdown/components/Delimiter.d.ts +8 -0
  503. package/build/main//321/201omponents/UserDropdown/components/Delimiter.js +10 -0
  504. package/build/main//321/201omponents/UserDropdown/components/Delimiter.js.map +1 -0
  505. package/build/main//321/201omponents/UserDropdown/components/Hint.d.ts +6 -0
  506. package/build/main//321/201omponents/UserDropdown/components/Hint.js +21 -0
  507. package/build/main//321/201omponents/UserDropdown/components/Hint.js.map +1 -0
  508. package/build/main//321/201omponents/UserDropdown/components/Input.d.ts +2 -0
  509. package/build/main//321/201omponents/UserDropdown/components/Input.js +24 -0
  510. package/build/main//321/201omponents/UserDropdown/components/Input.js.map +1 -0
  511. package/build/main//321/201omponents/UserDropdown/components/Mask.d.ts +8 -0
  512. package/build/main//321/201omponents/UserDropdown/components/Mask.js +19 -0
  513. package/build/main//321/201omponents/UserDropdown/components/Mask.js.map +1 -0
  514. package/build/main//321/201omponents/UserDropdown/components/Title.d.ts +5 -0
  515. package/build/main//321/201omponents/UserDropdown/components/Title.js +18 -0
  516. package/build/main//321/201omponents/UserDropdown/components/Title.js.map +1 -0
  517. package/build/main//321/201omponents/UserDropdown/constants.d.ts +65 -0
  518. package/build/main//321/201omponents/UserDropdown/constants.js +83 -0
  519. package/build/main//321/201omponents/UserDropdown/constants.js.map +1 -0
  520. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +148 -0
  521. package/build/main//321/201omponents/UserDropdown/helpers.js +313 -0
  522. package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
  523. package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
  524. package/build/main//321/201omponents/UserDropdown/index.js +2 -0
  525. package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
  526. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +15 -0
  527. package/build/main//321/201omponents/UserDropdown/selectStyles.js +99 -0
  528. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
  529. package/build/main//321/201omponents/UserDropdown/types.d.ts +356 -0
  530. package/build/main//321/201omponents/UserDropdown/types.js +2 -0
  531. package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
  532. package/build/main//321/201omponents/types.d.ts +2 -0
  533. package/build/main//321/201omponents/types.js +2 -0
  534. package/build/main//321/201omponents/types.js.map +1 -0
  535. package/package.json +13 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/helpers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,SAAS,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAA;AACtE,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,yBAAyB,EACzB,cAAc,EACd,YAAY,EACZ,MAAM,EACN,MAAM,EACN,2BAA2B,EAC3B,YAAY,EACZ,WAAW,EACX,WAAW,EACX,wBAAwB,EACxB,QAAQ,EAGR,KAAK,GAIN,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAA;AAEpE,OAAO,EAAE,cAAc,I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,CAA8C,CAAA;AAEzI,MAAM,CAAC,IAAM,yBAAyB,GAAG,UAAC,WAA2B;IACnE,OAAA,WAAW,KAAK,aAAa,CAAC,QAAQ,IAAI,WAAW,KAAK,aAAa,CAAC,SAAS;AAAjF,CAAiF,CAAA"}
@@ -0,0 +1,10 @@
1
+ type TUseCharHintDisplay = {
2
+ isFieldFocused?: boolean;
3
+ isCharHintEnable?: boolean;
4
+ inputValue: string;
5
+ charHintTimeout?: number;
6
+ };
7
+ export declare const useCharHintDisplay: ({ isFieldFocused, isCharHintEnable, inputValue, charHintTimeout, }: TUseCharHintDisplay) => {
8
+ isCharHintVisible: boolean;
9
+ };
10
+ export {};
@@ -0,0 +1,57 @@
1
+ import { useEffect, useRef, useState } from 'react';
2
+ import { isNil } from 'lodash';
3
+ import { MIN_INPUT_SYMBOLS } from '../constants';
4
+ var ONE_CHARACTER = 1;
5
+ var TWO_CHARACTERS = 2;
6
+ var DEFAULT_CHAR_HINT_TIMEOUT = 1500;
7
+ export var useCharHintDisplay = function (_a) {
8
+ var isFieldFocused = _a.isFieldFocused, _b = _a.isCharHintEnable, isCharHintEnable = _b === void 0 ? true : _b, inputValue = _a.inputValue, _c = _a.charHintTimeout, charHintTimeout = _c === void 0 ? DEFAULT_CHAR_HINT_TIMEOUT : _c;
9
+ var _d = useState(null), timeoutId = _d[0], setTimeoutId = _d[1];
10
+ var _e = useState(false), isCharHintVisible = _e[0], setIsCharHintVisible = _e[1];
11
+ var wasCharHintVisibleOnBlurRef = useRef(false);
12
+ var handleClearTimeout = function () {
13
+ if (timeoutId) {
14
+ clearTimeout(timeoutId);
15
+ setTimeoutId(null);
16
+ }
17
+ };
18
+ // скрываем подсказку при blur и мгновенно возвращаем при focus, если она была видна
19
+ useEffect(function () {
20
+ if (!isCharHintEnable || isNil(isFieldFocused))
21
+ return;
22
+ if (!isFieldFocused) {
23
+ wasCharHintVisibleOnBlurRef.current = isCharHintVisible;
24
+ handleClearTimeout();
25
+ if (isCharHintVisible)
26
+ setIsCharHintVisible(false);
27
+ return;
28
+ }
29
+ if (wasCharHintVisibleOnBlurRef.current) {
30
+ wasCharHintVisibleOnBlurRef.current = false;
31
+ setIsCharHintVisible(true);
32
+ }
33
+ // eslint-disable-next-line
34
+ }, [isFieldFocused, isCharHintEnable]);
35
+ useEffect(function () {
36
+ var inputValueLength = inputValue.length;
37
+ if (!isCharHintEnable || (!isNil(isFieldFocused) && !isFieldFocused))
38
+ return;
39
+ handleClearTimeout();
40
+ if (inputValueLength >= MIN_INPUT_SYMBOLS)
41
+ setIsCharHintVisible(false);
42
+ else if (inputValueLength === ONE_CHARACTER || inputValueLength === TWO_CHARACTERS) {
43
+ if (!isCharHintVisible) {
44
+ var nextTimeoutId = setTimeout(function () { return setIsCharHintVisible(true); }, charHintTimeout);
45
+ setTimeoutId(nextTimeoutId);
46
+ }
47
+ }
48
+ else
49
+ setIsCharHintVisible(false);
50
+ return function () {
51
+ timeoutId && clearTimeout(timeoutId);
52
+ };
53
+ // eslint-disable-next-line
54
+ }, [charHintTimeout, inputValue, isCharHintEnable, isCharHintVisible]);
55
+ return { isCharHintVisible: isCharHintVisible };
56
+ };
57
+ //# sourceMappingURL=useCharHintDisplay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCharHintDisplay.js","sourceRoot":"","sources":["../../../src/hooks/useCharHintDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAkB,MAAM,cAAc,CAAA;AAShE,IAAM,aAAa,GAAG,CAAC,CAAA;AACvB,IAAM,cAAc,GAAG,CAAC,CAAA;AACxB,IAAM,yBAAyB,GAAG,IAAI,CAAA;AAEtC,MAAM,CAAC,IAAM,kBAAkB,GAAG,UAAC,EAKb;QAJpB,cAAc,oBAAA,EACd,wBAAuB,EAAvB,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,CAAC,CAAA;aACjE,IAAI,gBAAgB,KAAK,aAAa,IAAI,gBAAgB,KAAK,cAAc,EAAE;YAClF,IAAI,CAAC,iBAAiB,EAAE;gBACtB,IAAM,aAAa,GAAG,UAAU,CAAC,cAAM,OAAA,oBAAoB,CAAC,IAAI,CAAC,EAA1B,CAA0B,EAAE,eAAe,CAAC,CAAA;gBACnF,YAAY,CAAC,aAAa,CAAC,CAAA;aAC5B;SACF;;YAAM,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAElC,OAAO;YACL,SAAS,IAAI,YAAY,CAAC,SAAS,CAAC,CAAA;QACtC,CAAC,CAAA;QACD,2BAA2B;IAC7B,CAAC,EAAE,CAAC,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAEtE,OAAO,EAAE,iBAAiB,mBAAA,EAAE,CAAA;AAC9B,CAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { TouchEvent } from 'react';
2
+ type TUseMobileLongTap = {
3
+ delay?: number;
4
+ onLongTap?: () => void;
5
+ onShortTap?: () => void;
6
+ onDragStart?: () => void;
7
+ onPressStart?: () => void;
8
+ onPressEnd?: () => void;
9
+ };
10
+ export declare const useMobileLongTap: ({ delay, onLongTap, onShortTap, onDragStart, onPressStart, onPressEnd, }: TUseMobileLongTap) => {
11
+ startPressTimer: ({ touches }: TouchEvent) => void;
12
+ handleTouchMove: ({ touches }: TouchEvent) => void;
13
+ handleTouchEnd: () => void;
14
+ handleTouchCancel: () => void;
15
+ };
16
+ export {};
@@ -0,0 +1,65 @@
1
+ import { useCallback, useRef } from 'react';
2
+ import { RENDER_DELAY } from '../constants';
3
+ var DRAG_THRESHOLD = 10;
4
+ var DEFAULT_LONG_TAP_DELAY = 500;
5
+ export var useMobileLongTap = function (_a) {
6
+ var _b = _a.delay, delay = _b === void 0 ? DEFAULT_LONG_TAP_DELAY : _b, onLongTap = _a.onLongTap, onShortTap = _a.onShortTap, onDragStart = _a.onDragStart, onPressStart = _a.onPressStart, onPressEnd = _a.onPressEnd;
7
+ var pressTimer = useRef(null);
8
+ var isLongTapActivated = useRef(false);
9
+ var startPosition = useRef(null);
10
+ var touchStartTime = useRef(0);
11
+ var isMovedBeyondThreshold = useRef(false);
12
+ var startPressTimer = useCallback(function (_a) {
13
+ var touches = _a.touches;
14
+ var _b = touches[0], x = _b.clientX, y = _b.clientY;
15
+ isMovedBeyondThreshold.current = false;
16
+ isLongTapActivated.current = false;
17
+ touchStartTime.current = Date.now();
18
+ startPosition.current = { x: x, y: y };
19
+ onPressStart === null || onPressStart === void 0 ? void 0 : onPressStart();
20
+ pressTimer.current = setTimeout(function () {
21
+ isLongTapActivated.current = true;
22
+ onLongTap === null || onLongTap === void 0 ? void 0 : onLongTap();
23
+ }, delay);
24
+ }, [onLongTap, delay, onPressStart]);
25
+ var cancelPressTimer = useCallback(function () {
26
+ var pressTimerCurrent = pressTimer.current;
27
+ if (pressTimerCurrent) {
28
+ clearTimeout(pressTimerCurrent);
29
+ pressTimer.current = null;
30
+ }
31
+ startPosition.current = null;
32
+ }, []);
33
+ var handleTouchEnd = useCallback(function () {
34
+ var touchDuration = Date.now() - touchStartTime.current;
35
+ var isShortTap = touchDuration < delay && !isLongTapActivated.current && !isMovedBeyondThreshold.current;
36
+ onPressEnd === null || onPressEnd === void 0 ? void 0 : onPressEnd();
37
+ isMovedBeyondThreshold.current = false;
38
+ cancelPressTimer();
39
+ if (isShortTap)
40
+ setTimeout(function () { return !isLongTapActivated.current && (onShortTap === null || onShortTap === void 0 ? void 0 : onShortTap()); }, RENDER_DELAY);
41
+ isLongTapActivated.current = false;
42
+ }, [cancelPressTimer, onShortTap, delay, onPressEnd]);
43
+ var handleTouchMove = useCallback(function (_a) {
44
+ var touches = _a.touches;
45
+ var startPositionCurrent = startPosition.current;
46
+ if (!startPositionCurrent || isLongTapActivated.current || touches.length === 0)
47
+ return;
48
+ var _b = touches[0], clientX = _b.clientX, clientY = _b.clientY;
49
+ var x = startPositionCurrent.x, y = startPositionCurrent.y;
50
+ var deltaX = Math.abs(clientX - x);
51
+ var deltaY = Math.abs(clientY - y);
52
+ if (deltaX > DRAG_THRESHOLD || deltaY > DRAG_THRESHOLD) {
53
+ isMovedBeyondThreshold.current = true;
54
+ cancelPressTimer();
55
+ onDragStart === null || onDragStart === void 0 ? void 0 : onDragStart();
56
+ }
57
+ }, [cancelPressTimer, onDragStart]);
58
+ var handleTouchCancel = useCallback(function () {
59
+ isMovedBeyondThreshold.current = false;
60
+ isLongTapActivated.current = false;
61
+ cancelPressTimer();
62
+ }, [cancelPressTimer]);
63
+ return { startPressTimer: startPressTimer, handleTouchMove: handleTouchMove, handleTouchEnd: handleTouchEnd, handleTouchCancel: handleTouchCancel };
64
+ };
65
+ //# sourceMappingURL=useMobileLongTap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMobileLongTap.js","sourceRoot":"","sources":["../../../src/hooks/useMobileLongTap.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACvD,OAAO,EAAE,YAAY,EAAqB,MAAM,cAAc,CAAA;AAW9D,IAAM,cAAc,GAAG,EAAE,CAAA;AACzB,IAAM,sBAAsB,GAAG,GAAG,CAAA;AAElC,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,EAOb;QANlB,aAA8B,EAA9B,KAAK,mBAAG,sBAAsB,KAAA,EAC9B,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,WAAW,iBAAA,EACX,YAAY,kBAAA,EACZ,UAAU,gBAAA;IAEV,IAAM,UAAU,GAAG,MAAM,CAAW,IAAI,CAAC,CAAA;IACzC,IAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IACxC,IAAM,aAAa,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAClD,IAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;IAChC,IAAM,sBAAsB,GAAG,MAAM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sBAAsB,CAAC,OAAO,GAAG,KAAK,CAAA;QACtC,kBAAkB,CAAC,OAAO,GAAG,KAAK,CAAA;QAClC,gBAAgB,EAAE,CAAA;IACpB,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAEtB,OAAO,EAAE,eAAe,iBAAA,EAAE,eAAe,iBAAA,EAAE,cAAc,gBAAA,EAAE,iBAAiB,mBAAA,EAAE,CAAA;AAChF,CAAC,CAAA"}
@@ -0,0 +1,30 @@
1
+ import React, { RefObject } from 'react';
2
+ import { SheetDetent } from 'react-modal-sheet';
3
+ import { TBottomSheetProps, TBottomSheetScrollMobileConfig, TBottomSheetStyles } from '../сomponents/Modal/types';
4
+ interface IUseModalProps {
5
+ platform?: string;
6
+ isModalOpen: boolean;
7
+ isClosableOutside: boolean;
8
+ isDisabledBottomSheet?: boolean;
9
+ initialIsBottomSheet?: boolean;
10
+ modalRef: RefObject<HTMLDivElement | null>;
11
+ scrollRef?: RefObject<HTMLDivElement | null>;
12
+ popupClassName?: string;
13
+ popupStyles?: React.CSSProperties;
14
+ bottomSheetProps?: TBottomSheetProps;
15
+ bottomSheetStyles?: TBottomSheetStyles;
16
+ bottomSheetDetent?: SheetDetent;
17
+ bottomSheetScrollMobileConfig?: TBottomSheetScrollMobileConfig;
18
+ handleClickOutside?: () => void;
19
+ handleCloseModal: () => void;
20
+ handleBottomSheetInitialized?: () => void;
21
+ }
22
+ export declare const DEFAULT_BOTTOM_SHEET_DETENT = "content";
23
+ export declare const useModal: ({ platform, isModalOpen, isClosableOutside, isDisabledBottomSheet, initialIsBottomSheet, modalRef, scrollRef, popupClassName, popupStyles, bottomSheetProps, bottomSheetStyles, bottomSheetDetent, bottomSheetScrollMobileConfig, handleClickOutside, handleCloseModal, handleBottomSheetInitialized, }: IUseModalProps) => {
24
+ shouldUseBottomSheet: boolean;
25
+ renderModal: (children: React.ReactNode) => import("react/jsx-runtime").JSX.Element | null;
26
+ offsetScrollY: number;
27
+ offsetScrollYKey: number;
28
+ bottomKeyboardPadding: number;
29
+ };
30
+ export {};
@@ -0,0 +1,275 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ /* eslint-disable max-lines */
25
+ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
26
+ import { Sheet, useVirtualKeyboard } from 'react-modal-sheet';
27
+ import Popup from 'reactjs-popup';
28
+ import classNames from 'classnames';
29
+ import useDetectKeyboardOpen from 'use-detect-keyboard-open';
30
+ import { DEFAULT_BOTTOM_SHEET_SCROLL_MOBILE_CONFIG } from '../сomponents/Modal/Modal';
31
+ import { checkIsAndroidPlatform, checkIsMobilePlatform, clickOutsideTheModal } from '../helpers';
32
+ import { BOTTOM_SHEET, BOTTOM_SHEET_SCROLL_POSITION, EVENT_LISTENER_TYPES, PLATFORM } from '../constants';
33
+ var OFFSET = 30;
34
+ var TOP_OFFSET = 5;
35
+ var MAX_MODAL_MOBILE_HEIGHT = 360;
36
+ var MODAL_ANIMATION = 'modalFadeIn 0.25s ease-in-out forwards';
37
+ var KEYBOARD_OPEN_THRESHOLD = 100;
38
+ var DEFAULT_ANDROID_KEYBOARD_HEIGHT = 260;
39
+ export var DEFAULT_BOTTOM_SHEET_DETENT = 'content';
40
+ var KEYBOARD_VAR_INSET = 'var(--keyboard-inset-height, 0px)';
41
+ var CLOSED_SNAP_POINT = 0;
42
+ var FULLY_OPEN_SNAP_POINT = 1;
43
+ var CUSTOM_SNAP_INDEX = 1;
44
+ var FULL_BOTTOM_SHEET_DETENT = 'full';
45
+ // Проблемы с типизацией в либе.
46
+ var DRAG_THRESHOLD = {
47
+ dragVelocityThreshold: 2000,
48
+ tweenConfig: { ease: 'easeInOut', duration: 0.35 },
49
+ };
50
+ var checkIsScrollToTop = function (scrollTo) { return scrollTo === BOTTOM_SHEET_SCROLL_POSITION.top; };
51
+ var checkIsValidNumber = function (value) { return !!value && value > 0; };
52
+ var generateCustomSnapPoints = function (snapPoint) { return [CLOSED_SNAP_POINT, snapPoint, FULLY_OPEN_SNAP_POINT]; };
53
+ var generateOffsetY = function (_a) {
54
+ var focusedElement = _a.focusedElement, visualViewport = _a.visualViewport, extraPaddingFocusedElement = _a.extraPaddingFocusedElement, topCursorEdge = _a.topCursorEdge, upperVisibilityThreshold = _a.upperVisibilityThreshold, scrollTo = _a.scrollTo;
55
+ var innerHeight = window.innerHeight;
56
+ var _b = focusedElement.getBoundingClientRect(), top = _b.top, bottom = _b.bottom;
57
+ var _c = visualViewport || {}, _d = _c.offsetTop, viewportTop = _d === void 0 ? 0 : _d, _e = _c.height, viewportHeight = _e === void 0 ? 0 : _e;
58
+ var viewportBottom = viewportTop + (viewportHeight || innerHeight);
59
+ if (checkIsScrollToTop(scrollTo)) {
60
+ var targetTop = top + extraPaddingFocusedElement;
61
+ var destinationTop = top + topCursorEdge;
62
+ var visibleScreenHeight = viewportTop + viewportHeight;
63
+ if (targetTop > visibleScreenHeight)
64
+ return targetTop - visibleScreenHeight;
65
+ return destinationTop > upperVisibilityThreshold ? 0 : destinationTop - upperVisibilityThreshold - TOP_OFFSET;
66
+ }
67
+ var targetBottom = viewportBottom - OFFSET - extraPaddingFocusedElement;
68
+ return bottom > targetBottom ? bottom - targetBottom : 0;
69
+ };
70
+ export var useModal = function (_a) {
71
+ var _b = _a.platform, platform = _b === void 0 ? PLATFORM.web : _b, isModalOpen = _a.isModalOpen, isClosableOutside = _a.isClosableOutside, _c = _a.isDisabledBottomSheet, isDisabledBottomSheet = _c === void 0 ? false : _c, _d = _a.initialIsBottomSheet, initialIsBottomSheet = _d === void 0 ? false : _d, modalRef = _a.modalRef, scrollRef = _a.scrollRef, popupClassName = _a.popupClassName, popupStyles = _a.popupStyles, bottomSheetProps = _a.bottomSheetProps, bottomSheetStyles = _a.bottomSheetStyles, _e = _a.bottomSheetDetent, bottomSheetDetent = _e === void 0 ? DEFAULT_BOTTOM_SHEET_DETENT : _e, bottomSheetScrollMobileConfig = _a.bottomSheetScrollMobileConfig, handleClickOutside = _a.handleClickOutside, handleCloseModal = _a.handleCloseModal, handleBottomSheetInitialized = _a.handleBottomSheetInitialized;
72
+ var isAndroidKeyboardOpen = useDetectKeyboardOpen();
73
+ var _f = useState(initialIsBottomSheet), shouldUseBottomSheet = _f[0], setShouldUseBottomSheet = _f[1];
74
+ var _g = useState(0), offsetScrollY = _g[0], setOffsetScrollY = _g[1];
75
+ var _h = useState(0), offsetScrollYKey = _h[0], setOffsetScrollYKey = _h[1];
76
+ var _j = useState(null), focusedElement = _j[0], setFocusedElement = _j[1];
77
+ var _k = useState(0), androidKeyboardHeight = _k[0], setAndroidKeyboardHeight = _k[1];
78
+ var _l = useState(0), keyboardAdditionalPadding = _l[0], setKeyboardAdditionalPadding = _l[1];
79
+ var lastKnownAndroidKeyboardHeightRef = useRef(0);
80
+ var _m = bottomSheetProps || {}, _o = _m.isFullHeightWithTopMargin, isFullHeightWithTopMargin = _o === void 0 ? false : _o, bottomSheetHeight = _m.height, _p = _m.isBackgroundInteractionEnabled, isBackgroundInteractionEnabled = _p === void 0 ? false : _p, _q = _m.sheetProps, sheetProps = _q === void 0 ? {} : _q, _r = _m.sheetBackdropProps, sheetBackdropProps = _r === void 0 ? {} : _r, _s = _m.sheetContentProps, sheetContentProps = _s === void 0 ? {} : _s, _t = _m.sheetContainerProps, sheetContainerProps = _t === void 0 ? {} : _t;
81
+ var _u = bottomSheetStyles || {}, _v = _u.sheetStyles, sheetStyles = _v === void 0 ? {} : _v, _w = _u.sheetBackdropStyles, sheetBackdropStyles = _w === void 0 ? {} : _w, _x = _u.sheetContentStyles, sheetContentStyles = _x === void 0 ? {} : _x, _y = _u.sheetContainerStyles, sheetContainerStyles = _y === void 0 ? {} : _y;
82
+ var _z = bottomSheetScrollMobileConfig || DEFAULT_BOTTOM_SHEET_SCROLL_MOBILE_CONFIG, scrollTo = _z.scrollTo, shouldDoScrollToFocusedElement = _z.shouldDoScrollToFocusedElement, _0 = _z.extraPaddingFocusedElement, extraPaddingFocusedElement = _0 === void 0 ? 0 : _0, _1 = _z.topCursorEdge, topCursorEdge = _1 === void 0 ? 0 : _1, _2 = _z.upperVisibilityThreshold, upperVisibilityThreshold = _2 === void 0 ? 0 : _2;
83
+ var isMobileBottomSheet = isModalOpen && shouldUseBottomSheet && checkIsMobilePlatform(platform) && shouldDoScrollToFocusedElement;
84
+ var isAndroid = checkIsAndroidPlatform(platform);
85
+ var isBottomSheetHeightAvailable = checkIsValidNumber(bottomSheetHeight);
86
+ var isFullHeightWithTopMarginBottomSheet = !isBottomSheetHeightAvailable && isFullHeightWithTopMargin;
87
+ var _3 = sheetProps, sheetPropsDetent = _3.detent, sheetPropsOnSnap = _3.onSnap, remainingSheetProps = __rest(_3, ["detent", "onSnap"]);
88
+ var customHeightSheetProps = isBottomSheetHeightAvailable && bottomSheetHeight
89
+ ? { initialSnap: CUSTOM_SNAP_INDEX, snapPoints: generateCustomSnapPoints(bottomSheetHeight) }
90
+ : {};
91
+ var fullHeightSheetProps = isFullHeightWithTopMarginBottomSheet ? { initialSnap: undefined, snapPoints: undefined } : {};
92
+ var actualBottomSheetDetent = isBottomSheetHeightAvailable || isFullHeightWithTopMarginBottomSheet ? FULL_BOTTOM_SHEET_DETENT : sheetPropsDetent || bottomSheetDetent;
93
+ var _4 = useVirtualKeyboard({
94
+ isEnabled: isMobileBottomSheet,
95
+ containerRef: modalRef,
96
+ visualViewportThreshold: KEYBOARD_OPEN_THRESHOLD,
97
+ }), isKeyboardOpen = _4.isKeyboardOpen, keyboardHeight = _4.keyboardHeight;
98
+ useEffect(function () {
99
+ var _a, _b;
100
+ // Включаем Android-ветку расчета высоты клавиатуры только для mobile BottomSheet.
101
+ // В остальных режимах очищаем состояние, чтобы не использовать старые значения.
102
+ if (!isMobileBottomSheet || !isAndroid) {
103
+ setAndroidKeyboardHeight(0);
104
+ lastKnownAndroidKeyboardHeightRef.current = 0;
105
+ return;
106
+ }
107
+ var updateAndroidKeyboardHeight = function () {
108
+ // Замеряем высоту клавиатуры как разницу между высотой окна и visual viewport.
109
+ var visualViewport = window.visualViewport, innerHeight = window.innerHeight;
110
+ var measuredKeyboardHeight = Math.max(innerHeight - ((visualViewport === null || visualViewport === void 0 ? void 0 : visualViewport.height) || innerHeight), 0);
111
+ // Запоминаем последнее валидное значение высоты клавиатуры.
112
+ if (measuredKeyboardHeight > 0)
113
+ lastKnownAndroidKeyboardHeightRef.current = measuredKeyboardHeight;
114
+ if (!isAndroidKeyboardOpen)
115
+ return setAndroidKeyboardHeight(0);
116
+ setAndroidKeyboardHeight(measuredKeyboardHeight || lastKnownAndroidKeyboardHeightRef.current || DEFAULT_ANDROID_KEYBOARD_HEIGHT);
117
+ };
118
+ // Подписываемся на события viewport/window, чтобы пересчитывать высоту клавиатуры в реальном времени.
119
+ (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.addEventListener(EVENT_LISTENER_TYPES.resize, updateAndroidKeyboardHeight);
120
+ (_b = window.visualViewport) === null || _b === void 0 ? void 0 : _b.addEventListener(EVENT_LISTENER_TYPES.scroll, updateAndroidKeyboardHeight);
121
+ window.addEventListener(EVENT_LISTENER_TYPES.resize, updateAndroidKeyboardHeight);
122
+ updateAndroidKeyboardHeight();
123
+ return function () {
124
+ var _a, _b;
125
+ (_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.removeEventListener(EVENT_LISTENER_TYPES.resize, updateAndroidKeyboardHeight);
126
+ (_b = window.visualViewport) === null || _b === void 0 ? void 0 : _b.removeEventListener(EVENT_LISTENER_TYPES.scroll, updateAndroidKeyboardHeight);
127
+ window.removeEventListener(EVENT_LISTENER_TYPES.resize, updateAndroidKeyboardHeight);
128
+ };
129
+ }, [isAndroid, isMobileBottomSheet, isAndroidKeyboardOpen]);
130
+ var isKeyboardActuallyOpen = isAndroid ? isAndroidKeyboardOpen || isKeyboardOpen : isKeyboardOpen;
131
+ var keyboardHeightActual = isAndroid ? Math.max(keyboardHeight, androidKeyboardHeight) : keyboardHeight;
132
+ var correctSheetProps = __assign(__assign(__assign(__assign(__assign(__assign({}, DRAG_THRESHOLD), { avoidKeyboard: false }), remainingSheetProps), customHeightSheetProps), fullHeightSheetProps), { disableScrollLocking: isBackgroundInteractionEnabled || remainingSheetProps.disableScrollLocking, disableDrag: isKeyboardActuallyOpen || Boolean(sheetProps.disableDrag) });
133
+ var handleBottomSheetOpenEnd = useCallback(function () {
134
+ var _a;
135
+ (_a = sheetProps.onOpenEnd) === null || _a === void 0 ? void 0 : _a.call(sheetProps);
136
+ handleBottomSheetInitialized === null || handleBottomSheetInitialized === void 0 ? void 0 : handleBottomSheetInitialized();
137
+ }, [sheetProps, handleBottomSheetInitialized]);
138
+ var correctSheetContentProps = useMemo(function () {
139
+ var _a;
140
+ var disableDragProp = sheetContentProps.disableDrag, scrollStyle = sheetContentProps.scrollStyle;
141
+ var disableDrag = function (state) {
142
+ var disableDragByProp = typeof disableDragProp === 'function' ? disableDragProp(state) : Boolean(disableDragProp);
143
+ return isKeyboardActuallyOpen || disableDragByProp;
144
+ };
145
+ return __assign(__assign({}, sheetContentProps), { disableDrag: disableDrag, scrollStyle: __assign(__assign({}, scrollStyle), { paddingBottom: (_a = scrollStyle === null || scrollStyle === void 0 ? void 0 : scrollStyle.paddingBottom) !== null && _a !== void 0 ? _a : KEYBOARD_VAR_INSET }) });
146
+ }, [isKeyboardActuallyOpen, sheetContentProps]);
147
+ var updateModalState = useCallback(function () {
148
+ var modalElement = modalRef.current;
149
+ if (!modalElement)
150
+ return;
151
+ var modalHeight = modalElement.getBoundingClientRect().height;
152
+ var shouldShowBottomSheet = function () {
153
+ if (checkIsMobilePlatform(platform))
154
+ return !isDisabledBottomSheet && (initialIsBottomSheet || modalHeight > MAX_MODAL_MOBILE_HEIGHT);
155
+ return initialIsBottomSheet;
156
+ };
157
+ setShouldUseBottomSheet(shouldShowBottomSheet());
158
+ }, [platform, isDisabledBottomSheet, initialIsBottomSheet, modalRef]);
159
+ useLayoutEffect(function () {
160
+ if (!isModalOpen)
161
+ return;
162
+ // Даем время для рендера контента
163
+ var updateModalTimeout = setTimeout(updateModalState, 0);
164
+ return function () {
165
+ clearTimeout(updateModalTimeout);
166
+ setShouldUseBottomSheet(initialIsBottomSheet);
167
+ };
168
+ }, [isModalOpen, updateModalState, modalRef, initialIsBottomSheet]);
169
+ // Контролируем фокус и блюр на элементах.
170
+ useEffect(function () {
171
+ var handleFocus = function (_a) {
172
+ var _b;
173
+ var target = _a.target;
174
+ if (!(target instanceof HTMLElement))
175
+ return;
176
+ if (!((_b = modalRef.current) === null || _b === void 0 ? void 0 : _b.contains(target)))
177
+ return;
178
+ setFocusedElement(target);
179
+ };
180
+ var handleBlur = function () {
181
+ requestAnimationFrame(function () {
182
+ var _a;
183
+ var activeElement = document.activeElement;
184
+ if (activeElement && ((_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.contains(activeElement)))
185
+ setFocusedElement(activeElement);
186
+ else
187
+ setFocusedElement(null);
188
+ });
189
+ };
190
+ if (isMobileBottomSheet) {
191
+ document.addEventListener(EVENT_LISTENER_TYPES.focusIn, handleFocus);
192
+ document.addEventListener(EVENT_LISTENER_TYPES.focusOut, handleBlur);
193
+ }
194
+ return function () {
195
+ document.removeEventListener(EVENT_LISTENER_TYPES.focusIn, handleFocus);
196
+ document.removeEventListener(EVENT_LISTENER_TYPES.focusOut, handleBlur);
197
+ };
198
+ }, [isMobileBottomSheet, modalRef]);
199
+ var recalculateScrollOffset = useCallback(function () {
200
+ var _a;
201
+ var visualViewport = window.visualViewport;
202
+ var _b = (visualViewport || {}).height, visualViewportHeight = _b === void 0 ? 0 : _b;
203
+ // Вычисляем доскролл только когда открыт mobile BottomSheet,
204
+ // клавиатура активна и внутри модалки есть фокусный элемент.
205
+ if (!isMobileBottomSheet || !isKeyboardActuallyOpen || !focusedElement)
206
+ return setOffsetScrollY(0);
207
+ if (!((_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.contains(focusedElement)))
208
+ return setOffsetScrollY(0);
209
+ // Считаем смещение, чтобы поле ввода осталось в видимой зоне над клавиатурой.
210
+ var scrollOffset = generateOffsetY({
211
+ focusedElement: focusedElement,
212
+ visualViewport: visualViewport,
213
+ scrollTo: scrollTo,
214
+ extraPaddingFocusedElement: extraPaddingFocusedElement,
215
+ topCursorEdge: topCursorEdge,
216
+ upperVisibilityThreshold: upperVisibilityThreshold,
217
+ });
218
+ setOffsetScrollY(scrollOffset);
219
+ if (checkIsScrollToTop(scrollTo)) {
220
+ setOffsetScrollYKey(function (prevOffsetScrollYKey) { return prevOffsetScrollYKey + 1; });
221
+ setKeyboardAdditionalPadding(extraPaddingFocusedElement > visualViewportHeight ? extraPaddingFocusedElement - visualViewportHeight : 0);
222
+ }
223
+ }, [
224
+ isMobileBottomSheet,
225
+ isKeyboardActuallyOpen,
226
+ focusedElement,
227
+ modalRef,
228
+ scrollTo,
229
+ extraPaddingFocusedElement,
230
+ topCursorEdge,
231
+ upperVisibilityThreshold,
232
+ ]);
233
+ useEffect(function () {
234
+ recalculateScrollOffset();
235
+ }, [recalculateScrollOffset]);
236
+ useEffect(function () {
237
+ var visualViewport = window.visualViewport;
238
+ if (!isMobileBottomSheet || !isKeyboardActuallyOpen || !visualViewport)
239
+ return;
240
+ visualViewport.addEventListener(EVENT_LISTENER_TYPES.resize, recalculateScrollOffset);
241
+ visualViewport.addEventListener(EVENT_LISTENER_TYPES.scroll, recalculateScrollOffset);
242
+ return function () {
243
+ visualViewport.removeEventListener(EVENT_LISTENER_TYPES.resize, recalculateScrollOffset);
244
+ visualViewport.removeEventListener(EVENT_LISTENER_TYPES.scroll, recalculateScrollOffset);
245
+ };
246
+ }, [isMobileBottomSheet, isKeyboardActuallyOpen, recalculateScrollOffset]);
247
+ useEffect(function () {
248
+ if (!isMobileBottomSheet || !isKeyboardActuallyOpen || !focusedElement || !window.ResizeObserver)
249
+ return;
250
+ var resizeObserver = new ResizeObserver(function () { return recalculateScrollOffset(); });
251
+ resizeObserver.observe(focusedElement);
252
+ return function () { return resizeObserver.disconnect(); };
253
+ }, [focusedElement, isKeyboardActuallyOpen, isMobileBottomSheet, recalculateScrollOffset]);
254
+ var renderModal = function (children) {
255
+ if (!isModalOpen)
256
+ return null;
257
+ var handleOutsideClick = function (event) {
258
+ event.preventDefault();
259
+ event.stopPropagation();
260
+ isClosableOutside && clickOutsideTheModal(handleCloseModal, handleClickOutside);
261
+ };
262
+ //DRAG_THRESHOLD
263
+ var BottomSheetModal = (_jsxs(Sheet, __assign({ style: __assign(__assign({}, sheetStyles), { zIndex: 100 }), id: BOTTOM_SHEET, className: "smartapp-bottom-sheet", onClose: handleCloseModal, isOpen: isModalOpen }, correctSheetProps, { detent: actualBottomSheetDetent, onSnap: sheetPropsOnSnap, onOpenEnd: handleBottomSheetOpenEnd }, { children: [_jsx(Sheet.Container, __assign({ style: sheetContainerStyles, className: "smartapp-bottom-sheet__container" }, sheetContainerProps, { "data-full-height": isFullHeightWithTopMarginBottomSheet }, { children: _jsx(Sheet.Content, __assign({ className: classNames({ 'smartapp-bottom-sheet__content-border-shadow': isBackgroundInteractionEnabled }), style: sheetContentStyles, scrollRef: scrollRef }, correctSheetContentProps, { children: children })) })), !isBackgroundInteractionEnabled && (_jsx(Sheet.Backdrop, __assign({ style: sheetBackdropStyles, onClick: handleOutsideClick, className: "smartapp-bottom-sheet__backdrop" }, sheetBackdropProps)))] })));
264
+ var Modal = (_jsx(Popup, __assign({ className: popupClassName, overlayStyle: __assign(__assign({}, popupStyles), { opacity: 0, animation: MODAL_ANIMATION }), closeOnDocumentClick: isClosableOutside, modal: true, open: isModalOpen, closeOnEscape: isClosableOutside, onClose: handleCloseModal }, { children: children })));
265
+ return shouldUseBottomSheet ? BottomSheetModal : Modal;
266
+ };
267
+ return {
268
+ shouldUseBottomSheet: shouldUseBottomSheet,
269
+ renderModal: renderModal,
270
+ offsetScrollY: offsetScrollY,
271
+ offsetScrollYKey: offsetScrollYKey,
272
+ bottomKeyboardPadding: isKeyboardActuallyOpen ? keyboardHeightActual + keyboardAdditionalPadding : 0,
273
+ };
274
+ };
275
+ //# sourceMappingURL=useModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useModal.js","sourceRoot":"","sources":["../../../src/hooks/useModal.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,8BAA8B;AAC9B,OAAc,EAAa,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC5G,OAAO,EAAE,KAAK,EAAe,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,yCAAyC,EAAE,MAAM,2BAA2B,CAAA;AACrF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAChG,OAAO,EAAE,YAAY,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAoCzG,IAAM,MAA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* from './styles';
2
+ export * from './сomponents/types';
3
+ export { default as Button } from './сomponents/Button';
4
+ export { default as Header } from './сomponents/Header';
5
+ export { default as ActionModal } from './сomponents/ActionModal';
6
+ export { default as AttachedFile } from './сomponents/AttachedFile';
7
+ export { default as Avatar } from './сomponents/Avatar';
8
+ export { default as Calendar } from './сomponents/Calendar';
9
+ export { default as Checkbox } from './сomponents/Checkbox';
10
+ export { default as Chip } from './сomponents/Chip';
11
+ export { default as ConfirmationModal } from './сomponents/ConfirmationModal';
12
+ export { default as CustomSelect } from './сomponents/CustomSelect';
13
+ export { default as CustomSelectProfiles } from './сomponents/CustomSelectProfiles';
14
+ export { default as DragAndDrop } from './сomponents/DragAndDrop';
15
+ export { default as DraggablePopup } from './сomponents/DraggablePopup';
16
+ export { default as Error } from './сomponents/Error';
17
+ export { default as Input } from './сomponents/Input';
18
+ export { default as Loader } from './сomponents/Loader';
19
+ export { default as Profile } from './сomponents/Profile';
20
+ export { default as Switcher } from './сomponents/Switcher';
21
+ export { default as ScrollBar } from './сomponents/ScrollBar';
22
+ export { default as Toggle } from './сomponents/Toggle';
23
+ export { default as Stories } from './сomponents/Stories';
24
+ export { default as SyncLoader } from './сomponents/SyncLoader';
25
+ export { default as Modal } from './сomponents/Modal';
26
+ export { default as Notification } from './сomponents/Notification';
27
+ export { default as RadioButton } from './сomponents/RadioButton';
28
+ export { default as Textarea } from './сomponents/Textarea';
29
+ export { default as ContextMenu } from './сomponents/ContextMenu';
30
+ export { default as UserDropdown } from './сomponents/UserDropdown';
31
+ export { Skeleton } from './сomponents/Skeleton';
32
+ export { default as ListItem } from './сomponents/ListItem';
33
+ export { default as CachedImage } from './сomponents/CachedImage';
34
+ export { default as ProgressBar } from './сomponents/ProgressBar';
35
+ export { ChartBar, ChartLine, ChartPie } from './сomponents/Charts';
36
+ export { Flex, VFlex, HFlex } from './сomponents/Flex';
37
+ export { default as ContextMenuItem } from './сomponents/ContextMenuItem';
38
+ export { ChipDndContext } from './сomponents/ChipDndContext';
@@ -0,0 +1,39 @@
1
+ export * from './styles';
2
+ export * from './сomponents/types';
3
+ export { default as Button } from './сomponents/Button';
4
+ export { default as Header } from './сomponents/Header';
5
+ export { default as ActionModal } from './сomponents/ActionModal';
6
+ export { default as AttachedFile } from './сomponents/AttachedFile';
7
+ export { default as Avatar } from './сomponents/Avatar';
8
+ export { default as Calendar } from './сomponents/Calendar';
9
+ export { default as Checkbox } from './сomponents/Checkbox';
10
+ export { default as Chip } from './сomponents/Chip';
11
+ export { default as ConfirmationModal } from './сomponents/ConfirmationModal';
12
+ export { default as CustomSelect } from './сomponents/CustomSelect';
13
+ export { default as CustomSelectProfiles } from './сomponents/CustomSelectProfiles';
14
+ export { default as DragAndDrop } from './сomponents/DragAndDrop';
15
+ export { default as DraggablePopup } from './сomponents/DraggablePopup';
16
+ export { default as Error } from './сomponents/Error';
17
+ export { default as Input } from './сomponents/Input';
18
+ export { default as Loader } from './сomponents/Loader';
19
+ export { default as Profile } from './сomponents/Profile';
20
+ export { default as Switcher } from './сomponents/Switcher';
21
+ export { default as ScrollBar } from './сomponents/ScrollBar';
22
+ export { default as Toggle } from './сomponents/Toggle';
23
+ export { default as Stories } from './сomponents/Stories';
24
+ export { default as SyncLoader } from './сomponents/SyncLoader';
25
+ export { default as Modal } from './сomponents/Modal';
26
+ export { default as Notification } from './сomponents/Notification';
27
+ export { default as RadioButton } from './сomponents/RadioButton';
28
+ export { default as Textarea } from './сomponents/Textarea';
29
+ export { default as ContextMenu } from './сomponents/ContextMenu';
30
+ export { default as UserDropdown } from './сomponents/UserDropdown';
31
+ export { Skeleton } from './сomponents/Skeleton';
32
+ export { default as ListItem } from './сomponents/ListItem';
33
+ export { default as CachedImage } from './сomponents/CachedImage';
34
+ export { default as ProgressBar } from './сomponents/ProgressBar';
35
+ export { ChartBar, ChartLine, ChartPie } from './сomponents/Charts';
36
+ export { Flex, VFlex, HFlex } from './сomponents/Flex';
37
+ export { default as ContextMenuItem } from './сomponents/ContextMenuItem';
38
+ export { ChipDndContext } from './сomponents/ChipDndContext';
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,OA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}
@@ -0,0 +1 @@
1
+ export * from './styles.scss';
@@ -0,0 +1,2 @@
1
+ export * from './styles.scss';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
File without changes