mimir-ui-kit 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (648) hide show
  1. package/dist/assets/Button.css +1 -1
  2. package/dist/assets/ListPhotos.css +1 -0
  3. package/dist/assets/Uploader.css +1 -0
  4. package/dist/assets/UploaderPhotos.css +1 -0
  5. package/dist/assets/index.css +1 -1
  6. package/dist/components/Button/Button.js +23 -22
  7. package/dist/components/Button/constants.d.ts +2 -1
  8. package/dist/components/Button/constants.js +1 -0
  9. package/dist/components/ListPhotos/ListPhotos.d.ts +23 -0
  10. package/dist/components/ListPhotos/ListPhotos.js +33 -0
  11. package/dist/components/ListPhotos/constants.d.ts +3 -0
  12. package/dist/components/ListPhotos/constants.js +21 -0
  13. package/dist/components/ListPhotos/index.d.ts +2 -0
  14. package/dist/components/ListPhotos/index.js +4 -0
  15. package/dist/components/RadioGroup/RadioGroup.js +2 -5
  16. package/dist/components/SelectSearch/SelectSearch.js +194 -105
  17. package/dist/components/Switch/Switch.js +2 -4
  18. package/dist/components/Uploader/Uploader.d.ts +30 -0
  19. package/dist/components/Uploader/Uploader.js +90 -0
  20. package/dist/components/Uploader/constants.d.ts +5 -0
  21. package/dist/components/Uploader/constants.js +16 -0
  22. package/dist/components/Uploader/index.d.ts +2 -0
  23. package/dist/components/Uploader/index.js +4 -0
  24. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +29 -0
  25. package/dist/components/UploaderPhotos/UploaderPhotos.js +46 -0
  26. package/dist/components/UploaderPhotos/index.d.ts +2 -0
  27. package/dist/components/UploaderPhotos/index.js +4 -0
  28. package/dist/components/index.d.ts +0 -4
  29. package/dist/components/index.js +0 -10
  30. package/dist/{focus-management-1rQPII7Z.js → focus-management-CFDo6ZSc.js} +26 -12
  31. package/dist/icons/Icon.js +1 -1
  32. package/dist/icons/components/12px/Close12px.d.ts +4 -0
  33. package/dist/icons/components/12px/Close12px.js +18 -0
  34. package/dist/icons/components/index.d.ts +1 -0
  35. package/dist/icons/components/index.js +560 -559
  36. package/dist/{index-_ACzPKPw.js → index-Cxiikb7g.js} +561 -558
  37. package/dist/index.js +0 -10
  38. package/dist/{keyboard-B256ZoM-.js → label-BXAcSLy0.js} +342 -174
  39. package/dist/{use-active-press-B6yeSopF.js → use-active-press-9MCrfRZk.js} +1 -1
  40. package/dist/utils/UUID4.d.ts +1 -0
  41. package/dist/utils/UUID4.js +9 -0
  42. package/dist/utils/formating/Date.d.ts +1 -1
  43. package/dist/utils/index.d.ts +2 -0
  44. package/dist/utils/index.js +3 -1
  45. package/package.json +1 -1
  46. package/dist/ACE-Dh-PnKV7.js +0 -23
  47. package/dist/Acceleration-GBCZC6x6.js +0 -34
  48. package/dist/Accept16px-CzM0Df91.js +0 -27
  49. package/dist/Accept24px-D2GGOEFK.js +0 -29
  50. package/dist/Accept32px-0cvrOUlB.js +0 -28
  51. package/dist/Acts16px-WrO5Razf.js +0 -40
  52. package/dist/Acts16pxF-tbac65nP.js +0 -35
  53. package/dist/Acts24px-DaszJ-oP.js +0 -41
  54. package/dist/Acts24pxF-D0aNSZ14.js +0 -34
  55. package/dist/Acts32px-Dk5XyG2F.js +0 -41
  56. package/dist/AdditionalServicess16px-ClYhS7AD.js +0 -33
  57. package/dist/AdditionalServicess16pxF-D_Cr5Ti3.js +0 -22
  58. package/dist/AdditionalServicess24px-B-GU8ljs.js +0 -34
  59. package/dist/AdditionalServicess24pxF-CcIv7u6B.js +0 -23
  60. package/dist/AdditionalServicess32px-CnkKKa5B.js +0 -25
  61. package/dist/AdditionalServicess32pxF-BJ7nNuJu.js +0 -23
  62. package/dist/Agents16px-CKtXJGgS.js +0 -24
  63. package/dist/Agents16pxF-MHuxLKdT.js +0 -22
  64. package/dist/Agents24px-Dmv9UkOs.js +0 -25
  65. package/dist/Agents24pxF-cCOGLyS0.js +0 -32
  66. package/dist/Agents32px-utYx_RfH.js +0 -37
  67. package/dist/Alarm16px-oU7xa_Pe.js +0 -25
  68. package/dist/Alarm24px-BwED0kCm.js +0 -26
  69. package/dist/Alarm32px-CzWKWxBo.js +0 -26
  70. package/dist/Alim-DUwhLV2k.js +0 -25
  71. package/dist/AllMetal-lsgMk2J1.js +0 -34
  72. package/dist/AllMetalCargoAndPassenger-BP6Rmi-A.js +0 -34
  73. package/dist/Amur-p-z-0MiH.js +0 -25
  74. package/dist/Ankai-CSfa2TEH.js +0 -25
  75. package/dist/ArrowDown16px-DTCW-Omg.js +0 -24
  76. package/dist/ArrowDown24px-BR0m3fU9.js +0 -25
  77. package/dist/ArrowDown32px-DLadIoFl.js +0 -25
  78. package/dist/ArrowLeft16px-CtInbI-A.js +0 -24
  79. package/dist/ArrowLeft24px-BWfU2AT7.js +0 -25
  80. package/dist/ArrowLeft32px-CklmCz2b.js +0 -25
  81. package/dist/ArrowRight16px-Cg_RnVkX.js +0 -24
  82. package/dist/ArrowRight24px-BMgowqrc.js +0 -25
  83. package/dist/ArrowRight32px-D7wPM6KT.js +0 -25
  84. package/dist/ArrowUp16px-DzX1aOjg.js +0 -24
  85. package/dist/ArrowUp24px-BOdGtGw-.js +0 -25
  86. package/dist/ArrowUp32px-BS3NXexJ.js +0 -25
  87. package/dist/ArrowUpright16px-BHoe8_IK.js +0 -24
  88. package/dist/ArrowUpright24px-grrXzBha.js +0 -25
  89. package/dist/ArrowUpright32px-DIsDrXTa.js +0 -25
  90. package/dist/AsphaltPaver-DVob-3UC.js +0 -37
  91. package/dist/AttachFile16px-CdnjRea_.js +0 -24
  92. package/dist/AttachFile24px-B3X67SsA.js +0 -25
  93. package/dist/AttachFile32px-B0tLm9XH.js +0 -25
  94. package/dist/Audi-9GskTRhO.js +0 -22
  95. package/dist/Autotower-C-yESqcn.js +0 -34
  96. package/dist/Awning-BYuoZpCu.js +0 -35
  97. package/dist/BMW-CNOj2fIU.js +0 -43
  98. package/dist/BRP-BwnKfFMU.js +0 -34
  99. package/dist/BackhoeLoader-Bas9aSQY.js +0 -41
  100. package/dist/Bell16px-kVv729Pi.js +0 -44
  101. package/dist/Bell16pxF-Dk7ukIHs.js +0 -34
  102. package/dist/Bell24px-DPKhmZSS.js +0 -45
  103. package/dist/Bell24pxF-CBBf_vwg.js +0 -28
  104. package/dist/Bell32px-CItSevhh.js +0 -45
  105. package/dist/Bell32pxF-CgdrAD-I.js +0 -28
  106. package/dist/Berths-fF7tVlVU.js +0 -39
  107. package/dist/Bike-ziBFLp4B.js +0 -25
  108. package/dist/Bucket-DOH0oMUM.js +0 -23
  109. package/dist/BucketLoadingCapacity-Wlbdjby5.js +0 -25
  110. package/dist/BucketVolume-CqdlsL3c.js +0 -32
  111. package/dist/Buggy-28YVK3gG.js +0 -34
  112. package/dist/Bulldozer-DiFvl6FQ.js +0 -36
  113. package/dist/Bus-DGeGG_Bn.js +0 -25
  114. package/dist/BusBus-Cd5CUveV.js +0 -34
  115. package/dist/BusMinibus-GLCo1rli.js +0 -34
  116. package/dist/BusShiftBuses-NRkdVtdF.js +0 -44
  117. package/dist/CabinTurn-Cj7h1hyS.js +0 -34
  118. package/dist/Calculator16px-DcyHx-IB.js +0 -24
  119. package/dist/Calculator24px-D7iXuH67.js +0 -25
  120. package/dist/Calculator32px-Bq6qy9LU.js +0 -25
  121. package/dist/CalculatorLkk16px-DTikpTVt.js +0 -35
  122. package/dist/CalculatorLkk16pxF-D_T7LJU1.js +0 -24
  123. package/dist/CalculatorLkk24px-Cx7gKN3F.js +0 -34
  124. package/dist/CalculatorLkk24pxF-BafBDJwM.js +0 -25
  125. package/dist/CalculatorLkk32px-eLK9ex6W.js +0 -34
  126. package/dist/CalculatorLkk32pxF-Dlt-EnxA.js +0 -25
  127. package/dist/Calendar16px-DlbVwhhr.js +0 -24
  128. package/dist/Calendar24px-B-wIv0Yr.js +0 -25
  129. package/dist/Calendar32px-lCelTHGL.js +0 -25
  130. package/dist/Camera16px-BwC_X-Lb.js +0 -36
  131. package/dist/Camera24px-DudduAtV.js +0 -25
  132. package/dist/Camera32px-DuwqnTg-.js +0 -37
  133. package/dist/Car-BJNp4xd5.js +0 -25
  134. package/dist/Car16px-BOQe5A9r.js +0 -35
  135. package/dist/Car16pxF-C8hXfwfl.js +0 -24
  136. package/dist/Car24px-DoDPcfCB.js +0 -36
  137. package/dist/Car24pxF-CxsC0qvq.js +0 -34
  138. package/dist/Car32px-B0kZCSIO.js +0 -36
  139. package/dist/Car32pxF-C9jSDHsv.js +0 -28
  140. package/dist/CarBodySize-CgpL5emG.js +0 -34
  141. package/dist/CarBodyType-BrJnDn1D.js +0 -25
  142. package/dist/CarColor-BSgbchb0.js +0 -34
  143. package/dist/CargoAScrapTruckFromTheCmu-visqbcbs.js +0 -41
  144. package/dist/CargoAutotower-CRTnX-z1.js +0 -34
  145. package/dist/CargoAwning-Du0lEh3W.js +0 -41
  146. package/dist/CargoConcreteMixerTruck-Ctc7aonB.js +0 -41
  147. package/dist/CargoDrillingRig-DJziKPfA.js +0 -34
  148. package/dist/CargoDumpTruck-B8oPJa3-.js +0 -41
  149. package/dist/CargoGarbageTruck-BKjnRTK3.js +0 -41
  150. package/dist/CargoGrainCarrier-dvNuEvJ8.js +0 -41
  151. package/dist/CargoIsothermal-BjBVaYw_.js +0 -41
  152. package/dist/CargoOnBoard-ZyK8rL3U.js +0 -41
  153. package/dist/CargoOnBoardWithCmu-BDROtl87.js +0 -41
  154. package/dist/CargoPromotionalItem-BC0nyDQZ.js +0 -41
  155. package/dist/CargoSortingTruck-D7fhqXha.js +0 -41
  156. package/dist/CargoTankerTruck-YOBCdvTS.js +0 -41
  157. package/dist/CargoTowTruck-DnopQ_Xj.js +0 -34
  158. package/dist/CargoTruckCrane-Bz3ve1nq.js +0 -43
  159. package/dist/CargoVacuumMachine-B9Tlsf1r.js +0 -34
  160. package/dist/Case-Ba1UVzLu.js +0 -25
  161. package/dist/Catalog16px-D5Yt-qH0.js +0 -24
  162. package/dist/Catalog24px-CbZg3Wd-.js +0 -25
  163. package/dist/Catalog32px-DEiqWdKw.js +0 -25
  164. package/dist/Certs16px-DLkV0erM.js +0 -33
  165. package/dist/Certs16pxF-Ch3Z_P-O.js +0 -33
  166. package/dist/Certs24px-Do5yPDqw.js +0 -34
  167. package/dist/Certs24pxF-Cv--w2Vo.js +0 -34
  168. package/dist/Certs32px-BtQpjGU1.js +0 -34
  169. package/dist/Certs32pxF-8Y-y5UOZ.js +0 -34
  170. package/dist/ChMZAP-wSHBGtdL.js +0 -48
  171. package/dist/ChTZ-PAVxMyHL.js +0 -34
  172. package/dist/Change16px-Dbr1Q8TY.js +0 -22
  173. package/dist/Change24px-DpIQOuUu.js +0 -25
  174. package/dist/Change32px-BobIrvEg.js +0 -25
  175. package/dist/Chat16px-DqarMh06.js +0 -33
  176. package/dist/Chat16pxF-BEr-Lqm2.js +0 -24
  177. package/dist/Chat24px-B07p4Fw1.js +0 -30
  178. package/dist/Chat24pxF-BhOEvhHa.js +0 -25
  179. package/dist/Chat32px-CVmTlFnb.js +0 -34
  180. package/dist/Chat32pxF-VLA-KrO8.js +0 -25
  181. package/dist/Chatbot16px-D7hmpHj8.js +0 -264
  182. package/dist/Chatbot24px-Xw6Km457.js +0 -265
  183. package/dist/Chatbot32px-JVrcxH1h.js +0 -265
  184. package/dist/Cherry-Brt0vTmK.js +0 -34
  185. package/dist/Citroen-B3-VBgfm.js +0 -25
  186. package/dist/Clearance-BdftjoaH.js +0 -25
  187. package/dist/Close16px-yncu3S1c.js +0 -24
  188. package/dist/Close24px-DLCl1anV.js +0 -25
  189. package/dist/Close32px-BUBxuA5k.js +0 -25
  190. package/dist/CloseFloatMenuArrow16px-BLuE9jUZ.js +0 -22
  191. package/dist/CloseFloatMenuArrow24px-DC2uXU5d.js +0 -25
  192. package/dist/CloseFloatMenuArrow32px-D6Yvw40h.js +0 -23
  193. package/dist/CloseFloatMenuMobileArrow16px-DiNBwNl1.js +0 -22
  194. package/dist/CloseFloatMenuMobileArrow24px-BEmt9mUk.js +0 -23
  195. package/dist/CloseFloatMenuMobileArrow32px-CyvwICDy.js +0 -23
  196. package/dist/Coin16px-GcAZwMd3.js +0 -35
  197. package/dist/Coin16pxF-BpBYLvKq.js +0 -42
  198. package/dist/Coin24px-BwvEPTOg.js +0 -26
  199. package/dist/Coin24pxF-C-23vx72.js +0 -43
  200. package/dist/Coin32px-BU5-H__H.js +0 -36
  201. package/dist/Coin32pxF-DJYZt9UJ.js +0 -34
  202. package/dist/CombineHarvester-BUiaszfW.js +0 -41
  203. package/dist/Compartment-Cve8sS0j.js +0 -34
  204. package/dist/ConcreteMixerTruck-D43EZPWI.js +0 -41
  205. package/dist/ConcretePump-aI6bfyE5.js +0 -42
  206. package/dist/Contracts16px-P-c8btCq.js +0 -35
  207. package/dist/Contracts16pxF-CpE-U_nV.js +0 -33
  208. package/dist/Contracts24px-DhC2VuZY.js +0 -36
  209. package/dist/Contracts24pxF-D99YdzWK.js +0 -34
  210. package/dist/Contracts32px-CTpoKmDS.js +0 -36
  211. package/dist/Contracts32pxF-C2N-DqSO.js +0 -34
  212. package/dist/CopyClipboard16px-CIAYNRb8.js +0 -27
  213. package/dist/CopyClipboard24px-C8MSBeW_.js +0 -28
  214. package/dist/CopyClipboard32px-BAEG5-rL.js +0 -34
  215. package/dist/Crossover-CnJjL1nR.js +0 -34
  216. package/dist/Cylinders-DPwb5yAG.js +0 -37
  217. package/dist/DaewooFull-DEhEPVc0.js +0 -60
  218. package/dist/DaewooSymbol-S5JjIyXx.js +0 -53
  219. package/dist/Daf-BLi-jvO7.js +0 -25
  220. package/dist/Dayun-DoRa_Bot.js +0 -25
  221. package/dist/Dimensions-D9vGycAr.js +0 -34
  222. package/dist/Done16px-BMgPTw68.js +0 -24
  223. package/dist/Done24px-BGMr2Ua0.js +0 -25
  224. package/dist/Done32px-QEOVlh9a.js +0 -25
  225. package/dist/DongFeng-D4bL6sDT.js +0 -25
  226. package/dist/Download16px-jVDc1H41.js +0 -31
  227. package/dist/Download24px-Dukxu87S.js +0 -32
  228. package/dist/Download32px-CUwBsHAz.js +0 -32
  229. package/dist/DragHandle16px-CMq5289r.js +0 -22
  230. package/dist/DragHandle24px-DHr905OK.js +0 -23
  231. package/dist/DragHandle32px-DgLRWYeT.js +0 -23
  232. package/dist/DragHandleHorizontal16px-DHFulbcY.js +0 -22
  233. package/dist/DragHandleHorizontal24px-_8e9iXNb.js +0 -23
  234. package/dist/DragHandleHorizontal32px-Cts1nMvt.js +0 -23
  235. package/dist/DragHandleVertical16px-E-_vKtAw.js +0 -22
  236. package/dist/DragHandleVertical24px-B8h4wqMw.js +0 -23
  237. package/dist/DragHandleVertical32px-CZaRHILC.js +0 -23
  238. package/dist/DrillingRigg-BQYdG37w.js +0 -34
  239. package/dist/DropdownArrowBottom16px-SThQoOWF.js +0 -24
  240. package/dist/DropdownArrowDown24px-D7HJu36H.js +0 -25
  241. package/dist/DropdownArrowDown32px-CoDpmPzb.js +0 -25
  242. package/dist/DropdownArrowLeft16px-vnfocUlF.js +0 -24
  243. package/dist/DropdownArrowLeft24px-CFIXhmYY.js +0 -25
  244. package/dist/DropdownArrowLeft32px-CrkV9DDk.js +0 -25
  245. package/dist/DropdownArrowRight16px-Rcl2Mdts.js +0 -24
  246. package/dist/DropdownArrowRight24px-BD5_Asbu.js +0 -25
  247. package/dist/DropdownArrowRight32px-Dl_TroXx.js +0 -25
  248. package/dist/DropdownArrowUp16px-9sX1aEWz.js +0 -24
  249. package/dist/DropdownArrowUp24px-Bru3PFd8.js +0 -25
  250. package/dist/DropdownArrowUp32px-Dix3CXLP.js +0 -17
  251. package/dist/Ducati-Bv7LcQfF.js +0 -34
  252. package/dist/DumpTruck-D5dhirQp.js +0 -41
  253. package/dist/Dzen16px-BhMZW8CQ.js +0 -22
  254. package/dist/Dzen24px-_4CZzwoe.js +0 -23
  255. package/dist/Dzen32px-Mp1ZYoFU.js +0 -23
  256. package/dist/EngineType-Dy3UEg8u.js +0 -23
  257. package/dist/Equipment-Dg2QMiKV.js +0 -25
  258. package/dist/Euro16px-DRrmEaHQ.js +0 -25
  259. package/dist/Euro24px-3OVC1BYQ.js +0 -26
  260. package/dist/Euro32px-1t3kvGR1.js +0 -26
  261. package/dist/Excavator-CKvI8Ld4.js +0 -25
  262. package/dist/Exeed-DvZ2upDV.js +0 -34
  263. package/dist/Eye16px-BnE52y-8.js +0 -35
  264. package/dist/Eye24px-BICxF_bD.js +0 -36
  265. package/dist/Eye32px-Bufwk59n.js +0 -36
  266. package/dist/Failure16px-CCLjItGs.js +0 -27
  267. package/dist/Failure24px-DF1Nx0eS.js +0 -28
  268. package/dist/Failure32px-2_DqYqLc.js +0 -28
  269. package/dist/Favorite16px-krp3rAcr.js +0 -24
  270. package/dist/Favorite16pxF-2l04IgLp.js +0 -22
  271. package/dist/Favorite24px-BrPVQNsC.js +0 -25
  272. package/dist/Favorite24pxF-qpmxGfdQ.js +0 -23
  273. package/dist/Favorite32px-B-1H6r80.js +0 -25
  274. package/dist/Favorite32pxF-CkdkHRaO.js +0 -23
  275. package/dist/Faw-CSEL1fGW.js +0 -36
  276. package/dist/Fenix-DM8r2D3D.js +0 -116
  277. package/dist/Fiat-D7CZ3Ckc.js +0 -39
  278. package/dist/Filter16px-BJ-x2rye.js +0 -24
  279. package/dist/Filter24px-DNJl9PUU.js +0 -23
  280. package/dist/Filter32px-ByqmaAVm.js +0 -23
  281. package/dist/Flag16pxF-iGv2y1Qi.js +0 -16
  282. package/dist/Flag24pxF-D6qYw5Xt.js +0 -17
  283. package/dist/Flag32pxF-oohlMmD7.js +0 -17
  284. package/dist/Folder16px-3KP0YySu.js +0 -24
  285. package/dist/Folder24px-BVZCIkEb.js +0 -25
  286. package/dist/Folder32px-BeLtJ6Qd.js +0 -25
  287. package/dist/Ford-D1V-_kFJ.js +0 -43
  288. package/dist/ForestPreparationEquipment-CzEBCRwV.js +0 -41
  289. package/dist/ForkliftTruck-CAfIFf0B.js +0 -34
  290. package/dist/Foton-Civb8Wym.js +0 -34
  291. package/dist/FrontLoader-CzZO8jqV.js +0 -41
  292. package/dist/FuelConsumption-DTLxpPes.js +0 -23
  293. package/dist/Fullscreen16px-CVa431PU.js +0 -24
  294. package/dist/Fullscreen24px-DfNRblKi.js +0 -25
  295. package/dist/Fullscreen32px-B2vAHZ8F.js +0 -25
  296. package/dist/Gac-BW4JUbjs.js +0 -23
  297. package/dist/Galery16px-S39B6Tbe.js +0 -27
  298. package/dist/Galery24px-B70Grc0U.js +0 -28
  299. package/dist/Galery32px-C7_L61cy.js +0 -28
  300. package/dist/Gaz-B_glod8E.js +0 -61
  301. package/dist/Gear16px-6LYCHNL-.js +0 -35
  302. package/dist/Gear24px-CsBWqeA7.js +0 -36
  303. package/dist/Gear32px-CtKlK6CH.js +0 -36
  304. package/dist/GearType-DGWbicya.js +0 -26
  305. package/dist/Geely-CFxLEtwE.js +0 -27
  306. package/dist/Genesis-7Ml8lPh1.js +0 -32
  307. package/dist/Gift16px-BZls-H_P.js +0 -33
  308. package/dist/Gift24px-DCRL_k44.js +0 -25
  309. package/dist/Gift32px-B9wx9_Nq.js +0 -25
  310. package/dist/Gitte-DBx1BJ0u.js +0 -25
  311. package/dist/Grunwald-BcES_oht.js +0 -25
  312. package/dist/HartungFull-DquRU8Xf.js +0 -34
  313. package/dist/HartungSymbol-BuaV-nn-.js +0 -34
  314. package/dist/Hatchback-Cr7cMM9l.js +0 -34
  315. package/dist/Haval-DwhOzaEd.js +0 -25
  316. package/dist/Higer-Bl2UgfCY.js +0 -25
  317. package/dist/Hint16px-jWHRB48x.js +0 -25
  318. package/dist/Hint24px-DYo08JCd.js +0 -28
  319. package/dist/Hint32px-lYPKPiUL.js +0 -28
  320. package/dist/Hitachi-zuMU7Wia.js +0 -23
  321. package/dist/Home16px-nf6BhuOH.js +0 -33
  322. package/dist/Home16pxF-ftr5z4yo.js +0 -24
  323. package/dist/Home24px-CJCjBHEr.js +0 -36
  324. package/dist/Home24pxF-qmdy9kwq.js +0 -25
  325. package/dist/Home32px-DxOVdW-j.js +0 -28
  326. package/dist/Home32pxF-D64UqJwi.js +0 -25
  327. package/dist/Honda-CWySTVed.js +0 -39
  328. package/dist/Hongqi-Dq1js33w.js +0 -32
  329. package/dist/Hongyan-BXHhgVMj.js +0 -25
  330. package/dist/Hot16pxF-B8gO0bZ4.js +0 -22
  331. package/dist/Hot24pxF-DmNyJCUv.js +0 -23
  332. package/dist/Hot32pxF-CM462_Xh.js +0 -23
  333. package/dist/Howo-CgERgVQf.js +0 -48
  334. package/dist/Hyundai-DW03vn5K.js +0 -25
  335. package/dist/IceRink-CXDcHn-o.js +0 -36
  336. package/dist/Improvements24px-BkSwmsJi.js +0 -43
  337. package/dist/Improvements24pxF-we-rw6ER.js +0 -37
  338. package/dist/Infiniti-DDZI7IUo.js +0 -23
  339. package/dist/Isothermal-BEv2n2uE.js +0 -41
  340. package/dist/Isuzu-BmYgjvDZ.js +0 -25
  341. package/dist/Iveco-BtAdscJd.js +0 -25
  342. package/dist/JCB-C5eowOn2.js +0 -34
  343. package/dist/Jac-D2cZV6Lk.js +0 -23
  344. package/dist/Juterborg-BTbo0Y2B.js +0 -59
  345. package/dist/KIA-Qk43TWFW.js +0 -25
  346. package/dist/Kaiyi-B7eA7eWh.js +0 -25
  347. package/dist/Kamaz-b6jHf99q.js +0 -37
  348. package/dist/Kassbohrer-IUn8MLcw.js +0 -25
  349. package/dist/Kebab16px-DfTPykAQ.js +0 -16
  350. package/dist/Kebab24px-BYolM7Lq.js +0 -23
  351. package/dist/Kebab32px-CDhlgcwj.js +0 -17
  352. package/dist/Komatsu-Ch4Q2bal.js +0 -23
  353. package/dist/Ktm-C2TLHVi8.js +0 -23
  354. package/dist/LCCE-B2S1Vwq5.js +0 -39
  355. package/dist/Lada-BTO9WBD7.js +0 -25
  356. package/dist/Lexus-CSnfKaB2.js +0 -25
  357. package/dist/Liftback-Bx_7-7fO.js +0 -25
  358. package/dist/LiftingHeight-CPHHgiKu.js +0 -23
  359. package/dist/List16px-BrwtUFgP.js +0 -22
  360. package/dist/List24px-CmENxvos.js +0 -23
  361. package/dist/List32px-ChDSXkFX.js +0 -23
  362. package/dist/LiuGong-DODz6x68.js +0 -32
  363. package/dist/LoadingCapacity-DDMbkIqV.js +0 -25
  364. package/dist/Location16px-BlLMaJvo.js +0 -35
  365. package/dist/Location24px-wPb9L50t.js +0 -36
  366. package/dist/Location32px-BoUvkB03.js +0 -36
  367. package/dist/Lonking-C5gBWh9S.js +0 -32
  368. package/dist/Lovol-BT_sP9Wd.js +0 -23
  369. package/dist/MTZBelarus-uprKopHJ.js +0 -36
  370. package/dist/Man-CD_0Sgqr.js +0 -23
  371. package/dist/Mans-BVm-vWA3.js +0 -21
  372. package/dist/Map16px-t8-9n8WE.js +0 -24
  373. package/dist/Map24px-BYoh_iPr.js +0 -25
  374. package/dist/Map32px-C4a9oUDP.js +0 -25
  375. package/dist/Maz-BYlKxE50.js +0 -34
  376. package/dist/Menu16px-DdE3Br07.js +0 -22
  377. package/dist/Menu24px-DBawOXMG.js +0 -23
  378. package/dist/Menu32px-ft8Xb8HO.js +0 -23
  379. package/dist/MenuMobile16px-B3ig9ai4.js +0 -24
  380. package/dist/MenuMobile24px-Dnuim2QB.js +0 -25
  381. package/dist/MenuMobile32px-DDLE5aRr.js +0 -25
  382. package/dist/MercedesBenz-DgVdOc5E.js +0 -25
  383. package/dist/Meusburger-5-bQL8UM.js +0 -25
  384. package/dist/MiniEscalator-DXtvdBtj.js +0 -43
  385. package/dist/MiniLoader-CgR-mjRs.js +0 -34
  386. package/dist/MiningDumpTruck-B6hJdZJu.js +0 -41
  387. package/dist/Minitractor-BMeJ-ZlO.js +0 -34
  388. package/dist/Minivan-BLrD96qN.js +0 -34
  389. package/dist/Minus16px-BsaSPrpm.js +0 -16
  390. package/dist/Minus24px-Cd4e6TzW.js +0 -25
  391. package/dist/Minus32px-D7xvjBJN.js +0 -25
  392. package/dist/Mitsubishi-BnT44Xoa.js +0 -23
  393. package/dist/MotorGrader-C6LK1V7h.js +0 -34
  394. package/dist/MotorVehiclesBike-UyntCPvQ.js +0 -26
  395. package/dist/MotorVehiclesQuadBike-7Wo4TANl.js +0 -32
  396. package/dist/Navigation16px-p9fAt-hP.js +0 -24
  397. package/dist/Navigation24px-CtJtnmhL.js +0 -25
  398. package/dist/Navigation32px-DNwrWMZE.js +0 -25
  399. package/dist/NefAZ-CYGovIEN.js +0 -32
  400. package/dist/News16px-CAJU2_p_.js +0 -33
  401. package/dist/News16pxF-7dNhfaU6.js +0 -24
  402. package/dist/News24px-QXFy8Y05.js +0 -34
  403. package/dist/News24pxF-CWFmlSru.js +0 -25
  404. package/dist/News32px-pJmYmKJ_.js +0 -34
  405. package/dist/News32pxF-BVjsHGm0.js +0 -25
  406. package/dist/Number16px-CijeDCqH.js +0 -33
  407. package/dist/Number24px-pDsuFcRN.js +0 -34
  408. package/dist/Number32px-Bp13_oDL.js +0 -34
  409. package/dist/NumberOfAxes-DAXQVVdk.js +0 -25
  410. package/dist/NumberOfSeats-DPuDLZw9.js +0 -23
  411. package/dist/NursanTrailer-zfpX_rJ5.js +0 -23
  412. package/dist/OffRoadVehicle-PcPhm4DC.js +0 -34
  413. package/dist/Omoda-CBWH_Ago.js +0 -39
  414. package/dist/OnBoard-0OYYMig3.js +0 -41
  415. package/dist/OnBoardCargoAndPassengerTransport-Bp9HcA-A.js +0 -41
  416. package/dist/OnBoardWithCmu-JBgrZGDm.js +0 -41
  417. package/dist/OpenFloatMenuArrow16px-CCqP46NH.js +0 -22
  418. package/dist/OpenFloatMenuArrow24px-DcV5bned.js +0 -23
  419. package/dist/OpenFloatMenuArrow32px-BL6HnNSl.js +0 -23
  420. package/dist/OpenFloatMenuMobileArrow16px-COMRCn5i.js +0 -22
  421. package/dist/OpenFloatMenuMobileArrow24px-D1wx7mh5.js +0 -25
  422. package/dist/OpenFloatMenuMobileArrow32px-CE6fDiO1.js +0 -25
  423. package/dist/Orders16px-Tkvhpk4W.js +0 -33
  424. package/dist/Orders16pxF-Dy1_IqA6.js +0 -27
  425. package/dist/Orders24px-BHWftVdQ.js +0 -34
  426. package/dist/Orders24pxF-DgwXbktU.js +0 -28
  427. package/dist/Orders32px-CTrpwXog.js +0 -43
  428. package/dist/Orders32pxF-DTyNKvnT.js +0 -34
  429. package/dist/OtherAgriculturalMachinery-9dGJTrMc.js +0 -50
  430. package/dist/OtherCareerTechniques-Dgr-LaXF.js +0 -41
  431. package/dist/PSATss-FH4_WoDx.js +0 -39
  432. package/dist/Pause16px-DrUHTQOp.js +0 -16
  433. package/dist/Pause24px-BDg2ApPJ.js +0 -17
  434. package/dist/Pause32px-D9KVeh8H.js +0 -17
  435. package/dist/Paz-Cz0iePw3.js +0 -25
  436. package/dist/Pen16px-BpvsshJ0.js +0 -35
  437. package/dist/Pen16pxF-D0Ot2_xX.js +0 -24
  438. package/dist/Pen24px-BC3_Lho-.js +0 -36
  439. package/dist/Pen24pxF-955o6GU-.js +0 -25
  440. package/dist/Pen32px-B169eyA7.js +0 -24
  441. package/dist/Pen32pxF-IYe01ej4.js +0 -25
  442. package/dist/Peugeot-DGGCgccX.js +0 -23
  443. package/dist/Phone16px-BTNcqkMT.js +0 -24
  444. package/dist/Phone24px-D1IgTWqO.js +0 -25
  445. package/dist/Phone32px-CP_IYGW7.js +0 -23
  446. package/dist/Pickup-C1vLK8Ds.js +0 -25
  447. package/dist/PickupTruck-DfMFIU5J.js +0 -34
  448. package/dist/PilingInstallation-DkktOtHW.js +0 -36
  449. package/dist/Play16pxF-DlflH6dC.js +0 -22
  450. package/dist/Play24px-DIeywBv3.js +0 -23
  451. package/dist/Play32px-CDOSEnVI.js +0 -23
  452. package/dist/Plus16px-DQ1CV6pu.js +0 -24
  453. package/dist/Plus24px-DN2J9UW_.js +0 -25
  454. package/dist/Plus32px-BnNzwYFx.js +0 -25
  455. package/dist/Pound16px-BI-TmzN3.js +0 -25
  456. package/dist/Pound24px-DyqVyAmG.js +0 -26
  457. package/dist/Pound32px-DOVd40fL.js +0 -26
  458. package/dist/PriceDown16px-C-cNQZW0.js +0 -35
  459. package/dist/PriceDown24px-PVTMb32v.js +0 -34
  460. package/dist/PriceDown32px-BnvMqfiD.js +0 -45
  461. package/dist/PriceUp16px-CYzIn1JK.js +0 -35
  462. package/dist/PriceUp24px-DhvCeTuT.js +0 -34
  463. package/dist/PriceUp32px-DXmbyQYE.js +0 -36
  464. package/dist/PromotionalItem-dcrkAiPD.js +0 -41
  465. package/dist/PublicUtilityVehicle-DhKmayVl.js +0 -48
  466. package/dist/QuarryExcavator-Cpw_k1y-.js +0 -28
  467. package/dist/Question16px-tzofmGkO.js +0 -24
  468. package/dist/Question16pxF-DSNmwd8C.js +0 -24
  469. package/dist/Question24px-eueJiFdF.js +0 -34
  470. package/dist/Question24pxF-CT9X-eEh.js +0 -25
  471. package/dist/Question32px-DocfaHkH.js +0 -34
  472. package/dist/Question32pxF-DREzHjSx.js +0 -25
  473. package/dist/Raskat-Dt9ZmFxF.js +0 -39
  474. package/dist/Renault-Ch74xcFm.js +0 -32
  475. package/dist/RussianCarsEmblem-Db6Bh8Bb.js +0 -34
  476. package/dist/RussianCarsKremlin-DoBsxn2Y.js +0 -43
  477. package/dist/Rutube16px-BMJ84Pid.js +0 -22
  478. package/dist/Rutube24px-CagkcqE2.js +0 -23
  479. package/dist/Rutube32px-DfSUkwlK.js +0 -23
  480. package/dist/Sany-DWj6_gDd.js +0 -52
  481. package/dist/Scan16px-y7KrBIJ7.js +0 -22
  482. package/dist/Scan24px-uYfvDHxJ.js +0 -23
  483. package/dist/Scan32px-XteDey6o.js +0 -23
  484. package/dist/Scania-BfRIErvN.js +0 -59
  485. package/dist/Schmitz-NM386tH6.js +0 -25
  486. package/dist/Scooter-ke7XINzD.js +0 -32
  487. package/dist/Search16px-D1uxbOTI.js +0 -24
  488. package/dist/Search24px-CL-9fhxx.js +0 -25
  489. package/dist/Search32px-Ci3in43W.js +0 -25
  490. package/dist/Sedan-BL07imjo.js +0 -34
  491. package/dist/Shacman-KOaW_Q-7.js +0 -32
  492. package/dist/Shantui-Bt2wnL1m.js +0 -23
  493. package/dist/Share16pxF-vtMj_7yk.js +0 -22
  494. package/dist/Share24pxF-uceRx-El.js +0 -23
  495. package/dist/Share32pxF-4ugq9kEJ.js +0 -23
  496. package/dist/ShopimgCard32px-iCGLjLtQ.js +0 -25
  497. package/dist/ShopingCard16px-XZLluJXh.js +0 -24
  498. package/dist/ShopingCard24px-L7CyQPVo.js +0 -25
  499. package/dist/Sinanli-DzqtzgDP.js +0 -73
  500. package/dist/Sitrak-DIUjfUpS.js +0 -36
  501. package/dist/Snowmobile-CbcOnsu2.js +0 -41
  502. package/dist/SobolIztechmash-C5dyz5Mb.js +0 -62
  503. package/dist/Sokol-D2pl6dSo.js +0 -23
  504. package/dist/Sollers-DdR7XX6w.js +0 -25
  505. package/dist/Sort16px-CBh69rcA.js +0 -24
  506. package/dist/Sort24px-B2CSwjt0.js +0 -23
  507. package/dist/Sort32px-BlrSI5hs.js +0 -23
  508. package/dist/Star16px-D9rd0Y2r.js +0 -24
  509. package/dist/Star16pxF-6345ObwP.js +0 -22
  510. package/dist/Star24px-Q9q-1A_S.js +0 -25
  511. package/dist/Star24pxF-DfniFNB1.js +0 -23
  512. package/dist/Star32px-DxQPQSMB.js +0 -25
  513. package/dist/Star32pxF-DYoBooDi.js +0 -23
  514. package/dist/StarHalf16pxF-BnS_DmI6.js +0 -24
  515. package/dist/StarHalf24pxF-DNqRfb03.js +0 -25
  516. package/dist/StarHalf32pxF-CiZCPnYl.js +0 -25
  517. package/dist/Step-IwkI6e-d.js +0 -22
  518. package/dist/TankerTruck-1D1cDEZV.js +0 -41
  519. package/dist/Telegram16pxF-CCMcUa6i.js +0 -22
  520. package/dist/Telegram24pxF-CNj1SGgA.js +0 -23
  521. package/dist/Telegram32pxF-C1Uvx9Qa.js +0 -23
  522. package/dist/TelegramPlane16pxF-f9kA7Rd5.js +0 -22
  523. package/dist/TelegramPlane24pxF-DOUaZ9RK.js +0 -23
  524. package/dist/TelegramPlane32pxF-CLaYnwuK.js +0 -23
  525. package/dist/TelescopicLoader-DxIQUBqy.js +0 -34
  526. package/dist/TheLift-BO2_aQm3.js +0 -39
  527. package/dist/Timer16px-DlqpvnY4.js +0 -40
  528. package/dist/Timer24px-CigoYjNV.js +0 -41
  529. package/dist/Timer32px--MNiQ70L.js +0 -35
  530. package/dist/TitanLipetskiyZavodPricepcenter-CX6tq7HL.js +0 -23
  531. package/dist/Tonar-DHMDqF89.js +0 -25
  532. package/dist/TowTruck-CgOd-TeZ.js +0 -34
  533. package/dist/Toyota-BLLYLpfp.js +0 -23
  534. package/dist/Tractor-CFVJfhOe.js +0 -34
  535. package/dist/TractorTruck-zY1F8Izn.js +0 -41
  536. package/dist/TrailerType-BAyMPr4C.js +0 -32
  537. package/dist/Trailerr-D0dFKerE.js +0 -25
  538. package/dist/TrailersCarCarrier-CGVWZnOD.js +0 -43
  539. package/dist/TrailersCattleTruck-Q-wf1wvI.js +0 -34
  540. package/dist/TrailersContainerShip-Bu7lNdXo.js +0 -42
  541. package/dist/TrailersCurtainSide-TzavyUiE.js +0 -41
  542. package/dist/TrailersDumpTruck-NyZQ82XD.js +0 -41
  543. package/dist/TrailersGrainTruck-CIhh4KB-.js +0 -41
  544. package/dist/TrailersHeavyTruck-CSGGqIBP.js +0 -41
  545. package/dist/TrailersIsothermal-DqNtO4CP.js +0 -41
  546. package/dist/TrailersOther-DrN3LDSc.js +0 -41
  547. package/dist/TrailersTankerTruck-DBQT2y32.js +0 -41
  548. package/dist/Trash16px-CrO1bSUC.js +0 -24
  549. package/dist/Trash24px-CSWDACv3.js +0 -45
  550. package/dist/Trash32px-Dsm9A0qb.js +0 -45
  551. package/dist/Trekol-zGkTKbbH.js +0 -36
  552. package/dist/Truck-VN9eRSGy.js +0 -25
  553. package/dist/TruckCrane-B9Gj09Ac.js +0 -43
  554. package/dist/TwinArrowLeft16px-CDGT5xd_.js +0 -22
  555. package/dist/TwinArrowLeft24px-CQIvnNbJ.js +0 -23
  556. package/dist/TwinArrowLeft32px-WGUdCm5V.js +0 -23
  557. package/dist/TwinArrowRight16px-C_M-ndWU.js +0 -22
  558. package/dist/TwinArrowRight24px-AJ6BESZj.js +0 -25
  559. package/dist/TwinArrowRight32px-CnM_Ncq0.js +0 -23
  560. package/dist/UAT-DBEtif_4.js +0 -23
  561. package/dist/USDollar16px-CIU1XDKE.js +0 -25
  562. package/dist/USDollar24px-BnowCnVm.js +0 -26
  563. package/dist/USDollar32px-DcFUaBXJ.js +0 -26
  564. package/dist/Uaz-p36RmoN2.js +0 -72
  565. package/dist/Umbrella16px-BWSAXn5N.js +0 -24
  566. package/dist/Umbrella16pxF-BRITAZUo.js +0 -22
  567. package/dist/Umbrella24px-AVixUdjO.js +0 -25
  568. package/dist/Umbrella24pxF-TsE9ph3B.js +0 -23
  569. package/dist/Umbrella32px-DKZ4AEWh.js +0 -25
  570. package/dist/Umbrella32pxF-BuM67_J_.js +0 -25
  571. package/dist/UnionIcon16px-DUou2SKn.js +0 -24
  572. package/dist/UnionIcon24px-DYZy73hR.js +0 -25
  573. package/dist/UnionIcon32px-C8oevJyK.js +0 -25
  574. package/dist/Universal--Hli-Fyc.js +0 -34
  575. package/dist/UnloadingType-DZ4BqmZv.js +0 -32
  576. package/dist/Ural-DKvJyedl.js +0 -23
  577. package/dist/User16px-B850i1hY.js +0 -33
  578. package/dist/User16pxF-C5WUBFEF.js +0 -22
  579. package/dist/User24px-ySYZdsWl.js +0 -34
  580. package/dist/User24pxF-Cu5ubeXY.js +0 -23
  581. package/dist/User32px-B49WiqJ8.js +0 -34
  582. package/dist/User32pxF-DD9wxfsd.js +0 -23
  583. package/dist/Users16px-B8FKM1pN.js +0 -33
  584. package/dist/Users16pxF-DHpV4xF9.js +0 -22
  585. package/dist/Users24px-hfCew_Yp.js +0 -25
  586. package/dist/Users24pxF-Krb9uIO9.js +0 -32
  587. package/dist/Users32px-jGZqJWDj.js +0 -25
  588. package/dist/Users32pxF-DOS0mO4M.js +0 -26
  589. package/dist/VIS-CCPWCRNN.js +0 -23
  590. package/dist/VK16pxF-QT0bicYh.js +0 -24
  591. package/dist/VK24pxF-BPZRP4Jz.js +0 -25
  592. package/dist/VK32pxF-TVYTWPoL.js +0 -25
  593. package/dist/VKR-Byq5h89A.js +0 -34
  594. package/dist/Van-CPAg1VRa.js +0 -25
  595. package/dist/Volkswagen-nMYNUfXZ.js +0 -25
  596. package/dist/Volvo-B-hmKU3t.js +0 -23
  597. package/dist/Waiting16px-BM1YdA8q.js +0 -24
  598. package/dist/Waiting24px-BH6FG4XU.js +0 -25
  599. package/dist/Waiting32px-Blp1lCt3.js +0 -25
  600. package/dist/Weight-Cpq4eaB8.js +0 -36
  601. package/dist/Whatsapp16px-BP6hKOaP.js +0 -33
  602. package/dist/Whatsapp24px-Bojsg4-5.js +0 -34
  603. package/dist/Whatsapp32px-_CC3IlMm.js +0 -34
  604. package/dist/WheelDriveType-BG5kZmSC.js +0 -32
  605. package/dist/WheelSheme-BGx779XP.js +0 -34
  606. package/dist/Wielton-DYfwDIYZ.js +0 -23
  607. package/dist/WriteUs16px-NFud1QiL.js +0 -27
  608. package/dist/WriteUs24px-C6p0fbp2.js +0 -28
  609. package/dist/WriteUs32px-mCAj6d-T.js +0 -28
  610. package/dist/XCMG-BwcL8g8n.js +0 -39
  611. package/dist/Ycles-CeloY3Ev.js +0 -44
  612. package/dist/Youtube16pxF-DSqMksVi.js +0 -22
  613. package/dist/Youtube24pxF-1HIRYumU.js +0 -23
  614. package/dist/Youtube32pxF-DavJD7E5.js +0 -23
  615. package/dist/Yuan16px-Bphe1lty.js +0 -25
  616. package/dist/Yuan24px-t7tRgewo.js +0 -26
  617. package/dist/Yuan32px-DkbPyZ4p.js +0 -26
  618. package/dist/Yutong-0CbTrUPe.js +0 -74
  619. package/dist/Zoomlion-DCGC9msz.js +0 -23
  620. package/dist/assets/Accordion.css +0 -1
  621. package/dist/assets/AccordionItem.css +0 -1
  622. package/dist/assets/TabTrail.css +0 -1
  623. package/dist/bugs-CSBdWk0R.js +0 -18
  624. package/dist/components/Accordion/Accordion.d.ts +0 -10
  625. package/dist/components/Accordion/Accordion.js +0 -1599
  626. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
  627. package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -16
  628. package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
  629. package/dist/components/Accordion/AccordionItem/index.js +0 -4
  630. package/dist/components/Accordion/constants.d.ts +0 -4
  631. package/dist/components/Accordion/constants.js +0 -8
  632. package/dist/components/Accordion/index.d.ts +0 -3
  633. package/dist/components/Accordion/index.js +0 -8
  634. package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -8
  635. package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -28
  636. package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
  637. package/dist/components/TabTrail/TabButtons/index.js +0 -4
  638. package/dist/components/TabTrail/TabTrail.d.ts +0 -11
  639. package/dist/components/TabTrail/TabTrail.js +0 -281
  640. package/dist/components/TabTrail/constants.d.ts +0 -4
  641. package/dist/components/TabTrail/constants.js +0 -8
  642. package/dist/components/TabTrail/index.d.ts +0 -2
  643. package/dist/components/TabTrail/index.js +0 -6
  644. package/dist/hidden-BuVoeHNy.js +0 -13
  645. package/dist/label-C_5Syaoj.js +0 -159
  646. package/dist/open-closed-CbXq00et.js +0 -93
  647. package/dist/use-by-comparator-BUO78DGe.js +0 -16
  648. package/dist/use-resolve-button-type-B6LE6gU3.js +0 -19
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { EAccordionSize } from '../constants';
3
-
4
- export type TAccordionItemProps = {
5
- children: React.ReactNode;
6
- size: EAccordionSize;
7
- };
8
- export declare const AccordionItem: FC<TAccordionItemProps>;
@@ -1,16 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../../index-CweZ_OcN.js";
3
- import '../../../assets/AccordionItem.css';const item = "_item_1k68o_2";
4
- const m = "_m_1k68o_10";
5
- const l = "_l_1k68o_15";
6
- const cls = {
7
- item,
8
- m,
9
- l
10
- };
11
- const AccordionItem = ({ children, size }) => {
12
- return /* @__PURE__ */ jsx("div", { className: classNames(cls.item, cls[size]), children });
13
- };
14
- export {
15
- AccordionItem
16
- };
@@ -1 +0,0 @@
1
- export { AccordionItem, type TAccordionItemProps } from './AccordionItem';
@@ -1,4 +0,0 @@
1
- import { AccordionItem } from "./AccordionItem.js";
2
- export {
3
- AccordionItem
4
- };
@@ -1,4 +0,0 @@
1
- export declare enum EAccordionSize {
2
- M = "m",
3
- S = "s"
4
- }
@@ -1,8 +0,0 @@
1
- var EAccordionSize = /* @__PURE__ */ ((EAccordionSize2) => {
2
- EAccordionSize2["M"] = "m";
3
- EAccordionSize2["S"] = "s";
4
- return EAccordionSize2;
5
- })(EAccordionSize || {});
6
- export {
7
- EAccordionSize
8
- };
@@ -1,3 +0,0 @@
1
- export { Accordion, type TAccordionProps } from './Accordion';
2
- export { EAccordionSize } from './constants';
3
- export { AccordionItem, type TAccordionItemProps } from './AccordionItem';
@@ -1,8 +0,0 @@
1
- import { Accordion } from "./Accordion.js";
2
- import { EAccordionSize } from "./constants.js";
3
- import { AccordionItem } from "./AccordionItem/AccordionItem.js";
4
- export {
5
- Accordion,
6
- AccordionItem,
7
- EAccordionSize
8
- };
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- type TProps = {
4
- handleNextTab: () => void;
5
- handlePrevTab: () => void;
6
- };
7
- export declare const TabButtons: FC<TProps>;
8
- export {};
@@ -1,28 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { memo, useMemo } from "react";
3
- import { MergedButton } from "../../MergedButton/MergedButton.js";
4
- const TabButtons = memo(
5
- ({ handleNextTab, handlePrevTab }) => {
6
- const buttons = useMemo(
7
- () => [
8
- {
9
- isIconButton: true,
10
- iconName: "ArrowLeft16px",
11
- variant: "gray",
12
- onClick: handlePrevTab
13
- },
14
- {
15
- isIconButton: true,
16
- iconName: "ArrowRight16px",
17
- variant: "gray",
18
- onClick: handleNextTab
19
- }
20
- ],
21
- [handlePrevTab, handleNextTab]
22
- );
23
- return /* @__PURE__ */ jsx(MergedButton, { buttons });
24
- }
25
- );
26
- export {
27
- TabButtons
28
- };
@@ -1 +0,0 @@
1
- export { TabButtons } from './TabButtons';
@@ -1,4 +0,0 @@
1
- import { TabButtons } from "./TabButtons.js";
2
- export {
3
- TabButtons
4
- };
@@ -1,11 +0,0 @@
1
- import { ETabTrailSize } from './constants';
2
-
3
- export type TCategoryTab = {
4
- name: string;
5
- content: React.ReactNode;
6
- };
7
- export type TTabTrailProps = {
8
- categories: TCategoryTab[];
9
- size?: ETabTrailSize;
10
- };
11
- export declare const TabTrail: import('react').ForwardRefExoticComponent<TTabTrailProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,281 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import * as React from "react";
4
- import React__default, { useRef, useState, createContext, useReducer, useMemo, useId, useContext, forwardRef, useEffect } from "react";
5
- import { TabButtons } from "./TabButtons/TabButtons.js";
6
- import { useMediaQuery } from "../../hooks/useMediaQuery/useMediaQuery.js";
7
- import { EMediaQuery } from "../../hooks/useMediaQuery/constants.js";
8
- import { n, M, W, s as s$3, y, o, H, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, a as u, u as u$1, c as o$1, t } from "../../keyboard-B256ZoM-.js";
9
- import { w } from "../../use-active-press-B6yeSopF.js";
10
- import { T as T$1 } from "../../use-resolve-button-type-B6LE6gU3.js";
11
- import { T, s as s$2 } from "../../hidden-BuVoeHNy.js";
12
- import { _, T as T$2, P, F } from "../../focus-management-1rQPII7Z.js";
13
- import '../../assets/TabTrail.css';function f$1() {
14
- let e = useRef(false);
15
- return n(() => (e.current = true, () => {
16
- e.current = false;
17
- }), []), e;
18
- }
19
- function b({ onFocus: n2 }) {
20
- let [r, o2] = useState(true), u2 = f$1();
21
- return r ? React__default.createElement(T, { as: "button", type: "button", features: s$2.Focusable, onFocus: (a2) => {
22
- a2.preventDefault();
23
- let e, i = 50;
24
- function t2() {
25
- if (i-- <= 0) {
26
- e && cancelAnimationFrame(e);
27
- return;
28
- }
29
- if (n2()) {
30
- if (cancelAnimationFrame(e), !u2.current) return;
31
- o2(false);
32
- return;
33
- }
34
- e = requestAnimationFrame(t2);
35
- }
36
- e = requestAnimationFrame(t2);
37
- } }) : null;
38
- }
39
- const s$1 = React.createContext(null);
40
- function a() {
41
- return { groups: /* @__PURE__ */ new Map(), get(o2, e) {
42
- var i;
43
- let t2 = this.groups.get(o2);
44
- t2 || (t2 = /* @__PURE__ */ new Map(), this.groups.set(o2, t2));
45
- let n2 = (i = t2.get(e)) != null ? i : 0;
46
- t2.set(e, n2 + 1);
47
- let r = Array.from(t2.keys()).indexOf(e);
48
- function u2() {
49
- let c = t2.get(e);
50
- c > 1 ? t2.set(e, c - 1) : t2.delete(e);
51
- }
52
- return [r, u2];
53
- } };
54
- }
55
- function f({ children: o2 }) {
56
- let e = React.useRef(a());
57
- return React.createElement(s$1.Provider, { value: e }, o2);
58
- }
59
- function C$1(o2) {
60
- let e = React.useContext(s$1);
61
- if (!e) throw new Error("You must wrap your component in a <StableCollection>");
62
- let t2 = React.useId(), [n2, r] = e.current.get(o2, t2);
63
- return React.useEffect(() => r, []), n2;
64
- }
65
- var Ae = ((t2) => (t2[t2.Forwards = 0] = "Forwards", t2[t2.Backwards = 1] = "Backwards", t2))(Ae || {}), Ee = ((o2) => (o2[o2.Less = -1] = "Less", o2[o2.Equal = 0] = "Equal", o2[o2.Greater = 1] = "Greater", o2))(Ee || {}), Re = ((n2) => (n2[n2.SetSelectedIndex = 0] = "SetSelectedIndex", n2[n2.RegisterTab = 1] = "RegisterTab", n2[n2.UnregisterTab = 2] = "UnregisterTab", n2[n2.RegisterPanel = 3] = "RegisterPanel", n2[n2.UnregisterPanel = 4] = "UnregisterPanel", n2))(Re || {});
66
- let Le = { [0](e, r) {
67
- var c;
68
- let t2 = _(e.tabs, (T2) => T2.current), o2 = _(e.panels, (T2) => T2.current), a2 = t2.filter((T2) => {
69
- var d;
70
- return !((d = T2.current) != null && d.hasAttribute("disabled"));
71
- }), n2 = { ...e, tabs: t2, panels: o2 };
72
- if (r.index < 0 || r.index > t2.length - 1) {
73
- let T2 = u(Math.sign(r.index - e.selectedIndex), { [-1]: () => 1, [0]: () => u(Math.sign(r.index), { [-1]: () => 0, [0]: () => 0, [1]: () => 1 }), [1]: () => 0 });
74
- if (a2.length === 0) return n2;
75
- let d = u(T2, { [0]: () => t2.indexOf(a2[0]), [1]: () => t2.indexOf(a2[a2.length - 1]) });
76
- return { ...n2, selectedIndex: d === -1 ? e.selectedIndex : d };
77
- }
78
- let u$12 = t2.slice(0, r.index), x = [...t2.slice(r.index), ...u$12].find((T2) => a2.includes(T2));
79
- if (!x) return n2;
80
- let f2 = (c = t2.indexOf(x)) != null ? c : e.selectedIndex;
81
- return f2 === -1 && (f2 = e.selectedIndex), { ...n2, selectedIndex: f2 };
82
- }, [1](e, r) {
83
- if (e.tabs.includes(r.tab)) return e;
84
- let t2 = e.tabs[e.selectedIndex], o2 = _([...e.tabs, r.tab], (n2) => n2.current), a2 = e.selectedIndex;
85
- return e.info.current.isControlled || (a2 = o2.indexOf(t2), a2 === -1 && (a2 = e.selectedIndex)), { ...e, tabs: o2, selectedIndex: a2 };
86
- }, [2](e, r) {
87
- return { ...e, tabs: e.tabs.filter((t2) => t2 !== r.tab) };
88
- }, [3](e, r) {
89
- return e.panels.includes(r.panel) ? e : { ...e, panels: _([...e.panels, r.panel], (t2) => t2.current) };
90
- }, [4](e, r) {
91
- return { ...e, panels: e.panels.filter((t2) => t2 !== r.panel) };
92
- } }, z = createContext(null);
93
- z.displayName = "TabsDataContext";
94
- function C(e) {
95
- let r = useContext(z);
96
- if (r === null) {
97
- let t2 = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
98
- throw Error.captureStackTrace && Error.captureStackTrace(t2, C), t2;
99
- }
100
- return r;
101
- }
102
- let V = createContext(null);
103
- V.displayName = "TabsActionsContext";
104
- function Q(e) {
105
- let r = useContext(V);
106
- if (r === null) {
107
- let t2 = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
108
- throw Error.captureStackTrace && Error.captureStackTrace(t2, Q), t2;
109
- }
110
- return r;
111
- }
112
- function _e(e, r) {
113
- return u(r.type, Le, e, r);
114
- }
115
- let De = "div";
116
- function Se(e, r) {
117
- let { defaultIndex: t2 = 0, vertical: o$12 = false, manual: a2 = false, onChange: n$1, selectedIndex: u2 = null, ..._$1 } = e;
118
- const x = o$12 ? "vertical" : "horizontal", f$12 = a2 ? "manual" : "auto";
119
- let c = u2 !== null, T2 = s$3({ isControlled: c }), d = y(r), [i, s2] = useReducer(_e, { info: T2, selectedIndex: u2 != null ? u2 : t2, tabs: [], panels: [] }), F2 = useMemo(() => ({ selectedIndex: i.selectedIndex }), [i.selectedIndex]), M2 = s$3(n$1 || (() => {
120
- })), b$1 = s$3(i.tabs), m2 = useMemo(() => ({ orientation: x, activation: f$12, ...i }), [x, f$12, i]), E = o((p) => (s2({ type: 1, tab: p }), () => s2({ type: 2, tab: p }))), I = o((p) => (s2({ type: 3, panel: p }), () => s2({ type: 4, panel: p }))), g = o((p) => {
121
- R.current !== p && M2.current(p), c || s2({ type: 0, index: p });
122
- }), R = s$3(c ? e.selectedIndex : i.selectedIndex), J = useMemo(() => ({ registerTab: E, registerPanel: I, change: g }), []);
123
- n(() => {
124
- s2({ type: 0, index: u2 != null ? u2 : t2 });
125
- }, [u2]), n(() => {
126
- if (R.current === void 0 || i.tabs.length <= 0) return;
127
- let p = _(i.tabs, (L) => L.current);
128
- p.some((L, B) => i.tabs[B] !== L) && g(p.indexOf(i.tabs[R.current]));
129
- });
130
- let k = { ref: d };
131
- return React__default.createElement(f, null, React__default.createElement(V.Provider, { value: J }, React__default.createElement(z.Provider, { value: m2 }, m2.tabs.length <= 0 && React__default.createElement(b, { onFocus: () => {
132
- var p, h;
133
- for (let L of b$1.current) if (((p = L.current) == null ? void 0 : p.tabIndex) === 0) return (h = L.current) == null || h.focus(), true;
134
- return false;
135
- } }), H({ ourProps: k, theirProps: _$1, slot: F2, defaultTag: De, name: "Tabs" }))));
136
- }
137
- let Fe = "div";
138
- function Ie(e, r) {
139
- let { orientation: t2, selectedIndex: o2 } = C("Tab.List"), a2 = y(r), n2 = useMemo(() => ({ selectedIndex: o2 }), [o2]);
140
- return H({ ourProps: { ref: a2, role: "tablist", "aria-orientation": t2 }, theirProps: e, slot: n2, defaultTag: Fe, name: "Tabs.List" });
141
- }
142
- let he = "button";
143
- function ve(e, r) {
144
- var Y, Z;
145
- let t$1 = useId(), { id: o$2 = `headlessui-tabs-tab-${t$1}`, disabled: a2 = false, autoFocus: n$1 = false, ...u$2 } = e, { orientation: _2, activation: x, selectedIndex: f2, tabs: c, panels: T2 } = C("Tab"), d = Q("Tab"), i = C("Tab"), s2 = useRef(null), F$1 = y(s2, r);
146
- n(() => d.registerTab(s2), [d, s2]);
147
- let M2 = C$1("tabs"), b2 = c.indexOf(s2);
148
- b2 === -1 && (b2 = M2);
149
- let m2 = b2 === f2, E = o((l) => {
150
- var X;
151
- let A = l();
152
- if (A === T$2.Success && x === "auto") {
153
- let $ = (X = u$1(s2)) == null ? void 0 : X.activeElement, ee = i.tabs.findIndex((Te) => Te.current === $);
154
- ee !== -1 && d.change(ee);
155
- }
156
- return A;
157
- }), I = o((l) => {
158
- let A = c.map(($) => $.current).filter(Boolean);
159
- if (l.key === o$1.Space || l.key === o$1.Enter) {
160
- l.preventDefault(), l.stopPropagation(), d.change(b2);
161
- return;
162
- }
163
- switch (l.key) {
164
- case o$1.Home:
165
- case o$1.PageUp:
166
- return l.preventDefault(), l.stopPropagation(), E(() => P(A, F.First));
167
- case o$1.End:
168
- case o$1.PageDown:
169
- return l.preventDefault(), l.stopPropagation(), E(() => P(A, F.Last));
170
- }
171
- if (E(() => u(_2, { vertical() {
172
- return l.key === o$1.ArrowUp ? P(A, F.Previous | F.WrapAround) : l.key === o$1.ArrowDown ? P(A, F.Next | F.WrapAround) : T$2.Error;
173
- }, horizontal() {
174
- return l.key === o$1.ArrowLeft ? P(A, F.Previous | F.WrapAround) : l.key === o$1.ArrowRight ? P(A, F.Next | F.WrapAround) : T$2.Error;
175
- } })) === T$2.Success) return l.preventDefault();
176
- }), g = useRef(false), R = o(() => {
177
- var l;
178
- g.current || (g.current = true, (l = s2.current) == null || l.focus({ preventScroll: true }), d.change(b2), t(() => {
179
- g.current = false;
180
- }));
181
- }), J = o((l) => {
182
- l.preventDefault();
183
- }), { isFocusVisible: k, focusProps: p } = $f7dceffc5ad7768b$export$4e328f61c538687f({ autoFocus: n$1 }), { isHovered: h, hoverProps: L } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: a2 }), { pressed: B, pressProps: ie } = w({ disabled: a2 }), pe = useMemo(() => ({ selected: m2, hover: h, active: B, focus: k, autofocus: n$1, disabled: a2 }), [m2, h, k, B, n$1, a2]), ue = D({ ref: F$1, onKeyDown: I, onMouseDown: J, onClick: R, id: o$2, role: "tab", type: T$1(e, s2), "aria-controls": (Z = (Y = T2[b2]) == null ? void 0 : Y.current) == null ? void 0 : Z.id, "aria-selected": m2, tabIndex: m2 ? 0 : -1, disabled: a2 || void 0, autoFocus: n$1 }, p, L, ie);
184
- return H({ ourProps: ue, theirProps: u$2, slot: pe, defaultTag: he, name: "Tabs.Tab" });
185
- }
186
- let Ce = "div";
187
- function Me(e, r) {
188
- let { selectedIndex: t2 } = C("Tab.Panels"), o2 = y(r), a2 = useMemo(() => ({ selectedIndex: t2 }), [t2]);
189
- return H({ ourProps: { ref: o2 }, theirProps: e, slot: a2, defaultTag: Ce, name: "Tabs.Panels" });
190
- }
191
- let Ge = "div", Ue = M.RenderStrategy | M.Static;
192
- function He(e, r) {
193
- var E, I, g, R;
194
- let t2 = useId(), { id: o2 = `headlessui-tabs-panel-${t2}`, tabIndex: a2 = 0, ...n$1 } = e, { selectedIndex: u2, tabs: _2, panels: x } = C("Tab.Panel"), f2 = Q("Tab.Panel"), c = useRef(null), T$12 = y(c, r);
195
- n(() => f2.registerPanel(c), [f2, c]);
196
- let d = C$1("panels"), i = x.indexOf(c);
197
- i === -1 && (i = d);
198
- let s2 = i === u2, { isFocusVisible: F2, focusProps: M2 } = $f7dceffc5ad7768b$export$4e328f61c538687f(), b2 = useMemo(() => ({ selected: s2, focus: F2 }), [s2, F2]), m2 = D({ ref: T$12, id: o2, role: "tabpanel", "aria-labelledby": (I = (E = _2[i]) == null ? void 0 : E.current) == null ? void 0 : I.id, tabIndex: s2 ? a2 : -1 }, M2);
199
- return !s2 && ((g = n$1.unmount) == null || g) && !((R = n$1.static) != null && R) ? React__default.createElement(T, { "aria-hidden": "true", ...m2 }) : H({ ourProps: m2, theirProps: n$1, slot: b2, defaultTag: Ge, features: Ue, visible: s2, name: "Tabs.Panel" });
200
- }
201
- let we = W(ve), Oe = W(Se), Ne = W(Ie), ke = W(Me), Be = W(He), st = Object.assign(we, { Group: Oe, List: Ne, Panels: ke, Panel: Be });
202
- const container = "_container_y23cb_2";
203
- const group = "_group_y23cb_6";
204
- const tab = "_tab_y23cb_15";
205
- const list = "_list_y23cb_30";
206
- const tabs = "_tabs_y23cb_41";
207
- const buttons = "_buttons_y23cb_45";
208
- const m = "_m_y23cb_52";
209
- const s = "_s_y23cb_57";
210
- const cls = {
211
- container,
212
- group,
213
- "group-inner": "_group-inner_y23cb_10",
214
- tab,
215
- list,
216
- tabs,
217
- buttons,
218
- m,
219
- s
220
- };
221
- const TabTrail = forwardRef(
222
- ({ categories, size = "m" }, ref) => {
223
- const [activeIndex, setActiveIndex] = useState(0);
224
- const tabListRef = useRef(null);
225
- const isTablet = useMediaQuery(EMediaQuery.XS1);
226
- const handleNext = () => {
227
- setActiveIndex((prevIndex) => (prevIndex + 1) % categories.length);
228
- };
229
- const handlePrev = () => {
230
- setActiveIndex(
231
- (prevIndex) => (prevIndex - 1 + categories.length) % categories.length
232
- );
233
- };
234
- useEffect(() => {
235
- var _a;
236
- const activeTab = (_a = tabListRef.current) == null ? void 0 : _a.querySelector(
237
- `.${cls.tab}[data-active="true"]`
238
- );
239
- if (activeTab) {
240
- activeTab.scrollIntoView({
241
- behavior: "smooth",
242
- block: "nearest",
243
- inline: "center"
244
- });
245
- }
246
- }, [activeIndex]);
247
- return /* @__PURE__ */ jsxs(
248
- Oe,
249
- {
250
- ref,
251
- className: classNames(cls.group, cls[size]),
252
- selectedIndex: activeIndex,
253
- onChange: setActiveIndex,
254
- children: [
255
- /* @__PURE__ */ jsxs("div", { className: cls["group-inner"], children: [
256
- /* @__PURE__ */ jsx(Ne, { ref: tabListRef, className: cls.list, children: /* @__PURE__ */ jsx("div", { className: cls.tabs, children: categories.map(({ name }, index) => /* @__PURE__ */ jsx(
257
- st,
258
- {
259
- className: `${cls.tab} ${activeIndex === index ? 'data-active="true"' : ""}`,
260
- "data-active": activeIndex === index,
261
- children: name
262
- },
263
- name
264
- )) }) }),
265
- !isTablet && /* @__PURE__ */ jsx("div", { className: cls.buttons, children: /* @__PURE__ */ jsx(
266
- TabButtons,
267
- {
268
- handlePrevTab: handlePrev,
269
- handleNextTab: handleNext
270
- }
271
- ) })
272
- ] }),
273
- /* @__PURE__ */ jsx(ke, { className: cls.panels, children: categories.map(({ name, content }) => /* @__PURE__ */ jsx(Be, { className: cls.panel, children: content }, name)) })
274
- ]
275
- }
276
- );
277
- }
278
- );
279
- export {
280
- TabTrail
281
- };
@@ -1,4 +0,0 @@
1
- export declare enum ETabTrailSize {
2
- M = "m",
3
- S = "s"
4
- }
@@ -1,8 +0,0 @@
1
- var ETabTrailSize = /* @__PURE__ */ ((ETabTrailSize2) => {
2
- ETabTrailSize2["M"] = "m";
3
- ETabTrailSize2["S"] = "s";
4
- return ETabTrailSize2;
5
- })(ETabTrailSize || {});
6
- export {
7
- ETabTrailSize
8
- };
@@ -1,2 +0,0 @@
1
- export { TabTrail, type TTabTrailProps, type TCategoryTab } from './TabTrail';
2
- export { ETabTrailSize } from './constants';
@@ -1,6 +0,0 @@
1
- import { TabTrail } from "./TabTrail.js";
2
- import { ETabTrailSize } from "./constants.js";
3
- export {
4
- ETabTrailSize,
5
- TabTrail
6
- };
@@ -1,13 +0,0 @@
1
- import { W, H } from "./keyboard-B256ZoM-.js";
2
- let a = "span";
3
- var s = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(s || {});
4
- function l(t, r) {
5
- var n;
6
- let { features: d = 1, ...e } = t, o = { ref: r, "aria-hidden": (d & 2) === 2 ? true : (n = e["aria-hidden"]) != null ? n : void 0, hidden: (d & 4) === 4 ? true : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d & 4) === 4 && (d & 2) !== 2 && { display: "none" } } };
7
- return H({ ourProps: o, theirProps: e, slot: {}, defaultTag: a, name: "Hidden" });
8
- }
9
- let T = W(l);
10
- export {
11
- T,
12
- s
13
- };
@@ -1,159 +0,0 @@
1
- import React__default, { createContext, useContext, useState, useRef, useEffect, useMemo, useId } from "react";
2
- import { o as o$1, p as p$1, m, W, y, n, H } from "./keyboard-B256ZoM-.js";
3
- import { createPortal } from "react-dom";
4
- import { T as T$1, s } from "./hidden-BuVoeHNy.js";
5
- let e$2 = createContext(void 0);
6
- function a$1() {
7
- return useContext(e$2);
8
- }
9
- function T(l2, r, c2) {
10
- let [i, s2] = useState(c2), e2 = l2 !== void 0, t = useRef(e2), u2 = useRef(false), d = useRef(false);
11
- return e2 && !t.current && !u2.current ? (u2.current = true, t.current = e2, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !e2 && t.current && !d.current && (d.current = true, t.current = e2, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [e2 ? l2 : i, o$1((n2) => (e2 || s2(n2), r == null ? void 0 : r(n2)))];
12
- }
13
- function l(e2) {
14
- let [t] = useState(e2);
15
- return t;
16
- }
17
- function e$1(i = {}, s2 = null, t = []) {
18
- for (let [r, n2] of Object.entries(i)) o(t, f$2(s2, r), n2);
19
- return t;
20
- }
21
- function f$2(i, s2) {
22
- return i ? i + "[" + s2 + "]" : s2;
23
- }
24
- function o(i, s2, t) {
25
- if (Array.isArray(t)) for (let [r, n2] of t.entries()) o(i, f$2(s2, r.toString()), n2);
26
- else t instanceof Date ? i.push([s2, t.toISOString()]) : typeof t == "boolean" ? i.push([s2, t ? "1" : "0"]) : typeof t == "string" ? i.push([s2, t]) : typeof t == "number" ? i.push([s2, `${t}`]) : t == null ? i.push([s2, ""]) : e$1(t, s2, i);
27
- }
28
- function p(i) {
29
- var t, r;
30
- let s2 = (t = i == null ? void 0 : i.form) != null ? t : i.closest("form");
31
- if (s2) {
32
- for (let n2 of s2.elements) if (n2 !== i && (n2.tagName === "INPUT" && n2.type === "submit" || n2.tagName === "BUTTON" && n2.type === "submit" || n2.nodeName === "INPUT" && n2.type === "image")) {
33
- n2.click();
34
- return;
35
- }
36
- (r = s2.requestSubmit) == null || r.call(s2);
37
- }
38
- }
39
- let f$1 = createContext(null);
40
- function c$1({ children: t }) {
41
- let e2 = useContext(f$1);
42
- if (!e2) return React__default.createElement(React__default.Fragment, null, t);
43
- let { target: r } = e2;
44
- return r ? createPortal(React__default.createElement(React__default.Fragment, null, t), r) : null;
45
- }
46
- function j({ data: t, form: e2, disabled: r, onReset: n2, overrides: F }) {
47
- let [i, a2] = useState(null), p2 = p$1();
48
- return useEffect(() => {
49
- if (n2 && i) return p2.addEventListener(i, "reset", n2);
50
- }, [i, e2, n2]), React__default.createElement(c$1, null, React__default.createElement(C$1, { setForm: a2, formId: e2 }), e$1(t).map(([s$1, v]) => React__default.createElement(T$1, { features: s.Hidden, ...m({ key: s$1, as: "input", type: "hidden", hidden: true, readOnly: true, form: e2, disabled: r, name: s$1, value: v, ...F }) })));
51
- }
52
- function C$1({ setForm: t, formId: e2 }) {
53
- return useEffect(() => {
54
- if (e2) {
55
- let r = document.getElementById(e2);
56
- r && t(r);
57
- }
58
- }, [t, e2]), e2 ? null : React__default.createElement(T$1, { features: s.Hidden, as: "input", type: "hidden", hidden: true, readOnly: true, ref: (r) => {
59
- if (!r) return;
60
- let n2 = r.closest("form");
61
- n2 && t(n2);
62
- } });
63
- }
64
- let e = createContext(void 0);
65
- function u() {
66
- return useContext(e);
67
- }
68
- let a = createContext(null);
69
- a.displayName = "DescriptionContext";
70
- function f() {
71
- let r = useContext(a);
72
- if (r === null) {
73
- let e2 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
74
- throw Error.captureStackTrace && Error.captureStackTrace(e2, f), e2;
75
- }
76
- return r;
77
- }
78
- function G$1() {
79
- var r, e2;
80
- return (e2 = (r = useContext(a)) == null ? void 0 : r.value) != null ? e2 : void 0;
81
- }
82
- function U$1() {
83
- let [r, e2] = useState([]);
84
- return [r.length > 0 ? r.join(" ") : void 0, useMemo(() => function(t) {
85
- let i = o$1((n2) => (e2((s2) => [...s2, n2]), () => e2((s2) => {
86
- let o2 = s2.slice(), p2 = o2.indexOf(n2);
87
- return p2 !== -1 && o2.splice(p2, 1), o2;
88
- }))), l2 = useMemo(() => ({ register: i, slot: t.slot, name: t.name, props: t.props, value: t.value }), [i, t.slot, t.name, t.props, t.value]);
89
- return React__default.createElement(a.Provider, { value: l2 }, t.children);
90
- }, [e2])];
91
- }
92
- let S = "p";
93
- function C(r, e2) {
94
- let d = useId(), t = a$1(), { id: i = `headlessui-description-${d}`, ...l2 } = r, n$1 = f(), s2 = y(e2);
95
- n(() => n$1.register(i), [i, n$1.register]);
96
- let o2 = t || false, p2 = useMemo(() => ({ ...n$1.slot, disabled: o2 }), [n$1.slot, o2]), D = { ref: s2, ...n$1.props, id: i };
97
- return H({ ourProps: D, theirProps: l2, slot: p2, defaultTag: S, name: n$1.name || "Description" });
98
- }
99
- let _ = W(C), w = Object.assign(_, {});
100
- let c = createContext(null);
101
- c.displayName = "LabelContext";
102
- function P() {
103
- let r = useContext(c);
104
- if (r === null) {
105
- let l2 = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
106
- throw Error.captureStackTrace && Error.captureStackTrace(l2, P), l2;
107
- }
108
- return r;
109
- }
110
- function I(r) {
111
- var a2, e2, o2;
112
- let l2 = (e2 = (a2 = useContext(c)) == null ? void 0 : a2.value) != null ? e2 : void 0;
113
- return ((o2 = r == null ? void 0 : r.length) != null ? o2 : 0) > 0 ? [l2, ...r].filter(Boolean).join(" ") : l2;
114
- }
115
- function z({ inherit: r = false } = {}) {
116
- let l2 = I(), [a2, e2] = useState([]), o2 = r ? [l2, ...a2].filter(Boolean) : a2;
117
- return [o2.length > 0 ? o2.join(" ") : void 0, useMemo(() => function(t) {
118
- let s2 = o$1((i) => (e2((p2) => [...p2, i]), () => e2((p2) => {
119
- let u2 = p2.slice(), d = u2.indexOf(i);
120
- return d !== -1 && u2.splice(d, 1), u2;
121
- }))), m2 = useMemo(() => ({ register: s2, slot: t.slot, name: t.name, props: t.props, value: t.value }), [s2, t.slot, t.name, t.props, t.value]);
122
- return React__default.createElement(c.Provider, { value: m2 }, t.children);
123
- }, [e2])];
124
- }
125
- let N = "label";
126
- function G(r, l2) {
127
- var y$1;
128
- let a2 = useId(), e2 = P(), o2 = u(), g = a$1(), { id: t = `headlessui-label-${a2}`, htmlFor: s2 = o2 != null ? o2 : (y$1 = e2.props) == null ? void 0 : y$1.htmlFor, passive: m2 = false, ...i } = r, p2 = y(l2);
129
- n(() => e2.register(t), [t, e2.register]);
130
- let u$1 = o$1((L) => {
131
- let b = L.currentTarget;
132
- if (b instanceof HTMLLabelElement && L.preventDefault(), e2.props && "onClick" in e2.props && typeof e2.props.onClick == "function" && e2.props.onClick(L), b instanceof HTMLLabelElement) {
133
- let n2 = document.getElementById(b.htmlFor);
134
- if (n2) {
135
- let E = n2.getAttribute("disabled");
136
- if (E === "true" || E === "") return;
137
- let x = n2.getAttribute("aria-disabled");
138
- if (x === "true" || x === "") return;
139
- (n2 instanceof HTMLInputElement && (n2.type === "radio" || n2.type === "checkbox") || n2.role === "radio" || n2.role === "checkbox" || n2.role === "switch") && n2.click(), n2.focus({ preventScroll: true });
140
- }
141
- }
142
- }), d = g || false, C2 = useMemo(() => ({ ...e2.slot, disabled: d }), [e2.slot, d]), f2 = { ref: p2, ...e2.props, id: t, htmlFor: s2, onClick: u$1 };
143
- return m2 && ("onClick" in f2 && (delete f2.htmlFor, delete f2.onClick), "onClick" in i && delete i.onClick), H({ ourProps: f2, theirProps: i, slot: C2, defaultTag: s2 ? N : "div", name: e2.name || "Label" });
144
- }
145
- let U = W(G), K = Object.assign(U, {});
146
- export {
147
- G$1 as G,
148
- I,
149
- K,
150
- T,
151
- U$1 as U,
152
- a$1 as a,
153
- j,
154
- l,
155
- p,
156
- u,
157
- w,
158
- z
159
- };