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,517 @@
1
+ import * as c from "react";
2
+ import { useState as oe } from "react";
3
+ import { _ as E, a as U, b as ce } from "./tslib.es6-fInlAbov.js";
4
+ var Y = 0;
5
+ function Qe() {
6
+ c.useEffect(() => {
7
+ var t, r;
8
+ const e = document.querySelectorAll("[data-radix-focus-guard]");
9
+ return document.body.insertAdjacentElement("afterbegin", (t = e[0]) != null ? t : G()), document.body.insertAdjacentElement("beforeend", (r = e[1]) != null ? r : G()), Y++, () => {
10
+ Y === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((n) => n.remove()), Y--;
11
+ };
12
+ }, []);
13
+ }
14
+ function G() {
15
+ const e = document.createElement("span");
16
+ return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
17
+ }
18
+ var I = "right-scroll-bar-position", D = "width-before-scroll-bar", ie = "with-scroll-bars-hidden", ue = "--removed-body-scroll-bar-size";
19
+ function V(e, t) {
20
+ return typeof e == "function" ? e(t) : e && (e.current = t), e;
21
+ }
22
+ function le(e, t) {
23
+ var r = oe(function() {
24
+ return {
25
+ // value
26
+ value: e,
27
+ // last callback
28
+ callback: t,
29
+ // "memoized" public interface
30
+ facade: {
31
+ get current() {
32
+ return r.value;
33
+ },
34
+ set current(n) {
35
+ var i = r.value;
36
+ i !== n && (r.value = n, r.callback(n, i));
37
+ }
38
+ }
39
+ };
40
+ })[0];
41
+ return r.callback = t, r.facade;
42
+ }
43
+ var se = typeof window != "undefined" ? c.useLayoutEffect : c.useEffect, Z = /* @__PURE__ */ new WeakMap();
44
+ function fe(e, t) {
45
+ var r = le(null, function(n) {
46
+ return e.forEach(function(i) {
47
+ return V(i, n);
48
+ });
49
+ });
50
+ return se(function() {
51
+ var n = Z.get(r);
52
+ if (n) {
53
+ var i = new Set(n), u = new Set(e), l = r.current;
54
+ i.forEach(function(a) {
55
+ u.has(a) || V(a, null);
56
+ }), u.forEach(function(a) {
57
+ i.has(a) || V(a, l);
58
+ });
59
+ }
60
+ Z.set(r, e);
61
+ }, [e]), r;
62
+ }
63
+ function de(e) {
64
+ return e;
65
+ }
66
+ function ve(e, t) {
67
+ t === void 0 && (t = de);
68
+ var r = [], n = !1, i = {
69
+ read: function() {
70
+ if (n)
71
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
72
+ return r.length ? r[r.length - 1] : e;
73
+ },
74
+ useMedium: function(u) {
75
+ var l = t(u, n);
76
+ return r.push(l), function() {
77
+ r = r.filter(function(a) {
78
+ return a !== l;
79
+ });
80
+ };
81
+ },
82
+ assignSyncMedium: function(u) {
83
+ for (n = !0; r.length; ) {
84
+ var l = r;
85
+ r = [], l.forEach(u);
86
+ }
87
+ r = {
88
+ push: function(a) {
89
+ return u(a);
90
+ },
91
+ filter: function() {
92
+ return r;
93
+ }
94
+ };
95
+ },
96
+ assignMedium: function(u) {
97
+ n = !0;
98
+ var l = [];
99
+ if (r.length) {
100
+ var a = r;
101
+ r = [], a.forEach(u), l = r;
102
+ }
103
+ var y = function() {
104
+ var v = l;
105
+ l = [], v.forEach(u);
106
+ }, m = function() {
107
+ return Promise.resolve().then(y);
108
+ };
109
+ m(), r = {
110
+ push: function(v) {
111
+ l.push(v), m();
112
+ },
113
+ filter: function(v) {
114
+ return l = l.filter(v), r;
115
+ }
116
+ };
117
+ }
118
+ };
119
+ return i;
120
+ }
121
+ function he(e) {
122
+ e === void 0 && (e = {});
123
+ var t = ve(null);
124
+ return t.options = E({ async: !0, ssr: !1 }, e), t;
125
+ }
126
+ var $ = function(e) {
127
+ var t = e.sideCar, r = U(e, ["sideCar"]);
128
+ if (!t)
129
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
130
+ var n = t.read();
131
+ if (!n)
132
+ throw new Error("Sidecar medium not found");
133
+ return c.createElement(n, E({}, r));
134
+ };
135
+ $.isSideCarExport = !0;
136
+ function me(e, t) {
137
+ return e.useMedium(t), $;
138
+ }
139
+ var J = he(), F = function() {
140
+ }, X = c.forwardRef(function(e, t) {
141
+ var r = c.useRef(null), n = c.useState({
142
+ onScrollCapture: F,
143
+ onWheelCapture: F,
144
+ onTouchMoveCapture: F
145
+ }), i = n[0], u = n[1], l = e.forwardProps, a = e.children, y = e.className, m = e.removeScrollBar, v = e.enabled, f = e.shards, d = e.sideCar, p = e.noIsolation, b = e.inert, o = e.allowPinchZoom, s = e.as, g = s === void 0 ? "div" : s, w = e.gapMode, S = U(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = d, h = fe([r, t]), k = E(E({}, S), i);
146
+ return c.createElement(
147
+ c.Fragment,
148
+ null,
149
+ v && c.createElement(C, { sideCar: J, removeScrollBar: m, shards: f, noIsolation: p, inert: b, setCallbacks: u, allowPinchZoom: !!o, lockRef: r, gapMode: w }),
150
+ l ? c.cloneElement(c.Children.only(a), E(E({}, k), { ref: h })) : c.createElement(g, E({}, k, { className: y, ref: h }), a)
151
+ );
152
+ });
153
+ X.defaultProps = {
154
+ enabled: !0,
155
+ removeScrollBar: !0,
156
+ inert: !1
157
+ };
158
+ X.classNames = {
159
+ fullWidth: D,
160
+ zeroRight: I
161
+ };
162
+ var ge = function() {
163
+ if (typeof __webpack_nonce__ != "undefined")
164
+ return __webpack_nonce__;
165
+ };
166
+ function ye() {
167
+ if (!document)
168
+ return null;
169
+ var e = document.createElement("style");
170
+ e.type = "text/css";
171
+ var t = ge();
172
+ return t && e.setAttribute("nonce", t), e;
173
+ }
174
+ function pe(e, t) {
175
+ e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
176
+ }
177
+ function Se(e) {
178
+ var t = document.head || document.getElementsByTagName("head")[0];
179
+ t.appendChild(e);
180
+ }
181
+ var be = function() {
182
+ var e = 0, t = null;
183
+ return {
184
+ add: function(r) {
185
+ e == 0 && (t = ye()) && (pe(t, r), Se(t)), e++;
186
+ },
187
+ remove: function() {
188
+ e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
189
+ }
190
+ };
191
+ }, we = function() {
192
+ var e = be();
193
+ return function(t, r) {
194
+ c.useEffect(function() {
195
+ return e.add(t), function() {
196
+ e.remove();
197
+ };
198
+ }, [t && r]);
199
+ };
200
+ }, ee = function() {
201
+ var e = we(), t = function(r) {
202
+ var n = r.styles, i = r.dynamic;
203
+ return e(n, i), null;
204
+ };
205
+ return t;
206
+ }, Ce = {
207
+ left: 0,
208
+ top: 0,
209
+ right: 0,
210
+ gap: 0
211
+ }, H = function(e) {
212
+ return parseInt(e || "", 10) || 0;
213
+ }, Ee = function(e) {
214
+ var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
215
+ return [H(r), H(n), H(i)];
216
+ }, ke = function(e) {
217
+ if (e === void 0 && (e = "margin"), typeof window == "undefined")
218
+ return Ce;
219
+ var t = Ee(e), r = document.documentElement.clientWidth, n = window.innerWidth;
220
+ return {
221
+ left: t[0],
222
+ top: t[1],
223
+ right: t[2],
224
+ gap: Math.max(0, n - r + t[2] - t[0])
225
+ };
226
+ }, Re = ee(), P = "data-scroll-locked", Ae = function(e, t, r, n) {
227
+ var i = e.left, u = e.top, l = e.right, a = e.gap;
228
+ return r === void 0 && (r = "margin"), `
229
+ .`.concat(ie, ` {
230
+ overflow: hidden `).concat(n, `;
231
+ padding-right: `).concat(a, "px ").concat(n, `;
232
+ }
233
+ body[`).concat(P, `] {
234
+ overflow: hidden `).concat(n, `;
235
+ overscroll-behavior: contain;
236
+ `).concat([
237
+ t && "position: relative ".concat(n, ";"),
238
+ r === "margin" && `
239
+ padding-left: `.concat(i, `px;
240
+ padding-top: `).concat(u, `px;
241
+ padding-right: `).concat(l, `px;
242
+ margin-left:0;
243
+ margin-top:0;
244
+ margin-right: `).concat(a, "px ").concat(n, `;
245
+ `),
246
+ r === "padding" && "padding-right: ".concat(a, "px ").concat(n, ";")
247
+ ].filter(Boolean).join(""), `
248
+ }
249
+
250
+ .`).concat(I, ` {
251
+ right: `).concat(a, "px ").concat(n, `;
252
+ }
253
+
254
+ .`).concat(D, ` {
255
+ margin-right: `).concat(a, "px ").concat(n, `;
256
+ }
257
+
258
+ .`).concat(I, " .").concat(I, ` {
259
+ right: 0 `).concat(n, `;
260
+ }
261
+
262
+ .`).concat(D, " .").concat(D, ` {
263
+ margin-right: 0 `).concat(n, `;
264
+ }
265
+
266
+ body[`).concat(P, `] {
267
+ `).concat(ue, ": ").concat(a, `px;
268
+ }
269
+ `);
270
+ }, q = function() {
271
+ var e = parseInt(document.body.getAttribute(P) || "0", 10);
272
+ return isFinite(e) ? e : 0;
273
+ }, Me = function() {
274
+ c.useEffect(function() {
275
+ return document.body.setAttribute(P, (q() + 1).toString()), function() {
276
+ var e = q() - 1;
277
+ e <= 0 ? document.body.removeAttribute(P) : document.body.setAttribute(P, e.toString());
278
+ };
279
+ }, []);
280
+ }, Pe = function(e) {
281
+ var t = e.noRelative, r = e.noImportant, n = e.gapMode, i = n === void 0 ? "margin" : n;
282
+ Me();
283
+ var u = c.useMemo(function() {
284
+ return ke(i);
285
+ }, [i]);
286
+ return c.createElement(Re, { styles: Ae(u, !t, i, r ? "" : "!important") });
287
+ }, j = !1;
288
+ if (typeof window != "undefined")
289
+ try {
290
+ var B = Object.defineProperty({}, "passive", {
291
+ get: function() {
292
+ return j = !0, !0;
293
+ }
294
+ });
295
+ window.addEventListener("test", B, B), window.removeEventListener("test", B, B);
296
+ } catch (e) {
297
+ j = !1;
298
+ }
299
+ var R = j ? { passive: !1 } : !1, xe = function(e) {
300
+ return e.tagName === "TEXTAREA";
301
+ }, te = function(e, t) {
302
+ if (!(e instanceof Element))
303
+ return !1;
304
+ var r = window.getComputedStyle(e);
305
+ return (
306
+ // not-not-scrollable
307
+ r[t] !== "hidden" && // contains scroll inside self
308
+ !(r.overflowY === r.overflowX && !xe(e) && r[t] === "visible")
309
+ );
310
+ }, We = function(e) {
311
+ return te(e, "overflowY");
312
+ }, Be = function(e) {
313
+ return te(e, "overflowX");
314
+ }, Q = function(e, t) {
315
+ var r = t.ownerDocument, n = t;
316
+ do {
317
+ typeof ShadowRoot != "undefined" && n instanceof ShadowRoot && (n = n.host);
318
+ var i = re(e, n);
319
+ if (i) {
320
+ var u = ne(e, n), l = u[1], a = u[2];
321
+ if (l > a)
322
+ return !0;
323
+ }
324
+ n = n.parentNode;
325
+ } while (n && n !== r.body);
326
+ return !1;
327
+ }, Le = function(e) {
328
+ var t = e.scrollTop, r = e.scrollHeight, n = e.clientHeight;
329
+ return [
330
+ t,
331
+ r,
332
+ n
333
+ ];
334
+ }, Te = function(e) {
335
+ var t = e.scrollLeft, r = e.scrollWidth, n = e.clientWidth;
336
+ return [
337
+ t,
338
+ r,
339
+ n
340
+ ];
341
+ }, re = function(e, t) {
342
+ return e === "v" ? We(t) : Be(t);
343
+ }, ne = function(e, t) {
344
+ return e === "v" ? Le(t) : Te(t);
345
+ }, Ne = function(e, t) {
346
+ return e === "h" && t === "rtl" ? -1 : 1;
347
+ }, Ie = function(e, t, r, n, i) {
348
+ var u = Ne(e, window.getComputedStyle(t).direction), l = u * n, a = r.target, y = t.contains(a), m = !1, v = l > 0, f = 0, d = 0;
349
+ do {
350
+ var p = ne(e, a), b = p[0], o = p[1], s = p[2], g = o - s - u * b;
351
+ (b || g) && re(e, a) && (f += g, d += b), a instanceof ShadowRoot ? a = a.host : a = a.parentNode;
352
+ } while (
353
+ // portaled content
354
+ !y && a !== document.body || // self content
355
+ y && (t.contains(a) || t === a)
356
+ );
357
+ return (v && Math.abs(f) < 1 || !v && Math.abs(d) < 1) && (m = !0), m;
358
+ }, L = function(e) {
359
+ return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
360
+ }, _ = function(e) {
361
+ return [e.deltaX, e.deltaY];
362
+ }, K = function(e) {
363
+ return e && "current" in e ? e.current : e;
364
+ }, De = function(e, t) {
365
+ return e[0] === t[0] && e[1] === t[1];
366
+ }, Xe = function(e) {
367
+ return `
368
+ .block-interactivity-`.concat(e, ` {pointer-events: none;}
369
+ .allow-interactivity-`).concat(e, ` {pointer-events: all;}
370
+ `);
371
+ }, Ye = 0, A = [];
372
+ function Ve(e) {
373
+ var t = c.useRef([]), r = c.useRef([0, 0]), n = c.useRef(), i = c.useState(Ye++)[0], u = c.useState(ee)[0], l = c.useRef(e);
374
+ c.useEffect(function() {
375
+ l.current = e;
376
+ }, [e]), c.useEffect(function() {
377
+ if (e.inert) {
378
+ document.body.classList.add("block-interactivity-".concat(i));
379
+ var o = ce([e.lockRef.current], (e.shards || []).map(K), !0).filter(Boolean);
380
+ return o.forEach(function(s) {
381
+ return s.classList.add("allow-interactivity-".concat(i));
382
+ }), function() {
383
+ document.body.classList.remove("block-interactivity-".concat(i)), o.forEach(function(s) {
384
+ return s.classList.remove("allow-interactivity-".concat(i));
385
+ });
386
+ };
387
+ }
388
+ }, [e.inert, e.lockRef.current, e.shards]);
389
+ var a = c.useCallback(function(o, s) {
390
+ if ("touches" in o && o.touches.length === 2 || o.type === "wheel" && o.ctrlKey)
391
+ return !l.current.allowPinchZoom;
392
+ var g = L(o), w = r.current, S = "deltaX" in o ? o.deltaX : w[0] - g[0], C = "deltaY" in o ? o.deltaY : w[1] - g[1], h, k = o.target, x = Math.abs(S) > Math.abs(C) ? "h" : "v";
393
+ if ("touches" in o && x === "h" && k.type === "range")
394
+ return !1;
395
+ var W = Q(x, k);
396
+ if (!W)
397
+ return !0;
398
+ if (W ? h = x : (h = x === "v" ? "h" : "v", W = Q(x, k)), !W)
399
+ return !1;
400
+ if (!n.current && "changedTouches" in o && (S || C) && (n.current = h), !h)
401
+ return !0;
402
+ var z = n.current || h;
403
+ return Ie(z, s, o, z === "h" ? S : C);
404
+ }, []), y = c.useCallback(function(o) {
405
+ var s = o;
406
+ if (!(!A.length || A[A.length - 1] !== u)) {
407
+ var g = "deltaY" in s ? _(s) : L(s), w = t.current.filter(function(h) {
408
+ return h.name === s.type && (h.target === s.target || s.target === h.shadowParent) && De(h.delta, g);
409
+ })[0];
410
+ if (w && w.should) {
411
+ s.cancelable && s.preventDefault();
412
+ return;
413
+ }
414
+ if (!w) {
415
+ var S = (l.current.shards || []).map(K).filter(Boolean).filter(function(h) {
416
+ return h.contains(s.target);
417
+ }), C = S.length > 0 ? a(s, S[0]) : !l.current.noIsolation;
418
+ C && s.cancelable && s.preventDefault();
419
+ }
420
+ }
421
+ }, []), m = c.useCallback(function(o, s, g, w) {
422
+ var S = { name: o, delta: s, target: g, should: w, shadowParent: Fe(g) };
423
+ t.current.push(S), setTimeout(function() {
424
+ t.current = t.current.filter(function(C) {
425
+ return C !== S;
426
+ });
427
+ }, 1);
428
+ }, []), v = c.useCallback(function(o) {
429
+ r.current = L(o), n.current = void 0;
430
+ }, []), f = c.useCallback(function(o) {
431
+ m(o.type, _(o), o.target, a(o, e.lockRef.current));
432
+ }, []), d = c.useCallback(function(o) {
433
+ m(o.type, L(o), o.target, a(o, e.lockRef.current));
434
+ }, []);
435
+ c.useEffect(function() {
436
+ return A.push(u), e.setCallbacks({
437
+ onScrollCapture: f,
438
+ onWheelCapture: f,
439
+ onTouchMoveCapture: d
440
+ }), document.addEventListener("wheel", y, R), document.addEventListener("touchmove", y, R), document.addEventListener("touchstart", v, R), function() {
441
+ A = A.filter(function(o) {
442
+ return o !== u;
443
+ }), document.removeEventListener("wheel", y, R), document.removeEventListener("touchmove", y, R), document.removeEventListener("touchstart", v, R);
444
+ };
445
+ }, []);
446
+ var p = e.removeScrollBar, b = e.inert;
447
+ return c.createElement(
448
+ c.Fragment,
449
+ null,
450
+ b ? c.createElement(u, { styles: Xe(i) }) : null,
451
+ p ? c.createElement(Pe, { gapMode: e.gapMode }) : null
452
+ );
453
+ }
454
+ function Fe(e) {
455
+ for (var t = null; e !== null; )
456
+ e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
457
+ return t;
458
+ }
459
+ const He = me(J, Ve);
460
+ var Oe = c.forwardRef(function(e, t) {
461
+ return c.createElement(X, E({}, e, { ref: t, sideCar: He }));
462
+ });
463
+ Oe.classNames = X.classNames;
464
+ var je = function(e) {
465
+ if (typeof document == "undefined")
466
+ return null;
467
+ var t = Array.isArray(e) ? e[0] : e;
468
+ return t.ownerDocument.body;
469
+ }, M = /* @__PURE__ */ new WeakMap(), T = /* @__PURE__ */ new WeakMap(), N = {}, O = 0, ae = function(e) {
470
+ return e && (e.host || ae(e.parentNode));
471
+ }, ze = function(e, t) {
472
+ return t.map(function(r) {
473
+ if (e.contains(r))
474
+ return r;
475
+ var n = ae(r);
476
+ return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
477
+ }).filter(function(r) {
478
+ return !!r;
479
+ });
480
+ }, Ge = function(e, t, r, n) {
481
+ var i = ze(t, Array.isArray(e) ? e : [e]);
482
+ N[r] || (N[r] = /* @__PURE__ */ new WeakMap());
483
+ var u = N[r], l = [], a = /* @__PURE__ */ new Set(), y = new Set(i), m = function(f) {
484
+ !f || a.has(f) || (a.add(f), m(f.parentNode));
485
+ };
486
+ i.forEach(m);
487
+ var v = function(f) {
488
+ !f || y.has(f) || Array.prototype.forEach.call(f.children, function(d) {
489
+ if (a.has(d))
490
+ v(d);
491
+ else
492
+ try {
493
+ var p = d.getAttribute(n), b = p !== null && p !== "false", o = (M.get(d) || 0) + 1, s = (u.get(d) || 0) + 1;
494
+ M.set(d, o), u.set(d, s), l.push(d), o === 1 && b && T.set(d, !0), s === 1 && d.setAttribute(r, "true"), b || d.setAttribute(n, "true");
495
+ } catch (g) {
496
+ console.error("aria-hidden: cannot operate on ", d, g);
497
+ }
498
+ });
499
+ };
500
+ return v(t), a.clear(), O++, function() {
501
+ l.forEach(function(f) {
502
+ var d = M.get(f) - 1, p = u.get(f) - 1;
503
+ M.set(f, d), u.set(f, p), d || (T.has(f) || f.removeAttribute(n), T.delete(f)), p || f.removeAttribute(r);
504
+ }), O--, O || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), T = /* @__PURE__ */ new WeakMap(), N = {});
505
+ };
506
+ }, _e = function(e, t, r) {
507
+ r === void 0 && (r = "data-aria-hidden");
508
+ var n = Array.from(Array.isArray(e) ? e : [e]), i = je(e);
509
+ return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), Ge(n, i, r, "aria-hidden")) : function() {
510
+ return null;
511
+ };
512
+ };
513
+ export {
514
+ Oe as R,
515
+ _e as h,
516
+ Qe as u
517
+ };
@@ -0,0 +1,10 @@
1
+ import * as t from "react";
2
+ import "react/jsx-runtime";
3
+ var r = t.createContext(void 0);
4
+ function n(o) {
5
+ const e = t.useContext(r);
6
+ return o || e || "ltr";
7
+ }
8
+ export {
9
+ n as u
10
+ };
@@ -0,0 +1,27 @@
1
+ import * as h from "react";
2
+ import { u as z } from "./index-DuekHEmj.js";
3
+ function n(r) {
4
+ const [d, e] = h.useState(void 0);
5
+ return z(() => {
6
+ if (r) {
7
+ e({ width: r.offsetWidth, height: r.offsetHeight });
8
+ const f = new ResizeObserver((i) => {
9
+ if (!Array.isArray(i) || !i.length)
10
+ return;
11
+ const b = i[0];
12
+ let o, t;
13
+ if ("borderBoxSize" in b) {
14
+ const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
15
+ o = u.inlineSize, t = u.blockSize;
16
+ } else
17
+ o = r.offsetWidth, t = r.offsetHeight;
18
+ e({ width: o, height: t });
19
+ });
20
+ return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
21
+ } else
22
+ e(void 0);
23
+ }, [r]), d;
24
+ }
25
+ export {
26
+ n as u
27
+ };
@@ -0,0 +1,79 @@
1
+ var _ = Object.defineProperty, x = Object.defineProperties;
2
+ var I = Object.getOwnPropertyDescriptors;
3
+ var u = Object.getOwnPropertySymbols;
4
+ var C = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
+ var E = (e, t, r) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, c = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ C.call(t, r) && E(e, r, t[r]);
8
+ if (u)
9
+ for (var r of u(t))
10
+ b.call(t, r) && E(e, r, t[r]);
11
+ return e;
12
+ }, d = (e, t) => x(e, I(t));
13
+ var m = (e, t) => {
14
+ var r = {};
15
+ for (var n in e)
16
+ C.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
+ if (e != null && u)
18
+ for (var n of u(e))
19
+ t.indexOf(n) < 0 && b.call(e, n) && (r[n] = e[n]);
20
+ return r;
21
+ };
22
+ import * as l from "react";
23
+ import { c as V } from "./index-DLcqcWxM.js";
24
+ import { jsx as y, Fragment as N } from "react/jsx-runtime";
25
+ // @__NO_SIDE_EFFECTS__
26
+ function O(e) {
27
+ const t = /* @__PURE__ */ P(e), r = l.forwardRef((n, o) => {
28
+ const S = n, { children: i } = S, f = m(S, ["children"]), s = l.Children.toArray(i), a = s.find(W);
29
+ if (a) {
30
+ const p = a.props.children, h = s.map((g) => g === a ? l.Children.count(p) > 1 ? l.Children.only(null) : l.isValidElement(p) ? p.props.children : null : g);
31
+ return /* @__PURE__ */ y(t, d(c({}, f), { ref: o, children: l.isValidElement(p) ? l.cloneElement(p, void 0, h) : null }));
32
+ }
33
+ return /* @__PURE__ */ y(t, d(c({}, f), { ref: o, children: i }));
34
+ });
35
+ return r.displayName = `${e}.Slot`, r;
36
+ }
37
+ var F = /* @__PURE__ */ O("Slot");
38
+ // @__NO_SIDE_EFFECTS__
39
+ function P(e) {
40
+ const t = l.forwardRef((r, n) => {
41
+ const f = r, { children: o } = f, i = m(f, ["children"]);
42
+ if (l.isValidElement(o)) {
43
+ const s = v(o), a = j(i, o.props);
44
+ return o.type !== l.Fragment && (a.ref = n ? V(n, s) : s), l.cloneElement(o, a);
45
+ }
46
+ return l.Children.count(o) > 1 ? l.Children.only(null) : null;
47
+ });
48
+ return t.displayName = `${e}.SlotClone`, t;
49
+ }
50
+ var R = Symbol("radix.slottable");
51
+ // @__NO_SIDE_EFFECTS__
52
+ function T(e) {
53
+ const t = ({ children: r }) => /* @__PURE__ */ y(N, { children: r });
54
+ return t.displayName = `${e}.Slottable`, t.__radixId = R, t;
55
+ }
56
+ function W(e) {
57
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === R;
58
+ }
59
+ function j(e, t) {
60
+ const r = c({}, t);
61
+ for (const n in t) {
62
+ const o = e[n], i = t[n];
63
+ /^on[A-Z]/.test(n) ? o && i ? r[n] = (...s) => {
64
+ const a = i(...s);
65
+ return o(...s), a;
66
+ } : o && (r[n] = o) : n === "style" ? r[n] = c(c({}, o), i) : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
67
+ }
68
+ return c(c({}, e), r);
69
+ }
70
+ function v(e) {
71
+ var n, o;
72
+ let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
73
+ return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
74
+ }
75
+ export {
76
+ F as S,
77
+ T as a,
78
+ O as c
79
+ };