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,163 @@
1
+ var P = Object.defineProperty, j = Object.defineProperties;
2
+ var K = Object.getOwnPropertyDescriptors;
3
+ var p = Object.getOwnPropertySymbols;
4
+ var O = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
+ var w = (e, t, n) => t in e ? P(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, B = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ O.call(t, n) && w(e, n, t[n]);
8
+ if (p)
9
+ for (var n of p(t))
10
+ R.call(t, n) && w(e, n, t[n]);
11
+ return e;
12
+ }, N = (e, t) => j(e, K(t));
13
+ var k = (e, t) => {
14
+ var n = {};
15
+ for (var a in e)
16
+ O.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
17
+ if (e != null && p)
18
+ for (var a of p(e))
19
+ t.indexOf(a) < 0 && R.call(e, a) && (n[a] = e[a]);
20
+ return n;
21
+ };
22
+ import { jsxs as H, jsx as x } from "react/jsx-runtime";
23
+ import { useRef as C, useCallback as E, useEffect as T } from "react";
24
+ import { B as F } from "../../../chunks/uploader-BN38rjbw.js";
25
+ import { CalendarDayCard as V } from "./calendar-day-card.js";
26
+ import { CARD_WIDTH as d, SCROLL_WEEK_SIZE as Y, MOBILE_BREAKPOINT as Z } from "./constants.js";
27
+ import { useScheduleCalendar as q } from "./use-schedule-calendar.js";
28
+ import { startOfDay as M } from "./utils.js";
29
+ const ne = (G) => {
30
+ var L = G, {
31
+ onChange: e,
32
+ dayClassName: t,
33
+ renderBadge: n,
34
+ showArrows: a = !0,
35
+ onVisibleMonthsChange: z,
36
+ scrollTrigger: u,
37
+ onScrollComplete: D,
38
+ testIds: f
39
+ } = L, W = k(L, [
40
+ "onChange",
41
+ "dayClassName",
42
+ "renderBadge",
43
+ "showArrows",
44
+ "onVisibleMonthsChange",
45
+ "scrollTrigger",
46
+ "onScrollComplete",
47
+ "testIds"
48
+ ]);
49
+ const { days: o, selectedDate: S, setSelectedDate: A } = q(N(B({}, W), {
50
+ onChange: e
51
+ })), i = C(null), b = E((r) => {
52
+ const c = i.current;
53
+ if (c) {
54
+ const m = Y * d;
55
+ c.scrollBy({ left: r > 0 ? m : -546, behavior: "smooth" });
56
+ }
57
+ }, []), _ = (r) => r.getTime() === S.getTime(), v = E((r, c = !1) => {
58
+ if (i.current && o.length > 0) {
59
+ const m = o.findIndex((s) => s.getTime() === M(r).getTime());
60
+ if (m !== -1) {
61
+ const s = i.current.offsetWidth, h = window.innerWidth < Z ? m * d : m * d - s / 2 + d / 2;
62
+ c ? i.current.scrollTo({ left: Math.max(0, h), behavior: "smooth" }) : i.current.scrollLeft = Math.max(0, h);
63
+ }
64
+ }
65
+ }, [o]);
66
+ T(() => {
67
+ if (o.length > 0) {
68
+ const r = M(/* @__PURE__ */ new Date());
69
+ v(r);
70
+ }
71
+ }, []), T(() => {
72
+ if (u && o.length > 0 && i.current) {
73
+ const r = setTimeout(() => {
74
+ var c;
75
+ if (u.mode === "date")
76
+ v(u.date, !0);
77
+ else {
78
+ const m = M(new Date(
79
+ u.date.getFullYear(),
80
+ u.date.getMonth(),
81
+ 1
82
+ )), s = o.findIndex((l) => l.getTime() === m.getTime());
83
+ if (s !== -1) {
84
+ const l = s * d;
85
+ (c = i.current) == null || c.scrollTo({ left: Math.max(0, l), behavior: "smooth" });
86
+ }
87
+ }
88
+ setTimeout(() => {
89
+ D == null || D();
90
+ }, 500);
91
+ }, 50);
92
+ return () => clearTimeout(r);
93
+ }
94
+ }, [u, o, D, v]);
95
+ const g = C([]);
96
+ return T(() => {
97
+ if (i.current && o.length > 0 && g.current.length > 0) {
98
+ const c = g.current[0], m = o[0], s = o.findIndex((l) => l.getTime() === c.getTime());
99
+ if (s > 0)
100
+ i.current.scrollLeft += s * d;
101
+ else if (s === -1) {
102
+ const l = c.getTime(), h = m.getTime();
103
+ if (h < l) {
104
+ const y = Math.round((l - h) / 864e5);
105
+ i.current.scrollLeft += y * d;
106
+ } else {
107
+ const y = Math.round((h - l) / 864e5);
108
+ i.current.scrollLeft = Math.max(0, i.current.scrollLeft - y * d);
109
+ }
110
+ }
111
+ }
112
+ g.current = [...o];
113
+ }, [o]), /* @__PURE__ */ H("div", { className: "flex items-center gap-2.5", children: [
114
+ a && /* @__PURE__ */ x(
115
+ F,
116
+ {
117
+ icon: "ArrowLeftIcon",
118
+ variant: "text",
119
+ iconOnly: !0,
120
+ onClick: () => b(-1),
121
+ className: "hidden shrink-0 md:flex",
122
+ "data-testid": f == null ? void 0 : f.scrollLeftButton
123
+ }
124
+ ),
125
+ /* @__PURE__ */ x(
126
+ "div",
127
+ {
128
+ className: "overflow-x-auto md:overflow-x-hidden md:rounded-xl -mx-4 md:mx-0",
129
+ ref: i,
130
+ style: {
131
+ scrollbarWidth: "none",
132
+ msOverflowStyle: "none"
133
+ },
134
+ children: /* @__PURE__ */ x("div", { className: "flex gap-2 pb-1 px-4 md:px-4", "data-testid": f == null ? void 0 : f.calendarStrip, children: o.map((r) => /* @__PURE__ */ x(
135
+ V,
136
+ {
137
+ date: r,
138
+ selected: _(r),
139
+ onClick: () => A(r),
140
+ renderBadge: n,
141
+ className: t
142
+ },
143
+ r.toISOString()
144
+ )) })
145
+ }
146
+ ),
147
+ a && /* @__PURE__ */ x(
148
+ F,
149
+ {
150
+ icon: "ArrowRightIcon",
151
+ variant: "text",
152
+ iconOnly: !0,
153
+ onClick: () => b(1),
154
+ className: "hidden shrink-0 md:flex",
155
+ "data-testid": f == null ? void 0 : f.scrollRightButton
156
+ }
157
+ )
158
+ ] });
159
+ };
160
+ export {
161
+ ne as CalendarStrip,
162
+ ne as default
163
+ };
@@ -0,0 +1,66 @@
1
+ import { jsxs as D, jsx as o } from "react/jsx-runtime";
2
+ import { useState as y, useEffect as T, useMemo as d } from "react";
3
+ import { S as _, U as j, V as z, X as F, H, K as L } from "../../../chunks/uploader-BN38rjbw.js";
4
+ import { c as Y } from "../../../chunks/utils-TbLXCoKm.js";
5
+ import { formatMonthLong as f, getThreeMonthsAround as A } from "./utils.js";
6
+ import { a as E, f as K } from "../../../chunks/format-DoKcg9cH.js";
7
+ function S(n) {
8
+ return K(n, "yyyy-MM-dd");
9
+ }
10
+ const C = ({
11
+ anchorDate: n,
12
+ onChange: s,
13
+ onMonthsChange: m,
14
+ months: a,
15
+ className: p,
16
+ testIds: c
17
+ }) => {
18
+ const u = /* @__PURE__ */ new Date(), v = n || u, [l, g] = y(v), [i, M] = y("");
19
+ T(() => {
20
+ n && g(n);
21
+ }, [n]);
22
+ const h = d(() => {
23
+ const e = [];
24
+ for (let t = -12; t <= 12; t++) {
25
+ const r = E(new Date(u.getFullYear(), u.getMonth(), 1), t);
26
+ e.push({ value: S(r), label: f(r), date: r });
27
+ }
28
+ return e;
29
+ }, []), w = d(() => {
30
+ if (i)
31
+ return i;
32
+ const e = new Date(l.getFullYear(), l.getMonth(), 1);
33
+ return S(e);
34
+ }, [l, i]), x = (e) => {
35
+ const t = h.find((b) => b.value === e);
36
+ if (!t)
37
+ return;
38
+ M(e);
39
+ const r = t.date;
40
+ g(r), m && m(A(r)), s == null || s(r);
41
+ }, V = d(() => {
42
+ if (a && a.length > 0) {
43
+ const e = Math.floor(a.length / 2), t = a[e], r = new Date(t.year, t.month, 1);
44
+ return f(r);
45
+ }
46
+ return f(l);
47
+ }, [a, l]);
48
+ return /* @__PURE__ */ D(_, { value: w, onValueChange: x, children: [
49
+ /* @__PURE__ */ o(
50
+ j,
51
+ {
52
+ className: Y("[&_svg]:h-6 [&_svg]:w-6 [&_svg]:text-secondary", p),
53
+ size: "lg",
54
+ transparent: !0,
55
+ inlineSelect: !0,
56
+ "data-testid": c == null ? void 0 : c.periodSelector,
57
+ children: /* @__PURE__ */ o(z, { children: /* @__PURE__ */ o(F, { variant: "h1", weight: "normal", children: V }) })
58
+ }
59
+ ),
60
+ /* @__PURE__ */ o(H, { size: "lg", children: h.map((e) => /* @__PURE__ */ o(L, { value: e.value, children: e.label }, e.value)) })
61
+ ] });
62
+ };
63
+ export {
64
+ C as ScheduleHeader,
65
+ C as default
66
+ };
@@ -0,0 +1,44 @@
1
+ import { useRef as m, useState as l, useMemo as d, useEffect as S } from "react";
2
+ function c(e) {
3
+ const t = new Date(e);
4
+ return t.setHours(0, 0, 0, 0), t;
5
+ }
6
+ function g(e, t) {
7
+ return new Date(e, t + 1, 0).getDate();
8
+ }
9
+ function h(e) {
10
+ const t = [];
11
+ for (const n of e) {
12
+ const o = g(n.year, n.month);
13
+ for (let r = 1; r <= o; r++)
14
+ t.push(c(new Date(n.year, n.month, r)));
15
+ }
16
+ return t;
17
+ }
18
+ function x({
19
+ value: e,
20
+ defaultValue: t,
21
+ months: n,
22
+ onChange: o
23
+ }) {
24
+ const r = m(c(/* @__PURE__ */ new Date())), y = c(e || t || r.current), [u, a] = l(y), f = d(() => {
25
+ if (n && n.length > 0)
26
+ return n;
27
+ const s = r.current;
28
+ return [{ year: s.getFullYear(), month: s.getMonth() }];
29
+ }, [n]), i = d(() => h(f), [f]);
30
+ return S(() => {
31
+ const s = c(e || t || r.current);
32
+ s.getTime() !== u.getTime() && a(s);
33
+ }, [e, t]), {
34
+ selectedDate: u,
35
+ days: i,
36
+ setSelectedDate: (s) => {
37
+ const D = c(s);
38
+ a(D), o == null || o(D);
39
+ }
40
+ };
41
+ }
42
+ export {
43
+ x as useScheduleCalendar
44
+ };
@@ -0,0 +1,45 @@
1
+ import R, { useState as n, useEffect as D, useCallback as o } from "react";
2
+ import { getThreeMonthsAround as a } from "./utils.js";
3
+ function J({
4
+ value: r,
5
+ defaultValue: S,
6
+ onChange: e
7
+ } = {}) {
8
+ const c = r || S || /* @__PURE__ */ new Date(), [y, i] = n(c), [d, l] = n(
9
+ () => a(c)
10
+ ), [T, f] = n(), u = R.useRef(!1);
11
+ D(() => {
12
+ u.current || (e == null || e(c), u.current = !0);
13
+ }, [e, c]), D(() => {
14
+ r && i(r);
15
+ }, [r]);
16
+ const p = o((t) => {
17
+ i(t);
18
+ const s = a(t);
19
+ JSON.stringify(d) !== JSON.stringify(s) && l(s), e == null || e(t);
20
+ }, [e, d]), M = o((t) => {
21
+ if (l(t), t.length > 0) {
22
+ const s = Math.floor(t.length / 2), m = t[s], O = new Date(m.year, m.month, 1);
23
+ f({ date: O, timestamp: Date.now(), mode: "monthStart" });
24
+ }
25
+ }, []), h = o(() => {
26
+ f(void 0);
27
+ }, []), w = o(() => {
28
+ const t = /* @__PURE__ */ new Date();
29
+ i(t);
30
+ const s = a(t);
31
+ l(s), f({ date: t, timestamp: Date.now(), mode: "date" }), e == null || e(t);
32
+ }, [e]);
33
+ return {
34
+ selectedDate: y,
35
+ months: d,
36
+ handleDateChange: p,
37
+ handleMonthsChange: M,
38
+ scrollTrigger: T,
39
+ clearScrollTrigger: h,
40
+ resetToToday: w
41
+ };
42
+ }
43
+ export {
44
+ J as useScheduleSync
45
+ };
@@ -0,0 +1,49 @@
1
+ import { f as u, a as o, s } from "../../../chunks/format-DoKcg9cH.js";
2
+ import { r as h } from "../../../chunks/ru-CUCVR8Pn.js";
3
+ function g(t) {
4
+ const n = u(t, "EEEEEE", { locale: h });
5
+ return n.charAt(0).toUpperCase() + n.slice(1);
6
+ }
7
+ function a(t) {
8
+ return s(t);
9
+ }
10
+ function m(t) {
11
+ return u(t, "LLLL yyyy", { locale: h });
12
+ }
13
+ const c = [
14
+ "января",
15
+ "февраля",
16
+ "марта",
17
+ "апреля",
18
+ "мая",
19
+ "июня",
20
+ "июля",
21
+ "августа",
22
+ "сентября",
23
+ "октября",
24
+ "ноября",
25
+ "декабря"
26
+ ];
27
+ function M(t) {
28
+ return c[t.getMonth()];
29
+ }
30
+ function i(t) {
31
+ const [n, e, r] = t.split("-").map(Number);
32
+ return new Date(n, e - 1, r);
33
+ }
34
+ function y(t) {
35
+ const n = o(a(new Date(t.getFullYear(), t.getMonth(), 1)), -1), e = a(new Date(t.getFullYear(), t.getMonth(), 1)), r = o(e, 1);
36
+ return [
37
+ { year: n.getFullYear(), month: n.getMonth() },
38
+ { year: e.getFullYear(), month: e.getMonth() },
39
+ { year: r.getFullYear(), month: r.getMonth() }
40
+ ];
41
+ }
42
+ export {
43
+ M as formatMonthGenitive,
44
+ m as formatMonthLong,
45
+ g as formatWeekdayShort,
46
+ y as getThreeMonthsAround,
47
+ i as parseDateString,
48
+ a as startOfDay
49
+ };
@@ -0,0 +1,7 @@
1
+ import "react/jsx-runtime";
2
+ import { S as m, a as p } from "../../chunks/scroll-area-TRRhxrjX.js";
3
+ import "../../chunks/utils-TbLXCoKm.js";
4
+ export {
5
+ m as ScrollArea,
6
+ p as ScrollBar
7
+ };