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.
- package/README.md +146 -0
- package/dist/chunks/accept-icon-X_bMUe5T.js +17 -0
- package/dist/chunks/account-balance-icon-CKxx1j3X.js +17 -0
- package/dist/chunks/add-circle-icon-D3XpY2oT.js +17 -0
- package/dist/chunks/add-icon-CZXR66VL.js +17 -0
- package/dist/chunks/alfa-icon-Cx0WqCux.js +17 -0
- package/dist/chunks/android-icon-6SCGu50U.js +17 -0
- package/dist/chunks/apple-icon-yya6O1xg.js +17 -0
- package/dist/chunks/arrow-back-icon-C_VwBDNK.js +17 -0
- package/dist/chunks/arrow-back-ios-icon-CB5K_mmJ.js +17 -0
- package/dist/chunks/arrow-down-icon-DFvg75P7.js +17 -0
- package/dist/chunks/arrow-forward-icon-BI4dm_L2.js +17 -0
- package/dist/chunks/arrow-left-icon-8yWT42A8.js +17 -0
- package/dist/chunks/arrow-right-icon-Bnx7GHux.js +17 -0
- package/dist/chunks/arrow-up-icon-DU7VVzN8.js +17 -0
- package/dist/chunks/attach-file-icon-OrT7tthI.js +17 -0
- package/dist/chunks/autorenew-icon-B0bI6Xt-.js +17 -0
- package/dist/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
- package/dist/chunks/bill-error-icon-q8_KROAY.js +17 -0
- package/dist/chunks/bill-icon-Cw2GE_VB.js +17 -0
- package/dist/chunks/bill-in-progress-icon-BTsO5Mh5.js +17 -0
- package/dist/chunks/bill-warning-icon-3Y-dONd_.js +17 -0
- package/dist/chunks/bills-error-icon-CcDGUJrx.js +17 -0
- package/dist/chunks/bills-icon-BU_adAs0.js +17 -0
- package/dist/chunks/bills-in-progress-icon-RVEtPz7l.js +17 -0
- package/dist/chunks/bills-warning-icon-CNgWvumi.js +17 -0
- package/dist/chunks/block-icon-DGlp9c33.js +17 -0
- package/dist/chunks/bolt-fill-icon-DZjyKq8N.js +17 -0
- package/dist/chunks/bolt-icon-CJsvLlL-.js +17 -0
- package/dist/chunks/book-icon-BdaCKIQB.js +17 -0
- package/dist/chunks/business-center-icon-C5X-e-6I.js +17 -0
- package/dist/chunks/calendar-icon-B1cogiSd.js +17 -0
- package/dist/chunks/call-icon-DslHaQOP.js +17 -0
- package/dist/chunks/cancel-fill-DPYenlCk.js +17 -0
- package/dist/chunks/check-circle-fill-ne1MhahL.js +17 -0
- package/dist/chunks/check-circle-icon-BWhJprgU.js +17 -0
- package/dist/chunks/close-icon-CtbXesC0.js +17 -0
- package/dist/chunks/clsx-OuTLNxxd.js +16 -0
- package/dist/chunks/combobox-primitive-context-B_ldR_VA.js +4030 -0
- package/dist/chunks/cookie-DJ-U7h-A.js +17 -0
- package/dist/chunks/copy-icon-BWyncDVB.js +17 -0
- package/dist/chunks/credit-card-icon-DS1ckDU7.js +17 -0
- package/dist/chunks/delete-icon-Bk1ZmhBo.js +17 -0
- package/dist/chunks/document-icon-DcmQhRhY.js +17 -0
- package/dist/chunks/done-icon-BZEAL7mI.js +17 -0
- package/dist/chunks/download-icon-BvWPcT7W.js +17 -0
- package/dist/chunks/edit-icon-_3venQRC.js +17 -0
- package/dist/chunks/embla-carousel-react.esm-ZaRSnfTq.js +1252 -0
- package/dist/chunks/error-fill-icon--8j3Zcfq.js +17 -0
- package/dist/chunks/error-icon-BJWk5B-s.js +17 -0
- package/dist/chunks/error-icon-CgJ3zr06.js +17 -0
- package/dist/chunks/europa-icon-DbElF2Uc.js +17 -0
- package/dist/chunks/failed-icon-YP2jq4UN.js +17 -0
- package/dist/chunks/file-error-icon-630wBy1K.js +17 -0
- package/dist/chunks/file-success-icon-BTk5SYAM.js +17 -0
- package/dist/chunks/filter-icon-D_3_SQsN.js +17 -0
- package/dist/chunks/flag-icon-DmWEp4ya.js +17 -0
- package/dist/chunks/format-DoKcg9cH.js +1223 -0
- package/dist/chunks/full-screen-exit-icon-BHwq-9P-.js +17 -0
- package/dist/chunks/full-screen-icon-Dpl__xtk.js +17 -0
- package/dist/chunks/gazprom-icon-CRfKLTvP.js +17 -0
- package/dist/chunks/group-icon-BfSRHuvp.js +17 -0
- package/dist/chunks/help-icon-BMdlItds.js +17 -0
- package/dist/chunks/home-icon-Dc6LzbVw.js +17 -0
- package/dist/chunks/home-icon-Mag5Wxqq.js +17 -0
- package/dist/chunks/index-1Er1dKQf.js +13 -0
- package/dist/chunks/index-BJD1rYeT.js +57 -0
- package/dist/chunks/index-BO6p208a.js +48 -0
- package/dist/chunks/index-BZPx6jYI.js +8 -0
- package/dist/chunks/index-BxWD79NI.js +517 -0
- package/dist/chunks/index-ByaXH_ih.js +10 -0
- package/dist/chunks/index-CHDs-SiB.js +27 -0
- package/dist/chunks/index-CN5JEZ5H.js +79 -0
- package/dist/chunks/index-Ctjv6tIJ.js +1381 -0
- package/dist/chunks/index-DLcqcWxM.js +29 -0
- package/dist/chunks/index-DLeNytVF.js +9 -0
- package/dist/chunks/index-DYfkNB0n.js +54 -0
- package/dist/chunks/index-DuekHEmj.js +6 -0
- package/dist/chunks/index-DwYXX2sM.js +13 -0
- package/dist/chunks/index-E4d_Gd-w.js +91 -0
- package/dist/chunks/index-I8P2QgPV.js +258 -0
- package/dist/chunks/index-NPrw3_0K.js +14 -0
- package/dist/chunks/index-PsqJG3fE.js +75 -0
- package/dist/chunks/info-fill-icon-BzE09Xg8.js +17 -0
- package/dist/chunks/info-icon-BcUNe5kE.js +17 -0
- package/dist/chunks/inventory-icon-CFV8amBs.js +17 -0
- package/dist/chunks/link-icon-BUAymb0P.js +17 -0
- package/dist/chunks/list-icon-ChePCGxK.js +17 -0
- package/dist/chunks/location-icon-Bf9Wbg65.js +17 -0
- package/dist/chunks/logout-icon-DN86wp7N.js +17 -0
- package/dist/chunks/mail-icon-DCZPsZFE.js +17 -0
- package/dist/chunks/manage-accounts-icon-BkyuUTj3.js +17 -0
- package/dist/chunks/menu-icon-DWObHD95.js +17 -0
- package/dist/chunks/mkb-icon-CEkVt-7P.js +17 -0
- package/dist/chunks/more-horiz-icon-CSK7Ackl.js +17 -0
- package/dist/chunks/more-vert-icon-NA1tYTse.js +17 -0
- package/dist/chunks/mts-icon-Bq4YDYEy.js +17 -0
- package/dist/chunks/normal-icon-CYvIFN5j.js +17 -0
- package/dist/chunks/north-east-icon-Dh7-1BBW.js +17 -0
- package/dist/chunks/open-in-full-icon-DzhRd5Mx.js +17 -0
- package/dist/chunks/open-in-new-icon-A7MgnnyP.js +17 -0
- package/dist/chunks/otkritie-icon-yGwVocEY.js +17 -0
- package/dist/chunks/otp-icon-BQQXMe3b.js +17 -0
- package/dist/chunks/outgoing-main-icon-BAH2vddG.js +17 -0
- package/dist/chunks/page-info-icon-BiVNFu71.js +17 -0
- package/dist/chunks/passport-main-DNL65kJJ.js +17 -0
- package/dist/chunks/passport-registration-BGywpRar.js +17 -0
- package/dist/chunks/passport-selfie-Dsqd0uOf.js +17 -0
- package/dist/chunks/payment-icon-C-B7L4WP.js +17 -0
- package/dist/chunks/person-add-C-3pZhgM.js +17 -0
- package/dist/chunks/person-icon-Bo5NxPRQ.js +17 -0
- package/dist/chunks/person-search-icon-CwVm_XAL.js +17 -0
- package/dist/chunks/pincode-icon-BA-e4pBH.js +17 -0
- package/dist/chunks/play-icon-Bnj3hsIf.js +17 -0
- package/dist/chunks/popover-kFSgc5Lv.js +748 -0
- package/dist/chunks/progress-activity-icon-YbJGzvxH.js +17 -0
- package/dist/chunks/psb-icon-CxKzLVG5.js +17 -0
- package/dist/chunks/qiwi-icon-B795Q_fW.js +17 -0
- package/dist/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
- package/dist/chunks/refresh-icon-ac1oOwX8.js +17 -0
- package/dist/chunks/remove-icon-CTuoG0Vq.js +17 -0
- package/dist/chunks/ru-CUCVR8Pn.js +661 -0
- package/dist/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
- package/dist/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
- package/dist/chunks/save-icon-DnF5revo.js +17 -0
- package/dist/chunks/sber-icon-b7d9_o7J.js +17 -0
- package/dist/chunks/sberid-icon-DgQtjRjD.js +17 -0
- package/dist/chunks/scenario-icon-BcnFsqUA.js +17 -0
- package/dist/chunks/scroll-area-TRRhxrjX.js +629 -0
- package/dist/chunks/search-icon-CortrXrC.js +17 -0
- package/dist/chunks/segment-icon-Bzm7cziF.js +17 -0
- package/dist/chunks/send-icon-BTztERTu.js +17 -0
- package/dist/chunks/settings-icon-D_wgjUsM.js +17 -0
- package/dist/chunks/shield-icon-BwpxkU5E.js +17 -0
- package/dist/chunks/signed-icon-DTQlKmWU.js +17 -0
- package/dist/chunks/skb-icon-BgDQolTL.js +17 -0
- package/dist/chunks/sms-icon-4p-ON5VX.js +17 -0
- package/dist/chunks/support-icon-CBHKGKq8.js +17 -0
- package/dist/chunks/tbank-icon-ByKW0pBb.js +17 -0
- package/dist/chunks/telegramm-icon-C2ZR2jdg.js +17 -0
- package/dist/chunks/thumbs-up-icon-BArjyDfk.js +17 -0
- package/dist/chunks/time-icon-DsWMo47L.js +17 -0
- package/dist/chunks/tinkoffid-icon-C6lsspZk.js +19 -0
- package/dist/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
- package/dist/chunks/tooltip-BxRtZLBR.js +836 -0
- package/dist/chunks/trending-down-icon-DlHKI37F.js +17 -0
- package/dist/chunks/trending-up-icon-IEwGHi9c.js +17 -0
- package/dist/chunks/trust-icon-DcfUVGZ_.js +17 -0
- package/dist/chunks/tslib.es6-fInlAbov.js +27 -0
- package/dist/chunks/unfold-icon-S3J7xXHf.js +17 -0
- package/dist/chunks/uni-icon-gK006vr0.js +17 -0
- package/dist/chunks/upload-icon-CwzthQEL.js +17 -0
- package/dist/chunks/uploader-BN38rjbw.js +28387 -0
- package/dist/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
- package/dist/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
- package/dist/chunks/utils-TbLXCoKm.js +2752 -0
- package/dist/chunks/visibility-off-icon-BA_I97Vw.js +17 -0
- package/dist/chunks/visibility-on-icon-C9VmKsvX.js +17 -0
- package/dist/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
- package/dist/chunks/vtb-icon-BtfO1_Gx.js +17 -0
- package/dist/chunks/waiting-icon-lpQJA4wB.js +17 -0
- package/dist/chunks/wallet-icon-D0r9bDRg.js +17 -0
- package/dist/chunks/warning-icon-BmlgMY27.js +17 -0
- package/dist/chunks/work-icon-D7I-74Mk.js +17 -0
- package/dist/chunks/yandex-icon-CepqpI49.js +17 -0
- package/dist/chunks/zoom-in-icon-ZWEJANob.js +17 -0
- package/dist/chunks/zoom-out-icon-CeFz3G6V.js +17 -0
- package/dist/fonts/CoFoSansMono-Regular.otf +0 -0
- package/dist/fonts/Graphik-Bold.otf +0 -0
- package/dist/fonts/Graphik-Medium.otf +0 -0
- package/dist/fonts/Graphik-Regular.otf +0 -0
- package/dist/lib/icon/icon.js +38 -0
- package/dist/lib/icon/icons.js +353 -0
- package/dist/lib/icon/index.js +4 -0
- package/dist/lib/icon-banks/icon-banks.js +21 -0
- package/dist/lib/icon-banks/icons-banks.js +106 -0
- package/dist/lib/icon-banks/index.js +4 -0
- package/dist/lib/icon-documents/icon-document.js +26 -0
- package/dist/lib/icon-documents/icons-document.js +57 -0
- package/dist/lib/icon-documents/index.js +4 -0
- package/dist/lib/index.js +192 -0
- package/dist/lib/ui/accordion.js +474 -0
- package/dist/lib/ui/alert.js +8 -0
- package/dist/lib/ui/autocomplete.js +110 -0
- package/dist/lib/ui/avatar.js +333 -0
- package/dist/lib/ui/button.js +37 -0
- package/dist/lib/ui/calendar.js +121 -0
- package/dist/lib/ui/card.js +121 -0
- package/dist/lib/ui/carousel.js +55 -0
- package/dist/lib/ui/checkbox.js +363 -0
- package/dist/lib/ui/combobox-base/combobox-base.js +16 -0
- package/dist/lib/ui/combobox-base/index.js +4 -0
- package/dist/lib/ui/combobox-primitive/combobox-primitive-context.js +7 -0
- package/dist/lib/ui/combobox-primitive/components/Item.js +9 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +35 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-container.js +59 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-input.js +52 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-item-renderer.js +101 -0
- package/dist/lib/ui/combobox-primitive/components/combobox-menu.js +56 -0
- package/dist/lib/ui/combobox-primitive/components/index.js +18 -0
- package/dist/lib/ui/combobox-primitive/components/item-view.js +53 -0
- package/dist/lib/ui/combobox-primitive/components/list.js +9 -0
- package/dist/lib/ui/combobox-primitive/constants.js +129 -0
- package/dist/lib/ui/combobox-primitive/hooks.js +31 -0
- package/dist/lib/ui/combobox-primitive/index.js +21 -0
- package/dist/lib/ui/combobox-primitive/types.js +1 -0
- package/dist/lib/ui/combobox-primitive/utils.js +60 -0
- package/dist/lib/ui/combobox.js +9 -0
- package/dist/lib/ui/command.js +1016 -0
- package/dist/lib/ui/customizable-carousel.js +431 -0
- package/dist/lib/ui/date-picker.js +288 -0
- package/dist/lib/ui/date-range-picker/constants.js +25 -0
- package/dist/lib/ui/date-range-picker/locales.js +116 -0
- package/dist/lib/ui/date-range-picker.js +392 -0
- package/dist/lib/ui/dialog/dialog-base/dialog-base.js +9 -0
- package/dist/lib/ui/dialog/dialog-base/index.js +6 -0
- package/dist/lib/ui/dialog/dialog-base/use-base-dialog.js +57 -0
- package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +17 -0
- package/dist/lib/ui/dialog/dialog-primitive/index.js +4 -0
- package/dist/lib/ui/dialog/index.js +7 -0
- package/dist/lib/ui/dialog/utils.js +32 -0
- package/dist/lib/ui/divider.js +8 -0
- package/dist/lib/ui/dropdown.js +13 -0
- package/dist/lib/ui/input-number/index.js +4 -0
- package/dist/lib/ui/input-number/input-number.js +6 -0
- package/dist/lib/ui/input.js +12 -0
- package/dist/lib/ui/link.js +167 -0
- package/dist/lib/ui/masked-input.js +6 -0
- package/dist/lib/ui/modal.js +41 -0
- package/dist/lib/ui/otp-input.js +8 -0
- package/dist/lib/ui/phone-input/constants.js +21 -0
- package/dist/lib/ui/phone-input/locales/ru.json.js +277 -0
- package/dist/lib/ui/phone-input/locales/tg.json.js +263 -0
- package/dist/lib/ui/phone-input/locales/uz.json.js +263 -0
- package/dist/lib/ui/phone-input/phone-input-utils.js +15 -0
- package/dist/lib/ui/phone-input/phone-input.js +20 -0
- package/dist/lib/ui/phone-input/phone-mask.js +261 -0
- package/dist/lib/ui/popover.js +10 -0
- package/dist/lib/ui/progress.js +140 -0
- package/dist/lib/ui/radio.js +10 -0
- package/dist/lib/ui/schedule-calendar/calendar-day-card.js +37 -0
- package/dist/lib/ui/schedule-calendar/constants.js +6 -0
- package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +46 -0
- package/dist/lib/ui/schedule-calendar/embla-calendar-strip.js +52 -0
- package/dist/lib/ui/schedule-calendar/index.js +27 -0
- package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +163 -0
- package/dist/lib/ui/schedule-calendar/schedule-header.js +66 -0
- package/dist/lib/ui/schedule-calendar/use-schedule-calendar.js +44 -0
- package/dist/lib/ui/schedule-calendar/use-schedule-sync.js +45 -0
- package/dist/lib/ui/schedule-calendar/utils.js +49 -0
- package/dist/lib/ui/scroll-area.js +7 -0
- package/dist/lib/ui/segments.js +376 -0
- package/dist/lib/ui/select.js +18 -0
- package/dist/lib/ui/spinner.js +57 -0
- package/dist/lib/ui/stepper.js +70 -0
- package/dist/lib/ui/switch.js +281 -0
- package/dist/lib/ui/tabs.js +301 -0
- package/dist/lib/ui/tag.js +113 -0
- package/dist/lib/ui/textarea.js +8 -0
- package/dist/lib/ui/time-picker.js +130 -0
- package/dist/lib/ui/time-range-picker.js +198 -0
- package/dist/lib/ui/timeline.js +36 -0
- package/dist/lib/ui/toaster.js +1002 -0
- package/dist/lib/ui/tooltip.js +10 -0
- package/dist/lib/ui/typography.js +36 -0
- package/dist/lib/ui/uploader.js +10 -0
- package/dist/styles/konsolpro-custom-ui.css +1 -0
- package/dist/styles/variables.css +279 -0
- package/dist/types/components/icon/icon.d.ts +10 -0
- package/dist/types/components/icon/icons.d.ts +105 -0
- package/dist/types/components/icon/index.d.ts +3 -0
- package/dist/types/components/icon-banks/icon-banks.d.ts +7 -0
- package/dist/types/components/icon-banks/icons-banks.d.ts +28 -0
- package/dist/types/components/icon-banks/index.d.ts +3 -0
- package/dist/types/components/icon-documents/icon-document.d.ts +9 -0
- package/dist/types/components/icon-documents/icons-document.d.ts +13 -0
- package/dist/types/components/icon-documents/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +49 -0
- package/dist/types/components/ui/accordion.d.ts +13 -0
- package/dist/types/components/ui/alert.d.ts +16 -0
- package/dist/types/components/ui/autocomplete.d.ts +23 -0
- package/dist/types/components/ui/avatar.d.ts +27 -0
- package/dist/types/components/ui/button.d.ts +35 -0
- package/dist/types/components/ui/calendar.d.ts +4 -0
- package/dist/types/components/ui/card.d.ts +38 -0
- package/dist/types/components/ui/carousel.d.ts +11 -0
- package/dist/types/components/ui/checkbox.d.ts +26 -0
- package/dist/types/components/ui/combobox-base/combobox-base.d.ts +10 -0
- package/dist/types/components/ui/combobox-base/index.d.ts +1 -0
- package/dist/types/components/ui/combobox-primitive/combobox-primitive-context.d.ts +54 -0
- package/dist/types/components/ui/combobox-primitive/components/Item.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-actions.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-container.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-input.d.ts +5 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-item-renderer.d.ts +10 -0
- package/dist/types/components/ui/combobox-primitive/components/combobox-menu.d.ts +6 -0
- package/dist/types/components/ui/combobox-primitive/components/index.d.ts +8 -0
- package/dist/types/components/ui/combobox-primitive/components/item-view.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/components/list.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/constants.d.ts +47 -0
- package/dist/types/components/ui/combobox-primitive/hooks.d.ts +8 -0
- package/dist/types/components/ui/combobox-primitive/index.d.ts +3 -0
- package/dist/types/components/ui/combobox-primitive/types.d.ts +62 -0
- package/dist/types/components/ui/combobox-primitive/utils.d.ts +25 -0
- package/dist/types/components/ui/combobox.d.ts +34 -0
- package/dist/types/components/ui/command.d.ts +78 -0
- package/dist/types/components/ui/customizable-carousel.d.ts +148 -0
- package/dist/types/components/ui/date-picker.d.ts +37 -0
- package/dist/types/components/ui/date-range-picker/constants.d.ts +22 -0
- package/dist/types/components/ui/date-range-picker/locales.d.ts +3 -0
- package/dist/types/components/ui/date-range-picker.d.ts +46 -0
- package/dist/types/components/ui/dialog/dialog-base/dialog-base.d.ts +41 -0
- package/dist/types/components/ui/dialog/dialog-base/index.d.ts +3 -0
- package/dist/types/components/ui/dialog/dialog-base/use-base-dialog.d.ts +35 -0
- package/dist/types/components/ui/dialog/dialog-primitive/dialog-primitive.d.ts +36 -0
- package/dist/types/components/ui/dialog/dialog-primitive/index.d.ts +2 -0
- package/dist/types/components/ui/dialog/index.d.ts +2 -0
- package/dist/types/components/ui/dialog/utils.d.ts +6 -0
- package/dist/types/components/ui/divider.d.ts +6 -0
- package/dist/types/components/ui/dropdown.d.ts +53 -0
- package/dist/types/components/ui/input-number/index.d.ts +2 -0
- package/dist/types/components/ui/input-number/input-number.d.ts +43 -0
- package/dist/types/components/ui/input.d.ts +58 -0
- package/dist/types/components/ui/link.d.ts +28 -0
- package/dist/types/components/ui/masked-input.d.ts +12 -0
- package/dist/types/components/ui/modal.d.ts +26 -0
- package/dist/types/components/ui/otp-input.d.ts +49 -0
- package/dist/types/components/ui/phone-input/constants.d.ts +18 -0
- package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +252 -0
- package/dist/types/components/ui/phone-input/locales/tg.json.d.ts +261 -0
- package/dist/types/components/ui/phone-input/locales/uz.json.d.ts +261 -0
- package/dist/types/components/ui/phone-input/phone-input-utils.d.ts +2 -0
- package/dist/types/components/ui/phone-input/phone-input.d.ts +24 -0
- package/dist/types/components/ui/phone-input/phone-mask.d.ts +233 -0
- package/dist/types/components/ui/popover.d.ts +7 -0
- package/dist/types/components/ui/progress.d.ts +4 -0
- package/dist/types/components/ui/radio.d.ts +37 -0
- package/dist/types/components/ui/schedule-calendar/calendar-day-card.d.ts +9 -0
- package/dist/types/components/ui/schedule-calendar/constants.d.ts +3 -0
- package/dist/types/components/ui/schedule-calendar/embla-calendar-card.d.ts +9 -0
- package/dist/types/components/ui/schedule-calendar/embla-calendar-strip.d.ts +14 -0
- package/dist/types/components/ui/schedule-calendar/index.d.ts +16 -0
- package/dist/types/components/ui/schedule-calendar/schedule-calendar-strip.d.ts +36 -0
- package/dist/types/components/ui/schedule-calendar/schedule-header.d.ts +26 -0
- package/dist/types/components/ui/schedule-calendar/use-schedule-calendar.d.ts +27 -0
- package/dist/types/components/ui/schedule-calendar/use-schedule-sync.d.ts +39 -0
- package/dist/types/components/ui/schedule-calendar/utils.d.ts +12 -0
- package/dist/types/components/ui/scroll-area.d.ts +9 -0
- package/dist/types/components/ui/segments.d.ts +44 -0
- package/dist/types/components/ui/select.d.ts +95 -0
- package/dist/types/components/ui/spinner.d.ts +12 -0
- package/dist/types/components/ui/stepper.d.ts +11 -0
- package/dist/types/components/ui/switch.d.ts +24 -0
- package/dist/types/components/ui/tabs.d.ts +25 -0
- package/dist/types/components/ui/tag.d.ts +28 -0
- package/dist/types/components/ui/textarea.d.ts +17 -0
- package/dist/types/components/ui/time-picker.d.ts +15 -0
- package/dist/types/components/ui/time-range-picker.d.ts +26 -0
- package/dist/types/components/ui/timeline.d.ts +17 -0
- package/dist/types/components/ui/toaster.d.ts +45 -0
- package/dist/types/components/ui/tooltip.d.ts +8 -0
- package/dist/types/components/ui/typography.d.ts +25 -0
- package/dist/types/components/ui/uploader.d.ts +52 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/utils.d.ts +14 -0
- package/dist/types/main.d.ts +0 -0
- package/dist/types/utils/use-device-detector.d.ts +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +171 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
const M = {
|
|
2
|
+
AC: ["+247-####"],
|
|
3
|
+
AD: ["+376-###-###"],
|
|
4
|
+
AE: ["+\\971-##-###-####", "+\\971-#-###-####"],
|
|
5
|
+
AF: ["+\\93-##-###-####"],
|
|
6
|
+
AG: ["+1 (###) ###-####"],
|
|
7
|
+
AI: ["+1 (###) ###-####"],
|
|
8
|
+
AL: ["+355 (###) ###-###"],
|
|
9
|
+
AM: ["+374-##-###-###"],
|
|
10
|
+
AN: ["+5\\9\\9-###-####", "+5\\9\\9-####-####"],
|
|
11
|
+
AO: ["+244 (###) ###-###"],
|
|
12
|
+
AQ: ["+672-###-###"],
|
|
13
|
+
AR: ["+54 (###) ###-####", "+54 \\9 ### ###-####"],
|
|
14
|
+
AS: ["+1 (684) ###-####"],
|
|
15
|
+
AT: ["+43 (###) ###-#####"],
|
|
16
|
+
AU: ["+61-#-####-####"],
|
|
17
|
+
AW: ["+2\\97-###-####"],
|
|
18
|
+
AZ: ["+\\9\\94-##-###-##-##"],
|
|
19
|
+
BA: ["+387-##-#####", "+387-##-####"],
|
|
20
|
+
BB: ["+1 (###) ###-####"],
|
|
21
|
+
BD: ["+880-##-###-###"],
|
|
22
|
+
BE: ["+32 (###) ###-###"],
|
|
23
|
+
BF: ["+226-##-##-####"],
|
|
24
|
+
BG: ["+35\\9 (###) ###-###"],
|
|
25
|
+
BH: ["+\\973-####-####"],
|
|
26
|
+
BI: ["+257-##-##-####"],
|
|
27
|
+
BJ: ["+22\\9-##-##-####"],
|
|
28
|
+
BM: ["+1 (###) ###-####"],
|
|
29
|
+
BN: ["+673-###-####"],
|
|
30
|
+
BO: ["+5\\91-#-###-####"],
|
|
31
|
+
BR: ["+55 (##) ####-####", "+55 (##) #####-####"],
|
|
32
|
+
BS: ["+1 (###) ###-####"],
|
|
33
|
+
BT: ["+\\975-##-###-###", "+\\975-#-###-###"],
|
|
34
|
+
BW: ["+267-##-###-###"],
|
|
35
|
+
BY: ["+375 (##) ###-##-##"],
|
|
36
|
+
BZ: ["+501-###-####"],
|
|
37
|
+
CA: ["+1 (###) ###-####"],
|
|
38
|
+
CD: ["+243 (###) ###-###"],
|
|
39
|
+
CF: ["+236-##-##-####"],
|
|
40
|
+
CG: ["+242-##-###-####"],
|
|
41
|
+
CH: ["+41-##-###-####"],
|
|
42
|
+
CI: ["+225-##-###-###"],
|
|
43
|
+
CK: ["+682-##-###"],
|
|
44
|
+
CL: ["+56-#-####-####"],
|
|
45
|
+
CM: ["+237-####-####"],
|
|
46
|
+
CN: ["+86 (###) ####-####", "+86 (###) ####-###", "+86-##-#####-#####"],
|
|
47
|
+
CO: ["+57 (###) ###-####"],
|
|
48
|
+
CR: ["+506-####-####"],
|
|
49
|
+
CU: ["+53-#-###-####"],
|
|
50
|
+
CV: ["+238 (###) ##-##"],
|
|
51
|
+
CW: ["+5\\9\\9-###-####"],
|
|
52
|
+
CY: ["+357-##-###-###"],
|
|
53
|
+
CZ: ["+420 (###) ###-###"],
|
|
54
|
+
DE: [
|
|
55
|
+
"+4\\9 (####) ###-####",
|
|
56
|
+
"+4\\9 (###) ###-####",
|
|
57
|
+
"+4\\9 (###) ##-####",
|
|
58
|
+
"+4\\9 (###) ##-###",
|
|
59
|
+
"+4\\9 (###) ##-##",
|
|
60
|
+
"+4\\9-###-###"
|
|
61
|
+
],
|
|
62
|
+
DJ: ["+253-##-##-##-##"],
|
|
63
|
+
DK: ["+45-##-##-##-##"],
|
|
64
|
+
DM: ["+1 (###) ###-####"],
|
|
65
|
+
DO: ["+1 (###) ###-####"],
|
|
66
|
+
DZ: ["+213-##-###-####"],
|
|
67
|
+
EC: ["+5\\93-##-###-####", "+5\\93-#-###-####"],
|
|
68
|
+
EE: ["+372-####-####", "+372-###-####"],
|
|
69
|
+
EG: ["+20 (###) ###-####"],
|
|
70
|
+
ER: ["+2\\91-#-###-###"],
|
|
71
|
+
ES: ["+34 (###) ###-###"],
|
|
72
|
+
ET: ["+251-##-###-####"],
|
|
73
|
+
FI: ["+358 (###) ###-##-##"],
|
|
74
|
+
FJ: ["+67\\9-##-#####"],
|
|
75
|
+
FK: ["+500-#####"],
|
|
76
|
+
FM: ["+6\\91-###-####"],
|
|
77
|
+
FO: ["+2\\98-###-###"],
|
|
78
|
+
FR: ["+33 (###) ###-###"],
|
|
79
|
+
GA: ["+241-#-##-##-##"],
|
|
80
|
+
GD: ["+1 (473) ###-####"],
|
|
81
|
+
GE: ["+\\9\\95 (###) ###-###"],
|
|
82
|
+
GF: ["+5\\94-#####-####"],
|
|
83
|
+
GH: ["+233 (###) ###-###"],
|
|
84
|
+
GI: ["+350-###-#####"],
|
|
85
|
+
GL: ["+2\\9\\9-##-##-##"],
|
|
86
|
+
GM: ["+220 (###) ##-##"],
|
|
87
|
+
GN: ["+224-##-###-###"],
|
|
88
|
+
GQ: ["+240-##-###-####"],
|
|
89
|
+
GR: ["+30 (###) ###-####"],
|
|
90
|
+
GT: ["+502-#-###-####"],
|
|
91
|
+
GU: ["+1 (671) ###-####"],
|
|
92
|
+
GW: ["+245-#-######"],
|
|
93
|
+
GY: ["+5\\92-###-####"],
|
|
94
|
+
HK: ["+852-####-####"],
|
|
95
|
+
HN: ["+504-####-####"],
|
|
96
|
+
HR: ["+385-##-###-####"],
|
|
97
|
+
HT: ["+50\\9-##-##-####"],
|
|
98
|
+
HU: ["+36 (###) ###-###"],
|
|
99
|
+
ID: [
|
|
100
|
+
"+62 (###) ###-####",
|
|
101
|
+
"+62-##-###-##",
|
|
102
|
+
"+62-##-###-###",
|
|
103
|
+
"+62-##-###-####",
|
|
104
|
+
"+62 (###) ###-##-###"
|
|
105
|
+
],
|
|
106
|
+
IE: ["+353 (###) ###-###"],
|
|
107
|
+
IL: ["+\\972-##-###-####", "+\\972-#-###-####"],
|
|
108
|
+
IN: ["+\\91 (####) ###-###"],
|
|
109
|
+
IO: ["+246-###-####"],
|
|
110
|
+
IQ: ["+\\964 (###) ###-####"],
|
|
111
|
+
IR: ["+\\98 (###) ###-####"],
|
|
112
|
+
IS: ["+354-###-####"],
|
|
113
|
+
IT: ["+3\\9 (###) ####-###"],
|
|
114
|
+
JM: ["+1 (876) ###-####"],
|
|
115
|
+
JO: ["+\\962-#-####-####"],
|
|
116
|
+
JP: ["+81-##-####-####", "+81 (###) ###-###"],
|
|
117
|
+
KE: ["+254-###-######"],
|
|
118
|
+
KG: ["+\\9\\96 (###) ###-###"],
|
|
119
|
+
KH: ["+855-##-###-###"],
|
|
120
|
+
KI: ["+686-##-###"],
|
|
121
|
+
KM: ["+26\\9-##-#####"],
|
|
122
|
+
KN: ["+1 (86\\9) ###-####"],
|
|
123
|
+
KP: [
|
|
124
|
+
"+850-1\\91-###-####",
|
|
125
|
+
"+850-##-###-###",
|
|
126
|
+
"+850-###-####-###",
|
|
127
|
+
"+850-###-###",
|
|
128
|
+
"+850-####-####",
|
|
129
|
+
"+850-####-#############"
|
|
130
|
+
],
|
|
131
|
+
KR: ["+82-##-####-####"],
|
|
132
|
+
KW: ["+\\965-####-####"],
|
|
133
|
+
KY: ["+1 (345) ###-####"],
|
|
134
|
+
KZ: ["+7 (###) ###-##-##"],
|
|
135
|
+
LA: ["+856 (####) ###-###", "+856-##-###-###"],
|
|
136
|
+
LB: ["+\\961-##-###-###", "+\\961-#-###-###"],
|
|
137
|
+
LC: ["+1 (###) ###-####"],
|
|
138
|
+
LI: ["+423 (###) ###-####"],
|
|
139
|
+
LK: ["+\\94-##-###-####"],
|
|
140
|
+
LR: ["+231-##-###-###"],
|
|
141
|
+
LS: ["+266-#-###-####"],
|
|
142
|
+
LT: ["+370 (###) ##-###"],
|
|
143
|
+
LU: ["+352 (###) ###-###"],
|
|
144
|
+
LV: ["+371-##-###-###"],
|
|
145
|
+
LY: ["+218-##-###-###", "+218-##-###-####"],
|
|
146
|
+
MA: ["+212-##-####-###"],
|
|
147
|
+
MC: ["+377 (###) ###-###", "+377-##-###-###"],
|
|
148
|
+
MD: ["+373-####-####"],
|
|
149
|
+
ME: ["+382-##-###-###"],
|
|
150
|
+
MG: ["+261-##-##-#####"],
|
|
151
|
+
MH: ["+6\\92-###-####"],
|
|
152
|
+
MK: ["+38\\9-##-###-###"],
|
|
153
|
+
ML: ["+223-##-##-####"],
|
|
154
|
+
MM: ["+\\95-##-###-###", "+\\95-#-###-###", "+\\95-###-###"],
|
|
155
|
+
MN: ["+\\976-##-##-####"],
|
|
156
|
+
MO: ["+853-####-####"],
|
|
157
|
+
MP: ["+1 (###) ###-####"],
|
|
158
|
+
MQ: ["+5\\96 (###) ##-##-##"],
|
|
159
|
+
MR: ["+222-##-##-####"],
|
|
160
|
+
MS: ["+1 (###) ###-####"],
|
|
161
|
+
MT: ["+356-####-####"],
|
|
162
|
+
MU: ["+230-###-####"],
|
|
163
|
+
MV: ["+\\960-###-####"],
|
|
164
|
+
MW: ["+265-#-###-###", "+265-#-####-####"],
|
|
165
|
+
MX: ["+52 (###) ###-####", "+52-##-##-####"],
|
|
166
|
+
MY: ["+60-##-###-####", "+60-##-####-####", "+60-#-####-####"],
|
|
167
|
+
MZ: ["+258-##-###-####"],
|
|
168
|
+
NA: ["+264-##-###-####"],
|
|
169
|
+
NC: ["+687-##-####"],
|
|
170
|
+
NE: ["+227-##-##-####"],
|
|
171
|
+
NF: ["+672-3##-###"],
|
|
172
|
+
NG: [
|
|
173
|
+
"+234 (###) ###-####",
|
|
174
|
+
"+234-##-###-###",
|
|
175
|
+
"+234-##-###-##",
|
|
176
|
+
"+234 (###) ###-####"
|
|
177
|
+
],
|
|
178
|
+
NI: ["+505-####-####"],
|
|
179
|
+
NL: ["+31-##-###-####"],
|
|
180
|
+
NO: ["+47 (###) ##-###"],
|
|
181
|
+
NP: ["+\\977-##-###-###"],
|
|
182
|
+
NR: ["+674-###-####"],
|
|
183
|
+
NU: ["+683-####"],
|
|
184
|
+
NZ: ["+64 (###) ###-###", "+64-##-###-###", "+64 (###) ###-####"],
|
|
185
|
+
OM: ["+\\968-##-###-###"],
|
|
186
|
+
PA: ["+507-###-####"],
|
|
187
|
+
PE: ["+51 (###) ###-###"],
|
|
188
|
+
PF: ["+68\\9-##-##-##"],
|
|
189
|
+
PG: ["+675 (###) ##-###"],
|
|
190
|
+
PH: ["+63 (###) ###-####"],
|
|
191
|
+
PK: ["+\\92 (###) ###-####"],
|
|
192
|
+
PL: ["+48 (###) ###-###"],
|
|
193
|
+
PS: ["+\\970-##-###-####"],
|
|
194
|
+
PT: ["+351-##-###-####"],
|
|
195
|
+
PW: ["+680-###-####"],
|
|
196
|
+
PY: ["+5\\95 (###) ###-###"],
|
|
197
|
+
QA: ["+\\974-####-####"],
|
|
198
|
+
RE: ["+262-#####-####"],
|
|
199
|
+
RO: ["+40-##-###-####"],
|
|
200
|
+
RS: ["+381-##-###-####"],
|
|
201
|
+
RU: ["+7 (###) ###-##-##"],
|
|
202
|
+
RW: ["+250 (###) ###-###"],
|
|
203
|
+
SA: ["+\\966-#-####-####", "+\\966-#-###-####"],
|
|
204
|
+
SB: ["+677-###-####", "+677-#####"],
|
|
205
|
+
SC: ["+248-#-###-###"],
|
|
206
|
+
SD: ["+24\\9-##-###-####"],
|
|
207
|
+
SE: ["+46-##-###-####"],
|
|
208
|
+
SG: ["+65-####-####"],
|
|
209
|
+
SH: ["+2\\90-####"],
|
|
210
|
+
SI: ["+386-##-###-###"],
|
|
211
|
+
SK: ["+421 (###) ###-###"],
|
|
212
|
+
SL: ["+232-##-######"],
|
|
213
|
+
SM: ["+378-####-######"],
|
|
214
|
+
SN: ["+221-##-###-####"],
|
|
215
|
+
SO: ["+252-##-###-###", "+252-#-###-###", "+252-#-###-###"],
|
|
216
|
+
SR: ["+5\\97-###-####", "+5\\97-###-###"],
|
|
217
|
+
SS: ["+211-##-###-####"],
|
|
218
|
+
ST: ["+23\\9-##-#####"],
|
|
219
|
+
SV: ["+503-##-##-####"],
|
|
220
|
+
SX: ["+1 (721) ###-####"],
|
|
221
|
+
SY: ["+\\963-##-####-###"],
|
|
222
|
+
SZ: ["+268-##-##-####"],
|
|
223
|
+
TC: ["+1 (64\\9) ###-####"],
|
|
224
|
+
TD: ["+235-##-##-##-##"],
|
|
225
|
+
TG: ["+228-##-###-###"],
|
|
226
|
+
TH: ["+66-##-###-####", "+66-##-###-###"],
|
|
227
|
+
TJ: ["+\\9\\92-##-###-####"],
|
|
228
|
+
TK: ["+6\\90-####"],
|
|
229
|
+
TL: ["+670-###-####", "+670-###-#####"],
|
|
230
|
+
TM: ["+\\9\\93-#-###-####"],
|
|
231
|
+
TN: ["+216-##-###-###"],
|
|
232
|
+
TO: ["+676-#####"],
|
|
233
|
+
TR: ["+\\90 (###) ###-####"],
|
|
234
|
+
TT: ["+1 (868) ###-####"],
|
|
235
|
+
TV: ["+688-######", "+688-#####"],
|
|
236
|
+
TW: ["+886-#-####-####", "+886-####-####"],
|
|
237
|
+
TZ: ["+255-##-###-####"],
|
|
238
|
+
UA: ["+380 (##) ###-##-##"],
|
|
239
|
+
UG: ["+256 (###) ###-###"],
|
|
240
|
+
UK: ["+44-##-####-####"],
|
|
241
|
+
US: ["+1 (###) ###-####"],
|
|
242
|
+
UY: ["+5\\98-#-###-##-##"],
|
|
243
|
+
UZ: ["+\\9\\98-##-###-####"],
|
|
244
|
+
VA: ["+3\\9-6-6\\98-#####"],
|
|
245
|
+
VC: ["+1 (###) ###-####"],
|
|
246
|
+
VE: ["+58 (###) ###-####"],
|
|
247
|
+
VG: ["+1 (###) ###-####"],
|
|
248
|
+
VI: ["+1 (###) ###-####"],
|
|
249
|
+
VN: ["+84-##-####-###", "+84 (###) ####-###"],
|
|
250
|
+
VU: ["+678-##-#####", "+678-#####"],
|
|
251
|
+
WF: ["+681-##-####"],
|
|
252
|
+
WS: ["+685-##-####"],
|
|
253
|
+
YE: ["+\\967-###-###-###", "+\\967-#-###-###", "+\\967-##-###-###"],
|
|
254
|
+
ZA: ["+27-##-###-####"],
|
|
255
|
+
ZM: ["+260-##-###-####"],
|
|
256
|
+
ZW: ["+263-#-######"],
|
|
257
|
+
GB: ["+44-##-####-####"]
|
|
258
|
+
};
|
|
259
|
+
export {
|
|
260
|
+
M as PHONE_MASKS
|
|
261
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { P as a, a as P, b as i, c as m } from "../../chunks/popover-kFSgc5Lv.js";
|
|
4
|
+
import "../../chunks/utils-TbLXCoKm.js";
|
|
5
|
+
export {
|
|
6
|
+
a as Popover,
|
|
7
|
+
P as PopoverAnchor,
|
|
8
|
+
i as PopoverContent,
|
|
9
|
+
m as PopoverTrigger
|
|
10
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
var A = Object.defineProperty, C = Object.defineProperties;
|
|
2
|
+
var S = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var d = Object.getOwnPropertySymbols;
|
|
4
|
+
var b = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var x = (r, e, a) => e in r ? A(r, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[e] = a, c = (r, e) => {
|
|
6
|
+
for (var a in e || (e = {}))
|
|
7
|
+
b.call(e, a) && x(r, a, e[a]);
|
|
8
|
+
if (d)
|
|
9
|
+
for (var a of d(e))
|
|
10
|
+
N.call(e, a) && x(r, a, e[a]);
|
|
11
|
+
return r;
|
|
12
|
+
}, p = (r, e) => C(r, S(e));
|
|
13
|
+
var m = (r, e) => {
|
|
14
|
+
var a = {};
|
|
15
|
+
for (var o in r)
|
|
16
|
+
b.call(r, o) && e.indexOf(o) < 0 && (a[o] = r[o]);
|
|
17
|
+
if (r != null && d)
|
|
18
|
+
for (var o of d(r))
|
|
19
|
+
e.indexOf(o) < 0 && N.call(r, o) && (a[o] = r[o]);
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
23
|
+
import * as R from "react";
|
|
24
|
+
import { c as D } from "../../chunks/index-E4d_Gd-w.js";
|
|
25
|
+
import { P as _ } from "../../chunks/index-BJD1rYeT.js";
|
|
26
|
+
import { c as h } from "../../chunks/utils-TbLXCoKm.js";
|
|
27
|
+
var v = "Progress", g = 100, [L, J] = D(v), [O, T] = L(v), w = R.forwardRef(
|
|
28
|
+
(r, e) => {
|
|
29
|
+
const P = r, {
|
|
30
|
+
__scopeProgress: a,
|
|
31
|
+
value: o = null,
|
|
32
|
+
max: t,
|
|
33
|
+
getValueLabel: i = G
|
|
34
|
+
} = P, u = m(P, [
|
|
35
|
+
"__scopeProgress",
|
|
36
|
+
"value",
|
|
37
|
+
"max",
|
|
38
|
+
"getValueLabel"
|
|
39
|
+
]);
|
|
40
|
+
(t || t === 0) && !$(t) && console.error(X(`${t}`, "Progress"));
|
|
41
|
+
const n = $(t) ? t : g;
|
|
42
|
+
o !== null && !I(o, n) && console.error(j(`${o}`, "Progress"));
|
|
43
|
+
const s = I(o, n) ? o : null, V = f(s) ? i(s, n) : void 0;
|
|
44
|
+
return /* @__PURE__ */ l(O, { scope: a, value: s, max: n, children: /* @__PURE__ */ l(
|
|
45
|
+
_.div,
|
|
46
|
+
p(c({
|
|
47
|
+
"aria-valuemax": n,
|
|
48
|
+
"aria-valuemin": 0,
|
|
49
|
+
"aria-valuenow": f(s) ? s : void 0,
|
|
50
|
+
"aria-valuetext": V,
|
|
51
|
+
role: "progressbar",
|
|
52
|
+
"data-state": M(s, n),
|
|
53
|
+
"data-value": s != null ? s : void 0,
|
|
54
|
+
"data-max": n
|
|
55
|
+
}, u), {
|
|
56
|
+
ref: e
|
|
57
|
+
})
|
|
58
|
+
) });
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
w.displayName = v;
|
|
62
|
+
var y = "ProgressIndicator", E = R.forwardRef(
|
|
63
|
+
(r, e) => {
|
|
64
|
+
var u;
|
|
65
|
+
const i = r, { __scopeProgress: a } = i, o = m(i, ["__scopeProgress"]), t = T(y, a);
|
|
66
|
+
return /* @__PURE__ */ l(
|
|
67
|
+
_.div,
|
|
68
|
+
p(c({
|
|
69
|
+
"data-state": M(t.value, t.max),
|
|
70
|
+
"data-value": (u = t.value) != null ? u : void 0,
|
|
71
|
+
"data-max": t.max
|
|
72
|
+
}, o), {
|
|
73
|
+
ref: e
|
|
74
|
+
})
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
E.displayName = y;
|
|
79
|
+
function G(r, e) {
|
|
80
|
+
return `${Math.round(r / e * 100)}%`;
|
|
81
|
+
}
|
|
82
|
+
function M(r, e) {
|
|
83
|
+
return r == null ? "indeterminate" : r === e ? "complete" : "loading";
|
|
84
|
+
}
|
|
85
|
+
function f(r) {
|
|
86
|
+
return typeof r == "number";
|
|
87
|
+
}
|
|
88
|
+
function $(r) {
|
|
89
|
+
return f(r) && !isNaN(r) && r > 0;
|
|
90
|
+
}
|
|
91
|
+
function I(r, e) {
|
|
92
|
+
return f(r) && !isNaN(r) && r <= e && r >= 0;
|
|
93
|
+
}
|
|
94
|
+
function X(r, e) {
|
|
95
|
+
return `Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${g}\`.`;
|
|
96
|
+
}
|
|
97
|
+
function j(r, e) {
|
|
98
|
+
return `Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be:
|
|
99
|
+
- a positive number
|
|
100
|
+
- less than the value passed to \`max\` (or ${g} if no \`max\` prop is set)
|
|
101
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
102
|
+
|
|
103
|
+
Defaulting to \`null\`.`;
|
|
104
|
+
}
|
|
105
|
+
var k = w, F = E;
|
|
106
|
+
function K(o) {
|
|
107
|
+
var t = o, {
|
|
108
|
+
className: r,
|
|
109
|
+
value: e
|
|
110
|
+
} = t, a = m(t, [
|
|
111
|
+
"className",
|
|
112
|
+
"value"
|
|
113
|
+
]);
|
|
114
|
+
const i = e === 100;
|
|
115
|
+
return /* @__PURE__ */ l(
|
|
116
|
+
k,
|
|
117
|
+
p(c({
|
|
118
|
+
"data-slot": "progress",
|
|
119
|
+
className: h(
|
|
120
|
+
"relative h-2 w-full overflow-hidden rounded-full bg-default-background",
|
|
121
|
+
r
|
|
122
|
+
)
|
|
123
|
+
}, a), {
|
|
124
|
+
children: /* @__PURE__ */ l(
|
|
125
|
+
F,
|
|
126
|
+
{
|
|
127
|
+
"data-slot": "progress-indicator",
|
|
128
|
+
className: h(
|
|
129
|
+
"h-full w-full flex-1 transition-all",
|
|
130
|
+
i ? "bg-positive" : "bg-primary"
|
|
131
|
+
),
|
|
132
|
+
style: { transform: `translateX(-${100 - (e || 0)}%)` }
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
})
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
K as Progress
|
|
140
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { R as m, z as s, E as d } from "../../chunks/uploader-BN38rjbw.js";
|
|
4
|
+
import "../../chunks/index-BO6p208a.js";
|
|
5
|
+
import "../../chunks/utils-TbLXCoKm.js";
|
|
6
|
+
export {
|
|
7
|
+
m as Radio,
|
|
8
|
+
s as RadioGroup,
|
|
9
|
+
d as radioVariants
|
|
10
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { X as i } from "../../../chunks/uploader-BN38rjbw.js";
|
|
3
|
+
import { c as m } from "../../../chunks/utils-TbLXCoKm.js";
|
|
4
|
+
import { startOfDay as a, formatWeekdayShort as d } from "./utils.js";
|
|
5
|
+
const x = ({
|
|
6
|
+
date: e,
|
|
7
|
+
selected: n,
|
|
8
|
+
renderBadge: t,
|
|
9
|
+
onClick: s,
|
|
10
|
+
className: c
|
|
11
|
+
}) => {
|
|
12
|
+
const l = a(e).getTime() === a(/* @__PURE__ */ new Date()).getTime();
|
|
13
|
+
return /* @__PURE__ */ o(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
type: "button",
|
|
17
|
+
onClick: s,
|
|
18
|
+
className: m(
|
|
19
|
+
"relative flex h-[70px] w-[70px] shrink-0 cursor-pointer flex-col items-center justify-center rounded-xl text-center transition-colors",
|
|
20
|
+
"border-0 bg-default-background",
|
|
21
|
+
"hover:bg-border",
|
|
22
|
+
n && "border-default bg-white border-1",
|
|
23
|
+
c
|
|
24
|
+
),
|
|
25
|
+
children: [
|
|
26
|
+
t && /* @__PURE__ */ r("div", { className: "absolute right-1 top-1", children: t(e) }),
|
|
27
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center gap-0.5", children: [
|
|
28
|
+
/* @__PURE__ */ r(i, { variant: "p3", weight: "medium", children: e.getDate() }),
|
|
29
|
+
/* @__PURE__ */ r(i, { variant: "p1", textColor: "secondary", children: l ? "Сегодня" : d(e) })
|
|
30
|
+
] })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
x as CalendarDayCard
|
|
37
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { X as a } from "../../../chunks/uploader-BN38rjbw.js";
|
|
3
|
+
import { c as d } from "../../../chunks/utils-TbLXCoKm.js";
|
|
4
|
+
import { formatWeekdayShort as f, formatMonthGenitive as p } from "./utils.js";
|
|
5
|
+
import { f as h } from "../../../chunks/format-DoKcg9cH.js";
|
|
6
|
+
import { r as b } from "../../../chunks/ru-CUCVR8Pn.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
date: r,
|
|
9
|
+
selected: s,
|
|
10
|
+
onClick: i,
|
|
11
|
+
renderBadge: o,
|
|
12
|
+
className: m = ""
|
|
13
|
+
}) => {
|
|
14
|
+
const n = h(r, "d", { locale: b }), l = f(r), c = p(r);
|
|
15
|
+
return /* @__PURE__ */ e(
|
|
16
|
+
"button",
|
|
17
|
+
{
|
|
18
|
+
type: "button",
|
|
19
|
+
onClick: i,
|
|
20
|
+
className: d(
|
|
21
|
+
"relative shrink-0 h-19.5 min-w-26.5 md:min-w-45.5",
|
|
22
|
+
"rounded-lg transition-colors cursor-pointer",
|
|
23
|
+
"flex flex-col items-start justify-start gap-1 p-3",
|
|
24
|
+
"bg-transparent",
|
|
25
|
+
"hover:bg-border",
|
|
26
|
+
"first:ml-4 last:mr-4 border-1 border-border",
|
|
27
|
+
s && "border-default bg-white border-1",
|
|
28
|
+
m
|
|
29
|
+
),
|
|
30
|
+
children: /* @__PURE__ */ t("div", { className: "flex flex-col items-start justify-start gap-2", children: [
|
|
31
|
+
/* @__PURE__ */ t("div", { className: "flex flex-row items-center justify-center gap-1", children: [
|
|
32
|
+
/* @__PURE__ */ t(a, { variant: "p3", weight: "medium", children: [
|
|
33
|
+
n,
|
|
34
|
+
" ",
|
|
35
|
+
c
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ e(a, { variant: "p3", textColor: "secondary", children: l })
|
|
38
|
+
] }),
|
|
39
|
+
o && o()
|
|
40
|
+
] })
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
j as EmblaCalendarCard
|
|
46
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as C, useCallback as b } from "react";
|
|
3
|
+
import { u as h } from "../../../chunks/embla-carousel-react.esm-ZaRSnfTq.js";
|
|
4
|
+
import { c as p } from "../../../chunks/utils-TbLXCoKm.js";
|
|
5
|
+
import { EmblaCalendarCard as v } from "./embla-calendar-card.js";
|
|
6
|
+
import { startOfDay as u } from "./utils.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
dates: f,
|
|
9
|
+
selectedDate: o,
|
|
10
|
+
onDateSelect: t,
|
|
11
|
+
renderBadge: d,
|
|
12
|
+
dayClassName: l,
|
|
13
|
+
classNames: i
|
|
14
|
+
}) => {
|
|
15
|
+
const [x, n] = h({
|
|
16
|
+
dragFree: !0,
|
|
17
|
+
containScroll: "trimSnaps",
|
|
18
|
+
align: "start"
|
|
19
|
+
});
|
|
20
|
+
C(() => {
|
|
21
|
+
n && n.reInit();
|
|
22
|
+
}, [f, n]);
|
|
23
|
+
const g = b(() => o ? f.findIndex(
|
|
24
|
+
(r) => u(r).getTime() === u(o).getTime()
|
|
25
|
+
) : -1, [f, o]);
|
|
26
|
+
C(() => {
|
|
27
|
+
if (!n)
|
|
28
|
+
return;
|
|
29
|
+
const r = g();
|
|
30
|
+
r >= 0 && n.scrollTo(r);
|
|
31
|
+
}, [n, g]);
|
|
32
|
+
const e = b(
|
|
33
|
+
(r) => {
|
|
34
|
+
t == null || t(r);
|
|
35
|
+
},
|
|
36
|
+
[t]
|
|
37
|
+
), T = (r) => o ? u(r).getTime() === u(o).getTime() : !1;
|
|
38
|
+
return /* @__PURE__ */ m("div", { className: p("overflow-hidden", i == null ? void 0 : i.root), ref: x, children: /* @__PURE__ */ m("div", { className: p("flex gap-1.5", i == null ? void 0 : i.content), children: f.map((r) => /* @__PURE__ */ m(
|
|
39
|
+
v,
|
|
40
|
+
{
|
|
41
|
+
date: r,
|
|
42
|
+
selected: T(r),
|
|
43
|
+
onClick: () => e(r),
|
|
44
|
+
renderBadge: d ? () => d(r) : void 0,
|
|
45
|
+
className: p(l, i == null ? void 0 : i.card)
|
|
46
|
+
},
|
|
47
|
+
r.toISOString()
|
|
48
|
+
)) }) });
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
j as EmblaCalendarStrip
|
|
52
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CalendarDayCard as o } from "./calendar-day-card.js";
|
|
2
|
+
import { CARD_WIDTH as t, MOBILE_BREAKPOINT as m, SCROLL_WEEK_SIZE as d } from "./constants.js";
|
|
3
|
+
import { EmblaCalendarCard as n } from "./embla-calendar-card.js";
|
|
4
|
+
import { EmblaCalendarStrip as l } from "./embla-calendar-strip.js";
|
|
5
|
+
import { CalendarStrip as x } from "./schedule-calendar-strip.js";
|
|
6
|
+
import { ScheduleHeader as h } from "./schedule-header.js";
|
|
7
|
+
import { useScheduleCalendar as u } from "./use-schedule-calendar.js";
|
|
8
|
+
import { useScheduleSync as s } from "./use-schedule-sync.js";
|
|
9
|
+
import { formatMonthGenitive as c, formatMonthLong as y, formatWeekdayShort as I, getThreeMonthsAround as L, parseDateString as M, startOfDay as O } from "./utils.js";
|
|
10
|
+
export {
|
|
11
|
+
t as CARD_WIDTH,
|
|
12
|
+
o as CalendarDayCard,
|
|
13
|
+
x as CalendarStrip,
|
|
14
|
+
n as EmblaCalendarCard,
|
|
15
|
+
l as EmblaCalendarStrip,
|
|
16
|
+
m as MOBILE_BREAKPOINT,
|
|
17
|
+
d as SCROLL_WEEK_SIZE,
|
|
18
|
+
h as ScheduleHeader,
|
|
19
|
+
c as formatMonthGenitive,
|
|
20
|
+
y as formatMonthLong,
|
|
21
|
+
I as formatWeekdayShort,
|
|
22
|
+
L as getThreeMonthsAround,
|
|
23
|
+
M as parseDateString,
|
|
24
|
+
O as startOfDay,
|
|
25
|
+
u as useScheduleCalendar,
|
|
26
|
+
s as useScheduleSync
|
|
27
|
+
};
|