@expressms/smartapp-ui 2.9.1 → 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 +0,0 @@
1
- {"version":3,"file":"ChartPie.js","sourceRoot":"","sources":["../../../../../src/сomponents/Charts/ChartPie/ChartPie.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,YAA+B,MAAM,mBAAmB,CAAA;AAC/D,OAAO,WAAW,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AACpH,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,OAAO,EACP,cAAc,EACd,sBAAsB,EACtB,UAAU,GACX,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,OAAO,6BAA6B,CAAA;AAE5B,IAAA,MAAM,GAAU,OAAO,OAAjB,EAAE,GAAG,GAAK,OAAO,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@@ -1,3 +0,0 @@
1
- export declare const TEXT_COLOR = "#11111180";
2
- export declare const LINE_COLOR = "#D3D3D3";
3
- export declare const BORDER_COLOR = "#E5E5E5";
@@ -1,4 +0,0 @@
1
- export var TEXT_COLOR = '#11111180';
2
- export var LINE_COLOR = '#D3D3D3';
3
- export var BORDER_COLOR = '#E5E5E5';
4
- //# sourceMappingURL=colors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/colors.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,UAAU,GAAG,WAAW,CAAA;AACrC,MAAM,CAAC,IAAM,UAAU,GAAG,SAAS,CAAA;AACnC,MAAM,CAAC,IAAM,YAAY,GAAG,SAAS,CAAA"}
@@ -1,46 +0,0 @@
1
- import { TooltipComponentOption } from 'echarts';
2
- import { YAXisOption } from 'echarts/types/dist/shared';
3
- import { FONT_FAMILY } from '../../constants';
4
- export declare enum OPTIONS {
5
- center = "center",
6
- axis = "axis",
7
- shadow = "shadow",
8
- category = "category",
9
- transparent = "transparent",
10
- value = "value",
11
- series = "series",
12
- pie = "pie",
13
- bar = "bar",
14
- line = "line"
15
- }
16
- export declare const INSIDE_RADIUS = "60%";
17
- export declare const OUTSIDE_RADIUS = "100%";
18
- export declare const CENTER_HORIZONTAL_POSITION = "50%";
19
- export declare const CENTER_VERTICAL_POSITION = "53%";
20
- export declare const NUMBER_FORMATTER: Intl.NumberFormat;
21
- export declare const LEGEND: {
22
- show: boolean;
23
- };
24
- export declare const TEXT_STYLE: {
25
- fontFamily: FONT_FAMILY;
26
- };
27
- export declare const TOOLTIP_CLASS_NAME = "smartapp-chart-tooltip";
28
- export declare const PIE_TOOLTIP_CLASS_NAME = "smartapp-pie-chart-tooltip";
29
- export declare const OPTION_TOOLTIP: TooltipComponentOption;
30
- export declare const OPTION_GRID: {
31
- left: number;
32
- bottom: number;
33
- top: string;
34
- containLabel: boolean;
35
- };
36
- export declare const OPTION_Y_AXIS: YAXisOption;
37
- export declare const DISPATCH_ACTION_TYPES: {
38
- highlight: string;
39
- downplay: string;
40
- legendToggleSelect: string;
41
- };
42
- export declare const DEFAULT_CHART_HEIGHT: {
43
- bar: number;
44
- line: number;
45
- pie: number;
46
- };
@@ -1,43 +0,0 @@
1
- import { COLORS, FONT_FAMILY } from '../../constants';
2
- import { BORDER_COLOR } from './colors';
3
- export var OPTIONS;
4
- (function (OPTIONS) {
5
- OPTIONS["center"] = "center";
6
- OPTIONS["axis"] = "axis";
7
- OPTIONS["shadow"] = "shadow";
8
- OPTIONS["category"] = "category";
9
- OPTIONS["transparent"] = "transparent";
10
- OPTIONS["value"] = "value";
11
- OPTIONS["series"] = "series";
12
- OPTIONS["pie"] = "pie";
13
- OPTIONS["bar"] = "bar";
14
- OPTIONS["line"] = "line";
15
- })(OPTIONS || (OPTIONS = {}));
16
- var axis = OPTIONS.axis, value = OPTIONS.value;
17
- var DE_NUMBER_FORMAT = 'de-DE';
18
- export var INSIDE_RADIUS = '60%';
19
- export var OUTSIDE_RADIUS = '100%';
20
- export var CENTER_HORIZONTAL_POSITION = '50%';
21
- export var CENTER_VERTICAL_POSITION = '53%';
22
- export var NUMBER_FORMATTER = new Intl.NumberFormat(DE_NUMBER_FORMAT);
23
- export var LEGEND = { show: false };
24
- export var TEXT_STYLE = { fontFamily: FONT_FAMILY.openSans };
25
- export var TOOLTIP_CLASS_NAME = 'smartapp-chart-tooltip';
26
- export var PIE_TOOLTIP_CLASS_NAME = 'smartapp-pie-chart-tooltip';
27
- export var OPTION_TOOLTIP = { trigger: axis, className: TOOLTIP_CLASS_NAME, borderColor: BORDER_COLOR };
28
- export var OPTION_GRID = { left: 0, bottom: 0, top: '5px', containLabel: true };
29
- export var OPTION_Y_AXIS = {
30
- type: value,
31
- axisLabel: { fontSize: '9px', fontWeight: 600, color: COLORS.darkerGray },
32
- };
33
- export var DISPATCH_ACTION_TYPES = {
34
- highlight: 'highlight',
35
- downplay: 'downplay',
36
- legendToggleSelect: 'legendToggleSelect',
37
- };
38
- export var DEFAULT_CHART_HEIGHT = {
39
- bar: 186,
40
- line: 186,
41
- pie: 340,
42
- };
43
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,CAAN,IAAY,OAWX;AAXD,WAAY,OAAO;IACjB,4BAAiB,CAAA;IACjB,wBAAa,CAAA;IACb,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IACrB,sCAA2B,CAAA;IAC3B,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,sBAAW,CAAA;IACX,sBAAW,CAAA;IACX,wBAAa,CAAA;AACf,CAAC,EAXW,OAAO,KAAP,OAAO,QAWlB;AAEO,IAAA,IAAI,GAAY,OAAO,KAAnB,EAAE,KAAK,GAAK,OAAO,MAAZ,CAAY;AAC/B,IAAM,gBAAgB,GAAG,OAAO,CAAA;AAEhC,MAAM,CAAC,IAAM,aAAa,GAAG,KAAK,CAAA;AAClC,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAA;AACpC,MAAM,CAAC,IAAM,0BAA0B,GAAG,KAAK,CAAA;AAC/C,MAAM,CAAC,IAAM,wBAAwB,GAAG,KAAK,CAAA;AAC7C,MAAM,CAAC,IAAM,gBAAgB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAA;AACvE,MAAM,CAAC,IAAM,MAAM,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;AACrC,MAAM,CAAC,IAAM,UAAU,GAAG,EAAE,UAAU,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAA;AAC9D,MAAM,CAAC,IAAM,kBAAkB,GAAG,wBAAwB,CAAA;AAC1D,MAAM,CAAC,IAAM,sBAAsB,GAAG,4BAA4B,CAAA;AAClE,MAAM,CAAC,IAAM,cAAc,GAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA;AACjI,MAAM,CAAC,IAAM,WAAW,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,CAAA;AAEjF,MAAM,CAAC,IAAM,aAAa,GAAgB;IACxC,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE;CAC1E,CAAA;AAED,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,oBAAoB;CACzC,CAAA;AAED,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAClC,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,GAAG;IACT,GAAG,EAAE,GAAG;CACT,CAAA"}
@@ -1,17 +0,0 @@
1
- import { RefObject } from 'react';
2
- import ReactEcharts from 'echarts-for-react';
3
- import { SeriesOption } from 'echarts';
4
- import { XAXisOption } from 'echarts/types/dist/shared';
5
- import { TChartData, TChartPieData, TRenderChartTooltip, TTooltipFormatterParam } from './types';
6
- export declare const isBarChart: (chartType: string) => boolean;
7
- export declare const isLineChart: (chartType: string) => boolean;
8
- export declare const isPieChart: (chartType: string) => boolean;
9
- export declare const calculatePieChartPadding: (chartSize: number) => number;
10
- export declare const calculateValue: (data: number[]) => number;
11
- export declare const calculatePieValue: (data: TChartPieData[]) => string;
12
- export declare const generateLineItem: (data: TChartData[]) => SeriesOption[];
13
- export declare const generateBarItem: (data: TChartData[]) => SeriesOption[];
14
- export declare const generateXAxis: (data: string[]) => XAXisOption;
15
- export declare const renderChartTooltip: ({ chartType, params, tooltipXAxis }: TRenderChartTooltip) => string;
16
- export declare const renderPieChartTooltip: ({ name, value }: TTooltipFormatterParam) => string;
17
- export declare const generateLegendItems: (chartType: string, chartRef: RefObject<ReactEcharts | null>) => any;
@@ -1,73 +0,0 @@
1
- import { isArray, isEmpty } from 'lodash';
2
- import { COLORS } from '../../constants';
3
- import { NUMBER_FORMATTER, OPTIONS } from './constants';
4
- import { LINE_COLOR } from './colors';
5
- var darkerGray = COLORS.darkerGray, black = COLORS.black, transparent = COLORS.transparent;
6
- var series = OPTIONS.series, line = OPTIONS.line, bar = OPTIONS.bar, category = OPTIONS.category, pie = OPTIONS.pie;
7
- export var isBarChart = function (chartType) { return chartType === bar; };
8
- export var isLineChart = function (chartType) { return chartType === line; };
9
- export var isPieChart = function (chartType) { return chartType === pie; };
10
- export var calculatePieChartPadding = function (chartSize) { return ((chartSize * 3) / 100) * 2; };
11
- export var calculateValue = function (data) { return data.reduce(function (acc, val) { return acc + val; }, 0); };
12
- export var calculatePieValue = function (data) { return data.reduce(function (acc, _a) {
13
- var value = _a.value;
14
- return acc + value;
15
- }, 0).toString(); };
16
- export var generateLineItem = function (data) {
17
- return data.map(function (_a) {
18
- var name = _a.name, color = _a.color, data = _a.data;
19
- return ({
20
- name: name,
21
- data: data,
22
- type: line,
23
- itemStyle: { color: color },
24
- lineStyle: { width: 1 },
25
- smooth: true,
26
- showSymbol: false,
27
- emphasis: { focus: series },
28
- });
29
- });
30
- };
31
- export var generateBarItem = function (data) {
32
- return data.map(function (_a) {
33
- var name = _a.name, color = _a.color, data = _a.data;
34
- return ({ name: name, data: data, type: bar, itemStyle: { color: color } });
35
- });
36
- };
37
- export var generateXAxis = function (data) { return ({
38
- data: data,
39
- type: category,
40
- axisLine: {
41
- lineStyle: { color: LINE_COLOR },
42
- },
43
- axisLabel: { fontSize: '9px', fontWeight: 600, color: darkerGray },
44
- axisPointer: {
45
- label: { show: false, backgroundColor: transparent, color: black },
46
- },
47
- }); };
48
- export var renderChartTooltip = function (_a) {
49
- var chartType = _a.chartType, params = _a.params, tooltipXAxis = _a.tooltipXAxis;
50
- var _b = params[0], dataIndex = _b.dataIndex, name = _b.name;
51
- var axisName = (tooltipXAxis === null || tooltipXAxis === void 0 ? void 0 : tooltipXAxis[dataIndex]) || name;
52
- var tooltipContent = '';
53
- params.forEach(function (_a) {
54
- var color = _a.color, value = _a.value;
55
- var formattedValue = isLineChart(chartType) ? NUMBER_FORMATTER.format(value) : value;
56
- tooltipContent += "\n <div class='smartapp-chart-tooltip-content__data--item'>\n <div class='smartapp-chart-tooltip-content__data--item__indicator' style='background: ".concat(color, "'></div>\n <div class='smartapp-chart-tooltip-content__data--item__value'>").concat(formattedValue, "</div>\n </div>\n ");
57
- });
58
- return "\n <div class='smartapp-chart-tooltip-content'>\n <div class='smartapp-chart-tooltip-content__axis-name'>".concat(axisName, "</div>\n <div class='smartapp-chart-tooltip-content__data'>").concat(tooltipContent, "</div>\n </div>\n ");
59
- };
60
- export var renderPieChartTooltip = function (_a) {
61
- var name = _a.name, value = _a.value;
62
- return "\n <div class='smartapp-pie-chart-tooltip-content'>\n <div class='smartapp-pie-chart-tooltip-content__axis-name'>".concat(name, "</div>\n <div class='smartapp-pie-chart-tooltip-content__value'>").concat(value, "</div>\n </div>\n");
63
- };
64
- export var generateLegendItems = function (chartType, chartRef) {
65
- var _a;
66
- var chartInstance = (_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();
67
- var chartOption = chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.getOption();
68
- var series = chartOption === null || chartOption === void 0 ? void 0 : chartOption.series;
69
- if (isArray(series) && !isEmpty(series))
70
- return isPieChart(chartType) ? series[0].data : series;
71
- return [];
72
- };
73
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/helpers.ts"],"names":[],"mappings":"A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AAM,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,CAAA;IAElC,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QAAE,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAA;IAC/F,OAAO,EAAE,CAAA;AACX,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- export { default as ChartBar } from './ChartBar/ChartBar';
2
- export { default as ChartLine } from './ChartLine/ChartLine';
3
- export { default as ChartPie } from './ChartPie/ChartPie';
@@ -1,4 +0,0 @@
1
- export { default as ChartBar } from './ChartBar/ChartBar';
2
- export { default as ChartLine } from './ChartLine/ChartLine';
3
- export { default as ChartPie } from './ChartPie/ChartPie';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1,88 +0,0 @@
1
- import { RefObject } from 'react';
2
- import ReactEcharts from 'echarts-for-react';
3
- type TLegendVisibility = {
4
- [name: string]: boolean;
5
- };
6
- type TBatchItem = {
7
- dataIndex: number;
8
- };
9
- type TItemStyle = {
10
- color: string;
11
- };
12
- type TLegendItems = {
13
- name: string;
14
- value?: number;
15
- data?: number[];
16
- itemStyle: TItemStyle;
17
- };
18
- export type TMouseover = {
19
- name: string;
20
- };
21
- export type TDataItem = {
22
- name: string;
23
- color: string;
24
- };
25
- export type TChartData = {
26
- name: string;
27
- color: string;
28
- data: number[];
29
- };
30
- export type TChartPieData = {
31
- name: string;
32
- color: string;
33
- value: number;
34
- };
35
- export type TTooltipFormatterParam = {
36
- name: string;
37
- value: number;
38
- color: string;
39
- dataIndex: number;
40
- };
41
- export type TAxisLabel = {
42
- value: string;
43
- textStyle: {
44
- color: string;
45
- };
46
- };
47
- export type THighlightChart = {
48
- batch?: TBatchItem[];
49
- };
50
- export type TRenderChartTooltip = {
51
- chartType: string;
52
- params: TTooltipFormatterParam[];
53
- tooltipXAxis?: string[];
54
- };
55
- export interface IChartProps {
56
- chartHeight?: number;
57
- title?: string;
58
- xAxis: string[];
59
- tooltipXAxis?: string[];
60
- data: TChartData[];
61
- legendUnits?: string;
62
- }
63
- export interface IChartPieProps {
64
- chartSize?: number;
65
- title?: string;
66
- subtitle: string;
67
- data: TChartPieData[];
68
- legendUnits?: string;
69
- }
70
- export type TLegendsChanged = {
71
- name: string;
72
- selected: TLegendVisibility;
73
- };
74
- export interface IChartLegendProps {
75
- chartRef: RefObject<ReactEcharts | null>;
76
- chartType: string;
77
- legendItems: TLegendItems[];
78
- legendUnits?: string;
79
- }
80
- export type TUseEvents = {
81
- chartRef: RefObject<ReactEcharts | null>;
82
- chartType: string;
83
- };
84
- export type TUsePieEvents = {
85
- chartRef: RefObject<ReactEcharts | null>;
86
- data: TChartPieData[];
87
- };
88
- export {};
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/types.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { THighlightChart, TUseEvents } from './types';
2
- export declare const useEvents: ({ chartRef, chartType }: TUseEvents) => {
3
- highlight: ({ batch }: THighlightChart) => void;
4
- downplay: () => void;
5
- };
@@ -1,45 +0,0 @@
1
- import { isArray, isEmpty } from 'lodash';
2
- import { isLineChart } from './helpers';
3
- import { COLORS } from '../../constants';
4
- import { DISPATCH_ACTION_TYPES } from './constants';
5
- var black = COLORS.black;
6
- export var useEvents = function (_a) {
7
- var chartRef = _a.chartRef, chartType = _a.chartType;
8
- var getChartInstance = function () { var _a; return (_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance(); };
9
- var getChartOption = function () { var _a; return (_a = getChartInstance()) === null || _a === void 0 ? void 0 : _a.getOption(); };
10
- var generateAxisLabel = function (label) { return (typeof label === 'object' ? label.value : label); };
11
- var generateXAxisData = function () {
12
- var _a;
13
- var xAxis = (_a = getChartOption()) === null || _a === void 0 ? void 0 : _a.xAxis;
14
- return isArray(xAxis) && !isEmpty(xAxis) ? xAxis[0].data : [];
15
- };
16
- var highlight = function (_a) {
17
- var batch = _a.batch;
18
- var chartInstance = getChartInstance();
19
- var initialXAxisData = generateXAxisData();
20
- if (batch === null || batch === void 0 ? void 0 : batch.length) {
21
- var dataIndex_1 = batch[0].dataIndex;
22
- var xAxisData = initialXAxisData.map(function (label, index) {
23
- var value = generateAxisLabel(label);
24
- return index === dataIndex_1 ? { value: value, textStyle: { color: black } } : value;
25
- });
26
- chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.setOption({
27
- xAxis: [
28
- {
29
- data: xAxisData,
30
- formatter: function (label) { return generateAxisLabel(label); },
31
- },
32
- ],
33
- });
34
- isLineChart(chartType) && (chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.dispatchAction({ type: DISPATCH_ACTION_TYPES.highlight, dataIndex: dataIndex_1 }));
35
- }
36
- };
37
- var downplay = function () {
38
- var chartInstance = getChartInstance();
39
- var initialXAxisData = generateXAxisData();
40
- var xAxisData = initialXAxisData.map(function (label) { return generateAxisLabel(label); });
41
- chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.setOption({ xAxis: [{ data: xAxisData }] });
42
- };
43
- return { highlight: highlight, downplay: downplay };
44
- };
45
- //# sourceMappingURL=useEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEvents.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/useEvents.ts"],"names":[],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,0 @@
1
- import { TLegendsChanged, TMouseover, TUsePieEvents } from './types';
2
- export declare const usePieEvents: ({ chartRef, data }: TUsePieEvents) => {
3
- legendselectchanged: ({ selected }: TLegendsChanged) => void;
4
- mouseover: ({ name }: TMouseover) => void;
5
- mouseout: () => void;
6
- };
@@ -1,57 +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 { isArray, isEmpty } from 'lodash';
13
- import Color from 'color';
14
- import { calculatePieValue } from './helpers';
15
- export var usePieEvents = function (_a) {
16
- var chartRef = _a.chartRef, data = _a.data;
17
- var getChartInstance = function () { var _a; return (_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance(); };
18
- var getChartOption = function () { var _a; return (_a = getChartInstance()) === null || _a === void 0 ? void 0 : _a.getOption(); };
19
- var getSeriesData = function () {
20
- var chartOption = getChartOption();
21
- var series = chartOption === null || chartOption === void 0 ? void 0 : chartOption.series;
22
- return isArray(series) && !isEmpty(series) ? series[0].data : [];
23
- };
24
- var legendselectchanged = function (_a) {
25
- var selected = _a.selected;
26
- var chartInstance = getChartInstance();
27
- var filteredData = data.filter(function (_a) {
28
- var name = _a.name;
29
- return selected[name];
30
- });
31
- var subtext = calculatePieValue(filteredData);
32
- chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.setOption({ title: { subtext: subtext } });
33
- };
34
- var mouseover = function (_a) {
35
- var name = _a.name;
36
- var chartInstance = getChartInstance();
37
- var series = getSeriesData();
38
- var data = series.map(function (dataItem) {
39
- var dataItemName = dataItem.name, color = dataItem.color;
40
- var _a = Color(color).rgb().object(), r = _a.r, g = _a.g, b = _a.b;
41
- var itemStyle = dataItemName === name ? { color: color } : { color: "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(0.65, ")") };
42
- return __assign(__assign({}, dataItem), { itemStyle: itemStyle });
43
- });
44
- chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.setOption({ series: [{ data: data }] });
45
- };
46
- var mouseout = function () {
47
- var chartInstance = getChartInstance();
48
- var series = getSeriesData();
49
- var data = series.map(function (dataItem) {
50
- var color = dataItem.color;
51
- return __assign(__assign({}, dataItem), { itemStyle: { color: color } });
52
- });
53
- chartInstance === null || chartInstance === void 0 ? void 0 : chartInstance.setOption({ series: [{ data: data }] });
54
- };
55
- return { legendselectchanged: legendselectchanged, mouseover: mouseover, mouseout: mouseout };
56
- };
57
- //# sourceMappingURL=usePieEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePieEvents.js","sourceRoot":"","sources":["../../../../src/сomponents/Charts/usePieEvents.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAG7C,MAAM,CAAC,IAAM,YAAY,GAAG,UAAC,EAAiC;QAA/B,QAAQ,cAAA,EAAE,IAAI,UAAA;IAC3C,IAAM,gBAAgB,GAAG,sBAAM,OAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,kBAAkB,EAAE,CAAA,EAAA,CAAA;IACrE,IAAM,cAAc,GAAG,sBAAM,OAAA,MAAA,gBAAgB,EAAE,0CAAE,SAAS,EAAE,CAAA,EAAA,CAAA;IAE5D,IAAM,aAAa,GAAG;QACpB,IAAM,WAAW,GAAG,cAAc,EAAE,CAAA;QACpC,IAAM,MAAM,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,CAAA;QAClC,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,M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Aa,CAAE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,MAAA,EAAE,CAAC,EAAE,CAAC,CAAA;IAClD,CAAC,CAAA;IAED,IAAM,QAAQ,GAAG;QACf,IAAM,aAAa,GAAG,gBAAgB,EAAE,CAAA;QACxC,IAAM,MAAM,GAAG,aAAa,EAAE,CAAA;QAE9B,IAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,UAAC,QAAmB;YAClC,IAAA,KAAK,GAAK,QAAQ,MAAb,CAAa;YAC1B,6BAAY,QAAQ,KAAE,SAAS,EAAE,EAAE,KAAK,OAAA,EAAE,IAAE;QAC9C,CAAC,CAAC,CAAA;QAEF,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,MAAA,EAAE,CAAC,EAAE,CAAC,CAAA;IAClD,CAAC,CAAA;IAED,OAAO,EAAE,mBAAmB,qBAAA,EAAE,SAAS,WAAA,EAAE,QAAQ,UAAA,EAAE,CAAA;AACrD,CAAC,CAAA"}
@@ -1,4 +0,0 @@
1
- import { ICheckBoxProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const CheckBox: ({ id, isDisabled, isChecked, className, styles, checkedColor, checkedHoverColor, checkedPressedColor, onChange, }: ICheckBoxProps) => import("react/jsx-runtime").JSX.Element;
4
- export default CheckBox;
@@ -1,38 +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 } from 'react';
14
- import classNames from 'classnames';
15
- import { ReactComponent as CheckIcon } from '../../assets/icons/check-mark.svg';
16
- import { generateColor } from '../../helpers';
17
- import { COLORS } from '../../constants';
18
- import '../../styles/styles.scss';
19
- var CheckBox = function (_a) {
20
- var id = _a.id, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, _c = _a.isChecked, isChecked = _c === void 0 ? false : _c, className = _a.className, styles = _a.styles, checkedColor = _a.checkedColor, checkedHoverColor = _a.checkedHoverColor, checkedPressedColor = _a.checkedPressedColor, _d = _a.onChange, onChange = _d === void 0 ? function () { return undefined; } : _d;
21
- var checkBoxRef = useRef(null);
22
- useEffect(function () {
23
- document.documentElement.style.setProperty('--checkbox-hover-color', generateColor(checkedHoverColor, COLORS.darkBlue));
24
- document.documentElement.style.setProperty('--checkbox-pressed-color', generateColor(checkedPressedColor, COLORS.darkerBlue));
25
- }, [checkedHoverColor, checkedPressedColor]);
26
- useEffect(function () {
27
- window.addEventListener('mouseup', handleMouseUp);
28
- return function () {
29
- window.removeEventListener('mouseup', handleMouseUp);
30
- };
31
- }, []);
32
- var handleMouseDown = function () { var _a; return (_a = checkBoxRef.current) === null || _a === void 0 ? void 0 : _a.classList.add('smartapp-check-box__pressed'); };
33
- var handleMouseUp = function () { var _a; return (_a = checkBoxRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove('smartapp-check-box__pressed'); };
34
- var handleClick = function (event) { return event.stopPropagation(); };
35
- return (_jsx("div", __assign({ ref: checkBoxRef, className: classNames('smartapp-check-box', className), style: styles }, { children: _jsxs("label", __assign({ htmlFor: "cb-".concat(id) }, { children: [_jsx("input", { id: "cb-".concat(id), type: "checkbox", className: "smartapp-check-box__custom-check-box", disabled: isDisabled, checked: isChecked, onChange: onChange, onClick: handleClick }), isChecked ? (_jsx(CheckIcon, { style: { color: generateColor(checkedColor, COLORS.blue) }, onMouseDown: handleMouseDown })) : (_jsx("span", { className: "checkmark", onMouseDown: handleMouseDown }))] })) })));
36
- };
37
- export default CheckBox;
38
- //# sourceMappingURL=Checkbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.js","s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,CAAA;QACtD,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,IAAM,eAAe,GAAG,sBAAM,OAAA,MAAA,WAAW,CAAC,OAAO,0CAAE,SAAS,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAA,EAAA,CAAA;IAC/F,IAAM,aAAa,GAAG,sBAAM,OAAA,MAAA,WAAW,CAAC,OAAO,0CAAE,SAAS,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAA,EAAA,CAAA;IAEhG,IAAM,WAAW,GAAG,UAAC,KAAyC,IAAK,OAAA,KAAK,CAAC,eAAe,EAAE,EAAvB,CAAuB,CAAA;IAE1F,OAAO,CACL,uBAAK,GAAG,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,MAAM,gBAC1F,0BAAO,OAAO,EAAE,aAAM,EAAE,CAAE,iBACxB,gBACE,EAAE,EAAE,aAAM,EAAE,CAAE,EACd,IAAI,EAAC,UAAU,EACf,SAAS,EAAC,sCAAsC,EAChD,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,WAAW,GACpB,EACD,SAAS,CAAC,CAAC,CAAC,CACX,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,eAAe,GAAI,CACxG,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,WAAW,EAAC,WAAW,EAAE,eAAe,GAAI,CAC7D,KACK,IACJ,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Checkbox';
@@ -1,2 +0,0 @@
1
- export { default } from './Checkbox';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,12 +0,0 @@
1
- import { TStyles } from '../../constants';
2
- export interface ICheckBoxProps {
3
- id: string;
4
- isDisabled?: boolean;
5
- isChecked?: boolean;
6
- className?: string;
7
- styles?: TStyles;
8
- checkedColor?: string;
9
- checkedHoverColor?: string;
10
- checkedPressedColor?: string;
11
- onChange?: () => void;
12
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Checkbox/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IChipProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const Chip: ({ name, avatar, isAvatarHidden, isDisabled, isError, isEye, className, styles, iconColor, onDelete, }: IChipProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Chip;
@@ -1,35 +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 } from 'react';
14
- import classNames from 'classnames';
15
- import Avatar from '../Avatar';
16
- import { generateColor } from '../../helpers';
17
- import { COLORS } from '../../constants';
18
- import { ReactComponent as DeleteIcon } from '../../assets/icons/delete-chip.svg';
19
- import '../../styles/styles.scss';
20
- var Chip = function (_a) {
21
- var name = _a.name, avatar = _a.avatar, _b = _a.isAvatarHidden, isAvatarHidden = _b === void 0 ? false : _b, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isError, isError = _d === void 0 ? false : _d, _e = _a.isEye, isEye = _e === void 0 ? false : _e, className = _a.className, styles = _a.styles, iconColor = _a.iconColor, onDelete = _a.onDelete;
22
- var isChipDisabled = isError ? false : isDisabled;
23
- var chipRef = useRef(null);
24
- useEffect(function () {
25
- window.addEventListener('mouseup', handleMouseUp);
26
- return function () {
27
- window.removeEventListener('mouseup', handleMouseUp);
28
- };
29
- }, []);
30
- var handleMouseDown = function () { var _a; return (_a = chipRef.current) === null || _a === void 0 ? void 0 : _a.classList.add('smartapp-chip__pressed'); };
31
- var handleMouseUp = function () { var _a; return (_a = chipRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove('smartapp-chip__pressed'); };
32
- return (_jsxs("div", __assign({ ref: chipRef, className: classNames('smartapp-chip', { 'smartapp-chip__error': isError, 'smartapp-chip__disabled': isChipDisabled }, className), style: styles }, { children: [_jsxs("div", __assign({ className: "smartapp-chip__info" }, { children: [!isAvatarHidden && !isError && (_jsx(Avatar, { username: name, avatar: avatar, size: 24, isEye: isEye, outlineDefaultBackground: "var(--color-chip)" })), _jsx("p", __assign({ className: "smartapp-chip__info--name" }, { children: name }))] })), !isChipDisabled && onDelete && (_jsx("div", __assign({ className: "smartapp-chip__delete-icon", onClick: function () { return onDelete(name); }, onMouseDown: handleMouseDown }, { children: _jsx(DeleteIcon, { style: { color: generateColor(iconColor, isError ? COLORS.red : COLORS.darkerGray) } }) })))] })));
33
- };
34
- export default Chip;
35
- //# sourceMappingURL=Chip.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../../../src/сomponents/Chip/Chip.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,E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AAS,EAAC,qBAAqB,iBACjC,CAAC,cAAc,IAAI,CAAC,OAAO,IAAI,CAC9B,KAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,wBAAwB,EAAC,mBAAmB,GAAG,CAChH,EACD,qBAAG,SAAS,EAAC,2BAA2B,gBAAE,IAAI,IAAK,KAC/C,EACL,CAAC,cAAc,IAAI,QAAQ,IAAI,CAC9B,uBAAK,SAAS,EAAC,4BAA4B,EAAC,OAAO,EAAE,cAAM,OAAA,QAAQ,CAAC,IAAI,CAAC,EAAd,CAAc,EAAE,WAAW,EAAE,eAAe,gBACrG,KAAC,UAAU,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,GAAI,IAChG,CACP,KACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Chip';
@@ -1,2 +0,0 @@
1
- export { default } from './Chip';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
@@ -1,13 +0,0 @@
1
- import { IThemeProps, TStyles } from '../../constants';
2
- export interface IChipProps extends IThemeProps {
3
- name: string;
4
- avatar?: string;
5
- isAvatarHidden?: boolean;
6
- isDisabled?: boolean;
7
- isError?: boolean;
8
- isEye?: boolean;
9
- className?: string;
10
- styles?: TStyles;
11
- iconColor?: string;
12
- onDelete?: (name?: string) => void;
13
- }