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

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 (483) 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-arrow-down.svg +3 -0
  7. package/build/main/assets/icons/avatar-arrow-up.svg +3 -0
  8. package/build/main/assets/icons/avatar-loader.svg +3 -0
  9. package/build/main/assets/icons/button-loader.svg +3 -0
  10. package/build/main/assets/icons/calendar-arrow-next.svg +3 -0
  11. package/build/main/assets/icons/calendar-arrow-prev.svg +3 -0
  12. package/build/main/assets/icons/check-mark-square.svg +4 -0
  13. package/build/main/assets/icons/check-mark.svg +4 -0
  14. package/build/main/assets/icons/chip-info.svg +5 -0
  15. package/build/main/assets/icons/clear.svg +3 -0
  16. package/build/main/assets/icons/close-modal.svg +3 -0
  17. package/build/main/assets/icons/close-stories.svg +4 -0
  18. package/build/main/assets/icons/close.svg +3 -0
  19. package/build/main/assets/icons/contact-info.svg +5 -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/distribution.svg +12 -0
  25. package/build/main/assets/icons/doc-small.svg +11 -0
  26. package/build/main/assets/icons/doc.svg +11 -0
  27. package/build/main/assets/icons/error.svg +5 -0
  28. package/build/main/assets/icons/external-link.svg +3 -0
  29. package/build/main/assets/icons/eye-off.svg +5 -0
  30. package/build/main/assets/icons/eye-on.svg +4 -0
  31. package/build/main/assets/icons/file-small.svg +11 -0
  32. package/build/main/assets/icons/file.svg +11 -0
  33. package/build/main/assets/icons/global-address-book-user.svg +4 -0
  34. package/build/main/assets/icons/group.svg +3 -0
  35. package/build/main/assets/icons/indeterminate-check-mark-square.svg +4 -0
  36. package/build/main/assets/icons/info.svg +5 -0
  37. package/build/main/assets/icons/input-arrow-down.svg +3 -0
  38. package/build/main/assets/icons/input-arrow-up.svg +3 -0
  39. package/build/main/assets/icons/loader.svg +3 -0
  40. package/build/main/assets/icons/logout.svg +4 -0
  41. package/build/main/assets/icons/magnifying-glass.svg +3 -0
  42. package/build/main/assets/icons/mail.svg +3 -0
  43. package/build/main/assets/icons/meeting-room.svg +3 -0
  44. package/build/main/assets/icons/more.svg +3 -0
  45. package/build/main/assets/icons/my-contacts-user.svg +3 -0
  46. package/build/main/assets/icons/needs-action-invite-status.svg +4 -0
  47. package/build/main/assets/icons/notification-close.svg +3 -0
  48. package/build/main/assets/icons/notification-failure.svg +3 -0
  49. package/build/main/assets/icons/notification-info-filled.svg +5 -0
  50. package/build/main/assets/icons/notification-info.svg +5 -0
  51. package/build/main/assets/icons/notification-success-filled.svg +4 -0
  52. package/build/main/assets/icons/notification-success.svg +4 -0
  53. package/build/main/assets/icons/order.svg +6 -0
  54. package/build/main/assets/icons/pdf-small.svg +11 -0
  55. package/build/main/assets/icons/pdf.svg +11 -0
  56. package/build/main/assets/icons/play-small.svg +3 -0
  57. package/build/main/assets/icons/play.svg +3 -0
  58. package/build/main/assets/icons/plus.svg +4 -0
  59. package/build/main/assets/icons/ppt-small.svg +11 -0
  60. package/build/main/assets/icons/ppt.svg +11 -0
  61. package/build/main/assets/icons/private.svg +12 -0
  62. package/build/main/assets/icons/refresh.svg +3 -0
  63. package/build/main/assets/icons/search.svg +3 -0
  64. package/build/main/assets/icons/story-loader.svg +3 -0
  65. package/build/main/assets/icons/tick.svg +10 -0
  66. package/build/main/assets/icons/trash.svg +3 -0
  67. package/build/main/assets/icons/txt-small.svg +11 -0
  68. package/build/main/assets/icons/txt.svg +11 -0
  69. package/build/main/assets/icons/unread-mails.svg +4 -0
  70. package/build/main/assets/icons/warning-avatar.svg +4 -0
  71. package/build/main/assets/icons/xls-small.svg +11 -0
  72. package/build/main/assets/icons/xls.svg +11 -0
  73. package/build/main/assets/storybook/index.d.ts +24 -0
  74. package/build/main/assets/storybook/index.js +25 -0
  75. package/build/main/assets/storybook/index.js.map +1 -0
  76. package/build/main/constants/constants.d.ts +198 -0
  77. package/build/main/constants/constants.js +218 -0
  78. package/build/main/constants/constants.js.map +1 -0
  79. package/build/main/constants/index.d.ts +2 -0
  80. package/build/main/constants/index.js +3 -0
  81. package/build/main/constants/index.js.map +1 -0
  82. package/build/main/constants/types.d.ts +58 -0
  83. package/build/main/constants/types.js +2 -0
  84. package/build/main/constants/types.js.map +1 -0
  85. package/build/main/helpers/index.d.ts +31 -0
  86. package/build/main/helpers/index.js +183 -0
  87. package/build/main/helpers/index.js.map +1 -0
  88. package/build/main/hooks/useLongTap.d.ts +12 -0
  89. package/build/main/hooks/useLongTap.js +29 -0
  90. package/build/main/hooks/useLongTap.js.map +1 -0
  91. package/build/main/hooks/useModal.d.ts +22 -0
  92. package/build/main/hooks/useModal.js +61 -0
  93. package/build/main/hooks/useModal.js.map +1 -0
  94. package/build/main/index.d.ts +36 -0
  95. package/build/main/index.js +37 -0
  96. package/build/main/index.js.map +1 -0
  97. package/build/main/styles/index.d.ts +1 -0
  98. package/build/main/styles/index.js +2 -0
  99. package/build/main/styles/index.js.map +1 -0
  100. package/build/main/styles/main.js +0 -0
  101. package/build/main/styles/styles.scss +14 -0
  102. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
  103. package/build/main//321/201omponents/ActionModal/ActionModal.js +53 -0
  104. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
  105. package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
  106. package/build/main//321/201omponents/ActionModal/index.js +2 -0
  107. package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
  108. package/build/main//321/201omponents/ActionModal/types.d.ts +23 -0
  109. package/build/main//321/201omponents/ActionModal/types.js +2 -0
  110. package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
  111. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +8 -0
  112. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +146 -0
  113. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
  114. package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
  115. package/build/main//321/201omponents/AttachedFile/index.js +2 -0
  116. package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
  117. package/build/main//321/201omponents/AttachedFile/types.d.ts +22 -0
  118. package/build/main//321/201omponents/AttachedFile/types.js +2 -0
  119. package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
  120. package/build/main//321/201omponents/Avatar/Avatar.d.ts +4 -0
  121. package/build/main//321/201omponents/Avatar/Avatar.js +243 -0
  122. package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
  123. package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
  124. package/build/main//321/201omponents/Avatar/index.js +2 -0
  125. package/build/main//321/201omponents/Avatar/index.js.map +1 -0
  126. package/build/main//321/201omponents/Avatar/types.d.ts +61 -0
  127. package/build/main//321/201omponents/Avatar/types.js +29 -0
  128. package/build/main//321/201omponents/Avatar/types.js.map +1 -0
  129. package/build/main//321/201omponents/Button/Button.d.ts +4 -0
  130. package/build/main//321/201omponents/Button/Button.js +62 -0
  131. package/build/main//321/201omponents/Button/Button.js.map +1 -0
  132. package/build/main//321/201omponents/Button/index.d.ts +1 -0
  133. package/build/main//321/201omponents/Button/index.js +2 -0
  134. package/build/main//321/201omponents/Button/index.js.map +1 -0
  135. package/build/main//321/201omponents/Button/types.d.ts +24 -0
  136. package/build/main//321/201omponents/Button/types.js +12 -0
  137. package/build/main//321/201omponents/Button/types.js.map +1 -0
  138. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +4 -0
  139. package/build/main//321/201omponents/CachedImage/CachedImage.js +59 -0
  140. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
  141. package/build/main//321/201omponents/CachedImage/helpers.d.ts +3 -0
  142. package/build/main//321/201omponents/CachedImage/helpers.js +40 -0
  143. package/build/main//321/201omponents/CachedImage/helpers.js.map +1 -0
  144. package/build/main//321/201omponents/CachedImage/index.d.ts +1 -0
  145. package/build/main//321/201omponents/CachedImage/index.js +2 -0
  146. package/build/main//321/201omponents/CachedImage/index.js.map +1 -0
  147. package/build/main//321/201omponents/CachedImage/types.d.ts +10 -0
  148. package/build/main//321/201omponents/CachedImage/types.js +2 -0
  149. package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
  150. package/build/main//321/201omponents/Calendar/Calendar.d.ts +4 -0
  151. package/build/main//321/201omponents/Calendar/Calendar.js +145 -0
  152. package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
  153. package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
  154. package/build/main//321/201omponents/Calendar/index.js +2 -0
  155. package/build/main//321/201omponents/Calendar/index.js.map +1 -0
  156. package/build/main//321/201omponents/Calendar/types.d.ts +15 -0
  157. package/build/main//321/201omponents/Calendar/types.js +2 -0
  158. package/build/main//321/201omponents/Calendar/types.js.map +1 -0
  159. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +4 -0
  160. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +47 -0
  161. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
  162. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +4 -0
  163. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +71 -0
  164. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
  165. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +4 -0
  166. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +42 -0
  167. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
  168. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +4 -0
  169. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +64 -0
  170. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
  171. package/build/main//321/201omponents/Charts/colors.d.ts +3 -0
  172. package/build/main//321/201omponents/Charts/colors.js +4 -0
  173. package/build/main//321/201omponents/Charts/colors.js.map +1 -0
  174. package/build/main//321/201omponents/Charts/constants.d.ts +42 -0
  175. package/build/main//321/201omponents/Charts/constants.js +42 -0
  176. package/build/main//321/201omponents/Charts/constants.js.map +1 -0
  177. package/build/main//321/201omponents/Charts/helpers.d.ts +17 -0
  178. package/build/main//321/201omponents/Charts/helpers.js +73 -0
  179. package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
  180. package/build/main//321/201omponents/Charts/index.d.ts +3 -0
  181. package/build/main//321/201omponents/Charts/index.js +4 -0
  182. package/build/main//321/201omponents/Charts/index.js.map +1 -0
  183. package/build/main//321/201omponents/Charts/types.d.ts +89 -0
  184. package/build/main//321/201omponents/Charts/types.js +2 -0
  185. package/build/main//321/201omponents/Charts/types.js.map +1 -0
  186. package/build/main//321/201omponents/Charts/useEvents.d.ts +5 -0
  187. package/build/main//321/201omponents/Charts/useEvents.js +45 -0
  188. package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
  189. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +6 -0
  190. package/build/main//321/201omponents/Charts/usePieEvents.js +57 -0
  191. package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
  192. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +8 -0
  193. package/build/main//321/201omponents/Checkbox/Checkbox.js +48 -0
  194. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
  195. package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
  196. package/build/main//321/201omponents/Checkbox/index.js +2 -0
  197. package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
  198. package/build/main//321/201omponents/Checkbox/types.d.ts +14 -0
  199. package/build/main//321/201omponents/Checkbox/types.js +2 -0
  200. package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
  201. package/build/main//321/201omponents/Chip/Chip.d.ts +4 -0
  202. package/build/main//321/201omponents/Chip/Chip.js +118 -0
  203. package/build/main//321/201omponents/Chip/Chip.js.map +1 -0
  204. package/build/main//321/201omponents/Chip/index.d.ts +1 -0
  205. package/build/main//321/201omponents/Chip/index.js +2 -0
  206. package/build/main//321/201omponents/Chip/index.js.map +1 -0
  207. package/build/main//321/201omponents/Chip/types.d.ts +28 -0
  208. package/build/main//321/201omponents/Chip/types.js +2 -0
  209. package/build/main//321/201omponents/Chip/types.js.map +1 -0
  210. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
  211. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +63 -0
  212. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
  213. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
  214. package/build/main//321/201omponents/ConfirmationModal/index.js +2 -0
  215. package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
  216. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +28 -0
  217. package/build/main//321/201omponents/ConfirmationModal/types.js +2 -0
  218. package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
  219. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +4 -0
  220. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +81 -0
  221. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -0
  222. package/build/main//321/201omponents/ContextMenu/index.d.ts +1 -0
  223. package/build/main//321/201omponents/ContextMenu/index.js +2 -0
  224. package/build/main//321/201omponents/ContextMenu/index.js.map +1 -0
  225. package/build/main//321/201omponents/ContextMenu/types.d.ts +34 -0
  226. package/build/main//321/201omponents/ContextMenu/types.js +2 -0
  227. package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
  228. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
  229. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +248 -0
  230. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
  231. package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
  232. package/build/main//321/201omponents/CustomSelect/index.js +2 -0
  233. package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
  234. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +16 -0
  235. package/build/main//321/201omponents/CustomSelect/selectStyles.js +70 -0
  236. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
  237. package/build/main//321/201omponents/CustomSelect/types.d.ts +69 -0
  238. package/build/main//321/201omponents/CustomSelect/types.js +2 -0
  239. package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
  240. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +4 -0
  241. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +58 -0
  242. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
  243. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
  244. package/build/main//321/201omponents/CustomSelectProfiles/index.js +2 -0
  245. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
  246. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +12 -0
  247. package/build/main//321/201omponents/CustomSelectProfiles/types.js +2 -0
  248. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
  249. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +4 -0
  250. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +57 -0
  251. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
  252. package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
  253. package/build/main//321/201omponents/DragAndDrop/index.js +2 -0
  254. package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
  255. package/build/main//321/201omponents/DragAndDrop/types.d.ts +24 -0
  256. package/build/main//321/201omponents/DragAndDrop/types.js +2 -0
  257. package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
  258. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +4 -0
  259. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +222 -0
  260. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -0
  261. package/build/main//321/201omponents/DraggablePopup/index.d.ts +1 -0
  262. package/build/main//321/201omponents/DraggablePopup/index.js +2 -0
  263. package/build/main//321/201omponents/DraggablePopup/index.js.map +1 -0
  264. package/build/main//321/201omponents/DraggablePopup/types.d.ts +90 -0
  265. package/build/main//321/201omponents/DraggablePopup/types.js +2 -0
  266. package/build/main//321/201omponents/DraggablePopup/types.js.map +1 -0
  267. package/build/main//321/201omponents/Error/Error.d.ts +4 -0
  268. package/build/main//321/201omponents/Error/Error.js +23 -0
  269. package/build/main//321/201omponents/Error/Error.js.map +1 -0
  270. package/build/main//321/201omponents/Error/index.d.ts +1 -0
  271. package/build/main//321/201omponents/Error/index.js +2 -0
  272. package/build/main//321/201omponents/Error/index.js.map +1 -0
  273. package/build/main//321/201omponents/Error/types.d.ts +10 -0
  274. package/build/main//321/201omponents/Error/types.js +2 -0
  275. package/build/main//321/201omponents/Error/types.js.map +1 -0
  276. package/build/main//321/201omponents/Flex/Flex.d.ts +2 -0
  277. package/build/main//321/201omponents/Flex/Flex.js +35 -0
  278. package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
  279. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +5 -0
  280. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +16 -0
  281. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +1 -0
  282. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +1 -0
  283. package/build/main//321/201omponents/Flex/HFlex/index.js +2 -0
  284. package/build/main//321/201omponents/Flex/HFlex/index.js.map +1 -0
  285. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +5 -0
  286. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +16 -0
  287. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +1 -0
  288. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +1 -0
  289. package/build/main//321/201omponents/Flex/VFlex/index.js +2 -0
  290. package/build/main//321/201omponents/Flex/VFlex/index.js.map +1 -0
  291. package/build/main//321/201omponents/Flex/index.d.ts +3 -0
  292. package/build/main//321/201omponents/Flex/index.js +4 -0
  293. package/build/main//321/201omponents/Flex/index.js.map +1 -0
  294. package/build/main//321/201omponents/Flex/types.d.ts +20 -0
  295. package/build/main//321/201omponents/Flex/types.js +2 -0
  296. package/build/main//321/201omponents/Flex/types.js.map +1 -0
  297. package/build/main//321/201omponents/Header/Header.d.ts +5 -0
  298. package/build/main//321/201omponents/Header/Header.js +125 -0
  299. package/build/main//321/201omponents/Header/Header.js.map +1 -0
  300. package/build/main//321/201omponents/Header/index.d.ts +1 -0
  301. package/build/main//321/201omponents/Header/index.js +2 -0
  302. package/build/main//321/201omponents/Header/index.js.map +1 -0
  303. package/build/main//321/201omponents/Header/types.d.ts +47 -0
  304. package/build/main//321/201omponents/Header/types.js +2 -0
  305. package/build/main//321/201omponents/Header/types.js.map +1 -0
  306. package/build/main//321/201omponents/Input/Input.d.ts +4 -0
  307. package/build/main//321/201omponents/Input/Input.js +182 -0
  308. package/build/main//321/201omponents/Input/Input.js.map +1 -0
  309. package/build/main//321/201omponents/Input/index.d.ts +1 -0
  310. package/build/main//321/201omponents/Input/index.js +2 -0
  311. package/build/main//321/201omponents/Input/index.js.map +1 -0
  312. package/build/main//321/201omponents/Input/types.d.ts +27 -0
  313. package/build/main//321/201omponents/Input/types.js +2 -0
  314. package/build/main//321/201omponents/Input/types.js.map +1 -0
  315. package/build/main//321/201omponents/ListItem/ListItem.d.ts +23 -0
  316. package/build/main//321/201omponents/ListItem/ListItem.js +203 -0
  317. package/build/main//321/201omponents/ListItem/ListItem.js.map +1 -0
  318. package/build/main//321/201omponents/ListItem/index.d.ts +1 -0
  319. package/build/main//321/201omponents/ListItem/index.js +2 -0
  320. package/build/main//321/201omponents/ListItem/index.js.map +1 -0
  321. package/build/main//321/201omponents/ListItem/types.d.ts +41 -0
  322. package/build/main//321/201omponents/ListItem/types.js +2 -0
  323. package/build/main//321/201omponents/ListItem/types.js.map +1 -0
  324. package/build/main//321/201omponents/Loader/Loader.d.ts +4 -0
  325. package/build/main//321/201omponents/Loader/Loader.js +44 -0
  326. package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
  327. package/build/main//321/201omponents/Loader/index.d.ts +1 -0
  328. package/build/main//321/201omponents/Loader/index.js +2 -0
  329. package/build/main//321/201omponents/Loader/index.js.map +1 -0
  330. package/build/main//321/201omponents/Loader/types.d.ts +18 -0
  331. package/build/main//321/201omponents/Loader/types.js +2 -0
  332. package/build/main//321/201omponents/Loader/types.js.map +1 -0
  333. package/build/main//321/201omponents/Modal/Modal.d.ts +4 -0
  334. package/build/main//321/201omponents/Modal/Modal.js +261 -0
  335. package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
  336. package/build/main//321/201omponents/Modal/index.d.ts +1 -0
  337. package/build/main//321/201omponents/Modal/index.js +2 -0
  338. package/build/main//321/201omponents/Modal/index.js.map +1 -0
  339. package/build/main//321/201omponents/Modal/types.d.ts +41 -0
  340. package/build/main//321/201omponents/Modal/types.js +2 -0
  341. package/build/main//321/201omponents/Modal/types.js.map +1 -0
  342. package/build/main//321/201omponents/Notification/Notification.d.ts +9 -0
  343. package/build/main//321/201omponents/Notification/Notification.js +231 -0
  344. package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
  345. package/build/main//321/201omponents/Notification/index.d.ts +1 -0
  346. package/build/main//321/201omponents/Notification/index.js +2 -0
  347. package/build/main//321/201omponents/Notification/index.js.map +1 -0
  348. package/build/main//321/201omponents/Notification/types.d.ts +48 -0
  349. package/build/main//321/201omponents/Notification/types.js +2 -0
  350. package/build/main//321/201omponents/Notification/types.js.map +1 -0
  351. package/build/main//321/201omponents/Profile/Profile.d.ts +4 -0
  352. package/build/main//321/201omponents/Profile/Profile.js +42 -0
  353. package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
  354. package/build/main//321/201omponents/Profile/index.d.ts +1 -0
  355. package/build/main//321/201omponents/Profile/index.js +2 -0
  356. package/build/main//321/201omponents/Profile/index.js.map +1 -0
  357. package/build/main//321/201omponents/Profile/types.d.ts +14 -0
  358. package/build/main//321/201omponents/Profile/types.js +2 -0
  359. package/build/main//321/201omponents/Profile/types.js.map +1 -0
  360. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +4 -0
  361. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +66 -0
  362. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +1 -0
  363. package/build/main//321/201omponents/ProgressBar/index.d.ts +1 -0
  364. package/build/main//321/201omponents/ProgressBar/index.js +2 -0
  365. package/build/main//321/201omponents/ProgressBar/index.js.map +1 -0
  366. package/build/main//321/201omponents/ProgressBar/types.d.ts +7 -0
  367. package/build/main//321/201omponents/ProgressBar/types.js +2 -0
  368. package/build/main//321/201omponents/ProgressBar/types.js.map +1 -0
  369. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +4 -0
  370. package/build/main//321/201omponents/RadioButton/RadioButton.js +33 -0
  371. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
  372. package/build/main//321/201omponents/RadioButton/index.d.ts +1 -0
  373. package/build/main//321/201omponents/RadioButton/index.js +2 -0
  374. package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
  375. package/build/main//321/201omponents/RadioButton/types.d.ts +12 -0
  376. package/build/main//321/201omponents/RadioButton/types.js +2 -0
  377. package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
  378. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +5 -0
  379. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +140 -0
  380. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +1 -0
  381. package/build/main//321/201omponents/ScrollBar/index.d.ts +1 -0
  382. package/build/main//321/201omponents/ScrollBar/index.js +2 -0
  383. package/build/main//321/201omponents/ScrollBar/index.js.map +1 -0
  384. package/build/main//321/201omponents/ScrollBar/types.d.ts +24 -0
  385. package/build/main//321/201omponents/ScrollBar/types.js +2 -0
  386. package/build/main//321/201omponents/ScrollBar/types.js.map +1 -0
  387. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +4 -0
  388. package/build/main//321/201omponents/Skeleton/Skeleton.js +59 -0
  389. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
  390. package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
  391. package/build/main//321/201omponents/Skeleton/index.js +2 -0
  392. package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
  393. package/build/main//321/201omponents/Skeleton/types.d.ts +17 -0
  394. package/build/main//321/201omponents/Skeleton/types.js +2 -0
  395. package/build/main//321/201omponents/Skeleton/types.js.map +1 -0
  396. package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
  397. package/build/main//321/201omponents/Stories/Stories.js +338 -0
  398. package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
  399. package/build/main//321/201omponents/Stories/index.d.ts +1 -0
  400. package/build/main//321/201omponents/Stories/index.js +2 -0
  401. package/build/main//321/201omponents/Stories/index.js.map +1 -0
  402. package/build/main//321/201omponents/Stories/types.d.ts +71 -0
  403. package/build/main//321/201omponents/Stories/types.js +16 -0
  404. package/build/main//321/201omponents/Stories/types.js.map +1 -0
  405. package/build/main//321/201omponents/Switcher/Switcher.d.ts +4 -0
  406. package/build/main//321/201omponents/Switcher/Switcher.js +34 -0
  407. package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
  408. package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
  409. package/build/main//321/201omponents/Switcher/index.js +2 -0
  410. package/build/main//321/201omponents/Switcher/index.js.map +1 -0
  411. package/build/main//321/201omponents/Switcher/types.d.ts +8 -0
  412. package/build/main//321/201omponents/Switcher/types.js +2 -0
  413. package/build/main//321/201omponents/Switcher/types.js.map +1 -0
  414. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +5 -0
  415. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +65 -0
  416. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
  417. package/build/main//321/201omponents/SyncLoader/index.d.ts +1 -0
  418. package/build/main//321/201omponents/SyncLoader/index.js +2 -0
  419. package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
  420. package/build/main//321/201omponents/SyncLoader/types.d.ts +8 -0
  421. package/build/main//321/201omponents/SyncLoader/types.js +2 -0
  422. package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
  423. package/build/main//321/201omponents/Textarea/Textarea.d.ts +4 -0
  424. package/build/main//321/201omponents/Textarea/Textarea.js +59 -0
  425. package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -0
  426. package/build/main//321/201omponents/Textarea/index.d.ts +1 -0
  427. package/build/main//321/201omponents/Textarea/index.js +2 -0
  428. package/build/main//321/201omponents/Textarea/index.js.map +1 -0
  429. package/build/main//321/201omponents/Textarea/types.d.ts +13 -0
  430. package/build/main//321/201omponents/Textarea/types.js +2 -0
  431. package/build/main//321/201omponents/Textarea/types.js.map +1 -0
  432. package/build/main//321/201omponents/Toggle/Toggle.d.ts +4 -0
  433. package/build/main//321/201omponents/Toggle/Toggle.js +35 -0
  434. package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
  435. package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
  436. package/build/main//321/201omponents/Toggle/index.js +2 -0
  437. package/build/main//321/201omponents/Toggle/index.js.map +1 -0
  438. package/build/main//321/201omponents/Toggle/types.d.ts +12 -0
  439. package/build/main//321/201omponents/Toggle/types.js +2 -0
  440. package/build/main//321/201omponents/Toggle/types.js.map +1 -0
  441. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
  442. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +31 -0
  443. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
  444. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
  445. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +88 -0
  446. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
  447. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +4 -0
  448. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +23 -0
  449. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
  450. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +4 -0
  451. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +129 -0
  452. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
  453. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +3 -0
  454. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +137 -0
  455. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
  456. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +4 -0
  457. package/build/main//321/201omponents/UserDropdown/Option/Option.js +80 -0
  458. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
  459. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +4 -0
  460. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +44 -0
  461. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +1 -0
  462. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
  463. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +549 -0
  464. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
  465. package/build/main//321/201omponents/UserDropdown/constants.d.ts +8 -0
  466. package/build/main//321/201omponents/UserDropdown/constants.js +10 -0
  467. package/build/main//321/201omponents/UserDropdown/constants.js.map +1 -0
  468. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +105 -0
  469. package/build/main//321/201omponents/UserDropdown/helpers.js +143 -0
  470. package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
  471. package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
  472. package/build/main//321/201omponents/UserDropdown/index.js +2 -0
  473. package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
  474. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +15 -0
  475. package/build/main//321/201omponents/UserDropdown/selectStyles.js +69 -0
  476. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
  477. package/build/main//321/201omponents/UserDropdown/types.d.ts +269 -0
  478. package/build/main//321/201omponents/UserDropdown/types.js +9 -0
  479. package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
  480. package/build/main//321/201omponents/types.d.ts +2 -0
  481. package/build/main//321/201omponents/types.js +2 -0
  482. package/build/main//321/201omponents/types.js.map +1 -0
  483. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ import { RefObject } from 'react';
