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,288 @@
1
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
+ import h from "react";
3
+ import { X as c, p as F, w as E, B as u, r as T, s as B, v as H, _ as X } from "../../chunks/uploader-BN38rjbw.js";
4
+ import { Calendar as _ } from "./calendar.js";
5
+ import { P as q, c as A, b as G } from "../../chunks/popover-kFSgc5Lv.js";
6
+ import { Icon as m } from "../icon/icon.js";
7
+ import "../icon-banks/icons-banks.js";
8
+ import "../icon-documents/icons-document.js";
9
+ import { c as a } from "../../chunks/utils-TbLXCoKm.js";
10
+ import "./command.js";
11
+ import "./avatar.js";
12
+ import "./card.js";
13
+ import "./checkbox.js";
14
+ import "../../chunks/combobox-primitive-context-B_ldR_VA.js";
15
+ import "./combobox-primitive/components/combobox-container.js";
16
+ import "./combobox-primitive/components/combobox-input.js";
17
+ import "./combobox-primitive/components/combobox-item-renderer.js";
18
+ import "./combobox-primitive/components/combobox-menu.js";
19
+ import "./combobox-primitive/components/Item.js";
20
+ import "./combobox-primitive/components/item-view.js";
21
+ import "./combobox-primitive/components/list.js";
22
+ import "./customizable-carousel.js";
23
+ import "./date-range-picker/locales.js";
24
+ import "./dialog/dialog-base/use-base-dialog.js";
25
+ import "./link.js";
26
+ import "./segments.js";
27
+ import "./spinner.js";
28
+ import "./switch.js";
29
+ import "./tabs.js";
30
+ import "./tag.js";
31
+ import "./toaster.js";
32
+ import "../../chunks/tooltip-BxRtZLBR.js";
33
+ import { r as p } from "../../chunks/ru-CUCVR8Pn.js";
34
+ import { f as I } from "../../chunks/format-DoKcg9cH.js";
35
+ function we({
36
+ date: n,
37
+ onSelect: s,
38
+ disabled: i = !1,
39
+ placeholder: b = "дд.мм.гггг",
40
+ className: M,
41
+ size: l = "md",
42
+ error: e,
43
+ caption: N,
44
+ label: w,
45
+ showResetButton: y = !0,
46
+ onReset: f,
47
+ disabledDays: C,
48
+ "data-testid": k
49
+ }) {
50
+ const [o, x] = h.useState(n), D = X(), [r, g] = h.useState(!1);
51
+ h.useEffect(() => {
52
+ n !== o && x(n);
53
+ }, [n]);
54
+ const P = (v) => {
55
+ v && (x(v), s == null || s(v), D === "mobile" && g(!1));
56
+ }, j = () => {
57
+ x(void 0), s == null || s(void 0), f == null || f();
58
+ }, O = () => {
59
+ switch (l) {
60
+ case "md":
61
+ return "rounded-lg";
62
+ case "lg":
63
+ return "rounded-xl";
64
+ default:
65
+ return "rounded-lg";
66
+ }
67
+ };
68
+ return /* @__PURE__ */ d("div", { className: M, children: [
69
+ w && /* @__PURE__ */ t(
70
+ c,
71
+ {
72
+ variant: "p3",
73
+ weight: "medium",
74
+ className: a("mb-1.5", {
75
+ "text-[14px]": l === "md",
76
+ "text-[16px]": l === "lg"
77
+ }),
78
+ children: w
79
+ }
80
+ ),
81
+ D === "mobile" ? /* @__PURE__ */ d(
82
+ F,
83
+ {
84
+ open: r,
85
+ onOpenChange: i ? void 0 : g,
86
+ children: [
87
+ /* @__PURE__ */ t(E, { asChild: !0, children: /* @__PURE__ */ t(
88
+ u,
89
+ {
90
+ variant: "dashed",
91
+ disabled: i,
92
+ size: l,
93
+ iconPosition: "end",
94
+ className: a(
95
+ "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
96
+ l === "lg" ? "px-3" : "px-2.5",
97
+ O(),
98
+ {
99
+ "shadow-focus border-primary border-1 border-solid": r
100
+ },
101
+ {
102
+ "shadow-error border-destructive border-1 border-solid": e != null && r
103
+ },
104
+ {
105
+ "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": e != null
106
+ },
107
+ e != null ? "hover:text-destructive" : ""
108
+ ),
109
+ "data-testid": k,
110
+ children: /* @__PURE__ */ d("div", { className: "flex w-full items-center", children: [
111
+ /* @__PURE__ */ t(
112
+ "div",
113
+ {
114
+ className: a(
115
+ "flex-1",
116
+ o ? "text-foreground" : "text-muted-foreground",
117
+ i && "text-muted-foreground",
118
+ r && !i && "!text-default"
119
+ ),
120
+ children: o ? I(o, "dd.MM.yyyy", { locale: p }) : b
121
+ }
122
+ ),
123
+ /* @__PURE__ */ d("div", { className: "flex items-center gap-1.5", children: [
124
+ /* @__PURE__ */ t(
125
+ m,
126
+ {
127
+ className: a(
128
+ "group-focus-within:text-foreground text-muted-foreground transition-colors",
129
+ i && "text-muted-foreground",
130
+ r && !i && e == null && "!text-default",
131
+ o && !i && e == null && "text-default",
132
+ e != null && "!group-focus-within:!text-destructive !text-destructive"
133
+ ),
134
+ icon: "CalendarIcon",
135
+ size: 16
136
+ }
137
+ ),
138
+ e && /* @__PURE__ */ t(
139
+ m,
140
+ {
141
+ icon: "ErrorFillIcon",
142
+ className: "text-destructive",
143
+ size: 16
144
+ }
145
+ )
146
+ ] })
147
+ ] })
148
+ }
149
+ ) }),
150
+ /* @__PURE__ */ d(T, { className: "w-full pb-0", children: [
151
+ /* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(H, { className: "m-0 mb-5 p-0 text-left", children: /* @__PURE__ */ t(c, { variant: "h2", className: "font-graphik", children: "Выберите дату" }) }) }),
152
+ /* @__PURE__ */ t(
153
+ _,
154
+ {
155
+ mode: "single",
156
+ selected: o,
157
+ onSelect: P,
158
+ initialFocus: !0,
159
+ locale: p,
160
+ className: "font-graphik mt-3",
161
+ numberOfMonths: 1,
162
+ disabled: C
163
+ }
164
+ ),
165
+ y && /* @__PURE__ */ t("div", { className: "flex h-[64px] items-center justify-center", children: /* @__PURE__ */ t(
166
+ u,
167
+ {
168
+ onClick: j,
169
+ variant: "text",
170
+ disabled: !o,
171
+ className: "w-full",
172
+ children: "Сбросить"
173
+ }
174
+ ) })
175
+ ] })
176
+ ]
177
+ }
178
+ ) : /* @__PURE__ */ d(
179
+ q,
180
+ {
181
+ open: r,
182
+ onOpenChange: i ? void 0 : g,
183
+ children: [
184
+ /* @__PURE__ */ t(A, { asChild: !0, children: /* @__PURE__ */ t(
185
+ u,
186
+ {
187
+ variant: "dashed",
188
+ disabled: i,
189
+ iconPosition: "end",
190
+ size: l,
191
+ className: a(
192
+ "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
193
+ O(),
194
+ l === "lg" ? "px-3" : "px-2.5",
195
+ {
196
+ "shadow-focus border-primary border-1 border-solid": r
197
+ },
198
+ {
199
+ "shadow-error border-destructive border-1 border-solid": e != null && r
200
+ },
201
+ {
202
+ "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": e != null
203
+ },
204
+ e != null ? "hover:text-destructive" : ""
205
+ ),
206
+ "data-testid": k,
207
+ children: /* @__PURE__ */ d("div", { className: "flex w-full items-center", children: [
208
+ /* @__PURE__ */ t(
209
+ "div",
210
+ {
211
+ className: a(
212
+ "flex-1",
213
+ o ? "text-foreground" : "text-muted-foreground",
214
+ r && !i && "!text-default"
215
+ ),
216
+ children: o ? I(o, "dd.MM.yyyy", { locale: p }) : b
217
+ }
218
+ ),
219
+ /* @__PURE__ */ d("div", { className: "flex items-center gap-1.5", children: [
220
+ /* @__PURE__ */ t(
221
+ m,
222
+ {
223
+ className: a(
224
+ "group-focus-within:text-foreground text-muted-foreground transition-colors",
225
+ i && "text-muted-foreground",
226
+ r && !i && e == null && "!text-default",
227
+ o && !i && e == null && "text-default",
228
+ e != null && "!group-focus-within:!text-destructive !text-destructive"
229
+ ),
230
+ icon: "CalendarIcon",
231
+ size: 16
232
+ }
233
+ ),
234
+ e && /* @__PURE__ */ t(
235
+ m,
236
+ {
237
+ icon: "ErrorFillIcon",
238
+ className: "text-destructive",
239
+ size: 16
240
+ }
241
+ )
242
+ ] })
243
+ ] })
244
+ }
245
+ ) }),
246
+ /* @__PURE__ */ d(
247
+ G,
248
+ {
249
+ className: "w-auto rounded-xl p-0 shadow-[0_2px_10px_rgba(0,0,0,0.1)]",
250
+ align: "start",
251
+ sideOffset: 4,
252
+ children: [
253
+ /* @__PURE__ */ t(
254
+ _,
255
+ {
256
+ mode: "single",
257
+ selected: o,
258
+ onSelect: P,
259
+ initialFocus: !0,
260
+ locale: p,
261
+ className: "font-graphik",
262
+ disabled: C
263
+ }
264
+ ),
265
+ y && /* @__PURE__ */ t("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ t(
266
+ u,
267
+ {
268
+ onClick: j,
269
+ variant: "text",
270
+ size: "sm",
271
+ className: "w-full",
272
+ disabled: !o,
273
+ children: "Сбросить"
274
+ }
275
+ ) })
276
+ ]
277
+ }
278
+ )
279
+ ]
280
+ }
281
+ ),
282
+ N && !e && /* @__PURE__ */ t(c, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: N }),
283
+ e && /* @__PURE__ */ t(c, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: e })
284
+ ] });
285
+ }
286
+ export {
287
+ we as DatePicker
288
+ };
@@ -0,0 +1,25 @@
1
+ const e = {
2
+ ru: {
3
+ selectPeriod: "Выберите период",
4
+ reset: "Сбросить",
5
+ placeholder: "дд.мм.гггг"
6
+ },
7
+ en: {
8
+ selectPeriod: "Select period",
9
+ reset: "Reset",
10
+ placeholder: "dd.mm.yyyy"
11
+ },
12
+ uz: {
13
+ selectPeriod: "Davrni tanlang",
14
+ reset: "Tozalash",
15
+ placeholder: "кк.оо.йййй"
16
+ },
17
+ tg: {
18
+ selectPeriod: "Давраро интихоб кунед",
19
+ reset: "Тоза кардан",
20
+ placeholder: "рр.мм.сссс"
21
+ }
22
+ };
23
+ export {
24
+ e as translations
25
+ };
@@ -0,0 +1,116 @@
1
+ var u = Object.defineProperty, m = Object.defineProperties;
2
+ var o = Object.getOwnPropertyDescriptors;
3
+ var h = Object.getOwnPropertySymbols;
4
+ var b = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
5
+ var y = (r, a, t) => a in r ? u(r, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[a] = t, e = (r, a) => {
6
+ for (var t in a || (a = {}))
7
+ b.call(a, t) && y(r, t, a[t]);
8
+ if (h)
9
+ for (var t of h(a))
10
+ c.call(a, t) && y(r, t, a[t]);
11
+ return r;
12
+ }, d = (r, a) => m(r, o(a));
13
+ import { r as n } from "../../../chunks/ru-CUCVR8Pn.js";
14
+ const i = [
15
+ "Yanvar",
16
+ "Fevral",
17
+ "Mart",
18
+ "Aprel",
19
+ "May",
20
+ "Iyun",
21
+ "Iyul",
22
+ "Avgust",
23
+ "Sentabr",
24
+ "Oktabr",
25
+ "Noyabr",
26
+ "Dekabr"
27
+ ], g = [
28
+ "Yan",
29
+ "Fev",
30
+ "Mar",
31
+ "Apr",
32
+ "May",
33
+ "Iyn",
34
+ "Iyl",
35
+ "Avg",
36
+ "Sen",
37
+ "Okt",
38
+ "Noy",
39
+ "Dek"
40
+ ], s = [
41
+ "Yakshanba",
42
+ "Dushanba",
43
+ "Seshanba",
44
+ "Chorshanba",
45
+ "Payshanba",
46
+ "Juma",
47
+ "Shanba"
48
+ ], w = ["Yak", "Dush", "Sesh", "Chor", "Pay", "Jum", "Shan"], M = [
49
+ "Январ",
50
+ "Феврал",
51
+ "Март",
52
+ "Апрел",
53
+ "Май",
54
+ "Июн",
55
+ "Июл",
56
+ "Август",
57
+ "Сентябр",
58
+ "Октябр",
59
+ "Ноябр",
60
+ "Декабр"
61
+ ], l = [
62
+ "Янв",
63
+ "Фев",
64
+ "Мар",
65
+ "Апр",
66
+ "Май",
67
+ "Июн",
68
+ "Июл",
69
+ "Авг",
70
+ "Сен",
71
+ "Окт",
72
+ "Ноя",
73
+ "Дек"
74
+ ], S = [
75
+ "Якшанбе",
76
+ "Душанбе",
77
+ "Сешанбе",
78
+ "Чоршанбе",
79
+ "Панҷшанбе",
80
+ "Ҷумъа",
81
+ "Шанбе"
82
+ ], k = ["Якш", "Душ", "Сеш", "Чор", "Пан", "Ҷум", "Шан"], v = d(e({}, n), {
83
+ code: "uz",
84
+ localize: d(e({}, n.localize), {
85
+ month: (r, a) => ((a == null ? void 0 : a.width) || "wide") === "abbreviated" ? g[r] : i[r],
86
+ day: (r, a) => {
87
+ const t = (a == null ? void 0 : a.width) || "wide";
88
+ return t === "short" || t === "abbreviated" || t === "narrow" ? w[r] : s[r];
89
+ },
90
+ ordinalNumber: (r) => String(r)
91
+ }),
92
+ formatLong: d(e({}, n.formatLong), {
93
+ date: () => "dd.MM.yyyy",
94
+ time: () => "HH:mm",
95
+ dateTime: () => "dd.MM.yyyy HH:mm"
96
+ })
97
+ }), H = d(e({}, n), {
98
+ code: "tg",
99
+ localize: d(e({}, n.localize), {
100
+ month: (r, a) => ((a == null ? void 0 : a.width) || "wide") === "abbreviated" ? l[r] : M[r],
101
+ day: (r, a) => {
102
+ const t = (a == null ? void 0 : a.width) || "wide";
103
+ return t === "short" || t === "abbreviated" || t === "narrow" ? k[r] : S[r];
104
+ },
105
+ ordinalNumber: (r) => String(r)
106
+ }),
107
+ formatLong: d(e({}, n.formatLong), {
108
+ date: () => "dd.MM.yyyy",
109
+ time: () => "HH:mm",
110
+ dateTime: () => "dd.MM.yyyy HH:mm"
111
+ })
112
+ });
113
+ export {
114
+ H as tg,
115
+ v as uz
116
+ };