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

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 (541) hide show
  1. package/build/main/assets/icons/accepted-invite-status.svg +4 -0
  2. package/build/main/assets/icons/arrow-back.svg +3 -0
  3. package/build/main/assets/icons/arrow-down.svg +3 -0
  4. package/build/main/assets/icons/arrow-up.svg +3 -0
  5. package/build/main/assets/icons/attachment-loader.svg +3 -0
  6. package/build/main/assets/icons/avatar-loader.svg +3 -0
  7. package/build/main/assets/icons/button-loader.svg +3 -0
  8. package/build/main/assets/icons/calendar-arrow-next.svg +3 -0
  9. package/build/main/assets/icons/calendar-arrow-prev.svg +3 -0
  10. package/build/main/assets/icons/check-mark-square.svg +4 -0
  11. package/build/main/assets/icons/check-mark.svg +4 -0
  12. package/build/main/assets/icons/chevron.svg +3 -0
  13. package/build/main/assets/icons/chip-info.svg +5 -0
  14. package/build/main/assets/icons/clear.svg +3 -0
  15. package/build/main/assets/icons/close-modal.svg +3 -0
  16. package/build/main/assets/icons/close-stories.svg +4 -0
  17. package/build/main/assets/icons/close.svg +3 -0
  18. package/build/main/assets/icons/contact-info.svg +5 -0
  19. package/build/main/assets/icons/copy.svg +3 -0
  20. package/build/main/assets/icons/corporate-user.svg +3 -0
  21. package/build/main/assets/icons/crown.svg +5 -0
  22. package/build/main/assets/icons/declined-invite-status.svg +4 -0
  23. package/build/main/assets/icons/delete-chip.svg +3 -0
  24. package/build/main/assets/icons/department.svg +3 -0
  25. package/build/main/assets/icons/distribution.svg +12 -0
  26. package/build/main/assets/icons/doc-small.svg +11 -0
  27. package/build/main/assets/icons/doc.svg +11 -0
  28. package/build/main/assets/icons/download.svg +3 -0
  29. package/build/main/assets/icons/error.svg +5 -0
  30. package/build/main/assets/icons/external-link.svg +3 -0
  31. package/build/main/assets/icons/eye-off.svg +5 -0
  32. package/build/main/assets/icons/eye-on.svg +4 -0
  33. package/build/main/assets/icons/file-small.svg +11 -0
  34. package/build/main/assets/icons/file.svg +11 -0
  35. package/build/main/assets/icons/global-address-book-user.svg +4 -0
  36. package/build/main/assets/icons/group.svg +3 -0
  37. package/build/main/assets/icons/image-no-preview-small.svg +11 -0
  38. package/build/main/assets/icons/image-no-preview.svg +11 -0
  39. package/build/main/assets/icons/indeterminate-check-mark-square.svg +4 -0
  40. package/build/main/assets/icons/info.svg +5 -0
  41. package/build/main/assets/icons/input-arrow-down.svg +3 -0
  42. package/build/main/assets/icons/input-arrow-up.svg +3 -0
  43. package/build/main/assets/icons/job-position.svg +3 -0
  44. package/build/main/assets/icons/loader.svg +3 -0
  45. package/build/main/assets/icons/logout.svg +4 -0
  46. package/build/main/assets/icons/magnifying-glass.svg +3 -0
  47. package/build/main/assets/icons/mail.svg +3 -0
  48. package/build/main/assets/icons/meeting-room.svg +3 -0
  49. package/build/main/assets/icons/more.svg +3 -0
  50. package/build/main/assets/icons/my-contacts-user.svg +3 -0
  51. package/build/main/assets/icons/needs-action-invite-status.svg +4 -0
  52. package/build/main/assets/icons/notification-close.svg +3 -0
  53. package/build/main/assets/icons/notification-error.svg +5 -0
  54. package/build/main/assets/icons/notification-failure-filled.svg +3 -0
  55. package/build/main/assets/icons/notification-failure.svg +3 -0
  56. package/build/main/assets/icons/notification-info-filled.svg +5 -0
  57. package/build/main/assets/icons/notification-info.svg +5 -0
  58. package/build/main/assets/icons/notification-success-filled.svg +4 -0
  59. package/build/main/assets/icons/notification-success.svg +4 -0
  60. package/build/main/assets/icons/office.svg +3 -0
  61. package/build/main/assets/icons/order.svg +6 -0
  62. package/build/main/assets/icons/pdf-small.svg +11 -0
  63. package/build/main/assets/icons/pdf.svg +11 -0
  64. package/build/main/assets/icons/play-small.svg +3 -0
  65. package/build/main/assets/icons/play.svg +3 -0
  66. package/build/main/assets/icons/plus.svg +4 -0
  67. package/build/main/assets/icons/ppt-small.svg +11 -0
  68. package/build/main/assets/icons/ppt.svg +11 -0
  69. package/build/main/assets/icons/private.svg +5 -0
  70. package/build/main/assets/icons/refresh.svg +3 -0
  71. package/build/main/assets/icons/remove.svg +3 -0
  72. package/build/main/assets/icons/search.svg +3 -0
  73. package/build/main/assets/icons/select-arrow-down.svg +3 -0
  74. package/build/main/assets/icons/select-arrow-up.svg +3 -0
  75. package/build/main/assets/icons/server.svg +3 -0
  76. package/build/main/assets/icons/story-loader.svg +3 -0
  77. package/build/main/assets/icons/tick.svg +10 -0
  78. package/build/main/assets/icons/trash.svg +3 -0
  79. package/build/main/assets/icons/txt-small.svg +11 -0
  80. package/build/main/assets/icons/txt.svg +11 -0
  81. package/build/main/assets/icons/video-no-preview-small.svg +11 -0
  82. package/build/main/assets/icons/video-no-preview.svg +11 -0
  83. package/build/main/assets/icons/warning-avatar.svg +4 -0
  84. package/build/main/assets/icons/xls-small.svg +11 -0
  85. package/build/main/assets/icons/xls.svg +11 -0
  86. package/build/main/assets/storybook/index.d.ts +27 -0
  87. package/build/main/assets/storybook/index.js +28 -0
  88. package/build/main/assets/storybook/index.js.map +1 -0
  89. package/build/main/constants/constants.d.ts +245 -0
  90. package/build/main/constants/constants.js +303 -0
  91. package/build/main/constants/constants.js.map +1 -0
  92. package/build/main/constants/index.d.ts +2 -0
  93. package/build/main/constants/index.js +3 -0
  94. package/build/main/constants/index.js.map +1 -0
  95. package/build/main/constants/types.d.ts +69 -0
  96. package/build/main/constants/types.js +2 -0
  97. package/build/main/constants/types.js.map +1 -0
  98. package/build/main/helpers/fontScale.d.ts +3 -0
  99. package/build/main/helpers/fontScale.js +17 -0
  100. package/build/main/helpers/fontScale.js.map +1 -0
  101. package/build/main/helpers/index.d.ts +34 -0
  102. package/build/main/helpers/index.js +205 -0
  103. package/build/main/helpers/index.js.map +1 -0
  104. package/build/main/hooks/useCharHintDisplay.d.ts +10 -0
  105. package/build/main/hooks/useCharHintDisplay.js +57 -0
  106. package/build/main/hooks/useCharHintDisplay.js.map +1 -0
  107. package/build/main/hooks/useFontScale.d.ts +1 -0
  108. package/build/main/hooks/useFontScale.js +19 -0
  109. package/build/main/hooks/useFontScale.js.map +1 -0
  110. package/build/main/hooks/useMobileLongTap.d.ts +16 -0
  111. package/build/main/hooks/useMobileLongTap.js +65 -0
  112. package/build/main/hooks/useMobileLongTap.js.map +1 -0
  113. package/build/main/hooks/useModal.d.ts +30 -0
  114. package/build/main/hooks/useModal.js +275 -0
  115. package/build/main/hooks/useModal.js.map +1 -0
  116. package/build/main/index.d.ts +40 -0
  117. package/build/main/index.js +41 -0
  118. package/build/main/index.js.map +1 -0
  119. package/build/main/styles/index.d.ts +1 -0
  120. package/build/main/styles/index.js +2 -0
  121. package/build/main/styles/index.js.map +1 -0
  122. package/build/main/styles/main.js +0 -0
  123. package/build/main/styles/styles.scss +14 -0
  124. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +4 -0
  125. package/build/main//321/201omponents/ActionModal/ActionModal.js +53 -0
  126. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
  127. package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
  128. package/build/main//321/201omponents/ActionModal/index.js +2 -0
  129. package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
  130. package/build/main//321/201omponents/ActionModal/types.d.ts +23 -0
  131. package/build/main//321/201omponents/ActionModal/types.js +2 -0
  132. package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
  133. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +8 -0
  134. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +201 -0
  135. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
  136. package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
  137. package/build/main//321/201omponents/AttachedFile/index.js +2 -0
  138. package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
  139. package/build/main//321/201omponents/AttachedFile/types.d.ts +23 -0
  140. package/build/main//321/201omponents/AttachedFile/types.js +2 -0
  141. package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
  142. package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
  143. package/build/main//321/201omponents/Avatar/Avatar.js +257 -0
  144. package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
  145. package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
  146. package/build/main//321/201omponents/Avatar/index.js +2 -0
  147. package/build/main//321/201omponents/Avatar/index.js.map +1 -0
  148. package/build/main//321/201omponents/Avatar/types.d.ts +64 -0
  149. package/build/main//321/201omponents/Avatar/types.js +32 -0
  150. package/build/main//321/201omponents/Avatar/types.js.map +1 -0
  151. package/build/main//321/201omponents/Button/Button.d.ts +4 -0
  152. package/build/main//321/201omponents/Button/Button.js +68 -0
  153. package/build/main//321/201omponents/Button/Button.js.map +1 -0
  154. package/build/main//321/201omponents/Button/index.d.ts +1 -0
  155. package/build/main//321/201omponents/Button/index.js +2 -0
  156. package/build/main//321/201omponents/Button/index.js.map +1 -0
  157. package/build/main//321/201omponents/Button/types.d.ts +31 -0
  158. package/build/main//321/201omponents/Button/types.js +15 -0
  159. package/build/main//321/201omponents/Button/types.js.map +1 -0
  160. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +4 -0
  161. package/build/main//321/201omponents/CachedImage/CachedImage.js +59 -0
  162. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +1 -0
  163. package/build/main//321/201omponents/CachedImage/helpers.d.ts +3 -0
  164. package/build/main//321/201omponents/CachedImage/helpers.js +40 -0
  165. package/build/main//321/201omponents/CachedImage/helpers.js.map +1 -0
  166. package/build/main//321/201omponents/CachedImage/index.d.ts +1 -0
  167. package/build/main//321/201omponents/CachedImage/index.js +2 -0
  168. package/build/main//321/201omponents/CachedImage/index.js.map +1 -0
  169. package/build/main//321/201omponents/CachedImage/types.d.ts +10 -0
  170. package/build/main//321/201omponents/CachedImage/types.js +2 -0
  171. package/build/main//321/201omponents/CachedImage/types.js.map +1 -0
  172. package/build/main//321/201omponents/Calendar/Calendar.d.ts +16 -0
  173. package/build/main//321/201omponents/Calendar/Calendar.js +294 -0
  174. package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
  175. package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
  176. package/build/main//321/201omponents/Calendar/index.js +2 -0
  177. package/build/main//321/201omponents/Calendar/index.js.map +1 -0
  178. package/build/main//321/201omponents/Calendar/types.d.ts +28 -0
  179. package/build/main//321/201omponents/Calendar/types.js +2 -0
  180. package/build/main//321/201omponents/Calendar/types.js.map +1 -0
  181. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +4 -0
  182. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +49 -0
  183. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +1 -0
  184. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +4 -0
  185. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +71 -0
  186. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +1 -0
  187. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +4 -0
  188. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +45 -0
  189. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +1 -0
  190. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +4 -0
  191. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +66 -0
  192. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +1 -0
  193. package/build/main//321/201omponents/Charts/colors.d.ts +3 -0
  194. package/build/main//321/201omponents/Charts/colors.js +4 -0
  195. package/build/main//321/201omponents/Charts/colors.js.map +1 -0
  196. package/build/main//321/201omponents/Charts/constants.d.ts +42 -0
  197. package/build/main//321/201omponents/Charts/constants.js +43 -0
  198. package/build/main//321/201omponents/Charts/constants.js.map +1 -0
  199. package/build/main//321/201omponents/Charts/helpers.d.ts +17 -0
  200. package/build/main//321/201omponents/Charts/helpers.js +74 -0
  201. package/build/main//321/201omponents/Charts/helpers.js.map +1 -0
  202. package/build/main//321/201omponents/Charts/index.d.ts +3 -0
  203. package/build/main//321/201omponents/Charts/index.js +4 -0
  204. package/build/main//321/201omponents/Charts/index.js.map +1 -0
  205. package/build/main//321/201omponents/Charts/types.d.ts +89 -0
  206. package/build/main//321/201omponents/Charts/types.js +2 -0
  207. package/build/main//321/201omponents/Charts/types.js.map +1 -0
  208. package/build/main//321/201omponents/Charts/useEvents.d.ts +5 -0
  209. package/build/main//321/201omponents/Charts/useEvents.js +45 -0
  210. package/build/main//321/201omponents/Charts/useEvents.js.map +1 -0
  211. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +6 -0
  212. package/build/main//321/201omponents/Charts/usePieEvents.js +57 -0
  213. package/build/main//321/201omponents/Charts/usePieEvents.js.map +1 -0
  214. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +8 -0
  215. package/build/main//321/201omponents/Checkbox/Checkbox.js +48 -0
  216. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
  217. package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
  218. package/build/main//321/201omponents/Checkbox/index.js +2 -0
  219. package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
  220. package/build/main//321/201omponents/Checkbox/types.d.ts +14 -0
  221. package/build/main//321/201omponents/Checkbox/types.js +2 -0
  222. package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
  223. package/build/main//321/201omponents/Chip/Chip.d.ts +5 -0
  224. package/build/main//321/201omponents/Chip/Chip.js +288 -0
  225. package/build/main//321/201omponents/Chip/Chip.js.map +1 -0
  226. package/build/main//321/201omponents/Chip/index.d.ts +1 -0
  227. package/build/main//321/201omponents/Chip/index.js +2 -0
  228. package/build/main//321/201omponents/Chip/index.js.map +1 -0
  229. package/build/main//321/201omponents/Chip/types.d.ts +39 -0
  230. package/build/main//321/201omponents/Chip/types.js +2 -0
  231. package/build/main//321/201omponents/Chip/types.js.map +1 -0
  232. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.d.ts +13 -0
  233. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js +76 -0
  234. package/build/main//321/201omponents/ChipDndContext/ChipDndContext.js.map +1 -0
  235. package/build/main//321/201omponents/ChipDndContext/index.d.ts +1 -0
  236. package/build/main//321/201omponents/ChipDndContext/index.js +2 -0
  237. package/build/main//321/201omponents/ChipDndContext/index.js.map +1 -0
  238. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +4 -0
  239. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +64 -0
  240. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
  241. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
  242. package/build/main//321/201omponents/ConfirmationModal/index.js +2 -0
  243. package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
  244. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +31 -0
  245. package/build/main//321/201omponents/ConfirmationModal/types.js +2 -0
  246. package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
  247. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +4 -0
  248. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +122 -0
  249. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +1 -0
  250. package/build/main//321/201omponents/ContextMenu/index.d.ts +1 -0
  251. package/build/main//321/201omponents/ContextMenu/index.js +2 -0
  252. package/build/main//321/201omponents/ContextMenu/index.js.map +1 -0
  253. package/build/main//321/201omponents/ContextMenu/types.d.ts +41 -0
  254. package/build/main//321/201omponents/ContextMenu/types.js +2 -0
  255. package/build/main//321/201omponents/ContextMenu/types.js.map +1 -0
  256. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.d.ts +4 -0
  257. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js +49 -0
  258. package/build/main//321/201omponents/ContextMenuItem/ContextMenuItem.js.map +1 -0
  259. package/build/main//321/201omponents/ContextMenuItem/index.d.ts +1 -0
  260. package/build/main//321/201omponents/ContextMenuItem/index.js +2 -0
  261. package/build/main//321/201omponents/ContextMenuItem/index.js.map +1 -0
  262. package/build/main//321/201omponents/ContextMenuItem/types.d.ts +28 -0
  263. package/build/main//321/201omponents/ContextMenuItem/types.js +6 -0
  264. package/build/main//321/201omponents/ContextMenuItem/types.js.map +1 -0
  265. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +12 -0
  266. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +281 -0
  267. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
  268. package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
  269. package/build/main//321/201omponents/CustomSelect/index.js +2 -0
  270. package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
  271. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +16 -0
  272. package/build/main//321/201omponents/CustomSelect/selectStyles.js +78 -0
  273. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -0
  274. package/build/main//321/201omponents/CustomSelect/types.d.ts +86 -0
  275. package/build/main//321/201omponents/CustomSelect/types.js +2 -0
  276. package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
  277. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +4 -0
  278. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +67 -0
  279. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
  280. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
  281. package/build/main//321/201omponents/CustomSelectProfiles/index.js +2 -0
  282. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
  283. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.d.ts +12 -0
  284. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js +42 -0
  285. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js.map +1 -0
  286. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
  287. package/build/main//321/201omponents/CustomSelectProfiles/types.js +2 -0
  288. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
  289. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +4 -0
  290. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +57 -0
  291. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
  292. package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
  293. package/build/main//321/201omponents/DragAndDrop/index.js +2 -0
  294. package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
  295. package/build/main//321/201omponents/DragAndDrop/types.d.ts +24 -0
  296. package/build/main//321/201omponents/DragAndDrop/types.js +2 -0
  297. package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
  298. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +4 -0
  299. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +228 -0
  300. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -0
  301. package/build/main//321/201omponents/DraggablePopup/index.d.ts +1 -0
  302. package/build/main//321/201omponents/DraggablePopup/index.js +2 -0
  303. package/build/main//321/201omponents/DraggablePopup/index.js.map +1 -0
  304. package/build/main//321/201omponents/DraggablePopup/types.d.ts +90 -0
  305. package/build/main//321/201omponents/DraggablePopup/types.js +2 -0
  306. package/build/main//321/201omponents/DraggablePopup/types.js.map +1 -0
  307. package/build/main//321/201omponents/Error/Error.d.ts +4 -0
  308. package/build/main//321/201omponents/Error/Error.js +23 -0
  309. package/build/main//321/201omponents/Error/Error.js.map +1 -0
  310. package/build/main//321/201omponents/Error/index.d.ts +1 -0
  311. package/build/main//321/201omponents/Error/index.js +2 -0
  312. package/build/main//321/201omponents/Error/index.js.map +1 -0
  313. package/build/main//321/201omponents/Error/types.d.ts +10 -0
  314. package/build/main//321/201omponents/Error/types.js +2 -0
  315. package/build/main//321/201omponents/Error/types.js.map +1 -0
  316. package/build/main//321/201omponents/Flex/Flex.d.ts +2 -0
  317. package/build/main//321/201omponents/Flex/Flex.js +35 -0
  318. package/build/main//321/201omponents/Flex/Flex.js.map +1 -0
  319. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +5 -0
  320. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +16 -0
  321. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +1 -0
  322. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +1 -0
  323. package/build/main//321/201omponents/Flex/HFlex/index.js +2 -0
  324. package/build/main//321/201omponents/Flex/HFlex/index.js.map +1 -0
  325. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +5 -0
  326. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +16 -0
  327. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +1 -0
  328. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +1 -0
  329. package/build/main//321/201omponents/Flex/VFlex/index.js +2 -0
  330. package/build/main//321/201omponents/Flex/VFlex/index.js.map +1 -0
  331. package/build/main//321/201omponents/Flex/index.d.ts +3 -0
  332. package/build/main//321/201omponents/Flex/index.js +4 -0
  333. package/build/main//321/201omponents/Flex/index.js.map +1 -0
  334. package/build/main//321/201omponents/Flex/types.d.ts +21 -0
  335. package/build/main//321/201omponents/Flex/types.js +2 -0
  336. package/build/main//321/201omponents/Flex/types.js.map +1 -0
  337. package/build/main//321/201omponents/Header/Header.d.ts +5 -0
  338. package/build/main//321/201omponents/Header/Header.js +125 -0
  339. package/build/main//321/201omponents/Header/Header.js.map +1 -0
  340. package/build/main//321/201omponents/Header/index.d.ts +1 -0
  341. package/build/main//321/201omponents/Header/index.js +2 -0
  342. package/build/main//321/201omponents/Header/index.js.map +1 -0
  343. package/build/main//321/201omponents/Header/types.d.ts +47 -0
  344. package/build/main//321/201omponents/Header/types.js +2 -0
  345. package/build/main//321/201omponents/Header/types.js.map +1 -0
  346. package/build/main//321/201omponents/Input/Input.d.ts +4 -0
  347. package/build/main//321/201omponents/Input/Input.js +256 -0
  348. package/build/main//321/201omponents/Input/Input.js.map +1 -0
  349. package/build/main//321/201omponents/Input/index.d.ts +1 -0
  350. package/build/main//321/201omponents/Input/index.js +2 -0
  351. package/build/main//321/201omponents/Input/index.js.map +1 -0
  352. package/build/main//321/201omponents/Input/types.d.ts +37 -0
  353. package/build/main//321/201omponents/Input/types.js +2 -0
  354. package/build/main//321/201omponents/Input/types.js.map +1 -0
  355. package/build/main//321/201omponents/ListItem/ListItem.d.ts +23 -0
  356. package/build/main//321/201omponents/ListItem/ListItem.js +214 -0
  357. package/build/main//321/201omponents/ListItem/ListItem.js.map +1 -0
  358. package/build/main//321/201omponents/ListItem/index.d.ts +1 -0
  359. package/build/main//321/201omponents/ListItem/index.js +2 -0
  360. package/build/main//321/201omponents/ListItem/index.js.map +1 -0
  361. package/build/main//321/201omponents/ListItem/types.d.ts +47 -0
  362. package/build/main//321/201omponents/ListItem/types.js +2 -0
  363. package/build/main//321/201omponents/ListItem/types.js.map +1 -0
  364. package/build/main//321/201omponents/Loader/Loader.d.ts +4 -0
  365. package/build/main//321/201omponents/Loader/Loader.js +44 -0
  366. package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
  367. package/build/main//321/201omponents/Loader/index.d.ts +1 -0
  368. package/build/main//321/201omponents/Loader/index.js +2 -0
  369. package/build/main//321/201omponents/Loader/index.js.map +1 -0
  370. package/build/main//321/201omponents/Loader/types.d.ts +18 -0
  371. package/build/main//321/201omponents/Loader/types.js +2 -0
  372. package/build/main//321/201omponents/Loader/types.js.map +1 -0
  373. package/build/main//321/201omponents/Modal/Modal.d.ts +5 -0
  374. package/build/main//321/201omponents/Modal/Modal.js +397 -0
  375. package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
  376. package/build/main//321/201omponents/Modal/index.d.ts +1 -0
  377. package/build/main//321/201omponents/Modal/index.js +2 -0
  378. package/build/main//321/201omponents/Modal/index.js.map +1 -0
  379. package/build/main//321/201omponents/Modal/types.d.ts +77 -0
  380. package/build/main//321/201omponents/Modal/types.js +2 -0
  381. package/build/main//321/201omponents/Modal/types.js.map +1 -0
  382. package/build/main//321/201omponents/Notification/Notification.d.ts +4 -0
  383. package/build/main//321/201omponents/Notification/Notification.js +208 -0
  384. package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
  385. package/build/main//321/201omponents/Notification/constants.d.ts +34 -0
  386. package/build/main//321/201omponents/Notification/constants.js +59 -0
  387. package/build/main//321/201omponents/Notification/constants.js.map +1 -0
  388. package/build/main//321/201omponents/Notification/index.d.ts +1 -0
  389. package/build/main//321/201omponents/Notification/index.js +2 -0
  390. package/build/main//321/201omponents/Notification/index.js.map +1 -0
  391. package/build/main//321/201omponents/Notification/types.d.ts +64 -0
  392. package/build/main//321/201omponents/Notification/types.js +2 -0
  393. package/build/main//321/201omponents/Notification/types.js.map +1 -0
  394. package/build/main//321/201omponents/Profile/Profile.d.ts +4 -0
  395. package/build/main//321/201omponents/Profile/Profile.js +42 -0
  396. package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
  397. package/build/main//321/201omponents/Profile/index.d.ts +1 -0
  398. package/build/main//321/201omponents/Profile/index.js +2 -0
  399. package/build/main//321/201omponents/Profile/index.js.map +1 -0
  400. package/build/main//321/201omponents/Profile/types.d.ts +14 -0
  401. package/build/main//321/201omponents/Profile/types.js +2 -0
  402. package/build/main//321/201omponents/Profile/types.js.map +1 -0
  403. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +4 -0
  404. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +66 -0
  405. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +1 -0
  406. package/build/main//321/201omponents/ProgressBar/index.d.ts +1 -0
  407. package/build/main//321/201omponents/ProgressBar/index.js +2 -0
  408. package/build/main//321/201omponents/ProgressBar/index.js.map +1 -0
  409. package/build/main//321/201omponents/ProgressBar/types.d.ts +7 -0
  410. package/build/main//321/201omponents/ProgressBar/types.js +2 -0
  411. package/build/main//321/201omponents/ProgressBar/types.js.map +1 -0
  412. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +4 -0
  413. package/build/main//321/201omponents/RadioButton/RadioButton.js +33 -0
  414. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
  415. package/build/main//321/201omponents/RadioButton/index.d.ts +1 -0
  416. package/build/main//321/201omponents/RadioButton/index.js +2 -0
  417. package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
  418. package/build/main//321/201omponents/RadioButton/types.d.ts +12 -0
  419. package/build/main//321/201omponents/RadioButton/types.js +2 -0
  420. package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
  421. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +5 -0
  422. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +140 -0
  423. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +1 -0
  424. package/build/main//321/201omponents/ScrollBar/index.d.ts +1 -0
  425. package/build/main//321/201omponents/ScrollBar/index.js +2 -0
  426. package/build/main//321/201omponents/ScrollBar/index.js.map +1 -0
  427. package/build/main//321/201omponents/ScrollBar/types.d.ts +24 -0
  428. package/build/main//321/201omponents/ScrollBar/types.js +2 -0
  429. package/build/main//321/201omponents/ScrollBar/types.js.map +1 -0
  430. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +4 -0
  431. package/build/main//321/201omponents/Skeleton/Skeleton.js +59 -0
  432. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +1 -0
  433. package/build/main//321/201omponents/Skeleton/index.d.ts +1 -0
  434. package/build/main//321/201omponents/Skeleton/index.js +2 -0
  435. package/build/main//321/201omponents/Skeleton/index.js.map +1 -0
  436. package/build/main//321/201omponents/Skeleton/types.d.ts +17 -0
  437. package/build/main//321/201omponents/Skeleton/types.js +2 -0
  438. package/build/main//321/201omponents/Skeleton/types.js.map +1 -0
  439. package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
  440. package/build/main//321/201omponents/Stories/Stories.js +406 -0
  441. package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
  442. package/build/main//321/201omponents/Stories/index.d.ts +1 -0
  443. package/build/main//321/201omponents/Stories/index.js +2 -0
  444. package/build/main//321/201omponents/Stories/index.js.map +1 -0
  445. package/build/main//321/201omponents/Stories/types.d.ts +71 -0
  446. package/build/main//321/201omponents/Stories/types.js +16 -0
  447. package/build/main//321/201omponents/Stories/types.js.map +1 -0
  448. package/build/main//321/201omponents/Switcher/Switcher.d.ts +4 -0
  449. package/build/main//321/201omponents/Switcher/Switcher.js +34 -0
  450. package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
  451. package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
  452. package/build/main//321/201omponents/Switcher/index.js +2 -0
  453. package/build/main//321/201omponents/Switcher/index.js.map +1 -0
  454. package/build/main//321/201omponents/Switcher/types.d.ts +8 -0
  455. package/build/main//321/201omponents/Switcher/types.js +2 -0
  456. package/build/main//321/201omponents/Switcher/types.js.map +1 -0
  457. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +5 -0
  458. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +65 -0
  459. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
  460. package/build/main//321/201omponents/SyncLoader/index.d.ts +1 -0
  461. package/build/main//321/201omponents/SyncLoader/index.js +2 -0
  462. package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
  463. package/build/main//321/201omponents/SyncLoader/types.d.ts +8 -0
  464. package/build/main//321/201omponents/SyncLoader/types.js +2 -0
  465. package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
  466. package/build/main//321/201omponents/Textarea/Textarea.d.ts +4 -0
  467. package/build/main//321/201omponents/Textarea/Textarea.js +59 -0
  468. package/build/main//321/201omponents/Textarea/Textarea.js.map +1 -0
  469. package/build/main//321/201omponents/Textarea/index.d.ts +1 -0
  470. package/build/main//321/201omponents/Textarea/index.js +2 -0
  471. package/build/main//321/201omponents/Textarea/index.js.map +1 -0
  472. package/build/main//321/201omponents/Textarea/types.d.ts +13 -0
  473. package/build/main//321/201omponents/Textarea/types.js +2 -0
  474. package/build/main//321/201omponents/Textarea/types.js.map +1 -0
  475. package/build/main//321/201omponents/Toggle/Toggle.d.ts +4 -0
  476. package/build/main//321/201omponents/Toggle/Toggle.js +35 -0
  477. package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
  478. package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
  479. package/build/main//321/201omponents/Toggle/index.js +2 -0
  480. package/build/main//321/201omponents/Toggle/index.js.map +1 -0
  481. package/build/main//321/201omponents/Toggle/types.d.ts +12 -0
  482. package/build/main//321/201omponents/Toggle/types.js +2 -0
  483. package/build/main//321/201omponents/Toggle/types.js.map +1 -0
  484. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +4 -0
  485. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +40 -0
  486. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +1 -0
  487. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +4 -0
  488. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +98 -0
  489. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +1 -0
  490. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +5 -0
  491. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +24 -0
  492. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +1 -0
  493. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +4 -0
  494. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +104 -0
  495. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +1 -0
  496. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +4 -0
  497. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +133 -0
  498. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -0
  499. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +4 -0
  500. package/build/main//321/201omponents/UserDropdown/Option/Option.js +85 -0
  501. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +1 -0
  502. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +4 -0
  503. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +41 -0
  504. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +1 -0
  505. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +5 -0
  506. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +527 -0
  507. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -0
  508. package/build/main//321/201omponents/UserDropdown/components/Delimiter.d.ts +8 -0
  509. package/build/main//321/201omponents/UserDropdown/components/Delimiter.js +10 -0
  510. package/build/main//321/201omponents/UserDropdown/components/Delimiter.js.map +1 -0
  511. package/build/main//321/201omponents/UserDropdown/components/Hint.d.ts +6 -0
  512. package/build/main//321/201omponents/UserDropdown/components/Hint.js +21 -0
  513. package/build/main//321/201omponents/UserDropdown/components/Hint.js.map +1 -0
  514. package/build/main//321/201omponents/UserDropdown/components/Input.d.ts +2 -0
  515. package/build/main//321/201omponents/UserDropdown/components/Input.js +24 -0
  516. package/build/main//321/201omponents/UserDropdown/components/Input.js.map +1 -0
  517. package/build/main//321/201omponents/UserDropdown/components/Mask.d.ts +8 -0
  518. package/build/main//321/201omponents/UserDropdown/components/Mask.js +19 -0
  519. package/build/main//321/201omponents/UserDropdown/components/Mask.js.map +1 -0
  520. package/build/main//321/201omponents/UserDropdown/components/Title.d.ts +5 -0
  521. package/build/main//321/201omponents/UserDropdown/components/Title.js +18 -0
  522. package/build/main//321/201omponents/UserDropdown/components/Title.js.map +1 -0
  523. package/build/main//321/201omponents/UserDropdown/constants.d.ts +65 -0
  524. package/build/main//321/201omponents/UserDropdown/constants.js +83 -0
  525. package/build/main//321/201omponents/UserDropdown/constants.js.map +1 -0
  526. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +148 -0
  527. package/build/main//321/201omponents/UserDropdown/helpers.js +313 -0
  528. package/build/main//321/201omponents/UserDropdown/helpers.js.map +1 -0
  529. package/build/main//321/201omponents/UserDropdown/index.d.ts +1 -0
  530. package/build/main//321/201omponents/UserDropdown/index.js +2 -0
  531. package/build/main//321/201omponents/UserDropdown/index.js.map +1 -0
  532. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +15 -0
  533. package/build/main//321/201omponents/UserDropdown/selectStyles.js +99 -0
  534. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -0
  535. package/build/main//321/201omponents/UserDropdown/types.d.ts +356 -0
  536. package/build/main//321/201omponents/UserDropdown/types.js +2 -0
  537. package/build/main//321/201omponents/UserDropdown/types.js.map +1 -0
  538. package/build/main//321/201omponents/types.d.ts +2 -0
  539. package/build/main//321/201omponents/types.js +2 -0
  540. package/build/main//321/201omponents/types.js.map +1 -0
  541. package/package.json +13 -8