2
+ import { TCalculatePercentageOfValue, TGenerateClassNames, TRenderCloseIconSpace, TRenderStoryComponent, TRenderUserIcon } from '../constants';
3
+ import { CONTACT_TYPES } from '../сomponents/UserDropdown/constants';
4
+ export declare const generateColor: (color?: string, defaultColor?: string) => string;
5
+ export declare const isWebPlatform: (platform: string) => boolean;
6
+ export declare const isIosPlatform: (platform: string) => boolean;
7
+ export declare const isAndroidPlatform: (platform: string) => boolean;
8
+ export declare const isMobilePlatform: (platform: string) => boolean;
9
+ export declare const isDarkTheme: (theme?: string) => boolean;
10
+ export declare const generateClassNames: ({ className, delimiter, additionalClassName }: TGenerateClassNames) => string;
11
+ export declare const userNameToColor: (userName?: string) => string;
12
+ export declare const createInitials: (str: string) => string;
13
+ export declare const calculatePercentageOfValue: ({ value, percentage, shouldBeRounded }: TCalculatePercentageOfValue) => number;
14
+ export declare const isFullScreen: (layoutType: string) => boolean;
15
+ export declare const isValueEqualToZero: (value: number) => boolean;
16
+ export declare const renderStoryComponent: ({ component, componentDarkTheme, styles }: TRenderStoryComponent) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const generateIsCloseIconHidden: (platform: string, isCloseIconHidden?: boolean) => boolean;
18
+ export declare const checkIfContentIsCentered: (elementRef: RefObject<HTMLElement | null>) => boolean | undefined;
19
+ export declare const generateBottomSheetClassName: (platform: string, shouldUseBottomSheet: boolean) => string[];
20
+ export declare const generateId: () => string;
21
+ export declare const generateAvatarIcon: (userType?: CONTACT_TYPES) => import("react/jsx-runtime").JSX.Element | null;
22
+ export declare const renderUserIcon: ({ isMyContacts, userType, style }: TRenderUserIcon) => import("react/jsx-runtime").JSX.Element | null;
23
+ export declare const extractFileExtensionRegex: (filename: string) => string;
24
+ export declare const generateFileIcon: (fileName: string, displaySize: string) => import("react/jsx-runtime").JSX.Element;
25
+ export declare const renderCloseIconSpace: ({ elementRef, closeIconRef, isContent }: TRenderCloseIconSpace) => import("react/jsx-runtime").JSX.Element;
26
+ export declare const generateFontFamilyStyle: (fontFamily?: string) => {
27
+ fontFamily: string;
28
+ };
29
+ export declare const createSanitizedHtml: (str: string) => {
30
+ __html: string;
31
+ };
@@ -0,0 +1,183 @@
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
@@ -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,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AACxF,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACrF,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EA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
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 {};
@@ -0,0 +1,29 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLongTap.js","sourceRoot":"","sources":["../../../src/hooks/useLongTap.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,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
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 {};
@@ -0,0 +1,61 @@
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
@@ -0,0 +1 @@
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,CAAA;AACjC,OAAO,EAAE,WAAW,EAAoB,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,oDAAoD,CAAA;AAE3D,IAAM,uBAAuB,GAAG,GAAG,CAAA;AACnC,IAAM,eAAe,GAAG,wCAAwC,CAAA;AAChE,IAAM,0BAA0B,GAAG,MAAM,CAAA;AAiBzC,MAAM,CAAC,IAAM,QAAQ,GAAG,UAAC,EAaT;QAZd,WAAW,iBAAA,EACX,gBAAuB,EAAvB,QAAQ,mBAAG,QAAQ,CAAC,GAAG,KAAA,EACvB,6BAA6B,EAA7B,qBAAqB,mBAAG,KAAK,KAAA,EAC7B,4BAA4B,EAA5B,oBAAoB,mBAAG,KAAK,KAAA,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,GAAG,UAAC,KAAuC;YACjE,KAAK,CAAC,cAAc,EAAE,CAAA;YACtB,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,gBAAgB,EAAE,CAAA;QACpB,CAAC,CAAA;QAED,IAAM,gBAAgB,GAAG,CACvB,KAAC,WAAW,aACV,EAAE,EAAE,YAAY,EAChB,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,gBAAgB,EAC3B,mBAAmB,QACnB,OAAO,EAAE,oCAAwB,MAAM,EAAC,OAAO,EAAE,kBAAkB,GAAI,EACvE,KAAK,EAAE,WAAE,wBAAwB,EAAE,0BAA0B,IAAK,iBAAiB,CAAyB,EAC5G,uBAAuB,EAAE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAkC,IAClE,gBAAgB,cAEnB,QAAQ,IACG,CACf,CAAA;QAED,IAAM,KAAK,GAAG,CACZ,KAAC,KAAK,aACJ,SAAS,EAAE,cAAc,EACzB,YAAY,wBAAO,WAAW,KAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,eAAe,KACtE,oBAAoB,EAAE,iBAAiB,EACvC,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"}
@@ -0,0 +1,36 @@
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';
@@ -0,0 +1,37 @@
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
@@ -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,OA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EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA"}
@@ -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