@expressms/smartapp-ui 2.9.0 → 2.9.2

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 (443) hide show
  1. package/package.json +1 -1
  2. package/build/main/assets/icons/arrow-back.svg +0 -3
  3. package/build/main/assets/icons/arrow-down.svg +0 -3
  4. package/build/main/assets/icons/arrow-up.svg +0 -3
  5. package/build/main/assets/icons/attachment-loader.svg +0 -3
  6. package/build/main/assets/icons/button-loader.svg +0 -3
  7. package/build/main/assets/icons/cancel-cross.svg +0 -3
  8. package/build/main/assets/icons/check-mark.svg +0 -4
  9. package/build/main/assets/icons/clear.svg +0 -3
  10. package/build/main/assets/icons/close-stories.svg +0 -4
  11. package/build/main/assets/icons/close.svg +0 -10
  12. package/build/main/assets/icons/contact-info.svg +0 -12
  13. package/build/main/assets/icons/corporate-user.svg +0 -10
  14. package/build/main/assets/icons/crown.svg +0 -5
  15. package/build/main/assets/icons/delete-chip.svg +0 -3
  16. package/build/main/assets/icons/download.svg +0 -4
  17. package/build/main/assets/icons/error.svg +0 -5
  18. package/build/main/assets/icons/external-link.svg +0 -3
  19. package/build/main/assets/icons/eye-off.svg +0 -10
  20. package/build/main/assets/icons/eye.svg +0 -10
  21. package/build/main/assets/icons/file.svg +0 -3
  22. package/build/main/assets/icons/info.svg +0 -5
  23. package/build/main/assets/icons/loader.svg +0 -3
  24. package/build/main/assets/icons/logout.svg +0 -4
  25. package/build/main/assets/icons/magnifying-glass.svg +0 -3
  26. package/build/main/assets/icons/mail.svg +0 -3
  27. package/build/main/assets/icons/more.svg +0 -3
  28. package/build/main/assets/icons/my-contact-user.svg +0 -10
  29. package/build/main/assets/icons/notification-close.svg +0 -3
  30. package/build/main/assets/icons/notification-error.svg +0 -3
  31. package/build/main/assets/icons/notification-failure.svg +0 -3
  32. package/build/main/assets/icons/notification-info.svg +0 -5
  33. package/build/main/assets/icons/notification-success.svg +0 -4
  34. package/build/main/assets/icons/notification-warning.svg +0 -5
  35. package/build/main/assets/icons/order.svg +0 -6
  36. package/build/main/assets/icons/plus.svg +0 -4
  37. package/build/main/assets/icons/private.svg +0 -12
  38. package/build/main/assets/icons/refresh.svg +0 -3
  39. package/build/main/assets/icons/story-loader.svg +0 -3
  40. package/build/main/assets/icons/tick.svg +0 -10
  41. package/build/main/assets/icons/trash.svg +0 -3
  42. package/build/main/assets/icons/unread-mails.svg +0 -4
  43. package/build/main/assets/storybook/index.d.ts +0 -21
  44. package/build/main/assets/storybook/index.js +0 -22
  45. package/build/main/assets/storybook/index.js.map +0 -1
  46. package/build/main/constants/constants.d.ts +0 -152
  47. package/build/main/constants/constants.js +0 -172
  48. package/build/main/constants/constants.js.map +0 -1
  49. package/build/main/constants/index.d.ts +0 -2
  50. package/build/main/constants/index.js +0 -3
  51. package/build/main/constants/index.js.map +0 -1
  52. package/build/main/constants/types.d.ts +0 -24
  53. package/build/main/constants/types.js +0 -2
  54. package/build/main/constants/types.js.map +0 -1
  55. package/build/main/helpers/index.d.ts +0 -22
  56. package/build/main/helpers/index.js +0 -89
  57. package/build/main/helpers/index.js.map +0 -1
  58. package/build/main/hooks/useModal.d.ts +0 -21
  59. package/build/main/hooks/useModal.js +0 -60
  60. package/build/main/hooks/useModal.js.map +0 -1
  61. package/build/main/index.d.ts +0 -36
  62. package/build/main/index.js +0 -37
  63. package/build/main/index.js.map +0 -1
  64. package/build/main/styles/index.d.ts +0 -1
  65. package/build/main/styles/index.js +0 -2
  66. package/build/main/styles/index.js.map +0 -1
  67. package/build/main/styles/main.js +0 -0
  68. package/build/main/styles/styles.scss +0 -14
  69. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +0 -4
  70. package/build/main//321/201omponents/ActionModal/ActionModal.js +0 -55
  71. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +0 -1
  72. package/build/main//321/201omponents/ActionModal/index.d.ts +0 -1
  73. package/build/main//321/201omponents/ActionModal/index.js +0 -2
  74. package/build/main//321/201omponents/ActionModal/index.js.map +0 -1
  75. package/build/main//321/201omponents/ActionModal/types.d.ts +0 -24
  76. package/build/main//321/201omponents/ActionModal/types.js +0 -2
  77. package/build/main//321/201omponents/ActionModal/types.js.map +0 -1
  78. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +0 -8
  79. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +0 -60
  80. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +0 -1
  81. package/build/main//321/201omponents/AttachedFile/index.d.ts +0 -1
  82. package/build/main//321/201omponents/AttachedFile/index.js +0 -2
  83. package/build/main//321/201omponents/AttachedFile/index.js.map +0 -1
  84. package/build/main//321/201omponents/AttachedFile/types.d.ts +0 -25
  85. package/build/main//321/201omponents/AttachedFile/types.js +0 -2
  86. package/build/main//321/201omponents/AttachedFile/types.js.map +0 -1
  87. package/build/main//321/201omponents/Avatar/Avatar.d.ts +0 -4
  88. package/build/main//321/201omponents/Avatar/Avatar.js +0 -135
  89. package/build/main//321/201omponents/Avatar/Avatar.js.map +0 -1
  90. package/build/main//321/201omponents/Avatar/index.d.ts +0 -1
  91. package/build/main//321/201omponents/Avatar/index.js +0 -2
  92. package/build/main//321/201omponents/Avatar/index.js.map +0 -1
  93. package/build/main//321/201omponents/Avatar/types.d.ts +0 -58
  94. package/build/main//321/201omponents/Avatar/types.js +0 -29
  95. package/build/main//321/201omponents/Avatar/types.js.map +0 -1
  96. package/build/main//321/201omponents/Button/Button.d.ts +0 -4
  97. package/build/main//321/201omponents/Button/Button.js +0 -63
  98. package/build/main//321/201omponents/Button/Button.js.map +0 -1
  99. package/build/main//321/201omponents/Button/index.d.ts +0 -1
  100. package/build/main//321/201omponents/Button/index.js +0 -2
  101. package/build/main//321/201omponents/Button/index.js.map +0 -1
  102. package/build/main//321/201omponents/Button/types.d.ts +0 -28
  103. package/build/main//321/201omponents/Button/types.js +0 -11
  104. package/build/main//321/201omponents/Button/types.js.map +0 -1
  105. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +0 -4
  106. package/build/main//321/201omponents/CachedImage/CachedImage.js +0 -59
  107. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +0 -1
  108. package/build/main//321/201omponents/CachedImage/helpers.d.ts +0 -3
  109. package/build/main//321/201omponents/CachedImage/helpers.js +0 -40
  110. package/build/main//321/201omponents/CachedImage/helpers.js.map +0 -1
  111. package/build/main//321/201omponents/CachedImage/index.d.ts +0 -1
  112. package/build/main//321/201omponents/CachedImage/index.js +0 -2
  113. package/build/main//321/201omponents/CachedImage/index.js.map +0 -1
  114. package/build/main//321/201omponents/CachedImage/types.d.ts +0 -10
  115. package/build/main//321/201omponents/CachedImage/types.js +0 -2
  116. package/build/main//321/201omponents/CachedImage/types.js.map +0 -1
  117. package/build/main//321/201omponents/Calendar/Calendar.d.ts +0 -4
  118. package/build/main//321/201omponents/Calendar/Calendar.js +0 -97
  119. package/build/main//321/201omponents/Calendar/Calendar.js.map +0 -1
  120. package/build/main//321/201omponents/Calendar/index.d.ts +0 -1
  121. package/build/main//321/201omponents/Calendar/index.js +0 -2
  122. package/build/main//321/201omponents/Calendar/index.js.map +0 -1
  123. package/build/main//321/201omponents/Calendar/types.d.ts +0 -13
  124. package/build/main//321/201omponents/Calendar/types.js +0 -2
  125. package/build/main//321/201omponents/Calendar/types.js.map +0 -1
  126. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +0 -4
  127. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +0 -46
  128. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +0 -1
  129. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +0 -4
  130. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +0 -71
  131. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +0 -1
  132. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +0 -4
  133. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +0 -41
  134. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +0 -1
  135. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +0 -4
  136. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +0 -63
  137. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +0 -1
  138. package/build/main//321/201omponents/Charts/colors.d.ts +0 -3
  139. package/build/main//321/201omponents/Charts/colors.js +0 -4
  140. package/build/main//321/201omponents/Charts/colors.js.map +0 -1
  141. package/build/main//321/201omponents/Charts/constants.d.ts +0 -46
  142. package/build/main//321/201omponents/Charts/constants.js +0 -43
  143. package/build/main//321/201omponents/Charts/constants.js.map +0 -1
  144. package/build/main//321/201omponents/Charts/helpers.d.ts +0 -17
  145. package/build/main//321/201omponents/Charts/helpers.js +0 -73
  146. package/build/main//321/201omponents/Charts/helpers.js.map +0 -1
  147. package/build/main//321/201omponents/Charts/index.d.ts +0 -3
  148. package/build/main//321/201omponents/Charts/index.js +0 -4
  149. package/build/main//321/201omponents/Charts/index.js.map +0 -1
  150. package/build/main//321/201omponents/Charts/types.d.ts +0 -88
  151. package/build/main//321/201omponents/Charts/types.js +0 -2
  152. package/build/main//321/201omponents/Charts/types.js.map +0 -1
  153. package/build/main//321/201omponents/Charts/useEvents.d.ts +0 -5
  154. package/build/main//321/201omponents/Charts/useEvents.js +0 -45
  155. package/build/main//321/201omponents/Charts/useEvents.js.map +0 -1
  156. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +0 -6
  157. package/build/main//321/201omponents/Charts/usePieEvents.js +0 -57
  158. package/build/main//321/201omponents/Charts/usePieEvents.js.map +0 -1
  159. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +0 -4
  160. package/build/main//321/201omponents/Checkbox/Checkbox.js +0 -38
  161. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +0 -1
  162. package/build/main//321/201omponents/Checkbox/index.d.ts +0 -1
  163. package/build/main//321/201omponents/Checkbox/index.js +0 -2
  164. package/build/main//321/201omponents/Checkbox/index.js.map +0 -1
  165. package/build/main//321/201omponents/Checkbox/types.d.ts +0 -12
  166. package/build/main//321/201omponents/Checkbox/types.js +0 -2
  167. package/build/main//321/201omponents/Checkbox/types.js.map +0 -1
  168. package/build/main//321/201omponents/Chip/Chip.d.ts +0 -4
  169. package/build/main//321/201omponents/Chip/Chip.js +0 -35
  170. package/build/main//321/201omponents/Chip/Chip.js.map +0 -1
  171. package/build/main//321/201omponents/Chip/index.d.ts +0 -1
  172. package/build/main//321/201omponents/Chip/index.js +0 -2
  173. package/build/main//321/201omponents/Chip/index.js.map +0 -1
  174. package/build/main//321/201omponents/Chip/types.d.ts +0 -13
  175. package/build/main//321/201omponents/Chip/types.js +0 -2
  176. package/build/main//321/201omponents/Chip/types.js.map +0 -1
  177. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +0 -4
  178. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +0 -70
  179. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +0 -1
  180. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +0 -1
  181. package/build/main//321/201omponents/ConfirmationModal/index.js +0 -2
  182. package/build/main//321/201omponents/ConfirmationModal/index.js.map +0 -1
  183. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +0 -28
  184. package/build/main//321/201omponents/ConfirmationModal/types.js +0 -2
  185. package/build/main//321/201omponents/ConfirmationModal/types.js.map +0 -1
  186. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +0 -4
  187. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +0 -82
  188. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +0 -1
  189. package/build/main//321/201omponents/ContextMenu/index.d.ts +0 -1
  190. package/build/main//321/201omponents/ContextMenu/index.js +0 -2
  191. package/build/main//321/201omponents/ContextMenu/index.js.map +0 -1
  192. package/build/main//321/201omponents/ContextMenu/types.d.ts +0 -32
  193. package/build/main//321/201omponents/ContextMenu/types.js +0 -2
  194. package/build/main//321/201omponents/ContextMenu/types.js.map +0 -1
  195. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +0 -12
  196. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +0 -243
  197. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +0 -1
  198. package/build/main//321/201omponents/CustomSelect/index.d.ts +0 -1
  199. package/build/main//321/201omponents/CustomSelect/index.js +0 -2
  200. package/build/main//321/201omponents/CustomSelect/index.js.map +0 -1
  201. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +0 -16
  202. package/build/main//321/201omponents/CustomSelect/selectStyles.js +0 -67
  203. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +0 -1
  204. package/build/main//321/201omponents/CustomSelect/types.d.ts +0 -64
  205. package/build/main//321/201omponents/CustomSelect/types.js +0 -2
  206. package/build/main//321/201omponents/CustomSelect/types.js.map +0 -1
  207. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +0 -4
  208. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +0 -57
  209. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +0 -1
  210. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +0 -1
  211. package/build/main//321/201omponents/CustomSelectProfiles/index.js +0 -2
  212. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +0 -1
  213. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +0 -12
  214. package/build/main//321/201omponents/CustomSelectProfiles/types.js +0 -2
  215. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +0 -1
  216. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +0 -4
  217. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +0 -57
  218. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +0 -1
  219. package/build/main//321/201omponents/DragAndDrop/index.d.ts +0 -1
  220. package/build/main//321/201omponents/DragAndDrop/index.js +0 -2
  221. package/build/main//321/201omponents/DragAndDrop/index.js.map +0 -1
  222. package/build/main//321/201omponents/DragAndDrop/types.d.ts +0 -24
  223. package/build/main//321/201omponents/DragAndDrop/types.js +0 -2
  224. package/build/main//321/201omponents/DragAndDrop/types.js.map +0 -1
  225. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +0 -4
  226. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +0 -223
  227. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +0 -1
  228. package/build/main//321/201omponents/DraggablePopup/index.d.ts +0 -1
  229. package/build/main//321/201omponents/DraggablePopup/index.js +0 -2
  230. package/build/main//321/201omponents/DraggablePopup/index.js.map +0 -1
  231. package/build/main//321/201omponents/DraggablePopup/types.d.ts +0 -87
  232. package/build/main//321/201omponents/DraggablePopup/types.js +0 -2
  233. package/build/main//321/201omponents/DraggablePopup/types.js.map +0 -1
  234. package/build/main//321/201omponents/Error/Error.d.ts +0 -4
  235. package/build/main//321/201omponents/Error/Error.js +0 -23
  236. package/build/main//321/201omponents/Error/Error.js.map +0 -1
  237. package/build/main//321/201omponents/Error/index.d.ts +0 -1
  238. package/build/main//321/201omponents/Error/index.js +0 -2
  239. package/build/main//321/201omponents/Error/index.js.map +0 -1
  240. package/build/main//321/201omponents/Error/types.d.ts +0 -10
  241. package/build/main//321/201omponents/Error/types.js +0 -2
  242. package/build/main//321/201omponents/Error/types.js.map +0 -1
  243. package/build/main//321/201omponents/Flex/Flex.d.ts +0 -2
  244. package/build/main//321/201omponents/Flex/Flex.js +0 -49
  245. package/build/main//321/201omponents/Flex/Flex.js.map +0 -1
  246. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +0 -5
  247. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +0 -16
  248. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +0 -1
  249. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +0 -1
  250. package/build/main//321/201omponents/Flex/HFlex/index.js +0 -2
  251. package/build/main//321/201omponents/Flex/HFlex/index.js.map +0 -1
  252. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +0 -5
  253. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +0 -16
  254. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +0 -1
  255. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +0 -1
  256. package/build/main//321/201omponents/Flex/VFlex/index.js +0 -2
  257. package/build/main//321/201omponents/Flex/VFlex/index.js.map +0 -1
  258. package/build/main//321/201omponents/Flex/index.d.ts +0 -3
  259. package/build/main//321/201omponents/Flex/index.js +0 -4
  260. package/build/main//321/201omponents/Flex/index.js.map +0 -1
  261. package/build/main//321/201omponents/Flex/types.d.ts +0 -15
  262. package/build/main//321/201omponents/Flex/types.js +0 -2
  263. package/build/main//321/201omponents/Flex/types.js.map +0 -1
  264. package/build/main//321/201omponents/Header/Header.d.ts +0 -5
  265. package/build/main//321/201omponents/Header/Header.js +0 -124
  266. package/build/main//321/201omponents/Header/Header.js.map +0 -1
  267. package/build/main//321/201omponents/Header/index.d.ts +0 -1
  268. package/build/main//321/201omponents/Header/index.js +0 -2
  269. package/build/main//321/201omponents/Header/index.js.map +0 -1
  270. package/build/main//321/201omponents/Header/types.d.ts +0 -46
  271. package/build/main//321/201omponents/Header/types.js +0 -2
  272. package/build/main//321/201omponents/Header/types.js.map +0 -1
  273. package/build/main//321/201omponents/Input/Input.d.ts +0 -4
  274. package/build/main//321/201omponents/Input/Input.js +0 -207
  275. package/build/main//321/201omponents/Input/Input.js.map +0 -1
  276. package/build/main//321/201omponents/Input/index.d.ts +0 -1
  277. package/build/main//321/201omponents/Input/index.js +0 -2
  278. package/build/main//321/201omponents/Input/index.js.map +0 -1
  279. package/build/main//321/201omponents/Input/types.d.ts +0 -29
  280. package/build/main//321/201omponents/Input/types.js +0 -2
  281. package/build/main//321/201omponents/Input/types.js.map +0 -1
  282. package/build/main//321/201omponents/ListItem/ListItem.d.ts +0 -23
  283. package/build/main//321/201omponents/ListItem/ListItem.js +0 -208
  284. package/build/main//321/201omponents/ListItem/ListItem.js.map +0 -1
  285. package/build/main//321/201omponents/ListItem/index.d.ts +0 -1
  286. package/build/main//321/201omponents/ListItem/index.js +0 -2
  287. package/build/main//321/201omponents/ListItem/index.js.map +0 -1
  288. package/build/main//321/201omponents/ListItem/types.d.ts +0 -42
  289. package/build/main//321/201omponents/ListItem/types.js +0 -2
  290. package/build/main//321/201omponents/ListItem/types.js.map +0 -1
  291. package/build/main//321/201omponents/Loader/Loader.d.ts +0 -4
  292. package/build/main//321/201omponents/Loader/Loader.js +0 -44
  293. package/build/main//321/201omponents/Loader/Loader.js.map +0 -1
  294. package/build/main//321/201omponents/Loader/index.d.ts +0 -1
  295. package/build/main//321/201omponents/Loader/index.js +0 -2
  296. package/build/main//321/201omponents/Loader/index.js.map +0 -1
  297. package/build/main//321/201omponents/Loader/types.d.ts +0 -18
  298. package/build/main//321/201omponents/Loader/types.js +0 -2
  299. package/build/main//321/201omponents/Loader/types.js.map +0 -1
  300. package/build/main//321/201omponents/Modal/Modal.d.ts +0 -4
  301. package/build/main//321/201omponents/Modal/Modal.js +0 -143
  302. package/build/main//321/201omponents/Modal/Modal.js.map +0 -1
  303. package/build/main//321/201omponents/Modal/index.d.ts +0 -1
  304. package/build/main//321/201omponents/Modal/index.js +0 -2
  305. package/build/main//321/201omponents/Modal/index.js.map +0 -1
  306. package/build/main//321/201omponents/Modal/types.d.ts +0 -34
  307. package/build/main//321/201omponents/Modal/types.js +0 -2
  308. package/build/main//321/201omponents/Modal/types.js.map +0 -1
  309. package/build/main//321/201omponents/Notification/Notification.d.ts +0 -8
  310. package/build/main//321/201omponents/Notification/Notification.js +0 -217
  311. package/build/main//321/201omponents/Notification/Notification.js.map +0 -1
  312. package/build/main//321/201omponents/Notification/index.d.ts +0 -1
  313. package/build/main//321/201omponents/Notification/index.js +0 -2
  314. package/build/main//321/201omponents/Notification/index.js.map +0 -1
  315. package/build/main//321/201omponents/Notification/types.d.ts +0 -45
  316. package/build/main//321/201omponents/Notification/types.js +0 -2
  317. package/build/main//321/201omponents/Notification/types.js.map +0 -1
  318. package/build/main//321/201omponents/Profile/Profile.d.ts +0 -4
  319. package/build/main//321/201omponents/Profile/Profile.js +0 -42
  320. package/build/main//321/201omponents/Profile/Profile.js.map +0 -1
  321. package/build/main//321/201omponents/Profile/index.d.ts +0 -1
  322. package/build/main//321/201omponents/Profile/index.js +0 -2
  323. package/build/main//321/201omponents/Profile/index.js.map +0 -1
  324. package/build/main//321/201omponents/Profile/types.d.ts +0 -14
  325. package/build/main//321/201omponents/Profile/types.js +0 -2
  326. package/build/main//321/201omponents/Profile/types.js.map +0 -1
  327. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +0 -4
  328. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +0 -66
  329. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +0 -1
  330. package/build/main//321/201omponents/ProgressBar/index.d.ts +0 -1
  331. package/build/main//321/201omponents/ProgressBar/index.js +0 -2
  332. package/build/main//321/201omponents/ProgressBar/index.js.map +0 -1
  333. package/build/main//321/201omponents/ProgressBar/types.d.ts +0 -7
  334. package/build/main//321/201omponents/ProgressBar/types.js +0 -2
  335. package/build/main//321/201omponents/ProgressBar/types.js.map +0 -1
  336. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +0 -4
  337. package/build/main//321/201omponents/RadioButton/RadioButton.js +0 -37
  338. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +0 -1
  339. package/build/main//321/201omponents/RadioButton/index.d.ts +0 -1
  340. package/build/main//321/201omponents/RadioButton/index.js +0 -2
  341. package/build/main//321/201omponents/RadioButton/index.js.map +0 -1
  342. package/build/main//321/201omponents/RadioButton/types.d.ts +0 -12
  343. package/build/main//321/201omponents/RadioButton/types.js +0 -2
  344. package/build/main//321/201omponents/RadioButton/types.js.map +0 -1
  345. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +0 -5
  346. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +0 -63
  347. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +0 -1
  348. package/build/main//321/201omponents/ScrollBar/index.d.ts +0 -1
  349. package/build/main//321/201omponents/ScrollBar/index.js +0 -2
  350. package/build/main//321/201omponents/ScrollBar/index.js.map +0 -1
  351. package/build/main//321/201omponents/ScrollBar/types.d.ts +0 -20
  352. package/build/main//321/201omponents/ScrollBar/types.js +0 -2
  353. package/build/main//321/201omponents/ScrollBar/types.js.map +0 -1
  354. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +0 -4
  355. package/build/main//321/201omponents/Skeleton/Skeleton.js +0 -59
  356. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +0 -1
  357. package/build/main//321/201omponents/Skeleton/index.d.ts +0 -1
  358. package/build/main//321/201omponents/Skeleton/index.js +0 -2
  359. package/build/main//321/201omponents/Skeleton/index.js.map +0 -1
  360. package/build/main//321/201omponents/Skeleton/types.d.ts +0 -17
  361. package/build/main//321/201omponents/Skeleton/types.js +0 -2
  362. package/build/main//321/201omponents/Skeleton/types.js.map +0 -1
  363. package/build/main//321/201omponents/Stories/Stories.d.ts +0 -4
  364. package/build/main//321/201omponents/Stories/Stories.js +0 -300
  365. package/build/main//321/201omponents/Stories/Stories.js.map +0 -1
  366. package/build/main//321/201omponents/Stories/index.d.ts +0 -1
  367. package/build/main//321/201omponents/Stories/index.js +0 -2
  368. package/build/main//321/201omponents/Stories/index.js.map +0 -1
  369. package/build/main//321/201omponents/Stories/types.d.ts +0 -70
  370. package/build/main//321/201omponents/Stories/types.js +0 -16
  371. package/build/main//321/201omponents/Stories/types.js.map +0 -1
  372. package/build/main//321/201omponents/Switcher/Switcher.d.ts +0 -4
  373. package/build/main//321/201omponents/Switcher/Switcher.js +0 -34
  374. package/build/main//321/201omponents/Switcher/Switcher.js.map +0 -1
  375. package/build/main//321/201omponents/Switcher/index.d.ts +0 -1
  376. package/build/main//321/201omponents/Switcher/index.js +0 -2
  377. package/build/main//321/201omponents/Switcher/index.js.map +0 -1
  378. package/build/main//321/201omponents/Switcher/types.d.ts +0 -8
  379. package/build/main//321/201omponents/Switcher/types.js +0 -2
  380. package/build/main//321/201omponents/Switcher/types.js.map +0 -1
  381. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +0 -5
  382. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +0 -65
  383. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +0 -1
  384. package/build/main//321/201omponents/SyncLoader/index.d.ts +0 -1
  385. package/build/main//321/201omponents/SyncLoader/index.js +0 -2
  386. package/build/main//321/201omponents/SyncLoader/index.js.map +0 -1
  387. package/build/main//321/201omponents/SyncLoader/types.d.ts +0 -9
  388. package/build/main//321/201omponents/SyncLoader/types.js +0 -2
  389. package/build/main//321/201omponents/SyncLoader/types.js.map +0 -1
  390. package/build/main//321/201omponents/Textarea/Textarea.d.ts +0 -4
  391. package/build/main//321/201omponents/Textarea/Textarea.js +0 -96
  392. package/build/main//321/201omponents/Textarea/Textarea.js.map +0 -1
  393. package/build/main//321/201omponents/Textarea/index.d.ts +0 -1
  394. package/build/main//321/201omponents/Textarea/index.js +0 -2
  395. package/build/main//321/201omponents/Textarea/index.js.map +0 -1
  396. package/build/main//321/201omponents/Textarea/types.d.ts +0 -12
  397. package/build/main//321/201omponents/Textarea/types.js +0 -2
  398. package/build/main//321/201omponents/Textarea/types.js.map +0 -1
  399. package/build/main//321/201omponents/Toggle/Toggle.d.ts +0 -4
  400. package/build/main//321/201omponents/Toggle/Toggle.js +0 -38
  401. package/build/main//321/201omponents/Toggle/Toggle.js.map +0 -1
  402. package/build/main//321/201omponents/Toggle/index.d.ts +0 -1
  403. package/build/main//321/201omponents/Toggle/index.js +0 -2
  404. package/build/main//321/201omponents/Toggle/index.js.map +0 -1
  405. package/build/main//321/201omponents/Toggle/types.d.ts +0 -12
  406. package/build/main//321/201omponents/Toggle/types.js +0 -2
  407. package/build/main//321/201omponents/Toggle/types.js.map +0 -1
  408. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +0 -4
  409. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +0 -31
  410. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +0 -1
  411. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +0 -4
  412. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +0 -82
  413. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
  414. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +0 -4
  415. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +0 -23
  416. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +0 -1
  417. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +0 -4
  418. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +0 -121
  419. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +0 -1
  420. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +0 -3
  421. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +0 -100
  422. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
  423. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +0 -4
  424. package/build/main//321/201omponents/UserDropdown/Option/Option.js +0 -91
  425. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +0 -1
  426. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +0 -5
  427. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +0 -447
  428. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +0 -1
  429. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +0 -98
  430. package/build/main//321/201omponents/UserDropdown/helpers.js +0 -93
  431. package/build/main//321/201omponents/UserDropdown/helpers.js.map +0 -1
  432. package/build/main//321/201omponents/UserDropdown/index.d.ts +0 -1
  433. package/build/main//321/201omponents/UserDropdown/index.js +0 -2
  434. package/build/main//321/201omponents/UserDropdown/index.js.map +0 -1
  435. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +0 -15
  436. package/build/main//321/201omponents/UserDropdown/selectStyles.js +0 -80
  437. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +0 -1
  438. package/build/main//321/201omponents/UserDropdown/types.d.ts +0 -200
  439. package/build/main//321/201omponents/UserDropdown/types.js +0 -2
  440. package/build/main//321/201omponents/UserDropdown/types.js.map +0 -1
  441. package/build/main//321/201omponents/types.d.ts +0 -2
  442. package/build/main//321/201omponents/types.js +0 -2
  443. package/build/main//321/201omponents/types.js.map +0 -1