@@ -0,0 +1,77 @@
1
+ import React, { ReactElement, ReactNode, RefObject } from 'react';
2
+ import { SheetBackdropProps, SheetContainerProps, SheetContentProps, SheetDetent, SheetProps } from 'react-modal-sheet';
3
+ import { IFontFamilyProps, IPlatformProps, TStyles } from '../../constants';
4
+ import { IContextMenuProps } from '../ContextMenu/types';
5
+ export type TBottomSheetProps = {
6
+ isFullHeightWithTopMargin?: boolean;
7
+ height?: number;
8
+ isBackgroundInteractionEnabled?: boolean;
9
+ sheetProps?: Omit<SheetProps, 'isOpen' | 'onClose' | 'children'>;
10
+ sheetContainerProps?: SheetContainerProps;
11
+ sheetContentProps?: SheetContentProps;
12
+ sheetBackdropProps?: SheetBackdropProps;
13
+ };
14
+ export type TBottomSheetStyles = {
15
+ sheetStyles?: TStyles;
16
+ sheetContainerStyles?: TStyles;
17
+ sheetContentStyles?: TStyles;
18
+ sheetBackdropStyles?: TStyles;
19
+ };
20
+ export type TVerticalScrollDirection = 'top' | 'bottom';
21
+ export type TBottomSheetScrollTo = {
22
+ scrollTo?: TVerticalScrollDirection;
23
+ };
24
+ export type TBottomSheetScrollMobileConfig = {
25
+ extraPaddingFocusedElement?: number;
26
+ topCursorEdge?: number;
27
+ upperVisibilityThreshold?: number;
28
+ shouldDoScrollToFocusedElement?: boolean;
29
+ } & TBottomSheetScrollTo;
30
+ export interface IModalProps extends IPlatformProps, IFontFamilyProps {
31
+ isModalOpen: boolean;
32
+ isClosableOutside?: boolean;
33
+ isCloseIconHidden?: boolean;
34
+ isCloseButtonDisabled?: boolean;
35
+ isPopup?: boolean;
36
+ isBottomSheet?: boolean;
37
+ isDisabledBottomSheet?: boolean;
38
+ isResetPaddingBottom?: boolean;
39
+ isScrollBordersVisible?: boolean;
40
+ isDisableTitleCollapsing?: boolean;
41
+ isBottomContentBorderShown?: boolean;
42
+ isNeedToScrollUp?: boolean;
43
+ isDisablePopupDragging?: boolean;
44
+ modalId?: string;
45
+ contentId?: string;
46
+ mobileContentId?: string;
47
+ modalRef?: RefObject<HTMLDivElement | null>;
48
+ content: ReactElement;
49
+ bottomContent?: ReactElement;
50
+ title?: ReactNode;
51
+ titleIcons?: ReactElement | ReactElement[];
52
+ popupClassName?: string;
53
+ className?: string;
54
+ titleClassName?: string;
55
+ iconsClassName?: string;
56
+ popupStyles?: TStyles;
57
+ styles?: TStyles;
58
+ titleStyles?: TStyles;
59
+ contentStyles?: TStyles;
60
+ scrollableContentStyles?: TStyles;
61
+ iconColor?: string;
62
+ backgroundColor?: string;
63
+ modalMaxHeight?: number;
64
+ bottomSheetProps?: TBottomSheetProps;
65
+ bottomSheetStyles?: TBottomSheetStyles;
66
+ bottomSheetDetent?: SheetDetent;
67
+ externalBottomSheetScrollContainer?: RefObject<HTMLDivElement | null>;
68
+ contextMenuProps?: IContextMenuProps & {
69
+ openMenu: (event?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
70
+ };
71
+ bottomSheetScrollMobileConfig?: TBottomSheetScrollMobileConfig;
72
+ handleChangeTitleBorderDisplayed?: (isTitleBorderDisplayed: boolean) => void;
73
+ handleClickOutside?: () => void;
74
+ handleCloseModal: () => void;
75
+ handleBottomSheetInitialized?: () => void;
76
+ onScroll?: (e: any) => void;
77
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Modal/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { INotificationProps } from './types';
2
+ import '../../styles/styles.scss';
3
+ declare const Notification: ({ platform, language, fontFamily, id, type, isAutoHidden, isCloseIconHidden, isIconFilled, layoutType, isAllIndefinitelyNeedToBeClosed, temporaryPosition, temporaryPositionFullscreen, persistentFullScreenPosition, hideDuration, distanceFromBottom, containerClassName, className, containerStyles, styles, title, avatar, text, subText, content, contentId, iconColor, action, onClick, onClose, }: INotificationProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Notification;
@@ -0,0 +1,208 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
20
+ };
21
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
22
+ import { useEffect, useRef, useState } from 'react';
23
+ import { ToastContainer, cssTransition, toast } from 'react-toastify';
24
+ import classNames from 'classnames';
25
+ import { debounce, isEmpty } from 'lodash';
26
+ import Avatar from '../Avatar';
27
+ import { checkIsMobilePlatform, createSanitizedHtml, generateFontFamilyStyle, isFullScreen } from '../../helpers';
28
+ import { CANCEL_ACTION_TEXT, COLORS, LANGUAGES, LAYOUT_TYPE, MOBILE_NOTIFICATION_DISTANCE_FROM_BOTTOM, PERSISTENT_POSITION_FULLSCREEN, PLATFORM, WEB_NOTIFICATION_DISTANCE_FROM_BOTTOM, } from '../../constants';
29
+ import { AUTO_HIDDEN_CONTAINER_ID, BOTTOM_CENTER_POSITION, DEFAULT_FULLSCREEN_POSITIONS, FULLSCREEN_TOAST_CONTAINER_CLASSNAME, INDEFINITELY_CONTAINER_ID, INDEFINITELY_POSITIONS, MIN_CONTENT_HEIGHT, NOTIFICATION_HEIGHT, NOTIFICATION_ICON_CLASSNAME, NOTIFICATION_TYPES, TEMPORARY_POSITION, TEMPORARY_POSITION_FULLSCREEN, TOAST_CONTAINER_CLASSNAME, TOAST_CONTAINER_FULL_SCREEN_CLASSNAME, TOP_ALIGN_CLASSNAME, TOP_CENTER_POSITION, TO_TEXT, } from './constants';
30
+ import { AVATAR_SIZES } from '../Avatar/types';
31
+ import { ReactComponent as MailIcon } from '../../assets/icons/mail.svg';
32
+ import { ReactComponent as NotificationCloseIcon } from '../../assets/icons/notification-close.svg';
33
+ import { ReactComponent as NotificationErrorIcon } from '../../assets/icons/notification-error.svg';
34
+ import { ReactComponent as NotificationFailureFilledIcon } from '../../assets/icons/notification-failure-filled.svg';
35
+ import { ReactComponent as NotificationFailureIcon } from '../../assets/icons/notification-failure.svg';
36
+ import { ReactComponent as NotificationInfoFilledIcon } from '../../assets/icons/notification-info-filled.svg';
37
+ import { ReactComponent as NotificationInfoIcon } from '../../assets/icons/notification-info.svg';
38
+ import { ReactComponent as NotificationSuccessFilledIcon } from '../../assets/icons/notification-success-filled.svg';
39
+ import { ReactComponent as NotificationSuccessIcon } from '../../assets/icons/notification-success.svg';
40
+ import '../../styles/styles.scss';
41
+ var topPosition = TEMPORARY_POSITION.top, bottomPosition = TEMPORARY_POSITION.bottom;
42
+ var rightIndefinitelyPosition = PERSISTENT_POSITION_FULLSCREEN.right, leftIndefinitelyPosition = PERSISTENT_POSITION_FULLSCREEN.left;
43
+ var topRightPosition = TEMPORARY_POSITION_FULLSCREEN.topRight, bottomRightPosition = TEMPORARY_POSITION_FULLSCREEN.bottomRight, bottomLeftPosition = TEMPORARY_POSITION_FULLSCREEN.bottomLeft;
44
+ var generateNotificationIcon = function (_a) {
45
+ var type = _a.type, color = _a.iconColor, isIconFilled = _a.isIconFilled;
46
+ var style = color ? { color: color } : {};
47
+ var iconProps = { className: NOTIFICATION_ICON_CLASSNAME, style: style };
48
+ var SuccessIcon = isIconFilled ? NotificationSuccessFilledIcon : NotificationSuccessIcon;
49
+ var InfoIcon = isIconFilled ? NotificationInfoFilledIcon : NotificationInfoIcon;
50
+ var FailureIcon = isIconFilled ? NotificationFailureFilledIcon : NotificationFailureIcon;
51
+ switch (type) {
52
+ case NOTIFICATION_TYPES.success:
53
+ return _jsx(SuccessIcon, __assign({}, iconProps));
54
+ case NOTIFICATION_TYPES.error:
55
+ return _jsx(NotificationErrorIcon, __assign({}, iconProps));
56
+ case NOTIFICATION_TYPES.failure:
57
+ return _jsx(FailureIcon, __assign({}, iconProps));
58
+ default:
59
+ return _jsx(InfoIcon, __assign({}, iconProps));
60
+ }
61
+ };
62
+ var Notification = function (_a) {
63
+ var _b = _a.platform, platform = _b === void 0 ? PLATFORM.web : _b, _c = _a.language, language = _c === void 0 ? LANGUAGES.ru : _c, fontFamily = _a.fontFamily, id = _a.id, _d = _a.type, type = _d === void 0 ? 'success' : _d, _e = _a.isAutoHidden, isAutoHidden = _e === void 0 ? true : _e, _f = _a.isCloseIconHidden, isCloseIconHidden = _f === void 0 ? false : _f, _g = _a.isIconFilled, isIconFilled = _g === void 0 ? true : _g, _h = _a.layoutType, layoutType = _h === void 0 ? LAYOUT_TYPE.minimal : _h, _j = _a.isAllIndefinitelyNeedToBeClosed, isAllIndefinitelyNeedToBeClosed = _j === void 0 ? false : _j, _k = _a.temporaryPosition, temporaryPosition = _k === void 0 ? bottomPosition : _k, _l = _a.temporaryPositionFullscreen, temporaryPositionFullscreen = _l === void 0 ? topRightPosition : _l, _m = _a.persistentFullScreenPosition, persistentFullScreenPosition = _m === void 0 ? rightIndefinitelyPosition : _m, _o = _a.hideDuration, hideDuration = _o === void 0 ? 3000 : _o, distanceFromBottom = _a.distanceFromBottom, containerClassName = _a.containerClassName, className = _a.className, containerStyles = _a.containerStyles, styles = _a.styles, title = _a.title, avatar = _a.avatar, text = _a.text, subText = _a.subText, content = _a.content, contentId = _a.contentId, iconColor = _a.iconColor, action = _a.action, onClick = _a.onClick, onClose = _a.onClose;
64
+ var notificationRef = useRef(null);
65
+ var contentRef = useRef(null);
66
+ var contentSpanRef = useRef(null);
67
+ var toastContainerRef = useRef(null);
68
+ var _p = useState([]), indefinitelyIds = _p[0], setIndefinitelyIds = _p[1];
69
+ var isLayoutFullScreen = isFullScreen(layoutType);
70
+ var isMobilePlatform = checkIsMobilePlatform(platform);
71
+ var isCloseIconVisible = type !== NOTIFICATION_TYPES.warning && !isCloseIconHidden;
72
+ var isTopTemporaryDefaultPosition = temporaryPosition === topPosition;
73
+ var calculateDistanceFromBottom = function () {
74
+ if (distanceFromBottom)
75
+ return distanceFromBottom;
76
+ return isMobilePlatform ? MOBILE_NOTIFICATION_DISTANCE_FROM_BOTTOM : WEB_NOTIFICATION_DISTANCE_FROM_BOTTOM;
77
+ };
78
+ var calculateAutoHiddenDistanceFromBottom = function () {
79
+ var distanceFromBottom = calculateDistanceFromBottom();
80
+ var isAllNotificationsOnRightSide = temporaryPositionFullscreen === bottomRightPosition && persistentFullScreenPosition === rightIndefinitelyPosition;
81
+ var isAllNotificationsOnLeftSide = temporaryPositionFullscreen === bottomLeftPosition && persistentFullScreenPosition === leftIndefinitelyPosition;
82
+ var isAllNotificationsOnOneSide = isAllNotificationsOnLeftSide || isAllNotificationsOnRightSide || isMobilePlatform || !isLayoutFullScreen;
83
+ var isDistanceFromBottomShouldBeRecalculated = isAllNotificationsOnOneSide && !isEmpty(indefinitelyIds);
84
+ return isDistanceFromBottomShouldBeRecalculated ? distanceFromBottom + indefinitelyIds.length * NOTIFICATION_HEIGHT : distanceFromBottom;
85
+ };
86
+ var notificationAnimation = cssTransition({
87
+ enter: 'notification-enter-animation',
88
+ exit: 'notification-exit-animation',
89
+ appendPosition: true,
90
+ });
91
+ var handleActionClick = function (_a) {
92
+ var notificationId = _a.notificationId, event = _a.event, action = _a.action;
93
+ event.stopPropagation();
94
+ toast.dismiss(notificationId);
95
+ action === null || action === void 0 ? void 0 : action();
96
+ };
97
+ var handleClickCloseIcon = function (_a) {
98
+ var event = _a.event, notificationId = _a.notificationId;
99
+ event.stopPropagation();
100
+ toast.dismiss(notificationId);
101
+ };
102
+ var handleNotificationClick = function (notificationId, event) {
103
+ if (type === NOTIFICATION_TYPES.mail)
104
+ return;
105
+ handleActionClick({ notificationId: notificationId, event: event, action: onClick });
106
+ };
107
+ var handleMouseDownCloseIcon = function (event) { return event.stopPropagation(); };
108
+ var renderCloseIcon = function (notificationId) {
109
+ return isCloseIconVisible && (_jsx("div", __assign({ className: "smartapp-notification__icon smartapp-notification__icon--clickable" }, { children: _jsx(NotificationCloseIcon, { onMouseDown: handleMouseDownCloseIcon, onClick: function (event) { return handleClickCloseIcon({ event: event, notificationId: notificationId }); } }) })));
110
+ };
111
+ var renderNotificationAvatar = function (_a) {
112
+ var src = _a.src, username = _a.username, initials = _a.initials, icon = _a.icon;
113
+ return (_jsx(Avatar, { fontFamily: fontFamily, size: AVATAR_SIZES.size_32, avatar: src || icon, username: username, initials: initials }));
114
+ };
115
+ var renderMailNotificationContent = function (notificationId) { return (_jsxs("div", __assign({ className: "smartapp-notification__body", onMouseDown: function (event) { return handleActionClick({ notificationId: notificationId, event: event, action: action === null || action === void 0 ? void 0 : action.onClick }); } }, { children: [avatar && renderNotificationAvatar(avatar), _jsxs("div", __assign({ className: "smartapp-notification__body--text" }, { children: [title && _jsx("div", __assign({ className: "smartapp-notification__body--text__title" }, { children: "".concat(TO_TEXT[language], ": ").concat(title) })), _jsxs("div", __assign({ className: "smartapp-notification__body--text__sub-text" }, { children: [_jsx("div", { children: text }), _jsx("div", { children: subText })] }))] })), _jsx(NotificationCloseIcon, { className: "smartapp-notification__body--icon", onMouseDown: handleMouseDownCloseIcon, onClick: function (event) { return handleClickCloseIcon({ event: event, notificationId: notificationId }); } })] }))); };
116
+ var renderMultiMailNotificationContent = function (notificationId) { return (_jsxs("div", __assign({ className: "smartapp-notification__multi" }, { children: [_jsxs("div", __assign({ className: "smartapp-notification__multi--content" }, { children: [_jsx(MailIcon, { color: COLORS.iconSecondary }), _jsxs("div", __assign({ className: "smartapp-notification__multi--content__text" }, { children: [text && (_jsx("div", { children: _jsx("span", { dangerouslySetInnerHTML: createSanitizedHtml(text) }) })), (action === null || action === void 0 ? void 0 : action.text) && (_jsx("div", __assign({ className: "smartapp-notification__multi--content__action", onMouseDown: function (event) { return handleActionClick({ notificationId: notificationId, event: event, action: action === null || action === void 0 ? void 0 : action.onClick }); } }, { children: action.text })))] }))] })), _jsx(NotificationCloseIcon, { className: "smartapp-notification__multi--close-icon", onMouseDown: handleMouseDownCloseIcon, onClick: function (event) { return handleClickCloseIcon({ event: event, notificationId: notificationId }); } })] }))); };
117
+ var renderReminderNotificationContent = function (notificationId) { return (_jsxs("div", __assign({ className: "smartapp-notification__reminder" }, { children: [avatar && renderNotificationAvatar(avatar), _jsxs("div", __assign({ className: "smartapp-notification__reminder--content" }, { children: [_jsxs("div", { children: [title && _jsx("div", __assign({ className: "smartapp-notification__reminder--content__secondary-text" }, { children: title })), _jsx("div", { children: text }), _jsx("div", __assign({ className: "smartapp-notification__reminder--content__secondary-text" }, { children: subText }))] }), (action === null || action === void 0 ? void 0 : action.text) && renderNotificationAction({ notificationId: notificationId, action: action })] })), _jsx(NotificationCloseIcon, { className: "smartapp-notification__reminder--close-icon", onMouseDown: handleMouseDownCloseIcon, onClick: function (event) { return handleClickCloseIcon({ event: event, notificationId: notificationId }); } })] }))); };
118
+ var renderNotificationAction = function (_a) {
119
+ var notificationId = _a.notificationId, _b = _a.action, text = _b.text, color = _b.color, onClick = _b.onClick;
120
+ return (_jsx("div", __assign({ className: "smartapp-notification__content--action", style: { color: color }, onMouseDown: function (event) { return handleActionClick({ notificationId: notificationId, event: event, action: onClick }); } }, { children: text || CANCEL_ACTION_TEXT })));
121
+ };
122
+ var generateNotificationContent = function (notificationId) {
123
+ switch (type) {
124
+ case NOTIFICATION_TYPES.mail:
125
+ return renderMailNotificationContent(notificationId);
126
+ case NOTIFICATION_TYPES.mailMulti:
127
+ return renderMultiMailNotificationContent(notificationId);
128
+ case NOTIFICATION_TYPES.reminder:
129
+ return renderReminderNotificationContent(notificationId);
130
+ case NOTIFICATION_TYPES.custom:
131
+ return content || _jsx("div", {});
132
+ default:
133
+ return (_jsxs("div", __assign({ ref: notificationRef, className: classNames('smartapp-notification', { 'smartapp-notification--close-icon-hidden': !isCloseIconVisible }) }, { children: [generateNotificationIcon({ type: type, iconColor: iconColor, isIconFilled: isIconFilled }), _jsxs("div", __assign({ ref: contentRef, className: "smartapp-notification__content" }, { children: [text && (_jsx("div", { children: _jsx("span", { ref: contentSpanRef, dangerouslySetInnerHTML: createSanitizedHtml(text) }) })), action && renderNotificationAction({ notificationId: notificationId, action: action })] })), renderCloseIcon(notificationId)] })));
134
+ }
135
+ };
136
+ var renderNotificationContent = function (notificationId) { return (_jsx("div", __assign({ onMouseDown: function (event) { return handleNotificationClick(notificationId, event); } }, { children: generateNotificationContent(notificationId) }))); };
137
+ var renderToastContainer = function (_a) {
138
+ var _b;
139
+ var containerId = _a.containerId, distanceFromBottom = _a.distanceFromBottom;
140
+ var isIndefinitelyContainer = containerId === INDEFINITELY_CONTAINER_ID;
141
+ var formattedPersistentFullScreenPosition = persistentFullScreenPosition === rightIndefinitelyPosition ? bottomRightPosition : bottomLeftPosition;
142
+ var fullScreenPosition = isIndefinitelyContainer ? formattedPersistentFullScreenPosition : temporaryPositionFullscreen;
143
+ var defaultPosition = isTopTemporaryDefaultPosition ? TOP_CENTER_POSITION : BOTTOM_CENTER_POSITION;
144
+ return (_jsx(ToastContainer, { ref: toastContainerRef, enableMultiContainer: true, containerId: containerId, hideProgressBar: true, draggable: false, closeButton: false, pauseOnHover: false, pauseOnFocusLoss: false, closeOnClick: false, className: classNames((_b = {}, _b[FULLSCREEN_TOAST_CONTAINER_CLASSNAME] = isLayoutFullScreen, _b), generateToastContainerClassName(isIndefinitelyContainer), containerClassName), style: __assign(__assign({ '--distance-from-bottom': "".concat(distanceFromBottom, "px") }, generateFontFamilyStyle(fontFamily)), containerStyles), transition: notificationAnimation, position: isLayoutFullScreen ? fullScreenPosition : defaultPosition }));
145
+ };
146
+ var generateToastContainerClassName = function (isIndefinitelyContainer) {
147
+ if (isLayoutFullScreen)
148
+ return isIndefinitelyContainer
149
+ ? INDEFINITELY_POSITIONS[persistentFullScreenPosition]
150
+ : DEFAULT_FULLSCREEN_POSITIONS[temporaryPositionFullscreen];
151
+ if (!isIndefinitelyContainer && isTopTemporaryDefaultPosition)
152
+ return DEFAULT_FULLSCREEN_POSITIONS[topPosition];
153
+ return '';
154
+ };
155
+ var handleAddContentResizeObserver = function () {
156
+ var notificationRefCurrent = notificationRef.current;
157
+ var contentRefCurrent = contentRef.current;
158
+ var contentSpanRefCurrent = contentSpanRef.current;
159
+ var contentSpanParentElement = contentSpanRefCurrent === null || contentSpanRefCurrent === void 0 ? void 0 : contentSpanRefCurrent.parentElement;
160
+ var toastContainerElement = contentRefCurrent === null || contentRefCurrent === void 0 ? void 0 : contentRefCurrent.closest(".".concat(TOAST_CONTAINER_CLASSNAME));
161
+ if (!notificationRefCurrent || !contentRefCurrent || !contentSpanRefCurrent || !contentSpanParentElement || !toastContainerElement)
162
+ return null;
163
+ var notificationRefClassList = notificationRefCurrent.classList;
164
+ var toastContainerElementClassList = toastContainerElement.classList;
165
+ var resizeObserver = new ResizeObserver(debounce(function () {
166
+ var spanWidth = contentSpanRefCurrent.getBoundingClientRect().width;
167
+ var contentHeight = contentRefCurrent.getBoundingClientRect().height;
168
+ // pinned SmartApp close drops width to 0; ignore to ensure correct recalculation on reopen
169
+ var spanParentWidth = toastContainerElementClassList.contains(TOAST_CONTAINER_FULL_SCREEN_CLASSNAME) && spanWidth > 0 ? "".concat(spanWidth, "px") : '';
170
+ contentHeight > MIN_CONTENT_HEIGHT ? notificationRefClassList.add(TOP_ALIGN_CLASSNAME) : notificationRefClassList.remove(TOP_ALIGN_CLASSNAME);
171
+ contentSpanParentElement.style.width = spanParentWidth;
172
+ }));
173
+ resizeObserver.observe(contentRefCurrent);
174
+ return resizeObserver;
175
+ };
176
+ useEffect(function () {
177
+ if (id) {
178
+ var contentResizeObserver_1;
179
+ if (toast.isActive(id))
180
+ return toast.update(id, { containerId: AUTO_HIDDEN_CONTAINER_ID, autoClose: hideDuration, render: renderNotificationContent(id) });
181
+ !isAutoHidden && setIndefinitelyIds(function (prevIds) { return __spreadArray(__spreadArray([], prevIds, true), [id], false); });
182
+ toast(renderNotificationContent(id), {
183
+ containerId: !isAutoHidden ? INDEFINITELY_CONTAINER_ID : AUTO_HIDDEN_CONTAINER_ID,
184
+ toastId: id,
185
+ autoClose: isAutoHidden ? hideDuration : false,
186
+ className: classNames("Toastify__toast--".concat(type), className),
187
+ style: styles,
188
+ onOpen: function () { return (contentResizeObserver_1 = handleAddContentResizeObserver()); },
189
+ onClose: function () {
190
+ onClose === null || onClose === void 0 ? void 0 : onClose(id);
191
+ contentResizeObserver_1 === null || contentResizeObserver_1 === void 0 ? void 0 : contentResizeObserver_1.disconnect();
192
+ },
193
+ });
194
+ }
195
+ // eslint-disable-next-line
196
+ }, [id, hideDuration, contentId]);
197
+ useEffect(function () {
198
+ if (isAllIndefinitelyNeedToBeClosed)
199
+ indefinitelyIds.forEach(function (indefinitelyId) { return toast.dismiss(indefinitelyId); });
200
+ }, [indefinitelyIds, isAllIndefinitelyNeedToBeClosed]);
201
+ useEffect(function () {
202
+ if (isAllIndefinitelyNeedToBeClosed)
203
+ setIndefinitelyIds([]);
204
+ }, [isAllIndefinitelyNeedToBeClosed]);
205
+ return (_jsxs(_Fragment, { children: [renderToastContainer({ containerId: AUTO_HIDDEN_CONTAINER_ID, distanceFromBottom: calculateAutoHiddenDistanceFromBottom() }), renderToastContainer({ containerId: INDEFINITELY_CONTAINER_ID, distanceFromBottom: calculateDistanceFromBottom() })] }));
206
+ };
207
+ export default Notification;
208
+ //# sourceMappingURL=Notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/Notification.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAc,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,cAAc,EAAiB,aAAa,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACpF,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AACjH,OAAO,EACL,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,WAAW,EACX,wCAAwC,EACxC,8BAA8B,EAC9B,QAAQ,EACR,qCAAqC,GACtC,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,oCAAoC,EACpC,yBAAyB,EACzB,sBAAsB,EACtB,kBAAk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,CAAC,EAA7B,CAA6B,CAAC,CAAA;IACjH,CAAC,EAAE,CAAC,eAAe,EAAE,+BAA+B,CAAC,CAAC,CAAA;IAEtD,SAAS,CAAC;QACR,IAAI,+BAA+B;YAAE,kBAAkB,CAAC,EAAE,CAAC,CAAA;IAC7D,CAAC,EAAE,CAAC,+BAA+B,CAAC,CAAC,CAAA;IAErC,OAAO,CACL,8BACG,oBAAoB,CAAC,EAAE,WAAW,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,qCAAqC,EAAE,EAAE,CAAC,EAC5H,oBAAoB,CAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,EAAE,CAAC,IACnH,CACJ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -0,0 +1,34 @@
1
+ import { TTextWithLocale } from '../../constants';
2
+ import { TAutoHiddenDefaultPosition, TAutoHiddenFullScreenPosition } from './types';
3
+ export declare const AUTO_HIDDEN_CONTAINER_ID = "autoHiddenContainerId";
4
+ export declare const INDEFINITELY_CONTAINER_ID = "indefinitelyContainerId";
5
+ export declare const NOTIFICATION_HEIGHT = 52;
6
+ export declare const MIN_CONTENT_HEIGHT = 18;
7
+ export declare const TOP_ALIGN_CLASSNAME = "smartapp-notification__top-align";
8
+ export declare const TOAST_CONTAINER_CLASSNAME = "Toastify__toast-container";
9
+ export declare const TOAST_CONTAINER_FULL_SCREEN_CLASSNAME = "Toastify__toast-container--full-screen";
10
+ export declare const NOTIFICATION_ICON_CLASSNAME = "smartapp-notification__icon";
11
+ export declare const FULLSCREEN_TOAST_CONTAINER_CLASSNAME = "Toastify__toast-container--full-screen";
12
+ export declare const TOP_CENTER_POSITION = "top-center";
13
+ export declare const BOTTOM_CENTER_POSITION = "bottom-center";
14
+ export declare const TO_TEXT: TTextWithLocale;
15
+ export declare const NOTIFICATION_TYPES: {
16
+ success: string;
17
+ info: string;
18
+ warning: string;
19
+ error: string;
20
+ failure: string;
21
+ mail: string;
22
+ mailMulti: string;
23
+ reminder: string;
24
+ custom: string;
25
+ };
26
+ export declare const TEMPORARY_POSITION: Record<string, TAutoHiddenDefaultPosition>;
27
+ export declare const TEMPORARY_POSITION_FULLSCREEN: Record<string, TAutoHiddenFullScreenPosition>;
28
+ export declare const DEFAULT_FULLSCREEN_POSITIONS: {
29
+ [x: string]: string;
30
+ };
31
+ export declare const INDEFINITELY_POSITIONS: {
32
+ right: string;
33
+ left: string;
34
+ };
@@ -0,0 +1,59 @@
1
+ var _a, _b, _c;
2
+ import { LANGUAGES, PERSISTENT_POSITION_FULLSCREEN } from '../../constants';
3
+ export var AUTO_HIDDEN_CONTAINER_ID = 'autoHiddenContainerId';
4
+ export var INDEFINITELY_CONTAINER_ID = 'indefinitelyContainerId';
5
+ export var NOTIFICATION_HEIGHT = 52;
6
+ export var MIN_CONTENT_HEIGHT = 18;
7
+ export var TOP_ALIGN_CLASSNAME = 'smartapp-notification__top-align';
8
+ export var TOAST_CONTAINER_CLASSNAME = 'Toastify__toast-container';
9
+ export var TOAST_CONTAINER_FULL_SCREEN_CLASSNAME = 'Toastify__toast-container--full-screen';
10
+ export var NOTIFICATION_ICON_CLASSNAME = 'smartapp-notification__icon';
11
+ export var FULLSCREEN_TOAST_CONTAINER_CLASSNAME = 'Toastify__toast-container--full-screen';
12
+ export var TOP_CENTER_POSITION = 'top-center';
13
+ export var BOTTOM_CENTER_POSITION = 'bottom-center';
14
+ export var TO_TEXT = (_a = {},
15
+ _a[LANGUAGES.ru] = 'Кому',
16
+ _a[LANGUAGES.en] = 'To',
17
+ _a[LANGUAGES.de] = 'An',
18
+ _a[LANGUAGES.es] = 'Para',
19
+ _a[LANGUAGES.fr] = 'À',
20
+ _a[LANGUAGES.ar] = 'إلى',
21
+ _a[LANGUAGES.ms] = 'Kepada',
22
+ _a[LANGUAGES.tr] = 'Kime',
23
+ _a[LANGUAGES.id] = 'Kepada',
24
+ _a[LANGUAGES.uz] = 'Kimga',
25
+ _a[LANGUAGES.kk] = 'Кімге',
26
+ _a);
27
+ export var NOTIFICATION_TYPES = {
28
+ success: 'success',
29
+ info: 'info',
30
+ warning: 'warning',
31
+ error: 'error',
32
+ failure: 'failure',
33
+ mail: 'mail',
34
+ mailMulti: 'mail-multi',
35
+ reminder: 'reminder',
36
+ custom: 'custom',
37
+ };
38
+ export var TEMPORARY_POSITION = {
39
+ top: 'top',
40
+ bottom: 'bottom',
41
+ };
42
+ export var TEMPORARY_POSITION_FULLSCREEN = {
43
+ topRight: 'top-right',
44
+ topLeft: 'top-left',
45
+ bottomLeft: 'bottom-left',
46
+ bottomRight: 'bottom-right',
47
+ };
48
+ export var DEFAULT_FULLSCREEN_POSITIONS = (_b = {},
49
+ _b[TEMPORARY_POSITION.top] = "".concat(TOAST_CONTAINER_CLASSNAME, "--default-top"),
50
+ _b[TEMPORARY_POSITION_FULLSCREEN.topRight] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__default-top-right"),
51
+ _b[TEMPORARY_POSITION_FULLSCREEN.topLeft] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__default-top-left"),
52
+ _b[TEMPORARY_POSITION_FULLSCREEN.bottomRight] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__default-bottom-right"),
53
+ _b[TEMPORARY_POSITION_FULLSCREEN.bottomLeft] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__default-bottom-left"),
54
+ _b);
55
+ export var INDEFINITELY_POSITIONS = (_c = {},
56
+ _c[PERSISTENT_POSITION_FULLSCREEN.right] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__indefinitely-right"),
57
+ _c[PERSISTENT_POSITION_FULLSCREEN.left] = "".concat(FULLSCREEN_TOAST_CONTAINER_CLASSNAME, "__indefinitely-left"),
58
+ _c);
59
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/сomponents/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E,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACjB,CAAA;AAED,MAAM,CAAC,IAAM,kBAAkB,GAA+C;IAC5E,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACjB,CAAA;AAED,MAAM,CAAC,IAAM,6BAA6B,GAAkD;IAC1F,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,cAAc;CAC5B,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B;IACvC,GAAC,kBAAkB,CAAC,GAAG,IAAG,UAAG,yBAAyB,kBAAe;IACrE,GAAC,6BAA6B,CAAC,QAAQ,IAAG,UAAG,oCAAoC,wBAAqB;IACtG,GAAC,6BAA6B,CAAC,OAAO,IAAG,UAAG,oCAAoC,uBAAoB;IACpG,GAAC,6BAA6B,CAAC,WAAW,IAAG,UAAG,oCAAoC,2BAAwB;IAC5G,GAAC,6BAA6B,CAAC,UAAU,IAAG,UAAG,oCAAoC,0BAAuB;OAC3G,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB;IACjC,GAAC,8BAA8B,CAAC,KAAK,IAAG,UAAG,oCAAoC,yBAAsB;IACrG,GAAC,8BAA8B,CAAC,IAAI,IAAG,UAAG,oCAAoC,wBAAqB;OACpG,CAAA"}
@@ -0,0 +1 @@
1
+ export { default } from './Notification';
@@ -0,0 +1,2 @@
1
+ export { default } from './Notification';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,64 @@
1
+ import React, { MouseEvent, ReactElement } from 'react';
2
+ import { IFontFamilyProps, ILanguageProps, ILayoutTypeProps, IPlatformProps, PERSISTENT_POSITION_FULLSCREEN, TStyles } from '../../constants';
3
+ export type THandleActionClick = {
4
+ notificationId: string;
5
+ event: MouseEvent<HTMLDivElement>;
6
+ action?: () => void;
7
+ };
8
+ export type THandleClickCloseIcon = {
9
+ event: React.MouseEvent;
10
+ notificationId: string;
11
+ };
12
+ export type TRenderToastContainer = {
13
+ containerId: string;
14
+ distanceFromBottom: number;
15
+ };
16
+ export type TNotificationAvatar = {
17
+ src?: string;
18
+ username?: string;
19
+ initials?: string;
20
+ icon?: ReactElement;
21
+ };
22
+ export type TNotificationAction = {
23
+ text?: string;
24
+ color?: string;
25
+ onClick: () => void;
26
+ };
27
+ export type TAutoHiddenDefaultPosition = 'top' | 'bottom';
28
+ export type TAutoHiddenFullScreenPosition = 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
29
+ export type TRenderNotificationAction = {
30
+ notificationId: string;
31
+ action: TNotificationAction;
32
+ };
33
+ export type TGenerateNotificationIcon = {
34
+ type: string;
35
+ iconColor?: string;
36
+ isIconFilled?: boolean;
37
+ };
38
+ export interface INotificationProps extends IPlatformProps, ILayoutTypeProps, IFontFamilyProps, ILanguageProps {
39
+ id: string;
40
+ type?: 'success' | 'info' | 'warning' | 'error' | 'failure' | 'mail' | 'mail-multi' | 'reminder' | 'custom';
41
+ isAutoHidden?: boolean;
42
+ isCloseIconHidden?: boolean;
43
+ isIconFilled?: boolean;
44
+ isAllIndefinitelyNeedToBeClosed?: boolean;
45
+ temporaryPosition?: TAutoHiddenDefaultPosition;
46
+ temporaryPositionFullscreen?: TAutoHiddenFullScreenPosition;
47
+ persistentFullScreenPosition?: PERSISTENT_POSITION_FULLSCREEN;
48
+ hideDuration?: number;
49
+ distanceFromBottom?: number;
50
+ containerClassName?: string;
51
+ className?: string;
52
+ containerStyles?: TStyles;
53
+ styles?: TStyles;
54
+ title?: string;
55
+ avatar?: TNotificationAvatar;
56
+ text?: string;
57
+ subText?: string;
58
+ iconColor?: string;
59
+ action?: TNotificationAction;
60
+ content?: ReactElement;
61
+ contentId?: string;
62
+ onClick?: () => void;
63
+ onClose?: (id?: string) => void;
64
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Notification/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { IProfileProps } from './types';
2
+ import '../../styles/styles.scss';
3
+ declare const Profile: ({ username, email, isShowProfile, onChange, onClickLogout, isMultipleProfile, onClickAddProfile, width, logoutColor, addProfileColor, addProfileBackgroundColor, }: IProfileProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Profile;
@@ -0,0 +1,42 @@
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 { useEffect, useRef } from 'react';
14
+ import { generateColor } from '../../helpers';
15
+ import { COLORS } from '../../constants';
16
+ import { ReactComponent as LogoutIcon } from '../../assets/icons/logout.svg';
17
+ import { ReactComponent as AddProfileIcon } from '../../assets/icons/plus.svg';
18
+ import '../../styles/styles.scss';
19
+ var Profile = function (_a) {
20
+ var _b, _c, _d;
21
+ var username = _a.username, email = _a.email, _e = _a.isShowProfile, isShowProfile = _e === void 0 ? false : _e, _f = _a.onChange, onChange = _f === void 0 ? function () { return undefined; } : _f, onClickLogout = _a.onClickLogout, isMultipleProfile = _a.isMultipleProfile, onClickAddProfile = _a.onClickAddProfile, _g = _a.width, width = _g === void 0 ? 100 : _g, logoutColor = _a.logoutColor, addProfileColor = _a.addProfileColor, addProfileBackgroundColor = _a.addProfileBackgroundColor;
22
+ var ref = useRef(null);
23
+ var initials = (_d = (_c = (_b = username === null || username === void 0 ? void 0 : username.split(' ')) === null || _b === void 0 ? void 0 : _b.map(function (n) { return n[0]; })) === null || _c === void 0 ? void 0 : _c.join('.')) === null || _d === void 0 ? void 0 : _d.toUpperCase();
24
+ useEffect(function () {
25
+ var checkIfClickedOutside = function (e) {
26
+ var _a;
27
+ if (isShowProfile && (ref === null || ref === void 0 ? void 0 : ref.current) && !((_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.contains(e === null || e === void 0 ? void 0 : e.target))) {
28
+ onChange(false);
29
+ }
30
+ };
31
+ document.addEventListener('mousedown', checkIfClickedOutside);
32
+ return function () {
33
+ document.removeEventListener('mousedown', checkIfClickedOutside);
34
+ };
35
+ }, [isShowProfile, onChange]);
36
+ return (_jsxs("div", __assign({ ref: ref, className: "smartapp-profile__container" }, { children: [_jsx("div", __assign({ onClick: function () { return onChange(!isShowProfile); }, className: "smartapp-profile__avatar" }, { children: initials })), isShowProfile && (_jsxs("div", __assign({ style: { width: "".concat(width, "%") }, className: "smartapp-profile" }, { children: [_jsxs("div", __assign({ className: "smartapp-profile__current-profile" }, { children: [_jsxs("div", __assign({ className: "smartapp-profile__current-profile--info" }, { children: [_jsx("div", __assign({ className: "smartapp-profile__avatar" }, { children: initials })), _jsxs("div", __assign({ className: "smartapp-profile__current-profile--info__data" }, { children: [_jsx("p", __assign({ className: "smartapp-profile__current-profile--info__data--username" }, { children: username })), email && _jsx("p", __assign({ className: "smartapp-profile__current-profile--info__data--email" }, { children: email }))] }))] })), _jsx("div", __assign({ onClick: onClickLogout, className: "smartapp-profile__current-profile--logout" }, { children: _jsx(LogoutIcon, { style: { color: generateColor(logoutColor, COLORS.blue) } }) }))] })), isMultipleProfile && (_jsxs("div", __assign({ onClick: onClickAddProfile, className: "smartapp-profile__add-profile" }, { children: [_jsx("div", __assign({ className: "smartapp-profile__add-profile--icon" }, { children: _jsx(AddProfileIcon, { style: {
37
+ stroke: generateColor(addProfileColor, COLORS.blue),
38
+ color: generateColor(addProfileBackgroundColor, COLORS.lighterBlue),
39
+ } }) })), _jsx("p", __assign({ className: "smartapp-profile__add-profile--title" }, { children: "\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0430\u043A\u043A\u0430\u0443\u043D\u0442" }))] })))] })))] })));
40
+ };
41
+ export default Profile;
42
+ //# sourceMappingURL=Profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Profile.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/Profile.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,0BAA0B,CAAA;AAEjC,IAAM,OAAO,GAAG,UAAC,EAYD;;QAXd,QAAQ,cAAA,EACR,KAAK,WAAA,EACL,qBAAqB,EAArB,aAAa,mBAAG,KAAK,KAAA,EACrB,gBAAgC,EAAhC,QAAQ,mBAAG,cAAY,OAAA,SAAS,EAAT,CAAS,KAAA,EAChC,aAAa,mBAAA,EACb,iBAAiB,uBAAA,EACjB,iBAAiB,uBAAA,EACjB,aAAW,EAAX,KAAK,mBAAG,GAAG,KAAA,EACX,WAAW,iBAAA,EACX,eAAe,qBAAA,EACf,yBAAyB,+BAAA;IAEzB,IAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAExC,IAAM,QAAQ,GAAG,MAAA,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AK,SAAS,EAAC,+CAA+C,iBAC5D,qBAAG,SAAS,EAAC,yDAAyD,gBAAE,QAAQ,IAAK,EACpF,KAAK,IAAI,qBAAG,SAAS,EAAC,sDAAsD,gBAAE,KAAK,IAAK,KACrF,KACF,EACN,uBAAK,OAAO,EAAE,aAAa,EAAE,SAAS,EAAC,2CAA2C,gBAChF,KAAC,UAAU,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,IACrE,KACF,EACL,iBAAiB,IAAI,CACpB,wBAAK,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAC,+BAA+B,iBACxE,uBAAK,SAAS,EAAC,qCAAqC,gBAClD,KAAC,cAAc,IACb,KAAK,EAAE;wCACL,MAAM,EAAE,aAAa,CAAC,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC;wCACnD,KAAK,EAAE,aAAa,CAAC,yBAAyB,EAAE,MAAM,CAAC,WAAW,CAAC;qCACpE,GACD,IACE,EACN,qBAAG,SAAS,EAAC,sCAAsC,iHAAqB,KACpE,CACP,KACG,CACP,KACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -0,0 +1 @@
1
+ export { default } from './Profile';
@@ -0,0 +1,2 @@
1
+ export { default } from './Profile';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { IntRange } from '../types';
2
+ export interface IProfileProps {
3
+ username: string;
4
+ email?: string;
5
+ isShowProfile: boolean;
6
+ onChange: (isShowProfile: boolean) => void;
7
+ onClickLogout?: () => void;
8
+ isMultipleProfile?: boolean;
9
+ onClickAddProfile?: () => void;
10
+ width?: IntRange<1, 101>;
11
+ logoutColor?: string;
12
+ addProfileColor?: string;
13
+ addProfileBackgroundColor?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Profile/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { IProgressBarProps } from './types';
2
+ import '../../styles/styles.scss';
3
+ declare const ProgressBar: ({ fontFamily, title, isShowDotsInTitle, className, styles }: IProgressBarProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ProgressBar;