konsolpro-custom-ui 0.0.327

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 (369) hide show
  1. package/README.md +146 -0
  2. package/dist/chunks/accept-icon-X_bMUe5T.js +17 -0
  3. package/dist/chunks/account-balance-icon-CKxx1j3X.js +17 -0
  4. package/dist/chunks/add-circle-icon-D3XpY2oT.js +17 -0
  5. package/dist/chunks/add-icon-CZXR66VL.js +17 -0
  6. package/dist/chunks/alfa-icon-Cx0WqCux.js +17 -0
  7. package/dist/chunks/android-icon-6SCGu50U.js +17 -0
  8. package/dist/chunks/apple-icon-yya6O1xg.js +17 -0
  9. package/dist/chunks/arrow-back-icon-C_VwBDNK.js +17 -0
  10. package/dist/chunks/arrow-back-ios-icon-CB5K_mmJ.js +17 -0
  11. package/dist/chunks/arrow-down-icon-DFvg75P7.js +17 -0
  12. package/dist/chunks/arrow-forward-icon-BI4dm_L2.js +17 -0
  13. package/dist/chunks/arrow-left-icon-8yWT42A8.js +17 -0
  14. package/dist/chunks/arrow-right-icon-Bnx7GHux.js +17 -0
  15. package/dist/chunks/arrow-up-icon-DU7VVzN8.js +17 -0
  16. package/dist/chunks/attach-file-icon-OrT7tthI.js +17 -0
  17. package/dist/chunks/autorenew-icon-B0bI6Xt-.js +17 -0
  18. package/dist/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
  19. package/dist/chunks/bill-error-icon-q8_KROAY.js +17 -0
  20. package/dist/chunks/bill-icon-Cw2GE_VB.js +17 -0
  21. package/dist/chunks/bill-in-progress-icon-BTsO5Mh5.js +17 -0
  22. package/dist/chunks/bill-warning-icon-3Y-dONd_.js +17 -0
  23. package/dist/chunks/bills-error-icon-CcDGUJrx.js +17 -0
  24. package/dist/chunks/bills-icon-BU_adAs0.js +17 -0
  25. package/dist/chunks/bills-in-progress-icon-RVEtPz7l.js +17 -0
  26. package/dist/chunks/bills-warning-icon-CNgWvumi.js +17 -0
  27. package/dist/chunks/block-icon-DGlp9c33.js +17 -0
  28. package/dist/chunks/bolt-fill-icon-DZjyKq8N.js +17 -0
  29. package/dist/chunks/bolt-icon-CJsvLlL-.js +17 -0
  30. package/dist/chunks/book-icon-BdaCKIQB.js +17 -0
  31. package/dist/chunks/business-center-icon-C5X-e-6I.js +17 -0
  32. package/dist/chunks/calendar-icon-B1cogiSd.js +17 -0
  33. package/dist/chunks/call-icon-DslHaQOP.js +17 -0
  34. package/dist/chunks/cancel-fill-DPYenlCk.js +17 -0
  35. package/dist/chunks/check-circle-fill-ne1MhahL.js +17 -0
  36. package/dist/chunks/check-circle-icon-BWhJprgU.js +17 -0
  37. package/dist/chunks/close-icon-CtbXesC0.js +17 -0
  38. package/dist/chunks/clsx-OuTLNxxd.js +16 -0
  39. package/dist/chunks/combobox-primitive-context-B_ldR_VA.js +4030 -0
  40. package/dist/chunks/cookie-DJ-U7h-A.js +17 -0
  41. package/dist/chunks/copy-icon-BWyncDVB.js +17 -0
  42. package/dist/chunks/credit-card-icon-DS1ckDU7.js +17 -0
  43. package/dist/chunks/delete-icon-Bk1ZmhBo.js +17 -0
  44. package/dist/chunks/document-icon-DcmQhRhY.js +17 -0
  45. package/dist/chunks/done-icon-BZEAL7mI.js +17 -0
  46. package/dist/chunks/download-icon-BvWPcT7W.js +17 -0
  47. package/dist/chunks/edit-icon-_3venQRC.js +17 -0
  48. package/dist/chunks/embla-carousel-react.esm-ZaRSnfTq.js +1252 -0
  49. package/dist/chunks/error-fill-icon--8j3Zcfq.js +17 -0
  50. package/dist/chunks/error-icon-BJWk5B-s.js +17 -0
  51. package/dist/chunks/error-icon-CgJ3zr06.js +17 -0
  52. package/dist/chunks/europa-icon-DbElF2Uc.js +17 -0
  53. package/dist/chunks/failed-icon-YP2jq4UN.js +17 -0
  54. package/dist/chunks/file-error-icon-630wBy1K.js +17 -0
  55. package/dist/chunks/file-success-icon-BTk5SYAM.js +17 -0
  56. package/dist/chunks/filter-icon-D_3_SQsN.js +17 -0
  57. package/dist/chunks/flag-icon-DmWEp4ya.js +17 -0
  58. package/dist/chunks/format-DoKcg9cH.js +1223 -0
  59. package/dist/chunks/full-screen-exit-icon-BHwq-9P-.js +17 -0
  60. package/dist/chunks/full-screen-icon-Dpl__xtk.js +17 -0
  61. package/dist/chunks/gazprom-icon-CRfKLTvP.js +17 -0
  62. package/dist/chunks/group-icon-BfSRHuvp.js +17 -0
  63. package/dist/chunks/help-icon-BMdlItds.js +17 -0
  64. package/dist/chunks/home-icon-Dc6LzbVw.js +17 -0
  65. package/dist/chunks/home-icon-Mag5Wxqq.js +17 -0
  66. package/dist/chunks/index-1Er1dKQf.js +13 -0
  67. package/dist/chunks/index-BJD1rYeT.js +57 -0
  68. package/dist/chunks/index-BO6p208a.js +48 -0
  69. package/dist/chunks/index-BZPx6jYI.js +8 -0
  70. package/dist/chunks/index-BxWD79NI.js +517 -0
  71. package/dist/chunks/index-ByaXH_ih.js +10 -0
  72. package/dist/chunks/index-CHDs-SiB.js +27 -0
  73. package/dist/chunks/index-CN5JEZ5H.js +79 -0
  74. package/dist/chunks/index-Ctjv6tIJ.js +1381 -0
  75. package/dist/chunks/index-DLcqcWxM.js +29 -0
  76. package/dist/chunks/index-DLeNytVF.js +9 -0
  77. package/dist/chunks/index-DYfkNB0n.js +54 -0
  78. package/dist/chunks/index-DuekHEmj.js +6 -0
  79. package/dist/chunks/index-DwYXX2sM.js +13 -0
  80. package/dist/chunks/index-E4d_Gd-w.js +91 -0
  81. package/dist/chunks/index-I8P2QgPV.js +258 -0
  82. package/dist/chunks/index-NPrw3_0K.js +14 -0
  83. package/dist/chunks/index-PsqJG3fE.js +75 -0
  84. package/dist/chunks/info-fill-icon-BzE09Xg8.js +17 -0
  85. package/dist/chunks/info-icon-BcUNe5kE.js +17 -0
  86. package/dist/chunks/inventory-icon-CFV8amBs.js +17 -0
  87. package/dist/chunks/link-icon-BUAymb0P.js +17 -0
  88. package/dist/chunks/list-icon-ChePCGxK.js +17 -0
  89. package/dist/chunks/location-icon-Bf9Wbg65.js +17 -0
  90. package/dist/chunks/logout-icon-DN86wp7N.js +17 -0
  91. package/dist/chunks/mail-icon-DCZPsZFE.js +17 -0
  92. package/dist/chunks/manage-accounts-icon-BkyuUTj3.js +17 -0
  93. package/dist/chunks/menu-icon-DWObHD95.js +17 -0
  94. package/dist/chunks/mkb-icon-CEkVt-7P.js +17 -0
  95. package/dist/chunks/more-horiz-icon-CSK7Ackl.js +17 -0
  96. package/dist/chunks/more-vert-icon-NA1tYTse.js +17 -0
  97. package/dist/chunks/mts-icon-Bq4YDYEy.js +17 -0
  98. package/dist/chunks/normal-icon-CYvIFN5j.js +17 -0
  99. package/dist/chunks/north-east-icon-Dh7-1BBW.js +17 -0
  100. package/dist/chunks/open-in-full-icon-DzhRd5Mx.js +17 -0
  101. package/dist/chunks/open-in-new-icon-A7MgnnyP.js +17 -0
  102. package/dist/chunks/otkritie-icon-yGwVocEY.js +17 -0
  103. package/dist/chunks/otp-icon-BQQXMe3b.js +17 -0
  104. package/dist/chunks/outgoing-main-icon-BAH2vddG.js +17 -0
  105. package/dist/chunks/page-info-icon-BiVNFu71.js +17 -0
  106. package/dist/chunks/passport-main-DNL65kJJ.js +17 -0
  107. package/dist/chunks/passport-registration-BGywpRar.js +17 -0
  108. package/dist/chunks/passport-selfie-Dsqd0uOf.js +17 -0
  109. package/dist/chunks/payment-icon-C-B7L4WP.js +17 -0
  110. package/dist/chunks/person-add-C-3pZhgM.js +17 -0
  111. package/dist/chunks/person-icon-Bo5NxPRQ.js +17 -0
  112. package/dist/chunks/person-search-icon-CwVm_XAL.js +17 -0
  113. package/dist/chunks/pincode-icon-BA-e4pBH.js +17 -0
  114. package/dist/chunks/play-icon-Bnj3hsIf.js +17 -0
  115. package/dist/chunks/popover-kFSgc5Lv.js +748 -0
  116. package/dist/chunks/progress-activity-icon-YbJGzvxH.js +17 -0
  117. package/dist/chunks/psb-icon-CxKzLVG5.js +17 -0
  118. package/dist/chunks/qiwi-icon-B795Q_fW.js +17 -0
  119. package/dist/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
  120. package/dist/chunks/refresh-icon-ac1oOwX8.js +17 -0
  121. package/dist/chunks/remove-icon-CTuoG0Vq.js +17 -0
  122. package/dist/chunks/ru-CUCVR8Pn.js +661 -0
  123. package/dist/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
  124. package/dist/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
  125. package/dist/chunks/save-icon-DnF5revo.js +17 -0
  126. package/dist/chunks/sber-icon-b7d9_o7J.js +17 -0
  127. package/dist/chunks/sberid-icon-DgQtjRjD.js +17 -0
  128. package/dist/chunks/scenario-icon-BcnFsqUA.js +17 -0
  129. package/dist/chunks/scroll-area-TRRhxrjX.js +629 -0
  130. package/dist/chunks/search-icon-CortrXrC.js +17 -0
  131. package/dist/chunks/segment-icon-Bzm7cziF.js +17 -0
  132. package/dist/chunks/send-icon-BTztERTu.js +17 -0
  133. package/dist/chunks/settings-icon-D_wgjUsM.js +17 -0
  134. package/dist/chunks/shield-icon-BwpxkU5E.js +17 -0
  135. package/dist/chunks/signed-icon-DTQlKmWU.js +17 -0
  136. package/dist/chunks/skb-icon-BgDQolTL.js +17 -0
  137. package/dist/chunks/sms-icon-4p-ON5VX.js +17 -0
  138. package/dist/chunks/support-icon-CBHKGKq8.js +17 -0
  139. package/dist/chunks/tbank-icon-ByKW0pBb.js +17 -0
  140. package/dist/chunks/telegramm-icon-C2ZR2jdg.js +17 -0
  141. package/dist/chunks/thumbs-up-icon-BArjyDfk.js +17 -0
  142. package/dist/chunks/time-icon-DsWMo47L.js +17 -0
  143. package/dist/chunks/tinkoffid-icon-C6lsspZk.js +19 -0
  144. package/dist/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
  145. package/dist/chunks/tooltip-BxRtZLBR.js +836 -0
  146. package/dist/chunks/trending-down-icon-DlHKI37F.js +17 -0
  147. package/dist/chunks/trending-up-icon-IEwGHi9c.js +17 -0
  148. package/dist/chunks/trust-icon-DcfUVGZ_.js +17 -0
  149. package/dist/chunks/tslib.es6-fInlAbov.js +27 -0
  150. package/dist/chunks/unfold-icon-S3J7xXHf.js +17 -0
  151. package/dist/chunks/uni-icon-gK006vr0.js +17 -0
  152. package/dist/chunks/upload-icon-CwzthQEL.js +17 -0
  153. package/dist/chunks/uploader-BN38rjbw.js +28387 -0
  154. package/dist/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
  155. package/dist/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
  156. package/dist/chunks/utils-TbLXCoKm.js +2752 -0
  157. package/dist/chunks/visibility-off-icon-BA_I97Vw.js +17 -0
  158. package/dist/chunks/visibility-on-icon-C9VmKsvX.js +17 -0
  159. package/dist/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
  160. package/dist/chunks/vtb-icon-BtfO1_Gx.js +17 -0
  161. package/dist/chunks/waiting-icon-lpQJA4wB.js +17 -0
  162. package/dist/chunks/wallet-icon-D0r9bDRg.js +17 -0
  163. package/dist/chunks/warning-icon-BmlgMY27.js +17 -0
  164. package/dist/chunks/work-icon-D7I-74Mk.js +17 -0
  165. package/dist/chunks/yandex-icon-CepqpI49.js +17 -0
  166. package/dist/chunks/zoom-in-icon-ZWEJANob.js +17 -0
  167. package/dist/chunks/zoom-out-icon-CeFz3G6V.js +17 -0
  168. package/dist/fonts/CoFoSansMono-Regular.otf +0 -0
  169. package/dist/fonts/Graphik-Bold.otf +0 -0
  170. package/dist/fonts/Graphik-Medium.otf +0 -0
  171. package/dist/fonts/Graphik-Regular.otf +0 -0
  172. package/dist/lib/icon/icon.js +38 -0
  173. package/dist/lib/icon/icons.js +353 -0
  174. package/dist/lib/icon/index.js +4 -0
  175. package/dist/lib/icon-banks/icon-banks.js +21 -0
  176. package/dist/lib/icon-banks/icons-banks.js +106 -0
  177. package/dist/lib/icon-banks/index.js +4 -0
  178. package/dist/lib/icon-documents/icon-document.js +26 -0
  179. package/dist/lib/icon-documents/icons-document.js +57 -0
  180. package/dist/lib/icon-documents/index.js +4 -0
  181. package/dist/lib/index.js +192 -0
  182. package/dist/lib/ui/accordion.js +474 -0
  183. package/dist/lib/ui/alert.js +8 -0
  184. package/dist/lib/ui/autocomplete.js +110 -0
  185. package/dist/lib/ui/avatar.js +333 -0
  186. package/dist/lib/ui/button.js +37 -0
  187. package/dist/lib/ui/calendar.js +121 -0
  188. package/dist/lib/ui/card.js +121 -0
  189. package/dist/lib/ui/carousel.js +55 -0
  190. package/dist/lib/ui/checkbox.js +363 -0
  191. package/dist/lib/ui/combobox-base/combobox-base.js +16 -0
  192. package/dist/lib/ui/combobox-base/index.js +4 -0
  193. package/dist/lib/ui/combobox-primitive/combobox-primitive-context.js +7 -0
  194. package/dist/lib/ui/combobox-primitive/components/Item.js +9 -0
  195. package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +35 -0
  196. package/dist/lib/ui/combobox-primitive/components/combobox-container.js +59 -0
  197. package/dist/lib/ui/combobox-primitive/components/combobox-input.js +52 -0
  198. package/dist/lib/ui/combobox-primitive/components/combobox-item-renderer.js +101 -0
  199. package/dist/lib/ui/combobox-primitive/components/combobox-menu.js +56 -0
  200. package/dist/lib/ui/combobox-primitive/components/index.js +18 -0
  201. package/dist/lib/ui/combobox-primitive/components/item-view.js +53 -0
  202. package/dist/lib/ui/combobox-primitive/components/list.js +9 -0
  203. package/dist/lib/ui/combobox-primitive/constants.js +129 -0
  204. package/dist/lib/ui/combobox-primitive/hooks.js +31 -0
  205. package/dist/lib/ui/combobox-primitive/index.js +21 -0
  206. package/dist/lib/ui/combobox-primitive/types.js +1 -0
  207. package/dist/lib/ui/combobox-primitive/utils.js +60 -0
  208. package/dist/lib/ui/combobox.js +9 -0
  209. package/dist/lib/ui/command.js +1016 -0
  210. package/dist/lib/ui/customizable-carousel.js +431 -0
  211. package/dist/lib/ui/date-picker.js +288 -0
  212. package/dist/lib/ui/date-range-picker/constants.js +25 -0
  213. package/dist/lib/ui/date-range-picker/locales.js +116 -0
  214. package/dist/lib/ui/date-range-picker.js +392 -0
  215. package/dist/lib/ui/dialog/dialog-base/dialog-base.js +9 -0
  216. package/dist/lib/ui/dialog/dialog-base/index.js +6 -0
  217. package/dist/lib/ui/dialog/dialog-base/use-base-dialog.js +57 -0
  218. package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +17 -0
  219. package/dist/lib/ui/dialog/dialog-primitive/index.js +4 -0
  220. package/dist/lib/ui/dialog/index.js +7 -0
  221. package/dist/lib/ui/dialog/utils.js +32 -0
  222. package/dist/lib/ui/divider.js +8 -0
  223. package/dist/lib/ui/dropdown.js +13 -0
  224. package/dist/lib/ui/input-number/index.js +4 -0
  225. package/dist/lib/ui/input-number/input-number.js +6 -0
  226. package/dist/lib/ui/input.js +12 -0
  227. package/dist/lib/ui/link.js +167 -0
  228. package/dist/lib/ui/masked-input.js +6 -0
  229. package/dist/lib/ui/modal.js +41 -0
  230. package/dist/lib/ui/otp-input.js +8 -0
  231. package/dist/lib/ui/phone-input/constants.js +21 -0
  232. package/dist/lib/ui/phone-input/locales/ru.json.js +277 -0
  233. package/dist/lib/ui/phone-input/locales/tg.json.js +263 -0
  234. package/dist/lib/ui/phone-input/locales/uz.json.js +263 -0
  235. package/dist/lib/ui/phone-input/phone-input-utils.js +15 -0
  236. package/dist/lib/ui/phone-input/phone-input.js +20 -0
  237. package/dist/lib/ui/phone-input/phone-mask.js +261 -0
  238. package/dist/lib/ui/popover.js +10 -0
  239. package/dist/lib/ui/progress.js +140 -0
  240. package/dist/lib/ui/radio.js +10 -0
  241. package/dist/lib/ui/schedule-calendar/calendar-day-card.js +37 -0
  242. package/dist/lib/ui/schedule-calendar/constants.js +6 -0
  243. package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +46 -0
  244. package/dist/lib/ui/schedule-calendar/embla-calendar-strip.js +52 -0
  245. package/dist/lib/ui/schedule-calendar/index.js +27 -0
  246. package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +163 -0
  247. package/dist/lib/ui/schedule-calendar/schedule-header.js +66 -0
  248. package/dist/lib/ui/schedule-calendar/use-schedule-calendar.js +44 -0
  249. package/dist/lib/ui/schedule-calendar/use-schedule-sync.js +45 -0
  250. package/dist/lib/ui/schedule-calendar/utils.js +49 -0
  251. package/dist/lib/ui/scroll-area.js +7 -0
  252. package/dist/lib/ui/segments.js +376 -0
  253. package/dist/lib/ui/select.js +18 -0
  254. package/dist/lib/ui/spinner.js +57 -0
  255. package/dist/lib/ui/stepper.js +70 -0
  256. package/dist/lib/ui/switch.js +281 -0
  257. package/dist/lib/ui/tabs.js +301 -0
  258. package/dist/lib/ui/tag.js +113 -0
  259. package/dist/lib/ui/textarea.js +8 -0
  260. package/dist/lib/ui/time-picker.js +130 -0
  261. package/dist/lib/ui/time-range-picker.js +198 -0
  262. package/dist/lib/ui/timeline.js +36 -0
  263. package/dist/lib/ui/toaster.js +1002 -0
  264. package/dist/lib/ui/tooltip.js +10 -0
  265. package/dist/lib/ui/typography.js +36 -0
  266. package/dist/lib/ui/uploader.js +10 -0
  267. package/dist/styles/konsolpro-custom-ui.css +1 -0
  268. package/dist/styles/variables.css +279 -0
  269. package/dist/types/components/icon/icon.d.ts +10 -0
  270. package/dist/types/components/icon/icons.d.ts +105 -0
  271. package/dist/types/components/icon/index.d.ts +3 -0
  272. package/dist/types/components/icon-banks/icon-banks.d.ts +7 -0
  273. package/dist/types/components/icon-banks/icons-banks.d.ts +28 -0
  274. package/dist/types/components/icon-banks/index.d.ts +3 -0
  275. package/dist/types/components/icon-documents/icon-document.d.ts +9 -0
  276. package/dist/types/components/icon-documents/icons-document.d.ts +13 -0
  277. package/dist/types/components/icon-documents/index.d.ts +3 -0
  278. package/dist/types/components/index.d.ts +49 -0
  279. package/dist/types/components/ui/accordion.d.ts +13 -0
  280. package/dist/types/components/ui/alert.d.ts +16 -0
  281. package/dist/types/components/ui/autocomplete.d.ts +23 -0
  282. package/dist/types/components/ui/avatar.d.ts +27 -0
  283. package/dist/types/components/ui/button.d.ts +35 -0
  284. package/dist/types/components/ui/calendar.d.ts +4 -0
  285. package/dist/types/components/ui/card.d.ts +38 -0
  286. package/dist/types/components/ui/carousel.d.ts +11 -0
  287. package/dist/types/components/ui/checkbox.d.ts +26 -0
  288. package/dist/types/components/ui/combobox-base/combobox-base.d.ts +10 -0
  289. package/dist/types/components/ui/combobox-base/index.d.ts +1 -0
  290. package/dist/types/components/ui/combobox-primitive/combobox-primitive-context.d.ts +54 -0
  291. package/dist/types/components/ui/combobox-primitive/components/Item.d.ts +3 -0
  292. package/dist/types/components/ui/combobox-primitive/components/combobox-actions.d.ts +5 -0
  293. package/dist/types/components/ui/combobox-primitive/components/combobox-container.d.ts +5 -0
  294. package/dist/types/components/ui/combobox-primitive/components/combobox-input.d.ts +5 -0
  295. package/dist/types/components/ui/combobox-primitive/components/combobox-item-renderer.d.ts +10 -0
  296. package/dist/types/components/ui/combobox-primitive/components/combobox-menu.d.ts +6 -0
  297. package/dist/types/components/ui/combobox-primitive/components/index.d.ts +8 -0
  298. package/dist/types/components/ui/combobox-primitive/components/item-view.d.ts +3 -0
  299. package/dist/types/components/ui/combobox-primitive/components/list.d.ts +3 -0
  300. package/dist/types/components/ui/combobox-primitive/constants.d.ts +47 -0
  301. package/dist/types/components/ui/combobox-primitive/hooks.d.ts +8 -0
  302. package/dist/types/components/ui/combobox-primitive/index.d.ts +3 -0
  303. package/dist/types/components/ui/combobox-primitive/types.d.ts +62 -0
  304. package/dist/types/components/ui/combobox-primitive/utils.d.ts +25 -0
  305. package/dist/types/components/ui/combobox.d.ts +34 -0
  306. package/dist/types/components/ui/command.d.ts +78 -0
  307. package/dist/types/components/ui/customizable-carousel.d.ts +148 -0
  308. package/dist/types/components/ui/date-picker.d.ts +37 -0
  309. package/dist/types/components/ui/date-range-picker/constants.d.ts +22 -0
  310. package/dist/types/components/ui/date-range-picker/locales.d.ts +3 -0
  311. package/dist/types/components/ui/date-range-picker.d.ts +46 -0
  312. package/dist/types/components/ui/dialog/dialog-base/dialog-base.d.ts +41 -0
  313. package/dist/types/components/ui/dialog/dialog-base/index.d.ts +3 -0
  314. package/dist/types/components/ui/dialog/dialog-base/use-base-dialog.d.ts +35 -0
  315. package/dist/types/components/ui/dialog/dialog-primitive/dialog-primitive.d.ts +36 -0
  316. package/dist/types/components/ui/dialog/dialog-primitive/index.d.ts +2 -0
  317. package/dist/types/components/ui/dialog/index.d.ts +2 -0
  318. package/dist/types/components/ui/dialog/utils.d.ts +6 -0
  319. package/dist/types/components/ui/divider.d.ts +6 -0
  320. package/dist/types/components/ui/dropdown.d.ts +53 -0
  321. package/dist/types/components/ui/input-number/index.d.ts +2 -0
  322. package/dist/types/components/ui/input-number/input-number.d.ts +43 -0
  323. package/dist/types/components/ui/input.d.ts +58 -0
  324. package/dist/types/components/ui/link.d.ts +28 -0
  325. package/dist/types/components/ui/masked-input.d.ts +12 -0
  326. package/dist/types/components/ui/modal.d.ts +26 -0
  327. package/dist/types/components/ui/otp-input.d.ts +49 -0
  328. package/dist/types/components/ui/phone-input/constants.d.ts +18 -0
  329. package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +252 -0
  330. package/dist/types/components/ui/phone-input/locales/tg.json.d.ts +261 -0
  331. package/dist/types/components/ui/phone-input/locales/uz.json.d.ts +261 -0
  332. package/dist/types/components/ui/phone-input/phone-input-utils.d.ts +2 -0
  333. package/dist/types/components/ui/phone-input/phone-input.d.ts +24 -0
  334. package/dist/types/components/ui/phone-input/phone-mask.d.ts +233 -0
  335. package/dist/types/components/ui/popover.d.ts +7 -0
  336. package/dist/types/components/ui/progress.d.ts +4 -0
  337. package/dist/types/components/ui/radio.d.ts +37 -0
  338. package/dist/types/components/ui/schedule-calendar/calendar-day-card.d.ts +9 -0
  339. package/dist/types/components/ui/schedule-calendar/constants.d.ts +3 -0
  340. package/dist/types/components/ui/schedule-calendar/embla-calendar-card.d.ts +9 -0
  341. package/dist/types/components/ui/schedule-calendar/embla-calendar-strip.d.ts +14 -0
  342. package/dist/types/components/ui/schedule-calendar/index.d.ts +16 -0
  343. package/dist/types/components/ui/schedule-calendar/schedule-calendar-strip.d.ts +36 -0
  344. package/dist/types/components/ui/schedule-calendar/schedule-header.d.ts +26 -0
  345. package/dist/types/components/ui/schedule-calendar/use-schedule-calendar.d.ts +27 -0
  346. package/dist/types/components/ui/schedule-calendar/use-schedule-sync.d.ts +39 -0
  347. package/dist/types/components/ui/schedule-calendar/utils.d.ts +12 -0
  348. package/dist/types/components/ui/scroll-area.d.ts +9 -0
  349. package/dist/types/components/ui/segments.d.ts +44 -0
  350. package/dist/types/components/ui/select.d.ts +95 -0
  351. package/dist/types/components/ui/spinner.d.ts +12 -0
  352. package/dist/types/components/ui/stepper.d.ts +11 -0
  353. package/dist/types/components/ui/switch.d.ts +24 -0
  354. package/dist/types/components/ui/tabs.d.ts +25 -0
  355. package/dist/types/components/ui/tag.d.ts +28 -0
  356. package/dist/types/components/ui/textarea.d.ts +17 -0
  357. package/dist/types/components/ui/time-picker.d.ts +15 -0
  358. package/dist/types/components/ui/time-range-picker.d.ts +26 -0
  359. package/dist/types/components/ui/timeline.d.ts +17 -0
  360. package/dist/types/components/ui/toaster.d.ts +45 -0
  361. package/dist/types/components/ui/tooltip.d.ts +8 -0
  362. package/dist/types/components/ui/typography.d.ts +25 -0
  363. package/dist/types/components/ui/uploader.d.ts +52 -0
  364. package/dist/types/index.d.ts +1 -0
  365. package/dist/types/lib/utils.d.ts +14 -0
  366. package/dist/types/main.d.ts +0 -0
  367. package/dist/types/utils/use-device-detector.d.ts +1 -0
  368. package/dist/vite.svg +1 -0
  369. package/package.json +171 -0
