@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,90 +0,0 @@
1
- import React, { ReactElement, ReactNode, RefObject } from 'react';
2
- import { IFontFamilyProps, TStyles } from '../../constants';
3
- import { IContextMenuProps } from '../ContextMenu/types';
4
- export type TPopupPosition = {
5
- x: number;
6
- y: number;
7
- };
8
- export type TDraggablePadding = {
9
- top: number;
10
- bottom: number;
11
- left: number;
12
- right: number;
13
- };
14
- export type TOffsetPopupByClick = {
15
- offsetPopupXByClick: number;
16
- offsetPopupYByClick: number;
17
- };
18
- export type TDraggableZoneInfo = {
19
- width: number;
20
- height: number;
21
- top: number;
22
- right: number;
23
- bottom: number;
24
- left: number;
25
- };
26
- export type TCalculateNewX = {
27
- currentX: number;
28
- leftPadding: number;
29
- rightPadding: number;
30
- zoneWidth: number;
31
- popupWidth: number;
32
- additionalPopupWidth?: number;
33
- };
34
- export type TCalculateNewY = {
35
- currentY: number;
36
- topPadding: number;
37
- bottomPadding: number;
38
- zoneHeight: number;
39
- popupHeight: number;
40
- additionalPopupHeight?: number;
41
- };
42
- export type TCurrentContextMenu = IContextMenuProps & {
43
- openMenu: () => void;
44
- };
45
- export type TAdditionalPopup = Omit<IDraggablePopup, 'additionalPopup' | 'isDisabled' | 'isClosableOutside' | 'handleChangeCoords' | 'offsetPopupByClick' | 'offsetScrollY' | 'dropZonePadding' | 'handleClose' | 'isPopupOpen' | 'popupCoords' | 'draggableZoneRef' | 'handleClickOutside'>;
46
- export type TContextMenuProps = Omit<IContextMenuProps, 'position'> & {
47
- openMenu: (event?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
48
- };
49
- export type THandleContextMenu = {
50
- currentContextMenuProps: TCurrentContextMenu | null;
51
- setCurrentContextMenuProps: (contextMenuProps: TCurrentContextMenu | null) => void;
52
- x: number;
53
- y: number;
54
- xOffset?: number;
55
- yOffset?: number;
56
- contextMenuProps: TContextMenuProps | undefined;
57
- };
58
- export type TRenderAdditionalPopup = {
59
- additionalPopup: TAdditionalPopup;
60
- handleCloseModal: () => void;
61
- additionalPopupRef: RefObject<HTMLDivElement | null>;
62
- additionalPopupPosition: TPopupPosition | null;
63
- additionalContextMenuProps?: TCurrentContextMenu | null;
64
- };
65
- export interface IDraggablePopup extends IFontFamilyProps {
66
- draggableZoneRef: RefObject<HTMLDivElement | null>;
67
- popupCoords: TPopupPosition;
68
- popupContent: ReactElement;
69
- isPopupOpen: boolean;
70
- handleClose: () => void;
71
- bottomContent?: ReactElement;
72
- dropZonePadding?: TDraggablePadding;
73
- offsetScrollY?: number;
74
- offsetPopupByClick?: TOffsetPopupByClick;
75
- handleChangeCoords: (coords: TPopupPosition) => void;
76
- maxPopupHeight?: number;
77
- popupClassName?: string;
78
- contextMenuProps?: TContextMenuProps;
79
- isClosableOutside?: boolean;
80
- maxPopupWidth?: number;
81
- isDisabled?: boolean;
82
- additionalPopup?: TAdditionalPopup;
83
- handleClickOutside?: () => void;
84
- titleStyles?: TStyles;
85
- titleClassName?: string;
86
- isResetPaddingBottom?: boolean;
87
- title?: ReactNode;
88
- titleIcons?: ReactElement | ReactElement[];
89
- contentId?: string;
90
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/DraggablePopup/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IErrorProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const Error: ({ fontFamily, title, text, width, className, styles, iconColor }: IErrorProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Error;
@@ -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 classNames from 'classnames';
14
- import { generateColor, generateFontFamilyStyle } from '../../helpers';
15
- import { COLORS } from '../../constants';
16
- import { ReactComponent as ErrorIcon } from '../../assets/icons/error.svg';
17
- import '../../styles/styles.scss';
18
- var Error = function (_a) {
19
- var fontFamily = _a.fontFamily, _b = _a.title, title = _b === void 0 ? 'Ошибка' : _b, _c = _a.text, text = _c === void 0 ? 'Попробуйте еще раз' : _c, _d = _a.width, width = _d === void 0 ? 100 : _d, className = _a.className, styles = _a.styles, iconColor = _a.iconColor;
20
- return (_jsxs("div", __assign({ className: classNames('smartapp-error', className), style: __assign(__assign({ width: "".concat(width, "%") }, generateFontFamilyStyle(fontFamily)), styles) }, { children: [_jsx("div", __assign({ className: "smartapp-error__icon" }, { children: _jsx(ErrorIcon, { style: { color: generateColor(iconColor, COLORS.gray) } }) })), _jsx("p", __assign({ className: "smartapp-error__title" }, { children: title })), _jsx("p", __assign({ className: "smartapp-error__text" }, { children: text }))] })));
21
- };
22
- export default Error;
23
- //# sourceMappingURL=Error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Error.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/Error.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,0BAA0B,CAAA;AAEjC,IAAM,KAAK,GAAG,UAAC,EAAqH;QAAnH,UAAU,gBAAA,EAAE,aAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAE,YAA2B,EAA3B,IAAI,mBAAG,oBAAoB,KAAA,EAAE,aAAW,EAAX,KAAK,mBAAG,GAAG,KAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA,EAAE,SAAS,eAAA;IAAoB,OAAA,CACvI,wBAAK,SAAS,EAAE,UAAU,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,KAAK,sBAAI,KAAK,EAAE,UAAG,KAAK,MAAG,IAAK,uBAAuB,CAAC,UAAU,CAAC,GAAK,MAAM,kBACrI,uBAAK,SAAS,EAAC,sBAAsB,gBACnC,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,GAAI,IAClE,EACN,qBAAG,SAAS,EAAC,uBAAuB,gBAAE,KAAK,IAAK,EAChD,qBAAG,SAAS,EAAC,sBAAsB,gBAAE,IAAI,IAAK,KAC1C,CACP;AARwI,CAQxI,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Error';
@@ -1,2 +0,0 @@
1
- export { default } from './Error';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -1,10 +0,0 @@
1
- import { IFontFamilyProps, TStyles } from '../../constants';
2
- import { IntRange } from '../types';
3
- export interface IErrorProps extends IFontFamilyProps {
4
- title?: string;
5
- text?: string;
6
- width?: IntRange<1, 101>;
7
- className?: string;
8
- styles?: TStyles;
9
- iconColor?: string;
10
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/Error/types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { TFlex } from './types';
2
- export declare const Flex: ({ className, children, flex, grow: flexGrow, shrink: flexShrink, basis: flexBasis, justify: justifyContent, direction: flexDirection, align: alignItems, gap, wrap, fullWidth, style, ...props }: TFlex) => import("react/jsx-runtime").JSX.Element;
@@ -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
- 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 } from "react/jsx-runtime";
24
- import classNames from 'classnames';
25
- import { ROW } from '../../constants';
26
- var START = 'start';
27
- var SMARTAPP_FLEX = 'smartapp-flex';
28
- export var Flex = function (_a) {
29
- var className = _a.className, children = _a.children, flex = _a.flex, flexGrow = _a.grow, flexShrink = _a.shrink, flexBasis = _a.basis, _b = _a.justify, justifyContent = _b === void 0 ? START : _b, _c = _a.direction, flexDirection = _c === void 0 ? ROW : _c, _d = _a.align, alignItems = _d === void 0 ? START : _d, gap = _a.gap, _e = _a.wrap, wrap = _e === void 0 ? false : _e, _f = _a.fullWidth, fullWidth = _f === void 0 ? false : _f, style = _a.style, props = __rest(_a, ["className", "children", "flex", "grow", "shrink", "basis", "justify", "direction", "align", "gap", "wrap", "fullWidth", "style"]);
30
- var mods = { wrap: wrap, 'full-width': fullWidth };
31
- var flexStyles = flex ? { flex: flex } : { flexGrow: flexGrow, flexShrink: flexShrink, flexBasis: flexBasis };
32
- var styles = __assign(__assign({ gap: "".concat(gap, "px"), alignItems: alignItems, flexDirection: flexDirection, justifyContent: justifyContent }, flexStyles), style);
33
- return (_jsx("div", __assign({ style: styles, className: classNames(SMARTAPP_FLEX, mods, className) }, props, { children: children })));
34
- };
35
- //# sourceMappingURL=Flex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.js","sourceRoot":"","sources":["../../../../src/сomponents/Flex/Flex.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAGrC,IAAM,KAAK,GAAG,OAAO,CAAA;AACrB,IAAM,aAAa,GAAG,eAAe,CAAA;AAErC,MAAM,CAAC,IAAM,IAAI,GAAG,UAAC,EAeb;IAdN,IAAA,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,IAAI,UAAA,EACE,QAAQ,UAAA,EACN,UAAU,YAAA,EACX,SAAS,WAAA,EAChB,eAA+B,EAAtB,cAAc,mBAAG,KAAK,KAAA,EAC/B,iBAA8B,EAAnB,aAAa,mBAAG,GAAG,KAAA,EAC9B,aAAyB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EACzB,GAAG,SAAA,EACH,YAAY,EAAZ,IAAI,mBAAG,KAAK,KAAA,EACZ,iBAAiB,EAAjB,SAAS,mBAAG,KAAK,KAAA,EACjB,KAAK,WAAA,EACF,KAAK,cAdW,kIAepB,CADS;IAER,IAAM,IAAI,GAAG,EAAE,IAAI,MAAA,EAAE,YAAY,EAAE,SAAS,EAAE,CAAA;IAC9C,IAAM,UAAU,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,UAAA,EAAE,UAAU,YAAA,EAAE,SAAS,WAAA,EAAE,CAAA;IACxE,IAAM,MAAM,uBAAK,GAAG,EAAE,UAAG,GAAG,OAAI,EAAE,UAAU,YAAA,EAAE,aAAa,eAAA,EAAE,cAAc,gBAAA,IAAK,UAAU,GAAK,KAAK,CAAE,CAAA;IAEtG,OAAO,CACL,uBAAK,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC,IAAM,KAAK,cACjF,QAAQ,IACL,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DIRECTION } from '../../../constants';
2
- import { TFlex } from '../types';
3
- type THFlex = Omit<TFlex, typeof DIRECTION>;
4
- export declare const HFlex: (props: THFlex) => import("react/jsx-runtime").JSX.Element;
5
- export {};
@@ -1,16 +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 } from "react/jsx-runtime";
13
- import { Flex } from '..';
14
- import { ROW } from '../../../constants';
15
- export var HFlex = function (props) { return _jsx(Flex, __assign({}, props, { direction: ROW })); };
16
- //# sourceMappingURL=HFlex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HFlex.js","sourceRoot":"","sources":["../../../../../src/сomponents/Flex/HFlex/HFlex.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAA;AACzB,OAAO,EAAa,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAKnD,MAAM,CAAC,IAAM,KAAK,GAAG,UAAC,KAAa,IAAK,OAAA,KAAC,IAAI,eAAK,KAAK,IAAE,SAAS,EAAE,GAAG,IAAI,EAAnC,CAAmC,CAAA"}
@@ -1 +0,0 @@
1
- export { HFlex } from './HFlex';
@@ -1,2 +0,0 @@
1
- export { HFlex } from './HFlex';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/сomponents/Flex/HFlex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DIRECTION } from '../../../constants';
2
- import { TFlex } from '../types';
3
- type TVFlex = Omit<TFlex, typeof DIRECTION>;
4
- export declare const VFlex: (props: TVFlex) => import("react/jsx-runtime").JSX.Element;
5
- export {};
@@ -1,16 +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 } from "react/jsx-runtime";
13
- import { Flex } from '..';
14
- var COLUMN = 'column';
15
- export var VFlex = function (props) { return _jsx(Flex, __assign({}, props, { direction: COLUMN })); };
16
- //# sourceMappingURL=VFlex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VFlex.js","sourceRoot":"","sources":["../../../../../src/сomponents/Flex/VFlex/VFlex.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAA;AAMzB,IAAM,MAAM,GAAG,QAAQ,CAAA;AAEvB,MAAM,CAAC,IAAM,KAAK,GAAG,UAAC,KAAa,IAAK,OAAA,KAAC,IAAI,eAAK,KAAK,IAAE,SAAS,EAAE,MAAM,IAAI,EAAtC,CAAsC,CAAA"}
@@ -1 +0,0 @@
1
- export { VFlex } from './VFlex';
@@ -1,2 +0,0 @@
1
- export { VFlex } from './VFlex';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/сomponents/Flex/VFlex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
@@ -1,3 +0,0 @@
1
- export { Flex } from './Flex';
2
- export { VFlex } from './VFlex';
3
- export { HFlex } from './HFlex';
@@ -1,4 +0,0 @@
1
- export { Flex } from './Flex';
2
- export { VFlex } from './VFlex';
3
- export { HFlex } from './HFlex';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
@@ -1,19 +0,0 @@
1
- import { DetailedHTMLProps, HTMLAttributes, ReactNode } from 'react';
2
- export type TFlexAlign = 'stretch' | 'flex-start' | 'start' | 'flex-end' | 'end' | 'center' | 'baseline';
3
- export type TFlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
4
- export type TFlexJustify = 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
5
- type TDivProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
6
- export type TFlex = TDivProps & {
7
- children: ReactNode;
8
- flex?: string | number;
9
- grow?: number;
10
- shrink?: number;
11
- basis?: string | number;
12
- justify?: TFlexJustify;
13
- align?: TFlexAlign;
14
- direction?: TFlexDirection;
15
- gap?: number;
16
- fullWidth?: boolean;
17
- wrap?: boolean;
18
- };
19
- 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/Flex/types.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { IHeaderProps } from './types';
2
- import '../../styles/styles.scss';
3
- export declare const DEFAULT_HEADER_HEIGHT = 48;
4
- declare const Header: ({ fontFamily, title, counter, isBack, isBackDisabled, isRemove, titleIcon, refreshIcon, customIcon, avatar, onClickBack, onClickRemove, arrowColor, trashColor, platform, headerHeight, className, styles, textSize, backgroundColor, removeIconOrder, }: IHeaderProps) => import("react/jsx-runtime").JSX.Element;
5
- export default Header;
@@ -1,125 +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 { isArray } from 'lodash';
16
- import Avatar from '../Avatar';
17
- import { generateColor, generateFontFamilyStyle } from '../../helpers';
18
- import { HEADER_COLOR_BG, PLATFORM, TITLE_SIZE } from '../../constants';
19
- import { AVATAR_SIZES } from '../Avatar/types';
20
- import { ReactComponent as ArrowBackIcon } from '../../assets/icons/arrow-back.svg';
21
- import { ReactComponent as ArrowDownIcon } from '../../assets/icons/arrow-down.svg';
22
- import { ReactComponent as ArrowUpIcon } from '../../assets/icons/arrow-up.svg';
23
- import { ReactComponent as RefreshIcon } from '../../assets/icons/refresh.svg';
24
- import { ReactComponent as TrashIcon } from '../../assets/icons/trash.svg';
25
- import '../../styles/styles.scss';
26
- export var DEFAULT_HEADER_HEIGHT = 48;
27
- var MIN_TWO_DIGIT_NUMBER = 10;
28
- var MAX_TWO_DIGIT_NUMBER = 99;
29
- var MIN_THREE_DIGIT_NUMBER = 100;
30
- var SMALL_TITLE_SIZE_PADDING = 16;
31
- var MAJOR_TITLE_SIZE_PADDING = 8;
32
- var THREE_DIGIT_TEXT_COUNTER = '99+';
33
- var TITLE_PRESSED_CLASSNAME = 'smartapp-header__info--title__pressed';
34
- var AVATAR_PRESSED_CLASSNAME = 'smartapp-header__icons--avatar-pressed';
35
- var ICON_PRESSED_CLASSNAME = 'smartapp-header-icon__pressed';
36
- var titleSizeSmall = TITLE_SIZE.small, titleSizeMajor = TITLE_SIZE.major;
37
- var HeaderIcon = function (_a) {
38
- var _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, order = _a.order, titleBackground = _a.titleBackground, icon = _a.icon, onClick = _a.onClick;
39
- var iconRef = useRef(null);
40
- var handleClick = function () { return !isDisabled && (onClick === null || onClick === void 0 ? void 0 : onClick()); };
41
- var handleMouseDown = function () { var _a; return !isDisabled && ((_a = iconRef.current) === null || _a === void 0 ? void 0 : _a.classList.add(ICON_PRESSED_CLASSNAME)); };
42
- var handleMouseUp = function () { var _a; return (_a = iconRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove(ICON_PRESSED_CLASSNAME); };
43
- useEffect(function () {
44
- !isDisabled && window.addEventListener('mouseup', handleMouseUp);
45
- return function () {
46
- !isDisabled && window.removeEventListener('mouseup', handleMouseUp);
47
- };
48
- }, [isDisabled]);
49
- return (_jsx("div", __assign({ ref: iconRef, className: classNames('smartapp-header-icon', {
50
- 'smartapp-header-icon__disabled': isDisabled,
51
- 'smartapp-header-icon__blue': titleBackground === HEADER_COLOR_BG.blue,
52
- }), style: { order: order }, onClick: handleClick, onMouseDown: handleMouseDown }, { children: icon })));
53
- };
54
- var Header = function (_a) {
55
- var fontFamily = _a.fontFamily, _b = _a.title, title = _b === void 0 ? '' : _b, _c = _a.counter, counter = _c === void 0 ? 0 : _c, _d = _a.isBack, isBack = _d === void 0 ? false : _d, _e = _a.isBackDisabled, isBackDisabled = _e === void 0 ? false : _e, _f = _a.isRemove, isRemove = _f === void 0 ? false : _f, titleIcon = _a.titleIcon, refreshIcon = _a.refreshIcon, customIcon = _a.customIcon, avatar = _a.avatar, _g = _a.onClickBack, onClickBack = _g === void 0 ? function () { return undefined; } : _g, _h = _a.onClickRemove, onClickRemove = _h === void 0 ? function () { return undefined; } : _h, arrowColor = _a.arrowColor, trashColor = _a.trashColor, _j = _a.platform, platform = _j === void 0 ? PLATFORM.web : _j, _k = _a.headerHeight, headerHeight = _k === void 0 ? DEFAULT_HEADER_HEIGHT : _k, className = _a.className, styles = _a.styles, _l = _a.textSize, textSize = _l === void 0 ? titleSizeSmall : _l, _m = _a.backgroundColor, backgroundColor = _m === void 0 ? HEADER_COLOR_BG.grey : _m, _o = _a.removeIconOrder, removeIconOrder = _o === void 0 ? 1 : _o;
56
- var titleRef = useRef(null);
57
- var avatarRef = useRef(null);
58
- var isBlueBackgroundColor = backgroundColor === HEADER_COLOR_BG.blue;
59
- var isGreyBackgroundColor = backgroundColor === HEADER_COLOR_BG.grey;
60
- var isCustomBackgroundColor = !isBlueBackgroundColor && !isGreyBackgroundColor;
61
- useEffect(function () {
62
- window.addEventListener('mouseup', handleMouseUp);
63
- return function () {
64
- window.removeEventListener('mouseup', handleMouseUp);
65
- };
66
- }, []);
67
- var generateHeaderStyles = function () {
68
- var headerPadding = textSize === titleSizeMajor && title ? MAJOR_TITLE_SIZE_PADDING : SMALL_TITLE_SIZE_PADDING;
69
- var backgroundStyle = isCustomBackgroundColor ? { background: backgroundColor } : {};
70
- return __assign(__assign(__assign({ height: "".concat(headerHeight - headerPadding, "px") }, backgroundStyle), generateFontFamilyStyle(fontFamily)), styles);
71
- };
72
- var handleMouseDown = function (_a) {
73
- var _b;
74
- var ref = _a.ref, className = _a.className;
75
- return (_b = ref.current) === null || _b === void 0 ? void 0 : _b.classList.add(className);
76
- };
77
- var handleMouseUp = function () {
78
- var _a, _b;
79
- (_a = titleRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove(TITLE_PRESSED_CLASSNAME);
80
- (_b = avatarRef.current) === null || _b === void 0 ? void 0 : _b.classList.remove(AVATAR_PRESSED_CLASSNAME);
81
- };
82
- var renderTitle = function () { return (_jsxs("p", __assign({ ref: titleRef, className: classNames('smartapp-header__info--title', {
83
- 'smartapp-header__info--title__blue': isBlueBackgroundColor,
84
- }), onMouseDown: function () { return handleMouseDown({ ref: titleRef, className: TITLE_PRESSED_CLASSNAME }); }, onClick: titleIcon && titleIcon.onClick }, { children: [_jsx("span", { children: title }), titleIcon && renderTitleIcon(titleIcon)] }))); };
85
- var renderCounter = function () {
86
- var isTwoDigitNumber = counter >= MIN_TWO_DIGIT_NUMBER && counter <= MAX_TWO_DIGIT_NUMBER;
87
- var isThreeDigitNumber = counter >= MIN_THREE_DIGIT_NUMBER;
88
- var textCounter = isThreeDigitNumber ? THREE_DIGIT_TEXT_COUNTER : counter;
89
- return (_jsx("div", __assign({ className: classNames('smartapp-header__info--counter', {
90
- 'smartapp-header__info--counter__two-digit': isTwoDigitNumber,
91
- 'smartapp-header__info--counter__three-digit': isThreeDigitNumber,
92
- }) }, { children: textCounter })));
93
- };
94
- var renderBackIcon = function () { return (_jsx(HeaderIcon, { isDisabled: isBackDisabled, titleBackground: backgroundColor, icon: _jsx(ArrowBackIcon, { className: "smartapp-header__info--arrow-back", style: { color: generateColor(arrowColor) } }), onClick: onClickBack })); };
95
- var renderRemoveIcon = function () { return (_jsx(HeaderIcon, { titleBackground: backgroundColor, icon: _jsx(TrashIcon, { style: { color: generateColor(trashColor) } }), onClick: onClickRemove })); };
96
- var renderTitleIcon = function (_a) {
97
- var isUpDirection = _a.isUpDirection;
98
- return isUpDirection ? _jsx(ArrowUpIcon, { className: "smartapp-header__info--title__icon" }) : _jsx(ArrowDownIcon, { className: "smartapp-header__info--title__icon" });
99
- };
100
- var renderRefreshIcon = function (_a) {
101
- var isEnabled = _a.isEnabled, color = _a.color, onClick = _a.onClick;
102
- return (_jsx(HeaderIcon, { titleBackground: backgroundColor, icon: _jsx(RefreshIcon, { className: classNames({ 'smartapp-header__icons--refresh': isEnabled }), style: { color: generateColor(color) } }), onClick: !isEnabled ? onClick : function () { } }));
103
- };
104
- var renderAvatar = function () { return (_jsx(Avatar, __assign({}, avatar, { avatarRef: avatarRef, fontFamily: fontFamily, className: isRemove || refreshIcon || customIcon ? 'smartapp-avatar__ml' : '', size: AVATAR_SIZES.size_32, onMouseDown: function () { return handleMouseDown({ ref: avatarRef, className: AVATAR_PRESSED_CLASSNAME }); } }))); };
105
- var renderCustomIcons = function () {
106
- if (isArray(customIcon))
107
- return customIcon.map(function (_a, index) {
108
- var isDisabled = _a.isDisabled, icon = _a.icon, onClick = _a.onClick;
109
- var order = index + 1 < removeIconOrder ? -1 : 0;
110
- return _jsx(HeaderIcon, { isDisabled: isDisabled, order: order, titleBackground: backgroundColor, icon: icon, onClick: onClick }, index);
111
- });
112
- if (customIcon)
113
- return _jsx(HeaderIcon, { titleBackground: backgroundColor, icon: customIcon });
114
- };
115
- var generateHeaderClassNames = function () {
116
- var _a;
117
- return classNames('smartapp-header', "smartapp-header__".concat(platform), "smartapp-header__".concat(textSize), (_a = {},
118
- _a["smartapp-header__".concat(textSize, "--with-title")] = title,
119
- _a["smartapp-header__".concat(backgroundColor)] = !isCustomBackgroundColor,
120
- _a), className);
121
- };
122
- return (_jsxs("div", __assign({ className: generateHeaderClassNames(), style: generateHeaderStyles() }, { children: [_jsxs("div", __assign({ className: "smartapp-header__info" }, { children: [isBack && renderBackIcon(), title && renderTitle(), !!counter && renderCounter()] })), (isRemove || refreshIcon || customIcon || avatar) && (_jsxs("div", __assign({ className: classNames('smartapp-header__icons', "smartapp-header__icons--".concat(backgroundColor), { 'smartapp-header__icons--ml': !!counter }) }, { children: [isRemove && renderRemoveIcon(), refreshIcon && renderRefreshIcon(refreshIcon), renderCustomIcons(), avatar && renderAvatar()] })))] })));
123
- };
124
- export default Header;
125
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../src/сomponents/Header/Header.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAc,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAChC,OAAO,MAAM,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC9E,OAAO,EAAE,cAAc,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,0BAA0B,CAAA;AAEjC,MAAM,CAAC,IAAM,qBAAqB,GAAG,EAAE,CAAA;AACvC,IAAM,oBAAoB,GAAG,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C,OAAO,EAAE,CAAC,iBAEzI,QAAQ,IAAI,gBAAgB,EAAE,EAC9B,WAAW,IAAI,iBAAiB,CAAC,WAAW,CAAC,EAC7C,iBAAiB,EAAE,EACnB,MAAM,IAAI,YAAY,EAAE,KACrB,CACP,KACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1 +0,0 @@
1
- export { default } from './Header';
@@ -1,2 +0,0 @@
1
- export { default } from './Header';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/сomponents/Header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -1,47 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { IFontFamilyProps, IPlatformProps, TStyles } from '../../constants';
3
- import { IAvatarProps } from '../Avatar/types';
4
- import { IntRange } from '../types';
5
- export type TTitleIcon = {
6
- isUpDirection: boolean;
7
- onClick: () => void;
8
- };
9
- export type TRefreshIcon = {
10
- isEnabled: boolean;
11
- color?: string;
12
- onClick: () => void;
13
- };
14
- type TCustomIcon = {
15
- isDisabled?: boolean;
16
- icon: ReactElement;
17
- onClick: () => void;
18
- };
19
- export interface IHeaderIconProps {
20
- isDisabled?: boolean;
21
- order?: number;
22
- titleBackground: string;
23
- icon: ReactElement;
24
- onClick?: () => void;
25
- }
26
- export interface IHeaderProps extends IPlatformProps, IFontFamilyProps {
27
- title?: string;
28
- counter?: number;
29
- isBack?: boolean;
30
- isBackDisabled?: boolean;
31
- isRemove?: boolean;
32
- titleIcon?: TTitleIcon;
33
- refreshIcon?: TRefreshIcon;
34
- customIcon?: ReactElement | TCustomIcon[];
35
- avatar?: IAvatarProps;
36
- onClickBack?: () => void;
37
- onClickRemove?: () => void;
38
- arrowColor?: string;
39
- trashColor?: string;
40
- headerHeight?: number;
41
- className?: string;
42
- styles?: TStyles;
43
- textSize?: 'small' | 'major';
44
- backgroundColor?: 'grey' | 'blue' | string;
45
- removeIconOrder?: IntRange<1, 6>;
46
- }
47
- 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/Header/types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IInputProps } from './types';
2
- import '../../styles/styles.scss';
3
- declare const Input: ({ fontFamily, isPassword, isClearable, isSearchable, disabled, disableErrorBorder, title, mask, hint, error, inlineLabel, type, fieldType, outerRef, additionalInputParams, width, iconColor, containerClassName, className, containerStyles, style, onChange, onFocus, onBlur, onEnterPress, onClearClick, ...props }: IInputProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Input;