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

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 (478) hide show
  1. package/package.json +1 -1
  2. package/build/main/assets/icons/arrow-back.svg +0 -3
  3. package/build/main/assets/icons/arrow-down.svg +0 -3
  4. package/build/main/assets/icons/arrow-up.svg +0 -3
  5. package/build/main/assets/icons/attachment-loader.svg +0 -3
  6. package/build/main/assets/icons/avatar-arrow-down.svg +0 -3
  7. package/build/main/assets/icons/avatar-arrow-up.svg +0 -3
  8. package/build/main/assets/icons/avatar-loader.svg +0 -3
  9. package/build/main/assets/icons/button-loader.svg +0 -3
  10. package/build/main/assets/icons/calendar-arrow-next.svg +0 -3
  11. package/build/main/assets/icons/calendar-arrow-prev.svg +0 -3
  12. package/build/main/assets/icons/check-mark-square.svg +0 -4
  13. package/build/main/assets/icons/check-mark.svg +0 -4
  14. package/build/main/assets/icons/chip-info.svg +0 -5
  15. package/build/main/assets/icons/clear.svg +0 -3
  16. package/build/main/assets/icons/close-modal.svg +0 -3
  17. package/build/main/assets/icons/close-stories.svg +0 -4
  18. package/build/main/assets/icons/close.svg +0 -3
  19. package/build/main/assets/icons/contact-info.svg +0 -5
  20. package/build/main/assets/icons/corporate-user.svg +0 -3
  21. package/build/main/assets/icons/crown.svg +0 -5
  22. package/build/main/assets/icons/delete-chip.svg +0 -3
  23. package/build/main/assets/icons/distribution.svg +0 -12
  24. package/build/main/assets/icons/doc-small.svg +0 -11
  25. package/build/main/assets/icons/doc.svg +0 -11
  26. package/build/main/assets/icons/error.svg +0 -5
  27. package/build/main/assets/icons/external-link.svg +0 -3
  28. package/build/main/assets/icons/eye-off.svg +0 -5
  29. package/build/main/assets/icons/eye-on.svg +0 -4
  30. package/build/main/assets/icons/file-small.svg +0 -11
  31. package/build/main/assets/icons/file.svg +0 -11
  32. package/build/main/assets/icons/global-address-book-user.svg +0 -4
  33. package/build/main/assets/icons/group.svg +0 -3
  34. package/build/main/assets/icons/indeterminate-check-mark-square.svg +0 -4
  35. package/build/main/assets/icons/info.svg +0 -5
  36. package/build/main/assets/icons/input-arrow-down.svg +0 -3
  37. package/build/main/assets/icons/input-arrow-up.svg +0 -3
  38. package/build/main/assets/icons/loader.svg +0 -3
  39. package/build/main/assets/icons/logout.svg +0 -4
  40. package/build/main/assets/icons/magnifying-glass.svg +0 -3
  41. package/build/main/assets/icons/mail.svg +0 -3
  42. package/build/main/assets/icons/meeting-room.svg +0 -3
  43. package/build/main/assets/icons/more.svg +0 -3
  44. package/build/main/assets/icons/my-contacts-user.svg +0 -3
  45. package/build/main/assets/icons/notification-close.svg +0 -3
  46. package/build/main/assets/icons/notification-failure.svg +0 -3
  47. package/build/main/assets/icons/notification-info.svg +0 -5
  48. package/build/main/assets/icons/notification-success.svg +0 -4
  49. package/build/main/assets/icons/order.svg +0 -6
  50. package/build/main/assets/icons/pdf-small.svg +0 -11
  51. package/build/main/assets/icons/pdf.svg +0 -11
  52. package/build/main/assets/icons/play-small.svg +0 -3
  53. package/build/main/assets/icons/play.svg +0 -3
  54. package/build/main/assets/icons/plus.svg +0 -4
  55. package/build/main/assets/icons/ppt-small.svg +0 -11
  56. package/build/main/assets/icons/ppt.svg +0 -11
  57. package/build/main/assets/icons/private.svg +0 -12
  58. package/build/main/assets/icons/refresh.svg +0 -3
  59. package/build/main/assets/icons/search.svg +0 -3
  60. package/build/main/assets/icons/story-loader.svg +0 -3
  61. package/build/main/assets/icons/tick.svg +0 -10
  62. package/build/main/assets/icons/trash.svg +0 -3
  63. package/build/main/assets/icons/txt-small.svg +0 -11
  64. package/build/main/assets/icons/txt.svg +0 -11
  65. package/build/main/assets/icons/unread-mails.svg +0 -4
  66. package/build/main/assets/icons/warning-avatar.svg +0 -4
  67. package/build/main/assets/icons/xls-small.svg +0 -11
  68. package/build/main/assets/icons/xls.svg +0 -11
  69. package/build/main/assets/storybook/index.d.ts +0 -24
  70. package/build/main/assets/storybook/index.js +0 -25
  71. package/build/main/assets/storybook/index.js.map +0 -1
  72. package/build/main/constants/constants.d.ts +0 -197
  73. package/build/main/constants/constants.js +0 -217
  74. package/build/main/constants/constants.js.map +0 -1
  75. package/build/main/constants/index.d.ts +0 -2
  76. package/build/main/constants/index.js +0 -3
  77. package/build/main/constants/index.js.map +0 -1
  78. package/build/main/constants/types.d.ts +0 -58
  79. package/build/main/constants/types.js +0 -2
  80. package/build/main/constants/types.js.map +0 -1
  81. package/build/main/helpers/index.d.ts +0 -31
  82. package/build/main/helpers/index.js +0 -183
  83. package/build/main/helpers/index.js.map +0 -1
  84. package/build/main/hooks/useLongTap.d.ts +0 -12
  85. package/build/main/hooks/useLongTap.js +0 -29
  86. package/build/main/hooks/useLongTap.js.map +0 -1
  87. package/build/main/hooks/useModal.d.ts +0 -22
  88. package/build/main/hooks/useModal.js +0 -61
  89. package/build/main/hooks/useModal.js.map +0 -1
  90. package/build/main/index.d.ts +0 -36
  91. package/build/main/index.js +0 -37
  92. package/build/main/index.js.map +0 -1
  93. package/build/main/styles/index.d.ts +0 -1
  94. package/build/main/styles/index.js +0 -2
  95. package/build/main/styles/index.js.map +0 -1
  96. package/build/main/styles/main.js +0 -6
  97. package/build/main/styles/styles.scss +0 -14
  98. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +0 -4
  99. package/build/main//321/201omponents/ActionModal/ActionModal.js +0 -53
  100. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +0 -1
  101. package/build/main//321/201omponents/ActionModal/index.d.ts +0 -1
  102. package/build/main//321/201omponents/ActionModal/index.js +0 -2
  103. package/build/main//321/201omponents/ActionModal/index.js.map +0 -1
  104. package/build/main//321/201omponents/ActionModal/types.d.ts +0 -23
  105. package/build/main//321/201omponents/ActionModal/types.js +0 -2
  106. package/build/main//321/201omponents/ActionModal/types.js.map +0 -1
  107. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +0 -8
  108. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +0 -146
  109. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +0 -1
  110. package/build/main//321/201omponents/AttachedFile/index.d.ts +0 -1
  111. package/build/main//321/201omponents/AttachedFile/index.js +0 -2
  112. package/build/main//321/201omponents/AttachedFile/index.js.map +0 -1
  113. package/build/main//321/201omponents/AttachedFile/types.d.ts +0 -22
  114. package/build/main//321/201omponents/AttachedFile/types.js +0 -2
  115. package/build/main//321/201omponents/AttachedFile/types.js.map +0 -1
  116. package/build/main//321/201omponents/Avatar/Avatar.d.ts +0 -4
  117. package/build/main//321/201omponents/Avatar/Avatar.js +0 -226
  118. package/build/main//321/201omponents/Avatar/Avatar.js.map +0 -1
  119. package/build/main//321/201omponents/Avatar/index.d.ts +0 -1
  120. package/build/main//321/201omponents/Avatar/index.js +0 -2
  121. package/build/main//321/201omponents/Avatar/index.js.map +0 -1
  122. package/build/main//321/201omponents/Avatar/types.d.ts +0 -60
  123. package/build/main//321/201omponents/Avatar/types.js +0 -29
  124. package/build/main//321/201omponents/Avatar/types.js.map +0 -1
  125. package/build/main//321/201omponents/Button/Button.d.ts +0 -4
  126. package/build/main//321/201omponents/Button/Button.js +0 -62
  127. package/build/main//321/201omponents/Button/Button.js.map +0 -1
  128. package/build/main//321/201omponents/Button/index.d.ts +0 -1
  129. package/build/main//321/201omponents/Button/index.js +0 -2
  130. package/build/main//321/201omponents/Button/index.js.map +0 -1
  131. package/build/main//321/201omponents/Button/types.d.ts +0 -24
  132. package/build/main//321/201omponents/Button/types.js +0 -12
  133. package/build/main//321/201omponents/Button/types.js.map +0 -1
  134. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +0 -4
  135. package/build/main//321/201omponents/CachedImage/CachedImage.js +0 -59
  136. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +0 -1
  137. package/build/main//321/201omponents/CachedImage/helpers.d.ts +0 -3
  138. package/build/main//321/201omponents/CachedImage/helpers.js +0 -40
  139. package/build/main//321/201omponents/CachedImage/helpers.js.map +0 -1
  140. package/build/main//321/201omponents/CachedImage/index.d.ts +0 -1
  141. package/build/main//321/201omponents/CachedImage/index.js +0 -2
  142. package/build/main//321/201omponents/CachedImage/index.js.map +0 -1
  143. package/build/main//321/201omponents/CachedImage/types.d.ts +0 -10
  144. package/build/main//321/201omponents/CachedImage/types.js +0 -2
  145. package/build/main//321/201omponents/CachedImage/types.js.map +0 -1
  146. package/build/main//321/201omponents/Calendar/Calendar.d.ts +0 -4
  147. package/build/main//321/201omponents/Calendar/Calendar.js +0 -145
  148. package/build/main//321/201omponents/Calendar/Calendar.js.map +0 -1
  149. package/build/main//321/201omponents/Calendar/index.d.ts +0 -1
  150. package/build/main//321/201omponents/Calendar/index.js +0 -2
  151. package/build/main//321/201omponents/Calendar/index.js.map +0 -1
  152. package/build/main//321/201omponents/Calendar/types.d.ts +0 -15
  153. package/build/main//321/201omponents/Calendar/types.js +0 -2
  154. package/build/main//321/201omponents/Calendar/types.js.map +0 -1
  155. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +0 -4
  156. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +0 -47
  157. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +0 -1
  158. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +0 -4
  159. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +0 -71
  160. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +0 -1
  161. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +0 -4
  162. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +0 -42
  163. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +0 -1
  164. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +0 -4
  165. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +0 -64
  166. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +0 -1
  167. package/build/main//321/201omponents/Charts/colors.d.ts +0 -3
  168. package/build/main//321/201omponents/Charts/colors.js +0 -4
  169. package/build/main//321/201omponents/Charts/colors.js.map +0 -1
  170. package/build/main//321/201omponents/Charts/constants.d.ts +0 -42
  171. package/build/main//321/201omponents/Charts/constants.js +0 -42
  172. package/build/main//321/201omponents/Charts/constants.js.map +0 -1
  173. package/build/main//321/201omponents/Charts/helpers.d.ts +0 -17
  174. package/build/main//321/201omponents/Charts/helpers.js +0 -73
  175. package/build/main//321/201omponents/Charts/helpers.js.map +0 -1
  176. package/build/main//321/201omponents/Charts/index.d.ts +0 -3
  177. package/build/main//321/201omponents/Charts/index.js +0 -4
  178. package/build/main//321/201omponents/Charts/index.js.map +0 -1
  179. package/build/main//321/201omponents/Charts/types.d.ts +0 -89
  180. package/build/main//321/201omponents/Charts/types.js +0 -2
  181. package/build/main//321/201omponents/Charts/types.js.map +0 -1
  182. package/build/main//321/201omponents/Charts/useEvents.d.ts +0 -5
  183. package/build/main//321/201omponents/Charts/useEvents.js +0 -45
  184. package/build/main//321/201omponents/Charts/useEvents.js.map +0 -1
  185. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +0 -6
  186. package/build/main//321/201omponents/Charts/usePieEvents.js +0 -57
  187. package/build/main//321/201omponents/Charts/usePieEvents.js.map +0 -1
  188. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +0 -8
  189. package/build/main//321/201omponents/Checkbox/Checkbox.js +0 -48
  190. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +0 -1
  191. package/build/main//321/201omponents/Checkbox/index.d.ts +0 -1
  192. package/build/main//321/201omponents/Checkbox/index.js +0 -2
  193. package/build/main//321/201omponents/Checkbox/index.js.map +0 -1
  194. package/build/main//321/201omponents/Checkbox/types.d.ts +0 -14
  195. package/build/main//321/201omponents/Checkbox/types.js +0 -2
  196. package/build/main//321/201omponents/Checkbox/types.js.map +0 -1
  197. package/build/main//321/201omponents/Chip/Chip.d.ts +0 -4
  198. package/build/main//321/201omponents/Chip/Chip.js +0 -118
  199. package/build/main//321/201omponents/Chip/Chip.js.map +0 -1
  200. package/build/main//321/201omponents/Chip/index.d.ts +0 -1
  201. package/build/main//321/201omponents/Chip/index.js +0 -2
  202. package/build/main//321/201omponents/Chip/index.js.map +0 -1
  203. package/build/main//321/201omponents/Chip/types.d.ts +0 -27
  204. package/build/main//321/201omponents/Chip/types.js +0 -2
  205. package/build/main//321/201omponents/Chip/types.js.map +0 -1
  206. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +0 -4
  207. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +0 -63
  208. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +0 -1
  209. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +0 -1
  210. package/build/main//321/201omponents/ConfirmationModal/index.js +0 -2
  211. package/build/main//321/201omponents/ConfirmationModal/index.js.map +0 -1
  212. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +0 -28
  213. package/build/main//321/201omponents/ConfirmationModal/types.js +0 -2
  214. package/build/main//321/201omponents/ConfirmationModal/types.js.map +0 -1
  215. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +0 -4
  216. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +0 -81
  217. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +0 -1
  218. package/build/main//321/201omponents/ContextMenu/index.d.ts +0 -1
  219. package/build/main//321/201omponents/ContextMenu/index.js +0 -2
  220. package/build/main//321/201omponents/ContextMenu/index.js.map +0 -1
  221. package/build/main//321/201omponents/ContextMenu/types.d.ts +0 -34
  222. package/build/main//321/201omponents/ContextMenu/types.js +0 -2
  223. package/build/main//321/201omponents/ContextMenu/types.js.map +0 -1
  224. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +0 -12
  225. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +0 -248
  226. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +0 -1
  227. package/build/main//321/201omponents/CustomSelect/index.d.ts +0 -1
  228. package/build/main//321/201omponents/CustomSelect/index.js +0 -2
  229. package/build/main//321/201omponents/CustomSelect/index.js.map +0 -1
  230. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +0 -16
  231. package/build/main//321/201omponents/CustomSelect/selectStyles.js +0 -70
  232. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +0 -1
  233. package/build/main//321/201omponents/CustomSelect/types.d.ts +0 -69
  234. package/build/main//321/201omponents/CustomSelect/types.js +0 -2
  235. package/build/main//321/201omponents/CustomSelect/types.js.map +0 -1
  236. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +0 -4
  237. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +0 -58
  238. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +0 -1
  239. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +0 -1
  240. package/build/main//321/201omponents/CustomSelectProfiles/index.js +0 -2
  241. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +0 -1
  242. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +0 -12
  243. package/build/main//321/201omponents/CustomSelectProfiles/types.js +0 -2
  244. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +0 -1
  245. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +0 -4
  246. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +0 -57
  247. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +0 -1
  248. package/build/main//321/201omponents/DragAndDrop/index.d.ts +0 -1
  249. package/build/main//321/201omponents/DragAndDrop/index.js +0 -2
  250. package/build/main//321/201omponents/DragAndDrop/index.js.map +0 -1
  251. package/build/main//321/201omponents/DragAndDrop/types.d.ts +0 -24
  252. package/build/main//321/201omponents/DragAndDrop/types.js +0 -2
  253. package/build/main//321/201omponents/DragAndDrop/types.js.map +0 -1
  254. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +0 -4
  255. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +0 -222
  256. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +0 -1
  257. package/build/main//321/201omponents/DraggablePopup/index.d.ts +0 -1
  258. package/build/main//321/201omponents/DraggablePopup/index.js +0 -2
  259. package/build/main//321/201omponents/DraggablePopup/index.js.map +0 -1
  260. package/build/main//321/201omponents/DraggablePopup/types.d.ts +0 -90
  261. package/build/main//321/201omponents/DraggablePopup/types.js +0 -2
  262. package/build/main//321/201omponents/DraggablePopup/types.js.map +0 -1
  263. package/build/main//321/201omponents/Error/Error.d.ts +0 -4
  264. package/build/main//321/201omponents/Error/Error.js +0 -23
  265. package/build/main//321/201omponents/Error/Error.js.map +0 -1
  266. package/build/main//321/201omponents/Error/index.d.ts +0 -1
  267. package/build/main//321/201omponents/Error/index.js +0 -2
  268. package/build/main//321/201omponents/Error/index.js.map +0 -1
  269. package/build/main//321/201omponents/Error/types.d.ts +0 -10
  270. package/build/main//321/201omponents/Error/types.js +0 -2
  271. package/build/main//321/201omponents/Error/types.js.map +0 -1
  272. package/build/main//321/201omponents/Flex/Flex.d.ts +0 -2
  273. package/build/main//321/201omponents/Flex/Flex.js +0 -35
  274. package/build/main//321/201omponents/Flex/Flex.js.map +0 -1
  275. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +0 -5
  276. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +0 -16
  277. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +0 -1
  278. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +0 -1
  279. package/build/main//321/201omponents/Flex/HFlex/index.js +0 -2
  280. package/build/main//321/201omponents/Flex/HFlex/index.js.map +0 -1
  281. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +0 -5
  282. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +0 -16
  283. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +0 -1
  284. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +0 -1
  285. package/build/main//321/201omponents/Flex/VFlex/index.js +0 -2
  286. package/build/main//321/201omponents/Flex/VFlex/index.js.map +0 -1
  287. package/build/main//321/201omponents/Flex/index.d.ts +0 -3
  288. package/build/main//321/201omponents/Flex/index.js +0 -4
  289. package/build/main//321/201omponents/Flex/index.js.map +0 -1
  290. package/build/main//321/201omponents/Flex/types.d.ts +0 -19
  291. package/build/main//321/201omponents/Flex/types.js +0 -2
  292. package/build/main//321/201omponents/Flex/types.js.map +0 -1
  293. package/build/main//321/201omponents/Header/Header.d.ts +0 -5
  294. package/build/main//321/201omponents/Header/Header.js +0 -125
  295. package/build/main//321/201omponents/Header/Header.js.map +0 -1
  296. package/build/main//321/201omponents/Header/index.d.ts +0 -1
  297. package/build/main//321/201omponents/Header/index.js +0 -2
  298. package/build/main//321/201omponents/Header/index.js.map +0 -1
  299. package/build/main//321/201omponents/Header/types.d.ts +0 -47
  300. package/build/main//321/201omponents/Header/types.js +0 -2
  301. package/build/main//321/201omponents/Header/types.js.map +0 -1
  302. package/build/main//321/201omponents/Input/Input.d.ts +0 -4
  303. package/build/main//321/201omponents/Input/Input.js +0 -182
  304. package/build/main//321/201omponents/Input/Input.js.map +0 -1
  305. package/build/main//321/201omponents/Input/index.d.ts +0 -1
  306. package/build/main//321/201omponents/Input/index.js +0 -2
  307. package/build/main//321/201omponents/Input/index.js.map +0 -1
  308. package/build/main//321/201omponents/Input/types.d.ts +0 -27
  309. package/build/main//321/201omponents/Input/types.js +0 -2
  310. package/build/main//321/201omponents/Input/types.js.map +0 -1
  311. package/build/main//321/201omponents/ListItem/ListItem.d.ts +0 -23
  312. package/build/main//321/201omponents/ListItem/ListItem.js +0 -203
  313. package/build/main//321/201omponents/ListItem/ListItem.js.map +0 -1
  314. package/build/main//321/201omponents/ListItem/index.d.ts +0 -1
  315. package/build/main//321/201omponents/ListItem/index.js +0 -2
  316. package/build/main//321/201omponents/ListItem/index.js.map +0 -1
  317. package/build/main//321/201omponents/ListItem/types.d.ts +0 -41
  318. package/build/main//321/201omponents/ListItem/types.js +0 -2
  319. package/build/main//321/201omponents/ListItem/types.js.map +0 -1
  320. package/build/main//321/201omponents/Loader/Loader.d.ts +0 -4
  321. package/build/main//321/201omponents/Loader/Loader.js +0 -44
  322. package/build/main//321/201omponents/Loader/Loader.js.map +0 -1
  323. package/build/main//321/201omponents/Loader/index.d.ts +0 -1
  324. package/build/main//321/201omponents/Loader/index.js +0 -2
  325. package/build/main//321/201omponents/Loader/index.js.map +0 -1
  326. package/build/main//321/201omponents/Loader/types.d.ts +0 -18
  327. package/build/main//321/201omponents/Loader/types.js +0 -2
  328. package/build/main//321/201omponents/Loader/types.js.map +0 -1
  329. package/build/main//321/201omponents/Modal/Modal.d.ts +0 -4
  330. package/build/main//321/201omponents/Modal/Modal.js +0 -259
  331. package/build/main//321/201omponents/Modal/Modal.js.map +0 -1
  332. package/build/main//321/201omponents/Modal/index.d.ts +0 -1
  333. package/build/main//321/201omponents/Modal/index.js +0 -2
  334. package/build/main//321/201omponents/Modal/index.js.map +0 -1
  335. package/build/main//321/201omponents/Modal/types.d.ts +0 -41
  336. package/build/main//321/201omponents/Modal/types.js +0 -2
  337. package/build/main//321/201omponents/Modal/types.js.map +0 -1
  338. package/build/main//321/201omponents/Notification/Notification.d.ts +0 -8
  339. package/build/main//321/201omponents/Notification/Notification.js +0 -199
  340. package/build/main//321/201omponents/Notification/Notification.js.map +0 -1
  341. package/build/main//321/201omponents/Notification/index.d.ts +0 -1
  342. package/build/main//321/201omponents/Notification/index.js +0 -2
  343. package/build/main//321/201omponents/Notification/index.js.map +0 -1
  344. package/build/main//321/201omponents/Notification/types.d.ts +0 -44
  345. package/build/main//321/201omponents/Notification/types.js +0 -2
  346. package/build/main//321/201omponents/Notification/types.js.map +0 -1
  347. package/build/main//321/201omponents/Profile/Profile.d.ts +0 -4
  348. package/build/main//321/201omponents/Profile/Profile.js +0 -42
  349. package/build/main//321/201omponents/Profile/Profile.js.map +0 -1
  350. package/build/main//321/201omponents/Profile/index.d.ts +0 -1
  351. package/build/main//321/201omponents/Profile/index.js +0 -2
  352. package/build/main//321/201omponents/Profile/index.js.map +0 -1
  353. package/build/main//321/201omponents/Profile/types.d.ts +0 -14
  354. package/build/main//321/201omponents/Profile/types.js +0 -2
  355. package/build/main//321/201omponents/Profile/types.js.map +0 -1
  356. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +0 -4
  357. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +0 -66
  358. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +0 -1
  359. package/build/main//321/201omponents/ProgressBar/index.d.ts +0 -1
  360. package/build/main//321/201omponents/ProgressBar/index.js +0 -2
  361. package/build/main//321/201omponents/ProgressBar/index.js.map +0 -1
  362. package/build/main//321/201omponents/ProgressBar/types.d.ts +0 -7
  363. package/build/main//321/201omponents/ProgressBar/types.js +0 -2
  364. package/build/main//321/201omponents/ProgressBar/types.js.map +0 -1
  365. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +0 -4
  366. package/build/main//321/201omponents/RadioButton/RadioButton.js +0 -33
  367. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +0 -1
  368. package/build/main//321/201omponents/RadioButton/index.d.ts +0 -1
  369. package/build/main//321/201omponents/RadioButton/index.js +0 -2
  370. package/build/main//321/201omponents/RadioButton/index.js.map +0 -1
  371. package/build/main//321/201omponents/RadioButton/types.d.ts +0 -12
  372. package/build/main//321/201omponents/RadioButton/types.js +0 -2
  373. package/build/main//321/201omponents/RadioButton/types.js.map +0 -1
  374. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +0 -5
  375. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +0 -140
  376. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +0 -1
  377. package/build/main//321/201omponents/ScrollBar/index.d.ts +0 -1
  378. package/build/main//321/201omponents/ScrollBar/index.js +0 -2
  379. package/build/main//321/201omponents/ScrollBar/index.js.map +0 -1
  380. package/build/main//321/201omponents/ScrollBar/types.d.ts +0 -24
  381. package/build/main//321/201omponents/ScrollBar/types.js +0 -2
  382. package/build/main//321/201omponents/ScrollBar/types.js.map +0 -1
  383. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +0 -4
  384. package/build/main//321/201omponents/Skeleton/Skeleton.js +0 -59
  385. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +0 -1
  386. package/build/main//321/201omponents/Skeleton/index.d.ts +0 -1
  387. package/build/main//321/201omponents/Skeleton/index.js +0 -2
  388. package/build/main//321/201omponents/Skeleton/index.js.map +0 -1
  389. package/build/main//321/201omponents/Skeleton/types.d.ts +0 -17
  390. package/build/main//321/201omponents/Skeleton/types.js +0 -2
  391. package/build/main//321/201omponents/Skeleton/types.js.map +0 -1
  392. package/build/main//321/201omponents/Stories/Stories.d.ts +0 -4
  393. package/build/main//321/201omponents/Stories/Stories.js +0 -338
  394. package/build/main//321/201omponents/Stories/Stories.js.map +0 -1
  395. package/build/main//321/201omponents/Stories/index.d.ts +0 -1
  396. package/build/main//321/201omponents/Stories/index.js +0 -2
  397. package/build/main//321/201omponents/Stories/index.js.map +0 -1
  398. package/build/main//321/201omponents/Stories/types.d.ts +0 -71
  399. package/build/main//321/201omponents/Stories/types.js +0 -16
  400. package/build/main//321/201omponents/Stories/types.js.map +0 -1
  401. package/build/main//321/201omponents/Switcher/Switcher.d.ts +0 -4
  402. package/build/main//321/201omponents/Switcher/Switcher.js +0 -34
  403. package/build/main//321/201omponents/Switcher/Switcher.js.map +0 -1
  404. package/build/main//321/201omponents/Switcher/index.d.ts +0 -1
  405. package/build/main//321/201omponents/Switcher/index.js +0 -2
  406. package/build/main//321/201omponents/Switcher/index.js.map +0 -1
  407. package/build/main//321/201omponents/Switcher/types.d.ts +0 -8
  408. package/build/main//321/201omponents/Switcher/types.js +0 -2
  409. package/build/main//321/201omponents/Switcher/types.js.map +0 -1
  410. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +0 -5
  411. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +0 -65
  412. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +0 -1
  413. package/build/main//321/201omponents/SyncLoader/index.d.ts +0 -1
  414. package/build/main//321/201omponents/SyncLoader/index.js +0 -2
  415. package/build/main//321/201omponents/SyncLoader/index.js.map +0 -1
  416. package/build/main//321/201omponents/SyncLoader/types.d.ts +0 -8
  417. package/build/main//321/201omponents/SyncLoader/types.js +0 -2
  418. package/build/main//321/201omponents/SyncLoader/types.js.map +0 -1
  419. package/build/main//321/201omponents/Textarea/Textarea.d.ts +0 -4
  420. package/build/main//321/201omponents/Textarea/Textarea.js +0 -59
  421. package/build/main//321/201omponents/Textarea/Textarea.js.map +0 -1
  422. package/build/main//321/201omponents/Textarea/index.d.ts +0 -1
  423. package/build/main//321/201omponents/Textarea/index.js +0 -2
  424. package/build/main//321/201omponents/Textarea/index.js.map +0 -1
  425. package/build/main//321/201omponents/Textarea/types.d.ts +0 -13
  426. package/build/main//321/201omponents/Textarea/types.js +0 -2
  427. package/build/main//321/201omponents/Textarea/types.js.map +0 -1
  428. package/build/main//321/201omponents/Toggle/Toggle.d.ts +0 -4
  429. package/build/main//321/201omponents/Toggle/Toggle.js +0 -35
  430. package/build/main//321/201omponents/Toggle/Toggle.js.map +0 -1
  431. package/build/main//321/201omponents/Toggle/index.d.ts +0 -1
  432. package/build/main//321/201omponents/Toggle/index.js +0 -2
  433. package/build/main//321/201omponents/Toggle/index.js.map +0 -1
  434. package/build/main//321/201omponents/Toggle/types.d.ts +0 -12
  435. package/build/main//321/201omponents/Toggle/types.js +0 -2
  436. package/build/main//321/201omponents/Toggle/types.js.map +0 -1
  437. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +0 -4
  438. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +0 -31
  439. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +0 -1
  440. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +0 -4
  441. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +0 -88
  442. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
  443. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +0 -4
  444. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +0 -23
  445. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +0 -1
  446. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +0 -4
  447. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +0 -129
  448. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +0 -1
  449. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +0 -3
  450. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +0 -137
  451. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
  452. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +0 -4
  453. package/build/main//321/201omponents/UserDropdown/Option/Option.js +0 -80
  454. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +0 -1
  455. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +0 -4
  456. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +0 -44
  457. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +0 -1
  458. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +0 -5
  459. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +0 -549
  460. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +0 -1
  461. package/build/main//321/201omponents/UserDropdown/constants.d.ts +0 -8
  462. package/build/main//321/201omponents/UserDropdown/constants.js +0 -10
  463. package/build/main//321/201omponents/UserDropdown/constants.js.map +0 -1
  464. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +0 -105
  465. package/build/main//321/201omponents/UserDropdown/helpers.js +0 -143
  466. package/build/main//321/201omponents/UserDropdown/helpers.js.map +0 -1
  467. package/build/main//321/201omponents/UserDropdown/index.d.ts +0 -1
  468. package/build/main//321/201omponents/UserDropdown/index.js +0 -2
  469. package/build/main//321/201omponents/UserDropdown/index.js.map +0 -1
  470. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +0 -15
  471. package/build/main//321/201omponents/UserDropdown/selectStyles.js +0 -69
  472. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +0 -1
  473. package/build/main//321/201omponents/UserDropdown/types.d.ts +0 -269
  474. package/build/main//321/201omponents/UserDropdown/types.js +0 -9
  475. package/build/main//321/201omponents/UserDropdown/types.js.map +0 -1
  476. package/build/main//321/201omponents/types.d.ts +0 -2
  477. package/build/main//321/201omponents/types.js +0 -2
  478. package/build/main//321/201omponents/types.js.map +0 -1