@@ -1,82 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var _a;
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
- import { LANGUAGES } from '../../../constants';
15
- import '../../../styles/styles.scss';
16
- var INFO_TITLE_TEXT = (_a = {},
17
- _a[LANGUAGES.ru] = {
18
- server: 'Сервер',
19
- company: 'Компания',
20
- department: 'Отдел',
21
- companyPosition: 'Должность',
22
- },
23
- _a[LANGUAGES.en] = {
24
- server: 'Server',
25
- company: 'Company',
26
- department: 'Department',
27
- companyPosition: 'Position',
28
- },
29
- _a[LANGUAGES.de] = {
30
- server: 'Server',
31
- company: 'Firma',
32
- department: 'Abteilung',
33
- companyPosition: 'Position',
34
- },
35
- _a[LANGUAGES.es] = {
36
- server: 'Servidor',
37
- company: 'Empresa',
38
- department: 'Sección',
39
- companyPosition: 'Cargo',
40
- },
41
- _a[LANGUAGES.fr] = {
42
- server: 'Serveur',
43
- company: 'Société',
44
- department: 'Département',
45
- companyPosition: 'Poste',
46
- },
47
- _a[LANGUAGES.ar] = {
48
- server: 'جهاز الخادم',
49
- company: 'شركة',
50
- department: 'الإدارة',
51
- companyPosition: 'المنصب',
52
- },
53
- _a[LANGUAGES.ms] = {
54
- server: 'Pelayan',
55
- company: 'Syarikat',
56
- department: 'Jabatan',
57
- companyPosition: 'Kedudukan',
58
- },
59
- _a[LANGUAGES.tr] = {
60
- server: 'Sunucu',
61
- company: 'Şirket',
62
- department: 'Bölüm',
63
- companyPosition: 'Pozisyon',
64
- },
65
- _a[LANGUAGES.id] = {
66
- server: 'Server',
67
- company: 'Nama perusahaan',
68
- department: 'Departemen',
69
- companyPosition: 'Posisi',
70
- },
71
- _a);
72
- var ContactInfo = function (_a) {
73
- var elementRef = _a.elementRef, language = _a.language, serverName = _a.serverName, company = _a.company, department = _a.department, companyPosition = _a.companyPosition;
74
- var _b = INFO_TITLE_TEXT[language], serverTitle = _b.server, companyTitle = _b.company, departmentTitle = _b.department, companyPositionTitle = _b.companyPosition;
75
- var renderInfoItem = function (_a) {
76
- var title = _a.title, info = _a.info;
77
- return (_jsxs("div", __assign({ className: "smartapp-contact-info__item" }, { children: [_jsx("div", { children: title }), _jsx("div", { children: info })] })));
78
- };
79
- return (_jsxs("div", __assign({ ref: elementRef, className: "smartapp-contact-info" }, { children: [serverName && renderInfoItem({ title: serverTitle, info: serverName }), company && renderInfoItem({ title: companyTitle, info: company }), department && renderInfoItem({ title: departmentTitle, info: department }), companyPosition && renderInfoItem({ title: companyPositionTitle, info: companyPosition })] })));
80
- };
81
- export default ContactInfo;
82
- //# sourceMappingURL=ContactInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContactInfo.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/ContactInfo/ContactInfo.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AACA,OAAO,EAAE,SAAS,EAAE,MAA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AAO,EAAE,iBAAiB;QAC1B,UAAU,EAAE,YAAY;QACxB,eAAe,EAAE,QAAQ;KAC1B;OACF,CAAA;AAED,IAAM,WAAW,GAAG,UAAC,EAAwF;QAAtF,UAAU,gBAAA,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA,EAAE,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,eAAe,qBAAA;IACrF,IAAA,KAKF,eAAe,CAAC,QAAqB,CAAC,EAJhC,WAAW,YAAA,EACV,YAAY,aAAA,EACT,eAAe,gBAAA,EACV,oBAAoB,qBACG,CAAA;IAE1C,IAAM,cAAc,GAAG,UAAC,EAAgC;YAA9B,KAAK,WAAA,EAAE,IAAI,UAAA;QAAwB,OAAA,CAC3D,wBAAK,SAAS,EAAC,6BAA6B,iBAC1C,wBAAM,KAAK,GAAO,EAClB,wBAAM,IAAI,GAAO,KACb,CACP;IAL4D,CAK5D,CAAA;IAED,OAAO,CACL,wBAAK,GAAG,EAAE,UAAU,EAAE,SAAS,EAAC,uBAAuB,iBACpD,UAAU,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EACtE,OAAO,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EACjE,UAAU,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAC1E,eAAe,IAAI,cAAc,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,KACtF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,4 +0,0 @@
1
- import { ILoadingMessage } from '../types';
2
- import '../../../styles/styles.scss';
3
- declare const LoadingMessage: ({ skeletonRowsCount }: ILoadingMessage) => import("react/jsx-runtime").JSX.Element;
4
- export default LoadingMessage;
@@ -1,23 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { useRef } from 'react';
14
- import { Skeleton } from '../../Skeleton';
15
- import '../../../styles/styles.scss';
16
- var LOADING_MESSAGE_ITEMS = 6;
17
- var LoadingMessage = function (_a) {
18
- var _b = _a.skeletonRowsCount, skeletonRowsCount = _b === void 0 ? LOADING_MESSAGE_ITEMS : _b;
19
- var ref = useRef(null);
20
- return (_jsx("div", __assign({ ref: ref, className: "smartapp-loading-message" }, { children: Array.from({ length: skeletonRowsCount }, function (_, index) { return (_jsxs("div", __assign({ className: "smartapp-loading-message__item" }, { children: [_jsx(Skeleton, { containerRef: ref, circle: true, className: "smartapp-loading-message__item--circle" }), _jsxs("div", __assign({ className: "smartapp-loading-message__item--ellipse" }, { children: [_jsx(Skeleton, { containerRef: ref, className: "smartapp-loading-message__item--ellipse__first", borderRadius: 600 }), _jsx(Skeleton, { containerRef: ref, className: "smartapp-loading-message__item--ellipse__second", borderRadius: 600 })] }))] }), index)); }) })));
21
- };
22
- export default LoadingMessage;
23
- //# sourceMappingURL=LoadingMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadingMessage.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/LoadingMessage/LoadingMessage.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,OAAO,6BAA6B,CAAA;AAEpC,IAAM,qBAAqB,GAAG,CAAC,CAAA;AAE/B,IAAM,cAAc,GAAG,UAAC,EAA8D;QAA5D,yBAAyC,EAAzC,iBAAiB,mBAAG,qBAAqB,KAAA;IACjE,IAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAExC,OAAO,CACL,uBAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAC,0BAA0B,gBAChD,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE,UAAC,CAAC,EAAE,KAAK,IAAK,OAAA,CACvD,wBAAiB,SAAS,EAAC,gCAAgC,iBACzD,KAAC,QAAQ,IAAC,YAAY,EAAE,GAAG,EAAE,MAAM,QAAC,SAAS,EAAC,wCAAwC,GAAG,EACzF,wBAAK,SAAS,EAAC,yCAAyC,iBACtD,KAAC,QAAQ,IAAC,YAAY,EAAE,GAAG,EAAE,SAAS,EAAC,gDAAgD,EAAC,YAAY,EAAE,GAAG,GAAI,EAC7G,KAAC,QAAQ,IAAC,YAAY,EAAE,GAAG,EAAE,SAAS,EAAC,iDAAiD,EAAC,YAAY,EAAE,GAAG,GAAI,KAC1G,MALE,KAAK,CAMT,CACP,EARwD,CAQxD,CAAC,IACE,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -1,4 +0,0 @@
1
- import { IMenuListProps } from '../types';
2
- import '../../../styles/styles.scss';
3
- declare const MenuList: (props: IMenuListProps) => import("react/jsx-runtime").JSX.Element | null;
4
- export default MenuList;
@@ -1,121 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var _a;
13
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
14
- import { useEffect, useRef, useState } from 'react';
15
- import { components } from 'react-select';
16
- import { FixedSizeList } from 'react-window';
17
- import { AutoSizer } from 'react-virtualized';
18
- import classNames from 'classnames';
19
- import LoadingMessage from '../LoadingMessage/LoadingMessage';
20
- import { LANGUAGES } from '../../../constants';
21
- import '../../../styles/styles.scss';
22
- var MIN_INPUT_SYMBOLS = 3;
23
- var SKELETON_ROWS_COUNT = 3;
24
- var MENU_ITEM_HEIGHT = 54;
25
- var MAX_MENU_HEIGHT = 292;
26
- var LIST_OVER_SCAN_COUNT = 5;
27
- var PADDING_SIZE = 12;
28
- var CHAR_HINT_TIMEOUT = 1500;
29
- var ONE_CHARACTER = 1;
30
- var TWO_CHARACTERS = 2;
31
- var CHAR_HINT = (_a = {},
32
- _a[LANGUAGES.ru] = 'Запрос должен содержать не менее 3-х символов',
33
- _a[LANGUAGES.en] = 'The query must contain at least 3 characters',
34
- _a[LANGUAGES.de] = 'Die Anfrage muss mindestens 3 Zeichen enthalten',
35
- _a[LANGUAGES.es] = 'La consulta debe contener al menos 3 caracteres',
36
- _a[LANGUAGES.fr] = 'Il faut au moins 3 caractères pour la recherche',
37
- _a[LANGUAGES.ar] = 'الاستفسار يجب أن يحتوي على 3 حروف على الأقل',
38
- _a[LANGUAGES.ms] = 'Pertanyaan harus mengandungi sekurang-kurangnya 3 aksara',
39
- _a[LANGUAGES.tr] = 'Sorgu en az 3 karakter içermelidir',
40
- _a[LANGUAGES.id] = 'Kueri harus berisi minimal 3 karakter',
41
- _a);
42
- var MenuList = function (props) {
43
- var _a;
44
- var selectRef = props.selectRef, scrollFromTop = props.scrollFromTop, language = props.language, hasNextPage = props.hasNextPage, isLoading = props.isLoading, isUserTyping = props.isUserTyping, isNextPageLoading = props.isNextPageLoading, onLoadNextPage = props.onLoadNextPage, children = props.children;
45
- var selectRefCurrent = selectRef.current;
46
- var inputValue = (_a = selectRefCurrent === null || selectRefCurrent === void 0 ? void 0 : selectRefCurrent.props) === null || _a === void 0 ? void 0 : _a.inputValue;
47
- var inputValueLength = inputValue === null || inputValue === void 0 ? void 0 : inputValue.length;
48
- var virtualizationListRef = useRef(null);
49
- var lastElement = useRef(null);
50
- var observer = useRef(new IntersectionObserver(function (entries) { return entries[0].isIntersecting && handleLoadNextPage(); }));
51
- var _b = useState(false), isCharHintVisible = _b[0], setIsCharHintVisible = _b[1];
52
- var _c = useState(null), timeoutId = _c[0], setTimeoutId = _c[1];
53
- useEffect(function () {
54
- if (timeoutId) {
55
- clearTimeout(timeoutId);
56
- setTimeoutId(null);
57
- }
58
- if (inputValueLength >= MIN_INPUT_SYMBOLS) {
59
- setIsCharHintVisible(false);
60
- }
61
- else if (inputValueLength === ONE_CHARACTER || inputValueLength === TWO_CHARACTERS) {
62
- if (!isCharHintVisible) {
63
- var nextTimeoutId = setTimeout(function () { return setIsCharHintVisible(true); }, CHAR_HINT_TIMEOUT);
64
- setTimeoutId(nextTimeoutId);
65
- }
66
- }
67
- else {
68
- setIsCharHintVisible(false);
69
- }
70
- return function () {
71
- timeoutId && clearTimeout(timeoutId);
72
- };
73
- // eslint-disable-next-line
74
- }, [inputValue]);
75
- useEffect(function () {
76
- var lastElementCurrent = lastElement.current;
77
- var observerCurrent = observer.current;
78
- lastElementCurrent && observerCurrent.observe(lastElementCurrent);
79
- return function () {
80
- lastElementCurrent && observerCurrent.unobserve(lastElementCurrent);
81
- };
82
- // eslint-disable-next-line
83
- }, [lastElement.current]);
84
- var handleLoadNextPage = function () {
85
- onLoadNextPage(inputValue);
86
- if (virtualizationListRef.current) {
87
- var scrollOffset = virtualizationListRef.current.state.scrollOffset;
88
- scrollFromTop.current = scrollOffset + MENU_ITEM_HEIGHT * SKELETON_ROWS_COUNT;
89
- }
90
- };
91
- if (inputValueLength < MIN_INPUT_SYMBOLS)
92
- return isCharHintVisible ? _jsx("div", __assign({ className: "smartapp-menu-list__char-hint" }, { children: CHAR_HINT[language] })) : null;
93
- // For children like: "Loading" or "No Options" provided by 'react-select'
94
- if (!Array.isArray(children))
95
- return _jsx(_Fragment, { children: children });
96
- var childrenLength = children.length;
97
- var listChildrenHeight = childrenLength * MENU_ITEM_HEIGHT + PADDING_SIZE;
98
- var listHeight = listChildrenHeight > MAX_MENU_HEIGHT ? MAX_MENU_HEIGHT : listChildrenHeight;
99
- var itemCount = hasNextPage ? childrenLength + SKELETON_ROWS_COUNT : childrenLength;
100
- var isNextPageSkeletonsVisible = hasNextPage && !isNextPageLoading && !isLoading && !isUserTyping;
101
- var isDataLoadingSkeletonsVisible = isNextPageLoading || isLoading || (isUserTyping && inputValueLength >= MIN_INPUT_SYMBOLS);
102
- var isSkeletonsVisible = isNextPageSkeletonsVisible || isDataLoadingSkeletonsVisible;
103
- var renderSkeletons = function () { return isSkeletonsVisible && _jsx(LoadingMessage, { skeletonRowsCount: SKELETON_ROWS_COUNT }); };
104
- var rowRenderer = function (_a) {
105
- var index = _a.index, style = _a.style;
106
- var isLastRow = index === childrenLength - 1;
107
- var rowRef = isNextPageSkeletonsVisible ? lastElement : null;
108
- return (_jsxs("div", __assign({ ref: rowRef, style: style, role: children[index] ? 'option' : '',
109
- // добавляем класс для последнего элемента, чтобы скрыть разделитель
110
- className: classNames({ 'smartapp-menu-list__item--last': isLastRow }) }, { children: [children[index], isLastRow && renderSkeletons()] }), index));
111
- };
112
- return (_jsx(components.MenuList, __assign({}, props, { children: _jsx(AutoSizer, __assign({ disableHeight: true }, { children: function (_a) {
113
- var width = _a.width;
114
- return (_jsx(FixedSizeList, __assign({ ref: virtualizationListRef, height: listHeight, itemCount: itemCount, itemSize: MENU_ITEM_HEIGHT, width: width, overscanCount: LIST_OVER_SCAN_COUNT, onScroll: function (_a) {
115
- var scrollOffset = _a.scrollOffset;
116
- return (scrollFromTop.current = scrollOffset);
117
- }, initialScrollOffset: scrollFromTop.current, className: "smartapp-menu-list" }, { children: rowRenderer })));
118
- } })) })));
119
- };
120
- export default MenuList;
121
- //# sourceMappingURL=MenuList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuList.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/MenuList/MenuList.tsx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EAAE,CAAC,iBAErE,QAAQ,CAAC,KAAK,CAAC,EACf,SAAS,IAAI,eAAe,EAAE,MAR1B,KAAK,CASN,CACP,CAAA;IACH,CAAC,CAAA;IAED,OAAO,CACL,KAAC,UAAU,CAAC,QAAQ,eAAK,KAAK,cAC5B,KAAC,SAAS,aAAC,aAAa,sBACrB,UAAC,EAAS;oBAAP,KAAK,WAAA;gBAAO,OAAA,CACd,KAAC,aAAa,aACZ,GAAG,EAAE,qBAAqB,EAC1B,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,oBAAoB,EACnC,QAAQ,EAAE,UAAC,EAAgB;4BAAd,YAAY,kBAAA;wBAAO,OAAA,CAAC,aAAa,CAAC,OAAO,GAAG,YAAY,CAAC;oBAAtC,CAAsC,EACtE,mBAAmB,EAAE,aAAa,CAAC,OAAO,EAC1C,SAAS,EAAC,oBAAoB,gBAE7B,WAAW,IACE,CACjB;YAde,CAcf,IACS,IACQ,CACvB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,3 +0,0 @@
1
- import '../../../styles/styles.scss';
2
- declare const MultiValueLabel: (props: any) => import("react/jsx-runtime").JSX.Element | null;
3
- export default MultiValueLabel;
@@ -1,100 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { useRef, useState } from 'react';
14
- import Popup from 'reactjs-popup';
15
- import { components } from 'react-select';
16
- import { isEqual } from 'lodash';
17
- import classNames from 'classnames';
18
- import Chip from '../../Chip';
19
- import Avatar from '../../Avatar';
20
- import { generateClassNames, isValueEqualToZero } from '../../../helpers';
21
- import { POPUP_ON_EVENT_TYPE } from '../../../constants';
22
- import { AVATAR_SIZES } from '../../Avatar/types';
23
- import { ReactComponent as CorporateUserIcon } from '../../../assets/icons/corporate-user.svg';
24
- import { ReactComponent as MyContactUserIcon } from '../../../assets/icons/my-contact-user.svg';
25
- import '../../../styles/styles.scss';
26
- var POPUP_APPEARANCE_DELAY = 1500;
27
- var POPUP_HIDDEN_CLASSNAME = 'multi-value-info-hidden';
28
- var POPUP_PADDINGS = 24;
29
- var POPUP_MARGINS = 32;
30
- var POPUP_MARGIN_TOP = 1;
31
- var MultiValueLabel = function (props) {
32
- var _a = props.data, value = _a.value, label = _a.label, name = _a.name, email = _a.email, avatar = _a.avatar, platform = _a.platform, isMyContacts = _a.isMyContacts, isPrivateSchedule = _a.isPrivateSchedule, isNotRemovable = _a.isNotRemovable, isChipsCollapsable = _a.isChipsCollapsable, isSelectedChipHasTooltip = _a.isSelectedChipHasTooltip, isError = _a.isError, isInputFocused = _a.isInputFocused.current, collapsableChipsCount = _a.collapsableChipsCount.current, lastVisibleChipIndex = _a.lastVisibleChipIndex.current, _b = props.selectProps, isDisabled = _b.isDisabled, selectedUsers = _b.value, onChange = _b.onChange;
33
- var multiValueLabelRef = useRef(null);
34
- var popupRef = useRef(null);
35
- var popupContentRef = useRef(null);
36
- var _c = useState(-1), left = _c[0], setLeft = _c[1];
37
- var _d = useState(-1), top = _d[0], setTop = _d[1];
38
- var _e = useState(null), timeoutId = _e[0], setTimeoutId = _e[1];
39
- var _f = useState(POPUP_HIDDEN_CLASSNAME), hiddenClassName = _f[0], setHiddenClassName = _f[1];
40
- var windowInnerWidth = window.innerWidth;
41
- var popupContentMaxWidth = windowInnerWidth - POPUP_MARGINS - POPUP_PADDINGS;
42
- var noChipsCount = isValueEqualToZero(collapsableChipsCount);
43
- var userIndex = selectedUsers.findIndex(function (_a) {
44
- var selectedUserValue = _a.value, selectedUserLabel = _a.label;
45
- return selectedUserValue === value && selectedUserLabel === label;
46
- });
47
- var handleDelete = function () { return onChange(selectedUsers.filter(function (user) { return !isEqual(user, props.data); })); };
48
- var handleMouseDown = function (event) {
49
- event.preventDefault();
50
- event.stopPropagation();
51
- };
52
- var handleTouchEnd = function (event) { return event.stopPropagation(); };
53
- var renderUserIcon = function () { return (isMyContacts ? _jsx(MyContactUserIcon, { color: "var(--color-icon-secondary)" }) : _jsx(CorporateUserIcon, {})); };
54
- var renderPopupContent = function () { return (_jsxs("div", __assign({ ref: popupContentRef, className: "smartapp-multi-value-label" }, { children: [_jsx(Avatar, { username: label, avatar: avatar, size: AVATAR_SIZES.size_32, isEye: isPrivateSchedule, outlineDefaultBackground: "var(--color-chip)" }), _jsxs("div", __assign({ className: "smartapp-multi-value-label__content" }, { children: [_jsxs("div", __assign({ className: "smartapp-multi-value-label__content--name" }, { children: [_jsx("div", __assign({ className: "smartapp-multi-value-label__content--name__icon" }, { children: renderUserIcon() })), _jsx("span", { children: name })] })), _jsx("div", __assign({ className: "smartapp-multi-value-label__content--email" }, { children: email }))] }))] }))); };
55
- var handleOpenPopup = function () {
56
- var popupRefCurrent = popupRef.current;
57
- var popupContentRefCurrent = popupContentRef.current;
58
- var multiValueLabelRefCurrent = multiValueLabelRef.current;
59
- if (popupRefCurrent && popupContentRefCurrent && multiValueLabelRefCurrent) {
60
- var _a = multiValueLabelRefCurrent.getBoundingClientRect(), width = _a.width, multiValueLabelLeft = _a.left, top_1 = _a.top, height = _a.height;
61
- var popupContentWidth = popupContentRefCurrent.getBoundingClientRect().width;
62
- var popupContentWidthWithIndents_1 = popupContentWidth + POPUP_PADDINGS + POPUP_MARGINS;
63
- var nextLeft_1 = multiValueLabelLeft + width / 2 - popupContentWidthWithIndents_1 / 2;
64
- var generateNextLeftValue = function () {
65
- if (nextLeft_1 < 0)
66
- return 0;
67
- var popupContentRightmostPosition = nextLeft_1 + popupContentWidthWithIndents_1;
68
- var popupContentOutsideScreen = popupContentRightmostPosition - windowInnerWidth;
69
- return nextLeft_1 - Math.max(popupContentOutsideScreen, 0);
70
- };
71
- var nextLeftValue = generateNextLeftValue();
72
- if (left !== nextLeftValue) {
73
- popupRefCurrent.close();
74
- setLeft(nextLeftValue);
75
- setTop(top_1 + height - POPUP_MARGIN_TOP);
76
- var nextTimeoutId = setTimeout(function () { var _a; return (_a = popupRef.current) === null || _a === void 0 ? void 0 : _a.open(); }, 0);
77
- setTimeoutId(nextTimeoutId);
78
- }
79
- setHiddenClassName('');
80
- }
81
- };
82
- var handleClosePopup = function () { return timeoutId && clearTimeout(timeoutId); };
83
- if (!isChipsCollapsable || isInputFocused || (!isInputFocused && userIndex < lastVisibleChipIndex) || noChipsCount) {
84
- return (_jsx(components.MultiValueLabel, __assign({}, props, { innerProps: { ref: multiValueLabelRef } }, { children: _jsx(Popup, __assign({ ref: popupRef, onOpen: handleOpenPopup, onClose: handleClosePopup, arrow: false, disabled: !name || !email || !isSelectedChipHasTooltip, className: classNames('multi-value-info', hiddenClassName), contentStyle: {
85
- '--multi-value-label-content-left': "".concat(left, "px"),
86
- '--multi-value-label-content-top': "".concat(top, "px"),
87
- '--multi-value-label-content-max-width': "".concat(popupContentMaxWidth, "px"),
88
- }, on: [POPUP_ON_EVENT_TYPE.hover], mouseEnterDelay: POPUP_APPEARANCE_DELAY, trigger: function () { return (_jsx("div", __assign({ onMouseDown: handleMouseDown, onTouchEnd: handleTouchEnd }, { children: _jsx(Chip, { name: label, avatar: avatar, isError: isError, isDisabled: isDisabled || isNotRemovable, isEye: isPrivateSchedule, onDelete: handleDelete }) }))); } }, { children: renderPopupContent() })) })));
89
- }
90
- if (isChipsCollapsable && !isInputFocused && userIndex === lastVisibleChipIndex && !noChipsCount) {
91
- return (_jsxs("div", __assign({ className: generateClassNames({
92
- className: 'multi-value-label-counter',
93
- delimiter: '__',
94
- additionalClassName: platform,
95
- }), onTouchEnd: handleTouchEnd }, { children: ["+", collapsableChipsCount] })));
96
- }
97
- return null;
98
- };
99
- export default MultiValueLabel;
100
- //# sourceMappingURL=MultiValueLabel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiValueLabel.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/MultiValueLabel/MultiValueLabel.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,MAAM,eAAe,CAAA;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAChC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,IAAI,MAAM,YAAY,CAAA;AAC7B,OAAO,MAAM,MAAM,cAAc,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AAC9F,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAC/F,OAAO,6BAA6B,CAAA;AAEpC,IAAM,sBAAsB,GAAG,IAAI,CAAA;AACnC,IAAM,sBAAsB,GAAG,yBAAyB,CAAA;AACxD,IAAM,cAAc,GAAG,EAAE,CAAA;AACzB,IAAM,aAAa,GAAG,EAAE,CAAA;AACxB,IAAM,gBAAgB,GAAG,CAAC,CAAA;AAE1B,IAAM,eAAe,GAAG,UAAC,KAAU;IAE/B,IAAA,KAkBE,KAAK,KAFN,EAfC,KAAK,WAAA,EACL,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,YAAY,kBAAA,EACZ,iBAAiB,uBAAA,E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AmB,EAAE,QAAQ;aAC9B,CAAC,EACF,UAAU,EAAE,cAAc,sBAExB,qBAAqB,KACnB,CACP,CAAA;KACF;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -1,4 +0,0 @@
1
- import { IOptionProps } from '../types';
2
- import '../../../styles/styles.scss';
3
- declare const Option: (props: IOptionProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Option;
@@ -1,91 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { useEffect, useRef, useState } from 'react';
14
- import Popup from 'reactjs-popup';
15
- import { components } from 'react-select';
16
- import classNames from 'classnames';
17
- import Avatar from '../../Avatar';
18
- import ContactInfo from '../ContactInfo/ContactInfo';
19
- import { isMobilePlatform, isWebPlatform } from '../../../helpers';
20
- import { ReactComponent as CorporateUserIcon } from '../../../assets/icons/corporate-user.svg';
21
- import { ReactComponent as MyContactUserIcon } from '../../../assets/icons/my-contact-user.svg';
22
- import { ReactComponent as ContactInfoIcon } from '../../../assets/icons/contact-info.svg';
23
- import { POPUP_ON_EVENT_TYPE } from '../../../constants';
24
- import '../../../styles/styles.scss';
25
- var POPUP_APPEARANCE_DELAY = 1000;
26
- var PADDING_LEFT = 8;
27
- var INDENTS = 50;
28
- var POPUP_MARGIN_TOP = 3;
29
- var EMPTY_SPACE = 8;
30
- var POPUP_HIDDEN_CLASSNAME = 'contact-info-hidden';
31
- var POPUP_VERTICAL_POSITION;
32
- (function (POPUP_VERTICAL_POSITION) {
33
- POPUP_VERTICAL_POSITION["bottom"] = "bottom";
34
- POPUP_VERTICAL_POSITION["top"] = "top";
35
- })(POPUP_VERTICAL_POSITION || (POPUP_VERTICAL_POSITION = {}));
36
- var Option = function (props) {
37
- var _a;
38
- var _b = props.data, label = _b.label, avatar = _b.avatar, email = _b.email, serverName = _b.serverName, company = _b.company, department = _b.department, companyPosition = _b.companyPosition, isMyContacts = _b.isMyContacts, platform = _b.platform, language = _b.language, setIsSearchable = _b.setIsSearchable, setModalData = _b.setModalData;
39
- var ref = useRef(null);
40
- var contactInfoRef = useRef(null);
41
- var popupRef = useRef(null);
42
- var _c = useState(0), left = _c[0], setLeft = _c[1];
43
- var _d = useState(0), maxWidth = _d[0], setMaxWidth = _d[1];
44
- var _e = useState(POPUP_VERTICAL_POSITION.bottom), popupVerticalPosition = _e[0], setPopupVerticalPosition = _e[1];
45
- var _f = useState(POPUP_HIDDEN_CLASSNAME), hiddenClassName = _f[0], setHiddenClassName = _f[1];
46
- var _g = useState(POPUP_MARGIN_TOP), popupMarginTop = _g[0], setPopupMarginTop = _g[1];
47
- var _h = useState(null), timeoutId = _h[0], setTimeoutId = _h[1];
48
- var clientRect = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
49
- var clientRectLeft = ((clientRect === null || clientRect === void 0 ? void 0 : clientRect.left) || 0) + PADDING_LEFT;
50
- var clientRectWidth = ((clientRect === null || clientRect === void 0 ? void 0 : clientRect.width) || INDENTS) - INDENTS;
51
- var handleContactInfoIconClick = function (event) {
52
- event.stopPropagation();
53
- setIsSearchable(false);
54
- setModalData({ avatar: avatar, name: label, email: email, serverName: serverName, company: company, department: department, companyPosition: companyPosition });
55
- };
56
- var renderUserIcon = function () { return (isMyContacts ? _jsx(MyContactUserIcon, { color: "var(--color-icon-secondary)" }) : _jsx(CorporateUserIcon, {})); };
57
- var renderContactInfoIcon = function () {
58
- var isIconVisible = !isMyContacts && isMobilePlatform(platform);
59
- return isIconVisible && _jsx(ContactInfoIcon, { className: "smartapp-option__container--icon", onClick: handleContactInfoIconClick });
60
- };
61
- var calculatePopupVerticalPosition = function () {
62
- var popupRefCurrent = popupRef.current;
63
- var contactInfoRefCurrent = contactInfoRef.current;
64
- if (popupRefCurrent && contactInfoRefCurrent) {
65
- var _a = contactInfoRefCurrent.getBoundingClientRect(), height = _a.height, y = _a.y;
66
- if (window.innerHeight - y <= height + EMPTY_SPACE) {
67
- popupRefCurrent.close();
68
- setPopupVerticalPosition(POPUP_VERTICAL_POSITION.top);
69
- setPopupMarginTop(-POPUP_MARGIN_TOP);
70
- var nextTimeoutId = setTimeout(function () { var _a; return (_a = popupRef.current) === null || _a === void 0 ? void 0 : _a.open(); }, 0);
71
- setTimeoutId(nextTimeoutId);
72
- }
73
- setHiddenClassName('');
74
- }
75
- };
76
- var handleClosePopup = function () { return timeoutId && clearTimeout(timeoutId); };
77
- useEffect(function () {
78
- setLeft(clientRectLeft);
79
- setMaxWidth(clientRectWidth);
80
- }, [clientRectLeft, clientRectWidth]);
81
- var renderContactInfoPopup = function () { return (_jsx(Popup, __assign({ ref: popupRef, onOpen: calculatePopupVerticalPosition, onClose: handleClosePopup, className: classNames('contact-info', hiddenClassName), position: "".concat(popupVerticalPosition, " center"), contentStyle: {
82
- '--contact-info-content-margin-top': "".concat(popupMarginTop, "px"),
83
- '--contact-info-content-left': "".concat(left, "px"),
84
- '--contact-info-content-max-width': "".concat(maxWidth, "px"),
85
- }, on: [POPUP_ON_EVENT_TYPE.hover], mouseEnterDelay: POPUP_APPEARANCE_DELAY, trigger: function () { return (_jsx("div", { children: _jsx(Avatar, { username: label, avatar: avatar, size: 32 }) })); } }, { children: _jsx(ContactInfo, { elementRef: contactInfoRef, language: language, serverName: serverName, company: company, department: department, companyPosition: companyPosition }) }))); };
86
- return (_jsx(components.Option, __assign({}, props, { innerRef: function (el) {
87
- ref.current = el;
88
- } }, { children: _jsxs("div", __assign({ className: "smartapp-option" }, { children: [!isMyContacts && isWebPlatform(platform) ? renderContactInfoPopup() : _jsx(Avatar, { username: label, avatar: avatar, size: 32 }), _jsxs("div", __assign({ className: "smartapp-option__container" }, { children: [_jsxs("div", __assign({ className: "smartapp-option__container--info" }, { children: [_jsxs("div", __assign({ className: "smartapp-option__container--info__name" }, { children: [renderUserIcon(), _jsx("div", { children: label })] })), _jsx("div", __assign({ className: "smartapp-option__container--info__email" }, { children: email }))] })), renderContactInfoIcon()] }))] })) })));
89
- };
90
- export default Option;
91
- //# sourceMappingURL=Option.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/Option/Option.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,eAAe,CAAA;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,MAAM,MAAM,cAAc,CAAA;AACjC,OAAO,WAAW,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AAC9F,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAC/F,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,OAAO,6BAA6B,CAAA;AAEpC,IAAM,sBAAsB,GAAG,IAAI,CAAA;AACnC,IAAM,YAAY,GAAG,CAAC,CAAA;AACtB,IAAM,OAAO,GAAG,EAAE,CAAA;AAClB,IAAM,gBAAgB,GAAG,CAAC,CAAA;AAC1B,IAAM,WAAW,GAAG,CAAC,CAAA;AACrB,IAAM,sBAAsB,GAAG,qBAAqB,CAAA;AAEpD,IAAK,uBAGJ;AAHD,WAAK,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,gBAED,KAAC,WAAW,IACV,UAAU,EAAE,cAAc,EAC1B,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,GAChC,IACI,CACT,EA/BoC,CA+BpC,CAAA;IAED,OAAO,CACL,KAAC,UAAU,CAAC,MAAM,eACZ,KAAK,IACT,QAAQ,EAAE,UAAC,EAAE;YACX,GAAG,CAAC,OAAO,GAAG,EAAE,CAAA;QAClB,CAAC,gBAED,wBAAK,SAAS,EAAC,iBAAiB,iBAC7B,CAAC,YAAY,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,GAAI,EAC5H,wBAAK,SAAS,EAAC,4BAA4B,iBACzC,wBAAK,SAAS,EAAC,kCAAkC,iBAC/C,wBAAK,SAAS,EAAC,wCAAwC,iBACpD,cAAc,EAAE,EACjB,wBAAM,KAAK,GAAO,KACd,EACN,uBAAK,SAAS,EAAC,yCAAyC,gBAAE,KAAK,IAAO,KAClE,EACL,qBAAqB,EAAE,KACpB,KACF,IACY,CACrB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1,5 +0,0 @@
1
- import { IUserDropdownProps } from './types';
2
- import '../../styles/styles.scss';
3
- export declare const EMAIL_FIELD = "email";
4
- declare const UserDropdown: ({ platform, isDisabled, isLoading, isChipsVisible, isChipsCollapsable, isSelectedChipHasTooltip, isMenuCloseOnSelect, isFilteringDisabled, hasNextPage, isNextPageLoading, language, layoutType, title, mask, placeholder, hint, noOptionsMessage, maxMembersCount, fillType, menuPosition, autoFocus, containerClassName, containerStyles, selectedEntries, corporateEntries, myContactsEntries, onInputChange, onChange, onMenuOpen, onMenuClose, onLoadNextPage, }: IUserDropdownProps) => import("react/jsx-runtime").JSX.Element;
5
- export default UserDropdown;