ecars-web-lib 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/README.md +50 -0
  2. package/dist/PaginationComponent-BM_GD3t6.cjs +2 -0
  3. package/dist/PaginationComponent-BM_GD3t6.cjs.map +1 -0
  4. package/dist/PaginationComponent-_iwGlFdM.js +65 -0
  5. package/dist/PaginationComponent-_iwGlFdM.js.map +1 -0
  6. package/dist/SelectComponent-CGBwJBns.cjs +2 -0
  7. package/dist/SelectComponent-CGBwJBns.cjs.map +1 -0
  8. package/dist/SelectComponent-DJi5yeVI.js +98 -0
  9. package/dist/SelectComponent-DJi5yeVI.js.map +1 -0
  10. package/dist/_commonjsHelpers-DKOUU3wS.cjs +2 -0
  11. package/dist/_commonjsHelpers-DKOUU3wS.cjs.map +1 -0
  12. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  13. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  14. package/dist/assets/index.css +1 -0
  15. package/dist/chunk-KNED5TY2-9zjBD6gF.js +1659 -0
  16. package/dist/chunk-KNED5TY2-9zjBD6gF.js.map +1 -0
  17. package/dist/chunk-KNED5TY2-BcFuRn3Q.cjs +13 -0
  18. package/dist/chunk-KNED5TY2-BcFuRn3Q.cjs.map +1 -0
  19. package/dist/components/Accordion/AccordionComponent.d.ts +9 -0
  20. package/dist/components/Accordion/AccordionComponent.js +6 -0
  21. package/dist/components/Accordion/AccordionComponent.js.map +1 -0
  22. package/dist/components/Accordion/AccordionComponent.test.d.ts +1 -0
  23. package/dist/components/Accordion/AccordionComponent.test.js +32 -0
  24. package/dist/components/Accordion/AccordionComponent.test.js.map +1 -0
  25. package/dist/components/Accordion/components/AccordionArrow.d.ts +2 -0
  26. package/dist/components/Accordion/components/AccordionArrow.js +7 -0
  27. package/dist/components/Accordion/components/AccordionArrow.js.map +1 -0
  28. package/dist/components/Accordion/components/AccordionBlock.d.ts +6 -0
  29. package/dist/components/Accordion/components/AccordionBlock.js +6 -0
  30. package/dist/components/Accordion/components/AccordionBlock.js.map +1 -0
  31. package/dist/components/Accordion/components/AccordionButton.d.ts +6 -0
  32. package/dist/components/Accordion/components/AccordionButton.js +14 -0
  33. package/dist/components/Accordion/components/AccordionButton.js.map +1 -0
  34. package/dist/components/Accordion/components/AccordionContent.d.ts +6 -0
  35. package/dist/components/Accordion/components/AccordionContent.js +24 -0
  36. package/dist/components/Accordion/components/AccordionContent.js.map +1 -0
  37. package/dist/components/Accordion/components/AccordionLayout.d.ts +7 -0
  38. package/dist/components/Accordion/components/AccordionLayout.js +17 -0
  39. package/dist/components/Accordion/components/AccordionLayout.js.map +1 -0
  40. package/dist/components/Accordion/components/AccordionTitle.d.ts +5 -0
  41. package/dist/components/Accordion/components/AccordionTitle.js +6 -0
  42. package/dist/components/Accordion/components/AccordionTitle.js.map +1 -0
  43. package/dist/components/Accordion/constants.d.ts +1 -0
  44. package/dist/components/Accordion/constants.js +5 -0
  45. package/dist/components/Accordion/constants.js.map +1 -0
  46. package/dist/components/Accordion/index.d.ts +8 -0
  47. package/dist/components/Accordion/index.js +10 -0
  48. package/dist/components/Accordion/index.js.map +1 -0
  49. package/dist/components/Button/Button.d.ts +14 -0
  50. package/dist/components/Button/Button.js +34 -0
  51. package/dist/components/Button/Button.js.map +1 -0
  52. package/dist/components/Button/Button.test.d.ts +1 -0
  53. package/dist/components/Button/Button.test.js +101 -0
  54. package/dist/components/Button/Button.test.js.map +1 -0
  55. package/dist/components/Button/constants.d.ts +15 -0
  56. package/dist/components/Button/constants.js +15 -0
  57. package/dist/components/Button/constants.js.map +1 -0
  58. package/dist/components/ButtonWithIcon/ButtonWithIcon.d.ts +13 -0
  59. package/dist/components/ButtonWithIcon/ButtonWithIcon.js +37 -0
  60. package/dist/components/ButtonWithIcon/ButtonWithIcon.js.map +1 -0
  61. package/dist/components/ButtonWithIcon/ButtonWithIcon.test.d.ts +1 -0
  62. package/dist/components/ButtonWithIcon/ButtonWithIcon.test.js +55 -0
  63. package/dist/components/ButtonWithIcon/ButtonWithIcon.test.js.map +1 -0
  64. package/dist/components/ButtonWithIcon/constants.d.ts +2 -0
  65. package/dist/components/ButtonWithIcon/constants.js +6 -0
  66. package/dist/components/ButtonWithIcon/constants.js.map +1 -0
  67. package/dist/components/Category/Category.d.ts +8 -0
  68. package/dist/components/Category/Category.js +18 -0
  69. package/dist/components/Category/Category.js.map +1 -0
  70. package/dist/components/Category/Category.test.d.ts +1 -0
  71. package/dist/components/Category/Category.test.js +14 -0
  72. package/dist/components/Category/Category.test.js.map +1 -0
  73. package/dist/components/Category/constants.d.ts +7 -0
  74. package/dist/components/Category/constants.js +10 -0
  75. package/dist/components/Category/constants.js.map +1 -0
  76. package/dist/components/Checkbox/CheckboxComponent.d.ts +3 -0
  77. package/dist/components/Checkbox/CheckboxComponent.js +6 -0
  78. package/dist/components/Checkbox/CheckboxComponent.js.map +1 -0
  79. package/dist/components/Checkbox/CheckboxComponent.test.d.ts +1 -0
  80. package/dist/components/Checkbox/CheckboxComponent.test.js +31 -0
  81. package/dist/components/Checkbox/CheckboxComponent.test.js.map +1 -0
  82. package/dist/components/Checkbox/components/CheckboxBlock.d.ts +7 -0
  83. package/dist/components/Checkbox/components/CheckboxBlock.js +19 -0
  84. package/dist/components/Checkbox/components/CheckboxBlock.js.map +1 -0
  85. package/dist/components/Checkbox/components/CheckboxIndicator.d.ts +2 -0
  86. package/dist/components/Checkbox/components/CheckboxIndicator.js +7 -0
  87. package/dist/components/Checkbox/components/CheckboxIndicator.js.map +1 -0
  88. package/dist/components/Checkbox/components/CheckboxInput.d.ts +3 -0
  89. package/dist/components/Checkbox/components/CheckboxInput.js +34 -0
  90. package/dist/components/Checkbox/components/CheckboxInput.js.map +1 -0
  91. package/dist/components/Checkbox/constants.d.ts +11 -0
  92. package/dist/components/Checkbox/constants.js +6 -0
  93. package/dist/components/Checkbox/constants.js.map +1 -0
  94. package/dist/components/Checkbox/index.d.ts +5 -0
  95. package/dist/components/Checkbox/index.js +8 -0
  96. package/dist/components/Checkbox/index.js.map +1 -0
  97. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  98. package/dist/components/Dropdown/Dropdown.test.js +57 -0
  99. package/dist/components/Dropdown/Dropdown.test.js.map +1 -0
  100. package/dist/components/Dropdown/DropdownComponent.d.ts +9 -0
  101. package/dist/components/Dropdown/DropdownComponent.js +9 -0
  102. package/dist/components/Dropdown/DropdownComponent.js.map +1 -0
  103. package/dist/components/Dropdown/components/DropdownBlock.d.ts +5 -0
  104. package/dist/components/Dropdown/components/DropdownBlock.js +6 -0
  105. package/dist/components/Dropdown/components/DropdownBlock.js.map +1 -0
  106. package/dist/components/Dropdown/components/DropdownCategory.d.ts +7 -0
  107. package/dist/components/Dropdown/components/DropdownCategory.js +18 -0
  108. package/dist/components/Dropdown/components/DropdownCategory.js.map +1 -0
  109. package/dist/components/Dropdown/components/DropdownList.d.ts +3 -0
  110. package/dist/components/Dropdown/components/DropdownList.js +6 -0
  111. package/dist/components/Dropdown/components/DropdownList.js.map +1 -0
  112. package/dist/components/Dropdown/components/DropdownOption.d.ts +8 -0
  113. package/dist/components/Dropdown/components/DropdownOption.js +22 -0
  114. package/dist/components/Dropdown/components/DropdownOption.js.map +1 -0
  115. package/dist/components/Dropdown/constants.d.ts +11 -0
  116. package/dist/components/Dropdown/constants.js +5 -0
  117. package/dist/components/Dropdown/constants.js.map +1 -0
  118. package/dist/components/Dropdown/index.d.ts +6 -0
  119. package/dist/components/Dropdown/index.js +8 -0
  120. package/dist/components/Dropdown/index.js.map +1 -0
  121. package/dist/components/FavButton/FavButton.d.ts +11 -0
  122. package/dist/components/FavButton/FavButton.js +30 -0
  123. package/dist/components/FavButton/FavButton.js.map +1 -0
  124. package/dist/components/FavButton/FavButton.test.d.ts +1 -0
  125. package/dist/components/FavButton/FavButton.test.js +81 -0
  126. package/dist/components/FavButton/FavButton.test.js.map +1 -0
  127. package/dist/components/FavButton/constants.d.ts +6 -0
  128. package/dist/components/FavButton/constants.js +9 -0
  129. package/dist/components/FavButton/constants.js.map +1 -0
  130. package/dist/components/Field/FieldComponent.d.ts +9 -0
  131. package/dist/components/Field/FieldComponent.js +9 -0
  132. package/dist/components/Field/FieldComponent.js.map +1 -0
  133. package/dist/components/Field/FieldComponent.test.d.ts +1 -0
  134. package/dist/components/Field/FieldComponent.test.js +31 -0
  135. package/dist/components/Field/FieldComponent.test.js.map +1 -0
  136. package/dist/components/Field/components/FieldError.d.ts +5 -0
  137. package/dist/components/Field/components/FieldError.js +6 -0
  138. package/dist/components/Field/components/FieldError.js.map +1 -0
  139. package/dist/components/Field/components/FieldLabel.d.ts +6 -0
  140. package/dist/components/Field/components/FieldLabel.js +15 -0
  141. package/dist/components/Field/components/FieldLabel.js.map +1 -0
  142. package/dist/components/Field/constants.d.ts +2 -0
  143. package/dist/components/Field/constants.js +6 -0
  144. package/dist/components/Field/constants.js.map +1 -0
  145. package/dist/components/Field/index.d.ts +4 -0
  146. package/dist/components/Field/index.js +7 -0
  147. package/dist/components/Field/index.js.map +1 -0
  148. package/dist/components/FilterAccordion/FilterAccordionComponent.d.ts +9 -0
  149. package/dist/components/FilterAccordion/FilterAccordionComponent.js +7 -0
  150. package/dist/components/FilterAccordion/FilterAccordionComponent.js.map +1 -0
  151. package/dist/components/FilterAccordion/FilterAccordionComponent.test.d.ts +1 -0
  152. package/dist/components/FilterAccordion/FilterAccordionComponent.test.js +34 -0
  153. package/dist/components/FilterAccordion/FilterAccordionComponent.test.js.map +1 -0
  154. package/dist/components/FilterAccordion/components/FilterAccordionArrow.d.ts +5 -0
  155. package/dist/components/FilterAccordion/components/FilterAccordionArrow.js +14 -0
  156. package/dist/components/FilterAccordion/components/FilterAccordionArrow.js.map +1 -0
  157. package/dist/components/FilterAccordion/components/FilterAccordionBlock.d.ts +5 -0
  158. package/dist/components/FilterAccordion/components/FilterAccordionBlock.js +6 -0
  159. package/dist/components/FilterAccordion/components/FilterAccordionBlock.js.map +1 -0
  160. package/dist/components/FilterAccordion/components/FilterAccordionContent.d.ts +6 -0
  161. package/dist/components/FilterAccordion/components/FilterAccordionContent.js +18 -0
  162. package/dist/components/FilterAccordion/components/FilterAccordionContent.js.map +1 -0
  163. package/dist/components/FilterAccordion/components/FilterAccordionLayout.d.ts +7 -0
  164. package/dist/components/FilterAccordion/components/FilterAccordionLayout.js +17 -0
  165. package/dist/components/FilterAccordion/components/FilterAccordionLayout.js.map +1 -0
  166. package/dist/components/FilterAccordion/components/FilterAccordionReset.d.ts +3 -0
  167. package/dist/components/FilterAccordion/components/FilterAccordionReset.js +16 -0
  168. package/dist/components/FilterAccordion/components/FilterAccordionReset.js.map +1 -0
  169. package/dist/components/FilterAccordion/constants.d.ts +3 -0
  170. package/dist/components/FilterAccordion/constants.js +9 -0
  171. package/dist/components/FilterAccordion/constants.js.map +1 -0
  172. package/dist/components/FilterAccordion/index.d.ts +7 -0
  173. package/dist/components/FilterAccordion/index.js +10 -0
  174. package/dist/components/FilterAccordion/index.js.map +1 -0
  175. package/dist/components/FilterButton/FilterButton.d.ts +8 -0
  176. package/dist/components/FilterButton/FilterButton.js +20 -0
  177. package/dist/components/FilterButton/FilterButton.js.map +1 -0
  178. package/dist/components/FilterButton/FilterButton.test.d.ts +1 -0
  179. package/dist/components/FilterButton/FilterButton.test.js +18 -0
  180. package/dist/components/FilterButton/FilterButton.test.js.map +1 -0
  181. package/dist/components/Gallery/Gallery.d.ts +8 -0
  182. package/dist/components/Gallery/Gallery.js +1094 -0
  183. package/dist/components/Gallery/Gallery.js.map +1 -0
  184. package/dist/components/Gallery/Gallery.test.d.ts +0 -0
  185. package/dist/components/Gallery/Gallery.test.js +25 -0
  186. package/dist/components/Gallery/Gallery.test.js.map +1 -0
  187. package/dist/components/Gallery/constants.d.ts +1 -0
  188. package/dist/components/Gallery/constants.js +5 -0
  189. package/dist/components/Gallery/constants.js.map +1 -0
  190. package/dist/components/Input/Input.d.ts +15 -0
  191. package/dist/components/Input/Input.js +43 -0
  192. package/dist/components/Input/Input.js.map +1 -0
  193. package/dist/components/Input/Input.test.d.ts +1 -0
  194. package/dist/components/Input/Input.test.js +46 -0
  195. package/dist/components/Input/Input.test.js.map +1 -0
  196. package/dist/components/Input/constants.d.ts +1 -0
  197. package/dist/components/Input/constants.js +5 -0
  198. package/dist/components/Input/constants.js.map +1 -0
  199. package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +9 -0
  200. package/dist/components/LinkWithIcon/LinkWithIcon.js +19 -0
  201. package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -0
  202. package/dist/components/LinkWithIcon/LinkWithIcon.test.d.ts +1 -0
  203. package/dist/components/LinkWithIcon/LinkWithIcon.test.js +55 -0
  204. package/dist/components/LinkWithIcon/LinkWithIcon.test.js.map +1 -0
  205. package/dist/components/LinkWithIcon/constants.d.ts +2 -0
  206. package/dist/components/LinkWithIcon/constants.js +6 -0
  207. package/dist/components/LinkWithIcon/constants.js.map +1 -0
  208. package/dist/components/NavLink/NavLink.d.ts +8 -0
  209. package/dist/components/NavLink/NavLink.js +20 -0
  210. package/dist/components/NavLink/NavLink.js.map +1 -0
  211. package/dist/components/NavLink/NavLink.test.d.ts +1 -0
  212. package/dist/components/NavLink/NavLink.test.js +30 -0
  213. package/dist/components/NavLink/NavLink.test.js.map +1 -0
  214. package/dist/components/NavLink/constants.d.ts +1 -0
  215. package/dist/components/NavLink/constants.js +5 -0
  216. package/dist/components/NavLink/constants.js.map +1 -0
  217. package/dist/components/Pagination/Pagination.test.d.ts +1 -0
  218. package/dist/components/Pagination/Pagination.test.js +79 -0
  219. package/dist/components/Pagination/Pagination.test.js.map +1 -0
  220. package/dist/components/Pagination/PaginationComponent.d.ts +6 -0
  221. package/dist/components/Pagination/PaginationComponent.js +8 -0
  222. package/dist/components/Pagination/PaginationComponent.js.map +1 -0
  223. package/dist/components/Pagination/components/PaginationArrow.d.ts +8 -0
  224. package/dist/components/Pagination/components/PaginationArrow.js +29 -0
  225. package/dist/components/Pagination/components/PaginationArrow.js.map +1 -0
  226. package/dist/components/Pagination/components/PaginationBody.d.ts +3 -0
  227. package/dist/components/Pagination/components/PaginationBody.js +6 -0
  228. package/dist/components/Pagination/components/PaginationBody.js.map +1 -0
  229. package/dist/components/Pagination/components/PaginationPage.d.ts +8 -0
  230. package/dist/components/Pagination/components/PaginationPage.js +17 -0
  231. package/dist/components/Pagination/components/PaginationPage.js.map +1 -0
  232. package/dist/components/Pagination/constants.d.ts +16 -0
  233. package/dist/components/Pagination/constants.js +11 -0
  234. package/dist/components/Pagination/constants.js.map +1 -0
  235. package/dist/components/Pagination/index.d.ts +5 -0
  236. package/dist/components/Pagination/index.js +7 -0
  237. package/dist/components/Pagination/index.js.map +1 -0
  238. package/dist/components/RangeSlider/RangeSlider.d.ts +7 -0
  239. package/dist/components/RangeSlider/RangeSlider.js +1072 -0
  240. package/dist/components/RangeSlider/RangeSlider.js.map +1 -0
  241. package/dist/components/RangeSlider/RangeSlider.test.d.ts +1 -0
  242. package/dist/components/RangeSlider/RangeSlider.test.js +15 -0
  243. package/dist/components/RangeSlider/RangeSlider.test.js.map +1 -0
  244. package/dist/components/RouterLink/RouterLink.d.ts +11 -0
  245. package/dist/components/RouterLink/RouterLink.js +32 -0
  246. package/dist/components/RouterLink/RouterLink.js.map +1 -0
  247. package/dist/components/RouterLink/RouterLink.test.d.ts +1 -0
  248. package/dist/components/RouterLink/RouterLink.test.js +68 -0
  249. package/dist/components/RouterLink/RouterLink.test.js.map +1 -0
  250. package/dist/components/RouterLink/constants.d.ts +8 -0
  251. package/dist/components/RouterLink/constants.js +11 -0
  252. package/dist/components/RouterLink/constants.js.map +1 -0
  253. package/dist/components/Select/Select.test.d.ts +1 -0
  254. package/dist/components/Select/Select.test.js +100 -0
  255. package/dist/components/Select/Select.test.js.map +1 -0
  256. package/dist/components/Select/SelectComponent.d.ts +13 -0
  257. package/dist/components/Select/SelectComponent.js +7 -0
  258. package/dist/components/Select/SelectComponent.js.map +1 -0
  259. package/dist/components/Select/components/SelectArrow.d.ts +2 -0
  260. package/dist/components/Select/components/SelectArrow.js +7 -0
  261. package/dist/components/Select/components/SelectArrow.js.map +1 -0
  262. package/dist/components/Select/components/SelectBlock.d.ts +6 -0
  263. package/dist/components/Select/components/SelectBlock.js +13 -0
  264. package/dist/components/Select/components/SelectBlock.js.map +1 -0
  265. package/dist/components/Select/components/SelectInput.d.ts +6 -0
  266. package/dist/components/Select/components/SelectInput.js +15 -0
  267. package/dist/components/Select/components/SelectInput.js.map +1 -0
  268. package/dist/components/Select/components/SelectList.d.ts +7 -0
  269. package/dist/components/Select/components/SelectList.js +6 -0
  270. package/dist/components/Select/components/SelectList.js.map +1 -0
  271. package/dist/components/Select/components/SelectOption.d.ts +7 -0
  272. package/dist/components/Select/components/SelectOption.js +16 -0
  273. package/dist/components/Select/components/SelectOption.js.map +1 -0
  274. package/dist/components/Select/components/SelectWrapper.d.ts +9 -0
  275. package/dist/components/Select/components/SelectWrapper.js +23 -0
  276. package/dist/components/Select/components/SelectWrapper.js.map +1 -0
  277. package/dist/components/Select/constants.d.ts +2 -0
  278. package/dist/components/Select/constants.js +8 -0
  279. package/dist/components/Select/constants.js.map +1 -0
  280. package/dist/components/Select/index.d.ts +8 -0
  281. package/dist/components/Select/index.js +10 -0
  282. package/dist/components/Select/index.js.map +1 -0
  283. package/dist/components/Slider/SliderComponent.d.ts +16 -0
  284. package/dist/components/Slider/SliderComponent.js +7 -0
  285. package/dist/components/Slider/SliderComponent.js.map +1 -0
  286. package/dist/components/Slider/constants.d.ts +4 -0
  287. package/dist/components/Slider/constants.js +2803 -0
  288. package/dist/components/Slider/constants.js.map +1 -0
  289. package/dist/components/SliderNavigate/SliderNavigate.d.ts +2 -0
  290. package/dist/components/SliderNavigate/SliderNavigate.js +21 -0
  291. package/dist/components/SliderNavigate/SliderNavigate.js.map +1 -0
  292. package/dist/components/SliderNavigate/SliderNavigate.test.d.ts +1 -0
  293. package/dist/components/SliderNavigate/SliderNavigate.test.js +24 -0
  294. package/dist/components/SliderNavigate/SliderNavigate.test.js.map +1 -0
  295. package/dist/components/SliderNavigate/components/NavigateButton.d.ts +7 -0
  296. package/dist/components/SliderNavigate/components/NavigateButton.js +19 -0
  297. package/dist/components/SliderNavigate/components/NavigateButton.js.map +1 -0
  298. package/dist/components/SliderNavigate/constants.d.ts +7 -0
  299. package/dist/components/SliderNavigate/constants.js +10 -0
  300. package/dist/components/SliderNavigate/constants.js.map +1 -0
  301. package/dist/iconBase-C4boY5mo.cjs +2 -0
  302. package/dist/iconBase-C4boY5mo.cjs.map +1 -0
  303. package/dist/iconBase-DSKTHwal.js +113 -0
  304. package/dist/iconBase-DSKTHwal.js.map +1 -0
  305. package/dist/index-6k1-qYX7.cjs +2 -0
  306. package/dist/index-6k1-qYX7.cjs.map +1 -0
  307. package/dist/index-BHJQkg-z.js +39 -0
  308. package/dist/index-BHJQkg-z.js.map +1 -0
  309. package/dist/index-BeUY6TnM.js +68 -0
  310. package/dist/index-BeUY6TnM.js.map +1 -0
  311. package/dist/index-C55-7-85.cjs +2 -0
  312. package/dist/index-C55-7-85.cjs.map +1 -0
  313. package/dist/index-C9UV8B4g.cjs +2 -0
  314. package/dist/index-C9UV8B4g.cjs.map +1 -0
  315. package/dist/index-CGl3Xo_k.js +19135 -0
  316. package/dist/index-CGl3Xo_k.js.map +1 -0
  317. package/dist/index-D9bMq-6v.cjs +2 -0
  318. package/dist/index-D9bMq-6v.cjs.map +1 -0
  319. package/dist/index-DgPeknFG.cjs +2 -0
  320. package/dist/index-DgPeknFG.cjs.map +1 -0
  321. package/dist/index-DpGIQZJ3.js +35 -0
  322. package/dist/index-DpGIQZJ3.js.map +1 -0
  323. package/dist/index-DtO1atyA.js +30 -0
  324. package/dist/index-DtO1atyA.js.map +1 -0
  325. package/dist/index-YTr4A0AR.js +25 -0
  326. package/dist/index-YTr4A0AR.js.map +1 -0
  327. package/dist/index-vOj_CXk2.cjs +175 -0
  328. package/dist/index-vOj_CXk2.cjs.map +1 -0
  329. package/dist/index.d.ts +1 -0
  330. package/dist/index.js +5 -0
  331. package/dist/index.js.map +1 -0
  332. package/dist/react.esm-C2dSWZxI.cjs +91 -0
  333. package/dist/react.esm-C2dSWZxI.cjs.map +1 -0
  334. package/dist/react.esm-DeOc63_l.js +11455 -0
  335. package/dist/react.esm-DeOc63_l.js.map +1 -0
  336. package/dist/services/helpers.d.ts +2 -0
  337. package/dist/services/helpers.js +21 -0
  338. package/dist/services/helpers.js.map +1 -0
  339. package/dist/services/hoc/withBlockClass.d.ts +7 -0
  340. package/dist/services/hoc/withBlockClass.js +22 -0
  341. package/dist/services/hoc/withBlockClass.js.map +1 -0
  342. package/dist/services/hooks/useAccordionHeight.d.ts +9 -0
  343. package/dist/services/hooks/useAccordionHeight.js +17 -0
  344. package/dist/services/hooks/useAccordionHeight.js.map +1 -0
  345. package/dist/services/hooks/useClickOutside.d.ts +5 -0
  346. package/dist/services/hooks/useClickOutside.js +17 -0
  347. package/dist/services/hooks/useClickOutside.js.map +1 -0
  348. package/dist/services/hooks/useMatchMedia.d.ts +1 -0
  349. package/dist/services/hooks/useMatchMedia.js +18 -0
  350. package/dist/services/hooks/useMatchMedia.js.map +1 -0
  351. package/dist/services/icons.d.ts +7 -0
  352. package/dist/services/icons.js +27 -0
  353. package/dist/services/icons.js.map +1 -0
  354. package/dist/services/mocks.d.ts +12 -0
  355. package/dist/services/mocks.js +21 -0
  356. package/dist/services/mocks.js.map +1 -0
  357. package/dist/services/types.d.ts +7 -0
  358. package/dist/services/types.js +2 -0
  359. package/dist/services/types.js.map +1 -0
  360. package/dist/setupTests.d.ts +0 -0
  361. package/dist/setupTests.js +10217 -0
  362. package/dist/setupTests.js.map +1 -0
  363. package/package.json +115 -0