@@ -1,183 +0,0 @@
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
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import classNames from 'classnames';
14
- import DOMPurify from 'dompurify';
15
- import juice from 'juice';
16
- import { isArray, isNil } from 'lodash';
17
- import { v4 as uuidv4 } from 'uuid';
18
- import { DISPLAY_SIZE } from '../сomponents/AttachedFile/AttachedFile';
19
- import { AVATAR_COLOR_BOTTOM, AVATAR_COLOR_BOTTOM_PERCENTS, AVATAR_COLOR_MIDDLE, AVATAR_COLOR_MIDDLE_PERCENTS, AVATAR_COLOR_TOP, AVATAR_COLOR_TOP_PERCENTS, AVATAR_DEGREES, BOTTOM_SHEET, CENTER, COLORS, DEFAULT_HEADER_AVATAR_INDEX, FILE_FORMATS, FONT_FAMILY, LAYOUT_TYPE, MODAL_ICONS_PADDING_LEFT, PLATFORM, THEME, } from '../constants';
20
- import { CONTACT_TYPES } from '../сomponents/UserDropdown/constants';
21
- import { ReactComponent as CorporateUserIcon } from '../assets/icons/corporate-user.svg';
22
- import { ReactComponent as DistributionIcon } from '../assets/icons/distribution.svg';
23
- import { ReactComponent as DocFileSmallIcon } from '../assets/icons/doc-small.svg';
24
- import { ReactComponent as DocFileIcon } from '../assets/icons/doc.svg';
25
- import { ReactComponent as FileSmallIcon } from '../assets/icons/file-small.svg';
26
- import { ReactComponent as FileIcon } from '../assets/icons/file.svg';
27
- import { ReactComponent as GlobalAddressBookIcon } from '../assets/icons/global-address-book-user.svg';
28
- import { ReactComponent as GroupIcon } from '../assets/icons/group.svg';
29
- import { ReactComponent as MeetingRoomIcon } from '../assets/icons/meeting-room.svg';
30
- import { ReactComponent as MyContactsUserIcon } from '../assets/icons/my-contacts-user.svg';
31
- import { ReactComponent as PdfFileSmallIcon } from '../assets/icons/pdf-small.svg';
32
- import { ReactComponent as PdfFileIcon } from '../assets/icons/pdf.svg';
33
- import { ReactComponent as PptFileSmallIcon } from '../assets/icons/ppt-small.svg';
34
- import { ReactComponent as PptFileIcon } from '../assets/icons/ppt.svg';
35
- import { ReactComponent as TxtFileSmallIcon } from '../assets/icons/txt-small.svg';
36
- import { ReactComponent as TxtFileIcon } from '../assets/icons/txt.svg';
37
- import { ReactComponent as XlsFileSmallIcon } from '../assets/icons/xls-small.svg';
38
- import { ReactComponent as XlsFileIcon } from '../assets/icons/xls.svg';
39
- export var generateColor = function (color, defaultColor) {
40
- if (defaultColor === void 0) { defaultColor = ''; }
41
- return (color && CSS.supports('color', color) ? color : defaultColor);
42
- };
43
- export var isWebPlatform = function (platform) { return platform === PLATFORM.web; };
44
- export var isIosPlatform = function (platform) { return platform === PLATFORM.ios; };
45
- export var isAndroidPlatform = function (platform) { return platform === PLATFORM.android; };
46
- export var isMobilePlatform = function (platform) { return isAndroidPlatform(platform) || isIosPlatform(platform); };
47
- export var isDarkTheme = function (theme) { return theme === THEME.dark; };
48
- export var generateClassNames = function (_a) {
49
- var className = _a.className, delimiter = _a.delimiter, additionalClassName = _a.additionalClassName;
50
- return isArray(additionalClassName)
51
- ? classNames(className, additionalClassName.map(function (name) { return "".concat(className).concat(delimiter).concat(name); }))
52
- : classNames(className, "".concat(className).concat(delimiter).concat(additionalClassName));
53
- };
54
- export var userNameToColor = function (userName) {
55
- var _a = generateAvatarColor(userName), degrees = _a.degrees, top = _a.top, topPercent = _a.topPercent, middle = _a.middle, middlePercent = _a.middlePercent, bottom = _a.bottom, bottomPercent = _a.bottomPercent;
56
- return middle
57
- ? "linear-gradient(".concat(degrees, "deg, ").concat(top, " ").concat(topPercent, "%, ").concat(middle, " ").concat(middlePercent, "%, ").concat(bottom, " ").concat(bottomPercent, "%)")
58
- : "linear-gradient(".concat(degrees, "deg, ").concat(top, " ").concat(topPercent, "%, ").concat(bottom, " ").concat(bottomPercent, "%)");
59
- };
60
- var generateAvatarData = function (index) { return ({
61
- degrees: AVATAR_DEGREES[index],
62
- top: AVATAR_COLOR_TOP[index],
63
- topPercent: AVATAR_COLOR_TOP_PERCENTS[index],
64
- middle: AVATAR_COLOR_MIDDLE[index],
65
- middlePercent: AVATAR_COLOR_MIDDLE_PERCENTS[index],
66
- bottom: AVATAR_COLOR_BOTTOM[index],
67
- bottomPercent: AVATAR_COLOR_BOTTOM_PERCENTS[index],
68
- }); };
69
- var generateAvatarColor = function (str) {
70
- if (!str)
71
- return generateAvatarData(DEFAULT_HEADER_AVATAR_INDEX);
72
- var stylesIndex = calculateAvatarStylesIndex(str) || 0;
73
- return generateAvatarData(stylesIndex);
74
- };
75
- var calculateAvatarStylesIndex = function (str) { return Math.abs(hashCode(str) % AVATAR_COLOR_TOP.length); };
76
- var hashCode = function (str) {
77
- return str.split('').reduce(function (a, b) {
78
- a = (a << 5) - a + b.charCodeAt(0);
79
- return a & a;
80
- }, 0);
81
- };
82
- var generateFirstLetterOfWord = function (word) { return (word === null || word === void 0 ? void 0 : word[0]) || ''; };
83
- export var createInitials = function (str) {
84
- var _a = str.trim().toUpperCase().split(' '), firstWord = _a[0], secondWord = _a[1];
85
- return "".concat(generateFirstLetterOfWord(firstWord)).concat(generateFirstLetterOfWord(secondWord));
86
- };
87
- export var calculatePercentageOfValue = function (_a) {
88
- var value = _a.value, percentage = _a.percentage, _b = _a.shouldBeRounded, shouldBeRounded = _b === void 0 ? true : _b;
89
- var result = (value * percentage) / 100;
90
- return shouldBeRounded ? Math.ceil(result) : result;
91
- };
92
- export var isFullScreen = function (layoutType) { return layoutType === LAYOUT_TYPE.full; };
93
- export var isValueEqualToZero = function (value) { return value === 0; };
94
- export var renderStoryComponent = function (_a) {
95
- var component = _a.component, componentDarkTheme = _a.componentDarkTheme, styles = _a.styles;
96
- return (_jsxs("div", __assign({ style: { display: 'flex', flexDirection: 'column', gap: '16px' } }, { children: [_jsxs("div", __assign({ style: __assign({ border: '1px dashed #9747FF', borderRadius: '5px', padding: '0 16px 16px' }, styles) }, { children: [_jsx("h3", { children: "Light Theme" }), component] })), _jsxs("div", __assign({ style: __assign({ background: '#242424', borderRadius: '5px', padding: '0 16px 16px' }, styles) }, { children: [_jsx("h3", __assign({ style: { color: '#F9F9F9' } }, { children: "Dark Theme" })), _jsx("div", __assign({ "data-theme": "dark" }, { children: componentDarkTheme || component }))] }))] })));
97
- };
98
- export var generateIsCloseIconHidden = function (platform, isCloseIconHidden) {
99
- return isNil(isCloseIconHidden) ? isMobilePlatform(platform) : isCloseIconHidden;
100
- };
101
- var isTextAlignEqualToCenter = function (element) { return (element ? window.getComputedStyle(element).textAlign === CENTER : false); };
102
- export var checkIfContentIsCentered = function (elementRef) {
103
- var elementRefCurrent = elementRef.current;
104
- if (elementRefCurrent)
105
- return isTextAlignEqualToCenter(elementRefCurrent) || isTextAlignEqualToCenter(elementRefCurrent.firstElementChild);
106
- };
107
- export var generateBottomSheetClassName = function (platform, shouldUseBottomSheet) {
108
- return [platform, shouldUseBottomSheet ? BOTTOM_SHEET : ''].filter(Boolean);
109
- };
110
- export var generateId = function () { return uuidv4(); };
111
- export var generateAvatarIcon = function (userType) {
112
- switch (userType) {
113
- case CONTACT_TYPES.privateDL:
114
- return _jsx(GroupIcon, { color: COLORS.iconContrast });
115
- case CONTACT_TYPES.publicDL:
116
- return _jsx(DistributionIcon, { color: COLORS.iconContrast });
117
- case CONTACT_TYPES.meetingRoom:
118
- return _jsx(MeetingRoomIcon, { color: COLORS.iconContrast });
119
- default:
120
- return null;
121
- }
122
- };
123
- export var renderUserIcon = function (_a) {
124
- var isMyContacts = _a.isMyContacts, userType = _a.userType, style = _a.style;
125
- if (isMyContacts)
126
- return _jsx(MyContactsUserIcon, { color: COLORS.iconSecondary, style: style });
127
- switch (userType) {
128
- case CONTACT_TYPES.myContact:
129
- case CONTACT_TYPES.privateDL:
130
- return _jsx(MyContactsUserIcon, { color: COLORS.iconSecondary, style: style });
131
- case CONTACT_TYPES.GALContact:
132
- return _jsx(GlobalAddressBookIcon, { color: COLORS.iconPrimary, style: style });
133
- case CONTACT_TYPES.meetingRoom:
134
- case CONTACT_TYPES.publicDL:
135
- return null;
136
- default:
137
- return _jsx(CorporateUserIcon, { color: COLORS.iconAccent, style: style });
138
- }
139
- };
140
- export var extractFileExtensionRegex = function (filename) {
141
- var match = filename.match(/\.([a-z0-9]+)$/i);
142
- return (match === null || match === void 0 ? void 0 : match[1]) || '';
143
- };
144
- export var generateFileIcon = function (fileName, displaySize) {
145
- var isSmallDisplaySize = displaySize === DISPLAY_SIZE.small;
146
- var fileExtension = extractFileExtensionRegex(fileName);
147
- switch (fileExtension) {
148
- case FILE_FORMATS.pdf:
149
- return isSmallDisplaySize ? _jsx(PdfFileSmallIcon, {}) : _jsx(PdfFileIcon, {});
150
- case FILE_FORMATS.doc:
151
- case FILE_FORMATS.docx:
152
- return isSmallDisplaySize ? _jsx(DocFileSmallIcon, {}) : _jsx(DocFileIcon, {});
153
- case FILE_FORMATS.xls:
154
- case FILE_FORMATS.xlsx:
155
- return isSmallDisplaySize ? _jsx(XlsFileSmallIcon, {}) : _jsx(XlsFileIcon, {});
156
- case FILE_FORMATS.ppt:
157
- case FILE_FORMATS.pptx:
158
- return isSmallDisplaySize ? _jsx(PptFileSmallIcon, {}) : _jsx(PptFileIcon, {});
159
- case FILE_FORMATS.txt:
160
- return isSmallDisplaySize ? _jsx(TxtFileSmallIcon, {}) : _jsx(TxtFileIcon, {});
161
- default:
162
- return isSmallDisplaySize ? _jsx(FileSmallIcon, {}) : _jsx(FileIcon, {});
163
- }
164
- };
165
- export var renderCloseIconSpace = function (_a) {
166
- var _b;
167
- var elementRef = _a.elementRef, closeIconRef = _a.closeIconRef, _c = _a.isContent, isContent = _c === void 0 ? false : _c;
168
- var _d = (((_b = closeIconRef.current) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect()) || {}).width, width = _d === void 0 ? 0 : _d;
169
- return (_jsx("div", { style: { '--close-icon-space-width': "".concat(width + MODAL_ICONS_PADDING_LEFT, "px") }, className: classNames('close-icon-space', {
170
- 'close-icon-space__content': isContent,
171
- 'close-icon-space__centered': checkIfContentIsCentered(elementRef),
172
- }) }));
173
- };
174
- export var generateFontFamilyStyle = function (fontFamily) {
175
- if (fontFamily === void 0) { fontFamily = FONT_FAMILY.onest; }
176
- return ({ fontFamily: "".concat(fontFamily, ", sans-serif") });
177
- };
178
- export var createSanitizedHtml = function (str) {
179
- var preparedHtml = juice(str);
180
- var html = DOMPurify.sanitize(preparedHtml);
181
- return { __html: html };
182
- };
183
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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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AAO,CACL,cACE,KAAK,EAAE,EAAE,0BAA0B,EAAE,UAAG,KAAK,GAAG,wBAAwB,OAAI,EAAmB,EAC/F,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;YACxC,2BAA2B,EAAE,SAAS;YACtC,4BAA4B,EAAE,wBAAwB,CAAC,UAAU,CAAC;SACnE,CAAC,GACF,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,UAAsC;IAAtC,2BAAA,EAAA,aAAqB,WAAW,CAAC,KAAK;IAAK,OAAA,CAAC,EAAE,UAAU,EAAE,UAAG,UAAU,iBAAc,EAAE,CAAC;AAA7C,CAA6C,CAAA;AAEhI,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAC,GAAW;IAC7C,IAAM,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;IAC/B,IAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAA;IAC7C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;AACzB,CAAC,CAAA"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- type TLongTapEvent = React.TouchEvent<HTMLElement> | React.MouseEvent<HTMLElement, MouseEvent>;
3
- type TUseLongTap = {
4
- onLongTap?: (e: TLongTapEvent) => void;
5
- onCancelLongTap?: () => void;
6
- longTapDelay?: number;
7
- };
8
- export declare const useLongTap: ({ onLongTap, onCancelLongTap, longTapDelay }: TUseLongTap) => {
9
- cancelPressTimer: () => void;
10
- startPressTimer: (e: TLongTapEvent) => void;
11
- };
12
- export {};
@@ -1,29 +0,0 @@
1
- import { useEffect, useRef } from 'react';
2
- var DEFAULT_LONG_TAP_DELAY = 500;
3
- export var useLongTap = function (_a) {
4
- var onLongTap = _a.onLongTap, onCancelLongTap = _a.onCancelLongTap, _b = _a.longTapDelay, longTapDelay = _b === void 0 ? DEFAULT_LONG_TAP_DELAY : _b;
5
- var timerRef = useRef(null);
6
- var isLongTapFulfilledRef = useRef(false);
7
- var startPressTimer = function (e) {
8
- e.stopPropagation();
9
- isLongTapFulfilledRef.current = false;
10
- timerRef.current = setTimeout(function () {
11
- onLongTap === null || onLongTap === void 0 ? void 0 : onLongTap(e);
12
- isLongTapFulfilledRef.current = true;
13
- }, longTapDelay);
14
- };
15
- var cancelPressTimer = function () {
16
- if (timerRef.current) {
17
- clearTimeout(timerRef.current);
18
- timerRef.current = null;
19
- if (!isLongTapFulfilledRef.current)
20
- onCancelLongTap === null || onCancelLongTap === void 0 ? void 0 : onCancelLongTap();
21
- }
22
- };
23
- useEffect(function () { return function () {
24
- if (timerRef.current)
25
- clearTimeout(timerRef.current);
26
- }; }, []);
27
- return { cancelPressTimer: cancelPressTimer, startPressTimer: startPressTimer };
28
- };
29
- //# sourceMappingURL=useLongTap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLongTap.js","sourceRoot":"","sources":["../../../src/hooks/useLongTap.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAWhD,IAAM,sBAAsB,GAAG,GAAG,CAAA;AAElC,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAAkF;QAAhF,SAAS,eAAA,EAAE,eAAe,qBAAA,EAAE,oBAAqC,EAArC,YAAY,mBAAG,sBAAsB,KAAA;IAC5F,IAAM,QAAQ,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAA;IAC9C,IAAM,qBAAqB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IAE3C,IAAM,eAAe,GAAG,UAAC,CAAgB;QACvC,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,qBAAqB,CAAC,OAAO,GAAG,KAAK,CAAA;QACrC,QAAQ,CAAC,OAAO,GAAG,UAAU,CAAC;YAC5B,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,CAAC,CAAC,CAAA;YACd,qBAAqB,CAAC,OAAO,GAAG,IAAI,CAAA;QACtC,CAAC,EAAE,YAAY,CAAC,CAAA;IAClB,CAAC,CAAA;IAED,IAAM,gBAAgB,GAAG;QACvB,IAAI,QAAQ,CAAC,OAAO,EAAE;YACpB,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;YAC9B,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAA;YACvB,IAAI,CAAC,qBAAqB,CAAC,OAAO;gBAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,EAAI,CAAA;SACxD;IACH,CAAC,CAAA;IAED,SAAS,CACP,cAAM,OAAA;QACJ,IAAI,QAAQ,CAAC,OAAO;YAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;IACtD,CAAC,EAFK,CAEL,EACD,EAAE,CACH,CAAA;IAED,OAAO,EAAE,gBAAgB,kBAAA,EAAE,eAAe,iBAAA,EAAE,CAAA;AAC9C,CAAC,CAAA"}
@@ -1,22 +0,0 @@
1
- import React, { RefObject } from 'react';
2
- import { BottomSheetProps } from 'alex.chus-react-spring-bottom-sheet';
3
- import 'alex.chus-react-spring-bottom-sheet/dist/style.css';
4
- interface UseModalProps {
5
- isModalOpen: boolean;
6
- platform?: string;
7
- isDisabledBottomSheet?: boolean;
8
- initialIsBottomSheet?: boolean;
9
- modalRef: RefObject<HTMLDivElement | null>;
10
- isClosableOutside: boolean;
11
- handleCloseModal: () => void;
12
- popupClassName?: string;
13
- popupStyles?: React.CSSProperties;
14
- bottomSheetProps?: Partial<Omit<BottomSheetProps, 'externalScrollContainer'>>;
15
- bottomSheetStyles?: React.CSSProperties;
16
- scrollRef?: RefObject<HTMLDivElement | null>;
17
- }
18
- export declare const useModal: ({ isModalOpen, platform, isDisabledBottomSheet, initialIsBottomSheet, modalRef, isClosableOutside, handleCloseModal, popupClassName, popupStyles, bottomSheetProps, bottomSheetStyles, scrollRef, }: UseModalProps) => {
19
- shouldUseBottomSheet: boolean;
20
- renderModal: (children: React.ReactNode) => import("react/jsx-runtime").JSX.Element | null;
21
- };
22
- export {};
@@ -1,61 +0,0 @@
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
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { useCallback, useLayoutEffect, useState } from 'react';
14
- import Popup from 'reactjs-popup';
15
- import { BottomSheet } from 'alex.chus-react-spring-bottom-sheet';
16
- import { isMobilePlatform } from '../helpers';
17
- import { BOTTOM_SHEET, PLATFORM } from '../constants';
18
- import 'alex.chus-react-spring-bottom-sheet/dist/style.css';
19
- var MAX_MODAL_MOBILE_HEIGHT = 360;
20
- var MODAL_ANIMATION = 'modalFadeIn 0.25s ease-in-out forwards';
21
- var BOTTOM_SHEET_BORDER_RADIUS = '24px';
22
- export var useModal = function (_a) {
23
- var isModalOpen = _a.isModalOpen, _b = _a.platform, platform = _b === void 0 ? PLATFORM.web : _b, _c = _a.isDisabledBottomSheet, isDisabledBottomSheet = _c === void 0 ? false : _c, _d = _a.initialIsBottomSheet, initialIsBottomSheet = _d === void 0 ? false : _d, modalRef = _a.modalRef, isClosableOutside = _a.isClosableOutside, handleCloseModal = _a.handleCloseModal, popupClassName = _a.popupClassName, popupStyles = _a.popupStyles, bottomSheetProps = _a.bottomSheetProps, bottomSheetStyles = _a.bottomSheetStyles, scrollRef = _a.scrollRef;
24
- var _e = useState(initialIsBottomSheet), shouldUseBottomSheet = _e[0], setShouldUseBottomSheet = _e[1];
25
- var updateModalState = useCallback(function () {
26
- var modalElement = modalRef.current;
27
- if (!modalElement)
28
- return;
29
- var modalHeight = modalElement.getBoundingClientRect().height;
30
- var shouldShowBottomSheet = function () {
31
- if (isMobilePlatform(platform))
32
- return !isDisabledBottomSheet && (initialIsBottomSheet || modalHeight > MAX_MODAL_MOBILE_HEIGHT);
33
- return initialIsBottomSheet;
34
- };
35
- setShouldUseBottomSheet(shouldShowBottomSheet());
36
- }, [platform, isDisabledBottomSheet, initialIsBottomSheet, modalRef]);
37
- useLayoutEffect(function () {
38
- if (!isModalOpen)
39
- return;
40
- // Даем время для рендера контента
41
- var updateModalTimeout = setTimeout(updateModalState, 0);
42
- return function () {
43
- clearTimeout(updateModalTimeout);
44
- setShouldUseBottomSheet(initialIsBottomSheet);
45
- };
46
- }, [isModalOpen, updateModalState, modalRef, initialIsBottomSheet]);
47
- var renderModal = function (children) {
48
- if (!isModalOpen)
49
- return null;
50
- var handleOutsideClick = function (event) {
51
- event.preventDefault();
52
- event.stopPropagation();
53
- handleCloseModal();
54
- };
55
- var BottomSheetModal = (_jsx(BottomSheet, __assign({ id: BOTTOM_SHEET, open: isModalOpen, onDismiss: handleCloseModal, expandOnContentDrag: true, sibling: _jsx("div", { "data-rsbs-backdrop": "true", onClick: handleOutsideClick }), style: __assign({ '--rsbs-overlay-rounded': BOTTOM_SHEET_BORDER_RADIUS }, bottomSheetStyles), externalScrollContainer: scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current }, bottomSheetProps, { children: children })));
56
- 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 })));
57
- return shouldUseBottomSheet ? BottomSheetModal : Modal;
58
- };
59
- return { shouldUseBottomSheet: shouldUseBottomSheet, renderModal: renderModal };
60
- };
61
- //# sourceMappingURL=useModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useModal.js","sourceRoot":"","sources":["../../../src/hooks/useModal.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAa,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChF,OAAO,KAAK,MAAM,eAAe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,KAAK,QACL,IAAI,EAAE,WAAW,EACjB,aAAa,EAAE,iBAAiB,EAChC,OAAO,EAAE,gBAAgB,gBAExB,QAAQ,IACH,CACT,CAAA;QAED,OAAO,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAA;IACxD,CAAC,CAAA;IAED,OAAO,EAAE,oBAAoB,sBAAA,EAAE,WAAW,aAAA,EAAE,CAAA;AAC9C,CAAC,CAAA"}
@@ -1,36 +0,0 @@
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';
@@ -1,37 +0,0 @@
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
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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,OAA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-1,2 +0,0 @@
1
- export * from './styles.scss';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -1,6 +0,0 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ "use strict";
3
- // extracted by mini-css-extract-plugin
4
-
5
- /******/ })()
6
- ;