mimir-ui-kit 1.38.36 → 1.38.38
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 +114 -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,224 @@
|
|
1
|
+
import { jsxs as B, jsx as r } from "react/jsx-runtime";
|
2
|
+
import { c as o } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as Q, forwardRef as U, useState as F, useRef as X, useEffect as Y } from "react";
|
4
|
+
import { useAutoResizeTextArea as Z } from "./hooks.js";
|
5
|
+
import { useMergeRefs as $ } from "../../hooks/useMergeRefs/useMergeRefs.js";
|
6
|
+
import { Icon as ee } from "../../icons/Icon.js";
|
7
|
+
import { Button as te } from "../Button/Button.js";
|
8
|
+
import { c as e } from "../../Input-DAmc_HxO.js";
|
9
|
+
import { EInputVariant as ae } from "../Input/constants.js";
|
10
|
+
import '../../assets/TextArea.css';const re = "_textarea_rk5xe_2", se = "_clear_rk5xe_11", le = "_label_rk5xe_26", ne = "_s_rk5xe_71", oe = "_m_rk5xe_84", ce = "_l_rk5xe_26", t = {
|
11
|
+
"textarea-wrapper": "_textarea-wrapper_rk5xe_2",
|
12
|
+
textarea: re,
|
13
|
+
"has-label": "_has-label_rk5xe_8",
|
14
|
+
clear: se,
|
15
|
+
"required-mark": "_required-mark_rk5xe_15",
|
16
|
+
label: le,
|
17
|
+
"label-text": "_label-text_rk5xe_42",
|
18
|
+
"has-right-slot": "_has-right-slot_rk5xe_46",
|
19
|
+
"has-required": "_has-required_rk5xe_49",
|
20
|
+
"has-left-slot": "_has-left-slot_rk5xe_55",
|
21
|
+
"active-label": "_active-label_rk5xe_58",
|
22
|
+
s: ne,
|
23
|
+
m: oe,
|
24
|
+
l: ce,
|
25
|
+
"input-s": "_input-s_rk5xe_110",
|
26
|
+
"input-m": "_input-m_rk5xe_118",
|
27
|
+
"input-l": "_input-l_rk5xe_126"
|
28
|
+
}, j = (a) => {
|
29
|
+
var p, c;
|
30
|
+
if (!a)
|
31
|
+
return null;
|
32
|
+
switch (a.addonType) {
|
33
|
+
case "icon": {
|
34
|
+
const x = (p = a.addonContent) == null ? void 0 : p.includes("16px"), N = (c = a.addonContent) == null ? void 0 : c.includes("24px");
|
35
|
+
return /* @__PURE__ */ r(
|
36
|
+
ee,
|
37
|
+
{
|
38
|
+
style: {
|
39
|
+
"--icon-size": o({
|
40
|
+
"16px": x,
|
41
|
+
"24px": N
|
42
|
+
})
|
43
|
+
},
|
44
|
+
className: e["addon-icon"],
|
45
|
+
iconName: a.addonContent
|
46
|
+
}
|
47
|
+
);
|
48
|
+
}
|
49
|
+
case "text":
|
50
|
+
return a.addonContent;
|
51
|
+
default:
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
}, ie = Q(
|
55
|
+
U(
|
56
|
+
(a, p) => {
|
57
|
+
const {
|
58
|
+
value: c,
|
59
|
+
className: x,
|
60
|
+
wrapperClassName: N,
|
61
|
+
variant: R = ae.DefaultGray,
|
62
|
+
autofocus: g,
|
63
|
+
readonly: s,
|
64
|
+
status: T,
|
65
|
+
id: I,
|
66
|
+
onFocus: C,
|
67
|
+
onBlur: q,
|
68
|
+
label: u,
|
69
|
+
onChange: i,
|
70
|
+
withClearButton: E,
|
71
|
+
disabled: d,
|
72
|
+
rightAddon: L,
|
73
|
+
leftAddon: S,
|
74
|
+
size: m = "m",
|
75
|
+
inputSize: v,
|
76
|
+
required: h,
|
77
|
+
...D
|
78
|
+
} = a, [_, A] = F(g), [f, w] = F(!!c), l = X(null), G = $(l, p);
|
79
|
+
Y(() => {
|
80
|
+
g && A(!0);
|
81
|
+
}, [g]);
|
82
|
+
const V = Z(
|
83
|
+
l.current,
|
84
|
+
v
|
85
|
+
), M = (n) => {
|
86
|
+
const z = n.currentTarget.value;
|
87
|
+
q == null || q(n), A(!1), w(!!z);
|
88
|
+
}, O = (n) => {
|
89
|
+
s || (A(!0), C == null || C(n));
|
90
|
+
}, P = () => {
|
91
|
+
l != null && l.current && (l.current.value = "", l.current.focus(), w(!1), V(), i == null || i({
|
92
|
+
target: { value: "" }
|
93
|
+
}));
|
94
|
+
}, W = (n) => {
|
95
|
+
const z = n.target.value;
|
96
|
+
w(!!z), V(), i == null || i(n);
|
97
|
+
}, b = j(S), k = j(L), H = {
|
98
|
+
[e.readonly]: d || s,
|
99
|
+
[e.focused]: _,
|
100
|
+
[e.disabled]: d || s,
|
101
|
+
[e["has-left-slot"]]: !!b,
|
102
|
+
[e["has-right-slot"]]: !!k,
|
103
|
+
[t["has-label"]]: !!u
|
104
|
+
}, y = _ || f || !!c, J = o(
|
105
|
+
e.label,
|
106
|
+
t.label,
|
107
|
+
{
|
108
|
+
[t["active-label"]]: y,
|
109
|
+
[e.disabled]: d || s,
|
110
|
+
[t["has-left-slot"]]: !!b,
|
111
|
+
[t["has-right-slot"]]: !!k,
|
112
|
+
[t["has-required"]]: h
|
113
|
+
},
|
114
|
+
x,
|
115
|
+
e[m]
|
116
|
+
), K = o(
|
117
|
+
t.textarea,
|
118
|
+
e.input,
|
119
|
+
H,
|
120
|
+
x,
|
121
|
+
[
|
122
|
+
e[R],
|
123
|
+
t[m],
|
124
|
+
e[m],
|
125
|
+
t[v ?? ""],
|
126
|
+
e[T ?? ""]
|
127
|
+
]
|
128
|
+
);
|
129
|
+
return /* @__PURE__ */ B(
|
130
|
+
"div",
|
131
|
+
{
|
132
|
+
className: o(
|
133
|
+
e["input-wrapper"],
|
134
|
+
t["textarea-wrapper"],
|
135
|
+
e[R],
|
136
|
+
e[T ?? ""],
|
137
|
+
t[m],
|
138
|
+
e[m],
|
139
|
+
t[v ?? ""],
|
140
|
+
{
|
141
|
+
[e.disabled]: d || s,
|
142
|
+
[e.focused]: _
|
143
|
+
},
|
144
|
+
N
|
145
|
+
),
|
146
|
+
children: [
|
147
|
+
u && /* @__PURE__ */ B("label", { htmlFor: I, className: J, children: [
|
148
|
+
/* @__PURE__ */ r("span", { className: t["label-text"], children: u }),
|
149
|
+
h && (f || _) && /* @__PURE__ */ r(
|
150
|
+
"span",
|
151
|
+
{
|
152
|
+
className: t["required-mark"],
|
153
|
+
"data-testid": "required-mark"
|
154
|
+
}
|
155
|
+
)
|
156
|
+
] }),
|
157
|
+
b && /* @__PURE__ */ r(
|
158
|
+
"span",
|
159
|
+
{
|
160
|
+
className: o(e["left-slot"], {
|
161
|
+
[e.focused]: y,
|
162
|
+
[e["has-label"]]: !!u
|
163
|
+
}),
|
164
|
+
"data-testid": "left-addon",
|
165
|
+
children: b
|
166
|
+
}
|
167
|
+
),
|
168
|
+
/* @__PURE__ */ r(
|
169
|
+
"textarea",
|
170
|
+
{
|
171
|
+
ref: G,
|
172
|
+
id: I,
|
173
|
+
className: K,
|
174
|
+
onFocus: O,
|
175
|
+
onBlur: M,
|
176
|
+
readOnly: s,
|
177
|
+
value: c,
|
178
|
+
onChange: W,
|
179
|
+
required: h,
|
180
|
+
...D
|
181
|
+
}
|
182
|
+
),
|
183
|
+
k && /* @__PURE__ */ r(
|
184
|
+
"span",
|
185
|
+
{
|
186
|
+
className: o(e["right-slot"], {
|
187
|
+
[e.focused]: y,
|
188
|
+
[e["has-label"]]: !!u
|
189
|
+
}),
|
190
|
+
"data-testid": "right-addon",
|
191
|
+
children: k
|
192
|
+
}
|
193
|
+
),
|
194
|
+
h && !f && !_ && /* @__PURE__ */ r(
|
195
|
+
"span",
|
196
|
+
{
|
197
|
+
className: t["required-mark"],
|
198
|
+
"data-testid": "required-mark"
|
199
|
+
}
|
200
|
+
),
|
201
|
+
E && f && /* @__PURE__ */ r(
|
202
|
+
te,
|
203
|
+
{
|
204
|
+
tabIndex: -1,
|
205
|
+
className: o(e.clear, t.clear),
|
206
|
+
isIconButton: !0,
|
207
|
+
iconName: "Close16px",
|
208
|
+
size: "m-s",
|
209
|
+
clear: !0,
|
210
|
+
disabled: d || s,
|
211
|
+
variant: "secondary-gray",
|
212
|
+
onClick: P
|
213
|
+
}
|
214
|
+
)
|
215
|
+
]
|
216
|
+
}
|
217
|
+
);
|
218
|
+
}
|
219
|
+
)
|
220
|
+
);
|
221
|
+
ie.displayName = "TextArea";
|
222
|
+
export {
|
223
|
+
ie as TextArea
|
224
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { useCallback as e } from "react";
|
2
|
+
const i = (h, l) => e(() => {
|
3
|
+
if (h) {
|
4
|
+
if (!h.value.length && !l) {
|
5
|
+
h.style.height = "auto";
|
6
|
+
return;
|
7
|
+
}
|
8
|
+
h.style.height = "var(--textarea-height)";
|
9
|
+
const s = h.scrollHeight;
|
10
|
+
h.style.height = `${s}px`;
|
11
|
+
}
|
12
|
+
}, [l, h]);
|
13
|
+
export {
|
14
|
+
i as useAutoResizeTextArea
|
15
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { TextareaHTMLAttributes } from 'react';
|
2
|
+
import { ETextAreaInputSize } from './constants';
|
3
|
+
|
4
|
+
export type TTextAreaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'readOnly' | 'size'> & {
|
5
|
+
inputSize?: `${ETextAreaInputSize}` | ETextAreaInputSize;
|
6
|
+
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
type TProps = {
|
2
|
+
/**
|
3
|
+
* число, которое представляет собой временную метку, указывающую время, когда истекает таймер.
|
4
|
+
* const timer = new Date().getTime() + 60000; => таймер на 1 минуту
|
5
|
+
*/
|
6
|
+
expiryTimestamp: number;
|
7
|
+
/**
|
8
|
+
* необязательное свойство типа boolean, которое указывает, должен ли таймер начинаться автоматически при создании компонента.
|
9
|
+
*/
|
10
|
+
autoStart?: boolean;
|
11
|
+
/**
|
12
|
+
* необязательная функция, которая вызывается, когда таймер истекает.
|
13
|
+
*/
|
14
|
+
onTimerEnd?: () => void;
|
15
|
+
/**
|
16
|
+
* Дополнительный класс.
|
17
|
+
*/
|
18
|
+
className?: string;
|
19
|
+
};
|
20
|
+
/**
|
21
|
+
* Компонент Timer отображает таймер с отсчетом времени в минутах и секундах.
|
22
|
+
*/
|
23
|
+
export declare const Timer: import('react').MemoExoticComponent<({ expiryTimestamp, autoStart, onTimerEnd, className }: TProps) => import("react/jsx-runtime").JSX.Element>;
|
24
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { jsxs as c } from "react/jsx-runtime";
|
2
|
+
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as d } from "react";
|
4
|
+
import { useTimer as p } from "../../hooks/useTimer/index.js";
|
5
|
+
import '../../assets/Timer.css';const f = "_timer_un9th_3", l = {
|
6
|
+
timer: f
|
7
|
+
}, g = d(
|
8
|
+
({ expiryTimestamp: t, autoStart: r = !1, onTimerEnd: s, className: e }) => {
|
9
|
+
const { minutes: m, seconds: o } = p({
|
10
|
+
expiryTimestamp: t,
|
11
|
+
onExpire: s,
|
12
|
+
autoStart: r
|
13
|
+
}), i = String(m).padStart(2, "0"), n = String(o).padStart(2, "0");
|
14
|
+
return /* @__PURE__ */ c("div", { className: a(l.timer, e), children: [
|
15
|
+
i,
|
16
|
+
":",
|
17
|
+
n
|
18
|
+
] });
|
19
|
+
}
|
20
|
+
);
|
21
|
+
export {
|
22
|
+
g as Timer
|
23
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Timer } from './Timer';
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
2
|
+
import { EToastVariant, EToastPosition } from './constants';
|
3
|
+
|
4
|
+
export type TProps = {
|
5
|
+
/**
|
6
|
+
* Идентификатор уведомления.
|
7
|
+
*/
|
8
|
+
id: string;
|
9
|
+
/**
|
10
|
+
* Вариант уведомления.
|
11
|
+
*/
|
12
|
+
variant?: EToastVariant | `${EToastVariant}`;
|
13
|
+
/**
|
14
|
+
* Сообщение уведомления.
|
15
|
+
*/
|
16
|
+
message: ReactNode;
|
17
|
+
/**
|
18
|
+
* Заголовок уведомления.
|
19
|
+
*/
|
20
|
+
title: string;
|
21
|
+
/**
|
22
|
+
* Длительность уведомления.
|
23
|
+
*/
|
24
|
+
duration?: number;
|
25
|
+
/**
|
26
|
+
* Позиция уведомления.
|
27
|
+
*/
|
28
|
+
position?: EToastPosition | `${EToastPosition}`;
|
29
|
+
/**
|
30
|
+
* Флаг, указывающий на автоматическое закрытие уведомления.
|
31
|
+
*/
|
32
|
+
autoClose?: boolean;
|
33
|
+
/**
|
34
|
+
* Флаг, указывающий на необходимость таймера.
|
35
|
+
*/
|
36
|
+
needTimer?: boolean;
|
37
|
+
/**
|
38
|
+
* Флаг, указывающий на необходимость индикатора прогресса.
|
39
|
+
*/
|
40
|
+
needProgress?: boolean;
|
41
|
+
/**
|
42
|
+
* Флаг, указывающий на необходимость кнопки закрытия.
|
43
|
+
*/
|
44
|
+
needCloseButton?: boolean;
|
45
|
+
/**
|
46
|
+
* Функция обратного вызова, вызываемая при удалении уведомления.
|
47
|
+
*/
|
48
|
+
onToastRemove?: (toastId: string, ref: RefObject<HTMLDivElement>) => void;
|
49
|
+
/**
|
50
|
+
* Слот уведомления.
|
51
|
+
*/
|
52
|
+
slot?: ReactNode;
|
53
|
+
};
|
54
|
+
export declare const Toast: import('react').MemoExoticComponent<({ id, title, message, position, variant, duration, autoClose, needProgress, needTimer, needCloseButton, onToastRemove, slot }: TProps) => import("react/jsx-runtime").JSX.Element>;
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
2
|
+
import { c as A } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as x, useRef as E } from "react";
|
4
|
+
import { ANIMATION_VARIABLES_MAP as I, EToastPosition as _, EToastVariant as B, DEFAULT_TOAST_DURATION as D } from "./constants.js";
|
5
|
+
import { c as r, P as O } from "../../ProgressBar-DEFs1tWq.js";
|
6
|
+
import { useTimer as P } from "../../hooks/useTimer/index.js";
|
7
|
+
import { Button as w } from "../Button/Button.js";
|
8
|
+
const M = x(
|
9
|
+
({
|
10
|
+
id: e,
|
11
|
+
title: a = "",
|
12
|
+
message: m,
|
13
|
+
position: h = _.TOP_RIGHT,
|
14
|
+
variant: p = B.DEFAULT,
|
15
|
+
duration: c = D,
|
16
|
+
autoClose: N = !0,
|
17
|
+
needProgress: n = !0,
|
18
|
+
needTimer: d = !0,
|
19
|
+
needCloseButton: u = !0,
|
20
|
+
onToastRemove: s,
|
21
|
+
slot: f
|
22
|
+
}) => {
|
23
|
+
const l = E(null), { seconds: o } = P({
|
24
|
+
expiryTimestamp: Date.now() + c,
|
25
|
+
autoStart: N,
|
26
|
+
onExpire: N ? () => s == null ? void 0 : s(e, l) : void 0
|
27
|
+
});
|
28
|
+
return /* @__PURE__ */ i(
|
29
|
+
"div",
|
30
|
+
{
|
31
|
+
style: {
|
32
|
+
"--elm-translate": I[h]
|
33
|
+
},
|
34
|
+
className: A(
|
35
|
+
r["toast-in"],
|
36
|
+
r["toast-wrapper"],
|
37
|
+
r[p]
|
38
|
+
),
|
39
|
+
ref: l,
|
40
|
+
role: "alert",
|
41
|
+
children: [
|
42
|
+
a && /* @__PURE__ */ t("h3", { className: r.title, children: a }),
|
43
|
+
m && /* @__PURE__ */ t("div", { className: r.message, children: m }),
|
44
|
+
(d || n) && /* @__PURE__ */ i("div", { children: [
|
45
|
+
!!c && d && /* @__PURE__ */ i("div", { className: r.timer, children: [
|
46
|
+
/* @__PURE__ */ t("h4", { className: r["timer-title"], children: "Осталось" }),
|
47
|
+
/* @__PURE__ */ i("p", { className: r.seconds, children: [
|
48
|
+
o,
|
49
|
+
" сек"
|
50
|
+
] })
|
51
|
+
] }),
|
52
|
+
!!c && n && /* @__PURE__ */ t(O, { variant: p, duration: c })
|
53
|
+
] }),
|
54
|
+
u && /* @__PURE__ */ t(
|
55
|
+
w,
|
56
|
+
{
|
57
|
+
onClick: () => s == null ? void 0 : s(e, l),
|
58
|
+
clear: !0,
|
59
|
+
isIconButton: !0,
|
60
|
+
className: r["close-button"],
|
61
|
+
iconName: "Close24px"
|
62
|
+
}
|
63
|
+
),
|
64
|
+
f && /* @__PURE__ */ t("div", { className: r.slot, children: f })
|
65
|
+
]
|
66
|
+
}
|
67
|
+
);
|
68
|
+
}
|
69
|
+
);
|
70
|
+
export {
|
71
|
+
M as Toast
|
72
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { EToastPosition } from './constants';
|
2
|
+
import { TProps as TToastProps } from './Toast';
|
3
|
+
|
4
|
+
type TProps = {
|
5
|
+
position?: EToastPosition | `${EToastPosition}`;
|
6
|
+
toasts: TToastProps[];
|
7
|
+
onToastRemove?: (toastId: string, ref: React.RefObject<HTMLDivElement>) => void;
|
8
|
+
};
|
9
|
+
export declare const ToastList: import('react').MemoExoticComponent<({ toasts, position, onToastRemove }: TProps) => import("react/jsx-runtime").JSX.Element | null>;
|
10
|
+
export {};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
2
|
+
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as e, useRef as f, useCallback as T, useEffect as u } from "react";
|
4
|
+
import { EToastPosition as i } from "./constants.js";
|
5
|
+
import { c as l } from "../../ProgressBar-DEFs1tWq.js";
|
6
|
+
import { Toast as d } from "./Toast.js";
|
7
|
+
const O = e(
|
8
|
+
({ toasts: r, position: s = i.TOP_RIGHT, onToastRemove: n }) => {
|
9
|
+
const t = f(null), c = T(
|
10
|
+
(o) => {
|
11
|
+
[
|
12
|
+
i.TOP_LEFT,
|
13
|
+
i.TOP_RIGHT
|
14
|
+
].includes(s) ? o == null || o.scrollTo(0, o.scrollHeight) : o == null || o.scrollTo(0, 0);
|
15
|
+
},
|
16
|
+
[s]
|
17
|
+
);
|
18
|
+
return u(() => {
|
19
|
+
t.current && c(t.current);
|
20
|
+
}, [c, r]), r.length ? /* @__PURE__ */ m(
|
21
|
+
"div",
|
22
|
+
{
|
23
|
+
ref: t,
|
24
|
+
className: a(l["toast-list"], l[s]),
|
25
|
+
"data-testid": "toast-list",
|
26
|
+
children: r.map((o) => /* @__PURE__ */ m(
|
27
|
+
d,
|
28
|
+
{
|
29
|
+
position: s,
|
30
|
+
onToastRemove: n,
|
31
|
+
...o
|
32
|
+
},
|
33
|
+
o.id
|
34
|
+
))
|
35
|
+
}
|
36
|
+
) : null;
|
37
|
+
}
|
38
|
+
);
|
39
|
+
export {
|
40
|
+
O as ToastList
|
41
|
+
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { jsxs as R, jsx as T } from "react/jsx-runtime";
|
2
|
+
import { useReducer as u, useCallback as m, useMemo as l } from "react";
|
3
|
+
import { EToastVariant as o } from "./constants.js";
|
4
|
+
import { ToastContext as E } from "./hooks.js";
|
5
|
+
import { reducer as A, initialState as C, actionCreators as c } from "./store.js";
|
6
|
+
import { c as L } from "../../ProgressBar-DEFs1tWq.js";
|
7
|
+
import { ToastList as S } from "./ToastList.js";
|
8
|
+
const O = ({ children: d }) => {
|
9
|
+
const [i, r] = u(A, C), a = m((t) => {
|
10
|
+
r(c.setToasts(t));
|
11
|
+
}, []), p = l(
|
12
|
+
() => ({
|
13
|
+
[o.DEFAULT]: (t) => a({ variant: o.DEFAULT, ...t }),
|
14
|
+
[o.SUCCESS]: (t) => a({ variant: o.SUCCESS, ...t }),
|
15
|
+
[o.ALARM]: (t) => a({ variant: o.ALARM, ...t }),
|
16
|
+
[o.ERROR]: (t) => a({ variant: o.ERROR, ...t })
|
17
|
+
}),
|
18
|
+
[a]
|
19
|
+
), v = m(
|
20
|
+
(t, s) => {
|
21
|
+
var n, e;
|
22
|
+
(n = s == null ? void 0 : s.current) == null || n.classList.add(L["toast-out"]), (e = s == null ? void 0 : s.current) == null || e.addEventListener("animationend", () => {
|
23
|
+
r(c.removeToast(t));
|
24
|
+
});
|
25
|
+
},
|
26
|
+
[]
|
27
|
+
);
|
28
|
+
return /* @__PURE__ */ R(E.Provider, { value: p, children: [
|
29
|
+
d,
|
30
|
+
/* @__PURE__ */ T(
|
31
|
+
S,
|
32
|
+
{
|
33
|
+
toasts: i.toasts,
|
34
|
+
onToastRemove: v,
|
35
|
+
position: i.position
|
36
|
+
}
|
37
|
+
)
|
38
|
+
] });
|
39
|
+
};
|
40
|
+
export {
|
41
|
+
O as ToastProvider
|
42
|
+
};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare enum EToastVariant {
|
2
|
+
DEFAULT = "default",
|
3
|
+
ALARM = "alarm",
|
4
|
+
SUCCESS = "success",
|
5
|
+
ERROR = "error"
|
6
|
+
}
|
7
|
+
export declare enum EToastPosition {
|
8
|
+
TOP_LEFT = "top-left",
|
9
|
+
TOP_CENTER = "top-center",
|
10
|
+
TOP_RIGHT = "top-right",
|
11
|
+
BOTTOM_RIGHT = "bottom-right",
|
12
|
+
BOTTOM_CENTER = "bottom-center",
|
13
|
+
BOTTOM_LEFT = "bottom-left"
|
14
|
+
}
|
15
|
+
export declare const ANIMATION_VARIABLES_MAP: {
|
16
|
+
"top-right": string;
|
17
|
+
"top-center": string;
|
18
|
+
"top-left": string;
|
19
|
+
"bottom-left": string;
|
20
|
+
"bottom-center": string;
|
21
|
+
"bottom-right": string;
|
22
|
+
};
|
23
|
+
export declare const DEFAULT_TOAST_DURATION = 3000;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var e = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.ALARM = "alarm", t.SUCCESS = "success", t.ERROR = "error", t))(e || {}), r = /* @__PURE__ */ ((t) => (t.TOP_LEFT = "top-left", t.TOP_CENTER = "top-center", t.TOP_RIGHT = "top-right", t.BOTTOM_RIGHT = "bottom-right", t.BOTTOM_CENTER = "bottom-center", t.BOTTOM_LEFT = "bottom-left", t))(r || {});
|
2
|
+
const p = {
|
3
|
+
"top-right": "translateX(1000px)",
|
4
|
+
"top-center": "translateY(-1300px)",
|
5
|
+
"top-left": "translateX(-1000px)",
|
6
|
+
"bottom-left": "translateX(-1000px)",
|
7
|
+
"bottom-center": "translateY(1300px)",
|
8
|
+
"bottom-right": "translateX(1000px)"
|
9
|
+
}, O = 3e3;
|
10
|
+
export {
|
11
|
+
p as ANIMATION_VARIABLES_MAP,
|
12
|
+
O as DEFAULT_TOAST_DURATION,
|
13
|
+
r as EToastPosition,
|
14
|
+
e as EToastVariant
|
15
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ToastProvider as t } from "./ToastsProvider.js";
|
2
|
+
import { useToast as s } from "./hooks.js";
|
3
|
+
import { EToastPosition as i, EToastVariant as T } from "./constants.js";
|
4
|
+
export {
|
5
|
+
i as EToastPosition,
|
6
|
+
T as EToastVariant,
|
7
|
+
t as ToastProvider,
|
8
|
+
s as useToast
|
9
|
+
};
|