@@ -0,0 +1,629 @@
1
+ var me = Object.defineProperty, Se = Object.defineProperties;
2
+ var pe = Object.getOwnPropertyDescriptors;
3
+ var Y = Object.getOwnPropertySymbols;
4
+ var Q = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
+ var K = (e, o, r) => o in e ? me(e, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[o] = r, S = (e, o) => {
6
+ for (var r in o || (o = {}))
7
+ Q.call(o, r) && K(e, r, o[r]);
8
+ if (Y)
9
+ for (var r of Y(o))
10
+ Z.call(o, r) && K(e, r, o[r]);
11
+ return e;
12
+ }, v = (e, o) => Se(e, pe(o));
13
+ var g = (e, o) => {
14
+ var r = {};
15
+ for (var n in e)
16
+ Q.call(e, n) && o.indexOf(n) < 0 && (r[n] = e[n]);
17
+ if (e != null && Y)
18
+ for (var n of Y(e))
19
+ o.indexOf(n) < 0 && Z.call(e, n) && (r[n] = e[n]);
20
+ return r;
21
+ };
22
+ import { jsx as m, jsxs as re, Fragment as ve } from "react/jsx-runtime";
23
+ import * as c from "react";
24
+ import { P as W } from "./index-BJD1rYeT.js";
25
+ import { P as B } from "./index-PsqJG3fE.js";
26
+ import { c as we } from "./index-E4d_Gd-w.js";
27
+ import { u as _ } from "./index-DLcqcWxM.js";
28
+ import { u as A } from "./index-DwYXX2sM.js";
29
+ import { u as ge } from "./index-ByaXH_ih.js";
30
+ import { u as Pe } from "./index-DuekHEmj.js";
31
+ import { c as T } from "./index-DLeNytVF.js";
32
+ import { c as j } from "./utils-TbLXCoKm.js";
33
+ function Ce(e, [o, r]) {
34
+ return Math.min(r, Math.max(o, e));
35
+ }
36
+ function Re(e, o) {
37
+ return c.useReducer((r, n) => {
38
+ const t = o[r][n];
39
+ return t != null ? t : r;
40
+ }, e);
41
+ }
42
+ var q = "ScrollArea", [oe, Je] = we(q), [Ee, P] = oe(q), te = c.forwardRef(
43
+ (e, o) => {
44
+ const C = e, {
45
+ __scopeScrollArea: r,
46
+ type: n = "hover",
47
+ dir: t,
48
+ scrollHideDelay: l = 600
49
+ } = C, a = g(C, [
50
+ "__scopeScrollArea",
51
+ "type",
52
+ "dir",
53
+ "scrollHideDelay"
54
+ ]), [i, s] = c.useState(null), [f, h] = c.useState(null), [d, b] = c.useState(null), [u, p] = c.useState(null), [y, D] = c.useState(null), [E, H] = c.useState(0), [$, z] = c.useState(0), [O, N] = c.useState(!1), [I, M] = c.useState(!1), X = _(o, (x) => s(x)), w = ge(t);
55
+ return /* @__PURE__ */ m(
56
+ Ee,
57
+ {
58
+ scope: r,
59
+ type: n,
60
+ dir: w,
61
+ scrollHideDelay: l,
62
+ scrollArea: i,
63
+ viewport: f,
64
+ onViewportChange: h,
65
+ content: d,
66
+ onContentChange: b,
67
+ scrollbarX: u,
68
+ onScrollbarXChange: p,
69
+ scrollbarXEnabled: O,
70
+ onScrollbarXEnabledChange: N,
71
+ scrollbarY: y,
72
+ onScrollbarYChange: D,
73
+ scrollbarYEnabled: I,
74
+ onScrollbarYEnabledChange: M,
75
+ onCornerWidthChange: H,
76
+ onCornerHeightChange: z,
77
+ children: /* @__PURE__ */ m(
78
+ W.div,
79
+ v(S({
80
+ dir: w
81
+ }, a), {
82
+ ref: X,
83
+ style: S({
84
+ position: "relative",
85
+ // Pass corner sizes as CSS vars to reduce re-renders of context consumers
86
+ "--radix-scroll-area-corner-width": E + "px",
87
+ "--radix-scroll-area-corner-height": $ + "px"
88
+ }, e.style)
89
+ })
90
+ )
91
+ }
92
+ );
93
+ }
94
+ );
95
+ te.displayName = q;
96
+ var ne = "ScrollAreaViewport", le = c.forwardRef(
97
+ (e, o) => {
98
+ const f = e, { __scopeScrollArea: r, children: n, nonce: t } = f, l = g(f, ["__scopeScrollArea", "children", "nonce"]), a = P(ne, r), i = c.useRef(null), s = _(o, i, a.onViewportChange);
99
+ return /* @__PURE__ */ re(ve, { children: [
100
+ /* @__PURE__ */ m(
101
+ "style",
102
+ {
103
+ dangerouslySetInnerHTML: {
104
+ __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"
105
+ },
106
+ nonce: t
107
+ }
108
+ ),
109
+ /* @__PURE__ */ m(
110
+ W.div,
111
+ v(S({
112
+ "data-radix-scroll-area-viewport": ""
113
+ }, l), {
114
+ ref: s,
115
+ style: S({
116
+ /**
117
+ * We don't support `visible` because the intention is to have at least one scrollbar
118
+ * if this component is used and `visible` will behave like `auto` in that case
119
+ * https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#description
120
+ *
121
+ * We don't handle `auto` because the intention is for the native implementation
122
+ * to be hidden if using this component. We just want to ensure the node is scrollable
123
+ * so could have used either `scroll` or `auto` here. We picked `scroll` to prevent
124
+ * the browser from having to work out whether to render native scrollbars or not,
125
+ * we tell it to with the intention of hiding them in CSS.
126
+ */
127
+ overflowX: a.scrollbarXEnabled ? "scroll" : "hidden",
128
+ overflowY: a.scrollbarYEnabled ? "scroll" : "hidden"
129
+ }, e.style),
130
+ children: /* @__PURE__ */ m("div", { ref: a.onContentChange, style: { minWidth: "100%", display: "table" }, children: n })
131
+ })
132
+ )
133
+ ] });
134
+ }
135
+ );
136
+ le.displayName = ne;
137
+ var R = "ScrollAreaScrollbar", ce = c.forwardRef(
138
+ (e, o) => {
139
+ const s = e, { forceMount: r } = s, n = g(s, ["forceMount"]), t = P(R, e.__scopeScrollArea), { onScrollbarXEnabledChange: l, onScrollbarYEnabledChange: a } = t, i = e.orientation === "horizontal";
140
+ return c.useEffect(() => (i ? l(!0) : a(!0), () => {
141
+ i ? l(!1) : a(!1);
142
+ }), [i, l, a]), t.type === "hover" ? /* @__PURE__ */ m(Ae, v(S({}, n), { ref: o, forceMount: r })) : t.type === "scroll" ? /* @__PURE__ */ m(Te, v(S({}, n), { ref: o, forceMount: r })) : t.type === "auto" ? /* @__PURE__ */ m(ae, v(S({}, n), { ref: o, forceMount: r })) : t.type === "always" ? /* @__PURE__ */ m(G, v(S({}, n), { ref: o })) : null;
143
+ }
144
+ );
145
+ ce.displayName = R;
146
+ var Ae = c.forwardRef((e, o) => {
147
+ const i = e, { forceMount: r } = i, n = g(i, ["forceMount"]), t = P(R, e.__scopeScrollArea), [l, a] = c.useState(!1);
148
+ return c.useEffect(() => {
149
+ const s = t.scrollArea;
150
+ let f = 0;
151
+ if (s) {
152
+ const h = () => {
153
+ window.clearTimeout(f), a(!0);
154
+ }, d = () => {
155
+ f = window.setTimeout(() => a(!1), t.scrollHideDelay);
156
+ };
157
+ return s.addEventListener("pointerenter", h), s.addEventListener("pointerleave", d), () => {
158
+ window.clearTimeout(f), s.removeEventListener("pointerenter", h), s.removeEventListener("pointerleave", d);
159
+ };
160
+ }
161
+ }, [t.scrollArea, t.scrollHideDelay]), /* @__PURE__ */ m(B, { present: r || l, children: /* @__PURE__ */ m(
162
+ ae,
163
+ v(S({
164
+ "data-state": l ? "visible" : "hidden"
165
+ }, n), {
166
+ ref: o
167
+ })
168
+ ) });
169
+ }), Te = c.forwardRef((e, o) => {
170
+ const f = e, { forceMount: r } = f, n = g(f, ["forceMount"]), t = P(R, e.__scopeScrollArea), l = e.orientation === "horizontal", a = F(() => s("SCROLL_END"), 100), [i, s] = Re("hidden", {
171
+ hidden: {
172
+ SCROLL: "scrolling"
173
+ },
174
+ scrolling: {
175
+ SCROLL_END: "idle",
176
+ POINTER_ENTER: "interacting"
177
+ },
178
+ interacting: {
179
+ SCROLL: "interacting",
180
+ POINTER_LEAVE: "idle"
181
+ },
182
+ idle: {
183
+ HIDE: "hidden",
184
+ SCROLL: "scrolling",
185
+ POINTER_ENTER: "interacting"
186
+ }
187
+ });
188
+ return c.useEffect(() => {
189
+ if (i === "idle") {
190
+ const h = window.setTimeout(() => s("HIDE"), t.scrollHideDelay);
191
+ return () => window.clearTimeout(h);
192
+ }
193
+ }, [i, t.scrollHideDelay, s]), c.useEffect(() => {
194
+ const h = t.viewport, d = l ? "scrollLeft" : "scrollTop";
195
+ if (h) {
196
+ let b = h[d];
197
+ const u = () => {
198
+ const p = h[d];
199
+ b !== p && (s("SCROLL"), a()), b = p;
200
+ };
201
+ return h.addEventListener("scroll", u), () => h.removeEventListener("scroll", u);
202
+ }
203
+ }, [t.viewport, l, s, a]), /* @__PURE__ */ m(B, { present: r || i !== "hidden", children: /* @__PURE__ */ m(
204
+ G,
205
+ v(S({
206
+ "data-state": i === "hidden" ? "hidden" : "visible"
207
+ }, n), {
208
+ ref: o,
209
+ onPointerEnter: T(e.onPointerEnter, () => s("POINTER_ENTER")),
210
+ onPointerLeave: T(e.onPointerLeave, () => s("POINTER_LEAVE"))
211
+ })
212
+ ) });
213
+ }), ae = c.forwardRef((e, o) => {
214
+ const r = P(R, e.__scopeScrollArea), f = e, { forceMount: n } = f, t = g(f, ["forceMount"]), [l, a] = c.useState(!1), i = e.orientation === "horizontal", s = F(() => {
215
+ if (r.viewport) {
216
+ const h = r.viewport.offsetWidth < r.viewport.scrollWidth, d = r.viewport.offsetHeight < r.viewport.scrollHeight;
217
+ a(i ? h : d);
218
+ }
219
+ }, 10);
220
+ return L(r.viewport, s), L(r.content, s), /* @__PURE__ */ m(B, { present: n || l, children: /* @__PURE__ */ m(
221
+ G,
222
+ v(S({
223
+ "data-state": l ? "visible" : "hidden"
224
+ }, t), {
225
+ ref: o
226
+ })
227
+ ) });
228
+ }), G = c.forwardRef((e, o) => {
229
+ const b = e, { orientation: r = "vertical" } = b, n = g(b, ["orientation"]), t = P(R, e.__scopeScrollArea), l = c.useRef(null), a = c.useRef(0), [i, s] = c.useState({
230
+ content: 0,
231
+ viewport: 0,
232
+ scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
233
+ }), f = fe(i.viewport, i.content), h = v(S({}, n), {
234
+ sizes: i,
235
+ onSizesChange: s,
236
+ hasThumb: f > 0 && f < 1,
237
+ onThumbChange: (u) => l.current = u,
238
+ onThumbPointerUp: () => a.current = 0,
239
+ onThumbPointerDown: (u) => a.current = u
240
+ });
241
+ function d(u, p) {
242
+ return Ne(u, a.current, i, p);
243
+ }
244
+ return r === "horizontal" ? /* @__PURE__ */ m(
245
+ ye,
246
+ v(S({}, h), {
247
+ ref: o,
248
+ onThumbPositionChange: () => {
249
+ if (t.viewport && l.current) {
250
+ const u = t.viewport.scrollLeft, p = ee(u, i, t.dir);
251
+ l.current.style.transform = `translate3d(${p}px, 0, 0)`;
252
+ }
253
+ },
254
+ onWheelScroll: (u) => {
255
+ t.viewport && (t.viewport.scrollLeft = u);
256
+ },
257
+ onDragScroll: (u) => {
258
+ t.viewport && (t.viewport.scrollLeft = d(u, t.dir));
259
+ }
260
+ })
261
+ ) : r === "vertical" ? /* @__PURE__ */ m(
262
+ xe,
263
+ v(S({}, h), {
264
+ ref: o,
265
+ onThumbPositionChange: () => {
266
+ if (t.viewport && l.current) {
267
+ const u = t.viewport.scrollTop, p = ee(u, i);
268
+ l.current.style.transform = `translate3d(0, ${p}px, 0)`;
269
+ }
270
+ },
271
+ onWheelScroll: (u) => {
272
+ t.viewport && (t.viewport.scrollTop = u);
273
+ },
274
+ onDragScroll: (u) => {
275
+ t.viewport && (t.viewport.scrollTop = d(u));
276
+ }
277
+ })
278
+ ) : null;
279
+ }), ye = c.forwardRef((e, o) => {
280
+ const h = e, { sizes: r, onSizesChange: n } = h, t = g(h, ["sizes", "onSizesChange"]), l = P(R, e.__scopeScrollArea), [a, i] = c.useState(), s = c.useRef(null), f = _(o, s, l.onScrollbarXChange);
281
+ return c.useEffect(() => {
282
+ s.current && i(getComputedStyle(s.current));
283
+ }, [s]), /* @__PURE__ */ m(
284
+ ie,
285
+ v(S({
286
+ "data-orientation": "horizontal"
287
+ }, t), {
288
+ ref: f,
289
+ sizes: r,
290
+ style: S({
291
+ bottom: 0,
292
+ left: l.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
293
+ right: l.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
294
+ "--radix-scroll-area-thumb-width": k(r) + "px"
295
+ }, e.style),
296
+ onThumbPointerDown: (d) => e.onThumbPointerDown(d.x),
297
+ onDragScroll: (d) => e.onDragScroll(d.x),
298
+ onWheelScroll: (d, b) => {
299
+ if (l.viewport) {
300
+ const u = l.viewport.scrollLeft + d.deltaX;
301
+ e.onWheelScroll(u), be(u, b) && d.preventDefault();
302
+ }
303
+ },
304
+ onResize: () => {
305
+ s.current && l.viewport && a && n({
306
+ content: l.viewport.scrollWidth,
307
+ viewport: l.viewport.offsetWidth,
308
+ scrollbar: {
309
+ size: s.current.clientWidth,
310
+ paddingStart: V(a.paddingLeft),
311
+ paddingEnd: V(a.paddingRight)
312
+ }
313
+ });
314
+ }
315
+ })
316
+ );
317
+ }), xe = c.forwardRef((e, o) => {
318
+ const h = e, { sizes: r, onSizesChange: n } = h, t = g(h, ["sizes", "onSizesChange"]), l = P(R, e.__scopeScrollArea), [a, i] = c.useState(), s = c.useRef(null), f = _(o, s, l.onScrollbarYChange);
319
+ return c.useEffect(() => {
320
+ s.current && i(getComputedStyle(s.current));
321
+ }, [s]), /* @__PURE__ */ m(
322
+ ie,
323
+ v(S({
324
+ "data-orientation": "vertical"
325
+ }, t), {
326
+ ref: f,
327
+ sizes: r,
328
+ style: S({
329
+ top: 0,
330
+ right: l.dir === "ltr" ? 0 : void 0,
331
+ left: l.dir === "rtl" ? 0 : void 0,
332
+ bottom: "var(--radix-scroll-area-corner-height)",
333
+ "--radix-scroll-area-thumb-height": k(r) + "px"
334
+ }, e.style),
335
+ onThumbPointerDown: (d) => e.onThumbPointerDown(d.y),
336
+ onDragScroll: (d) => e.onDragScroll(d.y),
337
+ onWheelScroll: (d, b) => {
338
+ if (l.viewport) {
339
+ const u = l.viewport.scrollTop + d.deltaY;
340
+ e.onWheelScroll(u), be(u, b) && d.preventDefault();
341
+ }
342
+ },
343
+ onResize: () => {
344
+ s.current && l.viewport && a && n({
345
+ content: l.viewport.scrollHeight,
346
+ viewport: l.viewport.offsetHeight,
347
+ scrollbar: {
348
+ size: s.current.clientHeight,
349
+ paddingStart: V(a.paddingTop),
350
+ paddingEnd: V(a.paddingBottom)
351
+ }
352
+ });
353
+ }
354
+ })
355
+ );
356
+ }), [Le, se] = oe(R), ie = c.forwardRef((e, o) => {
357
+ const X = e, {
358
+ __scopeScrollArea: r,
359
+ sizes: n,
360
+ hasThumb: t,
361
+ onThumbChange: l,
362
+ onThumbPointerUp: a,
363
+ onThumbPointerDown: i,
364
+ onThumbPositionChange: s,
365
+ onDragScroll: f,
366
+ onWheelScroll: h,
367
+ onResize: d
368
+ } = X, b = g(X, [
369
+ "__scopeScrollArea",
370
+ "sizes",
371
+ "hasThumb",
372
+ "onThumbChange",
373
+ "onThumbPointerUp",
374
+ "onThumbPointerDown",
375
+ "onThumbPositionChange",
376
+ "onDragScroll",
377
+ "onWheelScroll",
378
+ "onResize"
379
+ ]), u = P(R, r), [p, y] = c.useState(null), D = _(o, (w) => y(w)), E = c.useRef(null), H = c.useRef(""), $ = u.viewport, z = n.content - n.viewport, O = A(h), N = A(s), I = F(d, 10);
380
+ function M(w) {
381
+ if (E.current) {
382
+ const C = w.clientX - E.current.left, x = w.clientY - E.current.top;
383
+ f({ x: C, y: x });
384
+ }
385
+ }
386
+ return c.useEffect(() => {
387
+ const w = (C) => {
388
+ const x = C.target;
389
+ (p == null ? void 0 : p.contains(x)) && O(C, z);
390
+ };
391
+ return document.addEventListener("wheel", w, { passive: !1 }), () => document.removeEventListener("wheel", w, { passive: !1 });
392
+ }, [$, p, z, O]), c.useEffect(N, [n, N]), L(p, I), L(u.content, I), /* @__PURE__ */ m(
393
+ Le,
394
+ {
395
+ scope: r,
396
+ scrollbar: p,
397
+ hasThumb: t,
398
+ onThumbChange: A(l),
399
+ onThumbPointerUp: A(a),
400
+ onThumbPositionChange: N,
401
+ onThumbPointerDown: A(i),
402
+ children: /* @__PURE__ */ m(
403
+ W.div,
404
+ v(S({}, b), {
405
+ ref: D,
406
+ style: S({ position: "absolute" }, b.style),
407
+ onPointerDown: T(e.onPointerDown, (w) => {
408
+ w.button === 0 && (w.target.setPointerCapture(w.pointerId), E.current = p.getBoundingClientRect(), H.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", u.viewport && (u.viewport.style.scrollBehavior = "auto"), M(w));
409
+ }),
410
+ onPointerMove: T(e.onPointerMove, M),
411
+ onPointerUp: T(e.onPointerUp, (w) => {
412
+ const C = w.target;
413
+ C.hasPointerCapture(w.pointerId) && C.releasePointerCapture(w.pointerId), document.body.style.webkitUserSelect = H.current, u.viewport && (u.viewport.style.scrollBehavior = ""), E.current = null;
414
+ })
415
+ })
416
+ )
417
+ }
418
+ );
419
+ }), U = "ScrollAreaThumb", de = c.forwardRef(
420
+ (e, o) => {
421
+ const l = e, { forceMount: r } = l, n = g(l, ["forceMount"]), t = se(U, e.__scopeScrollArea);
422
+ return /* @__PURE__ */ m(B, { present: r || t.hasThumb, children: /* @__PURE__ */ m(_e, S({ ref: o }, n)) });
423
+ }
424
+ ), _e = c.forwardRef(
425
+ (e, o) => {
426
+ const d = e, { __scopeScrollArea: r, style: n } = d, t = g(d, ["__scopeScrollArea", "style"]), l = P(U, r), a = se(U, r), { onThumbPositionChange: i } = a, s = _(
427
+ o,
428
+ (b) => a.onThumbChange(b)
429
+ ), f = c.useRef(void 0), h = F(() => {
430
+ f.current && (f.current(), f.current = void 0);
431
+ }, 100);
432
+ return c.useEffect(() => {
433
+ const b = l.viewport;
434
+ if (b) {
435
+ const u = () => {
436
+ if (h(), !f.current) {
437
+ const p = We(b, i);
438
+ f.current = p, i();
439
+ }
440
+ };
441
+ return i(), b.addEventListener("scroll", u), () => b.removeEventListener("scroll", u);
442
+ }
443
+ }, [l.viewport, h, i]), /* @__PURE__ */ m(
444
+ W.div,
445
+ v(S({
446
+ "data-state": a.hasThumb ? "visible" : "hidden"
447
+ }, t), {
448
+ ref: s,
449
+ style: S({
450
+ width: "var(--radix-scroll-area-thumb-width)",
451
+ height: "var(--radix-scroll-area-thumb-height)"
452
+ }, n),
453
+ onPointerDownCapture: T(e.onPointerDownCapture, (b) => {
454
+ const p = b.target.getBoundingClientRect(), y = b.clientX - p.left, D = b.clientY - p.top;
455
+ a.onThumbPointerDown({ x: y, y: D });
456
+ }),
457
+ onPointerUp: T(e.onPointerUp, a.onThumbPointerUp)
458
+ })
459
+ );
460
+ }
461
+ );
462
+ de.displayName = U;
463
+ var J = "ScrollAreaCorner", ue = c.forwardRef(
464
+ (e, o) => {
465
+ const r = P(J, e.__scopeScrollArea), n = !!(r.scrollbarX && r.scrollbarY);
466
+ return r.type !== "scroll" && n ? /* @__PURE__ */ m(De, v(S({}, e), { ref: o })) : null;
467
+ }
468
+ );
469
+ ue.displayName = J;
470
+ var De = c.forwardRef((e, o) => {
471
+ const h = e, { __scopeScrollArea: r } = h, n = g(h, ["__scopeScrollArea"]), t = P(J, r), [l, a] = c.useState(0), [i, s] = c.useState(0), f = !!(l && i);
472
+ return L(t.scrollbarX, () => {
473
+ var b;
474
+ const d = ((b = t.scrollbarX) == null ? void 0 : b.offsetHeight) || 0;
475
+ t.onCornerHeightChange(d), s(d);
476
+ }), L(t.scrollbarY, () => {
477
+ var b;
478
+ const d = ((b = t.scrollbarY) == null ? void 0 : b.offsetWidth) || 0;
479
+ t.onCornerWidthChange(d), a(d);
480
+ }), f ? /* @__PURE__ */ m(
481
+ W.div,
482
+ v(S({}, n), {
483
+ ref: o,
484
+ style: S({
485
+ width: l,
486
+ height: i,
487
+ position: "absolute",
488
+ right: t.dir === "ltr" ? 0 : void 0,
489
+ left: t.dir === "rtl" ? 0 : void 0,
490
+ bottom: 0
491
+ }, e.style)
492
+ })
493
+ ) : null;
494
+ });
495
+ function V(e) {
496
+ return e ? parseInt(e, 10) : 0;
497
+ }
498
+ function fe(e, o) {
499
+ const r = e / o;
500
+ return isNaN(r) ? 0 : r;
501
+ }
502
+ function k(e) {
503
+ const o = fe(e.viewport, e.content), r = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, n = (e.scrollbar.size - r) * o;
504
+ return Math.max(n, 18);
505
+ }
506
+ function Ne(e, o, r, n = "ltr") {
507
+ const t = k(r), l = t / 2, a = o || l, i = t - a, s = r.scrollbar.paddingStart + a, f = r.scrollbar.size - r.scrollbar.paddingEnd - i, h = r.content - r.viewport, d = n === "ltr" ? [0, h] : [h * -1, 0];
508
+ return he([s, f], d)(e);
509
+ }
510
+ function ee(e, o, r = "ltr") {
511
+ const n = k(o), t = o.scrollbar.paddingStart + o.scrollbar.paddingEnd, l = o.scrollbar.size - t, a = o.content - o.viewport, i = l - n, s = r === "ltr" ? [0, a] : [a * -1, 0], f = Ce(e, s);
512
+ return he([0, a], [0, i])(f);
513
+ }
514
+ function he(e, o) {
515
+ return (r) => {
516
+ if (e[0] === e[1] || o[0] === o[1]) return o[0];
517
+ const n = (o[1] - o[0]) / (e[1] - e[0]);
518
+ return o[0] + n * (r - e[0]);
519
+ };
520
+ }
521
+ function be(e, o) {
522
+ return e > 0 && e < o;
523
+ }
524
+ var We = (e, o = () => {
525
+ }) => {
526
+ let r = { left: e.scrollLeft, top: e.scrollTop }, n = 0;
527
+ return function t() {
528
+ const l = { left: e.scrollLeft, top: e.scrollTop }, a = r.left !== l.left, i = r.top !== l.top;
529
+ (a || i) && o(), r = l, n = window.requestAnimationFrame(t);
530
+ }(), () => window.cancelAnimationFrame(n);
531
+ };
532
+ function F(e, o) {
533
+ const r = A(e), n = c.useRef(0);
534
+ return c.useEffect(() => () => window.clearTimeout(n.current), []), c.useCallback(() => {
535
+ window.clearTimeout(n.current), n.current = window.setTimeout(r, o);
536
+ }, [r, o]);
537
+ }
538
+ function L(e, o) {
539
+ const r = A(o);
540
+ Pe(() => {
541
+ let n = 0;
542
+ if (e) {
543
+ const t = new ResizeObserver(() => {
544
+ cancelAnimationFrame(n), n = window.requestAnimationFrame(r);
545
+ });
546
+ return t.observe(e), () => {
547
+ window.cancelAnimationFrame(n), t.unobserve(e);
548
+ };
549
+ }
550
+ }, [e, r]);
551
+ }
552
+ var He = te, ze = le, Oe = ue;
553
+ function Ke(a) {
554
+ var i = a, {
555
+ className: e,
556
+ children: o,
557
+ viewPortClassName: r,
558
+ relative: n = !0,
559
+ asChild: t = !1
560
+ } = i, l = g(i, [
561
+ "className",
562
+ "children",
563
+ "viewPortClassName",
564
+ "relative",
565
+ "asChild"
566
+ ]);
567
+ return /* @__PURE__ */ re(
568
+ He,
569
+ v(S({
570
+ "data-slot": "scroll-area",
571
+ className: j(
572
+ n && "relative",
573
+ e
574
+ )
575
+ }, l), {
576
+ children: [
577
+ /* @__PURE__ */ m(
578
+ ze,
579
+ {
580
+ "data-slot": "scroll-area-viewport",
581
+ className: j(
582
+ "focus:border-primary/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus:border-[3px] focus:outline-1",
583
+ r
584
+ ),
585
+ asChild: t,
586
+ children: o
587
+ }
588
+ ),
589
+ /* @__PURE__ */ m(Ie, {}),
590
+ /* @__PURE__ */ m(Oe, {})
591
+ ]
592
+ })
593
+ );
594
+ }
595
+ function Ie(n) {
596
+ var t = n, {
597
+ className: e,
598
+ orientation: o = "vertical"
599
+ } = t, r = g(t, [
600
+ "className",
601
+ "orientation"
602
+ ]);
603
+ return /* @__PURE__ */ m(
604
+ ce,
605
+ v(S({
606
+ "data-slot": "scroll-area-scrollbar",
607
+ orientation: o,
608
+ className: j(
609
+ "flex touch-none p-px transition-colors select-none",
610
+ o === "vertical" && "h-full w-2.5 border-l border-l-transparent",
611
+ o === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
612
+ e
613
+ )
614
+ }, r), {
615
+ children: /* @__PURE__ */ m(
616
+ de,
617
+ {
618
+ "data-slot": "scroll-area-thumb",
619
+ className: "bg-border relative flex-1 rounded-full"
620
+ }
621
+ )
622
+ })
623
+ );
624
+ }
625
+ export {
626
+ Ke as S,
627
+ Ie as a,
628
+ Ce as c
629
+ };
@@ -0,0 +1,17 @@
1
+ var m = Object.defineProperty;
2
+ var o = Object.getOwnPropertySymbols;
3
+ var c = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
4
+ var r = (t, C, e) => C in t ? m(t, C, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[C] = e, n = (t, C) => {
5
+ for (var e in C || (C = {}))
6
+ c.call(C, e) && r(t, e, C[e]);
7
+ if (o)
8
+ for (var e of o(C))
9
+ l.call(C, e) && r(t, e, C[e]);
10
+ return t;
11
+ };
12
+ import * as a from "react";
13
+ import { forwardRef as w } from "react";
14
+ const f = (t, C) => /* @__PURE__ */ a.createElement("svg", n({ width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: C }, t), /* @__PURE__ */ a.createElement("path", { d: "M9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L20.3 18.9C20.4833 19.0833 20.575 19.3167 20.575 19.6C20.575 19.8833 20.4833 20.1167 20.3 20.3C20.1167 20.4833 19.8833 20.575 19.6 20.575C19.3167 20.575 19.0833 20.4833 18.9 20.3L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z", fill: "currentColor" })), h = w(f);
15
+ export {
16
+ h as ReactComponent
17
+ };
@@ -0,0 +1,17 @@
1
+ var a = Object.defineProperty;
2
+ var o = Object.getOwnPropertySymbols;
3
+ var c = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
4
+ var r = (t, C, e) => C in t ? a(t, C, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[C] = e, n = (t, C) => {
5
+ for (var e in C || (C = {}))
6
+ c.call(C, e) && r(t, e, C[e]);
7
+ if (o)
8
+ for (var e of o(C))
9
+ l.call(C, e) && r(t, e, C[e]);
10
+ return t;
11
+ };
12
+ import * as m from "react";
13
+ import { forwardRef as w } from "react";
14
+ const f = (t, C) => /* @__PURE__ */ m.createElement("svg", n({ width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: C }, t), /* @__PURE__ */ m.createElement("path", { d: "M12.9375 11.0625H19.825C19.6 9.2375 18.8521 7.68958 17.5813 6.41875C16.3104 5.14792 14.7625 4.4 12.9375 4.175V11.0625ZM11.0625 19.825V4.175C9.07083 4.41667 7.41667 5.27917 6.1 6.7625C4.78333 8.24583 4.125 9.99167 4.125 12C4.125 14.0083 4.78333 15.7542 6.1 17.2375C7.41667 18.7208 9.07083 19.5833 11.0625 19.825ZM12.9375 19.825C14.7458 19.6083 16.2917 18.8583 17.575 17.575C18.8583 16.2917 19.6083 14.7458 19.825 12.9375H12.9375V19.825ZM11.998 21.75C10.6493 21.75 9.38333 21.4937 8.2 20.9813C7.01667 20.4688 5.9855 19.7738 5.1065 18.8962C4.22767 18.0187 3.53183 16.9868 3.019 15.8005C2.50633 14.6143 2.25 13.3468 2.25 11.998C2.25 10.6493 2.50625 9.38333 3.01875 8.2C3.53125 7.01667 4.22625 5.9855 5.10375 5.1065C5.98125 4.22767 7.01317 3.53183 8.1995 3.019C9.38567 2.50633 10.6532 2.25 12.002 2.25C13.3507 2.25 14.6139 2.50592 15.7917 3.01775C16.9696 3.52958 18.0012 4.22833 18.8867 5.114C19.7721 5.99967 20.4706 7.03158 20.9823 8.20975C21.4941 9.38792 21.75 10.6513 21.75 12C21.75 13.3417 21.4937 14.6042 20.9813 15.7875C20.4688 16.9708 19.7738 18.0048 18.8962 18.8892C18.0187 19.7739 16.9869 20.4718 15.8008 20.983C14.6144 21.4943 13.3468 21.75 11.998 21.75Z", fill: "currentColor" })), g = w(f);
15
+ export {
16
+ g as ReactComponent
17
+ };
@@ -0,0 +1,17 @@
1
+ var a = Object.defineProperty;
2
+ var o = Object.getOwnPropertySymbols;
3
+ var c = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
4
+ var r = (C, e, t) => e in C ? a(C, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : C[e] = t, n = (C, e) => {
5
+ for (var t in e || (e = {}))
6
+ c.call(e, t) && r(C, t, e[t]);
7
+ if (o)
8
+ for (var t of o(e))
9
+ l.call(e, t) && r(C, t, e[t]);
10
+ return C;
11
+ };
12
+ import * as m from "react";
13
+ import { forwardRef as w } from "react";
14
+ const f = (C, e) => /* @__PURE__ */ m.createElement("svg", n({ width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: e }, C), /* @__PURE__ */ m.createElement("path", { d: "M7.33341 5.21686L4.06674 8.48353C3.93341 8.61686 3.77785 8.68075 3.60007 8.67519C3.4223 8.66964 3.26674 8.60019 3.13341 8.46686C3.01118 8.33353 2.9473 8.17797 2.94174 8.0002C2.93618 7.82242 3.00007 7.66686 3.13341 7.53353L7.53341 3.13353C7.60007 3.06686 7.6723 3.01964 7.75007 2.99186C7.82785 2.96408 7.91118 2.9502 8.00007 2.9502C8.08896 2.9502 8.1723 2.96408 8.25007 2.99186C8.32785 3.01964 8.40007 3.06686 8.46674 3.13353L12.8667 7.53353C12.989 7.65575 13.0501 7.80853 13.0501 7.99186C13.0501 8.1752 12.989 8.33353 12.8667 8.46686C12.7334 8.60019 12.5751 8.66686 12.3917 8.66686C12.2084 8.66686 12.0501 8.60019 11.9167 8.46686L8.66674 5.21686V12.6669C8.66674 12.8558 8.60285 13.0141 8.47507 13.1419C8.3473 13.2696 8.18896 13.3335 8.00007 13.3335C7.81118 13.3335 7.65285 13.2696 7.52507 13.1419C7.39729 13.0141 7.33341 12.8558 7.33341 12.6669V5.21686Z", fill: "currentColor" })), p = w(f);
15
+ export {
16
+ p as ReactComponent
17
+ };