mimir-ui-kit 1.38.36 → 1.38.39
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/dist/Input-DAmc_HxO.js +227 -0
- package/dist/ProgressBar-DEFs1tWq.js +55 -0
- package/dist/assets/Accordion.css +1 -0
- package/dist/assets/AccordionItem.css +1 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CheckboxMimir.css +1 -0
- package/dist/assets/Chip.css +1 -0
- package/dist/assets/Drawer.css +1 -0
- package/dist/assets/Dropdown.css +1 -0
- package/dist/assets/GosZnak.css +1 -0
- package/dist/assets/Image.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/InputPassword.css +1 -0
- package/dist/assets/InputRangeSlider.css +1 -0
- package/dist/assets/Link.css +1 -0
- package/dist/assets/ListFiles.css +1 -0
- package/dist/assets/ListPhotos.css +1 -0
- package/dist/assets/Loader.css +1 -0
- package/dist/assets/MergedButton.css +1 -0
- package/dist/assets/MessageShortReply.css +1 -0
- package/dist/assets/MultiSelectSearch.css +1 -0
- package/dist/assets/NotificationBadge.css +1 -0
- package/dist/assets/OtpInput.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgressBar.css +1 -0
- package/dist/assets/RadioGroup.css +1 -0
- package/dist/assets/SelectSearch.css +1 -0
- package/dist/assets/SkeletonCircle.css +1 -0
- package/dist/assets/SkeletonText.css +1 -0
- package/dist/assets/Slider.css +1 -0
- package/dist/assets/Steps.css +1 -0
- package/dist/assets/Switcher.css +1 -0
- package/dist/assets/TabTrail.css +1 -0
- package/dist/assets/Tag.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Timer.css +1 -0
- package/dist/assets/TwinSwitcher.css +1 -0
- package/dist/assets/Uploader.css +1 -0
- package/dist/assets/UploaderFiles.css +1 -0
- package/dist/assets/UploaderPhotos.css +1 -0
- package/dist/assets/Vote.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/variant.css +1 -0
- package/dist/bugs-diTMAGNw.js +18 -0
- package/dist/close-provider-CEutdhG8.js +9 -0
- package/dist/combobox-CVtJDVoZ.js +980 -0
- package/dist/components/Accordion/Accordion.d.ts +45 -0
- package/dist/components/Accordion/Accordion.js +267 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +8 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +10 -0
- package/dist/components/Accordion/AccordionItem/index.d.ts +1 -0
- package/dist/components/Accordion/AccordionItem/index.js +4 -0
- package/dist/components/Accordion/constants.d.ts +24 -0
- package/dist/components/Accordion/constants.js +9 -0
- package/dist/components/Accordion/index.d.ts +3 -0
- package/dist/components/Accordion/index.js +8 -0
- package/dist/components/AnchorLink/Link.d.ts +17 -0
- package/dist/components/AnchorLink/Link.js +52 -0
- package/dist/components/AnchorLink/constants.d.ts +10 -0
- package/dist/components/AnchorLink/constants.js +5 -0
- package/dist/components/AnchorLink/index.d.ts +2 -0
- package/dist/components/AnchorLink/index.js +7 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -0
- package/dist/components/Avatar/Avatar.js +58 -0
- package/dist/components/Avatar/constants.d.ts +5 -0
- package/dist/components/Avatar/constants.js +4 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Avatar/types.d.ts +10 -0
- package/dist/components/Button/Button.d.ts +310 -0
- package/dist/components/Button/Button.js +100 -0
- package/dist/components/Button/constants.d.ts +40 -0
- package/dist/components/Button/constants.js +9 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +11 -0
- package/dist/components/Button/types.d.ts +38 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +301 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.js +63 -0
- package/dist/components/CheckboxMimir/index.d.ts +2 -0
- package/dist/components/CheckboxMimir/index.js +4 -0
- package/dist/components/Chip/Chip.d.ts +30 -0
- package/dist/components/Chip/Chip.js +44 -0
- package/dist/components/Chip/constants.d.ts +13 -0
- package/dist/components/Chip/constants.js +5 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/index.js +7 -0
- package/dist/components/DatePicker/DatePicker.d.ts +110 -0
- package/dist/components/DatePicker/DatePicker.js +166 -0
- package/dist/components/DatePicker/DatePickerModal.d.ts +9 -0
- package/dist/components/DatePicker/DatePickerModal.js +147 -0
- package/dist/components/DatePicker/MonthPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/MonthPickerModal.js +94 -0
- package/dist/components/DatePicker/YearPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/YearPickerModal.js +89 -0
- package/dist/components/DatePicker/constants.d.ts +17 -0
- package/dist/components/DatePicker/constants.js +28 -0
- package/dist/components/DatePicker/hooks.d.ts +3 -0
- package/dist/components/DatePicker/hooks.js +20 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DatePicker/utils.d.ts +6 -0
- package/dist/components/DatePicker/utils.js +9 -0
- package/dist/components/Drawer/Drawer.d.ts +87 -0
- package/dist/components/Drawer/Drawer.js +166 -0
- package/dist/components/Drawer/constants.d.ts +6 -0
- package/dist/components/Drawer/constants.js +4 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Drawer/index.js +6 -0
- package/dist/components/Dropdown/Dropdown.d.ts +45 -0
- package/dist/components/Dropdown/Dropdown.js +333 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +4 -0
- package/dist/components/GosZnak/GosZnak.d.ts +4 -0
- package/dist/components/GosZnak/GosZnak.js +63 -0
- package/dist/components/GosZnak/constants.d.ts +11 -0
- package/dist/components/GosZnak/constants.js +5 -0
- package/dist/components/GosZnak/index.d.ts +3 -0
- package/dist/components/GosZnak/index.js +7 -0
- package/dist/components/GosZnak/types.d.ts +26 -0
- package/dist/components/Image/Image.d.ts +33 -0
- package/dist/components/Image/Image.js +60 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +4 -0
- package/dist/components/Input/Input.d.ts +71 -0
- package/dist/components/Input/Input.js +11 -0
- package/dist/components/Input/constants.d.ts +14 -0
- package/dist/components/Input/constants.js +6 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.js +8 -0
- package/dist/components/Input/types.d.ts +22 -0
- package/dist/components/InputPassword/InputPassword.d.ts +4 -0
- package/dist/components/InputPassword/InputPassword.js +58 -0
- package/dist/components/InputPassword/index.d.ts +2 -0
- package/dist/components/InputPassword/index.js +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +35 -0
- package/dist/components/InputPhoneNumber/index.d.ts +2 -0
- package/dist/components/InputPhoneNumber/index.js +7 -0
- package/dist/components/InputPhoneNumber/utils.d.ts +2 -0
- package/dist/components/InputPhoneNumber/utils.js +9 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +3 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.js +171 -0
- package/dist/components/InputRangeSlider/constants.d.ts +10 -0
- package/dist/components/InputRangeSlider/constants.js +8 -0
- package/dist/components/InputRangeSlider/index.d.ts +3 -0
- package/dist/components/InputRangeSlider/index.js +7 -0
- package/dist/components/InputRangeSlider/types.d.ts +33 -0
- package/dist/components/ListFiles/ListFiles.d.ts +40 -0
- package/dist/components/ListFiles/ListFiles.js +66 -0
- package/dist/components/ListFiles/constants.d.ts +7 -0
- package/dist/components/ListFiles/constants.js +35 -0
- package/dist/components/ListFiles/index.d.ts +3 -0
- package/dist/components/ListFiles/index.js +6 -0
- package/dist/components/ListPhotos/ListPhotos.d.ts +28 -0
- package/dist/components/ListPhotos/ListPhotos.js +44 -0
- package/dist/components/ListPhotos/constants.d.ts +3 -0
- package/dist/components/ListPhotos/constants.js +21 -0
- package/dist/components/ListPhotos/index.d.ts +2 -0
- package/dist/components/ListPhotos/index.js +4 -0
- package/dist/components/Loader/Loader.d.ts +7 -0
- package/dist/components/Loader/Loader.js +16 -0
- package/dist/components/Loader/constants.d.ts +4 -0
- package/dist/components/Loader/constants.js +4 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/index.js +6 -0
- package/dist/components/MergedButton/MergedButton.d.ts +18 -0
- package/dist/components/MergedButton/MergedButton.js +48 -0
- package/dist/components/MergedButton/constants.d.ts +5 -0
- package/dist/components/MergedButton/constants.js +4 -0
- package/dist/components/MergedButton/index.d.ts +2 -0
- package/dist/components/MergedButton/index.js +6 -0
- package/dist/components/MessageShortReply/MessageShortReply.d.ts +30 -0
- package/dist/components/MessageShortReply/MessageShortReply.js +51 -0
- package/dist/components/MessageShortReply/constants.d.ts +9 -0
- package/dist/components/MessageShortReply/constants.js +4 -0
- package/dist/components/MessageShortReply/index.d.ts +2 -0
- package/dist/components/MessageShortReply/index.js +6 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +26 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +375 -0
- package/dist/components/MultiSelectSearch/constants.d.ts +7 -0
- package/dist/components/MultiSelectSearch/constants.js +8 -0
- package/dist/components/MultiSelectSearch/index.d.ts +3 -0
- package/dist/components/MultiSelectSearch/index.js +6 -0
- package/dist/components/MultiSelectSearch/types.d.ts +72 -0
- package/dist/components/MultiSelectSearch/utils.d.ts +11 -0
- package/dist/components/MultiSelectSearch/utils.js +28 -0
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +3 -0
- package/dist/components/NotificationBadge/NotificationBadge.js +36 -0
- package/dist/components/NotificationBadge/constants.d.ts +5 -0
- package/dist/components/NotificationBadge/constants.js +4 -0
- package/dist/components/NotificationBadge/index.d.ts +3 -0
- package/dist/components/NotificationBadge/index.js +6 -0
- package/dist/components/NotificationBadge/types.d.ts +25 -0
- package/dist/components/OtpInput/OtpInput.d.ts +23 -0
- package/dist/components/OtpInput/OtpInput.js +70 -0
- package/dist/components/OtpInput/constants.d.ts +3 -0
- package/dist/components/OtpInput/constants.js +6 -0
- package/dist/components/OtpInput/hooks.d.ts +20 -0
- package/dist/components/OtpInput/hooks.js +102 -0
- package/dist/components/OtpInput/index.d.ts +1 -0
- package/dist/components/OtpInput/index.js +4 -0
- package/dist/components/Pagination/Pagination.d.ts +40 -0
- package/dist/components/Pagination/Pagination.js +179 -0
- package/dist/components/Pagination/constants.d.ts +2 -0
- package/dist/components/Pagination/constants.js +5 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/Pagination/types.d.ts +0 -0
- package/dist/components/Portal/Portal.d.ts +7 -0
- package/dist/components/Portal/Portal.js +8 -0
- package/dist/components/Portal/index.d.ts +1 -0
- package/dist/components/Portal/index.js +4 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +71 -0
- package/dist/components/RadioGroup/RadioGroup.js +195 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.js +4 -0
- package/dist/components/SelectSearch/SelectSearch.d.ts +22 -0
- package/dist/components/SelectSearch/SelectSearch.js +263 -0
- package/dist/components/SelectSearch/constants.d.ts +4 -0
- package/dist/components/SelectSearch/constants.js +4 -0
- package/dist/components/SelectSearch/index.d.ts +3 -0
- package/dist/components/SelectSearch/index.js +6 -0
- package/dist/components/SelectSearch/types.d.ts +59 -0
- package/dist/components/SelectSearch/utils.d.ts +5 -0
- package/dist/components/SelectSearch/utils.js +17 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +12 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +33 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +9 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +29 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +10 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +52 -0
- package/dist/components/Skeleton/constants.d.ts +5 -0
- package/dist/components/Skeleton/constants.js +4 -0
- package/dist/components/Skeleton/index.d.ts +4 -0
- package/dist/components/Skeleton/index.js +10 -0
- package/dist/components/Slider/Slider.d.ts +75 -0
- package/dist/components/Slider/Slider.js +3075 -0
- package/dist/components/Slider/constants.d.ts +4 -0
- package/dist/components/Slider/constants.js +4 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/index.js +9 -0
- package/dist/components/Steps/Steps.d.ts +78 -0
- package/dist/components/Steps/Steps.js +123 -0
- package/dist/components/Steps/constants.d.ts +49 -0
- package/dist/components/Steps/constants.js +57 -0
- package/dist/components/Steps/index.d.ts +3 -0
- package/dist/components/Steps/index.js +7 -0
- package/dist/components/Steps/types.d.ts +10 -0
- package/dist/components/Switcher/Switcher.d.ts +3 -0
- package/dist/components/Switcher/Switcher.js +107 -0
- package/dist/components/Switcher/constants.d.ts +4 -0
- package/dist/components/Switcher/constants.js +4 -0
- package/dist/components/Switcher/index.d.ts +3 -0
- package/dist/components/Switcher/index.js +6 -0
- package/dist/components/Switcher/types.d.ts +30 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +10 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.js +33 -0
- package/dist/components/TabTrail/TabButtons/constants.d.ts +8 -0
- package/dist/components/TabTrail/TabButtons/constants.js +5 -0
- package/dist/components/TabTrail/TabButtons/index.d.ts +1 -0
- package/dist/components/TabTrail/TabButtons/index.js +4 -0
- package/dist/components/TabTrail/TabTrail.d.ts +68 -0
- package/dist/components/TabTrail/TabTrail.js +313 -0
- package/dist/components/TabTrail/constants.d.ts +4 -0
- package/dist/components/TabTrail/constants.js +4 -0
- package/dist/components/TabTrail/index.d.ts +2 -0
- package/dist/components/TabTrail/index.js +6 -0
- package/dist/components/Tag/Tag.d.ts +42 -0
- package/dist/components/Tag/Tag.js +46 -0
- package/dist/components/Tag/constants.d.ts +9 -0
- package/dist/components/Tag/constants.js +5 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/Tag/index.js +7 -0
- package/dist/components/Tag/types.d.ts +0 -0
- package/dist/components/TextArea/TextArea.d.ts +7 -0
- package/dist/components/TextArea/TextArea.js +224 -0
- package/dist/components/TextArea/constants.d.ts +5 -0
- package/dist/components/TextArea/constants.js +4 -0
- package/dist/components/TextArea/hooks.d.ts +3 -0
- package/dist/components/TextArea/hooks.js +15 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextArea/index.js +6 -0
- package/dist/components/TextArea/types.d.ts +6 -0
- package/dist/components/Timer/Timer.d.ts +24 -0
- package/dist/components/Timer/Timer.js +23 -0
- package/dist/components/Timer/index.d.ts +1 -0
- package/dist/components/Timer/index.js +4 -0
- package/dist/components/Toasts/ProgressBar.d.ts +5 -0
- package/dist/components/Toasts/ProgressBar.js +8 -0
- package/dist/components/Toasts/Toast.d.ts +54 -0
- package/dist/components/Toasts/Toast.js +72 -0
- package/dist/components/Toasts/ToastList.d.ts +10 -0
- package/dist/components/Toasts/ToastList.js +41 -0
- package/dist/components/Toasts/ToastsProvider.d.ts +3 -0
- package/dist/components/Toasts/ToastsProvider.js +42 -0
- package/dist/components/Toasts/constants.d.ts +23 -0
- package/dist/components/Toasts/constants.js +15 -0
- package/dist/components/Toasts/hooks.d.ts +2 -0
- package/dist/components/Toasts/hooks.js +15 -0
- package/dist/components/Toasts/index.d.ts +3 -0
- package/dist/components/Toasts/index.js +9 -0
- package/dist/components/Toasts/store.d.ts +29 -0
- package/dist/components/Toasts/store.js +40 -0
- package/dist/components/Toasts/types.d.ts +5 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +10 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.js +61 -0
- package/dist/components/TwinSwitcher/index.d.ts +1 -0
- package/dist/components/TwinSwitcher/index.js +4 -0
- package/dist/components/UniversalUploader/UniversalUploader.d.ts +10 -0
- package/dist/components/UniversalUploader/UniversalUploader.js +121 -0
- package/dist/components/UniversalUploader/constants.d.ts +6 -0
- package/dist/components/UniversalUploader/constants.js +13 -0
- package/dist/components/UniversalUploader/index.d.ts +3 -0
- package/dist/components/UniversalUploader/index.js +6 -0
- package/dist/components/UniversalUploader/types.d.ts +21 -0
- package/dist/components/Uploader/Uploader.d.ts +77 -0
- package/dist/components/Uploader/Uploader.js +116 -0
- package/dist/components/Uploader/constants.d.ts +8 -0
- package/dist/components/Uploader/constants.js +37 -0
- package/dist/components/Uploader/index.d.ts +4 -0
- package/dist/components/Uploader/index.js +6 -0
- package/dist/components/UploaderFiles/UploaderFiles.d.ts +3 -0
- package/dist/components/UploaderFiles/UploaderFiles.js +92 -0
- package/dist/components/UploaderFiles/constants.d.ts +4 -0
- package/dist/components/UploaderFiles/constants.js +4 -0
- package/dist/components/UploaderFiles/index.d.ts +3 -0
- package/dist/components/UploaderFiles/index.js +6 -0
- package/dist/components/UploaderFiles/types.d.ts +75 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +60 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.js +72 -0
- package/dist/components/UploaderPhotos/index.d.ts +2 -0
- package/dist/components/UploaderPhotos/index.js +4 -0
- package/dist/components/Vote/Vote.d.ts +171 -0
- package/dist/components/Vote/Vote.js +95 -0
- package/dist/components/Vote/constants.d.ts +7 -0
- package/dist/components/Vote/constants.js +9 -0
- package/dist/components/Vote/index.d.ts +3 -0
- package/dist/components/Vote/index.js +6 -0
- package/dist/components/Vote/types.d.ts +6 -0
- package/dist/components/index.d.ts +70 -0
- package/dist/components/index.js +165 -0
- package/dist/field-FJ34aSs4.js +12 -0
- package/dist/focus-management-DE4t_lW3.js +78 -0
- package/dist/hidden-DbgtYPOH.js +13 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +19 -0
- package/dist/hooks/useClickOutside/index.d.ts +1 -0
- package/dist/hooks/useClickOutside/index.js +4 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +7 -0
- package/dist/hooks/useClickOutside/useClickOutside.js +16 -0
- package/dist/hooks/useCopyToClipboard/index.d.ts +1 -0
- package/dist/hooks/useCopyToClipboard/index.js +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +16 -0
- package/dist/hooks/useInterval/index.d.ts +1 -0
- package/dist/hooks/useInterval/index.js +4 -0
- package/dist/hooks/useInterval/useInterval.d.ts +1 -0
- package/dist/hooks/useInterval/useInterval.js +15 -0
- package/dist/hooks/useLockBodyScroll/index.d.ts +1 -0
- package/dist/hooks/useLockBodyScroll/index.js +4 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +6 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +16 -0
- package/dist/hooks/useMediaQuery/constants.d.ts +20 -0
- package/dist/hooks/useMediaQuery/constants.js +5 -0
- package/dist/hooks/useMediaQuery/index.d.ts +2 -0
- package/dist/hooks/useMediaQuery/index.js +7 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +14 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.js +16 -0
- package/dist/hooks/useMergeRefs/index.d.ts +1 -0
- package/dist/hooks/useMergeRefs/index.js +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.js +29 -0
- package/dist/hooks/useResizeObserver/getElement.d.ts +4 -0
- package/dist/hooks/useResizeObserver/getElement.js +4 -0
- package/dist/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/hooks/useResizeObserver/index.js +4 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +17 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.js +36 -0
- package/dist/hooks/useTimer/index.d.ts +18 -0
- package/dist/hooks/useTimer/index.js +57 -0
- package/dist/hooks/useTimer/useTimer.d.ts +18 -0
- package/dist/hooks/useTimer/useTimer.js +58 -0
- package/dist/hooks/useTimer/utils.d.ts +24 -0
- package/dist/hooks/useTimer/utils.js +71 -0
- package/dist/hooks/useWindowSize/index.d.ts +4 -0
- package/dist/hooks/useWindowSize/index.js +20 -0
- package/dist/icons/Icon.d.ts +7 -0
- package/dist/icons/Icon.js +10 -0
- package/dist/icons/components/12px/Close12px.js +16 -0
- package/dist/icons/components/12px/MessageRead12px.js +35 -0
- package/dist/icons/components/16px/Accept16px.js +25 -0
- package/dist/icons/components/16px/Acts16px.js +38 -0
- package/dist/icons/components/16px/Acts16pxF.js +33 -0
- package/dist/icons/components/16px/AdditionalServicess16px.js +31 -0
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +20 -0
- package/dist/icons/components/16px/Agents16px.js +22 -0
- package/dist/icons/components/16px/Agents16pxF.js +20 -0
- package/dist/icons/components/16px/Alarm16px.js +23 -0
- package/dist/icons/components/16px/ArrowDown16px.js +22 -0
- package/dist/icons/components/16px/ArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/ArrowRight16px.js +22 -0
- package/dist/icons/components/16px/ArrowUp16px.js +22 -0
- package/dist/icons/components/16px/ArrowUpright16px.js +22 -0
- package/dist/icons/components/16px/AttachFile16px.js +22 -0
- package/dist/icons/components/16px/Bell16px.js +42 -0
- package/dist/icons/components/16px/Bell16pxF.js +32 -0
- package/dist/icons/components/16px/Calculator16px.js +22 -0
- package/dist/icons/components/16px/CalculatorLkk16px.js +33 -0
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +22 -0
- package/dist/icons/components/16px/Calendar16px.js +22 -0
- package/dist/icons/components/16px/Camera16px.js +34 -0
- package/dist/icons/components/16px/Car16px.js +33 -0
- package/dist/icons/components/16px/Car16pxF.js +22 -0
- package/dist/icons/components/16px/Catalog16px.js +22 -0
- package/dist/icons/components/16px/Certs16px.js +31 -0
- package/dist/icons/components/16px/Certs16pxF.js +31 -0
- package/dist/icons/components/16px/Change16px.js +20 -0
- package/dist/icons/components/16px/Chat16px.js +31 -0
- package/dist/icons/components/16px/Chat16pxF.js +22 -0
- package/dist/icons/components/16px/Chatbot16px.js +262 -0
- package/dist/icons/components/16px/Close16px.js +22 -0
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Coin16px.js +33 -0
- package/dist/icons/components/16px/Coin16pxF.js +40 -0
- package/dist/icons/components/16px/Contracts16px.js +33 -0
- package/dist/icons/components/16px/Contracts16pxF.js +31 -0
- package/dist/icons/components/16px/CopyClipboard16px.js +25 -0
- package/dist/icons/components/16px/Done16px.js +22 -0
- package/dist/icons/components/16px/Download16px.js +29 -0
- package/dist/icons/components/16px/DragHandle16px.js +20 -0
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +20 -0
- package/dist/icons/components/16px/DragHandleVertical16px.js +20 -0
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowRight16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowUp16px.js +22 -0
- package/dist/icons/components/16px/Dzen16px.js +20 -0
- package/dist/icons/components/16px/Euro16px.js +23 -0
- package/dist/icons/components/16px/Eye16px.js +33 -0
- package/dist/icons/components/16px/Failure16px.js +25 -0
- package/dist/icons/components/16px/Favorite16px.js +22 -0
- package/dist/icons/components/16px/Favorite16pxF.js +20 -0
- package/dist/icons/components/16px/Filter16px.js +22 -0
- package/dist/icons/components/16px/Flag16pxF.js +14 -0
- package/dist/icons/components/16px/Folder16px.js +22 -0
- package/dist/icons/components/16px/Fullscreen16px.js +22 -0
- package/dist/icons/components/16px/Galery16px.js +25 -0
- package/dist/icons/components/16px/Gear16px.js +33 -0
- package/dist/icons/components/16px/Gift16px.js +31 -0
- package/dist/icons/components/16px/Hint16px.js +23 -0
- package/dist/icons/components/16px/Home16px.js +31 -0
- package/dist/icons/components/16px/Home16pxF.js +22 -0
- package/dist/icons/components/16px/Hot16pxF.js +20 -0
- package/dist/icons/components/16px/Kebab16px.js +14 -0
- package/dist/icons/components/16px/List16px.js +20 -0
- package/dist/icons/components/16px/Location16px.js +33 -0
- package/dist/icons/components/16px/Map16px.js +22 -0
- package/dist/icons/components/16px/Menu16px.js +20 -0
- package/dist/icons/components/16px/MenuMobile16px.js +22 -0
- package/dist/icons/components/16px/Minus16px.js +14 -0
- package/dist/icons/components/16px/Navigation16px.js +22 -0
- package/dist/icons/components/16px/News16px.js +31 -0
- package/dist/icons/components/16px/News16pxF.js +22 -0
- package/dist/icons/components/16px/Number16px.js +31 -0
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Orders16px.js +31 -0
- package/dist/icons/components/16px/Orders16pxF.js +25 -0
- package/dist/icons/components/16px/Pause16px.js +14 -0
- package/dist/icons/components/16px/Pen16px.js +33 -0
- package/dist/icons/components/16px/Pen16pxF.js +22 -0
- package/dist/icons/components/16px/Phone16px.js +22 -0
- package/dist/icons/components/16px/Play16pxF.js +20 -0
- package/dist/icons/components/16px/Plus16px.js +22 -0
- package/dist/icons/components/16px/Pound16px.js +23 -0
- package/dist/icons/components/16px/PriceDown16px.js +33 -0
- package/dist/icons/components/16px/PriceUp16px.js +33 -0
- package/dist/icons/components/16px/Question16px.js +22 -0
- package/dist/icons/components/16px/Question16pxF.js +22 -0
- package/dist/icons/components/16px/Rutube16px.js +20 -0
- package/dist/icons/components/16px/Scan16px.js +20 -0
- package/dist/icons/components/16px/Search16px.js +22 -0
- package/dist/icons/components/16px/Share16pxF.js +20 -0
- package/dist/icons/components/16px/ShopingCard16px.js +22 -0
- package/dist/icons/components/16px/Sort16px.js +22 -0
- package/dist/icons/components/16px/Star16px.js +22 -0
- package/dist/icons/components/16px/Star16pxF.js +20 -0
- package/dist/icons/components/16px/StarHalf16pxF.js +22 -0
- package/dist/icons/components/16px/Telegram16pxF.js +20 -0
- package/dist/icons/components/16px/TelegramPlane16pxF.js +20 -0
- package/dist/icons/components/16px/Timer16px.js +38 -0
- package/dist/icons/components/16px/Trash16px.js +22 -0
- package/dist/icons/components/16px/TwinArrowLeft16px.js +20 -0
- package/dist/icons/components/16px/TwinArrowRight16px.js +20 -0
- package/dist/icons/components/16px/USDollar16px.js +23 -0
- package/dist/icons/components/16px/Umbrella16px.js +22 -0
- package/dist/icons/components/16px/Umbrella16pxF.js +20 -0
- package/dist/icons/components/16px/UnionIcon16px.js +22 -0
- package/dist/icons/components/16px/User16px.js +31 -0
- package/dist/icons/components/16px/User16pxF.js +20 -0
- package/dist/icons/components/16px/Users16px.js +31 -0
- package/dist/icons/components/16px/Users16pxF.js +20 -0
- package/dist/icons/components/16px/VK16pxF.js +22 -0
- package/dist/icons/components/16px/Waiting16px.js +22 -0
- package/dist/icons/components/16px/Whatsapp16px.js +31 -0
- package/dist/icons/components/16px/WriteUs16px.js +25 -0
- package/dist/icons/components/16px/Youtube16pxF.js +20 -0
- package/dist/icons/components/16px/Yuan16px.js +23 -0
- package/dist/icons/components/24px/Accept24px.js +27 -0
- package/dist/icons/components/24px/Acts24px.js +39 -0
- package/dist/icons/components/24px/Acts24pxF.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24px.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +21 -0
- package/dist/icons/components/24px/Agents24px.js +23 -0
- package/dist/icons/components/24px/Agents24pxF.js +30 -0
- package/dist/icons/components/24px/Alarm24px.js +24 -0
- package/dist/icons/components/24px/ArrowDown24px.js +23 -0
- package/dist/icons/components/24px/ArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/ArrowRight24px.js +23 -0
- package/dist/icons/components/24px/ArrowUp24px.js +23 -0
- package/dist/icons/components/24px/ArrowUpright24px.js +23 -0
- package/dist/icons/components/24px/AttachFile24px.js +23 -0
- package/dist/icons/components/24px/Bell24px.js +43 -0
- package/dist/icons/components/24px/Bell24pxF.js +26 -0
- package/dist/icons/components/24px/Calculator24px.js +23 -0
- package/dist/icons/components/24px/CalculatorLkk24px.js +32 -0
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +23 -0
- package/dist/icons/components/24px/Calendar24px.js +23 -0
- package/dist/icons/components/24px/Camera24px.js +23 -0
- package/dist/icons/components/24px/Car24px.js +34 -0
- package/dist/icons/components/24px/Car24pxF.js +32 -0
- package/dist/icons/components/24px/Catalog24px.js +23 -0
- package/dist/icons/components/24px/Certs24px.js +32 -0
- package/dist/icons/components/24px/Certs24pxF.js +32 -0
- package/dist/icons/components/24px/Change24px.js +23 -0
- package/dist/icons/components/24px/Chat24px.js +28 -0
- package/dist/icons/components/24px/Chat24pxF.js +23 -0
- package/dist/icons/components/24px/Chatbot24px.js +263 -0
- package/dist/icons/components/24px/Close24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +21 -0
- package/dist/icons/components/24px/Coin24px.js +24 -0
- package/dist/icons/components/24px/Coin24pxF.js +41 -0
- package/dist/icons/components/24px/Contracts24px.js +34 -0
- package/dist/icons/components/24px/Contracts24pxF.js +32 -0
- package/dist/icons/components/24px/CopyClipboard24px.js +26 -0
- package/dist/icons/components/24px/Done24px.js +23 -0
- package/dist/icons/components/24px/Download24px.js +30 -0
- package/dist/icons/components/24px/DragHandle24px.js +21 -0
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +21 -0
- package/dist/icons/components/24px/DragHandleVertical24px.js +21 -0
- package/dist/icons/components/24px/DropdownArrowDown24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowRight24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowUp24px.js +23 -0
- package/dist/icons/components/24px/Dzen24px.js +21 -0
- package/dist/icons/components/24px/Euro24px.js +24 -0
- package/dist/icons/components/24px/Eye24px.js +34 -0
- package/dist/icons/components/24px/Failure24px.js +26 -0
- package/dist/icons/components/24px/Favorite24px.js +23 -0
- package/dist/icons/components/24px/Favorite24pxF.js +21 -0
- package/dist/icons/components/24px/Filter24px.js +21 -0
- package/dist/icons/components/24px/Flag24pxF.js +15 -0
- package/dist/icons/components/24px/Folder24px.js +23 -0
- package/dist/icons/components/24px/Fullscreen24px.js +23 -0
- package/dist/icons/components/24px/Galery24px.js +26 -0
- package/dist/icons/components/24px/Gear24px.js +34 -0
- package/dist/icons/components/24px/Gift24px.js +23 -0
- package/dist/icons/components/24px/Hint24px.js +26 -0
- package/dist/icons/components/24px/Home24px.js +34 -0
- package/dist/icons/components/24px/Home24pxF.js +23 -0
- package/dist/icons/components/24px/Hot24pxF.js +21 -0
- package/dist/icons/components/24px/Improvements24px.js +41 -0
- package/dist/icons/components/24px/Improvements24pxF.js +35 -0
- package/dist/icons/components/24px/Kebab24px.js +21 -0
- package/dist/icons/components/24px/List24px.js +21 -0
- package/dist/icons/components/24px/Location24px.js +34 -0
- package/dist/icons/components/24px/Map24px.js +23 -0
- package/dist/icons/components/24px/Menu24px.js +21 -0
- package/dist/icons/components/24px/MenuMobile24px.js +23 -0
- package/dist/icons/components/24px/Minus24px.js +23 -0
- package/dist/icons/components/24px/Navigation24px.js +23 -0
- package/dist/icons/components/24px/News24px.js +32 -0
- package/dist/icons/components/24px/News24pxF.js +23 -0
- package/dist/icons/components/24px/Number24px.js +32 -0
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +21 -0
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +23 -0
- package/dist/icons/components/24px/Orders24px.js +32 -0
- package/dist/icons/components/24px/Orders24pxF.js +26 -0
- package/dist/icons/components/24px/Pause24px.js +15 -0
- package/dist/icons/components/24px/Pen24px.js +34 -0
- package/dist/icons/components/24px/Pen24pxF.js +23 -0
- package/dist/icons/components/24px/Phone24px.js +23 -0
- package/dist/icons/components/24px/Play24px.js +21 -0
- package/dist/icons/components/24px/Plus24px.js +23 -0
- package/dist/icons/components/24px/Pound24px.js +24 -0
- package/dist/icons/components/24px/PriceDown24px.js +32 -0
- package/dist/icons/components/24px/PriceUp24px.js +32 -0
- package/dist/icons/components/24px/Question24px.js +32 -0
- package/dist/icons/components/24px/Question24pxF.js +23 -0
- package/dist/icons/components/24px/Rutube24px.js +21 -0
- package/dist/icons/components/24px/Scan24px.js +21 -0
- package/dist/icons/components/24px/Search24px.js +23 -0
- package/dist/icons/components/24px/Share24pxF.js +21 -0
- package/dist/icons/components/24px/ShopingCard24px.js +23 -0
- package/dist/icons/components/24px/Sort24px.js +21 -0
- package/dist/icons/components/24px/Star24px.js +23 -0
- package/dist/icons/components/24px/Star24pxF.js +21 -0
- package/dist/icons/components/24px/StarHalf24pxF.js +23 -0
- package/dist/icons/components/24px/Telegram24pxF.js +21 -0
- package/dist/icons/components/24px/TelegramPlane24pxF.js +21 -0
- package/dist/icons/components/24px/Timer24px.js +39 -0
- package/dist/icons/components/24px/Trash24px.js +43 -0
- package/dist/icons/components/24px/TwinArrowLeft24px.js +21 -0
- package/dist/icons/components/24px/TwinArrowRight24px.js +23 -0
- package/dist/icons/components/24px/USDollar24px.js +24 -0
- package/dist/icons/components/24px/Umbrella24px.js +23 -0
- package/dist/icons/components/24px/Umbrella24pxF.js +21 -0
- package/dist/icons/components/24px/UnionIcon24px.js +23 -0
- package/dist/icons/components/24px/User24px.js +32 -0
- package/dist/icons/components/24px/User24pxF.js +21 -0
- package/dist/icons/components/24px/Users24px.js +23 -0
- package/dist/icons/components/24px/Users24pxF.js +30 -0
- package/dist/icons/components/24px/VK24pxF.js +23 -0
- package/dist/icons/components/24px/Waiting24px.js +23 -0
- package/dist/icons/components/24px/Whatsapp24px.js +32 -0
- package/dist/icons/components/24px/WriteUs24px.js +26 -0
- package/dist/icons/components/24px/Youtube24pxF.js +21 -0
- package/dist/icons/components/24px/Yuan24px.js +24 -0
- package/dist/icons/components/32px/Accept32px.js +26 -0
- package/dist/icons/components/32px/Acts32px.js +39 -0
- package/dist/icons/components/32px/AdditionalServicess32px.js +23 -0
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +21 -0
- package/dist/icons/components/32px/Agents32px.js +35 -0
- package/dist/icons/components/32px/Alarm32px.js +24 -0
- package/dist/icons/components/32px/ArrowDown32px.js +23 -0
- package/dist/icons/components/32px/ArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/ArrowRight32px.js +23 -0
- package/dist/icons/components/32px/ArrowUp32px.js +23 -0
- package/dist/icons/components/32px/ArrowUpright32px.js +23 -0
- package/dist/icons/components/32px/AttachFile32px.js +23 -0
- package/dist/icons/components/32px/Bell32px.js +43 -0
- package/dist/icons/components/32px/Bell32pxF.js +26 -0
- package/dist/icons/components/32px/Calculator32px.js +23 -0
- package/dist/icons/components/32px/CalculatorLkk32px.js +32 -0
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +23 -0
- package/dist/icons/components/32px/Calendar32px.js +23 -0
- package/dist/icons/components/32px/Camera32px.js +35 -0
- package/dist/icons/components/32px/Car32px.js +34 -0
- package/dist/icons/components/32px/Car32pxF.js +26 -0
- package/dist/icons/components/32px/Catalog32px.js +23 -0
- package/dist/icons/components/32px/Certs32px.js +32 -0
- package/dist/icons/components/32px/Certs32pxF.js +32 -0
- package/dist/icons/components/32px/Change32px.js +23 -0
- package/dist/icons/components/32px/Chat32px.js +32 -0
- package/dist/icons/components/32px/Chat32pxF.js +23 -0
- package/dist/icons/components/32px/Chatbot32px.js +263 -0
- package/dist/icons/components/32px/Close32px.js +23 -0
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +21 -0
- package/dist/icons/components/32px/Coin32px.js +34 -0
- package/dist/icons/components/32px/Coin32pxF.js +32 -0
- package/dist/icons/components/32px/Contracts32px.js +34 -0
- package/dist/icons/components/32px/Contracts32pxF.js +32 -0
- package/dist/icons/components/32px/CopyClipboard32px.js +32 -0
- package/dist/icons/components/32px/Done32px.js +23 -0
- package/dist/icons/components/32px/Download32px.js +30 -0
- package/dist/icons/components/32px/DragHandle32px.js +21 -0
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +21 -0
- package/dist/icons/components/32px/DragHandleVertical32px.js +21 -0
- package/dist/icons/components/32px/DropdownArrowDown32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowRight32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowUp32px.js +15 -0
- package/dist/icons/components/32px/Dzen32px.js +21 -0
- package/dist/icons/components/32px/Euro32px.js +24 -0
- package/dist/icons/components/32px/Eye32px.js +34 -0
- package/dist/icons/components/32px/Failure32px.js +26 -0
- package/dist/icons/components/32px/Favorite32px.js +23 -0
- package/dist/icons/components/32px/Favorite32pxF.js +21 -0
- package/dist/icons/components/32px/Filter32px.js +21 -0
- package/dist/icons/components/32px/Flag32pxF.js +15 -0
- package/dist/icons/components/32px/Folder32px.js +23 -0
- package/dist/icons/components/32px/Fullscreen32px.js +23 -0
- package/dist/icons/components/32px/Galery32px.js +26 -0
- package/dist/icons/components/32px/Gear32px.js +34 -0
- package/dist/icons/components/32px/Gift32px.js +23 -0
- package/dist/icons/components/32px/Hint32px.js +26 -0
- package/dist/icons/components/32px/Home32px.js +26 -0
- package/dist/icons/components/32px/Home32pxF.js +23 -0
- package/dist/icons/components/32px/Hot32pxF.js +21 -0
- package/dist/icons/components/32px/Kebab32px.js +15 -0
- package/dist/icons/components/32px/List32px.js +21 -0
- package/dist/icons/components/32px/Location32px.js +34 -0
- package/dist/icons/components/32px/Map32px.js +23 -0
- package/dist/icons/components/32px/Menu32px.js +21 -0
- package/dist/icons/components/32px/MenuMobile32px.js +23 -0
- package/dist/icons/components/32px/Minus32px.js +23 -0
- package/dist/icons/components/32px/Navigation32px.js +23 -0
- package/dist/icons/components/32px/News32px.js +32 -0
- package/dist/icons/components/32px/News32pxF.js +23 -0
- package/dist/icons/components/32px/Number32px.js +32 -0
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +23 -0
- package/dist/icons/components/32px/Orders32px.js +41 -0
- package/dist/icons/components/32px/Orders32pxF.js +32 -0
- package/dist/icons/components/32px/Pause32px.js +15 -0
- package/dist/icons/components/32px/Pen32px.js +22 -0
- package/dist/icons/components/32px/Pen32pxF.js +23 -0
- package/dist/icons/components/32px/PersonalManager32px.js +110 -0
- package/dist/icons/components/32px/Phone32px.js +21 -0
- package/dist/icons/components/32px/Play32px.js +21 -0
- package/dist/icons/components/32px/Plus32px.js +23 -0
- package/dist/icons/components/32px/Pound32px.js +24 -0
- package/dist/icons/components/32px/PriceDown32px.js +43 -0
- package/dist/icons/components/32px/PriceUp32px.js +34 -0
- package/dist/icons/components/32px/Question32px.js +32 -0
- package/dist/icons/components/32px/Question32pxF.js +23 -0
- package/dist/icons/components/32px/Rutube32px.js +21 -0
- package/dist/icons/components/32px/Scan32px.js +21 -0
- package/dist/icons/components/32px/Search32px.js +23 -0
- package/dist/icons/components/32px/Share32pxF.js +21 -0
- package/dist/icons/components/32px/ShopimgCard32px.js +23 -0
- package/dist/icons/components/32px/Sort32px.js +21 -0
- package/dist/icons/components/32px/Star32px.js +23 -0
- package/dist/icons/components/32px/Star32pxF.js +21 -0
- package/dist/icons/components/32px/StarHalf32pxF.js +23 -0
- package/dist/icons/components/32px/Telegram32pxF.js +21 -0
- package/dist/icons/components/32px/TelegramPlane32pxF.js +21 -0
- package/dist/icons/components/32px/Timer32px.js +33 -0
- package/dist/icons/components/32px/Trash32px.js +43 -0
- package/dist/icons/components/32px/TwinArrowLeft32px.js +21 -0
- package/dist/icons/components/32px/TwinArrowRight32px.js +21 -0
- package/dist/icons/components/32px/USDollar32px.js +24 -0
- package/dist/icons/components/32px/Umbrella32px.js +23 -0
- package/dist/icons/components/32px/Umbrella32pxF.js +23 -0
- package/dist/icons/components/32px/UnionIcon32px.js +23 -0
- package/dist/icons/components/32px/User32px.js +32 -0
- package/dist/icons/components/32px/User32pxF.js +21 -0
- package/dist/icons/components/32px/Users32px.js +23 -0
- package/dist/icons/components/32px/Users32pxF.js +24 -0
- package/dist/icons/components/32px/VK32pxF.js +23 -0
- package/dist/icons/components/32px/Waiting32px.js +23 -0
- package/dist/icons/components/32px/Whatsapp32px.js +32 -0
- package/dist/icons/components/32px/WriteUs32px.js +26 -0
- package/dist/icons/components/32px/Youtube32pxF.js +21 -0
- package/dist/icons/components/32px/Yuan32px.js +24 -0
- package/dist/icons/components/Mans.js +21 -0
- package/dist/icons/components/Step.js +22 -0
- package/dist/icons/components/StepXL.js +32 -0
- package/dist/icons/components/auto-logo/ACE.js +21 -0
- package/dist/icons/components/auto-logo/Alim.js +23 -0
- package/dist/icons/components/auto-logo/Amur.js +23 -0
- package/dist/icons/components/auto-logo/Ankai.js +23 -0
- package/dist/icons/components/auto-logo/ArrowLength.js +21 -0
- package/dist/icons/components/auto-logo/Audi.js +20 -0
- package/dist/icons/components/auto-logo/BMW.js +41 -0
- package/dist/icons/components/auto-logo/BRP.js +32 -0
- package/dist/icons/components/auto-logo/Bomag.js +32 -0
- package/dist/icons/components/auto-logo/Case.js +23 -0
- package/dist/icons/components/auto-logo/Caterpillar.js +37 -0
- package/dist/icons/components/auto-logo/ChMZAP.js +46 -0
- package/dist/icons/components/auto-logo/ChTZ.js +32 -0
- package/dist/icons/components/auto-logo/Changan.js +21 -0
- package/dist/icons/components/auto-logo/Cherry.js +32 -0
- package/dist/icons/components/auto-logo/Citroen.js +23 -0
- package/dist/icons/components/auto-logo/DaewooFull.js +58 -0
- package/dist/icons/components/auto-logo/DaewooSymbol.js +51 -0
- package/dist/icons/components/auto-logo/Daf.js +23 -0
- package/dist/icons/components/auto-logo/Dayun.js +23 -0
- package/dist/icons/components/auto-logo/DongFeng.js +23 -0
- package/dist/icons/components/auto-logo/Ducati.js +32 -0
- package/dist/icons/components/auto-logo/Exeed.js +32 -0
- package/dist/icons/components/auto-logo/Faw.js +34 -0
- package/dist/icons/components/auto-logo/Fenix.js +114 -0
- package/dist/icons/components/auto-logo/Fiat.js +37 -0
- package/dist/icons/components/auto-logo/Ford.js +41 -0
- package/dist/icons/components/auto-logo/Foton.js +32 -0
- package/dist/icons/components/auto-logo/Gac.js +21 -0
- package/dist/icons/components/auto-logo/Gaz.js +59 -0
- package/dist/icons/components/auto-logo/Geely.js +25 -0
- package/dist/icons/components/auto-logo/Genesis.js +30 -0
- package/dist/icons/components/auto-logo/Gitte.js +23 -0
- package/dist/icons/components/auto-logo/Grunwald.js +23 -0
- package/dist/icons/components/auto-logo/HartungFull.js +32 -0
- package/dist/icons/components/auto-logo/HartungSymbol.js +32 -0
- package/dist/icons/components/auto-logo/Haval.js +23 -0
- package/dist/icons/components/auto-logo/Higer.js +23 -0
- package/dist/icons/components/auto-logo/Hitachi.js +21 -0
- package/dist/icons/components/auto-logo/Honda.js +37 -0
- package/dist/icons/components/auto-logo/Hongqi.js +30 -0
- package/dist/icons/components/auto-logo/Hongyan.js +23 -0
- package/dist/icons/components/auto-logo/Howo.js +46 -0
- package/dist/icons/components/auto-logo/Hyundai.js +23 -0
- package/dist/icons/components/auto-logo/Infiniti.js +21 -0
- package/dist/icons/components/auto-logo/Isuzu.js +23 -0
- package/dist/icons/components/auto-logo/Iveco.js +23 -0
- package/dist/icons/components/auto-logo/JCB.js +32 -0
- package/dist/icons/components/auto-logo/Jac.js +21 -0
- package/dist/icons/components/auto-logo/Juterborg.js +57 -0
- package/dist/icons/components/auto-logo/KIA.js +23 -0
- package/dist/icons/components/auto-logo/Kaiyi.js +23 -0
- package/dist/icons/components/auto-logo/Kamaz.js +35 -0
- package/dist/icons/components/auto-logo/Kassbohrer.js +23 -0
- package/dist/icons/components/auto-logo/Komatsu.js +21 -0
- package/dist/icons/components/auto-logo/Ktm.js +21 -0
- package/dist/icons/components/auto-logo/LCCE.js +37 -0
- package/dist/icons/components/auto-logo/Lada.js +23 -0
- package/dist/icons/components/auto-logo/Lexus.js +23 -0
- package/dist/icons/components/auto-logo/LiuGong.js +30 -0
- package/dist/icons/components/auto-logo/Lonking.js +30 -0
- package/dist/icons/components/auto-logo/Lovol.js +21 -0
- package/dist/icons/components/auto-logo/MTZBelarus.js +34 -0
- package/dist/icons/components/auto-logo/Man.js +21 -0
- package/dist/icons/components/auto-logo/Maz.js +32 -0
- package/dist/icons/components/auto-logo/MercedesBenz.js +23 -0
- package/dist/icons/components/auto-logo/Meusburger.js +23 -0
- package/dist/icons/components/auto-logo/Mitsubishi.js +21 -0
- package/dist/icons/components/auto-logo/NefAZ.js +30 -0
- package/dist/icons/components/auto-logo/NursanTrailer.js +21 -0
- package/dist/icons/components/auto-logo/Omoda.js +37 -0
- package/dist/icons/components/auto-logo/PSATss.js +37 -0
- package/dist/icons/components/auto-logo/Paz.js +23 -0
- package/dist/icons/components/auto-logo/Peugeot.js +21 -0
- package/dist/icons/components/auto-logo/Raskat.js +37 -0
- package/dist/icons/components/auto-logo/Renault.js +30 -0
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +32 -0
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +41 -0
- package/dist/icons/components/auto-logo/Sany.js +50 -0
- package/dist/icons/components/auto-logo/Scania.js +57 -0
- package/dist/icons/components/auto-logo/Schmitz.js +23 -0
- package/dist/icons/components/auto-logo/Shacman.js +30 -0
- package/dist/icons/components/auto-logo/Shantui.js +21 -0
- package/dist/icons/components/auto-logo/Sinanli.js +71 -0
- package/dist/icons/components/auto-logo/Sitrak.js +34 -0
- package/dist/icons/components/auto-logo/SobolIztechmash.js +60 -0
- package/dist/icons/components/auto-logo/Sokol.js +21 -0
- package/dist/icons/components/auto-logo/Sollers.js +23 -0
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +21 -0
- package/dist/icons/components/auto-logo/Tonar.js +23 -0
- package/dist/icons/components/auto-logo/Toyota.js +21 -0
- package/dist/icons/components/auto-logo/Trekol.js +34 -0
- package/dist/icons/components/auto-logo/UAT.js +21 -0
- package/dist/icons/components/auto-logo/Uaz.js +70 -0
- package/dist/icons/components/auto-logo/Ural.js +21 -0
- package/dist/icons/components/auto-logo/VIS.js +21 -0
- package/dist/icons/components/auto-logo/VKR.js +32 -0
- package/dist/icons/components/auto-logo/Volkswagen.js +23 -0
- package/dist/icons/components/auto-logo/Volvo.js +21 -0
- package/dist/icons/components/auto-logo/Wielton.js +21 -0
- package/dist/icons/components/auto-logo/XCMG.js +37 -0
- package/dist/icons/components/auto-logo/Yutong.js +72 -0
- package/dist/icons/components/auto-logo/Zoomlion.js +21 -0
- package/dist/icons/components/car-icons/AllMetal.js +32 -0
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +32 -0
- package/dist/icons/components/car-icons/AsphaltPaver.js +35 -0
- package/dist/icons/components/car-icons/Autotower.js +32 -0
- package/dist/icons/components/car-icons/Awning.js +33 -0
- package/dist/icons/components/car-icons/BackhoeLoader.js +39 -0
- package/dist/icons/components/car-icons/Buggy.js +32 -0
- package/dist/icons/components/car-icons/Bulldozer.js +34 -0
- package/dist/icons/components/car-icons/Bus.js +23 -0
- package/dist/icons/components/car-icons/BusBus.js +32 -0
- package/dist/icons/components/car-icons/BusMinibus.js +32 -0
- package/dist/icons/components/car-icons/BusShiftBuses.js +42 -0
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoAutotower.js +32 -0
- package/dist/icons/components/car-icons/CargoAwning.js +39 -0
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoDrillingRig.js +32 -0
- package/dist/icons/components/car-icons/CargoDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +39 -0
- package/dist/icons/components/car-icons/CargoIsothermal.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoard.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/CargoSortingTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTowTruck.js +32 -0
- package/dist/icons/components/car-icons/CargoTruckCrane.js +41 -0
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +32 -0
- package/dist/icons/components/car-icons/Clearance.js +23 -0
- package/dist/icons/components/car-icons/CombineHarvester.js +39 -0
- package/dist/icons/components/car-icons/Compartment.js +32 -0
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/ConcretePump.js +40 -0
- package/dist/icons/components/car-icons/Crossover.js +32 -0
- package/dist/icons/components/car-icons/DrillingRigg.js +32 -0
- package/dist/icons/components/car-icons/DumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Excavator.js +23 -0
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +39 -0
- package/dist/icons/components/car-icons/ForkliftTruck.js +32 -0
- package/dist/icons/components/car-icons/FrontLoader.js +39 -0
- package/dist/icons/components/car-icons/Hatchback.js +32 -0
- package/dist/icons/components/car-icons/IceRink.js +34 -0
- package/dist/icons/components/car-icons/Isothermal.js +39 -0
- package/dist/icons/components/car-icons/Liftback.js +23 -0
- package/dist/icons/components/car-icons/MiniEscalator.js +41 -0
- package/dist/icons/components/car-icons/MiniLoader.js +32 -0
- package/dist/icons/components/car-icons/MiningDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Minitractor.js +32 -0
- package/dist/icons/components/car-icons/Minivan.js +32 -0
- package/dist/icons/components/car-icons/MotorGrader.js +32 -0
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +24 -0
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +30 -0
- package/dist/icons/components/car-icons/OffRoadVehicle.js +32 -0
- package/dist/icons/components/car-icons/OnBoard.js +39 -0
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +39 -0
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +48 -0
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +39 -0
- package/dist/icons/components/car-icons/Pickup.js +23 -0
- package/dist/icons/components/car-icons/PickupTruck.js +32 -0
- package/dist/icons/components/car-icons/PilingInstallation.js +34 -0
- package/dist/icons/components/car-icons/PromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +46 -0
- package/dist/icons/components/car-icons/QuarryExcavator.js +26 -0
- package/dist/icons/components/car-icons/Scooter.js +30 -0
- package/dist/icons/components/car-icons/Sedan.js +32 -0
- package/dist/icons/components/car-icons/Snowmobile.js +39 -0
- package/dist/icons/components/car-icons/TankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TelescopicLoader.js +32 -0
- package/dist/icons/components/car-icons/TheLift.js +37 -0
- package/dist/icons/components/car-icons/TowTruck.js +32 -0
- package/dist/icons/components/car-icons/Tractor.js +32 -0
- package/dist/icons/components/car-icons/TractorTruck.js +39 -0
- package/dist/icons/components/car-icons/Trailerr.js +23 -0
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +41 -0
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +32 -0
- package/dist/icons/components/car-icons/TrailersContainerShip.js +40 -0
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +39 -0
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersIsothermal.js +39 -0
- package/dist/icons/components/car-icons/TrailersOther.js +39 -0
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TruckCrane.js +41 -0
- package/dist/icons/components/car-icons/Universal.js +32 -0
- package/dist/icons/components/car-icons/Van.js +23 -0
- package/dist/icons/components/car-icons/Ycles.js +42 -0
- package/dist/icons/components/car-parameters-icons/Acceleration.js +32 -0
- package/dist/icons/components/car-parameters-icons/Berths.js +37 -0
- package/dist/icons/components/car-parameters-icons/Bucket.js +21 -0
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +30 -0
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +23 -0
- package/dist/icons/components/car-parameters-icons/CarColor.js +32 -0
- package/dist/icons/components/car-parameters-icons/Cylinders.js +35 -0
- package/dist/icons/components/car-parameters-icons/Dimensions.js +32 -0
- package/dist/icons/components/car-parameters-icons/EngineType.js +21 -0
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +21 -0
- package/dist/icons/components/car-parameters-icons/GearType.js +24 -0
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +21 -0
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +21 -0
- package/dist/icons/components/car-parameters-icons/TrailerType.js +30 -0
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +30 -0
- package/dist/icons/components/car-parameters-icons/Weight.js +34 -0
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +30 -0
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +32 -0
- package/dist/icons/components/cars-stubus/Bike.js +23 -0
- package/dist/icons/components/cars-stubus/Car.js +23 -0
- package/dist/icons/components/cars-stubus/Equipment.js +23 -0
- package/dist/icons/components/cars-stubus/Truck.js +23 -0
- package/dist/icons/components/index.js +584 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +4 -0
- package/dist/index-BuVUKy18.js +2658 -0
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +188 -0
- package/dist/keyboard-B0lm_zyn.js +573 -0
- package/dist/label-y3ANLTNC.js +171 -0
- package/dist/open-closed-CdldUPoq.js +86 -0
- package/dist/portal-WDFNoIMz.js +1908 -0
- package/dist/styles.module-BlOA4RBL.js +28 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/propsWithAs.d.ts +15 -0
- package/dist/types/propsWithAs.js +1 -0
- package/dist/use-active-press-86hajhdd.js +31 -0
- package/dist/use-by-comparator-CVuf9KBq.js +16 -0
- package/dist/use-resolve-button-type-DhFdPxnv.js +12 -0
- package/dist/utils/UUID4.d.ts +1 -0
- package/dist/utils/UUID4.js +9 -0
- package/dist/utils/formating/Date.d.ts +2 -0
- package/dist/utils/formating/Date.js +24 -0
- package/dist/utils/formating/FileSize.d.ts +1 -0
- package/dist/utils/formating/FileSize.js +12 -0
- package/dist/utils/formating/Month.d.ts +8 -0
- package/dist/utils/formating/Month.js +79 -0
- package/dist/utils/formating/Numbers.d.ts +6 -0
- package/dist/utils/formating/Numbers.js +8 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +17 -0
- package/dist/variant.module-BXn4N1h0.js +12 -0
- package/package.json +1 -1
@@ -0,0 +1,313 @@
|
|
1
|
+
import { jsxs as X, jsx as D } from "react/jsx-runtime";
|
2
|
+
import { c as J } from "../../index-DIxK0V-G.js";
|
3
|
+
import * as C from "react";
|
4
|
+
import M, { useRef as z, useState as Q, createContext as ie, useReducer as ke, useMemo as R, useId as ue, useContext as ce, forwardRef as ye, useEffect as Z } from "react";
|
5
|
+
import { ETabTrailSize as Se } from "./constants.js";
|
6
|
+
import { TabButtons as Ae } from "./TabButtons/TabButtons.js";
|
7
|
+
import { ETabTrailButtonVariant as Fe } from "./TabButtons/constants.js";
|
8
|
+
import { NotificationBadge as De } from "../NotificationBadge/NotificationBadge.js";
|
9
|
+
import { n as U, M as oe, W as V, s as K, y as q, o as N, H, $ as de, b as Ne, D as fe, a as G, u as Re, c as I, t as Le } from "../../keyboard-B0lm_zyn.js";
|
10
|
+
import { w as Oe } from "../../use-active-press-86hajhdd.js";
|
11
|
+
import { e as Me } from "../../use-resolve-button-type-DhFdPxnv.js";
|
12
|
+
import { T as pe, s as Ce } from "../../hidden-DbgtYPOH.js";
|
13
|
+
import { _ as W, T as Y, P as O, F as P } from "../../focus-management-DE4t_lW3.js";
|
14
|
+
import '../../assets/TabTrail.css';function Be() {
|
15
|
+
let e = z(!1);
|
16
|
+
return U(() => (e.current = !0, () => {
|
17
|
+
e.current = !1;
|
18
|
+
}), []), e;
|
19
|
+
}
|
20
|
+
function We({ onFocus: e }) {
|
21
|
+
let [t, n] = Q(!0), r = Be();
|
22
|
+
return t ? M.createElement(pe, { as: "button", type: "button", features: Ce.Focusable, onFocus: (s) => {
|
23
|
+
s.preventDefault();
|
24
|
+
let l, o = 50;
|
25
|
+
function b() {
|
26
|
+
if (o-- <= 0) {
|
27
|
+
l && cancelAnimationFrame(l);
|
28
|
+
return;
|
29
|
+
}
|
30
|
+
if (e()) {
|
31
|
+
if (cancelAnimationFrame(l), !r.current) return;
|
32
|
+
n(!1);
|
33
|
+
return;
|
34
|
+
}
|
35
|
+
l = requestAnimationFrame(b);
|
36
|
+
}
|
37
|
+
l = requestAnimationFrame(b);
|
38
|
+
} }) : null;
|
39
|
+
}
|
40
|
+
const be = C.createContext(null);
|
41
|
+
function Ge() {
|
42
|
+
return { groups: /* @__PURE__ */ new Map(), get(e, t) {
|
43
|
+
var n;
|
44
|
+
let r = this.groups.get(e);
|
45
|
+
r || (r = /* @__PURE__ */ new Map(), this.groups.set(e, r));
|
46
|
+
let s = (n = r.get(t)) != null ? n : 0;
|
47
|
+
r.set(t, s + 1);
|
48
|
+
let l = Array.from(r.keys()).indexOf(t);
|
49
|
+
function o() {
|
50
|
+
let b = r.get(t);
|
51
|
+
b > 1 ? r.set(t, b - 1) : r.delete(t);
|
52
|
+
}
|
53
|
+
return [l, o];
|
54
|
+
} };
|
55
|
+
}
|
56
|
+
function ze({ children: e }) {
|
57
|
+
let t = C.useRef(Ge());
|
58
|
+
return C.createElement(be.Provider, { value: t }, e);
|
59
|
+
}
|
60
|
+
function me(e) {
|
61
|
+
let t = C.useContext(be);
|
62
|
+
if (!t) throw new Error("You must wrap your component in a <StableCollection>");
|
63
|
+
let n = C.useId(), [r, s] = t.current.get(e, n);
|
64
|
+
return C.useEffect(() => s, []), r;
|
65
|
+
}
|
66
|
+
var Ue = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ue || {}), Ve = ((e) => (e[e.Less = -1] = "Less", e[e.Equal = 0] = "Equal", e[e.Greater = 1] = "Greater", e))(Ve || {}), qe = ((e) => (e[e.SetSelectedIndex = 0] = "SetSelectedIndex", e[e.RegisterTab = 1] = "RegisterTab", e[e.UnregisterTab = 2] = "UnregisterTab", e[e.RegisterPanel = 3] = "RegisterPanel", e[e.UnregisterPanel = 4] = "UnregisterPanel", e))(qe || {});
|
67
|
+
let He = { 0(e, t) {
|
68
|
+
var n;
|
69
|
+
let r = W(e.tabs, (d) => d.current), s = W(e.panels, (d) => d.current), l = r.filter((d) => {
|
70
|
+
var x;
|
71
|
+
return !((x = d.current) != null && x.hasAttribute("disabled"));
|
72
|
+
}), o = { ...e, tabs: r, panels: s };
|
73
|
+
if (t.index < 0 || t.index > r.length - 1) {
|
74
|
+
let d = G(Math.sign(t.index - e.selectedIndex), { [-1]: () => 1, 0: () => G(Math.sign(t.index), { [-1]: () => 0, 0: () => 0, 1: () => 1 }), 1: () => 0 });
|
75
|
+
if (l.length === 0) return o;
|
76
|
+
let x = G(d, { 0: () => r.indexOf(l[0]), 1: () => r.indexOf(l[l.length - 1]) });
|
77
|
+
return { ...o, selectedIndex: x === -1 ? e.selectedIndex : x };
|
78
|
+
}
|
79
|
+
let b = r.slice(0, t.index), T = [...r.slice(t.index), ...b].find((d) => l.includes(d));
|
80
|
+
if (!T) return o;
|
81
|
+
let v = (n = r.indexOf(T)) != null ? n : e.selectedIndex;
|
82
|
+
return v === -1 && (v = e.selectedIndex), { ...o, selectedIndex: v };
|
83
|
+
}, 1(e, t) {
|
84
|
+
if (e.tabs.includes(t.tab)) return e;
|
85
|
+
let n = e.tabs[e.selectedIndex], r = W([...e.tabs, t.tab], (l) => l.current), s = e.selectedIndex;
|
86
|
+
return e.info.current.isControlled || (s = r.indexOf(n), s === -1 && (s = e.selectedIndex)), { ...e, tabs: r, selectedIndex: s };
|
87
|
+
}, 2(e, t) {
|
88
|
+
return { ...e, tabs: e.tabs.filter((n) => n !== t.tab) };
|
89
|
+
}, 3(e, t) {
|
90
|
+
return e.panels.includes(t.panel) ? e : { ...e, panels: W([...e.panels, t.panel], (n) => n.current) };
|
91
|
+
}, 4(e, t) {
|
92
|
+
return { ...e, panels: e.panels.filter((n) => n !== t.panel) };
|
93
|
+
} }, ee = ie(null);
|
94
|
+
ee.displayName = "TabsDataContext";
|
95
|
+
function B(e) {
|
96
|
+
let t = ce(ee);
|
97
|
+
if (t === null) {
|
98
|
+
let n = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
|
99
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, B), n;
|
100
|
+
}
|
101
|
+
return t;
|
102
|
+
}
|
103
|
+
let te = ie(null);
|
104
|
+
te.displayName = "TabsActionsContext";
|
105
|
+
function re(e) {
|
106
|
+
let t = ce(te);
|
107
|
+
if (t === null) {
|
108
|
+
let n = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
|
109
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, re), n;
|
110
|
+
}
|
111
|
+
return t;
|
112
|
+
}
|
113
|
+
function je(e, t) {
|
114
|
+
return G(t.type, He, e, t);
|
115
|
+
}
|
116
|
+
let Je = "div";
|
117
|
+
function Ke(e, t) {
|
118
|
+
let { defaultIndex: n = 0, vertical: r = !1, manual: s = !1, onChange: l, selectedIndex: o = null, ...b } = e;
|
119
|
+
const T = r ? "vertical" : "horizontal", v = s ? "manual" : "auto";
|
120
|
+
let d = o !== null, x = K({ isControlled: d }), _ = q(t), [i, c] = ke(je, { info: x, selectedIndex: o ?? n, tabs: [], panels: [] }), S = R(() => ({ selectedIndex: i.selectedIndex }), [i.selectedIndex]), A = K(l || (() => {
|
121
|
+
})), h = K(i.tabs), f = R(() => ({ orientation: T, activation: v, ...i }), [T, v, i]), E = N((p) => (c({ type: 1, tab: p }), () => c({ type: 2, tab: p }))), F = N((p) => (c({ type: 3, panel: p }), () => c({ type: 4, panel: p }))), g = N((p) => {
|
122
|
+
a.current !== p && A.current(p), d || c({ type: 0, index: p });
|
123
|
+
}), a = K(d ? e.selectedIndex : i.selectedIndex), m = R(() => ({ registerTab: E, registerPanel: F, change: g }), []);
|
124
|
+
U(() => {
|
125
|
+
c({ type: 0, index: o ?? n });
|
126
|
+
}, [o]), U(() => {
|
127
|
+
if (a.current === void 0 || i.tabs.length <= 0) return;
|
128
|
+
let p = W(i.tabs, (y) => y.current);
|
129
|
+
p.some((y, L) => i.tabs[L] !== y) && g(p.indexOf(i.tabs[a.current]));
|
130
|
+
});
|
131
|
+
let k = { ref: _ };
|
132
|
+
return M.createElement(ze, null, M.createElement(te.Provider, { value: m }, M.createElement(ee.Provider, { value: f }, f.tabs.length <= 0 && M.createElement(We, { onFocus: () => {
|
133
|
+
var p, y;
|
134
|
+
for (let L of h.current) if (((p = L.current) == null ? void 0 : p.tabIndex) === 0) return (y = L.current) == null || y.focus(), !0;
|
135
|
+
return !1;
|
136
|
+
} }), H({ ourProps: k, theirProps: b, slot: S, defaultTag: Je, name: "Tabs" }))));
|
137
|
+
}
|
138
|
+
let Ye = "div";
|
139
|
+
function Qe(e, t) {
|
140
|
+
let { orientation: n, selectedIndex: r } = B("Tab.List"), s = q(t), l = R(() => ({ selectedIndex: r }), [r]);
|
141
|
+
return H({ ourProps: { ref: s, role: "tablist", "aria-orientation": n }, theirProps: e, slot: l, defaultTag: Ye, name: "Tabs.List" });
|
142
|
+
}
|
143
|
+
let Xe = "button";
|
144
|
+
function Ze(e, t) {
|
145
|
+
var n, r;
|
146
|
+
let s = ue(), { id: l = `headlessui-tabs-tab-${s}`, disabled: o = !1, autoFocus: b = !1, ...T } = e, { orientation: v, activation: d, selectedIndex: x, tabs: _, panels: i } = B("Tab"), c = re("Tab"), S = B("Tab"), [A, h] = Q(null), f = z(null), E = q(f, t, h);
|
147
|
+
U(() => c.registerTab(f), [c, f]);
|
148
|
+
let F = me("tabs"), g = _.indexOf(f);
|
149
|
+
g === -1 && (g = F);
|
150
|
+
let a = g === x, m = N((u) => {
|
151
|
+
var $;
|
152
|
+
let j = u();
|
153
|
+
if (j === Y.Success && d === "auto") {
|
154
|
+
let _e = ($ = Re(f)) == null ? void 0 : $.activeElement, le = S.tabs.findIndex((Ee) => Ee.current === _e);
|
155
|
+
le !== -1 && c.change(le);
|
156
|
+
}
|
157
|
+
return j;
|
158
|
+
}), k = N((u) => {
|
159
|
+
let $ = _.map((j) => j.current).filter(Boolean);
|
160
|
+
if (u.key === I.Space || u.key === I.Enter) {
|
161
|
+
u.preventDefault(), u.stopPropagation(), c.change(g);
|
162
|
+
return;
|
163
|
+
}
|
164
|
+
switch (u.key) {
|
165
|
+
case I.Home:
|
166
|
+
case I.PageUp:
|
167
|
+
return u.preventDefault(), u.stopPropagation(), m(() => O($, P.First));
|
168
|
+
case I.End:
|
169
|
+
case I.PageDown:
|
170
|
+
return u.preventDefault(), u.stopPropagation(), m(() => O($, P.Last));
|
171
|
+
}
|
172
|
+
if (m(() => G(v, { vertical() {
|
173
|
+
return u.key === I.ArrowUp ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowDown ? O($, P.Next | P.WrapAround) : Y.Error;
|
174
|
+
}, horizontal() {
|
175
|
+
return u.key === I.ArrowLeft ? O($, P.Previous | P.WrapAround) : u.key === I.ArrowRight ? O($, P.Next | P.WrapAround) : Y.Error;
|
176
|
+
} })) === Y.Success) return u.preventDefault();
|
177
|
+
}), p = z(!1), y = N(() => {
|
178
|
+
var u;
|
179
|
+
p.current || (p.current = !0, (u = f.current) == null || u.focus({ preventScroll: !0 }), c.change(g), Le(() => {
|
180
|
+
p.current = !1;
|
181
|
+
}));
|
182
|
+
}), L = N((u) => {
|
183
|
+
u.preventDefault();
|
184
|
+
}), { isFocusVisible: ne, focusProps: Te } = de({ autoFocus: b }), { isHovered: ae, hoverProps: Ie } = Ne({ isDisabled: o }), { pressed: se, pressProps: Pe } = Oe({ disabled: o }), we = R(() => ({ selected: a, hover: ae, active: se, focus: ne, autofocus: b, disabled: o }), [a, ae, ne, se, b, o]), $e = fe({ ref: E, onKeyDown: k, onMouseDown: L, onClick: y, id: l, role: "tab", type: Me(e, A), "aria-controls": (r = (n = i[g]) == null ? void 0 : n.current) == null ? void 0 : r.id, "aria-selected": a, tabIndex: a ? 0 : -1, disabled: o || void 0, autoFocus: b }, Te, Ie, Pe);
|
185
|
+
return H({ ourProps: $e, theirProps: T, slot: we, defaultTag: Xe, name: "Tabs.Tab" });
|
186
|
+
}
|
187
|
+
let et = "div";
|
188
|
+
function tt(e, t) {
|
189
|
+
let { selectedIndex: n } = B("Tab.Panels"), r = q(t), s = R(() => ({ selectedIndex: n }), [n]);
|
190
|
+
return H({ ourProps: { ref: r }, theirProps: e, slot: s, defaultTag: et, name: "Tabs.Panels" });
|
191
|
+
}
|
192
|
+
let rt = "div", nt = oe.RenderStrategy | oe.Static;
|
193
|
+
function at(e, t) {
|
194
|
+
var n, r, s, l;
|
195
|
+
let o = ue(), { id: b = `headlessui-tabs-panel-${o}`, tabIndex: T = 0, ...v } = e, { selectedIndex: d, tabs: x, panels: _ } = B("Tab.Panel"), i = re("Tab.Panel"), c = z(null), S = q(c, t);
|
196
|
+
U(() => i.registerPanel(c), [i, c]);
|
197
|
+
let A = me("panels"), h = _.indexOf(c);
|
198
|
+
h === -1 && (h = A);
|
199
|
+
let f = h === d, { isFocusVisible: E, focusProps: F } = de(), g = R(() => ({ selected: f, focus: E }), [f, E]), a = fe({ ref: S, id: b, role: "tabpanel", "aria-labelledby": (r = (n = x[h]) == null ? void 0 : n.current) == null ? void 0 : r.id, tabIndex: f ? T : -1 }, F);
|
200
|
+
return !f && ((s = v.unmount) == null || s) && !((l = v.static) != null && l) ? M.createElement(pe, { "aria-hidden": "true", ...a }) : H({ ourProps: a, theirProps: v, slot: g, defaultTag: rt, features: nt, visible: f, name: "Tabs.Panel" });
|
201
|
+
}
|
202
|
+
let st = V(Ze), ve = V(Ke), xe = V(Qe), he = V(tt), ge = V(at), lt = Object.assign(st, { Group: ve, List: xe, Panels: he, Panel: ge });
|
203
|
+
const ot = "_container_rlke5_2", it = "_group_rlke5_6", ut = "_tab_rlke5_16", ct = "_list_rlke5_51", dt = "_tabs_rlke5_62", ft = "_buttons_rlke5_68", pt = "_m_rlke5_75", bt = "_s_rlke5_83", w = {
|
204
|
+
container: ot,
|
205
|
+
group: it,
|
206
|
+
"group-inner": "_group-inner_rlke5_9",
|
207
|
+
tab: ut,
|
208
|
+
list: ct,
|
209
|
+
tabs: dt,
|
210
|
+
buttons: ft,
|
211
|
+
m: pt,
|
212
|
+
s: bt
|
213
|
+
}, kt = ye(
|
214
|
+
({
|
215
|
+
categories: e,
|
216
|
+
size: t = Se.M,
|
217
|
+
showButtons: n = !0,
|
218
|
+
className: r,
|
219
|
+
selectedTabIndex: s,
|
220
|
+
onTabChange: l,
|
221
|
+
buttonsVariant: o = Fe.WHITE,
|
222
|
+
autoShowButtons: b = !1,
|
223
|
+
tabClassName: T,
|
224
|
+
listClassName: v,
|
225
|
+
panelClassName: d,
|
226
|
+
buttonsClassName: x
|
227
|
+
}, _) => {
|
228
|
+
const [i, c] = Q(s || 0), [S, A] = Q(!1), h = z(null);
|
229
|
+
Z(() => {
|
230
|
+
s !== void 0 && s !== i && c(s);
|
231
|
+
}, [i, s]);
|
232
|
+
const f = (a) => {
|
233
|
+
c(a), l == null || l(a);
|
234
|
+
}, E = () => {
|
235
|
+
const a = (i + 1) % e.length;
|
236
|
+
f(a);
|
237
|
+
}, F = () => {
|
238
|
+
const a = (i - 1 + e.length) % e.length;
|
239
|
+
f(a);
|
240
|
+
};
|
241
|
+
Z(() => {
|
242
|
+
var m;
|
243
|
+
const a = (m = h.current) == null ? void 0 : m.querySelector(
|
244
|
+
`.${w.tab}[data-active="true"]`
|
245
|
+
);
|
246
|
+
a && typeof a.scrollIntoView == "function" && a.scrollIntoView({
|
247
|
+
behavior: "smooth",
|
248
|
+
block: "nearest",
|
249
|
+
inline: "center"
|
250
|
+
});
|
251
|
+
}, [i]), Z(() => {
|
252
|
+
const a = () => {
|
253
|
+
if (h.current) {
|
254
|
+
const { scrollWidth: m, clientWidth: k } = h.current;
|
255
|
+
A(m > k);
|
256
|
+
}
|
257
|
+
};
|
258
|
+
return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
259
|
+
}, [e]);
|
260
|
+
const g = b ? S : n;
|
261
|
+
return /* @__PURE__ */ X(
|
262
|
+
ve,
|
263
|
+
{
|
264
|
+
ref: _,
|
265
|
+
className: J(w.group, w[t], r),
|
266
|
+
selectedIndex: i,
|
267
|
+
onChange: f,
|
268
|
+
children: [
|
269
|
+
/* @__PURE__ */ X("div", { className: w["group-inner"], children: [
|
270
|
+
/* @__PURE__ */ D(
|
271
|
+
xe,
|
272
|
+
{
|
273
|
+
ref: h,
|
274
|
+
className: J(w.list, v),
|
275
|
+
children: /* @__PURE__ */ D("div", { className: w.tabs, children: e.map(({ name: a, notificationCount: m }, k) => /* @__PURE__ */ X(
|
276
|
+
lt,
|
277
|
+
{
|
278
|
+
className: `${w.tab} ${i === k ? 'data-active="true"' : ""} ${T || ""}`,
|
279
|
+
"data-active": i === k,
|
280
|
+
children: [
|
281
|
+
a,
|
282
|
+
m && /* @__PURE__ */ D(De, { count: m, size: "m" })
|
283
|
+
]
|
284
|
+
},
|
285
|
+
a
|
286
|
+
)) })
|
287
|
+
}
|
288
|
+
),
|
289
|
+
g && /* @__PURE__ */ D("div", { className: J(w.buttons, x), children: /* @__PURE__ */ D(
|
290
|
+
Ae,
|
291
|
+
{
|
292
|
+
handlePrevTab: F,
|
293
|
+
handleNextTab: E,
|
294
|
+
buttonsVariant: o
|
295
|
+
}
|
296
|
+
) })
|
297
|
+
] }),
|
298
|
+
/* @__PURE__ */ D(he, { className: w.panels, children: e.map(({ name: a, content: m }) => /* @__PURE__ */ D(
|
299
|
+
ge,
|
300
|
+
{
|
301
|
+
className: J(w.panel, d),
|
302
|
+
children: m
|
303
|
+
},
|
304
|
+
a
|
305
|
+
)) })
|
306
|
+
]
|
307
|
+
}
|
308
|
+
);
|
309
|
+
}
|
310
|
+
);
|
311
|
+
export {
|
312
|
+
kt as TabTrail
|
313
|
+
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { ETagSize, ETagType } from './constants';
|
3
|
+
|
4
|
+
export type TProps = {
|
5
|
+
/**
|
6
|
+
* Класс, применяемый к корневому элементу
|
7
|
+
*/
|
8
|
+
rootClassName?: string;
|
9
|
+
/**
|
10
|
+
* Класс, применяемый к контентному элементу
|
11
|
+
*/
|
12
|
+
innerClassName?: string;
|
13
|
+
/**
|
14
|
+
* Класс, применяемый к контентному элементу
|
15
|
+
*/
|
16
|
+
size?: ETagSize;
|
17
|
+
/**
|
18
|
+
* Класс, применяемый к корневому элемент
|
19
|
+
*/
|
20
|
+
children?: ReactNode;
|
21
|
+
/**
|
22
|
+
* Класс, применяемый к корневому элемент
|
23
|
+
*/
|
24
|
+
disabled?: boolean;
|
25
|
+
/**
|
26
|
+
* Определяет какой тип элемента будет создан, по умолчанию - button
|
27
|
+
*/
|
28
|
+
elementType?: ETagType;
|
29
|
+
/**
|
30
|
+
* Цвет фона, при outline и текста
|
31
|
+
*/
|
32
|
+
backgroundColor?: string;
|
33
|
+
/**
|
34
|
+
* Цвет текста (если не outline)
|
35
|
+
*/
|
36
|
+
color?: string;
|
37
|
+
/**
|
38
|
+
* Определяет должен быть тег в стилистике outline или нет
|
39
|
+
*/
|
40
|
+
outline?: boolean;
|
41
|
+
};
|
42
|
+
export declare const Tag: import('react').ForwardRefExoticComponent<TProps & import('react').RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
2
|
+
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as N } from "react";
|
4
|
+
import { ETagSize as j, ETagType as n } from "./constants.js";
|
5
|
+
import '../../assets/Tag.css';const S = "_container_pnj33_2", g = "_disabled_pnj33_25", C = "_inner_pnj33_30", u = "_M_pnj33_38", M = "_S_pnj33_42", h = "_XS_pnj33_50", o = {
|
6
|
+
container: S,
|
7
|
+
disabled: g,
|
8
|
+
inner: C,
|
9
|
+
M: u,
|
10
|
+
S: M,
|
11
|
+
XS: h
|
12
|
+
}, U = N(
|
13
|
+
(t, c) => {
|
14
|
+
const {
|
15
|
+
rootClassName: l,
|
16
|
+
innerClassName: i,
|
17
|
+
children: _,
|
18
|
+
size: d = j.M,
|
19
|
+
disabled: p = !1,
|
20
|
+
elementType: m = n.BUTTON,
|
21
|
+
backgroundColor: e = "",
|
22
|
+
color: T = "",
|
23
|
+
outline: r = !1,
|
24
|
+
...b
|
25
|
+
} = t, f = m === n.BUTTON ? n.BUTTON : n.DIV;
|
26
|
+
return /* @__PURE__ */ s(
|
27
|
+
f,
|
28
|
+
{
|
29
|
+
className: a(o.container, o[d], l, {
|
30
|
+
[o.disabled]: p
|
31
|
+
}),
|
32
|
+
ref: c,
|
33
|
+
style: {
|
34
|
+
backgroundColor: r ? "transparent" : e,
|
35
|
+
borderColor: e,
|
36
|
+
color: r ? e : T
|
37
|
+
},
|
38
|
+
...b,
|
39
|
+
children: /* @__PURE__ */ s("span", { className: a(o.inner, i), children: _ })
|
40
|
+
}
|
41
|
+
);
|
42
|
+
}
|
43
|
+
);
|
44
|
+
export {
|
45
|
+
U as Tag
|
46
|
+
};
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { TTextAreaProps } from './types';
|
2
|
+
import { TAdditionalProps } from '../Input';
|
3
|
+
|
4
|
+
export type TProps = TAdditionalProps & TTextAreaProps;
|
5
|
+
export declare const TextArea: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<TAdditionalProps & Omit<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "readOnly"> & {
|
6
|
+
inputSize?: `${import('./constants').ETextAreaInputSize}` | import('./constants').ETextAreaInputSize;
|
7
|
+
} & import('react').RefAttributes<HTMLTextAreaElement>>>;
|