mimir-ui-kit 1.34.4 → 1.34.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (785) hide show
  1. package/dist/Input-DGr0q5AJ.js +210 -0
  2. package/dist/ProgressBar-C0dC7o7N.js +55 -0
  3. package/dist/assets/ProgressBar.css +1 -1
  4. package/dist/assets/Slider.css +1 -1
  5. package/dist/bugs-diTMAGNw.js +18 -0
  6. package/dist/components/Accordion/Accordion.js +187 -212
  7. package/dist/components/Accordion/AccordionItem/AccordionItem.js +8 -14
  8. package/dist/components/Accordion/AccordionItem/index.js +2 -2
  9. package/dist/components/Accordion/constants.js +7 -36
  10. package/dist/components/Accordion/index.js +6 -6
  11. package/dist/components/AnchorLink/Link.js +39 -50
  12. package/dist/components/AnchorLink/constants.js +3 -14
  13. package/dist/components/AnchorLink/index.js +5 -5
  14. package/dist/components/Avatar/Avatar.js +37 -42
  15. package/dist/components/Avatar/constants.js +2 -7
  16. package/dist/components/Avatar/index.js +4 -4
  17. package/dist/components/Button/Button.js +59 -75
  18. package/dist/components/Button/constants.js +7 -52
  19. package/dist/components/Button/index.js +9 -9
  20. package/dist/components/CheckboxMimir/CheckboxMimir.js +48 -59
  21. package/dist/components/CheckboxMimir/index.js +2 -2
  22. package/dist/components/Chip/Chip.js +35 -47
  23. package/dist/components/Chip/constants.js +3 -17
  24. package/dist/components/Chip/index.js +5 -5
  25. package/dist/components/DatePicker/DatePicker.js +106 -162
  26. package/dist/components/DatePicker/DatePickerModal.js +99 -151
  27. package/dist/components/DatePicker/MonthPickerModal.js +61 -90
  28. package/dist/components/DatePicker/YearPickerModal.js +55 -86
  29. package/dist/components/DatePicker/constants.js +7 -18
  30. package/dist/components/DatePicker/index.js +2 -2
  31. package/dist/components/DatePicker/utils.js +5 -13
  32. package/dist/components/Drawer/Drawer.d.ts +3 -2
  33. package/dist/components/Drawer/Drawer.js +100 -140
  34. package/dist/components/Drawer/constants.js +2 -8
  35. package/dist/components/Drawer/index.js +4 -4
  36. package/dist/components/GosZnak/GosZnak.js +58 -71
  37. package/dist/components/GosZnak/constants.js +3 -15
  38. package/dist/components/GosZnak/index.js +5 -5
  39. package/dist/components/Image/Image.js +38 -54
  40. package/dist/components/Image/index.js +2 -2
  41. package/dist/components/Input/Input.js +3 -3
  42. package/dist/components/Input/constants.js +4 -20
  43. package/dist/components/Input/index.js +6 -6
  44. package/dist/components/InputPassword/InputPassword.js +36 -43
  45. package/dist/components/InputPassword/index.js +2 -2
  46. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +23 -26
  47. package/dist/components/InputPhoneNumber/index.js +5 -5
  48. package/dist/components/InputPhoneNumber/utils.js +7 -24
  49. package/dist/components/InputRangeSlider/InputRangeSlider.js +110 -158
  50. package/dist/components/InputRangeSlider/constants.js +6 -16
  51. package/dist/components/InputRangeSlider/index.js +5 -5
  52. package/dist/components/ListFiles/ListFiles.js +25 -26
  53. package/dist/components/ListFiles/constants.js +2 -2
  54. package/dist/components/ListFiles/index.js +2 -2
  55. package/dist/components/ListPhotos/ListPhotos.js +21 -22
  56. package/dist/components/ListPhotos/constants.js +2 -2
  57. package/dist/components/ListPhotos/index.js +2 -2
  58. package/dist/components/Loader/Loader.js +10 -16
  59. package/dist/components/Loader/index.js +2 -2
  60. package/dist/components/MergedButton/MergedButton.js +41 -49
  61. package/dist/components/MergedButton/constants.js +2 -7
  62. package/dist/components/MergedButton/index.js +4 -4
  63. package/dist/components/NotificationBadge/NotificationBadge.js +22 -25
  64. package/dist/components/NotificationBadge/constants.js +2 -6
  65. package/dist/components/NotificationBadge/index.js +4 -4
  66. package/dist/components/OtpInput/OtpInput.js +45 -51
  67. package/dist/components/OtpInput/constants.js +4 -6
  68. package/dist/components/OtpInput/hooks.js +74 -111
  69. package/dist/components/OtpInput/index.js +2 -2
  70. package/dist/components/Pagination/Pagination.js +115 -157
  71. package/dist/components/Pagination/constants.js +3 -4
  72. package/dist/components/Pagination/index.js +2 -2
  73. package/dist/components/Portal/Portal.js +6 -8
  74. package/dist/components/Portal/index.js +2 -2
  75. package/dist/components/RadioGroup/RadioGroup.js +135 -141
  76. package/dist/components/RadioGroup/index.js +2 -2
  77. package/dist/components/SelectSearch/SelectSearch.js +2412 -3345
  78. package/dist/components/SelectSearch/constants.js +2 -6
  79. package/dist/components/SelectSearch/index.js +4 -4
  80. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +29 -31
  81. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +24 -27
  82. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +26 -32
  83. package/dist/components/Skeleton/constants.js +2 -7
  84. package/dist/components/Skeleton/index.js +8 -8
  85. package/dist/components/Slider/Slider.d.ts +1 -4
  86. package/dist/components/Slider/Slider.js +2938 -343
  87. package/dist/components/Slider/index.d.ts +1 -1
  88. package/dist/components/Slider/index.js +3 -2
  89. package/dist/components/Steps/Steps.js +96 -142
  90. package/dist/components/Steps/constants.js +18 -54
  91. package/dist/components/Steps/index.js +5 -5
  92. package/dist/components/Switcher/Switcher.js +75 -86
  93. package/dist/components/Switcher/constants.js +2 -6
  94. package/dist/components/Switcher/index.js +4 -4
  95. package/dist/components/TabTrail/TabButtons/TabButtons.js +18 -18
  96. package/dist/components/TabTrail/TabButtons/constants.js +3 -12
  97. package/dist/components/TabTrail/TabButtons/index.js +2 -2
  98. package/dist/components/TabTrail/TabTrail.js +227 -245
  99. package/dist/components/TabTrail/constants.js +2 -6
  100. package/dist/components/TabTrail/index.js +4 -4
  101. package/dist/components/Tag/Tag.js +35 -43
  102. package/dist/components/Tag/constants.js +3 -13
  103. package/dist/components/Tag/index.js +5 -5
  104. package/dist/components/TextArea/TextArea.js +148 -175
  105. package/dist/components/TextArea/hooks.js +12 -14
  106. package/dist/components/TextArea/index.js +2 -2
  107. package/dist/components/Timer/Timer.js +17 -21
  108. package/dist/components/Timer/index.js +2 -2
  109. package/dist/components/Toasts/ProgressBar.js +3 -3
  110. package/dist/components/Toasts/Toast.js +47 -48
  111. package/dist/components/Toasts/ToastList.js +28 -38
  112. package/dist/components/Toasts/ToastsProvider.js +29 -33
  113. package/dist/components/Toasts/constants.js +13 -47
  114. package/dist/components/Toasts/hooks.js +5 -6
  115. package/dist/components/Toasts/index.js +7 -7
  116. package/dist/components/Toasts/store.js +24 -34
  117. package/dist/components/TwinSwitcher/TwinSwitcher.js +51 -55
  118. package/dist/components/TwinSwitcher/index.js +2 -2
  119. package/dist/components/UniversalUploader/UniversalUploader.js +61 -89
  120. package/dist/components/UniversalUploader/constants.js +4 -9
  121. package/dist/components/UniversalUploader/index.js +4 -4
  122. package/dist/components/Uploader/Uploader.js +52 -74
  123. package/dist/components/Uploader/constants.js +10 -13
  124. package/dist/components/Uploader/index.js +4 -4
  125. package/dist/components/UploaderFiles/UploaderFiles.js +39 -47
  126. package/dist/components/UploaderFiles/index.js +2 -2
  127. package/dist/components/UploaderPhotos/UploaderPhotos.js +44 -52
  128. package/dist/components/UploaderPhotos/index.js +2 -2
  129. package/dist/components/Vote/Vote.js +76 -100
  130. package/dist/components/Vote/constants.js +7 -13
  131. package/dist/components/Vote/index.js +4 -4
  132. package/dist/components/index.js +135 -135
  133. package/dist/field-FJ34aSs4.js +12 -0
  134. package/dist/focus-management-XwV-9qkO.js +77 -0
  135. package/dist/hidden-DbgtYPOH.js +13 -0
  136. package/dist/hooks/index.js +17 -17
  137. package/dist/hooks/useClickOutside/index.js +2 -2
  138. package/dist/hooks/useClickOutside/useClickOutside.js +11 -20
  139. package/dist/hooks/useCopyToClipboard/index.js +2 -2
  140. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +10 -17
  141. package/dist/hooks/useInterval/index.js +2 -2
  142. package/dist/hooks/useInterval/useInterval.js +11 -13
  143. package/dist/hooks/useLockBodyScroll/index.js +2 -2
  144. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +10 -14
  145. package/dist/hooks/useMediaQuery/constants.js +3 -24
  146. package/dist/hooks/useMediaQuery/index.js +5 -5
  147. package/dist/hooks/useMediaQuery/useMediaQuery.js +10 -13
  148. package/dist/hooks/useMergeRefs/index.js +2 -2
  149. package/dist/hooks/useMergeRefs/useMergeRefs.js +21 -20
  150. package/dist/hooks/useResizeObserver/getElement.js +2 -16
  151. package/dist/hooks/useResizeObserver/index.js +2 -2
  152. package/dist/hooks/useResizeObserver/useResizeObserver.js +27 -40
  153. package/dist/hooks/useTimer/index.js +44 -77
  154. package/dist/hooks/useTimer/useTimer.js +45 -74
  155. package/dist/hooks/useTimer/utils.js +50 -67
  156. package/dist/hooks/useWindowSize/index.js +13 -19
  157. package/dist/icons/Icon.js +7 -10
  158. package/dist/icons/components/12px/Close12px.js +14 -16
  159. package/dist/icons/components/12px/MessageRead12px.js +33 -35
  160. package/dist/icons/components/16px/Accept16px.js +23 -25
  161. package/dist/icons/components/16px/Acts16px.js +36 -38
  162. package/dist/icons/components/16px/Acts16pxF.js +31 -33
  163. package/dist/icons/components/16px/AdditionalServicess16px.js +29 -31
  164. package/dist/icons/components/16px/AdditionalServicess16pxF.js +18 -20
  165. package/dist/icons/components/16px/Agents16px.js +20 -22
  166. package/dist/icons/components/16px/Agents16pxF.js +18 -20
  167. package/dist/icons/components/16px/Alarm16px.js +21 -23
  168. package/dist/icons/components/16px/ArrowDown16px.js +20 -22
  169. package/dist/icons/components/16px/ArrowLeft16px.js +20 -22
  170. package/dist/icons/components/16px/ArrowRight16px.js +20 -22
  171. package/dist/icons/components/16px/ArrowUp16px.js +20 -22
  172. package/dist/icons/components/16px/ArrowUpright16px.js +20 -22
  173. package/dist/icons/components/16px/AttachFile16px.js +20 -22
  174. package/dist/icons/components/16px/Bell16px.js +40 -42
  175. package/dist/icons/components/16px/Bell16pxF.js +30 -32
  176. package/dist/icons/components/16px/Calculator16px.js +20 -22
  177. package/dist/icons/components/16px/CalculatorLkk16px.js +31 -33
  178. package/dist/icons/components/16px/CalculatorLkk16pxF.js +20 -22
  179. package/dist/icons/components/16px/Calendar16px.js +20 -22
  180. package/dist/icons/components/16px/Camera16px.js +32 -34
  181. package/dist/icons/components/16px/Car16px.js +31 -33
  182. package/dist/icons/components/16px/Car16pxF.js +20 -22
  183. package/dist/icons/components/16px/Catalog16px.js +20 -22
  184. package/dist/icons/components/16px/Certs16px.js +29 -31
  185. package/dist/icons/components/16px/Certs16pxF.js +29 -31
  186. package/dist/icons/components/16px/Change16px.js +18 -20
  187. package/dist/icons/components/16px/Chat16px.js +29 -31
  188. package/dist/icons/components/16px/Chat16pxF.js +20 -22
  189. package/dist/icons/components/16px/Chatbot16px.js +260 -262
  190. package/dist/icons/components/16px/Close16px.js +20 -22
  191. package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +18 -20
  192. package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +18 -20
  193. package/dist/icons/components/16px/Coin16px.js +31 -33
  194. package/dist/icons/components/16px/Coin16pxF.js +38 -40
  195. package/dist/icons/components/16px/Contracts16px.js +31 -33
  196. package/dist/icons/components/16px/Contracts16pxF.js +29 -31
  197. package/dist/icons/components/16px/CopyClipboard16px.js +23 -25
  198. package/dist/icons/components/16px/Done16px.js +20 -22
  199. package/dist/icons/components/16px/Download16px.js +27 -29
  200. package/dist/icons/components/16px/DragHandle16px.js +18 -20
  201. package/dist/icons/components/16px/DragHandleHorizontal16px.js +18 -20
  202. package/dist/icons/components/16px/DragHandleVertical16px.js +18 -20
  203. package/dist/icons/components/16px/DropdownArrowBottom16px.js +20 -22
  204. package/dist/icons/components/16px/DropdownArrowLeft16px.js +20 -22
  205. package/dist/icons/components/16px/DropdownArrowRight16px.js +20 -22
  206. package/dist/icons/components/16px/DropdownArrowUp16px.js +20 -22
  207. package/dist/icons/components/16px/Dzen16px.js +18 -20
  208. package/dist/icons/components/16px/Euro16px.js +21 -23
  209. package/dist/icons/components/16px/Eye16px.js +31 -33
  210. package/dist/icons/components/16px/Failure16px.js +23 -25
  211. package/dist/icons/components/16px/Favorite16px.js +20 -22
  212. package/dist/icons/components/16px/Favorite16pxF.js +18 -20
  213. package/dist/icons/components/16px/Filter16px.js +20 -22
  214. package/dist/icons/components/16px/Flag16pxF.js +12 -14
  215. package/dist/icons/components/16px/Folder16px.js +20 -22
  216. package/dist/icons/components/16px/Fullscreen16px.js +20 -22
  217. package/dist/icons/components/16px/Galery16px.js +23 -25
  218. package/dist/icons/components/16px/Gear16px.js +31 -33
  219. package/dist/icons/components/16px/Gift16px.js +29 -31
  220. package/dist/icons/components/16px/Hint16px.js +21 -23
  221. package/dist/icons/components/16px/Home16px.js +29 -31
  222. package/dist/icons/components/16px/Home16pxF.js +20 -22
  223. package/dist/icons/components/16px/Hot16pxF.js +18 -20
  224. package/dist/icons/components/16px/Kebab16px.js +12 -14
  225. package/dist/icons/components/16px/List16px.js +18 -20
  226. package/dist/icons/components/16px/Location16px.js +31 -33
  227. package/dist/icons/components/16px/Map16px.js +20 -22
  228. package/dist/icons/components/16px/Menu16px.js +18 -20
  229. package/dist/icons/components/16px/MenuMobile16px.js +20 -22
  230. package/dist/icons/components/16px/Minus16px.js +12 -14
  231. package/dist/icons/components/16px/Navigation16px.js +20 -22
  232. package/dist/icons/components/16px/News16px.js +29 -31
  233. package/dist/icons/components/16px/News16pxF.js +20 -22
  234. package/dist/icons/components/16px/Number16px.js +29 -31
  235. package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +18 -20
  236. package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +18 -20
  237. package/dist/icons/components/16px/Orders16px.js +29 -31
  238. package/dist/icons/components/16px/Orders16pxF.js +23 -25
  239. package/dist/icons/components/16px/Pause16px.js +12 -14
  240. package/dist/icons/components/16px/Pen16px.js +31 -33
  241. package/dist/icons/components/16px/Pen16pxF.js +20 -22
  242. package/dist/icons/components/16px/Phone16px.js +20 -22
  243. package/dist/icons/components/16px/Play16pxF.js +18 -20
  244. package/dist/icons/components/16px/Plus16px.js +20 -22
  245. package/dist/icons/components/16px/Pound16px.js +21 -23
  246. package/dist/icons/components/16px/PriceDown16px.js +31 -33
  247. package/dist/icons/components/16px/PriceUp16px.js +31 -33
  248. package/dist/icons/components/16px/Question16px.js +20 -22
  249. package/dist/icons/components/16px/Question16pxF.js +20 -22
  250. package/dist/icons/components/16px/Rutube16px.js +18 -20
  251. package/dist/icons/components/16px/Scan16px.js +18 -20
  252. package/dist/icons/components/16px/Search16px.js +20 -22
  253. package/dist/icons/components/16px/Share16pxF.js +18 -20
  254. package/dist/icons/components/16px/ShopingCard16px.js +20 -22
  255. package/dist/icons/components/16px/Sort16px.js +20 -22
  256. package/dist/icons/components/16px/Star16px.js +20 -22
  257. package/dist/icons/components/16px/Star16pxF.js +18 -20
  258. package/dist/icons/components/16px/StarHalf16pxF.js +20 -22
  259. package/dist/icons/components/16px/Telegram16pxF.js +18 -20
  260. package/dist/icons/components/16px/TelegramPlane16pxF.js +18 -20
  261. package/dist/icons/components/16px/Timer16px.js +36 -38
  262. package/dist/icons/components/16px/Trash16px.js +20 -22
  263. package/dist/icons/components/16px/TwinArrowLeft16px.js +18 -20
  264. package/dist/icons/components/16px/TwinArrowRight16px.js +18 -20
  265. package/dist/icons/components/16px/USDollar16px.js +21 -23
  266. package/dist/icons/components/16px/Umbrella16px.js +20 -22
  267. package/dist/icons/components/16px/Umbrella16pxF.js +18 -20
  268. package/dist/icons/components/16px/UnionIcon16px.js +20 -22
  269. package/dist/icons/components/16px/User16px.js +29 -31
  270. package/dist/icons/components/16px/User16pxF.js +18 -20
  271. package/dist/icons/components/16px/Users16px.js +29 -31
  272. package/dist/icons/components/16px/Users16pxF.js +18 -20
  273. package/dist/icons/components/16px/VK16pxF.js +20 -22
  274. package/dist/icons/components/16px/Waiting16px.js +20 -22
  275. package/dist/icons/components/16px/Whatsapp16px.js +29 -31
  276. package/dist/icons/components/16px/WriteUs16px.js +23 -25
  277. package/dist/icons/components/16px/Youtube16pxF.js +18 -20
  278. package/dist/icons/components/16px/Yuan16px.js +21 -23
  279. package/dist/icons/components/24px/Accept24px.js +25 -27
  280. package/dist/icons/components/24px/Acts24px.js +37 -39
  281. package/dist/icons/components/24px/Acts24pxF.js +30 -32
  282. package/dist/icons/components/24px/AdditionalServicess24px.js +30 -32
  283. package/dist/icons/components/24px/AdditionalServicess24pxF.js +19 -21
  284. package/dist/icons/components/24px/Agents24px.js +21 -23
  285. package/dist/icons/components/24px/Agents24pxF.js +28 -30
  286. package/dist/icons/components/24px/Alarm24px.js +22 -24
  287. package/dist/icons/components/24px/ArrowDown24px.js +21 -23
  288. package/dist/icons/components/24px/ArrowLeft24px.js +21 -23
  289. package/dist/icons/components/24px/ArrowRight24px.js +21 -23
  290. package/dist/icons/components/24px/ArrowUp24px.js +21 -23
  291. package/dist/icons/components/24px/ArrowUpright24px.js +21 -23
  292. package/dist/icons/components/24px/AttachFile24px.js +21 -23
  293. package/dist/icons/components/24px/Bell24px.js +41 -43
  294. package/dist/icons/components/24px/Bell24pxF.js +24 -26
  295. package/dist/icons/components/24px/Calculator24px.js +21 -23
  296. package/dist/icons/components/24px/CalculatorLkk24px.js +30 -32
  297. package/dist/icons/components/24px/CalculatorLkk24pxF.js +21 -23
  298. package/dist/icons/components/24px/Calendar24px.js +21 -23
  299. package/dist/icons/components/24px/Camera24px.js +21 -23
  300. package/dist/icons/components/24px/Car24px.js +32 -34
  301. package/dist/icons/components/24px/Car24pxF.js +30 -32
  302. package/dist/icons/components/24px/Catalog24px.js +21 -23
  303. package/dist/icons/components/24px/Certs24px.js +30 -32
  304. package/dist/icons/components/24px/Certs24pxF.js +30 -32
  305. package/dist/icons/components/24px/Change24px.js +21 -23
  306. package/dist/icons/components/24px/Chat24px.js +26 -28
  307. package/dist/icons/components/24px/Chat24pxF.js +21 -23
  308. package/dist/icons/components/24px/Chatbot24px.js +261 -263
  309. package/dist/icons/components/24px/Close24px.js +21 -23
  310. package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +21 -23
  311. package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +19 -21
  312. package/dist/icons/components/24px/Coin24px.js +22 -24
  313. package/dist/icons/components/24px/Coin24pxF.js +39 -41
  314. package/dist/icons/components/24px/Contracts24px.js +32 -34
  315. package/dist/icons/components/24px/Contracts24pxF.js +30 -32
  316. package/dist/icons/components/24px/CopyClipboard24px.js +24 -26
  317. package/dist/icons/components/24px/Done24px.js +21 -23
  318. package/dist/icons/components/24px/Download24px.js +28 -30
  319. package/dist/icons/components/24px/DragHandle24px.js +19 -21
  320. package/dist/icons/components/24px/DragHandleHorizontal24px.js +19 -21
  321. package/dist/icons/components/24px/DragHandleVertical24px.js +19 -21
  322. package/dist/icons/components/24px/DropdownArrowDown24px.js +21 -23
  323. package/dist/icons/components/24px/DropdownArrowLeft24px.js +21 -23
  324. package/dist/icons/components/24px/DropdownArrowRight24px.js +21 -23
  325. package/dist/icons/components/24px/DropdownArrowUp24px.js +21 -23
  326. package/dist/icons/components/24px/Dzen24px.js +19 -21
  327. package/dist/icons/components/24px/Euro24px.js +22 -24
  328. package/dist/icons/components/24px/Eye24px.js +32 -34
  329. package/dist/icons/components/24px/Failure24px.js +24 -26
  330. package/dist/icons/components/24px/Favorite24px.js +21 -23
  331. package/dist/icons/components/24px/Favorite24pxF.js +19 -21
  332. package/dist/icons/components/24px/Filter24px.js +19 -21
  333. package/dist/icons/components/24px/Flag24pxF.js +13 -15
  334. package/dist/icons/components/24px/Folder24px.js +21 -23
  335. package/dist/icons/components/24px/Fullscreen24px.js +21 -23
  336. package/dist/icons/components/24px/Galery24px.js +24 -26
  337. package/dist/icons/components/24px/Gear24px.js +32 -34
  338. package/dist/icons/components/24px/Gift24px.js +21 -23
  339. package/dist/icons/components/24px/Hint24px.js +24 -26
  340. package/dist/icons/components/24px/Home24px.js +32 -34
  341. package/dist/icons/components/24px/Home24pxF.js +21 -23
  342. package/dist/icons/components/24px/Hot24pxF.js +19 -21
  343. package/dist/icons/components/24px/Improvements24px.js +39 -41
  344. package/dist/icons/components/24px/Improvements24pxF.js +33 -35
  345. package/dist/icons/components/24px/Kebab24px.js +19 -21
  346. package/dist/icons/components/24px/List24px.js +19 -21
  347. package/dist/icons/components/24px/Location24px.js +32 -34
  348. package/dist/icons/components/24px/Map24px.js +21 -23
  349. package/dist/icons/components/24px/Menu24px.js +19 -21
  350. package/dist/icons/components/24px/MenuMobile24px.js +21 -23
  351. package/dist/icons/components/24px/Minus24px.js +21 -23
  352. package/dist/icons/components/24px/Navigation24px.js +21 -23
  353. package/dist/icons/components/24px/News24px.js +30 -32
  354. package/dist/icons/components/24px/News24pxF.js +21 -23
  355. package/dist/icons/components/24px/Number24px.js +30 -32
  356. package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +19 -21
  357. package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +21 -23
  358. package/dist/icons/components/24px/Orders24px.js +30 -32
  359. package/dist/icons/components/24px/Orders24pxF.js +24 -26
  360. package/dist/icons/components/24px/Pause24px.js +13 -15
  361. package/dist/icons/components/24px/Pen24px.js +32 -34
  362. package/dist/icons/components/24px/Pen24pxF.js +21 -23
  363. package/dist/icons/components/24px/Phone24px.js +21 -23
  364. package/dist/icons/components/24px/Play24px.js +19 -21
  365. package/dist/icons/components/24px/Plus24px.js +21 -23
  366. package/dist/icons/components/24px/Pound24px.js +22 -24
  367. package/dist/icons/components/24px/PriceDown24px.js +30 -32
  368. package/dist/icons/components/24px/PriceUp24px.js +30 -32
  369. package/dist/icons/components/24px/Question24px.js +30 -32
  370. package/dist/icons/components/24px/Question24pxF.js +21 -23
  371. package/dist/icons/components/24px/Rutube24px.js +19 -21
  372. package/dist/icons/components/24px/Scan24px.js +19 -21
  373. package/dist/icons/components/24px/Search24px.js +21 -23
  374. package/dist/icons/components/24px/Share24pxF.js +19 -21
  375. package/dist/icons/components/24px/ShopingCard24px.js +21 -23
  376. package/dist/icons/components/24px/Sort24px.js +19 -21
  377. package/dist/icons/components/24px/Star24px.js +21 -23
  378. package/dist/icons/components/24px/Star24pxF.js +19 -21
  379. package/dist/icons/components/24px/StarHalf24pxF.js +21 -23
  380. package/dist/icons/components/24px/Telegram24pxF.js +19 -21
  381. package/dist/icons/components/24px/TelegramPlane24pxF.js +19 -21
  382. package/dist/icons/components/24px/Timer24px.js +37 -39
  383. package/dist/icons/components/24px/Trash24px.js +41 -43
  384. package/dist/icons/components/24px/TwinArrowLeft24px.js +19 -21
  385. package/dist/icons/components/24px/TwinArrowRight24px.js +21 -23
  386. package/dist/icons/components/24px/USDollar24px.js +22 -24
  387. package/dist/icons/components/24px/Umbrella24px.js +21 -23
  388. package/dist/icons/components/24px/Umbrella24pxF.js +19 -21
  389. package/dist/icons/components/24px/UnionIcon24px.js +21 -23
  390. package/dist/icons/components/24px/User24px.js +30 -32
  391. package/dist/icons/components/24px/User24pxF.js +19 -21
  392. package/dist/icons/components/24px/Users24px.js +21 -23
  393. package/dist/icons/components/24px/Users24pxF.js +28 -30
  394. package/dist/icons/components/24px/VK24pxF.js +21 -23
  395. package/dist/icons/components/24px/Waiting24px.js +21 -23
  396. package/dist/icons/components/24px/Whatsapp24px.js +30 -32
  397. package/dist/icons/components/24px/WriteUs24px.js +24 -26
  398. package/dist/icons/components/24px/Youtube24pxF.js +19 -21
  399. package/dist/icons/components/24px/Yuan24px.js +22 -24
  400. package/dist/icons/components/32px/Accept32px.js +24 -26
  401. package/dist/icons/components/32px/Acts32px.js +37 -39
  402. package/dist/icons/components/32px/AdditionalServicess32px.js +21 -23
  403. package/dist/icons/components/32px/AdditionalServicess32pxF.js +19 -21
  404. package/dist/icons/components/32px/Agents32px.js +33 -35
  405. package/dist/icons/components/32px/Alarm32px.js +22 -24
  406. package/dist/icons/components/32px/ArrowDown32px.js +21 -23
  407. package/dist/icons/components/32px/ArrowLeft32px.js +21 -23
  408. package/dist/icons/components/32px/ArrowRight32px.js +21 -23
  409. package/dist/icons/components/32px/ArrowUp32px.js +21 -23
  410. package/dist/icons/components/32px/ArrowUpright32px.js +21 -23
  411. package/dist/icons/components/32px/AttachFile32px.js +21 -23
  412. package/dist/icons/components/32px/Bell32px.js +41 -43
  413. package/dist/icons/components/32px/Bell32pxF.js +24 -26
  414. package/dist/icons/components/32px/Calculator32px.js +21 -23
  415. package/dist/icons/components/32px/CalculatorLkk32px.js +30 -32
  416. package/dist/icons/components/32px/CalculatorLkk32pxF.js +21 -23
  417. package/dist/icons/components/32px/Calendar32px.js +21 -23
  418. package/dist/icons/components/32px/Camera32px.js +33 -35
  419. package/dist/icons/components/32px/Car32px.js +32 -34
  420. package/dist/icons/components/32px/Car32pxF.js +24 -26
  421. package/dist/icons/components/32px/Catalog32px.js +21 -23
  422. package/dist/icons/components/32px/Certs32px.js +30 -32
  423. package/dist/icons/components/32px/Certs32pxF.js +30 -32
  424. package/dist/icons/components/32px/Change32px.js +21 -23
  425. package/dist/icons/components/32px/Chat32px.js +30 -32
  426. package/dist/icons/components/32px/Chat32pxF.js +21 -23
  427. package/dist/icons/components/32px/Chatbot32px.js +261 -263
  428. package/dist/icons/components/32px/Close32px.js +21 -23
  429. package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +19 -21
  430. package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +19 -21
  431. package/dist/icons/components/32px/Coin32px.js +32 -34
  432. package/dist/icons/components/32px/Coin32pxF.js +30 -32
  433. package/dist/icons/components/32px/Contracts32px.js +32 -34
  434. package/dist/icons/components/32px/Contracts32pxF.js +30 -32
  435. package/dist/icons/components/32px/CopyClipboard32px.js +30 -32
  436. package/dist/icons/components/32px/Done32px.js +21 -23
  437. package/dist/icons/components/32px/Download32px.js +28 -30
  438. package/dist/icons/components/32px/DragHandle32px.js +19 -21
  439. package/dist/icons/components/32px/DragHandleHorizontal32px.js +19 -21
  440. package/dist/icons/components/32px/DragHandleVertical32px.js +19 -21
  441. package/dist/icons/components/32px/DropdownArrowDown32px.js +21 -23
  442. package/dist/icons/components/32px/DropdownArrowLeft32px.js +21 -23
  443. package/dist/icons/components/32px/DropdownArrowRight32px.js +21 -23
  444. package/dist/icons/components/32px/DropdownArrowUp32px.js +13 -15
  445. package/dist/icons/components/32px/Dzen32px.js +19 -21
  446. package/dist/icons/components/32px/Euro32px.js +22 -24
  447. package/dist/icons/components/32px/Eye32px.js +32 -34
  448. package/dist/icons/components/32px/Failure32px.js +24 -26
  449. package/dist/icons/components/32px/Favorite32px.js +21 -23
  450. package/dist/icons/components/32px/Favorite32pxF.js +19 -21
  451. package/dist/icons/components/32px/Filter32px.js +19 -21
  452. package/dist/icons/components/32px/Flag32pxF.js +13 -15
  453. package/dist/icons/components/32px/Folder32px.js +21 -23
  454. package/dist/icons/components/32px/Fullscreen32px.js +21 -23
  455. package/dist/icons/components/32px/Galery32px.js +24 -26
  456. package/dist/icons/components/32px/Gear32px.js +32 -34
  457. package/dist/icons/components/32px/Gift32px.js +21 -23
  458. package/dist/icons/components/32px/Hint32px.js +24 -26
  459. package/dist/icons/components/32px/Home32px.js +24 -26
  460. package/dist/icons/components/32px/Home32pxF.js +21 -23
  461. package/dist/icons/components/32px/Hot32pxF.js +19 -21
  462. package/dist/icons/components/32px/Kebab32px.js +13 -15
  463. package/dist/icons/components/32px/List32px.js +19 -21
  464. package/dist/icons/components/32px/Location32px.js +32 -34
  465. package/dist/icons/components/32px/Map32px.js +21 -23
  466. package/dist/icons/components/32px/Menu32px.js +19 -21
  467. package/dist/icons/components/32px/MenuMobile32px.js +21 -23
  468. package/dist/icons/components/32px/Minus32px.js +21 -23
  469. package/dist/icons/components/32px/Navigation32px.js +21 -23
  470. package/dist/icons/components/32px/News32px.js +30 -32
  471. package/dist/icons/components/32px/News32pxF.js +21 -23
  472. package/dist/icons/components/32px/Number32px.js +30 -32
  473. package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +19 -21
  474. package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +21 -23
  475. package/dist/icons/components/32px/Orders32px.js +39 -41
  476. package/dist/icons/components/32px/Orders32pxF.js +30 -32
  477. package/dist/icons/components/32px/Pause32px.js +13 -15
  478. package/dist/icons/components/32px/Pen32px.js +20 -22
  479. package/dist/icons/components/32px/Pen32pxF.js +21 -23
  480. package/dist/icons/components/32px/PersonalManager32px.js +108 -110
  481. package/dist/icons/components/32px/Phone32px.js +19 -21
  482. package/dist/icons/components/32px/Play32px.js +19 -21
  483. package/dist/icons/components/32px/Plus32px.js +21 -23
  484. package/dist/icons/components/32px/Pound32px.js +22 -24
  485. package/dist/icons/components/32px/PriceDown32px.js +41 -43
  486. package/dist/icons/components/32px/PriceUp32px.js +32 -34
  487. package/dist/icons/components/32px/Question32px.js +30 -32
  488. package/dist/icons/components/32px/Question32pxF.js +21 -23
  489. package/dist/icons/components/32px/Rutube32px.js +19 -21
  490. package/dist/icons/components/32px/Scan32px.js +19 -21
  491. package/dist/icons/components/32px/Search32px.js +21 -23
  492. package/dist/icons/components/32px/Share32pxF.js +19 -21
  493. package/dist/icons/components/32px/ShopimgCard32px.js +21 -23
  494. package/dist/icons/components/32px/Sort32px.js +19 -21
  495. package/dist/icons/components/32px/Star32px.js +21 -23
  496. package/dist/icons/components/32px/Star32pxF.js +19 -21
  497. package/dist/icons/components/32px/StarHalf32pxF.js +21 -23
  498. package/dist/icons/components/32px/Telegram32pxF.js +19 -21
  499. package/dist/icons/components/32px/TelegramPlane32pxF.js +19 -21
  500. package/dist/icons/components/32px/Timer32px.js +31 -33
  501. package/dist/icons/components/32px/Trash32px.js +41 -43
  502. package/dist/icons/components/32px/TwinArrowLeft32px.js +19 -21
  503. package/dist/icons/components/32px/TwinArrowRight32px.js +19 -21
  504. package/dist/icons/components/32px/USDollar32px.js +22 -24
  505. package/dist/icons/components/32px/Umbrella32px.js +21 -23
  506. package/dist/icons/components/32px/Umbrella32pxF.js +21 -23
  507. package/dist/icons/components/32px/UnionIcon32px.js +21 -23
  508. package/dist/icons/components/32px/User32px.js +30 -32
  509. package/dist/icons/components/32px/User32pxF.js +19 -21
  510. package/dist/icons/components/32px/Users32px.js +21 -23
  511. package/dist/icons/components/32px/Users32pxF.js +22 -24
  512. package/dist/icons/components/32px/VK32pxF.js +21 -23
  513. package/dist/icons/components/32px/Waiting32px.js +21 -23
  514. package/dist/icons/components/32px/Whatsapp32px.js +30 -32
  515. package/dist/icons/components/32px/WriteUs32px.js +24 -26
  516. package/dist/icons/components/32px/Youtube32pxF.js +19 -21
  517. package/dist/icons/components/32px/Yuan32px.js +22 -24
  518. package/dist/icons/components/Mans.js +5 -5
  519. package/dist/icons/components/Step.js +5 -5
  520. package/dist/icons/components/StepXL.js +7 -7
  521. package/dist/icons/components/auto-logo/ACE.js +19 -21
  522. package/dist/icons/components/auto-logo/Alim.js +21 -23
  523. package/dist/icons/components/auto-logo/Amur.js +21 -23
  524. package/dist/icons/components/auto-logo/Ankai.js +21 -23
  525. package/dist/icons/components/auto-logo/ArrowLength.js +19 -21
  526. package/dist/icons/components/auto-logo/Audi.js +18 -20
  527. package/dist/icons/components/auto-logo/BMW.js +39 -41
  528. package/dist/icons/components/auto-logo/BRP.js +30 -32
  529. package/dist/icons/components/auto-logo/Bomag.js +30 -32
  530. package/dist/icons/components/auto-logo/Case.js +21 -23
  531. package/dist/icons/components/auto-logo/Caterpillar.js +35 -37
  532. package/dist/icons/components/auto-logo/ChMZAP.js +44 -46
  533. package/dist/icons/components/auto-logo/ChTZ.js +30 -32
  534. package/dist/icons/components/auto-logo/Changan.js +19 -21
  535. package/dist/icons/components/auto-logo/Cherry.js +30 -32
  536. package/dist/icons/components/auto-logo/Citroen.js +21 -23
  537. package/dist/icons/components/auto-logo/DaewooFull.js +56 -58
  538. package/dist/icons/components/auto-logo/DaewooSymbol.js +49 -51
  539. package/dist/icons/components/auto-logo/Daf.js +21 -23
  540. package/dist/icons/components/auto-logo/Dayun.js +21 -23
  541. package/dist/icons/components/auto-logo/DongFeng.js +21 -23
  542. package/dist/icons/components/auto-logo/Ducati.js +30 -32
  543. package/dist/icons/components/auto-logo/Exeed.js +30 -32
  544. package/dist/icons/components/auto-logo/Faw.js +32 -34
  545. package/dist/icons/components/auto-logo/Fenix.js +112 -114
  546. package/dist/icons/components/auto-logo/Fiat.js +35 -37
  547. package/dist/icons/components/auto-logo/Ford.js +39 -41
  548. package/dist/icons/components/auto-logo/Foton.js +30 -32
  549. package/dist/icons/components/auto-logo/Gac.js +19 -21
  550. package/dist/icons/components/auto-logo/Gaz.js +57 -59
  551. package/dist/icons/components/auto-logo/Geely.js +23 -25
  552. package/dist/icons/components/auto-logo/Genesis.js +28 -30
  553. package/dist/icons/components/auto-logo/Gitte.js +21 -23
  554. package/dist/icons/components/auto-logo/Grunwald.js +21 -23
  555. package/dist/icons/components/auto-logo/HartungFull.js +30 -32
  556. package/dist/icons/components/auto-logo/HartungSymbol.js +30 -32
  557. package/dist/icons/components/auto-logo/Haval.js +21 -23
  558. package/dist/icons/components/auto-logo/Higer.js +21 -23
  559. package/dist/icons/components/auto-logo/Hitachi.js +19 -21
  560. package/dist/icons/components/auto-logo/Honda.js +35 -37
  561. package/dist/icons/components/auto-logo/Hongqi.js +28 -30
  562. package/dist/icons/components/auto-logo/Hongyan.js +21 -23
  563. package/dist/icons/components/auto-logo/Howo.js +44 -46
  564. package/dist/icons/components/auto-logo/Hyundai.js +21 -23
  565. package/dist/icons/components/auto-logo/Infiniti.js +19 -21
  566. package/dist/icons/components/auto-logo/Isuzu.js +21 -23
  567. package/dist/icons/components/auto-logo/Iveco.js +21 -23
  568. package/dist/icons/components/auto-logo/JCB.js +30 -32
  569. package/dist/icons/components/auto-logo/Jac.js +19 -21
  570. package/dist/icons/components/auto-logo/Juterborg.js +55 -57
  571. package/dist/icons/components/auto-logo/KIA.js +21 -23
  572. package/dist/icons/components/auto-logo/Kaiyi.js +21 -23
  573. package/dist/icons/components/auto-logo/Kamaz.js +33 -35
  574. package/dist/icons/components/auto-logo/Kassbohrer.js +21 -23
  575. package/dist/icons/components/auto-logo/Komatsu.js +19 -21
  576. package/dist/icons/components/auto-logo/Ktm.js +19 -21
  577. package/dist/icons/components/auto-logo/LCCE.js +35 -37
  578. package/dist/icons/components/auto-logo/Lada.js +21 -23
  579. package/dist/icons/components/auto-logo/Lexus.js +21 -23
  580. package/dist/icons/components/auto-logo/LiuGong.js +28 -30
  581. package/dist/icons/components/auto-logo/Lonking.js +28 -30
  582. package/dist/icons/components/auto-logo/Lovol.js +19 -21
  583. package/dist/icons/components/auto-logo/MTZBelarus.js +32 -34
  584. package/dist/icons/components/auto-logo/Man.js +19 -21
  585. package/dist/icons/components/auto-logo/Maz.js +30 -32
  586. package/dist/icons/components/auto-logo/MercedesBenz.js +21 -23
  587. package/dist/icons/components/auto-logo/Meusburger.js +21 -23
  588. package/dist/icons/components/auto-logo/Mitsubishi.js +19 -21
  589. package/dist/icons/components/auto-logo/NefAZ.js +28 -30
  590. package/dist/icons/components/auto-logo/NursanTrailer.js +19 -21
  591. package/dist/icons/components/auto-logo/Omoda.js +35 -37
  592. package/dist/icons/components/auto-logo/PSATss.js +35 -37
  593. package/dist/icons/components/auto-logo/Paz.js +21 -23
  594. package/dist/icons/components/auto-logo/Peugeot.js +19 -21
  595. package/dist/icons/components/auto-logo/Raskat.js +35 -37
  596. package/dist/icons/components/auto-logo/Renault.js +28 -30
  597. package/dist/icons/components/auto-logo/RussianCarsEmblem.js +30 -32
  598. package/dist/icons/components/auto-logo/RussianCarsKremlin.js +39 -41
  599. package/dist/icons/components/auto-logo/Sany.js +48 -50
  600. package/dist/icons/components/auto-logo/Scania.js +55 -57
  601. package/dist/icons/components/auto-logo/Schmitz.js +21 -23
  602. package/dist/icons/components/auto-logo/Shacman.js +28 -30
  603. package/dist/icons/components/auto-logo/Shantui.js +19 -21
  604. package/dist/icons/components/auto-logo/Sinanli.js +69 -71
  605. package/dist/icons/components/auto-logo/Sitrak.js +32 -34
  606. package/dist/icons/components/auto-logo/SobolIztechmash.js +58 -60
  607. package/dist/icons/components/auto-logo/Sokol.js +19 -21
  608. package/dist/icons/components/auto-logo/Sollers.js +21 -23
  609. package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +19 -21
  610. package/dist/icons/components/auto-logo/Tonar.js +21 -23
  611. package/dist/icons/components/auto-logo/Toyota.js +19 -21
  612. package/dist/icons/components/auto-logo/Trekol.js +32 -34
  613. package/dist/icons/components/auto-logo/UAT.js +19 -21
  614. package/dist/icons/components/auto-logo/Uaz.js +68 -70
  615. package/dist/icons/components/auto-logo/Ural.js +19 -21
  616. package/dist/icons/components/auto-logo/VIS.js +19 -21
  617. package/dist/icons/components/auto-logo/VKR.js +30 -32
  618. package/dist/icons/components/auto-logo/Volkswagen.js +21 -23
  619. package/dist/icons/components/auto-logo/Volvo.js +19 -21
  620. package/dist/icons/components/auto-logo/Wielton.js +19 -21
  621. package/dist/icons/components/auto-logo/XCMG.js +35 -37
  622. package/dist/icons/components/auto-logo/Yutong.js +70 -72
  623. package/dist/icons/components/auto-logo/Zoomlion.js +19 -21
  624. package/dist/icons/components/car-icons/AllMetal.js +30 -32
  625. package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +30 -32
  626. package/dist/icons/components/car-icons/AsphaltPaver.js +33 -35
  627. package/dist/icons/components/car-icons/Autotower.js +30 -32
  628. package/dist/icons/components/car-icons/Awning.js +31 -33
  629. package/dist/icons/components/car-icons/BackhoeLoader.js +37 -39
  630. package/dist/icons/components/car-icons/Buggy.js +30 -32
  631. package/dist/icons/components/car-icons/Bulldozer.js +32 -34
  632. package/dist/icons/components/car-icons/Bus.js +21 -23
  633. package/dist/icons/components/car-icons/BusBus.js +30 -32
  634. package/dist/icons/components/car-icons/BusMinibus.js +30 -32
  635. package/dist/icons/components/car-icons/BusShiftBuses.js +40 -42
  636. package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +37 -39
  637. package/dist/icons/components/car-icons/CargoAutotower.js +30 -32
  638. package/dist/icons/components/car-icons/CargoAwning.js +37 -39
  639. package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +37 -39
  640. package/dist/icons/components/car-icons/CargoDrillingRig.js +30 -32
  641. package/dist/icons/components/car-icons/CargoDumpTruck.js +37 -39
  642. package/dist/icons/components/car-icons/CargoGarbageTruck.js +37 -39
  643. package/dist/icons/components/car-icons/CargoGrainCarrier.js +37 -39
  644. package/dist/icons/components/car-icons/CargoIsothermal.js +37 -39
  645. package/dist/icons/components/car-icons/CargoOnBoard.js +37 -39
  646. package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +37 -39
  647. package/dist/icons/components/car-icons/CargoPromotionalItem.js +37 -39
  648. package/dist/icons/components/car-icons/CargoSortingTruck.js +37 -39
  649. package/dist/icons/components/car-icons/CargoTankerTruck.js +37 -39
  650. package/dist/icons/components/car-icons/CargoTowTruck.js +30 -32
  651. package/dist/icons/components/car-icons/CargoTruckCrane.js +39 -41
  652. package/dist/icons/components/car-icons/CargoVacuumMachine.js +30 -32
  653. package/dist/icons/components/car-icons/Clearance.js +21 -23
  654. package/dist/icons/components/car-icons/CombineHarvester.js +37 -39
  655. package/dist/icons/components/car-icons/Compartment.js +30 -32
  656. package/dist/icons/components/car-icons/ConcreteMixerTruck.js +37 -39
  657. package/dist/icons/components/car-icons/ConcretePump.js +38 -40
  658. package/dist/icons/components/car-icons/Crossover.js +30 -32
  659. package/dist/icons/components/car-icons/DrillingRigg.js +30 -32
  660. package/dist/icons/components/car-icons/DumpTruck.js +37 -39
  661. package/dist/icons/components/car-icons/Excavator.js +21 -23
  662. package/dist/icons/components/car-icons/ForestPreparationEquipment.js +37 -39
  663. package/dist/icons/components/car-icons/ForkliftTruck.js +30 -32
  664. package/dist/icons/components/car-icons/FrontLoader.js +37 -39
  665. package/dist/icons/components/car-icons/Hatchback.js +30 -32
  666. package/dist/icons/components/car-icons/IceRink.js +32 -34
  667. package/dist/icons/components/car-icons/Isothermal.js +37 -39
  668. package/dist/icons/components/car-icons/Liftback.js +21 -23
  669. package/dist/icons/components/car-icons/MiniEscalator.js +39 -41
  670. package/dist/icons/components/car-icons/MiniLoader.js +30 -32
  671. package/dist/icons/components/car-icons/MiningDumpTruck.js +37 -39
  672. package/dist/icons/components/car-icons/Minitractor.js +30 -32
  673. package/dist/icons/components/car-icons/Minivan.js +30 -32
  674. package/dist/icons/components/car-icons/MotorGrader.js +30 -32
  675. package/dist/icons/components/car-icons/MotorVehiclesBike.js +22 -24
  676. package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +28 -30
  677. package/dist/icons/components/car-icons/OffRoadVehicle.js +30 -32
  678. package/dist/icons/components/car-icons/OnBoard.js +37 -39
  679. package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +37 -39
  680. package/dist/icons/components/car-icons/OnBoardWithCmu.js +37 -39
  681. package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +46 -48
  682. package/dist/icons/components/car-icons/OtherCareerTechniques.js +37 -39
  683. package/dist/icons/components/car-icons/Pickup.js +21 -23
  684. package/dist/icons/components/car-icons/PickupTruck.js +30 -32
  685. package/dist/icons/components/car-icons/PilingInstallation.js +32 -34
  686. package/dist/icons/components/car-icons/PromotionalItem.js +37 -39
  687. package/dist/icons/components/car-icons/PublicUtilityVehicle.js +44 -46
  688. package/dist/icons/components/car-icons/QuarryExcavator.js +24 -26
  689. package/dist/icons/components/car-icons/Scooter.js +28 -30
  690. package/dist/icons/components/car-icons/Sedan.js +30 -32
  691. package/dist/icons/components/car-icons/Snowmobile.js +37 -39
  692. package/dist/icons/components/car-icons/TankerTruck.js +37 -39
  693. package/dist/icons/components/car-icons/TelescopicLoader.js +30 -32
  694. package/dist/icons/components/car-icons/TheLift.js +35 -37
  695. package/dist/icons/components/car-icons/TowTruck.js +30 -32
  696. package/dist/icons/components/car-icons/Tractor.js +30 -32
  697. package/dist/icons/components/car-icons/TractorTruck.js +37 -39
  698. package/dist/icons/components/car-icons/Trailerr.js +21 -23
  699. package/dist/icons/components/car-icons/TrailersCarCarrier.js +39 -41
  700. package/dist/icons/components/car-icons/TrailersCattleTruck.js +30 -32
  701. package/dist/icons/components/car-icons/TrailersContainerShip.js +38 -40
  702. package/dist/icons/components/car-icons/TrailersCurtainSide.js +37 -39
  703. package/dist/icons/components/car-icons/TrailersDumpTruck.js +37 -39
  704. package/dist/icons/components/car-icons/TrailersGrainTruck.js +37 -39
  705. package/dist/icons/components/car-icons/TrailersHeavyTruck.js +37 -39
  706. package/dist/icons/components/car-icons/TrailersIsothermal.js +37 -39
  707. package/dist/icons/components/car-icons/TrailersOther.js +37 -39
  708. package/dist/icons/components/car-icons/TrailersTankerTruck.js +37 -39
  709. package/dist/icons/components/car-icons/TruckCrane.js +39 -41
  710. package/dist/icons/components/car-icons/Universal.js +30 -32
  711. package/dist/icons/components/car-icons/Van.js +21 -23
  712. package/dist/icons/components/car-icons/Ycles.js +40 -42
  713. package/dist/icons/components/car-parameters-icons/Acceleration.js +30 -32
  714. package/dist/icons/components/car-parameters-icons/Berths.js +35 -37
  715. package/dist/icons/components/car-parameters-icons/Bucket.js +19 -21
  716. package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +21 -23
  717. package/dist/icons/components/car-parameters-icons/BucketVolume.js +28 -30
  718. package/dist/icons/components/car-parameters-icons/CabinTurn.js +30 -32
  719. package/dist/icons/components/car-parameters-icons/CarBodySize.js +30 -32
  720. package/dist/icons/components/car-parameters-icons/CarBodyType.js +21 -23
  721. package/dist/icons/components/car-parameters-icons/CarColor.js +30 -32
  722. package/dist/icons/components/car-parameters-icons/Cylinders.js +33 -35
  723. package/dist/icons/components/car-parameters-icons/Dimensions.js +30 -32
  724. package/dist/icons/components/car-parameters-icons/EngineType.js +19 -21
  725. package/dist/icons/components/car-parameters-icons/FuelConsumption.js +19 -21
  726. package/dist/icons/components/car-parameters-icons/GearType.js +22 -24
  727. package/dist/icons/components/car-parameters-icons/LiftingHeight.js +19 -21
  728. package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +21 -23
  729. package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +21 -23
  730. package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +19 -21
  731. package/dist/icons/components/car-parameters-icons/TrailerType.js +28 -30
  732. package/dist/icons/components/car-parameters-icons/UnloadingType.js +28 -30
  733. package/dist/icons/components/car-parameters-icons/Weight.js +32 -34
  734. package/dist/icons/components/car-parameters-icons/WheelDriveType.js +28 -30
  735. package/dist/icons/components/car-parameters-icons/WheelSheme.js +30 -32
  736. package/dist/icons/components/cars-stubus/Bike.js +21 -23
  737. package/dist/icons/components/cars-stubus/Car.js +21 -23
  738. package/dist/icons/components/cars-stubus/Equipment.js +21 -23
  739. package/dist/icons/components/cars-stubus/Truck.js +21 -23
  740. package/dist/icons/components/index.js +579 -579
  741. package/dist/icons/index.js +2 -2
  742. package/dist/index-DIxK0V-G.js +44 -0
  743. package/dist/index-DzVMAmli.js +1431 -0
  744. package/dist/index.js +158 -158
  745. package/dist/keyboard-B0lm_zyn.js +573 -0
  746. package/dist/label-y3ANLTNC.js +171 -0
  747. package/dist/open-closed-Cy6VDfYc.js +93 -0
  748. package/dist/styles.module-CaPkyXYQ.js +25 -0
  749. package/dist/use-active-press-86hajhdd.js +31 -0
  750. package/dist/use-by-comparator-CVuf9KBq.js +16 -0
  751. package/dist/use-resolve-button-type-BAxjHhds.js +19 -0
  752. package/dist/utils/UUID4.js +4 -4
  753. package/dist/utils/formating/Date.js +19 -27
  754. package/dist/utils/formating/FileSize.js +9 -12
  755. package/dist/utils/formating/Month.js +4 -5
  756. package/dist/utils/formating/Numbers.js +5 -5
  757. package/dist/utils/index.js +14 -14
  758. package/dist/variant.module-BXn4N1h0.js +12 -0
  759. package/package.json +1 -1
  760. package/dist/Input-DspsU5F4.js +0 -249
  761. package/dist/NavigationButtons-DuOoqaPo.js +0 -4907
  762. package/dist/ProgressBar-DWKyrXzd.js +0 -77
  763. package/dist/assets/ProgressBar2.css +0 -1
  764. package/dist/bugs-CSBdWk0R.js +0 -18
  765. package/dist/components/Slider/NavigationButtons/NavigationButtons.d.ts +0 -1
  766. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +0 -7
  767. package/dist/components/Slider/NavigationButtons/index.d.ts +0 -1
  768. package/dist/components/Slider/NavigationButtons/index.js +0 -4
  769. package/dist/components/Slider/ProgressBar/ProgressBar.d.ts +0 -1
  770. package/dist/components/Slider/ProgressBar/ProgressBar.js +0 -15
  771. package/dist/components/Slider/ProgressBar/index.d.ts +0 -1
  772. package/dist/components/Slider/ProgressBar/index.js +0 -4
  773. package/dist/field-bS4z9Sdl.js +0 -12
  774. package/dist/focus-management-1rQPII7Z.js +0 -77
  775. package/dist/hidden-BuVoeHNy.js +0 -13
  776. package/dist/index-CweZ_OcN.js +0 -65
  777. package/dist/index-FDVpKRvA.js +0 -2010
  778. package/dist/keyboard-B256ZoM-.js +0 -745
  779. package/dist/label-P7Xsi5N7.js +0 -172
  780. package/dist/open-closed-CbXq00et.js +0 -93
  781. package/dist/styles.module-B9L4B63y.js +0 -40
  782. package/dist/use-active-press-B6yeSopF.js +0 -31
  783. package/dist/use-by-comparator-BUO78DGe.js +0 -16
  784. package/dist/use-resolve-button-type-B6LE6gU3.js +0 -19
  785. package/dist/variant.module-BinTBzAV.js +0 -15