@@ -0,0 +1,1072 @@
1
+ import { jsx as Yt } from "react/jsx-runtime";
2
+ import { g as qt } from "../../_commonjsHelpers-DaMA6jEr.js";
3
+ import * as o from "react";
4
+ import { useMemo as Gt } from "react";
5
+ import { r as zt } from "../../index-CGl3Xo_k.js";
6
+ import { cn as Jt } from "../../services/helpers.js";
7
+ function Ee(e) {
8
+ "@babel/helpers - typeof";
9
+ return Ee = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
10
+ return typeof t;
11
+ } : function(t) {
12
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
13
+ }, Ee(e);
14
+ }
15
+ function Qt(e, t) {
16
+ if (Ee(e) != "object" || !e) return e;
17
+ var r = e[Symbol.toPrimitive];
18
+ if (r !== void 0) {
19
+ var n = r.call(e, t);
20
+ if (Ee(n) != "object") return n;
21
+ throw new TypeError("@@toPrimitive must return a primitive value.");
22
+ }
23
+ return (t === "string" ? String : Number)(e);
24
+ }
25
+ function Zt(e) {
26
+ var t = Qt(e, "string");
27
+ return Ee(t) == "symbol" ? t : t + "";
28
+ }
29
+ function Z(e, t, r) {
30
+ return (t = Zt(t)) in e ? Object.defineProperty(e, t, {
31
+ value: r,
32
+ enumerable: !0,
33
+ configurable: !0,
34
+ writable: !0
35
+ }) : e[t] = r, e;
36
+ }
37
+ function St(e, t) {
38
+ var r = Object.keys(e);
39
+ if (Object.getOwnPropertySymbols) {
40
+ var n = Object.getOwnPropertySymbols(e);
41
+ t && (n = n.filter(function(u) {
42
+ return Object.getOwnPropertyDescriptor(e, u).enumerable;
43
+ })), r.push.apply(r, n);
44
+ }
45
+ return r;
46
+ }
47
+ function U(e) {
48
+ for (var t = 1; t < arguments.length; t++) {
49
+ var r = arguments[t] != null ? arguments[t] : {};
50
+ t % 2 ? St(Object(r), !0).forEach(function(n) {
51
+ Z(e, n, r[n]);
52
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : St(Object(r)).forEach(function(n) {
53
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
54
+ });
55
+ }
56
+ return e;
57
+ }
58
+ function Qe(e, t) {
59
+ (t == null || t > e.length) && (t = e.length);
60
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
61
+ return n;
62
+ }
63
+ function er(e) {
64
+ if (Array.isArray(e)) return Qe(e);
65
+ }
66
+ function tr(e) {
67
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
68
+ }
69
+ function Dt(e, t) {
70
+ if (e) {
71
+ if (typeof e == "string") return Qe(e, t);
72
+ var r = {}.toString.call(e).slice(8, -1);
73
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Qe(e, t) : void 0;
74
+ }
75
+ }
76
+ function rr() {
77
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
78
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
79
+ }
80
+ function fe(e) {
81
+ return er(e) || tr(e) || Dt(e) || rr();
82
+ }
83
+ function nr(e) {
84
+ if (Array.isArray(e)) return e;
85
+ }
86
+ function ar(e, t) {
87
+ var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
88
+ if (r != null) {
89
+ var n, u, a, l, s = [], b = !0, m = !1;
90
+ try {
91
+ if (a = (r = r.call(e)).next, t === 0) {
92
+ if (Object(r) !== r) return;
93
+ b = !1;
94
+ } else for (; !(b = (n = a.call(r)).done) && (s.push(n.value), s.length !== t); b = !0) ;
95
+ } catch (y) {
96
+ m = !0, u = y;
97
+ } finally {
98
+ try {
99
+ if (!b && r.return != null && (l = r.return(), Object(l) !== l)) return;
100
+ } finally {
101
+ if (m) throw u;
102
+ }
103
+ }
104
+ return s;
105
+ }
106
+ }
107
+ function ur() {
108
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
109
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
110
+ }
111
+ function V(e, t) {
112
+ return nr(e) || ar(e, t) || Dt(e, t) || ur();
113
+ }
114
+ var ze = { exports: {} };
115
+ /*!
116
+ Copyright (c) 2018 Jed Watson.
117
+ Licensed under the MIT License (MIT), see
118
+ http://jedwatson.github.io/classnames
119
+ */
120
+ var Ct;
121
+ function or() {
122
+ return Ct || (Ct = 1, function(e) {
123
+ (function() {
124
+ var t = {}.hasOwnProperty;
125
+ function r() {
126
+ for (var a = "", l = 0; l < arguments.length; l++) {
127
+ var s = arguments[l];
128
+ s && (a = u(a, n(s)));
129
+ }
130
+ return a;
131
+ }
132
+ function n(a) {
133
+ if (typeof a == "string" || typeof a == "number")
134
+ return a;
135
+ if (typeof a != "object")
136
+ return "";
137
+ if (Array.isArray(a))
138
+ return r.apply(null, a);
139
+ if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]"))
140
+ return a.toString();
141
+ var l = "";
142
+ for (var s in a)
143
+ t.call(a, s) && a[s] && (l = u(l, s));
144
+ return l;
145
+ }
146
+ function u(a, l) {
147
+ return l ? a ? a + " " + l : a + l : a;
148
+ }
149
+ e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
150
+ })();
151
+ }(ze)), ze.exports;
152
+ }
153
+ var ir = or();
154
+ const Pe = /* @__PURE__ */ qt(ir);
155
+ function Ie(e) {
156
+ var t = o.useRef();
157
+ t.current = e;
158
+ var r = o.useCallback(function() {
159
+ for (var n, u = arguments.length, a = new Array(u), l = 0; l < u; l++)
160
+ a[l] = arguments[l];
161
+ return (n = t.current) === null || n === void 0 ? void 0 : n.call.apply(n, [t].concat(a));
162
+ }, []);
163
+ return r;
164
+ }
165
+ function lr() {
166
+ return !!(typeof window < "u" && window.document && window.document.createElement);
167
+ }
168
+ var Et = process.env.NODE_ENV !== "test" && lr() ? o.useLayoutEffect : o.useEffect, pt = function(t, r) {
169
+ var n = o.useRef(!0);
170
+ Et(function() {
171
+ return t(n.current);
172
+ }, r), Et(function() {
173
+ return n.current = !1, function() {
174
+ n.current = !0;
175
+ };
176
+ }, []);
177
+ }, Mt = function(t, r) {
178
+ pt(function(n) {
179
+ if (!n)
180
+ return t();
181
+ }, r);
182
+ };
183
+ function kt(e) {
184
+ var t = o.useRef(!1), r = o.useState(e), n = V(r, 2), u = n[0], a = n[1];
185
+ o.useEffect(function() {
186
+ return t.current = !1, function() {
187
+ t.current = !0;
188
+ };
189
+ }, []);
190
+ function l(s, b) {
191
+ b && t.current || a(s);
192
+ }
193
+ return [u, l];
194
+ }
195
+ function Je(e) {
196
+ return e !== void 0;
197
+ }
198
+ function cr(e, t) {
199
+ var r = t || {}, n = r.defaultValue, u = r.value, a = r.onChange, l = r.postState, s = kt(function() {
200
+ return Je(u) ? u : Je(n) ? typeof n == "function" ? n() : n : typeof e == "function" ? e() : e;
201
+ }), b = V(s, 2), m = b[0], y = b[1], C = u !== void 0 ? u : m, M = l ? l(C) : C, h = Ie(a), S = kt([C]), v = V(S, 2), c = v[0], f = v[1];
202
+ Mt(function() {
203
+ var g = c[0];
204
+ m !== g && h(m, g);
205
+ }, [c]), Mt(function() {
206
+ Je(u) || y(u);
207
+ }, [u]);
208
+ var i = Ie(function(g, R) {
209
+ y(g, R), f([C], R);
210
+ });
211
+ return [M, i];
212
+ }
213
+ var Ze = {}, rt = [], sr = function(t) {
214
+ rt.push(t);
215
+ };
216
+ function xt(e, t) {
217
+ if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
218
+ var r = rt.reduce(function(n, u) {
219
+ return u(n ?? "", "warning");
220
+ }, t);
221
+ r && console.error("Warning: ".concat(r));
222
+ }
223
+ }
224
+ function fr(e, t) {
225
+ if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
226
+ var r = rt.reduce(function(n, u) {
227
+ return u(n ?? "", "note");
228
+ }, t);
229
+ r && console.warn("Note: ".concat(r));
230
+ }
231
+ }
232
+ function dr() {
233
+ Ze = {};
234
+ }
235
+ function wt(e, t, r) {
236
+ !t && !Ze[r] && (e(!1, r), Ze[r] = !0);
237
+ }
238
+ function we(e, t) {
239
+ wt(xt, e, t);
240
+ }
241
+ function vr(e, t) {
242
+ wt(fr, e, t);
243
+ }
244
+ we.preMessage = sr;
245
+ we.resetWarned = dr;
246
+ we.noteOnce = vr;
247
+ function gr(e, t) {
248
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, n = /* @__PURE__ */ new Set();
249
+ function u(a, l) {
250
+ var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, b = n.has(a);
251
+ if (we(!b, "Warning: There may be circular references"), b)
252
+ return !1;
253
+ if (a === l)
254
+ return !0;
255
+ if (r && s > 1)
256
+ return !1;
257
+ n.add(a);
258
+ var m = s + 1;
259
+ if (Array.isArray(a)) {
260
+ if (!Array.isArray(l) || a.length !== l.length)
261
+ return !1;
262
+ for (var y = 0; y < a.length; y++)
263
+ if (!u(a[y], l[y], m))
264
+ return !1;
265
+ return !0;
266
+ }
267
+ if (a && l && Ee(a) === "object" && Ee(l) === "object") {
268
+ var C = Object.keys(a);
269
+ return C.length !== Object.keys(l).length ? !1 : C.every(function(M) {
270
+ return u(a[M], l[M], m);
271
+ });
272
+ }
273
+ return !1;
274
+ }
275
+ return u(e, t);
276
+ }
277
+ function We() {
278
+ return We = Object.assign ? Object.assign.bind() : function(e) {
279
+ for (var t = 1; t < arguments.length; t++) {
280
+ var r = arguments[t];
281
+ for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
282
+ }
283
+ return e;
284
+ }, We.apply(null, arguments);
285
+ }
286
+ function mr(e, t) {
287
+ if (e == null) return {};
288
+ var r = {};
289
+ for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
290
+ if (t.indexOf(n) !== -1) continue;
291
+ r[n] = e[n];
292
+ }
293
+ return r;
294
+ }
295
+ function Pt(e, t) {
296
+ if (e == null) return {};
297
+ var r, n, u = mr(e, t);
298
+ if (Object.getOwnPropertySymbols) {
299
+ var a = Object.getOwnPropertySymbols(e);
300
+ for (n = 0; n < a.length; n++) r = a[n], t.indexOf(r) === -1 && {}.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
301
+ }
302
+ return u;
303
+ }
304
+ function et(e, t, r) {
305
+ return (e - t) / (r - t);
306
+ }
307
+ function nt(e, t, r, n) {
308
+ var u = et(t, r, n), a = {};
309
+ switch (e) {
310
+ case "rtl":
311
+ a.right = "".concat(u * 100, "%"), a.transform = "translateX(50%)";
312
+ break;
313
+ case "btt":
314
+ a.bottom = "".concat(u * 100, "%"), a.transform = "translateY(50%)";
315
+ break;
316
+ case "ttb":
317
+ a.top = "".concat(u * 100, "%"), a.transform = "translateY(-50%)";
318
+ break;
319
+ default:
320
+ a.left = "".concat(u * 100, "%"), a.transform = "translateX(-50%)";
321
+ break;
322
+ }
323
+ return a;
324
+ }
325
+ function xe(e, t) {
326
+ return Array.isArray(e) ? e[t] : e;
327
+ }
328
+ var j = {
329
+ /**
330
+ * BACKSPACE
331
+ */
332
+ BACKSPACE: 8,
333
+ /**
334
+ * PAGE_UP
335
+ */
336
+ PAGE_UP: 33,
337
+ // also NUM_NORTH_EAST
338
+ /**
339
+ * PAGE_DOWN
340
+ */
341
+ PAGE_DOWN: 34,
342
+ // also NUM_SOUTH_EAST
343
+ /**
344
+ * END
345
+ */
346
+ END: 35,
347
+ // also NUM_SOUTH_WEST
348
+ /**
349
+ * HOME
350
+ */
351
+ HOME: 36,
352
+ // also NUM_NORTH_WEST
353
+ /**
354
+ * LEFT
355
+ */
356
+ LEFT: 37,
357
+ // also NUM_WEST
358
+ /**
359
+ * UP
360
+ */
361
+ UP: 38,
362
+ // also NUM_NORTH
363
+ /**
364
+ * RIGHT
365
+ */
366
+ RIGHT: 39,
367
+ // also NUM_EAST
368
+ /**
369
+ * DOWN
370
+ */
371
+ DOWN: 40,
372
+ // also NUM_INSERT
373
+ /**
374
+ * DELETE
375
+ */
376
+ DELETE: 46
377
+ }, _e = /* @__PURE__ */ o.createContext({
378
+ min: 0,
379
+ max: 0,
380
+ direction: "ltr",
381
+ step: 1,
382
+ includedStart: 0,
383
+ includedEnd: 0,
384
+ tabIndex: 0,
385
+ keyboard: !0,
386
+ styles: {},
387
+ classNames: {}
388
+ }), hr = /* @__PURE__ */ o.createContext({}), yr = ["prefixCls", "value", "valueIndex", "onStartMove", "onDelete", "style", "render", "dragging", "draggingDelete", "onOffsetChange", "onChangeComplete", "onFocus", "onMouseEnter"], tt = /* @__PURE__ */ o.forwardRef(function(e, t) {
389
+ var r = e.prefixCls, n = e.value, u = e.valueIndex, a = e.onStartMove, l = e.onDelete, s = e.style, b = e.render, m = e.dragging, y = e.draggingDelete, C = e.onOffsetChange, M = e.onChangeComplete, h = e.onFocus, S = e.onMouseEnter, v = Pt(e, yr), c = o.useContext(_e), f = c.min, i = c.max, g = c.direction, R = c.disabled, x = c.keyboard, F = c.range, W = c.tabIndex, X = c.ariaLabelForHandle, P = c.ariaLabelledByForHandle, O = c.ariaRequired, E = c.ariaValueTextFormatterForHandle, k = c.styles, T = c.classNames, B = "".concat(r, "-handle"), I = function(_) {
390
+ R || a(_, u);
391
+ }, G = function(_) {
392
+ h == null || h(_, u);
393
+ }, A = function(_) {
394
+ S(_, u);
395
+ }, de = function(_) {
396
+ if (!R && x) {
397
+ var p = null;
398
+ switch (_.which || _.keyCode) {
399
+ case j.LEFT:
400
+ p = g === "ltr" || g === "btt" ? -1 : 1;
401
+ break;
402
+ case j.RIGHT:
403
+ p = g === "ltr" || g === "btt" ? 1 : -1;
404
+ break;
405
+ // Up is plus
406
+ case j.UP:
407
+ p = g !== "ttb" ? 1 : -1;
408
+ break;
409
+ // Down is minus
410
+ case j.DOWN:
411
+ p = g !== "ttb" ? -1 : 1;
412
+ break;
413
+ case j.HOME:
414
+ p = "min";
415
+ break;
416
+ case j.END:
417
+ p = "max";
418
+ break;
419
+ case j.PAGE_UP:
420
+ p = 2;
421
+ break;
422
+ case j.PAGE_DOWN:
423
+ p = -2;
424
+ break;
425
+ case j.BACKSPACE:
426
+ case j.DELETE:
427
+ l(u);
428
+ break;
429
+ }
430
+ p !== null && (_.preventDefault(), C(p, u));
431
+ }
432
+ }, ne = function(_) {
433
+ switch (_.which || _.keyCode) {
434
+ case j.LEFT:
435
+ case j.RIGHT:
436
+ case j.UP:
437
+ case j.DOWN:
438
+ case j.HOME:
439
+ case j.END:
440
+ case j.PAGE_UP:
441
+ case j.PAGE_DOWN:
442
+ M == null || M();
443
+ break;
444
+ }
445
+ }, Me = nt(g, n, f, i), ve = {};
446
+ if (u !== null) {
447
+ var ke;
448
+ ve = {
449
+ tabIndex: R ? null : xe(W, u),
450
+ role: "slider",
451
+ "aria-valuemin": f,
452
+ "aria-valuemax": i,
453
+ "aria-valuenow": n,
454
+ "aria-disabled": R,
455
+ "aria-label": xe(X, u),
456
+ "aria-labelledby": xe(P, u),
457
+ "aria-required": xe(O, u),
458
+ "aria-valuetext": (ke = xe(E, u)) === null || ke === void 0 ? void 0 : ke(n),
459
+ "aria-orientation": g === "ltr" || g === "rtl" ? "horizontal" : "vertical",
460
+ onMouseDown: I,
461
+ onTouchStart: I,
462
+ onFocus: G,
463
+ onMouseEnter: A,
464
+ onKeyDown: de,
465
+ onKeyUp: ne
466
+ };
467
+ }
468
+ var Re = /* @__PURE__ */ o.createElement("div", We({
469
+ ref: t,
470
+ className: Pe(B, Z(Z(Z({}, "".concat(B, "-").concat(u + 1), u !== null && F), "".concat(B, "-dragging"), m), "".concat(B, "-dragging-delete"), y), T.handle),
471
+ style: U(U(U({}, Me), s), k.handle)
472
+ }, ve, v));
473
+ return b && (Re = b(Re, {
474
+ index: u,
475
+ prefixCls: r,
476
+ value: n,
477
+ dragging: m,
478
+ draggingDelete: y
479
+ })), Re;
480
+ });
481
+ process.env.NODE_ENV !== "production" && (tt.displayName = "Handle");
482
+ var br = ["prefixCls", "style", "onStartMove", "onOffsetChange", "values", "handleRender", "activeHandleRender", "draggingIndex", "draggingDelete", "onFocus"], _t = /* @__PURE__ */ o.forwardRef(function(e, t) {
483
+ var r = e.prefixCls, n = e.style, u = e.onStartMove, a = e.onOffsetChange, l = e.values, s = e.handleRender, b = e.activeHandleRender, m = e.draggingIndex, y = e.draggingDelete, C = e.onFocus, M = Pt(e, br), h = o.useRef({}), S = o.useState(!1), v = V(S, 2), c = v[0], f = v[1], i = o.useState(-1), g = V(i, 2), R = g[0], x = g[1], F = function(E) {
484
+ x(E), f(!0);
485
+ }, W = function(E, k) {
486
+ F(k), C == null || C(E);
487
+ }, X = function(E, k) {
488
+ F(k);
489
+ };
490
+ o.useImperativeHandle(t, function() {
491
+ return {
492
+ focus: function(E) {
493
+ var k;
494
+ (k = h.current[E]) === null || k === void 0 || k.focus();
495
+ },
496
+ hideHelp: function() {
497
+ zt.flushSync(function() {
498
+ f(!1);
499
+ });
500
+ }
501
+ };
502
+ });
503
+ var P = U({
504
+ prefixCls: r,
505
+ onStartMove: u,
506
+ onOffsetChange: a,
507
+ render: s,
508
+ onFocus: W,
509
+ onMouseEnter: X
510
+ }, M);
511
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, l.map(function(O, E) {
512
+ var k = m === E;
513
+ return /* @__PURE__ */ o.createElement(tt, We({
514
+ ref: function(B) {
515
+ B ? h.current[E] = B : delete h.current[E];
516
+ },
517
+ dragging: k,
518
+ draggingDelete: k && y,
519
+ style: xe(n, E),
520
+ key: E,
521
+ value: O,
522
+ valueIndex: E
523
+ }, P));
524
+ }), b && c && /* @__PURE__ */ o.createElement(tt, We({
525
+ key: "a11y"
526
+ }, P, {
527
+ value: l[R],
528
+ valueIndex: null,
529
+ dragging: m !== -1,
530
+ draggingDelete: y,
531
+ render: b,
532
+ style: {
533
+ pointerEvents: "none"
534
+ },
535
+ tabIndex: null,
536
+ "aria-hidden": !0
537
+ })));
538
+ });
539
+ process.env.NODE_ENV !== "production" && (_t.displayName = "Handles");
540
+ var Sr = function(t) {
541
+ var r = t.prefixCls, n = t.style, u = t.children, a = t.value, l = t.onClick, s = o.useContext(_e), b = s.min, m = s.max, y = s.direction, C = s.includedStart, M = s.includedEnd, h = s.included, S = "".concat(r, "-text"), v = nt(y, a, b, m);
542
+ return /* @__PURE__ */ o.createElement("span", {
543
+ className: Pe(S, Z({}, "".concat(S, "-active"), h && C <= a && a <= M)),
544
+ style: U(U({}, v), n),
545
+ onMouseDown: function(f) {
546
+ f.stopPropagation();
547
+ },
548
+ onClick: function() {
549
+ l(a);
550
+ }
551
+ }, u);
552
+ }, Cr = function(t) {
553
+ var r = t.prefixCls, n = t.marks, u = t.onClick, a = "".concat(r, "-mark");
554
+ return n.length ? /* @__PURE__ */ o.createElement("div", {
555
+ className: a
556
+ }, n.map(function(l) {
557
+ var s = l.value, b = l.style, m = l.label;
558
+ return /* @__PURE__ */ o.createElement(Sr, {
559
+ key: s,
560
+ prefixCls: a,
561
+ style: b,
562
+ value: s,
563
+ onClick: u
564
+ }, m);
565
+ })) : null;
566
+ }, Er = function(t) {
567
+ var r = t.prefixCls, n = t.value, u = t.style, a = t.activeStyle, l = o.useContext(_e), s = l.min, b = l.max, m = l.direction, y = l.included, C = l.includedStart, M = l.includedEnd, h = "".concat(r, "-dot"), S = y && C <= n && n <= M, v = U(U({}, nt(m, n, s, b)), typeof u == "function" ? u(n) : u);
568
+ return S && (v = U(U({}, v), typeof a == "function" ? a(n) : a)), /* @__PURE__ */ o.createElement("span", {
569
+ className: Pe(h, Z({}, "".concat(h, "-active"), S)),
570
+ style: v
571
+ });
572
+ }, Mr = function(t) {
573
+ var r = t.prefixCls, n = t.marks, u = t.dots, a = t.style, l = t.activeStyle, s = o.useContext(_e), b = s.min, m = s.max, y = s.step, C = o.useMemo(function() {
574
+ var M = /* @__PURE__ */ new Set();
575
+ if (n.forEach(function(S) {
576
+ M.add(S.value);
577
+ }), u && y !== null)
578
+ for (var h = b; h <= m; )
579
+ M.add(h), h += y;
580
+ return Array.from(M);
581
+ }, [b, m, y, u, n]);
582
+ return /* @__PURE__ */ o.createElement("div", {
583
+ className: "".concat(r, "-step")
584
+ }, C.map(function(M) {
585
+ return /* @__PURE__ */ o.createElement(Er, {
586
+ prefixCls: r,
587
+ key: M,
588
+ value: M,
589
+ style: a,
590
+ activeStyle: l
591
+ });
592
+ }));
593
+ }, Rt = function(t) {
594
+ var r = t.prefixCls, n = t.style, u = t.start, a = t.end, l = t.index, s = t.onStartMove, b = t.replaceCls, m = o.useContext(_e), y = m.direction, C = m.min, M = m.max, h = m.disabled, S = m.range, v = m.classNames, c = "".concat(r, "-track"), f = et(u, C, M), i = et(a, C, M), g = function(W) {
595
+ !h && s && s(W, -1);
596
+ }, R = {};
597
+ switch (y) {
598
+ case "rtl":
599
+ R.right = "".concat(f * 100, "%"), R.width = "".concat(i * 100 - f * 100, "%");
600
+ break;
601
+ case "btt":
602
+ R.bottom = "".concat(f * 100, "%"), R.height = "".concat(i * 100 - f * 100, "%");
603
+ break;
604
+ case "ttb":
605
+ R.top = "".concat(f * 100, "%"), R.height = "".concat(i * 100 - f * 100, "%");
606
+ break;
607
+ default:
608
+ R.left = "".concat(f * 100, "%"), R.width = "".concat(i * 100 - f * 100, "%");
609
+ }
610
+ var x = b || Pe(c, Z(Z({}, "".concat(c, "-").concat(l + 1), l !== null && S), "".concat(r, "-track-draggable"), s), v.track);
611
+ return /* @__PURE__ */ o.createElement("div", {
612
+ className: x,
613
+ style: U(U({}, R), n),
614
+ onMouseDown: g,
615
+ onTouchStart: g
616
+ });
617
+ }, kr = function(t) {
618
+ var r = t.prefixCls, n = t.style, u = t.values, a = t.startPoint, l = t.onStartMove, s = o.useContext(_e), b = s.included, m = s.range, y = s.min, C = s.styles, M = s.classNames, h = o.useMemo(function() {
619
+ if (!m) {
620
+ if (u.length === 0)
621
+ return [];
622
+ var v = a ?? y, c = u[0];
623
+ return [{
624
+ start: Math.min(v, c),
625
+ end: Math.max(v, c)
626
+ }];
627
+ }
628
+ for (var f = [], i = 0; i < u.length - 1; i += 1)
629
+ f.push({
630
+ start: u[i],
631
+ end: u[i + 1]
632
+ });
633
+ return f;
634
+ }, [u, m, a, y]);
635
+ if (!b)
636
+ return null;
637
+ var S = h != null && h.length && (M.tracks || C.tracks) ? /* @__PURE__ */ o.createElement(Rt, {
638
+ index: null,
639
+ prefixCls: r,
640
+ start: h[0].start,
641
+ end: h[h.length - 1].end,
642
+ replaceCls: Pe(M.tracks, "".concat(r, "-tracks")),
643
+ style: C.tracks
644
+ }) : null;
645
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, S, h.map(function(v, c) {
646
+ var f = v.start, i = v.end;
647
+ return /* @__PURE__ */ o.createElement(Rt, {
648
+ index: c,
649
+ prefixCls: r,
650
+ style: U(U({}, xe(n, c)), C.track),
651
+ start: f,
652
+ end: i,
653
+ key: c,
654
+ onStartMove: l
655
+ });
656
+ }));
657
+ }, Rr = 130;
658
+ function Ot(e) {
659
+ var t = "targetTouches" in e ? e.targetTouches[0] : e;
660
+ return {
661
+ pageX: t.pageX,
662
+ pageY: t.pageY
663
+ };
664
+ }
665
+ function Or(e, t, r, n, u, a, l, s, b, m, y) {
666
+ var C = o.useState(null), M = V(C, 2), h = M[0], S = M[1], v = o.useState(-1), c = V(v, 2), f = c[0], i = c[1], g = o.useState(!1), R = V(g, 2), x = R[0], F = R[1], W = o.useState(r), X = V(W, 2), P = X[0], O = X[1], E = o.useState(r), k = V(E, 2), T = k[0], B = k[1], I = o.useRef(null), G = o.useRef(null), A = o.useRef(null), de = o.useContext(hr), ne = de.onDragStart, Me = de.onDragChange;
667
+ pt(function() {
668
+ f === -1 && O(r);
669
+ }, [r, f]), o.useEffect(function() {
670
+ return function() {
671
+ document.removeEventListener("mousemove", I.current), document.removeEventListener("mouseup", G.current), A.current && (A.current.removeEventListener("touchmove", I.current), A.current.removeEventListener("touchend", G.current));
672
+ };
673
+ }, []);
674
+ var ve = function(p, $, Y) {
675
+ $ !== void 0 && S($), O(p);
676
+ var z = p;
677
+ Y && (z = p.filter(function(H, q) {
678
+ return q !== f;
679
+ })), l(z), Me && Me({
680
+ rawValues: p,
681
+ deleteIndex: Y ? f : -1,
682
+ draggingIndex: f,
683
+ draggingValue: $
684
+ });
685
+ }, ke = Ie(function(_, p, $) {
686
+ if (_ === -1) {
687
+ var Y = T[0], z = T[T.length - 1], H = n - Y, q = u - z, ee = p * (u - n);
688
+ ee = Math.max(ee, H), ee = Math.min(ee, q);
689
+ var Ne = a(Y + ee);
690
+ ee = Ne - Y;
691
+ var ae = T.map(function(ie) {
692
+ return ie + ee;
693
+ });
694
+ ve(ae);
695
+ } else {
696
+ var ue = (u - n) * p, oe = fe(P);
697
+ oe[_] = T[_];
698
+ var me = b(oe, ue, _, "dist");
699
+ ve(me.values, me.value, $);
700
+ }
701
+ }), Re = function(p, $, Y) {
702
+ p.stopPropagation();
703
+ var z = Y || r, H = z[$];
704
+ i($), S(H), B(z), O(z), F(!1);
705
+ var q = Ot(p), ee = q.pageX, Ne = q.pageY, ae = !1;
706
+ ne && ne({
707
+ rawValues: z,
708
+ draggingIndex: $,
709
+ draggingValue: H
710
+ });
711
+ var ue = function(ie) {
712
+ ie.preventDefault();
713
+ var J = Ot(ie), Fe = J.pageX, Ae = J.pageY, He = Fe - ee, re = Ae - Ne, te = e.current.getBoundingClientRect(), Oe = te.width, Te = te.height, he, ye;
714
+ switch (t) {
715
+ case "btt":
716
+ he = -re / Te, ye = He;
717
+ break;
718
+ case "ttb":
719
+ he = re / Te, ye = He;
720
+ break;
721
+ case "rtl":
722
+ he = -He / Oe, ye = re;
723
+ break;
724
+ default:
725
+ he = He / Oe, ye = re;
726
+ }
727
+ ae = m ? Math.abs(ye) > Rr && y < P.length : !1, F(ae), ke($, he, ae);
728
+ }, oe = function me(ie) {
729
+ ie.preventDefault(), document.removeEventListener("mouseup", me), document.removeEventListener("mousemove", ue), A.current && (A.current.removeEventListener("touchmove", I.current), A.current.removeEventListener("touchend", G.current)), I.current = null, G.current = null, A.current = null, s(ae), i(-1), F(!1);
730
+ };
731
+ document.addEventListener("mouseup", oe), document.addEventListener("mousemove", ue), p.currentTarget.addEventListener("touchend", oe), p.currentTarget.addEventListener("touchmove", ue), I.current = ue, G.current = oe, A.current = p.currentTarget;
732
+ }, ge = o.useMemo(function() {
733
+ var _ = fe(r).sort(function(H, q) {
734
+ return H - q;
735
+ }), p = fe(P).sort(function(H, q) {
736
+ return H - q;
737
+ }), $ = {};
738
+ p.forEach(function(H) {
739
+ $[H] = ($[H] || 0) + 1;
740
+ }), _.forEach(function(H) {
741
+ $[H] = ($[H] || 0) - 1;
742
+ });
743
+ var Y = m ? 1 : 0, z = Object.values($).reduce(function(H, q) {
744
+ return H + Math.abs(q);
745
+ }, 0);
746
+ return z <= Y ? P : r;
747
+ }, [r, P, m]);
748
+ return [f, h, x, ge, Re];
749
+ }
750
+ function Dr(e, t, r, n, u, a) {
751
+ var l = o.useCallback(function(h) {
752
+ return Math.max(e, Math.min(t, h));
753
+ }, [e, t]), s = o.useCallback(function(h) {
754
+ if (r !== null) {
755
+ var S = e + Math.round((l(h) - e) / r) * r, v = function(g) {
756
+ return (String(g).split(".")[1] || "").length;
757
+ }, c = Math.max(v(r), v(t), v(e)), f = Number(S.toFixed(c));
758
+ return e <= f && f <= t ? f : null;
759
+ }
760
+ return null;
761
+ }, [r, e, t, l]), b = o.useCallback(function(h) {
762
+ var S = l(h), v = n.map(function(i) {
763
+ return i.value;
764
+ });
765
+ r !== null && v.push(s(h)), v.push(e, t);
766
+ var c = v[0], f = t - e;
767
+ return v.forEach(function(i) {
768
+ var g = Math.abs(S - i);
769
+ g <= f && (c = i, f = g);
770
+ }), c;
771
+ }, [e, t, n, r, l, s]), m = function h(S, v, c) {
772
+ var f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit";
773
+ if (typeof v == "number") {
774
+ var i, g = S[c], R = g + v, x = [];
775
+ n.forEach(function(O) {
776
+ x.push(O.value);
777
+ }), x.push(e, t), x.push(s(g));
778
+ var F = v > 0 ? 1 : -1;
779
+ f === "unit" ? x.push(s(g + F * r)) : x.push(s(R)), x = x.filter(function(O) {
780
+ return O !== null;
781
+ }).filter(function(O) {
782
+ return v < 0 ? O <= g : O >= g;
783
+ }), f === "unit" && (x = x.filter(function(O) {
784
+ return O !== g;
785
+ }));
786
+ var W = f === "unit" ? g : R;
787
+ i = x[0];
788
+ var X = Math.abs(i - W);
789
+ if (x.forEach(function(O) {
790
+ var E = Math.abs(O - W);
791
+ E < X && (i = O, X = E);
792
+ }), i === void 0)
793
+ return v < 0 ? e : t;
794
+ if (f === "dist")
795
+ return i;
796
+ if (Math.abs(v) > 1) {
797
+ var P = fe(S);
798
+ return P[c] = i, h(P, v - F, c, f);
799
+ }
800
+ return i;
801
+ } else {
802
+ if (v === "min")
803
+ return e;
804
+ if (v === "max")
805
+ return t;
806
+ }
807
+ }, y = function(S, v, c) {
808
+ var f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", i = S[c], g = m(S, v, c, f);
809
+ return {
810
+ value: g,
811
+ changed: g !== i
812
+ };
813
+ }, C = function(S) {
814
+ return a === null && S === 0 || typeof a == "number" && S < a;
815
+ }, M = function(S, v, c) {
816
+ var f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", i = S.map(b), g = i[c], R = m(i, v, c, f);
817
+ if (i[c] = R, u === !1) {
818
+ var x = a || 0;
819
+ c > 0 && i[c - 1] !== g && (i[c] = Math.max(i[c], i[c - 1] + x)), c < i.length - 1 && i[c + 1] !== g && (i[c] = Math.min(i[c], i[c + 1] - x));
820
+ } else if (typeof a == "number" || a === null) {
821
+ for (var F = c + 1; F < i.length; F += 1)
822
+ for (var W = !0; C(i[F] - i[F - 1]) && W; ) {
823
+ var X = y(i, 1, F);
824
+ i[F] = X.value, W = X.changed;
825
+ }
826
+ for (var P = c; P > 0; P -= 1)
827
+ for (var O = !0; C(i[P] - i[P - 1]) && O; ) {
828
+ var E = y(i, -1, P - 1);
829
+ i[P - 1] = E.value, O = E.changed;
830
+ }
831
+ for (var k = i.length - 1; k > 0; k -= 1)
832
+ for (var T = !0; C(i[k] - i[k - 1]) && T; ) {
833
+ var B = y(i, -1, k - 1);
834
+ i[k - 1] = B.value, T = B.changed;
835
+ }
836
+ for (var I = 0; I < i.length - 1; I += 1)
837
+ for (var G = !0; C(i[I + 1] - i[I]) && G; ) {
838
+ var A = y(i, 1, I + 1);
839
+ i[I + 1] = A.value, G = A.changed;
840
+ }
841
+ }
842
+ return {
843
+ value: i[c],
844
+ values: i
845
+ };
846
+ };
847
+ return [b, M];
848
+ }
849
+ function pr(e) {
850
+ return Gt(function() {
851
+ if (e === !0 || !e)
852
+ return [!!e, !1, !1, 0];
853
+ var t = e.editable, r = e.draggableTrack, n = e.minCount, u = e.maxCount;
854
+ return process.env.NODE_ENV !== "production" && xt(!t || !r, "`editable` can not work with `draggableTrack`."), [!0, t, !t && r, n || 0, u];
855
+ }, [e]);
856
+ }
857
+ var Nt = /* @__PURE__ */ o.forwardRef(function(e, t) {
858
+ var r = e.prefixCls, n = r === void 0 ? "rc-slider" : r, u = e.className, a = e.style, l = e.classNames, s = e.styles, b = e.id, m = e.disabled, y = m === void 0 ? !1 : m, C = e.keyboard, M = C === void 0 ? !0 : C, h = e.autoFocus, S = e.onFocus, v = e.onBlur, c = e.min, f = c === void 0 ? 0 : c, i = e.max, g = i === void 0 ? 100 : i, R = e.step, x = R === void 0 ? 1 : R, F = e.value, W = e.defaultValue, X = e.range, P = e.count, O = e.onChange, E = e.onBeforeChange, k = e.onAfterChange, T = e.onChangeComplete, B = e.allowCross, I = B === void 0 ? !0 : B, G = e.pushable, A = G === void 0 ? !1 : G, de = e.reverse, ne = e.vertical, Me = e.included, ve = Me === void 0 ? !0 : Me, ke = e.startPoint, Re = e.trackStyle, ge = e.handleStyle, _ = e.railStyle, p = e.dotStyle, $ = e.activeDotStyle, Y = e.marks, z = e.dots, H = e.handleRender, q = e.activeHandleRender, ee = e.track, Ne = e.tabIndex, ae = Ne === void 0 ? 0 : Ne, ue = e.ariaLabelForHandle, oe = e.ariaLabelledByForHandle, me = e.ariaRequired, ie = e.ariaValueTextFormatterForHandle, J = o.useRef(null), Fe = o.useRef(null), Ae = o.useMemo(function() {
859
+ return ne ? de ? "ttb" : "btt" : de ? "rtl" : "ltr";
860
+ }, [de, ne]), He = pr(X), re = V(He, 5), te = re[0], Oe = re[1], Te = re[2], he = re[3], ye = re[4], Q = o.useMemo(function() {
861
+ return isFinite(f) ? f : 0;
862
+ }, [f]), $e = o.useMemo(function() {
863
+ return isFinite(g) ? g : 100;
864
+ }, [g]), De = o.useMemo(function() {
865
+ return x !== null && x <= 0 ? 1 : x;
866
+ }, [x]), Ft = o.useMemo(function() {
867
+ return typeof A == "boolean" ? A ? De : !1 : A >= 0 ? A : !1;
868
+ }, [A, De]), Be = o.useMemo(function() {
869
+ return Object.keys(Y || {}).map(function(D) {
870
+ var d = Y[D], w = {
871
+ value: Number(D)
872
+ };
873
+ return d && Ee(d) === "object" && !/* @__PURE__ */ o.isValidElement(d) && ("label" in d || "style" in d) ? (w.style = d.style, w.label = d.label) : w.label = d, w;
874
+ }).filter(function(D) {
875
+ var d = D.label;
876
+ return d || typeof d == "number";
877
+ }).sort(function(D, d) {
878
+ return D.value - d.value;
879
+ });
880
+ }, [Y]), At = Dr(Q, $e, De, Be, I, Ft), at = V(At, 2), Ke = at[0], ut = at[1], Ht = cr(W, {
881
+ value: F
882
+ }), ot = V(Ht, 2), be = ot[0], Tt = ot[1], K = o.useMemo(function() {
883
+ var D = be == null ? [] : Array.isArray(be) ? be : [be], d = V(D, 1), w = d[0], N = w === void 0 ? Q : w, L = be === null ? [] : [N];
884
+ if (te) {
885
+ if (L = fe(D), P || be === void 0) {
886
+ var Se = P >= 0 ? P + 1 : 2;
887
+ for (L = L.slice(0, Se); L.length < Se; ) {
888
+ var le;
889
+ L.push((le = L[L.length - 1]) !== null && le !== void 0 ? le : Q);
890
+ }
891
+ }
892
+ L.sort(function(ce, se) {
893
+ return ce - se;
894
+ });
895
+ }
896
+ return L.forEach(function(ce, se) {
897
+ L[se] = Ke(ce);
898
+ }), L;
899
+ }, [be, te, Q, P, Ke]), Le = function(d) {
900
+ return te ? d : d[0];
901
+ }, Xe = Ie(function(D) {
902
+ var d = fe(D).sort(function(w, N) {
903
+ return w - N;
904
+ });
905
+ O && !gr(d, K, !0) && O(Le(d)), Tt(d);
906
+ }), it = Ie(function(D) {
907
+ D && J.current.hideHelp();
908
+ var d = Le(K);
909
+ k == null || k(d), we(!k, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), T == null || T(d);
910
+ }), $t = function(d) {
911
+ if (!(y || !Oe || K.length <= he)) {
912
+ var w = fe(K);
913
+ w.splice(d, 1), E == null || E(Le(w)), Xe(w);
914
+ var N = Math.max(0, d - 1);
915
+ J.current.hideHelp(), J.current.focus(N);
916
+ }
917
+ }, Lt = Or(Fe, Ae, K, Q, $e, Ke, Xe, it, ut, Oe, he), Ve = V(Lt, 5), lt = Ve[0], jt = Ve[1], It = Ve[2], qe = Ve[3], ct = Ve[4], st = function(d, w) {
918
+ if (!y) {
919
+ var N = fe(K), L = 0, Se = 0, le = $e - Q;
920
+ K.forEach(function(Ce, Ye) {
921
+ var bt = Math.abs(d - Ce);
922
+ bt <= le && (le = bt, L = Ye), Ce < d && (Se = Ye);
923
+ });
924
+ var ce = L;
925
+ Oe && le !== 0 && (!ye || K.length < ye) ? (N.splice(Se + 1, 0, d), ce = Se + 1) : N[L] = d, te && !K.length && P === void 0 && N.push(d);
926
+ var se = Le(N);
927
+ if (E == null || E(se), Xe(N), w) {
928
+ var pe, je;
929
+ (pe = document.activeElement) === null || pe === void 0 || (je = pe.blur) === null || je === void 0 || je.call(pe), J.current.focus(ce), ct(w, ce, N);
930
+ } else
931
+ k == null || k(se), we(!k, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), T == null || T(se);
932
+ }
933
+ }, Vt = function(d) {
934
+ d.preventDefault();
935
+ var w = Fe.current.getBoundingClientRect(), N = w.width, L = w.height, Se = w.left, le = w.top, ce = w.bottom, se = w.right, pe = d.clientX, je = d.clientY, Ce;
936
+ switch (Ae) {
937
+ case "btt":
938
+ Ce = (ce - je) / L;
939
+ break;
940
+ case "ttb":
941
+ Ce = (je - le) / L;
942
+ break;
943
+ case "rtl":
944
+ Ce = (se - pe) / N;
945
+ break;
946
+ default:
947
+ Ce = (pe - Se) / N;
948
+ }
949
+ var Ye = Q + Ce * ($e - Q);
950
+ st(Ke(Ye), d);
951
+ }, Ut = o.useState(null), ft = V(Ut, 2), Ge = ft[0], dt = ft[1], Wt = function(d, w) {
952
+ if (!y) {
953
+ var N = ut(K, d, w);
954
+ E == null || E(Le(K)), Xe(N.values), dt(N.value);
955
+ }
956
+ };
957
+ o.useEffect(function() {
958
+ if (Ge !== null) {
959
+ var D = K.indexOf(Ge);
960
+ D >= 0 && J.current.focus(D);
961
+ }
962
+ dt(null);
963
+ }, [Ge]);
964
+ var Bt = o.useMemo(function() {
965
+ return Te && De === null ? (process.env.NODE_ENV !== "production" && we(!1, "`draggableTrack` is not supported when `step` is `null`."), !1) : Te;
966
+ }, [Te, De]), vt = Ie(function(D, d) {
967
+ ct(D, d), E == null || E(Le(K));
968
+ }), gt = lt !== -1;
969
+ o.useEffect(function() {
970
+ if (!gt) {
971
+ var D = K.lastIndexOf(jt);
972
+ J.current.focus(D);
973
+ }
974
+ }, [gt]);
975
+ var Ue = o.useMemo(function() {
976
+ return fe(qe).sort(function(D, d) {
977
+ return D - d;
978
+ });
979
+ }, [qe]), Kt = o.useMemo(function() {
980
+ return te ? [Ue[0], Ue[Ue.length - 1]] : [Q, Ue[0]];
981
+ }, [Ue, te, Q]), mt = V(Kt, 2), ht = mt[0], yt = mt[1];
982
+ o.useImperativeHandle(t, function() {
983
+ return {
984
+ focus: function() {
985
+ J.current.focus(0);
986
+ },
987
+ blur: function() {
988
+ var d, w = document, N = w.activeElement;
989
+ (d = Fe.current) !== null && d !== void 0 && d.contains(N) && (N == null || N.blur());
990
+ }
991
+ };
992
+ }), o.useEffect(function() {
993
+ h && J.current.focus(0);
994
+ }, []);
995
+ var Xt = o.useMemo(function() {
996
+ return {
997
+ min: Q,
998
+ max: $e,
999
+ direction: Ae,
1000
+ disabled: y,
1001
+ keyboard: M,
1002
+ step: De,
1003
+ included: ve,
1004
+ includedStart: ht,
1005
+ includedEnd: yt,
1006
+ range: te,
1007
+ tabIndex: ae,
1008
+ ariaLabelForHandle: ue,
1009
+ ariaLabelledByForHandle: oe,
1010
+ ariaRequired: me,
1011
+ ariaValueTextFormatterForHandle: ie,
1012
+ styles: s || {},
1013
+ classNames: l || {}
1014
+ };
1015
+ }, [Q, $e, Ae, y, M, De, ve, ht, yt, te, ae, ue, oe, me, ie, s, l]);
1016
+ return /* @__PURE__ */ o.createElement(_e.Provider, {
1017
+ value: Xt
1018
+ }, /* @__PURE__ */ o.createElement("div", {
1019
+ ref: Fe,
1020
+ className: Pe(n, u, Z(Z(Z(Z({}, "".concat(n, "-disabled"), y), "".concat(n, "-vertical"), ne), "".concat(n, "-horizontal"), !ne), "".concat(n, "-with-marks"), Be.length)),
1021
+ style: a,
1022
+ onMouseDown: Vt,
1023
+ id: b
1024
+ }, /* @__PURE__ */ o.createElement("div", {
1025
+ className: Pe("".concat(n, "-rail"), l == null ? void 0 : l.rail),
1026
+ style: U(U({}, _), s == null ? void 0 : s.rail)
1027
+ }), ee !== !1 && /* @__PURE__ */ o.createElement(kr, {
1028
+ prefixCls: n,
1029
+ style: Re,
1030
+ values: K,
1031
+ startPoint: ke,
1032
+ onStartMove: Bt ? vt : void 0
1033
+ }), /* @__PURE__ */ o.createElement(Mr, {
1034
+ prefixCls: n,
1035
+ marks: Be,
1036
+ dots: z,
1037
+ style: p,
1038
+ activeStyle: $
1039
+ }), /* @__PURE__ */ o.createElement(_t, {
1040
+ ref: J,
1041
+ prefixCls: n,
1042
+ style: ge,
1043
+ values: qe,
1044
+ draggingIndex: lt,
1045
+ draggingDelete: It,
1046
+ onStartMove: vt,
1047
+ onOffsetChange: Wt,
1048
+ onFocus: S,
1049
+ onBlur: v,
1050
+ handleRender: H,
1051
+ activeHandleRender: q,
1052
+ onChangeComplete: it,
1053
+ onDelete: Oe ? $t : void 0
1054
+ }), /* @__PURE__ */ o.createElement(Cr, {
1055
+ prefixCls: n,
1056
+ marks: Be,
1057
+ onClick: st
1058
+ })));
1059
+ });
1060
+ process.env.NODE_ENV !== "production" && (Nt.displayName = "Slider");
1061
+ const Fr = ({ block: e, ...t }) => /* @__PURE__ */ Yt(
1062
+ Nt,
1063
+ {
1064
+ className: Jt(e, "range-slider"),
1065
+ ...t,
1066
+ range: !0
1067
+ }
1068
+ );
1069
+ export {
1070
+ Fr as RangeSlider
1071
+ };
1072
+ //# sourceMappingURL=RangeSlider.js.map