mimir-ui-kit 1.34.4 → 1.34.6

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