@@ -1,106 +1,78 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import { forwardRef, useState, useEffect, useMemo } from "react";
4
- import { imageTypes } from "./constants.js";
5
- import { ListFiles } from "../ListFiles/ListFiles.js";
6
- import { ListPhotos } from "../ListPhotos/ListPhotos.js";
7
- import { Uploader } from "../Uploader/Uploader.js";
8
- import '../../assets/UploaderPhotos.css';const cls = {
1
+ import { jsxs as I, jsx as f } from "react/jsx-runtime";
2
+ import { c as L } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as R, useState as b, useEffect as j, useMemo as N } from "react";
4
+ import { imageTypes as c } from "./constants.js";
5
+ import { ListFiles as _ } from "../ListFiles/ListFiles.js";
6
+ import { ListPhotos as D } from "../ListPhotos/ListPhotos.js";
7
+ import { Uploader as M } from "../Uploader/Uploader.js";
8
+ import '../../assets/UploaderPhotos.css';const y = {
9
9
  "upload-file-wrapper": "_upload-file-wrapper_1a115_2"
10
- };
11
- const isImageFile = (file) => {
12
- if ("file" in file && file.file instanceof File) {
13
- return imageTypes.includes(file.file.type);
14
- }
15
- if ("type" in file && typeof file.type === "string") {
16
- return imageTypes.includes(file.type);
17
- }
18
- return false;
19
- };
20
- const UniversalUploader = forwardRef(
21
- (props, ref) => {
10
+ }, n = (i) => "file" in i && i.file instanceof File ? c.includes(i.file.type) : "type" in i && typeof i.type == "string" ? c.includes(i.type) : !1, q = R(
11
+ (i, h) => {
22
12
  const {
23
- type,
24
- filesType,
25
- arrayName,
26
- maxSize,
27
- onChange,
28
- value,
29
- maxFiles,
30
- titleUploader
31
- } = props;
32
- const [items, setItems] = useState(
33
- value || []
34
- );
35
- const isMaxFilesReached = items.length >= maxFiles;
36
- useEffect(() => {
37
- if (value) {
38
- setItems(value);
39
- }
40
- }, [value]);
41
- const onChangeValue = (e) => {
42
- const newItems = e.value.map((el) => {
43
- if (isImageFile(el.file)) {
44
- return {
45
- id: el.id,
46
- url: URL.createObjectURL(el.file),
47
- type: el.file.type,
48
- name: el.file.name,
49
- size: el.file.size
50
- };
51
- } else {
52
- return {
53
- id: el.id,
54
- url: "",
55
- size: el.file.size,
56
- name: el.file.name,
57
- type: el.file.type
58
- };
59
- }
13
+ type: s,
14
+ filesType: v,
15
+ arrayName: g,
16
+ maxSize: x,
17
+ onChange: r,
18
+ value: l,
19
+ maxFiles: m,
20
+ titleUploader: F
21
+ } = i, [a, p] = b(
22
+ l || []
23
+ ), d = a.length >= m;
24
+ j(() => {
25
+ l && p(l);
26
+ }, [l]);
27
+ const U = (t) => {
28
+ const o = t.value.map((e) => n(e.file) ? {
29
+ id: e.id,
30
+ url: URL.createObjectURL(e.file),
31
+ type: e.file.type,
32
+ name: e.file.name,
33
+ size: e.file.size
34
+ } : {
35
+ id: e.id,
36
+ url: "",
37
+ size: e.file.size,
38
+ name: e.file.name,
39
+ type: e.file.type
60
40
  });
61
- setItems((prev) => [...prev, ...newItems]);
62
- onChange == null ? void 0 : onChange({ type: "add", data: e.value });
63
- };
64
- const onDelete = (deleteId) => {
65
- setItems((prev) => prev.filter((item) => item.id !== deleteId));
66
- onChange == null ? void 0 : onChange({ type: "delete", data: deleteId });
67
- };
68
- const { photos, files } = useMemo(() => {
69
- const getFiles = () => items.filter((item) => !isImageFile(item));
70
- const getPhotos = () => items.filter(isImageFile);
71
- if (type === "all") return { files: getFiles(), photos: getPhotos() };
72
- if (type === "files") return { photos: [], files: getFiles() };
73
- if (type === "photos") return { files: [], photos: getPhotos() };
74
- return { files: [], photos: [] };
75
- }, [items, type]);
76
- return /* @__PURE__ */ jsxs(
41
+ p((e) => [...e, ...o]), r == null || r({ type: "add", data: t.value });
42
+ }, u = (t) => {
43
+ p((o) => o.filter((e) => e.id !== t)), r == null || r({ type: "delete", data: t });
44
+ }, { photos: w, files: z } = N(() => {
45
+ const t = () => a.filter((e) => !n(e)), o = () => a.filter(n);
46
+ return s === "all" ? { files: t(), photos: o() } : s === "files" ? { photos: [], files: t() } : s === "photos" ? { files: [], photos: o() } : { files: [], photos: [] };
47
+ }, [a, s]);
48
+ return /* @__PURE__ */ I(
77
49
  "div",
78
50
  {
79
- className: classNames(
80
- cls["upload-file-wrapper"],
81
- isMaxFilesReached && cls.disabled
51
+ className: L(
52
+ y["upload-file-wrapper"],
53
+ d && y.disabled
82
54
  ),
83
55
  children: [
84
- /* @__PURE__ */ jsx(
85
- Uploader,
56
+ /* @__PURE__ */ f(
57
+ M,
86
58
  {
87
- filesType,
88
- arrayName,
89
- maxSize,
90
- onChangeValue,
91
- ref,
92
- maxFiles,
93
- isDisabled: isMaxFilesReached,
94
- titleUploader
59
+ filesType: v,
60
+ arrayName: g,
61
+ maxSize: x,
62
+ onChangeValue: U,
63
+ ref: h,
64
+ maxFiles: m,
65
+ isDisabled: d,
66
+ titleUploader: F
95
67
  }
96
68
  ),
97
- (type === "files" || type === "all") && /* @__PURE__ */ jsx(ListFiles, { value: files, onChange: (j) => onDelete(j.deleteId) }),
98
- (type === "photos" || type === "all") && /* @__PURE__ */ jsx(ListPhotos, { value: photos, onChange: (j) => onDelete(j.deleteId) })
69
+ (s === "files" || s === "all") && /* @__PURE__ */ f(_, { value: z, onChange: (t) => u(t.deleteId) }),
70
+ (s === "photos" || s === "all") && /* @__PURE__ */ f(D, { value: w, onChange: (t) => u(t.deleteId) })
99
71
  ]
100
72
  }
101
73
  );
102
74
  }
103
75
  );
104
76
  export {
105
- UniversalUploader
77
+ q as UniversalUploader
106
78
  };
@@ -1,10 +1,5 @@
1
- var EUploaderType = /* @__PURE__ */ ((EUploaderType2) => {
2
- EUploaderType2["FILES"] = "files";
3
- EUploaderType2["PHOTOS"] = "photos";
4
- EUploaderType2["ALL"] = "all";
5
- return EUploaderType2;
6
- })(EUploaderType || {});
7
- const imageTypes = [
1
+ var i = /* @__PURE__ */ ((g) => (g.FILES = "files", g.PHOTOS = "photos", g.ALL = "all", g))(i || {});
2
+ const e = [
8
3
  "image/jpg",
9
4
  "image/jpeg",
10
5
  "image/png",
@@ -13,6 +8,6 @@ const imageTypes = [
13
8
  "image/heic"
14
9
  ];
15
10
  export {
16
- EUploaderType,
17
- imageTypes
11
+ i as EUploaderType,
12
+ e as imageTypes
18
13
  };
@@ -1,6 +1,6 @@
1
- import { UniversalUploader } from "./UniversalUploader.js";
2
- import { EUploaderType } from "./constants.js";
1
+ import { UniversalUploader as o } from "./UniversalUploader.js";
2
+ import { EUploaderType as a } from "./constants.js";
3
3
  export {
4
- EUploaderType,
5
- UniversalUploader
4
+ a as EUploaderType,
5
+ o as UniversalUploader
6
6
  };
@@ -1,13 +1,12 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { forwardRef, useRef, useId } from "react";
3
- import { Icon } from "../../icons/Icon.js";
4
- import { Button } from "../Button/Button.js";
5
- import '../../assets/Uploader.css';const cls = {
1
+ import { jsxs as o, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as R, useRef as m, useId as z } from "react";
3
+ import { Icon as C } from "../../icons/Icon.js";
4
+ import { Button as E } from "../Button/Button.js";
5
+ import '../../assets/Uploader.css';const p = {
6
6
  "upload-file-wrapper": "_upload-file-wrapper_bplvw_2",
7
7
  "upload-text": "_upload-text_bplvw_25",
8
8
  "upload-file-input": "_upload-file-input_bplvw_35"
9
- };
10
- const MIME = {
9
+ }, u = {
11
10
  jpeg: "image/jpeg",
12
11
  jpg: "image/jpg",
13
12
  png: "image/png",
@@ -21,104 +20,83 @@ const MIME = {
21
20
  xls: "application/excel",
22
21
  txt: "text/plain",
23
22
  xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
24
- };
25
- const filesTyps = [
23
+ }, F = [
26
24
  "jpeg",
27
25
  "jpg",
28
26
  "png",
29
27
  "tiff",
30
28
  "gif",
31
29
  "heic"
32
- ];
33
- const createIdGenerator = () => {
34
- let id = 0;
35
- return () => {
36
- id = (id + 1) % Number.MAX_SAFE_INTEGER;
37
- return id;
38
- };
39
- };
40
- const generateId = createIdGenerator();
41
- const Uploader = forwardRef(
42
- (props, ref) => {
30
+ ], U = () => {
31
+ let t = 0;
32
+ return () => (t = (t + 1) % Number.MAX_SAFE_INTEGER, t);
33
+ }, A = U(), G = R(
34
+ (t, g) => {
43
35
  const {
44
- filesType = filesTyps,
45
- onChangeValue,
46
- arrayName,
47
- maxSize = 15,
48
- maxFiles,
49
- isDisabled,
50
- titleUploader = "Или перетащите сюда"
51
- } = props;
52
- const uploaderRef = useRef(null);
53
- const inputRef = useRef(null);
54
- const idImg = useId();
55
- const getFileType = (file) => {
56
- var _a;
57
- if (file.type) return file.type;
58
- const extension = (_a = file.name.split(".").pop()) == null ? void 0 : _a.toLowerCase();
59
- if (extension === "heic") return "image/heic";
60
- return "";
61
- };
62
- const onChange = (e) => {
36
+ filesType: n = F,
37
+ onChangeValue: x,
38
+ arrayName: h,
39
+ maxSize: r = 15,
40
+ maxFiles: b,
41
+ isDisabled: s,
42
+ titleUploader: w = "Или перетащите сюда"
43
+ } = t, c = m(null), l = m(null), d = z(), y = (e) => {
44
+ var i;
45
+ return e.type ? e.type : ((i = e.name.split(".").pop()) == null ? void 0 : i.toLowerCase()) === "heic" ? "image/heic" : "";
46
+ }, _ = (e) => {
63
47
  if (e.target.files && e.target.files[0]) {
64
- const list = Array.from(e.target.files).filter((el) => {
65
- const fileType = getFileType(el);
66
- const isValidType = filesType.map((name) => MIME[name]).includes(fileType);
67
- const isValidSize = el.size / 1024 ** 2 <= maxSize;
68
- return isValidType && isValidSize;
69
- }).slice(0, maxFiles).map((el) => ({ file: el, id: generateId() }));
70
- onChangeValue({ arrayName, value: list });
71
- if (inputRef.current) {
72
- inputRef.current.value = "";
73
- }
48
+ const f = Array.from(e.target.files).filter((i) => {
49
+ const v = y(i), I = n.map((T) => u[T]).includes(v), N = i.size / 1024 ** 2 <= r;
50
+ return I && N;
51
+ }).slice(0, b).map((i) => ({ file: i, id: A() }));
52
+ x({ arrayName: h, value: f }), l.current && (l.current.value = "");
74
53
  }
54
+ }, j = () => {
55
+ var e;
56
+ (e = c.current) == null || e.click();
75
57
  };
76
- const onOpen = () => {
77
- var _a;
78
- (_a = uploaderRef.current) == null ? void 0 : _a.click();
79
- };
80
- return /* @__PURE__ */ jsxs("div", { className: cls["upload-file-wrapper"], ref, children: [
81
- /* @__PURE__ */ jsx(
58
+ return /* @__PURE__ */ o("div", { className: p["upload-file-wrapper"], ref: g, children: [
59
+ /* @__PURE__ */ a(
82
60
  "input",
83
61
  {
84
- ref: inputRef,
62
+ ref: l,
85
63
  type: "file",
86
- className: cls["upload-file-input"],
64
+ className: p["upload-file-input"],
87
65
  "aria-label": "Upload",
88
66
  name: "image[]",
89
- multiple: true,
90
- onChange,
67
+ multiple: !0,
68
+ onChange: _,
91
69
  title: "",
92
- id: idImg,
93
- accept: filesType.map((i) => MIME[i]).join(),
94
- disabled: isDisabled
70
+ id: d,
71
+ accept: n.map((e) => u[e]).join(),
72
+ disabled: s
95
73
  }
96
74
  ),
97
- /* @__PURE__ */ jsxs("label", { htmlFor: idImg, ref: uploaderRef, children: [
98
- /* @__PURE__ */ jsx(
99
- Button,
75
+ /* @__PURE__ */ o("label", { htmlFor: d, ref: c, children: [
76
+ /* @__PURE__ */ a(
77
+ E,
100
78
  {
101
79
  size: "m",
102
80
  variant: "secondary-asphalt",
103
- leftIcon: /* @__PURE__ */ jsx(Icon, { iconName: "UnionIcon16px" }),
104
- onClick: onOpen,
105
- disabled: isDisabled,
81
+ leftIcon: /* @__PURE__ */ a(C, { iconName: "UnionIcon16px" }),
82
+ onClick: j,
83
+ disabled: s,
106
84
  children: "Выберите файлы"
107
85
  }
108
86
  ),
109
- /* @__PURE__ */ jsx("b", { children: titleUploader }),
110
- /* @__PURE__ */ jsxs("span", { className: cls["upload-text"], children: [
87
+ /* @__PURE__ */ a("b", { children: w }),
88
+ /* @__PURE__ */ o("span", { className: p["upload-text"], children: [
111
89
  "Максимальный размер одного файла – ",
112
- maxSize,
90
+ r,
113
91
  " Мб",
114
- /* @__PURE__ */ jsx("br", {}),
92
+ /* @__PURE__ */ a("br", {}),
115
93
  "Загрузить можно файлы следующих форматов: ",
116
- filesType.join(", ")
94
+ n.join(", ")
117
95
  ] })
118
96
  ] })
119
97
  ] });
120
98
  }
121
99
  );
122
100
  export {
123
- Uploader
101
+ G as Uploader
124
102
  };
@@ -1,20 +1,18 @@
1
- const imageFileTypes = [
1
+ const e = [
2
2
  "jpeg",
3
3
  "jpg",
4
4
  "png",
5
5
  "tiff",
6
6
  "gif",
7
7
  "heic"
8
- ];
9
- const docsFileTypes = [
8
+ ], s = [
10
9
  "doc",
11
10
  "xls",
12
11
  "pdf",
13
12
  "docx",
14
13
  "txt",
15
14
  "xlsx"
16
- ];
17
- const AllFileTypes = [
15
+ ], p = [
18
16
  "jpeg",
19
17
  "jpg",
20
18
  "png",
@@ -27,14 +25,13 @@ const AllFileTypes = [
27
25
  "docx",
28
26
  "txt",
29
27
  "xlsx"
30
- ];
31
- const TypeFilesArray = {
32
- images: imageFileTypes,
33
- docs: docsFileTypes,
34
- all: AllFileTypes
28
+ ], c = {
29
+ images: e,
30
+ docs: s,
31
+ all: p
35
32
  };
36
33
  export {
37
- AllFileTypes,
38
- TypeFilesArray,
39
- imageFileTypes
34
+ p as AllFileTypes,
35
+ c as TypeFilesArray,
36
+ e as imageFileTypes
40
37
  };
@@ -1,6 +1,6 @@
1
- import { Uploader } from "./Uploader.js";
2
- import { imageFileTypes } from "./constants.js";
1
+ import { Uploader as r } from "./Uploader.js";
2
+ import { imageFileTypes as m } from "./constants.js";
3
3
  export {
4
- Uploader,
5
- imageFileTypes
4
+ r as Uploader,
5
+ m as imageFileTypes
6
6
  };
@@ -1,68 +1,60 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import { forwardRef, useState, useEffect } from "react";
4
- import { ListFiles } from "../ListFiles/ListFiles.js";
5
- import { Uploader } from "../Uploader/Uploader.js";
6
- import '../../assets/UploaderPhotos.css';const cls = {
1
+ import { jsxs as N, jsx as m } from "react/jsx-runtime";
2
+ import { c as _ } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as b, useState as h, useEffect as D } from "react";
4
+ import { ListFiles as I } from "../ListFiles/ListFiles.js";
5
+ import { Uploader as R } from "../Uploader/Uploader.js";
6
+ import '../../assets/UploaderPhotos.css';const c = {
7
7
  "upload-file-wrapper": "_upload-file-wrapper_1a115_2"
8
- };
9
- const UploaderFiles = forwardRef(
10
- (props, ref) => {
11
- const { filesType, arrayName, maxSize, onChange, value, maxFiles } = props;
12
- const [files, setFiles] = useState(value || []);
13
- const isMaxFilesReached = files.length >= maxFiles;
14
- useEffect(() => {
15
- if (value) {
16
- setFiles(value);
17
- }
18
- }, [value]);
19
- const onChangeValue = (e) => {
20
- const newFiles = [
21
- ...files,
22
- ...e.value.map((el) => {
23
- var _a, _b, _c;
8
+ }, T = b(
9
+ (n, u) => {
10
+ const { filesType: x, arrayName: y, maxSize: F, onChange: a, value: i, maxFiles: o } = n, [t, r] = h(i || []), d = t.length >= o;
11
+ D(() => {
12
+ i && r(i);
13
+ }, [i]);
14
+ const v = (s) => {
15
+ const z = [
16
+ ...t,
17
+ ...s.value.map((e) => {
18
+ var p, l, f;
24
19
  return {
25
- id: el.id,
20
+ id: e.id,
26
21
  url: "",
27
- size: (_a = el == null ? void 0 : el.file) == null ? void 0 : _a.size,
28
- name: (_b = el == null ? void 0 : el.file) == null ? void 0 : _b.name,
29
- type: (_c = el == null ? void 0 : el.file) == null ? void 0 : _c.type
22
+ size: (p = e == null ? void 0 : e.file) == null ? void 0 : p.size,
23
+ name: (l = e == null ? void 0 : e.file) == null ? void 0 : l.name,
24
+ type: (f = e == null ? void 0 : e.file) == null ? void 0 : f.type
30
25
  };
31
26
  })
32
27
  ];
33
- setFiles(newFiles);
34
- onChange == null ? void 0 : onChange({ type: "add", data: e.value });
35
- };
36
- const onDelete = (j) => {
37
- setFiles(j.list);
38
- if (j.deleteId) onChange == null ? void 0 : onChange({ type: "delete", data: j.deleteId });
28
+ r(z), a == null || a({ type: "add", data: s.value });
29
+ }, w = (s) => {
30
+ r(s.list), s.deleteId && (a == null || a({ type: "delete", data: s.deleteId }));
39
31
  };
40
- return /* @__PURE__ */ jsxs(
32
+ return /* @__PURE__ */ N(
41
33
  "div",
42
34
  {
43
- className: classNames(
44
- cls["upload-file-wrapper"],
45
- isMaxFilesReached && cls.disabled
35
+ className: _(
36
+ c["upload-file-wrapper"],
37
+ d && c.disabled
46
38
  ),
47
39
  children: [
48
- /* @__PURE__ */ jsx(
49
- Uploader,
40
+ /* @__PURE__ */ m(
41
+ R,
50
42
  {
51
- filesType,
52
- arrayName,
53
- maxSize,
54
- onChangeValue,
55
- ref,
56
- maxFiles,
57
- isDisabled: isMaxFilesReached
43
+ filesType: x,
44
+ arrayName: y,
45
+ maxSize: F,
46
+ onChangeValue: v,
47
+ ref: u,
48
+ maxFiles: o,
49
+ isDisabled: d
58
50
  }
59
51
  ),
60
- /* @__PURE__ */ jsx(ListFiles, { value: files, onChange: onDelete })
52
+ /* @__PURE__ */ m(I, { value: t, onChange: w })
61
53
  ]
62
54
  }
63
55
  );
64
56
  }
65
57
  );
66
58
  export {
67
- UploaderFiles
59
+ T as UploaderFiles
68
60
  };
@@ -1,4 +1,4 @@
1
- import { UploaderFiles } from "./UploaderFiles.js";
1
+ import { UploaderFiles as r } from "./UploaderFiles.js";
2
2
  export {
3
- UploaderFiles
3
+ r as UploaderFiles
4
4
  };