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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (478) hide show
  1. package/package.json +1 -1
  2. package/build/main/assets/icons/arrow-back.svg +0 -3
  3. package/build/main/assets/icons/arrow-down.svg +0 -3
  4. package/build/main/assets/icons/arrow-up.svg +0 -3
  5. package/build/main/assets/icons/attachment-loader.svg +0 -3
  6. package/build/main/assets/icons/avatar-arrow-down.svg +0 -3
  7. package/build/main/assets/icons/avatar-arrow-up.svg +0 -3
  8. package/build/main/assets/icons/avatar-loader.svg +0 -3
  9. package/build/main/assets/icons/button-loader.svg +0 -3
  10. package/build/main/assets/icons/calendar-arrow-next.svg +0 -3
  11. package/build/main/assets/icons/calendar-arrow-prev.svg +0 -3
  12. package/build/main/assets/icons/check-mark-square.svg +0 -4
  13. package/build/main/assets/icons/check-mark.svg +0 -4
  14. package/build/main/assets/icons/chip-info.svg +0 -5
  15. package/build/main/assets/icons/clear.svg +0 -3
  16. package/build/main/assets/icons/close-modal.svg +0 -3
  17. package/build/main/assets/icons/close-stories.svg +0 -4
  18. package/build/main/assets/icons/close.svg +0 -3
  19. package/build/main/assets/icons/contact-info.svg +0 -5
  20. package/build/main/assets/icons/corporate-user.svg +0 -3
  21. package/build/main/assets/icons/crown.svg +0 -5
  22. package/build/main/assets/icons/delete-chip.svg +0 -3
  23. package/build/main/assets/icons/distribution.svg +0 -12
  24. package/build/main/assets/icons/doc-small.svg +0 -11
  25. package/build/main/assets/icons/doc.svg +0 -11
  26. package/build/main/assets/icons/error.svg +0 -5
  27. package/build/main/assets/icons/external-link.svg +0 -3
  28. package/build/main/assets/icons/eye-off.svg +0 -5
  29. package/build/main/assets/icons/eye-on.svg +0 -4
  30. package/build/main/assets/icons/file-small.svg +0 -11
  31. package/build/main/assets/icons/file.svg +0 -11
  32. package/build/main/assets/icons/global-address-book-user.svg +0 -4
  33. package/build/main/assets/icons/group.svg +0 -3
  34. package/build/main/assets/icons/indeterminate-check-mark-square.svg +0 -4
  35. package/build/main/assets/icons/info.svg +0 -5
  36. package/build/main/assets/icons/input-arrow-down.svg +0 -3
  37. package/build/main/assets/icons/input-arrow-up.svg +0 -3
  38. package/build/main/assets/icons/loader.svg +0 -3
  39. package/build/main/assets/icons/logout.svg +0 -4
  40. package/build/main/assets/icons/magnifying-glass.svg +0 -3
  41. package/build/main/assets/icons/mail.svg +0 -3
  42. package/build/main/assets/icons/meeting-room.svg +0 -3
  43. package/build/main/assets/icons/more.svg +0 -3
  44. package/build/main/assets/icons/my-contacts-user.svg +0 -3
  45. package/build/main/assets/icons/notification-close.svg +0 -3
  46. package/build/main/assets/icons/notification-failure.svg +0 -3
  47. package/build/main/assets/icons/notification-info.svg +0 -5
  48. package/build/main/assets/icons/notification-success.svg +0 -4
  49. package/build/main/assets/icons/order.svg +0 -6
  50. package/build/main/assets/icons/pdf-small.svg +0 -11
  51. package/build/main/assets/icons/pdf.svg +0 -11
  52. package/build/main/assets/icons/play-small.svg +0 -3
  53. package/build/main/assets/icons/play.svg +0 -3
  54. package/build/main/assets/icons/plus.svg +0 -4
  55. package/build/main/assets/icons/ppt-small.svg +0 -11
  56. package/build/main/assets/icons/ppt.svg +0 -11
  57. package/build/main/assets/icons/private.svg +0 -12
  58. package/build/main/assets/icons/refresh.svg +0 -3
  59. package/build/main/assets/icons/search.svg +0 -3
  60. package/build/main/assets/icons/story-loader.svg +0 -3
  61. package/build/main/assets/icons/tick.svg +0 -10
  62. package/build/main/assets/icons/trash.svg +0 -3
  63. package/build/main/assets/icons/txt-small.svg +0 -11
  64. package/build/main/assets/icons/txt.svg +0 -11
  65. package/build/main/assets/icons/unread-mails.svg +0 -4
  66. package/build/main/assets/icons/warning-avatar.svg +0 -4
  67. package/build/main/assets/icons/xls-small.svg +0 -11
  68. package/build/main/assets/icons/xls.svg +0 -11
  69. package/build/main/assets/storybook/index.d.ts +0 -24
  70. package/build/main/assets/storybook/index.js +0 -25
  71. package/build/main/assets/storybook/index.js.map +0 -1
  72. package/build/main/constants/constants.d.ts +0 -197
  73. package/build/main/constants/constants.js +0 -217
  74. package/build/main/constants/constants.js.map +0 -1
  75. package/build/main/constants/index.d.ts +0 -2
  76. package/build/main/constants/index.js +0 -3
  77. package/build/main/constants/index.js.map +0 -1
  78. package/build/main/constants/types.d.ts +0 -58
  79. package/build/main/constants/types.js +0 -2
  80. package/build/main/constants/types.js.map +0 -1
  81. package/build/main/helpers/index.d.ts +0 -31
  82. package/build/main/helpers/index.js +0 -183
  83. package/build/main/helpers/index.js.map +0 -1
  84. package/build/main/hooks/useLongTap.d.ts +0 -12
  85. package/build/main/hooks/useLongTap.js +0 -29
  86. package/build/main/hooks/useLongTap.js.map +0 -1
  87. package/build/main/hooks/useModal.d.ts +0 -22
  88. package/build/main/hooks/useModal.js +0 -61
  89. package/build/main/hooks/useModal.js.map +0 -1
  90. package/build/main/index.d.ts +0 -36
  91. package/build/main/index.js +0 -37
  92. package/build/main/index.js.map +0 -1
  93. package/build/main/styles/index.d.ts +0 -1
  94. package/build/main/styles/index.js +0 -2
  95. package/build/main/styles/index.js.map +0 -1
  96. package/build/main/styles/main.js +0 -0
  97. package/build/main/styles/styles.scss +0 -14
  98. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +0 -4
  99. package/build/main//321/201omponents/ActionModal/ActionModal.js +0 -53
  100. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +0 -1
  101. package/build/main//321/201omponents/ActionModal/index.d.ts +0 -1
  102. package/build/main//321/201omponents/ActionModal/index.js +0 -2
  103. package/build/main//321/201omponents/ActionModal/index.js.map +0 -1
  104. package/build/main//321/201omponents/ActionModal/types.d.ts +0 -23
  105. package/build/main//321/201omponents/ActionModal/types.js +0 -2
  106. package/build/main//321/201omponents/ActionModal/types.js.map +0 -1
  107. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +0 -8
  108. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +0 -146
  109. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +0 -1
  110. package/build/main//321/201omponents/AttachedFile/index.d.ts +0 -1
  111. package/build/main//321/201omponents/AttachedFile/index.js +0 -2
  112. package/build/main//321/201omponents/AttachedFile/index.js.map +0 -1
  113. package/build/main//321/201omponents/AttachedFile/types.d.ts +0 -22
  114. package/build/main//321/201omponents/AttachedFile/types.js +0 -2
  115. package/build/main//321/201omponents/AttachedFile/types.js.map +0 -1
  116. package/build/main//321/201omponents/Avatar/Avatar.d.ts +0 -4
  117. package/build/main//321/201omponents/Avatar/Avatar.js +0 -226
  118. package/build/main//321/201omponents/Avatar/Avatar.js.map +0 -1
  119. package/build/main//321/201omponents/Avatar/index.d.ts +0 -1
  120. package/build/main//321/201omponents/Avatar/index.js +0 -2
  121. package/build/main//321/201omponents/Avatar/index.js.map +0 -1
  122. package/build/main//321/201omponents/Avatar/types.d.ts +0 -60
  123. package/build/main//321/201omponents/Avatar/types.js +0 -29
  124. package/build/main//321/201omponents/Avatar/types.js.map +0 -1
  125. package/build/main//321/201omponents/Button/Button.d.ts +0 -4
  126. package/build/main//321/201omponents/Button/Button.js +0 -62
  127. package/build/main//321/201omponents/Button/Button.js.map +0 -1
  128. package/build/main//321/201omponents/Button/index.d.ts +0 -1
  129. package/build/main//321/201omponents/Button/index.js +0 -2
  130. package/build/main//321/201omponents/Button/index.js.map +0 -1
  131. package/build/main//321/201omponents/Button/types.d.ts +0 -24
  132. package/build/main//321/201omponents/Button/types.js +0 -12
  133. package/build/main//321/201omponents/Button/types.js.map +0 -1
  134. package/build/main//321/201omponents/CachedImage/CachedImage.d.ts +0 -4
  135. package/build/main//321/201omponents/CachedImage/CachedImage.js +0 -59
  136. package/build/main//321/201omponents/CachedImage/CachedImage.js.map +0 -1
  137. package/build/main//321/201omponents/CachedImage/helpers.d.ts +0 -3
  138. package/build/main//321/201omponents/CachedImage/helpers.js +0 -40
  139. package/build/main//321/201omponents/CachedImage/helpers.js.map +0 -1
  140. package/build/main//321/201omponents/CachedImage/index.d.ts +0 -1
  141. package/build/main//321/201omponents/CachedImage/index.js +0 -2
  142. package/build/main//321/201omponents/CachedImage/index.js.map +0 -1
  143. package/build/main//321/201omponents/CachedImage/types.d.ts +0 -10
  144. package/build/main//321/201omponents/CachedImage/types.js +0 -2
  145. package/build/main//321/201omponents/CachedImage/types.js.map +0 -1
  146. package/build/main//321/201omponents/Calendar/Calendar.d.ts +0 -4
  147. package/build/main//321/201omponents/Calendar/Calendar.js +0 -154
  148. package/build/main//321/201omponents/Calendar/Calendar.js.map +0 -1
  149. package/build/main//321/201omponents/Calendar/index.d.ts +0 -1
  150. package/build/main//321/201omponents/Calendar/index.js +0 -2
  151. package/build/main//321/201omponents/Calendar/index.js.map +0 -1
  152. package/build/main//321/201omponents/Calendar/types.d.ts +0 -15
  153. package/build/main//321/201omponents/Calendar/types.js +0 -2
  154. package/build/main//321/201omponents/Calendar/types.js.map +0 -1
  155. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.d.ts +0 -4
  156. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js +0 -47
  157. package/build/main//321/201omponents/Charts/ChartBar/ChartBar.js.map +0 -1
  158. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.d.ts +0 -4
  159. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js +0 -71
  160. package/build/main//321/201omponents/Charts/ChartLegend/ChartLegend.js.map +0 -1
  161. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.d.ts +0 -4
  162. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js +0 -42
  163. package/build/main//321/201omponents/Charts/ChartLine/ChartLine.js.map +0 -1
  164. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.d.ts +0 -4
  165. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js +0 -64
  166. package/build/main//321/201omponents/Charts/ChartPie/ChartPie.js.map +0 -1
  167. package/build/main//321/201omponents/Charts/colors.d.ts +0 -3
  168. package/build/main//321/201omponents/Charts/colors.js +0 -4
  169. package/build/main//321/201omponents/Charts/colors.js.map +0 -1
  170. package/build/main//321/201omponents/Charts/constants.d.ts +0 -42
  171. package/build/main//321/201omponents/Charts/constants.js +0 -42
  172. package/build/main//321/201omponents/Charts/constants.js.map +0 -1
  173. package/build/main//321/201omponents/Charts/helpers.d.ts +0 -17
  174. package/build/main//321/201omponents/Charts/helpers.js +0 -73
  175. package/build/main//321/201omponents/Charts/helpers.js.map +0 -1
  176. package/build/main//321/201omponents/Charts/index.d.ts +0 -3
  177. package/build/main//321/201omponents/Charts/index.js +0 -4
  178. package/build/main//321/201omponents/Charts/index.js.map +0 -1
  179. package/build/main//321/201omponents/Charts/types.d.ts +0 -89
  180. package/build/main//321/201omponents/Charts/types.js +0 -2
  181. package/build/main//321/201omponents/Charts/types.js.map +0 -1
  182. package/build/main//321/201omponents/Charts/useEvents.d.ts +0 -5
  183. package/build/main//321/201omponents/Charts/useEvents.js +0 -45
  184. package/build/main//321/201omponents/Charts/useEvents.js.map +0 -1
  185. package/build/main//321/201omponents/Charts/usePieEvents.d.ts +0 -6
  186. package/build/main//321/201omponents/Charts/usePieEvents.js +0 -57
  187. package/build/main//321/201omponents/Charts/usePieEvents.js.map +0 -1
  188. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +0 -8
  189. package/build/main//321/201omponents/Checkbox/Checkbox.js +0 -48
  190. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +0 -1
  191. package/build/main//321/201omponents/Checkbox/index.d.ts +0 -1
  192. package/build/main//321/201omponents/Checkbox/index.js +0 -2
  193. package/build/main//321/201omponents/Checkbox/index.js.map +0 -1
  194. package/build/main//321/201omponents/Checkbox/types.d.ts +0 -14
  195. package/build/main//321/201omponents/Checkbox/types.js +0 -2
  196. package/build/main//321/201omponents/Checkbox/types.js.map +0 -1
  197. package/build/main//321/201omponents/Chip/Chip.d.ts +0 -4
  198. package/build/main//321/201omponents/Chip/Chip.js +0 -118
  199. package/build/main//321/201omponents/Chip/Chip.js.map +0 -1
  200. package/build/main//321/201omponents/Chip/index.d.ts +0 -1
  201. package/build/main//321/201omponents/Chip/index.js +0 -2
  202. package/build/main//321/201omponents/Chip/index.js.map +0 -1
  203. package/build/main//321/201omponents/Chip/types.d.ts +0 -27
  204. package/build/main//321/201omponents/Chip/types.js +0 -2
  205. package/build/main//321/201omponents/Chip/types.js.map +0 -1
  206. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +0 -4
  207. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +0 -63
  208. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +0 -1
  209. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +0 -1
  210. package/build/main//321/201omponents/ConfirmationModal/index.js +0 -2
  211. package/build/main//321/201omponents/ConfirmationModal/index.js.map +0 -1
  212. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +0 -28
  213. package/build/main//321/201omponents/ConfirmationModal/types.js +0 -2
  214. package/build/main//321/201omponents/ConfirmationModal/types.js.map +0 -1
  215. package/build/main//321/201omponents/ContextMenu/ContextMenu.d.ts +0 -4
  216. package/build/main//321/201omponents/ContextMenu/ContextMenu.js +0 -81
  217. package/build/main//321/201omponents/ContextMenu/ContextMenu.js.map +0 -1
  218. package/build/main//321/201omponents/ContextMenu/index.d.ts +0 -1
  219. package/build/main//321/201omponents/ContextMenu/index.js +0 -2
  220. package/build/main//321/201omponents/ContextMenu/index.js.map +0 -1
  221. package/build/main//321/201omponents/ContextMenu/types.d.ts +0 -34
  222. package/build/main//321/201omponents/ContextMenu/types.js +0 -2
  223. package/build/main//321/201omponents/ContextMenu/types.js.map +0 -1
  224. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +0 -12
  225. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +0 -248
  226. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +0 -1
  227. package/build/main//321/201omponents/CustomSelect/index.d.ts +0 -1
  228. package/build/main//321/201omponents/CustomSelect/index.js +0 -2
  229. package/build/main//321/201omponents/CustomSelect/index.js.map +0 -1
  230. package/build/main//321/201omponents/CustomSelect/selectStyles.d.ts +0 -16
  231. package/build/main//321/201omponents/CustomSelect/selectStyles.js +0 -70
  232. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +0 -1
  233. package/build/main//321/201omponents/CustomSelect/types.d.ts +0 -69
  234. package/build/main//321/201omponents/CustomSelect/types.js +0 -2
  235. package/build/main//321/201omponents/CustomSelect/types.js.map +0 -1
  236. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +0 -4
  237. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +0 -58
  238. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +0 -1
  239. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +0 -1
  240. package/build/main//321/201omponents/CustomSelectProfiles/index.js +0 -2
  241. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +0 -1
  242. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +0 -12
  243. package/build/main//321/201omponents/CustomSelectProfiles/types.js +0 -2
  244. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +0 -1
  245. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +0 -4
  246. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +0 -57
  247. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +0 -1
  248. package/build/main//321/201omponents/DragAndDrop/index.d.ts +0 -1
  249. package/build/main//321/201omponents/DragAndDrop/index.js +0 -2
  250. package/build/main//321/201omponents/DragAndDrop/index.js.map +0 -1
  251. package/build/main//321/201omponents/DragAndDrop/types.d.ts +0 -24
  252. package/build/main//321/201omponents/DragAndDrop/types.js +0 -2
  253. package/build/main//321/201omponents/DragAndDrop/types.js.map +0 -1
  254. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +0 -4
  255. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +0 -222
  256. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +0 -1
  257. package/build/main//321/201omponents/DraggablePopup/index.d.ts +0 -1
  258. package/build/main//321/201omponents/DraggablePopup/index.js +0 -2
  259. package/build/main//321/201omponents/DraggablePopup/index.js.map +0 -1
  260. package/build/main//321/201omponents/DraggablePopup/types.d.ts +0 -90
  261. package/build/main//321/201omponents/DraggablePopup/types.js +0 -2
  262. package/build/main//321/201omponents/DraggablePopup/types.js.map +0 -1
  263. package/build/main//321/201omponents/Error/Error.d.ts +0 -4
  264. package/build/main//321/201omponents/Error/Error.js +0 -23
  265. package/build/main//321/201omponents/Error/Error.js.map +0 -1
  266. package/build/main//321/201omponents/Error/index.d.ts +0 -1
  267. package/build/main//321/201omponents/Error/index.js +0 -2
  268. package/build/main//321/201omponents/Error/index.js.map +0 -1
  269. package/build/main//321/201omponents/Error/types.d.ts +0 -10
  270. package/build/main//321/201omponents/Error/types.js +0 -2
  271. package/build/main//321/201omponents/Error/types.js.map +0 -1
  272. package/build/main//321/201omponents/Flex/Flex.d.ts +0 -2
  273. package/build/main//321/201omponents/Flex/Flex.js +0 -35
  274. package/build/main//321/201omponents/Flex/Flex.js.map +0 -1
  275. package/build/main//321/201omponents/Flex/HFlex/HFlex.d.ts +0 -5
  276. package/build/main//321/201omponents/Flex/HFlex/HFlex.js +0 -16
  277. package/build/main//321/201omponents/Flex/HFlex/HFlex.js.map +0 -1
  278. package/build/main//321/201omponents/Flex/HFlex/index.d.ts +0 -1
  279. package/build/main//321/201omponents/Flex/HFlex/index.js +0 -2
  280. package/build/main//321/201omponents/Flex/HFlex/index.js.map +0 -1
  281. package/build/main//321/201omponents/Flex/VFlex/VFlex.d.ts +0 -5
  282. package/build/main//321/201omponents/Flex/VFlex/VFlex.js +0 -16
  283. package/build/main//321/201omponents/Flex/VFlex/VFlex.js.map +0 -1
  284. package/build/main//321/201omponents/Flex/VFlex/index.d.ts +0 -1
  285. package/build/main//321/201omponents/Flex/VFlex/index.js +0 -2
  286. package/build/main//321/201omponents/Flex/VFlex/index.js.map +0 -1
  287. package/build/main//321/201omponents/Flex/index.d.ts +0 -3
  288. package/build/main//321/201omponents/Flex/index.js +0 -4
  289. package/build/main//321/201omponents/Flex/index.js.map +0 -1
  290. package/build/main//321/201omponents/Flex/types.d.ts +0 -19
  291. package/build/main//321/201omponents/Flex/types.js +0 -2
  292. package/build/main//321/201omponents/Flex/types.js.map +0 -1
  293. package/build/main//321/201omponents/Header/Header.d.ts +0 -5
  294. package/build/main//321/201omponents/Header/Header.js +0 -125
  295. package/build/main//321/201omponents/Header/Header.js.map +0 -1
  296. package/build/main//321/201omponents/Header/index.d.ts +0 -1
  297. package/build/main//321/201omponents/Header/index.js +0 -2
  298. package/build/main//321/201omponents/Header/index.js.map +0 -1
  299. package/build/main//321/201omponents/Header/types.d.ts +0 -47
  300. package/build/main//321/201omponents/Header/types.js +0 -2
  301. package/build/main//321/201omponents/Header/types.js.map +0 -1
  302. package/build/main//321/201omponents/Input/Input.d.ts +0 -4
  303. package/build/main//321/201omponents/Input/Input.js +0 -182
  304. package/build/main//321/201omponents/Input/Input.js.map +0 -1
  305. package/build/main//321/201omponents/Input/index.d.ts +0 -1
  306. package/build/main//321/201omponents/Input/index.js +0 -2
  307. package/build/main//321/201omponents/Input/index.js.map +0 -1
  308. package/build/main//321/201omponents/Input/types.d.ts +0 -27
  309. package/build/main//321/201omponents/Input/types.js +0 -2
  310. package/build/main//321/201omponents/Input/types.js.map +0 -1
  311. package/build/main//321/201omponents/ListItem/ListItem.d.ts +0 -23
  312. package/build/main//321/201omponents/ListItem/ListItem.js +0 -203
  313. package/build/main//321/201omponents/ListItem/ListItem.js.map +0 -1
  314. package/build/main//321/201omponents/ListItem/index.d.ts +0 -1
  315. package/build/main//321/201omponents/ListItem/index.js +0 -2
  316. package/build/main//321/201omponents/ListItem/index.js.map +0 -1
  317. package/build/main//321/201omponents/ListItem/types.d.ts +0 -41
  318. package/build/main//321/201omponents/ListItem/types.js +0 -2
  319. package/build/main//321/201omponents/ListItem/types.js.map +0 -1
  320. package/build/main//321/201omponents/Loader/Loader.d.ts +0 -4
  321. package/build/main//321/201omponents/Loader/Loader.js +0 -44
  322. package/build/main//321/201omponents/Loader/Loader.js.map +0 -1
  323. package/build/main//321/201omponents/Loader/index.d.ts +0 -1
  324. package/build/main//321/201omponents/Loader/index.js +0 -2
  325. package/build/main//321/201omponents/Loader/index.js.map +0 -1
  326. package/build/main//321/201omponents/Loader/types.d.ts +0 -18
  327. package/build/main//321/201omponents/Loader/types.js +0 -2
  328. package/build/main//321/201omponents/Loader/types.js.map +0 -1
  329. package/build/main//321/201omponents/Modal/Modal.d.ts +0 -4
  330. package/build/main//321/201omponents/Modal/Modal.js +0 -259
  331. package/build/main//321/201omponents/Modal/Modal.js.map +0 -1
  332. package/build/main//321/201omponents/Modal/index.d.ts +0 -1
  333. package/build/main//321/201omponents/Modal/index.js +0 -2
  334. package/build/main//321/201omponents/Modal/index.js.map +0 -1
  335. package/build/main//321/201omponents/Modal/types.d.ts +0 -41
  336. package/build/main//321/201omponents/Modal/types.js +0 -2
  337. package/build/main//321/201omponents/Modal/types.js.map +0 -1
  338. package/build/main//321/201omponents/Notification/Notification.d.ts +0 -8
  339. package/build/main//321/201omponents/Notification/Notification.js +0 -199
  340. package/build/main//321/201omponents/Notification/Notification.js.map +0 -1
  341. package/build/main//321/201omponents/Notification/index.d.ts +0 -1
  342. package/build/main//321/201omponents/Notification/index.js +0 -2
  343. package/build/main//321/201omponents/Notification/index.js.map +0 -1
  344. package/build/main//321/201omponents/Notification/types.d.ts +0 -44
  345. package/build/main//321/201omponents/Notification/types.js +0 -2
  346. package/build/main//321/201omponents/Notification/types.js.map +0 -1
  347. package/build/main//321/201omponents/Profile/Profile.d.ts +0 -4
  348. package/build/main//321/201omponents/Profile/Profile.js +0 -42
  349. package/build/main//321/201omponents/Profile/Profile.js.map +0 -1
  350. package/build/main//321/201omponents/Profile/index.d.ts +0 -1
  351. package/build/main//321/201omponents/Profile/index.js +0 -2
  352. package/build/main//321/201omponents/Profile/index.js.map +0 -1
  353. package/build/main//321/201omponents/Profile/types.d.ts +0 -14
  354. package/build/main//321/201omponents/Profile/types.js +0 -2
  355. package/build/main//321/201omponents/Profile/types.js.map +0 -1
  356. package/build/main//321/201omponents/ProgressBar/ProgressBar.d.ts +0 -4
  357. package/build/main//321/201omponents/ProgressBar/ProgressBar.js +0 -66
  358. package/build/main//321/201omponents/ProgressBar/ProgressBar.js.map +0 -1
  359. package/build/main//321/201omponents/ProgressBar/index.d.ts +0 -1
  360. package/build/main//321/201omponents/ProgressBar/index.js +0 -2
  361. package/build/main//321/201omponents/ProgressBar/index.js.map +0 -1
  362. package/build/main//321/201omponents/ProgressBar/types.d.ts +0 -7
  363. package/build/main//321/201omponents/ProgressBar/types.js +0 -2
  364. package/build/main//321/201omponents/ProgressBar/types.js.map +0 -1
  365. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +0 -4
  366. package/build/main//321/201omponents/RadioButton/RadioButton.js +0 -33
  367. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +0 -1
  368. package/build/main//321/201omponents/RadioButton/index.d.ts +0 -1
  369. package/build/main//321/201omponents/RadioButton/index.js +0 -2
  370. package/build/main//321/201omponents/RadioButton/index.js.map +0 -1
  371. package/build/main//321/201omponents/RadioButton/types.d.ts +0 -12
  372. package/build/main//321/201omponents/RadioButton/types.js +0 -2
  373. package/build/main//321/201omponents/RadioButton/types.js.map +0 -1
  374. package/build/main//321/201omponents/ScrollBar/ScrollBar.d.ts +0 -5
  375. package/build/main//321/201omponents/ScrollBar/ScrollBar.js +0 -140
  376. package/build/main//321/201omponents/ScrollBar/ScrollBar.js.map +0 -1
  377. package/build/main//321/201omponents/ScrollBar/index.d.ts +0 -1
  378. package/build/main//321/201omponents/ScrollBar/index.js +0 -2
  379. package/build/main//321/201omponents/ScrollBar/index.js.map +0 -1
  380. package/build/main//321/201omponents/ScrollBar/types.d.ts +0 -24
  381. package/build/main//321/201omponents/ScrollBar/types.js +0 -2
  382. package/build/main//321/201omponents/ScrollBar/types.js.map +0 -1
  383. package/build/main//321/201omponents/Skeleton/Skeleton.d.ts +0 -4
  384. package/build/main//321/201omponents/Skeleton/Skeleton.js +0 -59
  385. package/build/main//321/201omponents/Skeleton/Skeleton.js.map +0 -1
  386. package/build/main//321/201omponents/Skeleton/index.d.ts +0 -1
  387. package/build/main//321/201omponents/Skeleton/index.js +0 -2
  388. package/build/main//321/201omponents/Skeleton/index.js.map +0 -1
  389. package/build/main//321/201omponents/Skeleton/types.d.ts +0 -17
  390. package/build/main//321/201omponents/Skeleton/types.js +0 -2
  391. package/build/main//321/201omponents/Skeleton/types.js.map +0 -1
  392. package/build/main//321/201omponents/Stories/Stories.d.ts +0 -4
  393. package/build/main//321/201omponents/Stories/Stories.js +0 -338
  394. package/build/main//321/201omponents/Stories/Stories.js.map +0 -1
  395. package/build/main//321/201omponents/Stories/index.d.ts +0 -1
  396. package/build/main//321/201omponents/Stories/index.js +0 -2
  397. package/build/main//321/201omponents/Stories/index.js.map +0 -1
  398. package/build/main//321/201omponents/Stories/types.d.ts +0 -71
  399. package/build/main//321/201omponents/Stories/types.js +0 -16
  400. package/build/main//321/201omponents/Stories/types.js.map +0 -1
  401. package/build/main//321/201omponents/Switcher/Switcher.d.ts +0 -4
  402. package/build/main//321/201omponents/Switcher/Switcher.js +0 -34
  403. package/build/main//321/201omponents/Switcher/Switcher.js.map +0 -1
  404. package/build/main//321/201omponents/Switcher/index.d.ts +0 -1
  405. package/build/main//321/201omponents/Switcher/index.js +0 -2
  406. package/build/main//321/201omponents/Switcher/index.js.map +0 -1
  407. package/build/main//321/201omponents/Switcher/types.d.ts +0 -8
  408. package/build/main//321/201omponents/Switcher/types.js +0 -2
  409. package/build/main//321/201omponents/Switcher/types.js.map +0 -1
  410. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +0 -5
  411. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +0 -65
  412. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +0 -1
  413. package/build/main//321/201omponents/SyncLoader/index.d.ts +0 -1
  414. package/build/main//321/201omponents/SyncLoader/index.js +0 -2
  415. package/build/main//321/201omponents/SyncLoader/index.js.map +0 -1
  416. package/build/main//321/201omponents/SyncLoader/types.d.ts +0 -8
  417. package/build/main//321/201omponents/SyncLoader/types.js +0 -2
  418. package/build/main//321/201omponents/SyncLoader/types.js.map +0 -1
  419. package/build/main//321/201omponents/Textarea/Textarea.d.ts +0 -4
  420. package/build/main//321/201omponents/Textarea/Textarea.js +0 -59
  421. package/build/main//321/201omponents/Textarea/Textarea.js.map +0 -1
  422. package/build/main//321/201omponents/Textarea/index.d.ts +0 -1
  423. package/build/main//321/201omponents/Textarea/index.js +0 -2
  424. package/build/main//321/201omponents/Textarea/index.js.map +0 -1
  425. package/build/main//321/201omponents/Textarea/types.d.ts +0 -13
  426. package/build/main//321/201omponents/Textarea/types.js +0 -2
  427. package/build/main//321/201omponents/Textarea/types.js.map +0 -1
  428. package/build/main//321/201omponents/Toggle/Toggle.d.ts +0 -4
  429. package/build/main//321/201omponents/Toggle/Toggle.js +0 -35
  430. package/build/main//321/201omponents/Toggle/Toggle.js.map +0 -1
  431. package/build/main//321/201omponents/Toggle/index.d.ts +0 -1
  432. package/build/main//321/201omponents/Toggle/index.js +0 -2
  433. package/build/main//321/201omponents/Toggle/index.js.map +0 -1
  434. package/build/main//321/201omponents/Toggle/types.d.ts +0 -12
  435. package/build/main//321/201omponents/Toggle/types.js +0 -2
  436. package/build/main//321/201omponents/Toggle/types.js.map +0 -1
  437. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.d.ts +0 -4
  438. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js +0 -31
  439. package/build/main//321/201omponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.js.map +0 -1
  440. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.d.ts +0 -4
  441. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js +0 -88
  442. package/build/main//321/201omponents/UserDropdown/ContactInfo/ContactInfo.js.map +0 -1
  443. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.d.ts +0 -4
  444. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js +0 -23
  445. package/build/main//321/201omponents/UserDropdown/LoadingMessage/LoadingMessage.js.map +0 -1
  446. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.d.ts +0 -4
  447. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js +0 -129
  448. package/build/main//321/201omponents/UserDropdown/MenuList/MenuList.js.map +0 -1
  449. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.d.ts +0 -3
  450. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +0 -137
  451. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +0 -1
  452. package/build/main//321/201omponents/UserDropdown/Option/Option.d.ts +0 -4
  453. package/build/main//321/201omponents/UserDropdown/Option/Option.js +0 -80
  454. package/build/main//321/201omponents/UserDropdown/Option/Option.js.map +0 -1
  455. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.d.ts +0 -4
  456. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js +0 -44
  457. package/build/main//321/201omponents/UserDropdown/SearchInCatalogButton/SearchInCatalogButton.js.map +0 -1
  458. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +0 -5
  459. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +0 -549
  460. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +0 -1
  461. package/build/main//321/201omponents/UserDropdown/constants.d.ts +0 -8
  462. package/build/main//321/201omponents/UserDropdown/constants.js +0 -10
  463. package/build/main//321/201omponents/UserDropdown/constants.js.map +0 -1
  464. package/build/main//321/201omponents/UserDropdown/helpers.d.ts +0 -105
  465. package/build/main//321/201omponents/UserDropdown/helpers.js +0 -143
  466. package/build/main//321/201omponents/UserDropdown/helpers.js.map +0 -1
  467. package/build/main//321/201omponents/UserDropdown/index.d.ts +0 -1
  468. package/build/main//321/201omponents/UserDropdown/index.js +0 -2
  469. package/build/main//321/201omponents/UserDropdown/index.js.map +0 -1
  470. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +0 -15
  471. package/build/main//321/201omponents/UserDropdown/selectStyles.js +0 -69
  472. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +0 -1
  473. package/build/main//321/201omponents/UserDropdown/types.d.ts +0 -269
  474. package/build/main//321/201omponents/UserDropdown/types.js +0 -9
  475. package/build/main//321/201omponents/UserDropdown/types.js.map +0 -1
  476. package/build/main//321/201omponents/types.d.ts +0 -2
  477. package/build/main//321/201omponents/types.js +0 -2
  478. package/build/main//321/201omponents/types.js.map +0 -1
