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,29 @@
|
|
1
|
+
import { EToastPosition } from './constants';
|
2
|
+
import { TProps } from './Toast';
|
3
|
+
|
4
|
+
export type State = {
|
5
|
+
toasts: TProps[];
|
6
|
+
position: EToastPosition | `${EToastPosition}`;
|
7
|
+
};
|
8
|
+
export declare enum EToastsActions {
|
9
|
+
SET_TOASTS = "setToasts",
|
10
|
+
REMOVE_TOAST = "removeToast",
|
11
|
+
RESET = "reset"
|
12
|
+
}
|
13
|
+
export declare const actionCreators: {
|
14
|
+
setToasts: (payload: Omit<TProps, "id">) => {
|
15
|
+
readonly type: EToastsActions.SET_TOASTS;
|
16
|
+
readonly payload: Omit<TProps, "id">;
|
17
|
+
};
|
18
|
+
removeToast: (payload: string) => {
|
19
|
+
readonly type: EToastsActions.REMOVE_TOAST;
|
20
|
+
readonly payload: string;
|
21
|
+
};
|
22
|
+
reset: () => {
|
23
|
+
readonly type: EToastsActions.RESET;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
type ActionTypes = ReturnType<typeof actionCreators.setToasts> | ReturnType<typeof actionCreators.removeToast> | ReturnType<typeof actionCreators.reset>;
|
27
|
+
export declare const initialState: State;
|
28
|
+
export declare const reducer: (state: State | undefined, action: ActionTypes) => State;
|
29
|
+
export {};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { EToastPosition as r } from "./constants.js";
|
2
|
+
var a = /* @__PURE__ */ ((o) => (o.SET_TOASTS = "setToasts", o.REMOVE_TOAST = "removeToast", o.RESET = "reset", o))(a || {});
|
3
|
+
const p = {
|
4
|
+
setToasts: (o) => ({ type: "setToasts", payload: o }),
|
5
|
+
removeToast: (o) => ({ type: "removeToast", payload: o }),
|
6
|
+
reset: () => ({
|
7
|
+
type: "reset"
|
8
|
+
/* RESET */
|
9
|
+
})
|
10
|
+
}, s = {
|
11
|
+
toasts: [],
|
12
|
+
position: r.TOP_RIGHT
|
13
|
+
}, T = (o = s, t) => {
|
14
|
+
switch (t.type) {
|
15
|
+
case "setToasts":
|
16
|
+
return {
|
17
|
+
...o,
|
18
|
+
toasts: [
|
19
|
+
...o.toasts,
|
20
|
+
{ ...t.payload, id: `${Math.random() * 1e4}` }
|
21
|
+
],
|
22
|
+
position: t.payload.position && t.payload.position !== o.position ? t.payload.position : o.position
|
23
|
+
};
|
24
|
+
case "removeToast":
|
25
|
+
return {
|
26
|
+
...o,
|
27
|
+
toasts: o.toasts.filter((e) => e.id !== t.payload)
|
28
|
+
};
|
29
|
+
case "reset":
|
30
|
+
return s;
|
31
|
+
default:
|
32
|
+
return o;
|
33
|
+
}
|
34
|
+
};
|
35
|
+
export {
|
36
|
+
a as EToastsActions,
|
37
|
+
p as actionCreators,
|
38
|
+
s as initialState,
|
39
|
+
T as reducer
|
40
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { TSwitcherProps } from '../Switcher';
|
3
|
+
|
4
|
+
type TProps = TSwitcherProps & {
|
5
|
+
leftIcon: ReactNode;
|
6
|
+
rightIcon: ReactNode;
|
7
|
+
className?: string;
|
8
|
+
};
|
9
|
+
export declare const TwinSwitcher: import('react').ForwardRefExoticComponent<TProps & import('react').RefAttributes<HTMLButtonElement>>;
|
10
|
+
export {};
|
@@ -0,0 +1,61 @@
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
2
|
+
import { c } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as a } from "react";
|
4
|
+
import { Switcher as l } from "../Switcher/Switcher.js";
|
5
|
+
import '../../assets/TwinSwitcher.css';const f = "_icon_1r3h0_30", i = {
|
6
|
+
"twin-switcher": "_twin-switcher_1r3h0_2",
|
7
|
+
"twin-switcher-checked": "_twin-switcher-checked_1r3h0_18",
|
8
|
+
"twin-switcher-thumb": "_twin-switcher-thumb_1r3h0_27",
|
9
|
+
"twin-switcher-checked-thumb": "_twin-switcher-checked-thumb_1r3h0_27",
|
10
|
+
icon: f,
|
11
|
+
"left-icon": "_left-icon_1r3h0_43",
|
12
|
+
"right-icon": "_right-icon_1r3h0_46"
|
13
|
+
}, N = a(
|
14
|
+
({
|
15
|
+
id: h,
|
16
|
+
checked: t,
|
17
|
+
leftIcon: s,
|
18
|
+
rightIcon: e,
|
19
|
+
disabled: n = !1,
|
20
|
+
className: w,
|
21
|
+
...o
|
22
|
+
}, _) => /* @__PURE__ */ m(
|
23
|
+
l,
|
24
|
+
{
|
25
|
+
...o,
|
26
|
+
id: `twin-switcher-${h}`,
|
27
|
+
ref: _,
|
28
|
+
checked: t,
|
29
|
+
disabled: n,
|
30
|
+
className: c(i["twin-switcher"], w, {
|
31
|
+
[i["twin-switcher-checked"]]: t
|
32
|
+
}),
|
33
|
+
switcherThumbClassName: c(i["twin-switcher-thumb"], {
|
34
|
+
[i["twin-switcher-checked-thumb"]]: t
|
35
|
+
}),
|
36
|
+
children: [
|
37
|
+
/* @__PURE__ */ r(
|
38
|
+
"span",
|
39
|
+
{
|
40
|
+
className: c(i.icon, i["left-icon"], {
|
41
|
+
[i["icon-visible"]]: !t
|
42
|
+
}),
|
43
|
+
children: s
|
44
|
+
}
|
45
|
+
),
|
46
|
+
/* @__PURE__ */ r(
|
47
|
+
"span",
|
48
|
+
{
|
49
|
+
className: c(i.icon, i["right-icon"], {
|
50
|
+
[i["icon-visible"]]: t
|
51
|
+
}),
|
52
|
+
children: e
|
53
|
+
}
|
54
|
+
)
|
55
|
+
]
|
56
|
+
}
|
57
|
+
)
|
58
|
+
);
|
59
|
+
export {
|
60
|
+
N as TwinSwitcher
|
61
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { TwinSwitcher } from './TwinSwitcher';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { EFileItemVariant } from '../ListFiles';
|
2
|
+
import { TFilesDetail } from '../ListFiles/ListFiles';
|
3
|
+
import { TPhotosDetail } from '../ListPhotos/ListPhotos';
|
4
|
+
|
5
|
+
export declare const UniversalUploader: import('react').ForwardRefExoticComponent<Omit<import('../Uploader/Uploader').TUploader, "onChangeValue"> & {
|
6
|
+
type: "files" | "photos" | "all";
|
7
|
+
onChange: (j: import('./types').TOnChangeUpdate) => void;
|
8
|
+
value?: TFilesDetail[] | TPhotosDetail[];
|
9
|
+
variantListFiles?: EFileItemVariant | `${EFileItemVariant}`;
|
10
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import { jsxs as h, jsx as f, Fragment as j } from "react/jsx-runtime";
|
2
|
+
import { c as B } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as D, useState as _, useEffect as C, useMemo as O } from "react";
|
4
|
+
import { imageTypes as y } from "./constants.js";
|
5
|
+
import "../Button/Button.js";
|
6
|
+
import { EButtonVariantDefault as P } from "../Button/constants.js";
|
7
|
+
import { ListFiles as A } from "../ListFiles/ListFiles.js";
|
8
|
+
import { EFileItemVariant as k } from "../ListFiles/constants.js";
|
9
|
+
import { ListPhotos as q } from "../ListPhotos/ListPhotos.js";
|
10
|
+
import { Uploader as G } from "../Uploader/Uploader.js";
|
11
|
+
import '../../assets/UploaderPhotos.css';const x = {
|
12
|
+
"upload-file-wrapper": "_upload-file-wrapper_1a115_2"
|
13
|
+
}, d = (i) => "file" in i && i.file instanceof File ? y.includes(i.file.type) : "type" in i && typeof i.type == "string" ? y.includes(i.type) : !1, te = D(
|
14
|
+
(i, F) => {
|
15
|
+
const {
|
16
|
+
type: a,
|
17
|
+
filesType: v,
|
18
|
+
arrayName: g,
|
19
|
+
maxSize: w,
|
20
|
+
onChange: s,
|
21
|
+
value: r,
|
22
|
+
maxFiles: n,
|
23
|
+
titleUploader: z,
|
24
|
+
buttonText: U = "Выберите файлы",
|
25
|
+
showOnlyUploadButton: m = !1,
|
26
|
+
uploadButtonVariant: b = P.SecondaryAsphalt,
|
27
|
+
buttonSize: I = "m",
|
28
|
+
buttonClassName: E,
|
29
|
+
variantListFiles: L = k.white,
|
30
|
+
onMaxFilesExceeded: S,
|
31
|
+
onMaxSizeExceeded: V,
|
32
|
+
onInvalidFileType: M
|
33
|
+
} = i, [l, p] = _(
|
34
|
+
r || []
|
35
|
+
), u = !!n && l.length >= n;
|
36
|
+
C(() => {
|
37
|
+
r && p(r);
|
38
|
+
}, [r]);
|
39
|
+
const N = (t) => {
|
40
|
+
const o = t.value.map((e) => d(e.file) ? {
|
41
|
+
id: e.id,
|
42
|
+
url: URL.createObjectURL(e.file),
|
43
|
+
type: e.file.type,
|
44
|
+
name: e.file.name,
|
45
|
+
size: e.file.size
|
46
|
+
} : {
|
47
|
+
id: e.id,
|
48
|
+
url: "",
|
49
|
+
size: e.file.size,
|
50
|
+
name: e.file.name,
|
51
|
+
type: e.file.type
|
52
|
+
});
|
53
|
+
p((e) => [...e, ...o]), s == null || s({ type: "add", data: t.value });
|
54
|
+
}, c = (t) => {
|
55
|
+
p((o) => o.filter((e) => e.id !== t)), s == null || s({ type: "delete", data: t });
|
56
|
+
}, { photos: R, files: T } = O(() => {
|
57
|
+
const t = () => l.filter((e) => !d(e)), o = () => l.filter(d);
|
58
|
+
return a === "all" ? { files: t(), photos: o() } : a === "files" ? { photos: [], files: t() } : a === "photos" ? { files: [], photos: o() } : { files: [], photos: [] };
|
59
|
+
}, [l, a]);
|
60
|
+
return /* @__PURE__ */ h(
|
61
|
+
"div",
|
62
|
+
{
|
63
|
+
"data-testid": "universal-uploader",
|
64
|
+
className: B(
|
65
|
+
x["upload-file-wrapper"],
|
66
|
+
u && x.disabled
|
67
|
+
),
|
68
|
+
children: [
|
69
|
+
/* @__PURE__ */ f(
|
70
|
+
G,
|
71
|
+
{
|
72
|
+
filesType: v,
|
73
|
+
arrayName: g,
|
74
|
+
maxSize: w,
|
75
|
+
onChangeValue: N,
|
76
|
+
ref: F,
|
77
|
+
maxFiles: n && n - l.length,
|
78
|
+
isDisabled: u,
|
79
|
+
titleUploader: z,
|
80
|
+
showOnlyUploadButton: m,
|
81
|
+
buttonText: U,
|
82
|
+
uploadButtonVariant: b,
|
83
|
+
buttonSize: I,
|
84
|
+
buttonClassName: E,
|
85
|
+
onMaxFilesExceeded: S,
|
86
|
+
onMaxSizeExceeded: V,
|
87
|
+
onInvalidFileType: M
|
88
|
+
}
|
89
|
+
),
|
90
|
+
!m && /* @__PURE__ */ h(j, { children: [
|
91
|
+
(a === "files" || a === "all") && /* @__PURE__ */ f(
|
92
|
+
A,
|
93
|
+
{
|
94
|
+
value: T,
|
95
|
+
onChange: (t) => c(t.deleteId),
|
96
|
+
variant: L
|
97
|
+
}
|
98
|
+
),
|
99
|
+
(a === "photos" || a === "all") && /* @__PURE__ */ f(
|
100
|
+
q,
|
101
|
+
{
|
102
|
+
value: R,
|
103
|
+
onChange: (t) => c(t.deleteId)
|
104
|
+
}
|
105
|
+
)
|
106
|
+
] })
|
107
|
+
]
|
108
|
+
}
|
109
|
+
);
|
110
|
+
}
|
111
|
+
);
|
112
|
+
export {
|
113
|
+
te as UniversalUploader
|
114
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
var i = /* @__PURE__ */ ((g) => (g.FILES = "files", g.PHOTOS = "photos", g.ALL = "all", g))(i || {});
|
2
|
+
const e = [
|
3
|
+
"image/jpg",
|
4
|
+
"image/jpeg",
|
5
|
+
"image/png",
|
6
|
+
"image/gif",
|
7
|
+
"image/tiff",
|
8
|
+
"image/heic"
|
9
|
+
];
|
10
|
+
export {
|
11
|
+
i as EUploaderType,
|
12
|
+
e as imageTypes
|
13
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { EFileItemVariant } from '../ListFiles';
|
2
|
+
import { TFilesDetail } from '../ListFiles/ListFiles';
|
3
|
+
import { TPhotosDetail } from '../ListPhotos/ListPhotos';
|
4
|
+
import { TFileItem, TUploader } from '../Uploader';
|
5
|
+
|
6
|
+
export type TUniversalUploader = Omit<TUploader, 'onChangeValue'> & {
|
7
|
+
type: 'files' | 'photos' | 'all';
|
8
|
+
onChange: (j: TOnChangeUpdate) => void;
|
9
|
+
value?: TFilesDetail[] | TPhotosDetail[];
|
10
|
+
variantListFiles?: EFileItemVariant | `${EFileItemVariant}`;
|
11
|
+
};
|
12
|
+
export type TOnChangeUpdate = {
|
13
|
+
type: string;
|
14
|
+
data: TFileItem[] | number;
|
15
|
+
};
|
16
|
+
export type TFileWithType = TFilesDetail & {
|
17
|
+
type?: string;
|
18
|
+
};
|
19
|
+
export type TPhotoWithType = TPhotosDetail & {
|
20
|
+
type?: string;
|
21
|
+
};
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
import { imageTypesArr } from './constants';
|
3
|
+
import { EButtonSize } from '../Button';
|
4
|
+
import { TButtonDefaultFormProps } from '../Button/types';
|
5
|
+
|
6
|
+
export type TUploader = {
|
7
|
+
/**
|
8
|
+
* Массив разрешенных типов файлов для настройки валидации
|
9
|
+
* 'jpeg' | 'jpg' | 'png' | 'tiff' | 'gif' | 'heic' | 'doc' | 'xls' | 'pdf' | 'docx' | 'txt' | 'xlsx'
|
10
|
+
*/
|
11
|
+
filesType: imageTypesArr[];
|
12
|
+
/**
|
13
|
+
* Наименование передаваемого массива файлов
|
14
|
+
*/
|
15
|
+
arrayName?: string;
|
16
|
+
/**
|
17
|
+
* Функция - callback, которая вызывается при изменении значения и передает имя и новое значение
|
18
|
+
*/
|
19
|
+
onChangeValue: (e: TUploadValue) => void;
|
20
|
+
/**
|
21
|
+
* Максимальный размер файлов.
|
22
|
+
*/
|
23
|
+
maxSize?: number;
|
24
|
+
/**
|
25
|
+
* Максимальное количество файлов.
|
26
|
+
*/
|
27
|
+
maxFiles?: number;
|
28
|
+
/**
|
29
|
+
* Выключен ли Uploader или нет
|
30
|
+
*/
|
31
|
+
isDisabled?: boolean;
|
32
|
+
/**
|
33
|
+
* Тайтл загрузки файлов
|
34
|
+
*/
|
35
|
+
titleUploader?: string;
|
36
|
+
/**
|
37
|
+
* Отображать ли только кнопку загрузки файла
|
38
|
+
*/
|
39
|
+
showOnlyUploadButton?: boolean;
|
40
|
+
/**
|
41
|
+
* Текст внутри кнопки загрузки файла
|
42
|
+
*/
|
43
|
+
buttonText?: string;
|
44
|
+
/**
|
45
|
+
* Вариант кнопки загрузки файла
|
46
|
+
*/
|
47
|
+
uploadButtonVariant?: TButtonDefaultFormProps['variant'];
|
48
|
+
/**
|
49
|
+
* Размер кнопки загрузки файла
|
50
|
+
*/
|
51
|
+
buttonSize?: EButtonSize | `${EButtonSize}`;
|
52
|
+
/**
|
53
|
+
* Класс для кнопки
|
54
|
+
*/
|
55
|
+
buttonClassName?: string;
|
56
|
+
/**
|
57
|
+
* Проп для обработки ошибки при превышении максимального количества файлов
|
58
|
+
*/
|
59
|
+
onMaxFilesExceeded?: () => void;
|
60
|
+
/**
|
61
|
+
* Проп для обработки ошибки при превышении максимального размера файла
|
62
|
+
*/
|
63
|
+
onMaxSizeExceeded?: (fileName: string) => void;
|
64
|
+
/**
|
65
|
+
* Проп для обработки ошибки при загрузке файла неразрешенного типа
|
66
|
+
*/
|
67
|
+
onInvalidFileType?: (fileName: string) => void;
|
68
|
+
};
|
69
|
+
export type TUploadValue = {
|
70
|
+
value: TFileItem[];
|
71
|
+
arrayName?: string;
|
72
|
+
};
|
73
|
+
export type TFileItem = {
|
74
|
+
id: number;
|
75
|
+
file: File;
|
76
|
+
};
|
77
|
+
export declare const Uploader: React.ForwardRefExoticComponent<TUploader & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import { jsxs as o, jsx as n, Fragment as B } from "react/jsx-runtime";
|
2
|
+
import { forwardRef as R, useRef as M, useId as k } from "react";
|
3
|
+
import { Icon as D } from "../../icons/Icon.js";
|
4
|
+
import { Button as G } from "../Button/Button.js";
|
5
|
+
import { EButtonVariantDefault as O } from "../Button/constants.js";
|
6
|
+
import '../../assets/Uploader.css';const c = {
|
7
|
+
"upload-file-wrapper": "_upload-file-wrapper_bplvw_2",
|
8
|
+
"upload-text": "_upload-text_bplvw_25",
|
9
|
+
"upload-file-input": "_upload-file-input_bplvw_35"
|
10
|
+
}, y = {
|
11
|
+
jpeg: "image/jpeg",
|
12
|
+
jpg: "image/jpg",
|
13
|
+
png: "image/png",
|
14
|
+
tiff: "image/tiff",
|
15
|
+
gif: "image/gif",
|
16
|
+
heic: "image/heic",
|
17
|
+
webp: "image/webp",
|
18
|
+
doc: "application/msword",
|
19
|
+
docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
20
|
+
pdf: "application/pdf",
|
21
|
+
xls: "application/excel",
|
22
|
+
txt: "text/plain",
|
23
|
+
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
24
|
+
}, L = [
|
25
|
+
"jpeg",
|
26
|
+
"jpg",
|
27
|
+
"png",
|
28
|
+
"tiff",
|
29
|
+
"gif",
|
30
|
+
"heic"
|
31
|
+
], X = () => {
|
32
|
+
let i = 0;
|
33
|
+
return () => (i = (i + 1) % Number.MAX_SAFE_INTEGER, i);
|
34
|
+
}, q = X(), W = R(
|
35
|
+
(i, v) => {
|
36
|
+
const {
|
37
|
+
filesType: l = L,
|
38
|
+
onChangeValue: _,
|
39
|
+
arrayName: j,
|
40
|
+
maxSize: d = 15,
|
41
|
+
maxFiles: p,
|
42
|
+
isDisabled: f,
|
43
|
+
titleUploader: m = "Или перетащите сюда",
|
44
|
+
buttonText: I = "Выберите файлы",
|
45
|
+
showOnlyUploadButton: N = !1,
|
46
|
+
uploadButtonVariant: T = O.SecondaryAsphalt,
|
47
|
+
buttonSize: z = "m",
|
48
|
+
buttonClassName: S,
|
49
|
+
onMaxFilesExceeded: r,
|
50
|
+
onMaxSizeExceeded: u,
|
51
|
+
onInvalidFileType: g
|
52
|
+
} = i, x = M(null), h = k(), C = (e) => {
|
53
|
+
var a;
|
54
|
+
return e.type ? e.type : ((a = e.name.split(".").pop()) == null ? void 0 : a.toLowerCase()) === "heic" ? "image/heic" : "";
|
55
|
+
}, E = (e) => {
|
56
|
+
var s;
|
57
|
+
if (e.target.files && e.target.files[0]) {
|
58
|
+
const a = Array.from(e.target.files);
|
59
|
+
p && a.length > p && (r == null || r());
|
60
|
+
const U = a.filter((t) => {
|
61
|
+
const V = C(t), b = l.map((A) => y[A]).includes(V), w = t.size / 1024 ** 2 <= d;
|
62
|
+
return !b && g && g(t.name), !w && u && u(t.name), b && w;
|
63
|
+
}).slice(0, p).map((t) => ({ file: t, id: q() }));
|
64
|
+
_({ arrayName: j, value: U }), (s = e.target) != null && s.value && (e.target.value = "");
|
65
|
+
}
|
66
|
+
}, F = () => {
|
67
|
+
var e;
|
68
|
+
(e = x.current) == null || e.click();
|
69
|
+
};
|
70
|
+
return /* @__PURE__ */ o("div", { className: c["upload-file-wrapper"], ref: v, children: [
|
71
|
+
/* @__PURE__ */ n(
|
72
|
+
"input",
|
73
|
+
{
|
74
|
+
type: "file",
|
75
|
+
className: c["upload-file-input"],
|
76
|
+
"aria-label": "Upload",
|
77
|
+
name: "image[]",
|
78
|
+
multiple: !0,
|
79
|
+
onChange: E,
|
80
|
+
title: "",
|
81
|
+
id: h,
|
82
|
+
accept: l.map((e) => y[e]).join(),
|
83
|
+
disabled: f
|
84
|
+
}
|
85
|
+
),
|
86
|
+
/* @__PURE__ */ o("label", { htmlFor: h, ref: x, children: [
|
87
|
+
/* @__PURE__ */ n(
|
88
|
+
G,
|
89
|
+
{
|
90
|
+
size: z,
|
91
|
+
variant: T,
|
92
|
+
leftIcon: /* @__PURE__ */ n(D, { iconName: "UnionIcon16px" }),
|
93
|
+
onClick: F,
|
94
|
+
disabled: f,
|
95
|
+
className: S,
|
96
|
+
children: I
|
97
|
+
}
|
98
|
+
),
|
99
|
+
!N && /* @__PURE__ */ o(B, { children: [
|
100
|
+
m && /* @__PURE__ */ n("b", { children: m }),
|
101
|
+
/* @__PURE__ */ o("span", { className: c["upload-text"], children: [
|
102
|
+
"Максимальный размер одного файла – ",
|
103
|
+
d,
|
104
|
+
" Мб",
|
105
|
+
/* @__PURE__ */ n("br", {}),
|
106
|
+
"Загрузить можно файлы следующих форматов: ",
|
107
|
+
l.join(", ")
|
108
|
+
] })
|
109
|
+
] })
|
110
|
+
] })
|
111
|
+
] });
|
112
|
+
}
|
113
|
+
);
|
114
|
+
export {
|
115
|
+
W as Uploader
|
116
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export type imageTypesArr = 'jpeg' | 'jpg' | 'png' | 'tiff' | 'gif' | 'heic' | 'doc' | 'xls' | 'pdf' | 'docx' | 'txt' | 'xlsx';
|
2
|
+
export declare const imageFileTypes: imageTypesArr[];
|
3
|
+
export declare const AllFileTypes: imageTypesArr[];
|
4
|
+
export declare const TypeFilesArray: {
|
5
|
+
images: imageTypesArr[];
|
6
|
+
docs: imageTypesArr[];
|
7
|
+
all: imageTypesArr[];
|
8
|
+
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
const e = [
|
2
|
+
"jpeg",
|
3
|
+
"jpg",
|
4
|
+
"png",
|
5
|
+
"tiff",
|
6
|
+
"gif",
|
7
|
+
"heic"
|
8
|
+
], s = [
|
9
|
+
"doc",
|
10
|
+
"xls",
|
11
|
+
"pdf",
|
12
|
+
"docx",
|
13
|
+
"txt",
|
14
|
+
"xlsx"
|
15
|
+
], p = [
|
16
|
+
"jpeg",
|
17
|
+
"jpg",
|
18
|
+
"png",
|
19
|
+
"tiff",
|
20
|
+
"gif",
|
21
|
+
"heic",
|
22
|
+
"doc",
|
23
|
+
"xls",
|
24
|
+
"pdf",
|
25
|
+
"docx",
|
26
|
+
"txt",
|
27
|
+
"xlsx"
|
28
|
+
], c = {
|
29
|
+
images: e,
|
30
|
+
docs: s,
|
31
|
+
all: p
|
32
|
+
};
|
33
|
+
export {
|
34
|
+
p as AllFileTypes,
|
35
|
+
c as TypeFilesArray,
|
36
|
+
e as imageFileTypes
|
37
|
+
};
|