@@ -1 +0,0 @@
1
- export { default } from './Switcher';
@@ -1,2 +0,0 @@
1
- export { default } from './Switcher';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Switcher/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,8 +0,0 @@
1
- type PageType = {
2
- route: string;
3
- title: string;
4
- };
5
- export interface ISwitcherProps {
6
- pages: PageType[];
7
- }
8
- 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/Switcher/types.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { ISyncLoaderProps } from './types';
2
- import '../../styles/styles.scss';
3
- export declare const DEFAULT_SYNC_LOADER_TEXT = "\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435";
4
- declare const SyncLoader: ({ isLoading, text, theme, className, styles, color, fontFamily, }: ISyncLoaderProps) => import("react/jsx-runtime").JSX.Element | null;
5
- export default SyncLoader;
@@ -1,65 +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 __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
- if (ar || !(i in from)) {
15
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
- ar[i] = from[i];
17
- }
18
- }
19
- return to.concat(ar || Array.prototype.slice.call(from));
20
- };
21
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
- import { useEffect } from 'react';
23
- import classNames from 'classnames';
24
- import Color from 'color';
25
- import { normal } from 'color-blend';
26
- import { generateColor, generateFontFamilyStyle, isDarkTheme } from '../../helpers';
27
- import { COLORS, THEME } from '../../constants';
28
- import { ReactComponent as LoaderIcon } from '../../assets/icons/loader.svg';
29
- import '../../styles/styles.scss';
30
- export var DEFAULT_SYNC_LOADER_TEXT = 'Обновление';
31
- var SyncLoader = function (_a) {
32
- var isLoading = _a.isLoading, _b = _a.text, text = _b === void 0 ? DEFAULT_SYNC_LOADER_TEXT : _b, _c = _a.theme, theme = _c === void 0 ? THEME.default : _c, className = _a.className, styles = _a.styles, color = _a.color, fontFamily = _a.fontFamily;
33
- var loaderColor = generateColor(color, COLORS.blue);
34
- var generateBackgroundStyles = function () {
35
- var _a = Color(loaderColor).rgb().object(), red = _a.r, green = _a.g, blue = _a.b;
36
- var backgroundColorRGBA = { r: red, g: green, b: blue, a: 0.2 };
37
- var WHITE_COLOR = { r: 255, g: 255, b: 255, a: 1 };
38
- var BLACK_COLOR = { r: 61, g: 61, b: 61, a: 1 };
39
- var _b = isDarkTheme(theme) ? normal(BLACK_COLOR, backgroundColorRGBA) : normal(WHITE_COLOR, backgroundColorRGBA), r = _b.r, g = _b.g, b = _b.b, a = _b.a;
40
- return __assign({ background: "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(a, ")") }, styles);
41
- };
42
- useEffect(function () {
43
- var timerId;
44
- var dots = document.querySelectorAll('.smartapp-sync-loader__text--dots__dot');
45
- var animationEndFunction = function () {
46
- dots.forEach(function (dot) { return (dot.style.display = 'none'); });
47
- timerId = setTimeout(function () {
48
- dots.forEach(function (dot) { return (dot.style.display = 'unset'); });
49
- }, 150);
50
- };
51
- if (isLoading) {
52
- dots[0].addEventListener('animationend', animationEndFunction);
53
- }
54
- return function () {
55
- clearTimeout(timerId);
56
- isLoading && dots[0].removeEventListener('animationend', animationEndFunction);
57
- };
58
- }, [isLoading]);
59
- if (!isLoading) {
60
- return null;
61
- }
62
- return (_jsxs("div", __assign({ className: classNames('smartapp-sync-loader', className), style: generateBackgroundStyles() }, { children: [_jsx(LoaderIcon, { className: "smartapp-sync-loader__icon", style: { color: loaderColor } }), _jsxs("div", __assign({ style: __assign({}, generateFontFamilyStyle(fontFamily)), className: classNames({ 'smartapp-sync-loader__text': true, 'smartapp-sync-loader__text--dark': isDarkTheme(theme) }) }, { children: [text, _jsx("div", __assign({ className: "smartapp-sync-loader__text--dots" }, { children: __spreadArray([], Array(3), true).map(function (_, index) { return (_jsx("div", __assign({ className: "smartapp-sync-loader__text--dots__dot" }, { children: "." }), index)); }) }))] }))] })));
63
- };
64
- export default SyncLoader;
65
- //# sourceMappingURL=SyncLoader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SyncLoader.js","sourceRoot":"","sources":["../../../../src/сomponents/SyncLoader/SyncLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,SAAS,EAAE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CAAA;IAEf,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,CACL,wBAAK,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,SAAS,CAAC,EAAE,KAAK,EAAE,wBAAwB,EAAE,iBAC9F,KAAC,UAAU,IAAC,SAAS,EAAC,4BAA4B,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAI,EACpF,wBACE,KAAK,eAAO,uBAAuB,CAAC,UAAU,CAAC,GAC/C,SAAS,EAAE,UAAU,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,kCAAkC,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,iBAEpH,IAAI,EACL,uBAAK,SAAS,EAAC,kCAAkC,gBAC9C,kBAAI,KAAK,CAAC,CAAC,CAAC,QAAE,GAAG,CAAC,UAAC,CAAC,EAAE,KAAK,IAAK,OAAA,CAC/B,uBAAiB,SAAS,EAAC,uCAAuC,wBAAxD,KAAK,CAET,CACP,EAJgC,CAIhC,CAAC,IACE,KACF,KACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './SyncLoader';
@@ -1,2 +0,0 @@
1
- export { default } from './SyncLoader';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/SyncLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -1,8 +0,0 @@
1
- import { IFontFamilyProps, IThemeProps, TStyles } from '../../constants';
2
- export interface ISyncLoaderProps extends IThemeProps, IFontFamilyProps {
3
- isLoading: boolean;
4
- text?: string;
5
- className?: string;
6
- styles?: TStyles;
7
- color?: string;
8
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/SyncLoader/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { ITextareaProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const Textarea: ({ fontFamily, isAdjustToTextHeight, textareaRef: outerTextareaRef, title, icon, error, minHeight, containerClassName, className, style, containerStyles, onChange, ...props }: ITextareaProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Textarea;
@@ -1,59 +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 __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { useEffect, useRef } from 'react';
25
- import classNames from 'classnames';
26
- import { isEmpty, isNil } from 'lodash';
27
- import { generateFontFamilyStyle } from '../../helpers';
28
- import { DEFAULT_MIN_TEXTAREA_HEIGHT, MIN_TEXTAREA_HEIGHT } from '../../constants';
29
- import '../../styles/styles.scss';
30
- var Textarea = function (_a) {
31
- var fontFamily = _a.fontFamily, _b = _a.isAdjustToTextHeight, isAdjustToTextHeight = _b === void 0 ? false : _b, outerTextareaRef = _a.textareaRef, title = _a.title, icon = _a.icon, error = _a.error, minHeight = _a.minHeight, containerClassName = _a.containerClassName, className = _a.className, style = _a.style, containerStyles = _a.containerStyles, onChange = _a.onChange, props = __rest(_a, ["fontFamily", "isAdjustToTextHeight", "textareaRef", "title", "icon", "error", "minHeight", "containerClassName", "className", "style", "containerStyles", "onChange"]);
32
- var localTextareaRef = useRef(null);
33
- var textareaRef = outerTextareaRef || localTextareaRef;
34
- var textareaMinHeight = minHeight ? Math.max(minHeight, MIN_TEXTAREA_HEIGHT) : DEFAULT_MIN_TEXTAREA_HEIGHT;
35
- var textareaMinHeightPx = "".concat(textareaMinHeight, "px");
36
- var handleInput = function () {
37
- var textareaRefCurrent = textareaRef.current;
38
- if (textareaRefCurrent && isAdjustToTextHeight) {
39
- textareaRefCurrent.style.height = textareaMinHeightPx;
40
- textareaRefCurrent.style.height = "".concat(textareaRefCurrent.scrollHeight + 2, "px");
41
- }
42
- };
43
- var handleChange = function (event) {
44
- var value = event.target.value;
45
- var textareaRefCurrent = textareaRef.current;
46
- var valueLength = value.length;
47
- onChange(event);
48
- if (textareaRefCurrent && textareaRefCurrent.selectionStart === valueLength) {
49
- textareaRefCurrent.scrollTop = textareaRefCurrent.scrollHeight;
50
- }
51
- };
52
- useEffect(function () {
53
- isAdjustToTextHeight && handleInput();
54
- // eslint-disable-next-line
55
- }, [isAdjustToTextHeight]);
56
- return (_jsxs("div", __assign({ className: classNames('smartapp-textarea', containerClassName), style: __assign(__assign({}, generateFontFamilyStyle(fontFamily)), containerStyles) }, { children: [title && _jsx("div", __assign({ className: "smartapp-textarea__title" }, { children: title })), _jsxs("div", __assign({ className: "smartapp-textarea__container" }, { children: [_jsx("textarea", __assign({ ref: textareaRef, className: classNames('smartapp-textarea__container--field', { 'smartapp-textarea__container--field__with-icon': !isNil(icon), 'smartapp-textarea__container--field__error': !isEmpty(error) }, className), style: __assign({ '--textarea-min-height': textareaMinHeightPx }, style), onChange: handleChange, onInput: handleInput }, props), textareaMinHeightPx), icon && _jsx("div", __assign({ className: "smartapp-textarea__container--icon" }, { children: icon }))] })), error && _jsx("div", __assign({ className: "smartapp-textarea__error" }, { children: error }))] })));
57
- };
58
- export default Textarea;
59
- //# sourceMappingURL=Textarea.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../../src/сomponents/Textarea/Textarea.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAiB,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC/D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAElF,OAAO,0BAA0B,CAAA;AAEjC,IAAM,QAAQ,GAAG,UAAC,EAcD;IAbf,IAAA,UAAU,gBAAA,EACV,4BAA4B,EAA5B,oBAAoB,mBAAG,KAAK,KAAA,EACf,gBAAgB,iBAAA,EAC7B,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,SAAS,eAAA,EACT,kBAAkB,wBAAA,EAClB,SAAS,eAAA,EACT,KAAK,WAAA,EACL,eAAe,qBAAA,EACf,QAAQ,cAAA,EACL,KAAK,cAbQ,uKAcjB,CADS;IAER,IAAM,gBAAgB,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAA;IAC1D,IAAM,WAAW,GAAG,gBAAgB,IAAI,gBAAgB,CAAA;IACxD,IAAM,iBAAiB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,2BAA2B,CAAA;IAC5G,IAAM,mBAAmB,GAAG,UAAG,iBAAiB,OAAI,CAAA;IAEpD,IAAM,WAAW,GAAG;QAClB,IAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAA;QAE9C,IAAI,kBAAkB,IAAI,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B,KAAK,GAVJ,mBAAmB,CAWxB,EACD,IAAI,IAAI,uBAAK,SAAS,EAAC,oCAAoC,gBAAE,IAAI,IAAO,KACrE,EACL,KAAK,IAAI,uBAAK,SAAS,EAAC,0BAA0B,gBAAE,KAAK,IAAO,KAC7D,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Textarea';
@@ -1,2 +0,0 @@
1
- export { default } from './Textarea';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,13 +0,0 @@
1
- import { ChangeEvent, ReactElement, RefObject, TextareaHTMLAttributes } from 'react';
2
- import { IFontFamilyProps, TStyles } from '../../constants';
3
- export interface ITextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, IFontFamilyProps {
4
- isAdjustToTextHeight?: boolean;
5
- textareaRef?: RefObject<HTMLTextAreaElement | null>;
6
- title?: string;
7
- icon?: ReactElement;
8
- error?: string;
9
- minHeight?: number;
10
- containerClassName?: string;
11
- containerStyles?: TStyles;
12
- onChange: (e: ChangeEvent<HTMLTextAreaElement>) => void;
13
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Textarea/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IToggleProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const Toggle: ({ id, isDisabled, isChecked, className, styles, checkedColor, checkedHoverColor, checkedPressedColor, onClick, }: IToggleProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Toggle;
@@ -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 { generateColor } from '../../helpers';
16
- import { COLORS, EVENT_LISTENER_TYPES } from '../../constants';
17
- import '../../styles/styles.scss';
18
- var DEFAULT_TOGGLE_ID = 'toggle';
19
- var PRESSED_CLASS_NAME = 'smartapp-toggle-wrapper__pressed';
20
- var Toggle = function (_a) {
21
- var _b = _a.id, id = _b === void 0 ? DEFAULT_TOGGLE_ID : _b, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isChecked, isChecked = _d === void 0 ? false : _d, className = _a.className, _e = _a.styles, styles = _e === void 0 ? {} : _e, checkedColor = _a.checkedColor, checkedHoverColor = _a.checkedHoverColor, checkedPressedColor = _a.checkedPressedColor, _f = _a.onClick, onClick = _f === void 0 ? function () { return undefined; } : _f;
22
- var toggleRef = useRef(null);
23
- var inputId = "smartapp-toggle-".concat(id);
24
- var toggleStyles = __assign({ '--toggle-color': generateColor(checkedColor, COLORS.bgAccent), '--toggle-hover-color': generateColor(checkedHoverColor, COLORS.bgAccentHover), '--toggle-pressed-color': generateColor(checkedPressedColor, COLORS.bgAccentPressed) }, styles);
25
- useEffect(function () {
26
- window.addEventListener(EVENT_LISTENER_TYPES.mouseup, handleMouseUp);
27
- return function () { return window.removeEventListener(EVENT_LISTENER_TYPES.mouseup, handleMouseUp); };
28
- }, []);
29
- var handleClick = function () { return !isDisabled && onClick(); };
30
- var handleMouseDown = function () { var _a; return (_a = toggleRef.current) === null || _a === void 0 ? void 0 : _a.classList.add(PRESSED_CLASS_NAME); };
31
- var handleMouseUp = function () { var _a; return (_a = toggleRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove(PRESSED_CLASS_NAME); };
32
- return (_jsx("div", __assign({ ref: toggleRef, className: classNames('smartapp-toggle-wrapper', className), style: toggleStyles }, { children: _jsxs("label", __assign({ htmlFor: inputId, className: "smartapp-toggle", onClick: handleClick }, { children: [_jsx("input", { type: "checkbox", id: inputId, checked: isChecked, disabled: true }), _jsx("span", { className: classNames('smartapp-slider', { 'smartapp-slider__checked': isChecked, 'smartapp-slider__disabled': isDisabled }), onMouseDown: handleMouseDown })] })) })));
33
- };
34
- export default Toggle;
35
- //# sourceMappingURL=Toggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Toggle.js","sourceRoot":"","sources":["../../../../src/сomponents/Toggle/Toggle.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAiB,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC/D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE9D,OAAO,0BAA0B,CAAA;AAEjC,IAAM,iBAAiB,GAAG,QAAQ,CAAA;AAClC,IAAM,kBAAkB,GAAG,kCAAkC,CAAA;AAE7D,IAAM,MAAM,GAAG,UAAC,EAUD;QATb,UAAsB,EAAtB,EAAE,mBAAG,iBAAiB,KAAA,EACtB,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EAClB,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,SAAS,eAAA,EACT,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,YAAY,kBAAA,EACZ,iBAAiB,uBAAA,EACjB,mBAAmB,yBAAA,EACnB,eAA+B,EAA/B,OAAO,mBAAG,cAAY,OAAA,SAAS,EAAT,CAAS,KAAA;IAE/B,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAA;IACrD,IAAM,OAAO,GAA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AA0B,EAAE,SAAS,EAAE,2BAA2B,EAAE,UAAU,EAAE,CAAC,EAC5H,WAAW,EAAE,eAAe,GAC5B,KACI,IACJ,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Toggle';
@@ -1,2 +0,0 @@
1
- export { default } from './Toggle';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -1,12 +0,0 @@
1
- import { TStyles } from '../../constants';
2
- export interface IToggleProps {
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
- onClick?: () => 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/Toggle/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IContactBottomSheet } from '../types';
2
- import '../../../styles/styles.scss';
3
- declare const ContactBottomSheet: ({ fontFamily, language, avatar, name, email, serverName, company, department, companyPosition }: IContactBottomSheet) => import("react/jsx-runtime").JSX.Element;
4
- export default ContactBottomSheet;
@@ -1,31 +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 } from 'react';
14
- import Avatar from '../../Avatar';
15
- import ContactInfo from '../ContactInfo/ContactInfo';
16
- import { EVENT_LISTENER_TYPES } from '../../../constants';
17
- import { AVATAR_SIZES } from '../../Avatar/types';
18
- import { ReactComponent as CorporateUserIcon } from '../../../assets/icons/corporate-user.svg';
19
- import '../../../styles/styles.scss';
20
- var ContactBottomSheet = function (_a) {
21
- var fontFamily = _a.fontFamily, language = _a.language, avatar = _a.avatar, name = _a.name, email = _a.email, serverName = _a.serverName, company = _a.company, department = _a.department, companyPosition = _a.companyPosition;
22
- useEffect(function () {
23
- var modalContent = document.querySelector('.smartapp-modal__content');
24
- var handlePreventDefault = function (event) { return event.preventDefault(); };
25
- modalContent === null || modalContent === void 0 ? void 0 : modalContent.addEventListener(EVENT_LISTENER_TYPES.touchend, handlePreventDefault);
26
- return function () { return modalContent === null || modalContent === void 0 ? void 0 : modalContent.removeEventListener(EVENT_LISTENER_TYPES.touchend, handlePreventDefault); };
27
- }, []);
28
- return (_jsxs("div", __assign({ className: "smartapp-contact-bottom-sheet" }, { children: [_jsxs("div", __assign({ className: "smartapp-contact-bottom-sheet__header" }, { children: [_jsx(Avatar, { fontFamily: fontFamily, username: name, avatar: avatar, size: AVATAR_SIZES.size_48 }), _jsxs("div", __assign({ className: "smartapp-contact-bottom-sheet__header--text" }, { children: [_jsxs("div", __assign({ className: "smartapp-contact-bottom-sheet__header--text__name" }, { children: [_jsx(CorporateUserIcon, {}), _jsx("div", { children: name })] })), _jsx("div", __assign({ className: "smartapp-contact-bottom-sheet__header--text__email" }, { children: email }))] }))] })), _jsx(ContactInfo, { language: language, serverName: serverName, company: company, department: department, companyPosition: companyPosition })] })));
29
- };
30
- export default ContactBottomSheet;
31
- //# sourceMappingURL=ContactBottomSheet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContactBottomSheet.js","sourceRoot":"","sources":["../../../../../src/сomponents/UserDropdown/ContactBottomSheet/ContactBottomSheet.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAE,S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BAC1D,wBAAK,SAAS,EAAC,mDAAmD,iBAChE,KAAC,iBAAiB,KAAG,EACrB,wBAAM,IAAI,GAAO,KACb,EACN,uBAAK,SAAS,EAAC,oDAAoD,gBAAE,KAAK,IAAO,KAC7E,KACF,EACN,KAAC,WAAW,IAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,GAAI,KACnI,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,4 +0,0 @@
1
- import { IContactInfo } from '../types';
2
- import '../../../styles/styles.scss';
3
- declare const ContactInfo: ({ elementRef, language, serverName, company, department, companyPosition }: IContactInfo) => import("react/jsx-runtime").JSX.Element;
4
- export default ContactInfo;
@@ -1,88 +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[LANGUAGES.uz] = {
72
- server: 'Server',
73
- company: 'Kompaniya',
74
- department: 'Bo‘lim',
75
- companyPosition: 'Lavozim',
76
- },
77
- _a);
78
- var ContactInfo = function (_a) {
79
- var elementRef = _a.elementRef, language = _a.language, serverName = _a.serverName, company = _a.company, department = _a.department, companyPosition = _a.companyPosition;
80
- var _b = INFO_TITLE_TEXT[language], serverTitle = _b.server, companyTitle = _b.company, departmentTitle = _b.department, companyPositionTitle = _b.companyPosition;
81
- var renderInfoItem = function (_a) {
82
- var title = _a.title, info = _a.info;
83
- return (_jsxs("div", __assign({ className: "smartapp-contact-info__item" }, { children: [_jsx("div", { children: title }), _jsx("div", { children: info })] })));
84
- };
85
- 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 })] })));
86
- };
87
- export default ContactInfo;
88
- //# sourceMappingURL=ContactInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContactInf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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;