mimir-ui-kit 1.38.36 → 1.38.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Input-DAmc_HxO.js +227 -0
- package/dist/ProgressBar-DEFs1tWq.js +55 -0
- package/dist/assets/Accordion.css +1 -0
- package/dist/assets/AccordionItem.css +1 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CheckboxMimir.css +1 -0
- package/dist/assets/Chip.css +1 -0
- package/dist/assets/Drawer.css +1 -0
- package/dist/assets/Dropdown.css +1 -0
- package/dist/assets/GosZnak.css +1 -0
- package/dist/assets/Image.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/InputPassword.css +1 -0
- package/dist/assets/InputRangeSlider.css +1 -0
- package/dist/assets/Link.css +1 -0
- package/dist/assets/ListFiles.css +1 -0
- package/dist/assets/ListPhotos.css +1 -0
- package/dist/assets/Loader.css +1 -0
- package/dist/assets/MergedButton.css +1 -0
- package/dist/assets/MessageShortReply.css +1 -0
- package/dist/assets/MultiSelectSearch.css +1 -0
- package/dist/assets/NotificationBadge.css +1 -0
- package/dist/assets/OtpInput.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgressBar.css +1 -0
- package/dist/assets/RadioGroup.css +1 -0
- package/dist/assets/SelectSearch.css +1 -0
- package/dist/assets/SkeletonCircle.css +1 -0
- package/dist/assets/SkeletonText.css +1 -0
- package/dist/assets/Slider.css +1 -0
- package/dist/assets/Steps.css +1 -0
- package/dist/assets/Switcher.css +1 -0
- package/dist/assets/TabTrail.css +1 -0
- package/dist/assets/Tag.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Timer.css +1 -0
- package/dist/assets/TwinSwitcher.css +1 -0
- package/dist/assets/Uploader.css +1 -0
- package/dist/assets/UploaderFiles.css +1 -0
- package/dist/assets/UploaderPhotos.css +1 -0
- package/dist/assets/Vote.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/styles.css +1 -0
- package/dist/assets/variant.css +1 -0
- package/dist/bugs-diTMAGNw.js +18 -0
- package/dist/close-provider-CEutdhG8.js +9 -0
- package/dist/combobox-CVtJDVoZ.js +980 -0
- package/dist/components/Accordion/Accordion.d.ts +45 -0
- package/dist/components/Accordion/Accordion.js +267 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +8 -0
- package/dist/components/Accordion/AccordionItem/AccordionItem.js +10 -0
- package/dist/components/Accordion/AccordionItem/index.d.ts +1 -0
- package/dist/components/Accordion/AccordionItem/index.js +4 -0
- package/dist/components/Accordion/constants.d.ts +24 -0
- package/dist/components/Accordion/constants.js +9 -0
- package/dist/components/Accordion/index.d.ts +3 -0
- package/dist/components/Accordion/index.js +8 -0
- package/dist/components/AnchorLink/Link.d.ts +17 -0
- package/dist/components/AnchorLink/Link.js +52 -0
- package/dist/components/AnchorLink/constants.d.ts +10 -0
- package/dist/components/AnchorLink/constants.js +5 -0
- package/dist/components/AnchorLink/index.d.ts +2 -0
- package/dist/components/AnchorLink/index.js +7 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -0
- package/dist/components/Avatar/Avatar.js +58 -0
- package/dist/components/Avatar/constants.d.ts +5 -0
- package/dist/components/Avatar/constants.js +4 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Avatar/types.d.ts +10 -0
- package/dist/components/Button/Button.d.ts +310 -0
- package/dist/components/Button/Button.js +100 -0
- package/dist/components/Button/constants.d.ts +40 -0
- package/dist/components/Button/constants.js +9 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +11 -0
- package/dist/components/Button/types.d.ts +38 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +301 -0
- package/dist/components/CheckboxMimir/CheckboxMimir.js +63 -0
- package/dist/components/CheckboxMimir/index.d.ts +2 -0
- package/dist/components/CheckboxMimir/index.js +4 -0
- package/dist/components/Chip/Chip.d.ts +30 -0
- package/dist/components/Chip/Chip.js +44 -0
- package/dist/components/Chip/constants.d.ts +13 -0
- package/dist/components/Chip/constants.js +5 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/index.js +7 -0
- package/dist/components/DatePicker/DatePicker.d.ts +110 -0
- package/dist/components/DatePicker/DatePicker.js +166 -0
- package/dist/components/DatePicker/DatePickerModal.d.ts +9 -0
- package/dist/components/DatePicker/DatePickerModal.js +147 -0
- package/dist/components/DatePicker/MonthPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/MonthPickerModal.js +94 -0
- package/dist/components/DatePicker/YearPickerModal.d.ts +8 -0
- package/dist/components/DatePicker/YearPickerModal.js +89 -0
- package/dist/components/DatePicker/constants.d.ts +17 -0
- package/dist/components/DatePicker/constants.js +28 -0
- package/dist/components/DatePicker/hooks.d.ts +3 -0
- package/dist/components/DatePicker/hooks.js +20 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DatePicker/utils.d.ts +6 -0
- package/dist/components/DatePicker/utils.js +9 -0
- package/dist/components/Drawer/Drawer.d.ts +87 -0
- package/dist/components/Drawer/Drawer.js +166 -0
- package/dist/components/Drawer/constants.d.ts +6 -0
- package/dist/components/Drawer/constants.js +4 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Drawer/index.js +6 -0
- package/dist/components/Dropdown/Dropdown.d.ts +45 -0
- package/dist/components/Dropdown/Dropdown.js +333 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +4 -0
- package/dist/components/GosZnak/GosZnak.d.ts +4 -0
- package/dist/components/GosZnak/GosZnak.js +63 -0
- package/dist/components/GosZnak/constants.d.ts +11 -0
- package/dist/components/GosZnak/constants.js +5 -0
- package/dist/components/GosZnak/index.d.ts +3 -0
- package/dist/components/GosZnak/index.js +7 -0
- package/dist/components/GosZnak/types.d.ts +26 -0
- package/dist/components/Image/Image.d.ts +33 -0
- package/dist/components/Image/Image.js +60 -0
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +4 -0
- package/dist/components/Input/Input.d.ts +71 -0
- package/dist/components/Input/Input.js +11 -0
- package/dist/components/Input/constants.d.ts +14 -0
- package/dist/components/Input/constants.js +6 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.js +8 -0
- package/dist/components/Input/types.d.ts +22 -0
- package/dist/components/InputPassword/InputPassword.d.ts +4 -0
- package/dist/components/InputPassword/InputPassword.js +58 -0
- package/dist/components/InputPassword/index.d.ts +2 -0
- package/dist/components/InputPassword/index.js +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +4 -0
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +35 -0
- package/dist/components/InputPhoneNumber/index.d.ts +2 -0
- package/dist/components/InputPhoneNumber/index.js +7 -0
- package/dist/components/InputPhoneNumber/utils.d.ts +2 -0
- package/dist/components/InputPhoneNumber/utils.js +9 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +3 -0
- package/dist/components/InputRangeSlider/InputRangeSlider.js +171 -0
- package/dist/components/InputRangeSlider/constants.d.ts +10 -0
- package/dist/components/InputRangeSlider/constants.js +8 -0
- package/dist/components/InputRangeSlider/index.d.ts +3 -0
- package/dist/components/InputRangeSlider/index.js +7 -0
- package/dist/components/InputRangeSlider/types.d.ts +33 -0
- package/dist/components/ListFiles/ListFiles.d.ts +40 -0
- package/dist/components/ListFiles/ListFiles.js +66 -0
- package/dist/components/ListFiles/constants.d.ts +7 -0
- package/dist/components/ListFiles/constants.js +35 -0
- package/dist/components/ListFiles/index.d.ts +3 -0
- package/dist/components/ListFiles/index.js +6 -0
- package/dist/components/ListPhotos/ListPhotos.d.ts +28 -0
- package/dist/components/ListPhotos/ListPhotos.js +44 -0
- package/dist/components/ListPhotos/constants.d.ts +3 -0
- package/dist/components/ListPhotos/constants.js +21 -0
- package/dist/components/ListPhotos/index.d.ts +2 -0
- package/dist/components/ListPhotos/index.js +4 -0
- package/dist/components/Loader/Loader.d.ts +7 -0
- package/dist/components/Loader/Loader.js +16 -0
- package/dist/components/Loader/constants.d.ts +4 -0
- package/dist/components/Loader/constants.js +4 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/index.js +6 -0
- package/dist/components/MergedButton/MergedButton.d.ts +18 -0
- package/dist/components/MergedButton/MergedButton.js +48 -0
- package/dist/components/MergedButton/constants.d.ts +5 -0
- package/dist/components/MergedButton/constants.js +4 -0
- package/dist/components/MergedButton/index.d.ts +2 -0
- package/dist/components/MergedButton/index.js +6 -0
- package/dist/components/MessageShortReply/MessageShortReply.d.ts +30 -0
- package/dist/components/MessageShortReply/MessageShortReply.js +51 -0
- package/dist/components/MessageShortReply/constants.d.ts +9 -0
- package/dist/components/MessageShortReply/constants.js +4 -0
- package/dist/components/MessageShortReply/index.d.ts +2 -0
- package/dist/components/MessageShortReply/index.js +6 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +26 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +375 -0
- package/dist/components/MultiSelectSearch/constants.d.ts +7 -0
- package/dist/components/MultiSelectSearch/constants.js +8 -0
- package/dist/components/MultiSelectSearch/index.d.ts +3 -0
- package/dist/components/MultiSelectSearch/index.js +6 -0
- package/dist/components/MultiSelectSearch/types.d.ts +72 -0
- package/dist/components/MultiSelectSearch/utils.d.ts +11 -0
- package/dist/components/MultiSelectSearch/utils.js +28 -0
- package/dist/components/NotificationBadge/NotificationBadge.d.ts +3 -0
- package/dist/components/NotificationBadge/NotificationBadge.js +36 -0
- package/dist/components/NotificationBadge/constants.d.ts +5 -0
- package/dist/components/NotificationBadge/constants.js +4 -0
- package/dist/components/NotificationBadge/index.d.ts +3 -0
- package/dist/components/NotificationBadge/index.js +6 -0
- package/dist/components/NotificationBadge/types.d.ts +25 -0
- package/dist/components/OtpInput/OtpInput.d.ts +23 -0
- package/dist/components/OtpInput/OtpInput.js +70 -0
- package/dist/components/OtpInput/constants.d.ts +3 -0
- package/dist/components/OtpInput/constants.js +6 -0
- package/dist/components/OtpInput/hooks.d.ts +20 -0
- package/dist/components/OtpInput/hooks.js +102 -0
- package/dist/components/OtpInput/index.d.ts +1 -0
- package/dist/components/OtpInput/index.js +4 -0
- package/dist/components/Pagination/Pagination.d.ts +40 -0
- package/dist/components/Pagination/Pagination.js +179 -0
- package/dist/components/Pagination/constants.d.ts +2 -0
- package/dist/components/Pagination/constants.js +5 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/Pagination/types.d.ts +0 -0
- package/dist/components/Portal/Portal.d.ts +7 -0
- package/dist/components/Portal/Portal.js +8 -0
- package/dist/components/Portal/index.d.ts +1 -0
- package/dist/components/Portal/index.js +4 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +71 -0
- package/dist/components/RadioGroup/RadioGroup.js +195 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.js +4 -0
- package/dist/components/SelectSearch/SelectSearch.d.ts +22 -0
- package/dist/components/SelectSearch/SelectSearch.js +263 -0
- package/dist/components/SelectSearch/constants.d.ts +4 -0
- package/dist/components/SelectSearch/constants.js +4 -0
- package/dist/components/SelectSearch/index.d.ts +3 -0
- package/dist/components/SelectSearch/index.js +6 -0
- package/dist/components/SelectSearch/types.d.ts +59 -0
- package/dist/components/SelectSearch/utils.d.ts +5 -0
- package/dist/components/SelectSearch/utils.js +17 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +12 -0
- package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +33 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +9 -0
- package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +29 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +10 -0
- package/dist/components/Skeleton/SkeletonText/SkeletonText.js +52 -0
- package/dist/components/Skeleton/constants.d.ts +5 -0
- package/dist/components/Skeleton/constants.js +4 -0
- package/dist/components/Skeleton/index.d.ts +4 -0
- package/dist/components/Skeleton/index.js +10 -0
- package/dist/components/Slider/Slider.d.ts +75 -0
- package/dist/components/Slider/Slider.js +3075 -0
- package/dist/components/Slider/constants.d.ts +4 -0
- package/dist/components/Slider/constants.js +4 -0
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/index.js +9 -0
- package/dist/components/Steps/Steps.d.ts +78 -0
- package/dist/components/Steps/Steps.js +123 -0
- package/dist/components/Steps/constants.d.ts +49 -0
- package/dist/components/Steps/constants.js +57 -0
- package/dist/components/Steps/index.d.ts +3 -0
- package/dist/components/Steps/index.js +7 -0
- package/dist/components/Steps/types.d.ts +10 -0
- package/dist/components/Switcher/Switcher.d.ts +3 -0
- package/dist/components/Switcher/Switcher.js +107 -0
- package/dist/components/Switcher/constants.d.ts +4 -0
- package/dist/components/Switcher/constants.js +4 -0
- package/dist/components/Switcher/index.d.ts +3 -0
- package/dist/components/Switcher/index.js +6 -0
- package/dist/components/Switcher/types.d.ts +30 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +10 -0
- package/dist/components/TabTrail/TabButtons/TabButtons.js +33 -0
- package/dist/components/TabTrail/TabButtons/constants.d.ts +8 -0
- package/dist/components/TabTrail/TabButtons/constants.js +5 -0
- package/dist/components/TabTrail/TabButtons/index.d.ts +1 -0
- package/dist/components/TabTrail/TabButtons/index.js +4 -0
- package/dist/components/TabTrail/TabTrail.d.ts +68 -0
- package/dist/components/TabTrail/TabTrail.js +313 -0
- package/dist/components/TabTrail/constants.d.ts +4 -0
- package/dist/components/TabTrail/constants.js +4 -0
- package/dist/components/TabTrail/index.d.ts +2 -0
- package/dist/components/TabTrail/index.js +6 -0
- package/dist/components/Tag/Tag.d.ts +42 -0
- package/dist/components/Tag/Tag.js +46 -0
- package/dist/components/Tag/constants.d.ts +9 -0
- package/dist/components/Tag/constants.js +5 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/Tag/index.js +7 -0
- package/dist/components/Tag/types.d.ts +0 -0
- package/dist/components/TextArea/TextArea.d.ts +7 -0
- package/dist/components/TextArea/TextArea.js +224 -0
- package/dist/components/TextArea/constants.d.ts +5 -0
- package/dist/components/TextArea/constants.js +4 -0
- package/dist/components/TextArea/hooks.d.ts +3 -0
- package/dist/components/TextArea/hooks.js +15 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextArea/index.js +6 -0
- package/dist/components/TextArea/types.d.ts +6 -0
- package/dist/components/Timer/Timer.d.ts +24 -0
- package/dist/components/Timer/Timer.js +23 -0
- package/dist/components/Timer/index.d.ts +1 -0
- package/dist/components/Timer/index.js +4 -0
- package/dist/components/Toasts/ProgressBar.d.ts +5 -0
- package/dist/components/Toasts/ProgressBar.js +8 -0
- package/dist/components/Toasts/Toast.d.ts +54 -0
- package/dist/components/Toasts/Toast.js +72 -0
- package/dist/components/Toasts/ToastList.d.ts +10 -0
- package/dist/components/Toasts/ToastList.js +41 -0
- package/dist/components/Toasts/ToastsProvider.d.ts +3 -0
- package/dist/components/Toasts/ToastsProvider.js +42 -0
- package/dist/components/Toasts/constants.d.ts +23 -0
- package/dist/components/Toasts/constants.js +15 -0
- package/dist/components/Toasts/hooks.d.ts +2 -0
- package/dist/components/Toasts/hooks.js +15 -0
- package/dist/components/Toasts/index.d.ts +3 -0
- package/dist/components/Toasts/index.js +9 -0
- package/dist/components/Toasts/store.d.ts +29 -0
- package/dist/components/Toasts/store.js +40 -0
- package/dist/components/Toasts/types.d.ts +5 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +10 -0
- package/dist/components/TwinSwitcher/TwinSwitcher.js +61 -0
- package/dist/components/TwinSwitcher/index.d.ts +1 -0
- package/dist/components/TwinSwitcher/index.js +4 -0
- package/dist/components/UniversalUploader/UniversalUploader.d.ts +10 -0
- package/dist/components/UniversalUploader/UniversalUploader.js +121 -0
- package/dist/components/UniversalUploader/constants.d.ts +6 -0
- package/dist/components/UniversalUploader/constants.js +13 -0
- package/dist/components/UniversalUploader/index.d.ts +3 -0
- package/dist/components/UniversalUploader/index.js +6 -0
- package/dist/components/UniversalUploader/types.d.ts +21 -0
- package/dist/components/Uploader/Uploader.d.ts +77 -0
- package/dist/components/Uploader/Uploader.js +116 -0
- package/dist/components/Uploader/constants.d.ts +8 -0
- package/dist/components/Uploader/constants.js +37 -0
- package/dist/components/Uploader/index.d.ts +4 -0
- package/dist/components/Uploader/index.js +6 -0
- package/dist/components/UploaderFiles/UploaderFiles.d.ts +3 -0
- package/dist/components/UploaderFiles/UploaderFiles.js +92 -0
- package/dist/components/UploaderFiles/constants.d.ts +4 -0
- package/dist/components/UploaderFiles/constants.js +4 -0
- package/dist/components/UploaderFiles/index.d.ts +3 -0
- package/dist/components/UploaderFiles/index.js +6 -0
- package/dist/components/UploaderFiles/types.d.ts +75 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +60 -0
- package/dist/components/UploaderPhotos/UploaderPhotos.js +72 -0
- package/dist/components/UploaderPhotos/index.d.ts +2 -0
- package/dist/components/UploaderPhotos/index.js +4 -0
- package/dist/components/Vote/Vote.d.ts +171 -0
- package/dist/components/Vote/Vote.js +95 -0
- package/dist/components/Vote/constants.d.ts +7 -0
- package/dist/components/Vote/constants.js +9 -0
- package/dist/components/Vote/index.d.ts +3 -0
- package/dist/components/Vote/index.js +6 -0
- package/dist/components/Vote/types.d.ts +6 -0
- package/dist/components/index.d.ts +70 -0
- package/dist/components/index.js +165 -0
- package/dist/field-FJ34aSs4.js +12 -0
- package/dist/focus-management-DE4t_lW3.js +78 -0
- package/dist/hidden-DbgtYPOH.js +13 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +19 -0
- package/dist/hooks/useClickOutside/index.d.ts +1 -0
- package/dist/hooks/useClickOutside/index.js +4 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +7 -0
- package/dist/hooks/useClickOutside/useClickOutside.js +16 -0
- package/dist/hooks/useCopyToClipboard/index.d.ts +1 -0
- package/dist/hooks/useCopyToClipboard/index.js +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +4 -0
- package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +16 -0
- package/dist/hooks/useInterval/index.d.ts +1 -0
- package/dist/hooks/useInterval/index.js +4 -0
- package/dist/hooks/useInterval/useInterval.d.ts +1 -0
- package/dist/hooks/useInterval/useInterval.js +15 -0
- package/dist/hooks/useLockBodyScroll/index.d.ts +1 -0
- package/dist/hooks/useLockBodyScroll/index.js +4 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +6 -0
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +16 -0
- package/dist/hooks/useMediaQuery/constants.d.ts +20 -0
- package/dist/hooks/useMediaQuery/constants.js +5 -0
- package/dist/hooks/useMediaQuery/index.d.ts +2 -0
- package/dist/hooks/useMediaQuery/index.js +7 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +14 -0
- package/dist/hooks/useMediaQuery/useMediaQuery.js +16 -0
- package/dist/hooks/useMergeRefs/index.d.ts +1 -0
- package/dist/hooks/useMergeRefs/index.js +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +4 -0
- package/dist/hooks/useMergeRefs/useMergeRefs.js +29 -0
- package/dist/hooks/useResizeObserver/getElement.d.ts +4 -0
- package/dist/hooks/useResizeObserver/getElement.js +4 -0
- package/dist/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/hooks/useResizeObserver/index.js +4 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +17 -0
- package/dist/hooks/useResizeObserver/useResizeObserver.js +36 -0
- package/dist/hooks/useTimer/index.d.ts +18 -0
- package/dist/hooks/useTimer/index.js +57 -0
- package/dist/hooks/useTimer/useTimer.d.ts +18 -0
- package/dist/hooks/useTimer/useTimer.js +58 -0
- package/dist/hooks/useTimer/utils.d.ts +24 -0
- package/dist/hooks/useTimer/utils.js +71 -0
- package/dist/hooks/useWindowSize/index.d.ts +4 -0
- package/dist/hooks/useWindowSize/index.js +20 -0
- package/dist/icons/Icon.d.ts +7 -0
- package/dist/icons/Icon.js +10 -0
- package/dist/icons/components/12px/Close12px.js +16 -0
- package/dist/icons/components/12px/MessageRead12px.js +35 -0
- package/dist/icons/components/16px/Accept16px.js +25 -0
- package/dist/icons/components/16px/Acts16px.js +38 -0
- package/dist/icons/components/16px/Acts16pxF.js +33 -0
- package/dist/icons/components/16px/AdditionalServicess16px.js +31 -0
- package/dist/icons/components/16px/AdditionalServicess16pxF.js +20 -0
- package/dist/icons/components/16px/Agents16px.js +22 -0
- package/dist/icons/components/16px/Agents16pxF.js +20 -0
- package/dist/icons/components/16px/Alarm16px.js +23 -0
- package/dist/icons/components/16px/ArrowDown16px.js +22 -0
- package/dist/icons/components/16px/ArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/ArrowRight16px.js +22 -0
- package/dist/icons/components/16px/ArrowUp16px.js +22 -0
- package/dist/icons/components/16px/ArrowUpright16px.js +22 -0
- package/dist/icons/components/16px/AttachFile16px.js +22 -0
- package/dist/icons/components/16px/Bell16px.js +42 -0
- package/dist/icons/components/16px/Bell16pxF.js +32 -0
- package/dist/icons/components/16px/Calculator16px.js +22 -0
- package/dist/icons/components/16px/CalculatorLkk16px.js +33 -0
- package/dist/icons/components/16px/CalculatorLkk16pxF.js +22 -0
- package/dist/icons/components/16px/Calendar16px.js +22 -0
- package/dist/icons/components/16px/Camera16px.js +34 -0
- package/dist/icons/components/16px/Car16px.js +33 -0
- package/dist/icons/components/16px/Car16pxF.js +22 -0
- package/dist/icons/components/16px/Catalog16px.js +22 -0
- package/dist/icons/components/16px/Certs16px.js +31 -0
- package/dist/icons/components/16px/Certs16pxF.js +31 -0
- package/dist/icons/components/16px/Change16px.js +20 -0
- package/dist/icons/components/16px/Chat16px.js +31 -0
- package/dist/icons/components/16px/Chat16pxF.js +22 -0
- package/dist/icons/components/16px/Chatbot16px.js +262 -0
- package/dist/icons/components/16px/Close16px.js +22 -0
- package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Coin16px.js +33 -0
- package/dist/icons/components/16px/Coin16pxF.js +40 -0
- package/dist/icons/components/16px/Contracts16px.js +33 -0
- package/dist/icons/components/16px/Contracts16pxF.js +31 -0
- package/dist/icons/components/16px/CopyClipboard16px.js +25 -0
- package/dist/icons/components/16px/Done16px.js +22 -0
- package/dist/icons/components/16px/Download16px.js +29 -0
- package/dist/icons/components/16px/DragHandle16px.js +20 -0
- package/dist/icons/components/16px/DragHandleHorizontal16px.js +20 -0
- package/dist/icons/components/16px/DragHandleVertical16px.js +20 -0
- package/dist/icons/components/16px/DropdownArrowBottom16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowLeft16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowRight16px.js +22 -0
- package/dist/icons/components/16px/DropdownArrowUp16px.js +22 -0
- package/dist/icons/components/16px/Dzen16px.js +20 -0
- package/dist/icons/components/16px/Euro16px.js +23 -0
- package/dist/icons/components/16px/Eye16px.js +33 -0
- package/dist/icons/components/16px/Failure16px.js +25 -0
- package/dist/icons/components/16px/Favorite16px.js +22 -0
- package/dist/icons/components/16px/Favorite16pxF.js +20 -0
- package/dist/icons/components/16px/Filter16px.js +22 -0
- package/dist/icons/components/16px/Flag16pxF.js +14 -0
- package/dist/icons/components/16px/Folder16px.js +22 -0
- package/dist/icons/components/16px/Fullscreen16px.js +22 -0
- package/dist/icons/components/16px/Galery16px.js +25 -0
- package/dist/icons/components/16px/Gear16px.js +33 -0
- package/dist/icons/components/16px/Gift16px.js +31 -0
- package/dist/icons/components/16px/Hint16px.js +23 -0
- package/dist/icons/components/16px/Home16px.js +31 -0
- package/dist/icons/components/16px/Home16pxF.js +22 -0
- package/dist/icons/components/16px/Hot16pxF.js +20 -0
- package/dist/icons/components/16px/Kebab16px.js +14 -0
- package/dist/icons/components/16px/List16px.js +20 -0
- package/dist/icons/components/16px/Location16px.js +33 -0
- package/dist/icons/components/16px/Map16px.js +22 -0
- package/dist/icons/components/16px/Menu16px.js +20 -0
- package/dist/icons/components/16px/MenuMobile16px.js +22 -0
- package/dist/icons/components/16px/Minus16px.js +14 -0
- package/dist/icons/components/16px/Navigation16px.js +22 -0
- package/dist/icons/components/16px/News16px.js +31 -0
- package/dist/icons/components/16px/News16pxF.js +22 -0
- package/dist/icons/components/16px/Number16px.js +31 -0
- package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +20 -0
- package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +20 -0
- package/dist/icons/components/16px/Orders16px.js +31 -0
- package/dist/icons/components/16px/Orders16pxF.js +25 -0
- package/dist/icons/components/16px/Pause16px.js +14 -0
- package/dist/icons/components/16px/Pen16px.js +33 -0
- package/dist/icons/components/16px/Pen16pxF.js +22 -0
- package/dist/icons/components/16px/Phone16px.js +22 -0
- package/dist/icons/components/16px/Play16pxF.js +20 -0
- package/dist/icons/components/16px/Plus16px.js +22 -0
- package/dist/icons/components/16px/Pound16px.js +23 -0
- package/dist/icons/components/16px/PriceDown16px.js +33 -0
- package/dist/icons/components/16px/PriceUp16px.js +33 -0
- package/dist/icons/components/16px/Question16px.js +22 -0
- package/dist/icons/components/16px/Question16pxF.js +22 -0
- package/dist/icons/components/16px/Rutube16px.js +20 -0
- package/dist/icons/components/16px/Scan16px.js +20 -0
- package/dist/icons/components/16px/Search16px.js +22 -0
- package/dist/icons/components/16px/Share16pxF.js +20 -0
- package/dist/icons/components/16px/ShopingCard16px.js +22 -0
- package/dist/icons/components/16px/Sort16px.js +22 -0
- package/dist/icons/components/16px/Star16px.js +22 -0
- package/dist/icons/components/16px/Star16pxF.js +20 -0
- package/dist/icons/components/16px/StarHalf16pxF.js +22 -0
- package/dist/icons/components/16px/Telegram16pxF.js +20 -0
- package/dist/icons/components/16px/TelegramPlane16pxF.js +20 -0
- package/dist/icons/components/16px/Timer16px.js +38 -0
- package/dist/icons/components/16px/Trash16px.js +22 -0
- package/dist/icons/components/16px/TwinArrowLeft16px.js +20 -0
- package/dist/icons/components/16px/TwinArrowRight16px.js +20 -0
- package/dist/icons/components/16px/USDollar16px.js +23 -0
- package/dist/icons/components/16px/Umbrella16px.js +22 -0
- package/dist/icons/components/16px/Umbrella16pxF.js +20 -0
- package/dist/icons/components/16px/UnionIcon16px.js +22 -0
- package/dist/icons/components/16px/User16px.js +31 -0
- package/dist/icons/components/16px/User16pxF.js +20 -0
- package/dist/icons/components/16px/Users16px.js +31 -0
- package/dist/icons/components/16px/Users16pxF.js +20 -0
- package/dist/icons/components/16px/VK16pxF.js +22 -0
- package/dist/icons/components/16px/Waiting16px.js +22 -0
- package/dist/icons/components/16px/Whatsapp16px.js +31 -0
- package/dist/icons/components/16px/WriteUs16px.js +25 -0
- package/dist/icons/components/16px/Youtube16pxF.js +20 -0
- package/dist/icons/components/16px/Yuan16px.js +23 -0
- package/dist/icons/components/24px/Accept24px.js +27 -0
- package/dist/icons/components/24px/Acts24px.js +39 -0
- package/dist/icons/components/24px/Acts24pxF.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24px.js +32 -0
- package/dist/icons/components/24px/AdditionalServicess24pxF.js +21 -0
- package/dist/icons/components/24px/Agents24px.js +23 -0
- package/dist/icons/components/24px/Agents24pxF.js +30 -0
- package/dist/icons/components/24px/Alarm24px.js +24 -0
- package/dist/icons/components/24px/ArrowDown24px.js +23 -0
- package/dist/icons/components/24px/ArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/ArrowRight24px.js +23 -0
- package/dist/icons/components/24px/ArrowUp24px.js +23 -0
- package/dist/icons/components/24px/ArrowUpright24px.js +23 -0
- package/dist/icons/components/24px/AttachFile24px.js +23 -0
- package/dist/icons/components/24px/Bell24px.js +43 -0
- package/dist/icons/components/24px/Bell24pxF.js +26 -0
- package/dist/icons/components/24px/Calculator24px.js +23 -0
- package/dist/icons/components/24px/CalculatorLkk24px.js +32 -0
- package/dist/icons/components/24px/CalculatorLkk24pxF.js +23 -0
- package/dist/icons/components/24px/Calendar24px.js +23 -0
- package/dist/icons/components/24px/Camera24px.js +23 -0
- package/dist/icons/components/24px/Car24px.js +34 -0
- package/dist/icons/components/24px/Car24pxF.js +32 -0
- package/dist/icons/components/24px/Catalog24px.js +23 -0
- package/dist/icons/components/24px/Certs24px.js +32 -0
- package/dist/icons/components/24px/Certs24pxF.js +32 -0
- package/dist/icons/components/24px/Change24px.js +23 -0
- package/dist/icons/components/24px/Chat24px.js +28 -0
- package/dist/icons/components/24px/Chat24pxF.js +23 -0
- package/dist/icons/components/24px/Chatbot24px.js +263 -0
- package/dist/icons/components/24px/Close24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +23 -0
- package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +21 -0
- package/dist/icons/components/24px/Coin24px.js +24 -0
- package/dist/icons/components/24px/Coin24pxF.js +41 -0
- package/dist/icons/components/24px/Contracts24px.js +34 -0
- package/dist/icons/components/24px/Contracts24pxF.js +32 -0
- package/dist/icons/components/24px/CopyClipboard24px.js +26 -0
- package/dist/icons/components/24px/Done24px.js +23 -0
- package/dist/icons/components/24px/Download24px.js +30 -0
- package/dist/icons/components/24px/DragHandle24px.js +21 -0
- package/dist/icons/components/24px/DragHandleHorizontal24px.js +21 -0
- package/dist/icons/components/24px/DragHandleVertical24px.js +21 -0
- package/dist/icons/components/24px/DropdownArrowDown24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowLeft24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowRight24px.js +23 -0
- package/dist/icons/components/24px/DropdownArrowUp24px.js +23 -0
- package/dist/icons/components/24px/Dzen24px.js +21 -0
- package/dist/icons/components/24px/Euro24px.js +24 -0
- package/dist/icons/components/24px/Eye24px.js +34 -0
- package/dist/icons/components/24px/Failure24px.js +26 -0
- package/dist/icons/components/24px/Favorite24px.js +23 -0
- package/dist/icons/components/24px/Favorite24pxF.js +21 -0
- package/dist/icons/components/24px/Filter24px.js +21 -0
- package/dist/icons/components/24px/Flag24pxF.js +15 -0
- package/dist/icons/components/24px/Folder24px.js +23 -0
- package/dist/icons/components/24px/Fullscreen24px.js +23 -0
- package/dist/icons/components/24px/Galery24px.js +26 -0
- package/dist/icons/components/24px/Gear24px.js +34 -0
- package/dist/icons/components/24px/Gift24px.js +23 -0
- package/dist/icons/components/24px/Hint24px.js +26 -0
- package/dist/icons/components/24px/Home24px.js +34 -0
- package/dist/icons/components/24px/Home24pxF.js +23 -0
- package/dist/icons/components/24px/Hot24pxF.js +21 -0
- package/dist/icons/components/24px/Improvements24px.js +41 -0
- package/dist/icons/components/24px/Improvements24pxF.js +35 -0
- package/dist/icons/components/24px/Kebab24px.js +21 -0
- package/dist/icons/components/24px/List24px.js +21 -0
- package/dist/icons/components/24px/Location24px.js +34 -0
- package/dist/icons/components/24px/Map24px.js +23 -0
- package/dist/icons/components/24px/Menu24px.js +21 -0
- package/dist/icons/components/24px/MenuMobile24px.js +23 -0
- package/dist/icons/components/24px/Minus24px.js +23 -0
- package/dist/icons/components/24px/Navigation24px.js +23 -0
- package/dist/icons/components/24px/News24px.js +32 -0
- package/dist/icons/components/24px/News24pxF.js +23 -0
- package/dist/icons/components/24px/Number24px.js +32 -0
- package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +21 -0
- package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +23 -0
- package/dist/icons/components/24px/Orders24px.js +32 -0
- package/dist/icons/components/24px/Orders24pxF.js +26 -0
- package/dist/icons/components/24px/Pause24px.js +15 -0
- package/dist/icons/components/24px/Pen24px.js +34 -0
- package/dist/icons/components/24px/Pen24pxF.js +23 -0
- package/dist/icons/components/24px/Phone24px.js +23 -0
- package/dist/icons/components/24px/Play24px.js +21 -0
- package/dist/icons/components/24px/Plus24px.js +23 -0
- package/dist/icons/components/24px/Pound24px.js +24 -0
- package/dist/icons/components/24px/PriceDown24px.js +32 -0
- package/dist/icons/components/24px/PriceUp24px.js +32 -0
- package/dist/icons/components/24px/Question24px.js +32 -0
- package/dist/icons/components/24px/Question24pxF.js +23 -0
- package/dist/icons/components/24px/Rutube24px.js +21 -0
- package/dist/icons/components/24px/Scan24px.js +21 -0
- package/dist/icons/components/24px/Search24px.js +23 -0
- package/dist/icons/components/24px/Share24pxF.js +21 -0
- package/dist/icons/components/24px/ShopingCard24px.js +23 -0
- package/dist/icons/components/24px/Sort24px.js +21 -0
- package/dist/icons/components/24px/Star24px.js +23 -0
- package/dist/icons/components/24px/Star24pxF.js +21 -0
- package/dist/icons/components/24px/StarHalf24pxF.js +23 -0
- package/dist/icons/components/24px/Telegram24pxF.js +21 -0
- package/dist/icons/components/24px/TelegramPlane24pxF.js +21 -0
- package/dist/icons/components/24px/Timer24px.js +39 -0
- package/dist/icons/components/24px/Trash24px.js +43 -0
- package/dist/icons/components/24px/TwinArrowLeft24px.js +21 -0
- package/dist/icons/components/24px/TwinArrowRight24px.js +23 -0
- package/dist/icons/components/24px/USDollar24px.js +24 -0
- package/dist/icons/components/24px/Umbrella24px.js +23 -0
- package/dist/icons/components/24px/Umbrella24pxF.js +21 -0
- package/dist/icons/components/24px/UnionIcon24px.js +23 -0
- package/dist/icons/components/24px/User24px.js +32 -0
- package/dist/icons/components/24px/User24pxF.js +21 -0
- package/dist/icons/components/24px/Users24px.js +23 -0
- package/dist/icons/components/24px/Users24pxF.js +30 -0
- package/dist/icons/components/24px/VK24pxF.js +23 -0
- package/dist/icons/components/24px/Waiting24px.js +23 -0
- package/dist/icons/components/24px/Whatsapp24px.js +32 -0
- package/dist/icons/components/24px/WriteUs24px.js +26 -0
- package/dist/icons/components/24px/Youtube24pxF.js +21 -0
- package/dist/icons/components/24px/Yuan24px.js +24 -0
- package/dist/icons/components/32px/Accept32px.js +26 -0
- package/dist/icons/components/32px/Acts32px.js +39 -0
- package/dist/icons/components/32px/AdditionalServicess32px.js +23 -0
- package/dist/icons/components/32px/AdditionalServicess32pxF.js +21 -0
- package/dist/icons/components/32px/Agents32px.js +35 -0
- package/dist/icons/components/32px/Alarm32px.js +24 -0
- package/dist/icons/components/32px/ArrowDown32px.js +23 -0
- package/dist/icons/components/32px/ArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/ArrowRight32px.js +23 -0
- package/dist/icons/components/32px/ArrowUp32px.js +23 -0
- package/dist/icons/components/32px/ArrowUpright32px.js +23 -0
- package/dist/icons/components/32px/AttachFile32px.js +23 -0
- package/dist/icons/components/32px/Bell32px.js +43 -0
- package/dist/icons/components/32px/Bell32pxF.js +26 -0
- package/dist/icons/components/32px/Calculator32px.js +23 -0
- package/dist/icons/components/32px/CalculatorLkk32px.js +32 -0
- package/dist/icons/components/32px/CalculatorLkk32pxF.js +23 -0
- package/dist/icons/components/32px/Calendar32px.js +23 -0
- package/dist/icons/components/32px/Camera32px.js +35 -0
- package/dist/icons/components/32px/Car32px.js +34 -0
- package/dist/icons/components/32px/Car32pxF.js +26 -0
- package/dist/icons/components/32px/Catalog32px.js +23 -0
- package/dist/icons/components/32px/Certs32px.js +32 -0
- package/dist/icons/components/32px/Certs32pxF.js +32 -0
- package/dist/icons/components/32px/Change32px.js +23 -0
- package/dist/icons/components/32px/Chat32px.js +32 -0
- package/dist/icons/components/32px/Chat32pxF.js +23 -0
- package/dist/icons/components/32px/Chatbot32px.js +263 -0
- package/dist/icons/components/32px/Close32px.js +23 -0
- package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +21 -0
- package/dist/icons/components/32px/Coin32px.js +34 -0
- package/dist/icons/components/32px/Coin32pxF.js +32 -0
- package/dist/icons/components/32px/Contracts32px.js +34 -0
- package/dist/icons/components/32px/Contracts32pxF.js +32 -0
- package/dist/icons/components/32px/CopyClipboard32px.js +32 -0
- package/dist/icons/components/32px/Done32px.js +23 -0
- package/dist/icons/components/32px/Download32px.js +30 -0
- package/dist/icons/components/32px/DragHandle32px.js +21 -0
- package/dist/icons/components/32px/DragHandleHorizontal32px.js +21 -0
- package/dist/icons/components/32px/DragHandleVertical32px.js +21 -0
- package/dist/icons/components/32px/DropdownArrowDown32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowLeft32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowRight32px.js +23 -0
- package/dist/icons/components/32px/DropdownArrowUp32px.js +15 -0
- package/dist/icons/components/32px/Dzen32px.js +21 -0
- package/dist/icons/components/32px/Euro32px.js +24 -0
- package/dist/icons/components/32px/Eye32px.js +34 -0
- package/dist/icons/components/32px/Failure32px.js +26 -0
- package/dist/icons/components/32px/Favorite32px.js +23 -0
- package/dist/icons/components/32px/Favorite32pxF.js +21 -0
- package/dist/icons/components/32px/Filter32px.js +21 -0
- package/dist/icons/components/32px/Flag32pxF.js +15 -0
- package/dist/icons/components/32px/Folder32px.js +23 -0
- package/dist/icons/components/32px/Fullscreen32px.js +23 -0
- package/dist/icons/components/32px/Galery32px.js +26 -0
- package/dist/icons/components/32px/Gear32px.js +34 -0
- package/dist/icons/components/32px/Gift32px.js +23 -0
- package/dist/icons/components/32px/Hint32px.js +26 -0
- package/dist/icons/components/32px/Home32px.js +26 -0
- package/dist/icons/components/32px/Home32pxF.js +23 -0
- package/dist/icons/components/32px/Hot32pxF.js +21 -0
- package/dist/icons/components/32px/Kebab32px.js +15 -0
- package/dist/icons/components/32px/List32px.js +21 -0
- package/dist/icons/components/32px/Location32px.js +34 -0
- package/dist/icons/components/32px/Map32px.js +23 -0
- package/dist/icons/components/32px/Menu32px.js +21 -0
- package/dist/icons/components/32px/MenuMobile32px.js +23 -0
- package/dist/icons/components/32px/Minus32px.js +23 -0
- package/dist/icons/components/32px/Navigation32px.js +23 -0
- package/dist/icons/components/32px/News32px.js +32 -0
- package/dist/icons/components/32px/News32pxF.js +23 -0
- package/dist/icons/components/32px/Number32px.js +32 -0
- package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +21 -0
- package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +23 -0
- package/dist/icons/components/32px/Orders32px.js +41 -0
- package/dist/icons/components/32px/Orders32pxF.js +32 -0
- package/dist/icons/components/32px/Pause32px.js +15 -0
- package/dist/icons/components/32px/Pen32px.js +22 -0
- package/dist/icons/components/32px/Pen32pxF.js +23 -0
- package/dist/icons/components/32px/PersonalManager32px.js +110 -0
- package/dist/icons/components/32px/Phone32px.js +21 -0
- package/dist/icons/components/32px/Play32px.js +21 -0
- package/dist/icons/components/32px/Plus32px.js +23 -0
- package/dist/icons/components/32px/Pound32px.js +24 -0
- package/dist/icons/components/32px/PriceDown32px.js +43 -0
- package/dist/icons/components/32px/PriceUp32px.js +34 -0
- package/dist/icons/components/32px/Question32px.js +32 -0
- package/dist/icons/components/32px/Question32pxF.js +23 -0
- package/dist/icons/components/32px/Rutube32px.js +21 -0
- package/dist/icons/components/32px/Scan32px.js +21 -0
- package/dist/icons/components/32px/Search32px.js +23 -0
- package/dist/icons/components/32px/Share32pxF.js +21 -0
- package/dist/icons/components/32px/ShopimgCard32px.js +23 -0
- package/dist/icons/components/32px/Sort32px.js +21 -0
- package/dist/icons/components/32px/Star32px.js +23 -0
- package/dist/icons/components/32px/Star32pxF.js +21 -0
- package/dist/icons/components/32px/StarHalf32pxF.js +23 -0
- package/dist/icons/components/32px/Telegram32pxF.js +21 -0
- package/dist/icons/components/32px/TelegramPlane32pxF.js +21 -0
- package/dist/icons/components/32px/Timer32px.js +33 -0
- package/dist/icons/components/32px/Trash32px.js +43 -0
- package/dist/icons/components/32px/TwinArrowLeft32px.js +21 -0
- package/dist/icons/components/32px/TwinArrowRight32px.js +21 -0
- package/dist/icons/components/32px/USDollar32px.js +24 -0
- package/dist/icons/components/32px/Umbrella32px.js +23 -0
- package/dist/icons/components/32px/Umbrella32pxF.js +23 -0
- package/dist/icons/components/32px/UnionIcon32px.js +23 -0
- package/dist/icons/components/32px/User32px.js +32 -0
- package/dist/icons/components/32px/User32pxF.js +21 -0
- package/dist/icons/components/32px/Users32px.js +23 -0
- package/dist/icons/components/32px/Users32pxF.js +24 -0
- package/dist/icons/components/32px/VK32pxF.js +23 -0
- package/dist/icons/components/32px/Waiting32px.js +23 -0
- package/dist/icons/components/32px/Whatsapp32px.js +32 -0
- package/dist/icons/components/32px/WriteUs32px.js +26 -0
- package/dist/icons/components/32px/Youtube32pxF.js +21 -0
- package/dist/icons/components/32px/Yuan32px.js +24 -0
- package/dist/icons/components/Mans.js +21 -0
- package/dist/icons/components/Step.js +22 -0
- package/dist/icons/components/StepXL.js +32 -0
- package/dist/icons/components/auto-logo/ACE.js +21 -0
- package/dist/icons/components/auto-logo/Alim.js +23 -0
- package/dist/icons/components/auto-logo/Amur.js +23 -0
- package/dist/icons/components/auto-logo/Ankai.js +23 -0
- package/dist/icons/components/auto-logo/ArrowLength.js +21 -0
- package/dist/icons/components/auto-logo/Audi.js +20 -0
- package/dist/icons/components/auto-logo/BMW.js +41 -0
- package/dist/icons/components/auto-logo/BRP.js +32 -0
- package/dist/icons/components/auto-logo/Bomag.js +32 -0
- package/dist/icons/components/auto-logo/Case.js +23 -0
- package/dist/icons/components/auto-logo/Caterpillar.js +37 -0
- package/dist/icons/components/auto-logo/ChMZAP.js +46 -0
- package/dist/icons/components/auto-logo/ChTZ.js +32 -0
- package/dist/icons/components/auto-logo/Changan.js +21 -0
- package/dist/icons/components/auto-logo/Cherry.js +32 -0
- package/dist/icons/components/auto-logo/Citroen.js +23 -0
- package/dist/icons/components/auto-logo/DaewooFull.js +58 -0
- package/dist/icons/components/auto-logo/DaewooSymbol.js +51 -0
- package/dist/icons/components/auto-logo/Daf.js +23 -0
- package/dist/icons/components/auto-logo/Dayun.js +23 -0
- package/dist/icons/components/auto-logo/DongFeng.js +23 -0
- package/dist/icons/components/auto-logo/Ducati.js +32 -0
- package/dist/icons/components/auto-logo/Exeed.js +32 -0
- package/dist/icons/components/auto-logo/Faw.js +34 -0
- package/dist/icons/components/auto-logo/Fenix.js +114 -0
- package/dist/icons/components/auto-logo/Fiat.js +37 -0
- package/dist/icons/components/auto-logo/Ford.js +41 -0
- package/dist/icons/components/auto-logo/Foton.js +32 -0
- package/dist/icons/components/auto-logo/Gac.js +21 -0
- package/dist/icons/components/auto-logo/Gaz.js +59 -0
- package/dist/icons/components/auto-logo/Geely.js +25 -0
- package/dist/icons/components/auto-logo/Genesis.js +30 -0
- package/dist/icons/components/auto-logo/Gitte.js +23 -0
- package/dist/icons/components/auto-logo/Grunwald.js +23 -0
- package/dist/icons/components/auto-logo/HartungFull.js +32 -0
- package/dist/icons/components/auto-logo/HartungSymbol.js +32 -0
- package/dist/icons/components/auto-logo/Haval.js +23 -0
- package/dist/icons/components/auto-logo/Higer.js +23 -0
- package/dist/icons/components/auto-logo/Hitachi.js +21 -0
- package/dist/icons/components/auto-logo/Honda.js +37 -0
- package/dist/icons/components/auto-logo/Hongqi.js +30 -0
- package/dist/icons/components/auto-logo/Hongyan.js +23 -0
- package/dist/icons/components/auto-logo/Howo.js +46 -0
- package/dist/icons/components/auto-logo/Hyundai.js +23 -0
- package/dist/icons/components/auto-logo/Infiniti.js +21 -0
- package/dist/icons/components/auto-logo/Isuzu.js +23 -0
- package/dist/icons/components/auto-logo/Iveco.js +23 -0
- package/dist/icons/components/auto-logo/JCB.js +32 -0
- package/dist/icons/components/auto-logo/Jac.js +21 -0
- package/dist/icons/components/auto-logo/Juterborg.js +57 -0
- package/dist/icons/components/auto-logo/KIA.js +23 -0
- package/dist/icons/components/auto-logo/Kaiyi.js +23 -0
- package/dist/icons/components/auto-logo/Kamaz.js +35 -0
- package/dist/icons/components/auto-logo/Kassbohrer.js +23 -0
- package/dist/icons/components/auto-logo/Komatsu.js +21 -0
- package/dist/icons/components/auto-logo/Ktm.js +21 -0
- package/dist/icons/components/auto-logo/LCCE.js +37 -0
- package/dist/icons/components/auto-logo/Lada.js +23 -0
- package/dist/icons/components/auto-logo/Lexus.js +23 -0
- package/dist/icons/components/auto-logo/LiuGong.js +30 -0
- package/dist/icons/components/auto-logo/Lonking.js +30 -0
- package/dist/icons/components/auto-logo/Lovol.js +21 -0
- package/dist/icons/components/auto-logo/MTZBelarus.js +34 -0
- package/dist/icons/components/auto-logo/Man.js +21 -0
- package/dist/icons/components/auto-logo/Maz.js +32 -0
- package/dist/icons/components/auto-logo/MercedesBenz.js +23 -0
- package/dist/icons/components/auto-logo/Meusburger.js +23 -0
- package/dist/icons/components/auto-logo/Mitsubishi.js +21 -0
- package/dist/icons/components/auto-logo/NefAZ.js +30 -0
- package/dist/icons/components/auto-logo/NursanTrailer.js +21 -0
- package/dist/icons/components/auto-logo/Omoda.js +37 -0
- package/dist/icons/components/auto-logo/PSATss.js +37 -0
- package/dist/icons/components/auto-logo/Paz.js +23 -0
- package/dist/icons/components/auto-logo/Peugeot.js +21 -0
- package/dist/icons/components/auto-logo/Raskat.js +37 -0
- package/dist/icons/components/auto-logo/Renault.js +30 -0
- package/dist/icons/components/auto-logo/RussianCarsEmblem.js +32 -0
- package/dist/icons/components/auto-logo/RussianCarsKremlin.js +41 -0
- package/dist/icons/components/auto-logo/Sany.js +50 -0
- package/dist/icons/components/auto-logo/Scania.js +57 -0
- package/dist/icons/components/auto-logo/Schmitz.js +23 -0
- package/dist/icons/components/auto-logo/Shacman.js +30 -0
- package/dist/icons/components/auto-logo/Shantui.js +21 -0
- package/dist/icons/components/auto-logo/Sinanli.js +71 -0
- package/dist/icons/components/auto-logo/Sitrak.js +34 -0
- package/dist/icons/components/auto-logo/SobolIztechmash.js +60 -0
- package/dist/icons/components/auto-logo/Sokol.js +21 -0
- package/dist/icons/components/auto-logo/Sollers.js +23 -0
- package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +21 -0
- package/dist/icons/components/auto-logo/Tonar.js +23 -0
- package/dist/icons/components/auto-logo/Toyota.js +21 -0
- package/dist/icons/components/auto-logo/Trekol.js +34 -0
- package/dist/icons/components/auto-logo/UAT.js +21 -0
- package/dist/icons/components/auto-logo/Uaz.js +70 -0
- package/dist/icons/components/auto-logo/Ural.js +21 -0
- package/dist/icons/components/auto-logo/VIS.js +21 -0
- package/dist/icons/components/auto-logo/VKR.js +32 -0
- package/dist/icons/components/auto-logo/Volkswagen.js +23 -0
- package/dist/icons/components/auto-logo/Volvo.js +21 -0
- package/dist/icons/components/auto-logo/Wielton.js +21 -0
- package/dist/icons/components/auto-logo/XCMG.js +37 -0
- package/dist/icons/components/auto-logo/Yutong.js +72 -0
- package/dist/icons/components/auto-logo/Zoomlion.js +21 -0
- package/dist/icons/components/car-icons/AllMetal.js +32 -0
- package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +32 -0
- package/dist/icons/components/car-icons/AsphaltPaver.js +35 -0
- package/dist/icons/components/car-icons/Autotower.js +32 -0
- package/dist/icons/components/car-icons/Awning.js +33 -0
- package/dist/icons/components/car-icons/BackhoeLoader.js +39 -0
- package/dist/icons/components/car-icons/Buggy.js +32 -0
- package/dist/icons/components/car-icons/Bulldozer.js +34 -0
- package/dist/icons/components/car-icons/Bus.js +23 -0
- package/dist/icons/components/car-icons/BusBus.js +32 -0
- package/dist/icons/components/car-icons/BusMinibus.js +32 -0
- package/dist/icons/components/car-icons/BusShiftBuses.js +42 -0
- package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoAutotower.js +32 -0
- package/dist/icons/components/car-icons/CargoAwning.js +39 -0
- package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoDrillingRig.js +32 -0
- package/dist/icons/components/car-icons/CargoDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGarbageTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoGrainCarrier.js +39 -0
- package/dist/icons/components/car-icons/CargoIsothermal.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoard.js +39 -0
- package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/CargoPromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/CargoSortingTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/CargoTowTruck.js +32 -0
- package/dist/icons/components/car-icons/CargoTruckCrane.js +41 -0
- package/dist/icons/components/car-icons/CargoVacuumMachine.js +32 -0
- package/dist/icons/components/car-icons/Clearance.js +23 -0
- package/dist/icons/components/car-icons/CombineHarvester.js +39 -0
- package/dist/icons/components/car-icons/Compartment.js +32 -0
- package/dist/icons/components/car-icons/ConcreteMixerTruck.js +39 -0
- package/dist/icons/components/car-icons/ConcretePump.js +40 -0
- package/dist/icons/components/car-icons/Crossover.js +32 -0
- package/dist/icons/components/car-icons/DrillingRigg.js +32 -0
- package/dist/icons/components/car-icons/DumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Excavator.js +23 -0
- package/dist/icons/components/car-icons/ForestPreparationEquipment.js +39 -0
- package/dist/icons/components/car-icons/ForkliftTruck.js +32 -0
- package/dist/icons/components/car-icons/FrontLoader.js +39 -0
- package/dist/icons/components/car-icons/Hatchback.js +32 -0
- package/dist/icons/components/car-icons/IceRink.js +34 -0
- package/dist/icons/components/car-icons/Isothermal.js +39 -0
- package/dist/icons/components/car-icons/Liftback.js +23 -0
- package/dist/icons/components/car-icons/MiniEscalator.js +41 -0
- package/dist/icons/components/car-icons/MiniLoader.js +32 -0
- package/dist/icons/components/car-icons/MiningDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/Minitractor.js +32 -0
- package/dist/icons/components/car-icons/Minivan.js +32 -0
- package/dist/icons/components/car-icons/MotorGrader.js +32 -0
- package/dist/icons/components/car-icons/MotorVehiclesBike.js +24 -0
- package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +30 -0
- package/dist/icons/components/car-icons/OffRoadVehicle.js +32 -0
- package/dist/icons/components/car-icons/OnBoard.js +39 -0
- package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +39 -0
- package/dist/icons/components/car-icons/OnBoardWithCmu.js +39 -0
- package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +48 -0
- package/dist/icons/components/car-icons/OtherCareerTechniques.js +39 -0
- package/dist/icons/components/car-icons/Pickup.js +23 -0
- package/dist/icons/components/car-icons/PickupTruck.js +32 -0
- package/dist/icons/components/car-icons/PilingInstallation.js +34 -0
- package/dist/icons/components/car-icons/PromotionalItem.js +39 -0
- package/dist/icons/components/car-icons/PublicUtilityVehicle.js +46 -0
- package/dist/icons/components/car-icons/QuarryExcavator.js +26 -0
- package/dist/icons/components/car-icons/Scooter.js +30 -0
- package/dist/icons/components/car-icons/Sedan.js +32 -0
- package/dist/icons/components/car-icons/Snowmobile.js +39 -0
- package/dist/icons/components/car-icons/TankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TelescopicLoader.js +32 -0
- package/dist/icons/components/car-icons/TheLift.js +37 -0
- package/dist/icons/components/car-icons/TowTruck.js +32 -0
- package/dist/icons/components/car-icons/Tractor.js +32 -0
- package/dist/icons/components/car-icons/TractorTruck.js +39 -0
- package/dist/icons/components/car-icons/Trailerr.js +23 -0
- package/dist/icons/components/car-icons/TrailersCarCarrier.js +41 -0
- package/dist/icons/components/car-icons/TrailersCattleTruck.js +32 -0
- package/dist/icons/components/car-icons/TrailersContainerShip.js +40 -0
- package/dist/icons/components/car-icons/TrailersCurtainSide.js +39 -0
- package/dist/icons/components/car-icons/TrailersDumpTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersGrainTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersHeavyTruck.js +39 -0
- package/dist/icons/components/car-icons/TrailersIsothermal.js +39 -0
- package/dist/icons/components/car-icons/TrailersOther.js +39 -0
- package/dist/icons/components/car-icons/TrailersTankerTruck.js +39 -0
- package/dist/icons/components/car-icons/TruckCrane.js +41 -0
- package/dist/icons/components/car-icons/Universal.js +32 -0
- package/dist/icons/components/car-icons/Van.js +23 -0
- package/dist/icons/components/car-icons/Ycles.js +42 -0
- package/dist/icons/components/car-parameters-icons/Acceleration.js +32 -0
- package/dist/icons/components/car-parameters-icons/Berths.js +37 -0
- package/dist/icons/components/car-parameters-icons/Bucket.js +21 -0
- package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/BucketVolume.js +30 -0
- package/dist/icons/components/car-parameters-icons/CabinTurn.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodySize.js +32 -0
- package/dist/icons/components/car-parameters-icons/CarBodyType.js +23 -0
- package/dist/icons/components/car-parameters-icons/CarColor.js +32 -0
- package/dist/icons/components/car-parameters-icons/Cylinders.js +35 -0
- package/dist/icons/components/car-parameters-icons/Dimensions.js +32 -0
- package/dist/icons/components/car-parameters-icons/EngineType.js +21 -0
- package/dist/icons/components/car-parameters-icons/FuelConsumption.js +21 -0
- package/dist/icons/components/car-parameters-icons/GearType.js +24 -0
- package/dist/icons/components/car-parameters-icons/LiftingHeight.js +21 -0
- package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +23 -0
- package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +21 -0
- package/dist/icons/components/car-parameters-icons/TrailerType.js +30 -0
- package/dist/icons/components/car-parameters-icons/UnloadingType.js +30 -0
- package/dist/icons/components/car-parameters-icons/Weight.js +34 -0
- package/dist/icons/components/car-parameters-icons/WheelDriveType.js +30 -0
- package/dist/icons/components/car-parameters-icons/WheelSheme.js +32 -0
- package/dist/icons/components/cars-stubus/Bike.js +23 -0
- package/dist/icons/components/cars-stubus/Car.js +23 -0
- package/dist/icons/components/cars-stubus/Equipment.js +23 -0
- package/dist/icons/components/cars-stubus/Truck.js +23 -0
- package/dist/icons/components/index.js +584 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +4 -0
- package/dist/index-BuVUKy18.js +2658 -0
- package/dist/index-DIxK0V-G.js +44 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +188 -0
- package/dist/keyboard-B0lm_zyn.js +573 -0
- package/dist/label-y3ANLTNC.js +171 -0
- package/dist/open-closed-CdldUPoq.js +86 -0
- package/dist/portal-WDFNoIMz.js +1908 -0
- package/dist/styles.module-BlOA4RBL.js +28 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/propsWithAs.d.ts +15 -0
- package/dist/types/propsWithAs.js +1 -0
- package/dist/use-active-press-86hajhdd.js +31 -0
- package/dist/use-by-comparator-CVuf9KBq.js +16 -0
- package/dist/use-resolve-button-type-DhFdPxnv.js +12 -0
- package/dist/utils/UUID4.d.ts +1 -0
- package/dist/utils/UUID4.js +9 -0
- package/dist/utils/formating/Date.d.ts +2 -0
- package/dist/utils/formating/Date.js +24 -0
- package/dist/utils/formating/FileSize.d.ts +1 -0
- package/dist/utils/formating/FileSize.js +12 -0
- package/dist/utils/formating/Month.d.ts +8 -0
- package/dist/utils/formating/Month.js +79 -0
- package/dist/utils/formating/Numbers.d.ts +6 -0
- package/dist/utils/formating/Numbers.js +8 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +17 -0
- package/dist/variant.module-BXn4N1h0.js +12 -0
- package/package.json +1 -1
@@ -0,0 +1,195 @@
|
|
1
|
+
import { jsxs as ee, jsx as L, Fragment as _e } from "react/jsx-runtime";
|
2
|
+
import { K as V, w as ye, a as oe, z as te, U as ie, b as ke, T as Oe, j as we, u as Pe, I as Ee, G as Te, p as De } from "../../label-y3ANLTNC.js";
|
3
|
+
import { W, y as z, o as U, H as K, s as se, n as ne, $ as le, b as de, D as ue, a as Ce, u as Ge, c as N } from "../../keyboard-B0lm_zyn.js";
|
4
|
+
import E, { createContext as ce, useId as q, useReducer as xe, useRef as B, useMemo as T, useCallback as Fe, useContext as pe, forwardRef as Ne } from "react";
|
5
|
+
import { u as Ae } from "../../use-by-comparator-CVuf9KBq.js";
|
6
|
+
import { r as fe } from "../../bugs-diTMAGNw.js";
|
7
|
+
import { P as re, F as H, T as ae, _ as Ie } from "../../focus-management-DE4t_lW3.js";
|
8
|
+
import { c as M } from "../../index-DIxK0V-G.js";
|
9
|
+
import '../../assets/RadioGroup.css';var Se = ((e) => (e[e.RegisterOption = 0] = "RegisterOption", e[e.UnregisterOption = 1] = "UnregisterOption", e))(Se || {});
|
10
|
+
let Le = { 0(e, r) {
|
11
|
+
let o = [...e.options, { id: r.id, element: r.element, propsRef: r.propsRef }];
|
12
|
+
return { ...e, options: Ie(o, (a) => a.element.current) };
|
13
|
+
}, 1(e, r) {
|
14
|
+
let o = e.options.slice(), a = e.options.findIndex((u) => u.id === r.id);
|
15
|
+
return a === -1 ? e : (o.splice(a, 1), { ...e, options: o });
|
16
|
+
} }, J = ce(null);
|
17
|
+
J.displayName = "RadioGroupDataContext";
|
18
|
+
function X(e) {
|
19
|
+
let r = pe(J);
|
20
|
+
if (r === null) {
|
21
|
+
let o = new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);
|
22
|
+
throw Error.captureStackTrace && Error.captureStackTrace(o, X), o;
|
23
|
+
}
|
24
|
+
return r;
|
25
|
+
}
|
26
|
+
let Q = ce(null);
|
27
|
+
Q.displayName = "RadioGroupActionsContext";
|
28
|
+
function Y(e) {
|
29
|
+
let r = pe(Q);
|
30
|
+
if (r === null) {
|
31
|
+
let o = new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);
|
32
|
+
throw Error.captureStackTrace && Error.captureStackTrace(o, Y), o;
|
33
|
+
}
|
34
|
+
return r;
|
35
|
+
}
|
36
|
+
function Ue(e, r) {
|
37
|
+
return Ce(r.type, Le, e, r);
|
38
|
+
}
|
39
|
+
let je = "div";
|
40
|
+
function He(e, r) {
|
41
|
+
let o = q(), a = oe(), { id: u = `headlessui-radiogroup-${o}`, value: _, form: v, name: c, onChange: n, by: m, disabled: l = a || !1, defaultValue: s, ...y } = e, d = Ae(m), [k, D] = xe(Ue, { options: [] }), p = k.options, [O, A] = te(), [C, w] = ie(), P = B(null), G = z(P, r), $ = ke(s), [t, x] = Oe(_, n, $), F = T(() => p.find((i) => !i.propsRef.current.disabled), [p]), g = T(() => p.some((i) => d(i.propsRef.current.value, t)), [p, t]), f = U((i) => {
|
42
|
+
var I;
|
43
|
+
if (l || d(i, t)) return !1;
|
44
|
+
let h = (I = p.find((j) => d(j.propsRef.current.value, i))) == null ? void 0 : I.propsRef.current;
|
45
|
+
return h != null && h.disabled ? !1 : (x == null || x(i), !0);
|
46
|
+
}), be = U((i) => {
|
47
|
+
let I = P.current;
|
48
|
+
if (!I) return;
|
49
|
+
let h = Ge(I), j = p.filter((b) => b.propsRef.current.disabled === !1).map((b) => b.element.current);
|
50
|
+
switch (i.key) {
|
51
|
+
case N.Enter:
|
52
|
+
De(i.currentTarget);
|
53
|
+
break;
|
54
|
+
case N.ArrowLeft:
|
55
|
+
case N.ArrowUp:
|
56
|
+
if (i.preventDefault(), i.stopPropagation(), re(j, H.Previous | H.WrapAround) === ae.Success) {
|
57
|
+
let b = p.find((S) => S.element.current === (h == null ? void 0 : h.activeElement));
|
58
|
+
b && f(b.propsRef.current.value);
|
59
|
+
}
|
60
|
+
break;
|
61
|
+
case N.ArrowRight:
|
62
|
+
case N.ArrowDown:
|
63
|
+
if (i.preventDefault(), i.stopPropagation(), re(j, H.Next | H.WrapAround) === ae.Success) {
|
64
|
+
let b = p.find((S) => S.element.current === (h == null ? void 0 : h.activeElement));
|
65
|
+
b && f(b.propsRef.current.value);
|
66
|
+
}
|
67
|
+
break;
|
68
|
+
case N.Space:
|
69
|
+
{
|
70
|
+
i.preventDefault(), i.stopPropagation();
|
71
|
+
let b = p.find((S) => S.element.current === (h == null ? void 0 : h.activeElement));
|
72
|
+
b && f(b.propsRef.current.value);
|
73
|
+
}
|
74
|
+
break;
|
75
|
+
}
|
76
|
+
}), Z = U((i) => (D({ type: 0, ...i }), () => D({ type: 1, id: i.id }))), ve = T(() => ({ value: t, firstOption: F, containsCheckedOption: g, disabled: l, compare: d, ...k }), [t, F, g, l, d, k]), Re = T(() => ({ registerOption: Z, change: f }), [Z, f]), he = { ref: G, id: u, role: "radiogroup", "aria-labelledby": O, "aria-describedby": C, onKeyDown: be }, $e = T(() => ({ value: t }), [t]), ge = Fe(() => {
|
77
|
+
if ($ !== void 0) return f($);
|
78
|
+
}, [f, $]);
|
79
|
+
return E.createElement(w, { name: "RadioGroup.Description" }, E.createElement(A, { name: "RadioGroup.Label" }, E.createElement(Q.Provider, { value: Re }, E.createElement(J.Provider, { value: ve }, c != null && E.createElement(we, { disabled: l, data: { [c]: t || "on" }, overrides: { type: "radio", checked: t != null }, form: v, onReset: ge }), K({ ourProps: he, theirProps: y, slot: $e, defaultTag: je, name: "RadioGroup" })))));
|
80
|
+
}
|
81
|
+
let Me = "div";
|
82
|
+
function Ve(e, r) {
|
83
|
+
var o;
|
84
|
+
let a = X("RadioGroup.Option"), u = Y("RadioGroup.Option"), _ = q(), { id: v = `headlessui-radiogroup-option-${_}`, value: c, disabled: n = a.disabled || !1, autoFocus: m = !1, ...l } = e, s = B(null), y = z(s, r), [d, k] = te(), [D, p] = ie(), O = se({ value: c, disabled: n });
|
85
|
+
ne(() => u.registerOption({ id: v, element: s, propsRef: O }), [v, u, s, O]);
|
86
|
+
let A = U((g) => {
|
87
|
+
var f;
|
88
|
+
if (fe(g.currentTarget)) return g.preventDefault();
|
89
|
+
u.change(c) && ((f = s.current) == null || f.focus());
|
90
|
+
}), C = ((o = a.firstOption) == null ? void 0 : o.id) === v, { isFocusVisible: w, focusProps: P } = le({ autoFocus: m }), { isHovered: G, hoverProps: $ } = de({ isDisabled: n }), t = a.compare(a.value, c), x = ue({ ref: y, id: v, role: "radio", "aria-checked": t ? "true" : "false", "aria-labelledby": d, "aria-describedby": D, "aria-disabled": n ? !0 : void 0, tabIndex: n ? -1 : t || !a.containsCheckedOption && C ? 0 : -1, onClick: n ? void 0 : A, autoFocus: m }, P, $), F = T(() => ({ checked: t, disabled: n, active: w, hover: G, focus: w, autofocus: m }), [t, n, G, w, m]);
|
91
|
+
return E.createElement(p, { name: "RadioGroup.Description" }, E.createElement(k, { name: "RadioGroup.Label" }, K({ ourProps: x, theirProps: l, slot: F, defaultTag: Me, name: "RadioGroup.Option" })));
|
92
|
+
}
|
93
|
+
let We = "span";
|
94
|
+
function ze(e, r) {
|
95
|
+
var o;
|
96
|
+
let a = X("Radio"), u = Y("Radio"), _ = q(), v = Pe(), c = oe(), { id: n = v || `headlessui-radio-${_}`, value: m, disabled: l = a.disabled || c || !1, autoFocus: s = !1, ...y } = e, d = B(null), k = z(d, r), D = Ee(), p = Te(), O = se({ value: m, disabled: l });
|
97
|
+
ne(() => u.registerOption({ id: n, element: d, propsRef: O }), [n, u, d, O]);
|
98
|
+
let A = U((g) => {
|
99
|
+
var f;
|
100
|
+
if (fe(g.currentTarget)) return g.preventDefault();
|
101
|
+
u.change(m) && ((f = d.current) == null || f.focus());
|
102
|
+
}), { isFocusVisible: C, focusProps: w } = le({ autoFocus: s }), { isHovered: P, hoverProps: G } = de({ isDisabled: l }), $ = ((o = a.firstOption) == null ? void 0 : o.id) === n, t = a.compare(a.value, m), x = ue({ ref: k, id: n, role: "radio", "aria-checked": t ? "true" : "false", "aria-labelledby": D, "aria-describedby": p, "aria-disabled": l ? !0 : void 0, tabIndex: l ? -1 : t || !a.containsCheckedOption && $ ? 0 : -1, autoFocus: s, onClick: l ? void 0 : A }, w, G), F = T(() => ({ checked: t, disabled: l, hover: P, focus: C, autofocus: s }), [t, l, P, C, s]);
|
103
|
+
return K({ ourProps: x, theirProps: y, slot: F, defaultTag: We, name: "Radio" });
|
104
|
+
}
|
105
|
+
let Ke = W(He), qe = W(Ve), me = W(ze), Be = V, Je = ye, Xe = Object.assign(Ke, { Option: qe, Radio: me, Label: Be, Description: Je });
|
106
|
+
const Qe = "_group_yses6_3", Ye = "_radio_yses6_18", Ze = "_disabled_yses6_40", er = "_label_yses6_51", rr = "_frame_yses6_64", ar = "_checked_yses6_73", R = {
|
107
|
+
group: Qe,
|
108
|
+
"content-wrapper": "_content-wrapper_yses6_8",
|
109
|
+
"radio-wrapper": "_radio-wrapper_yses6_18",
|
110
|
+
radio: Ye,
|
111
|
+
disabled: Ze,
|
112
|
+
label: er,
|
113
|
+
frame: rr,
|
114
|
+
checked: ar
|
115
|
+
}, cr = Ne(
|
116
|
+
({
|
117
|
+
options: e,
|
118
|
+
value: r,
|
119
|
+
onChange: o,
|
120
|
+
label: a,
|
121
|
+
classNameRadioWrapper: u,
|
122
|
+
classNameRadioSpan: _,
|
123
|
+
classNameContentWrapper: v,
|
124
|
+
...c
|
125
|
+
}, n) => {
|
126
|
+
const m = M(
|
127
|
+
R["radio-wrapper"],
|
128
|
+
u,
|
129
|
+
{
|
130
|
+
[R.disabled]: c.disabled
|
131
|
+
}
|
132
|
+
);
|
133
|
+
return /* @__PURE__ */ ee(
|
134
|
+
Xe,
|
135
|
+
{
|
136
|
+
ref: n,
|
137
|
+
value: r,
|
138
|
+
className: R.group,
|
139
|
+
onChange: o,
|
140
|
+
...c,
|
141
|
+
children: [
|
142
|
+
a && /* @__PURE__ */ L(V, { as: "p", className: R.label, children: a }),
|
143
|
+
/* @__PURE__ */ L(
|
144
|
+
"div",
|
145
|
+
{
|
146
|
+
className: M(
|
147
|
+
R["content-wrapper"],
|
148
|
+
v
|
149
|
+
),
|
150
|
+
children: e.map(({ label: l, value: s }) => /* @__PURE__ */ L(
|
151
|
+
me,
|
152
|
+
{
|
153
|
+
as: "span",
|
154
|
+
value: s,
|
155
|
+
disabled: c.disabled,
|
156
|
+
className: m,
|
157
|
+
"data-testid": `radio-option-${s}`,
|
158
|
+
children: ({ checked: y, disabled: d }) => /* @__PURE__ */ ee(_e, { children: [
|
159
|
+
/* @__PURE__ */ L(
|
160
|
+
V,
|
161
|
+
{
|
162
|
+
as: "span",
|
163
|
+
className: M(
|
164
|
+
R.radio,
|
165
|
+
{
|
166
|
+
[R.disabled]: c.disabled
|
167
|
+
},
|
168
|
+
_
|
169
|
+
),
|
170
|
+
children: /* @__PURE__ */ L(
|
171
|
+
"span",
|
172
|
+
{
|
173
|
+
className: M(R.frame, {
|
174
|
+
[R.checked]: y,
|
175
|
+
[R.disabled]: d
|
176
|
+
})
|
177
|
+
}
|
178
|
+
)
|
179
|
+
}
|
180
|
+
),
|
181
|
+
l
|
182
|
+
] })
|
183
|
+
},
|
184
|
+
typeof s == "string" ? s : String(s)
|
185
|
+
))
|
186
|
+
}
|
187
|
+
)
|
188
|
+
]
|
189
|
+
}
|
190
|
+
);
|
191
|
+
}
|
192
|
+
);
|
193
|
+
export {
|
194
|
+
cr as RadioGroup
|
195
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { ESelectSearchSize } from './constants';
|
2
|
+
import { TSelectOption } from './types';
|
3
|
+
|
4
|
+
export declare const SelectSearch: import('react').ForwardRefExoticComponent<Pick<import('../Input').TInputProps, "variant" | "withClearButton"> & {
|
5
|
+
value?: TSelectOption | null;
|
6
|
+
onChange?: (value: TSelectOption) => void;
|
7
|
+
placeholder?: string;
|
8
|
+
size?: ESelectSearchSize;
|
9
|
+
full?: boolean;
|
10
|
+
displayValue?: string;
|
11
|
+
showArrow?: boolean;
|
12
|
+
onSearch?: (value: string) => void;
|
13
|
+
filterOnSearch?: boolean;
|
14
|
+
items: TSelectOption[];
|
15
|
+
classNameOption?: string;
|
16
|
+
menuPlacement?: import('./types').TMenuPlacement;
|
17
|
+
disabled?: boolean;
|
18
|
+
searchProps?: Pick<import('../Input').TInputProps, "numbersOnly" | "maxLength" | "required">;
|
19
|
+
disableInput?: boolean;
|
20
|
+
autocomplete?: "on" | "off";
|
21
|
+
immediate?: boolean;
|
22
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
@@ -0,0 +1,263 @@
|
|
1
|
+
import { jsx as s, jsxs as h, Fragment as D } from "react/jsx-runtime";
|
2
|
+
import { c as l } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as U, useState as q, useMemo as W, useCallback as R, useEffect as $ } from "react";
|
4
|
+
import { ESelectSearchSize as g } from "./constants.js";
|
5
|
+
import { mapSizeToInputSize as A, getDropdownArrowIcon as J } from "./utils.js";
|
6
|
+
import { Icon as O } from "../../icons/Icon.js";
|
7
|
+
import { Button as Q } from "../Button/Button.js";
|
8
|
+
import { I as B } from "../../Input-DAmc_HxO.js";
|
9
|
+
import { EInputVariant as X } from "../Input/constants.js";
|
10
|
+
import { H as Y, U as M, G as j, K as Z, W as ee } from "../../combobox-CVtJDVoZ.js";
|
11
|
+
import '../../assets/SelectSearch.css';const te = "_disabled_1bph7_6", oe = "_container_1bph7_13", ne = "_full_1bph7_28", se = "_button_1bph7_40", ae = "_options_1bph7_54", ie = "_top_1bph7_65", le = "_bottom_1bph7_71", re = "_m_1bph7_98", ce = "_l_1bph7_113", de = "_option_1bph7_54", pe = "_clear_1bph7_167", e = {
|
12
|
+
"select-search": "_select-search_1bph7_2",
|
13
|
+
disabled: te,
|
14
|
+
container: oe,
|
15
|
+
"container-open": "_container-open_1bph7_24",
|
16
|
+
full: ne,
|
17
|
+
"selected-icon": "_selected-icon_1bph7_32",
|
18
|
+
"selector-icon-open": "_selector-icon-open_1bph7_36",
|
19
|
+
button: se,
|
20
|
+
"selector-icon": "_selector-icon_1bph7_36",
|
21
|
+
options: ae,
|
22
|
+
top: ie,
|
23
|
+
bottom: le,
|
24
|
+
"no-options": "_no-options_1bph7_77",
|
25
|
+
m: re,
|
26
|
+
l: ce,
|
27
|
+
"select-input": "_select-input_1bph7_128",
|
28
|
+
"select-input-disabled": "_select-input-disabled_1bph7_131",
|
29
|
+
option: de,
|
30
|
+
"option-active": "_option-active_1bph7_147",
|
31
|
+
"option-inner": "_option-inner_1bph7_150",
|
32
|
+
"right-slot": "_right-slot_1bph7_157",
|
33
|
+
"required-mark": "_required-mark_1bph7_162",
|
34
|
+
clear: pe,
|
35
|
+
"icon-button": "_icon-button_1bph7_176"
|
36
|
+
}, Ce = U(
|
37
|
+
(E, L) => {
|
38
|
+
const {
|
39
|
+
placeholder: w,
|
40
|
+
size: a = g.L,
|
41
|
+
value: i,
|
42
|
+
onChange: n,
|
43
|
+
full: V,
|
44
|
+
showArrow: C = !0,
|
45
|
+
items: u = [],
|
46
|
+
classNameOption: F,
|
47
|
+
displayValue: G = "name",
|
48
|
+
filterOnSearch: I = !0,
|
49
|
+
onSearch: b,
|
50
|
+
variant: S = X.DefaultGray,
|
51
|
+
menuPlacement: f = "bottom",
|
52
|
+
disabled: r = !1,
|
53
|
+
searchProps: y,
|
54
|
+
withClearButton: N = !1,
|
55
|
+
disableInput: c = !1,
|
56
|
+
autocomplete: k = "on",
|
57
|
+
immediate: P = !1
|
58
|
+
} = E, v = String((i == null ? void 0 : i[G]) || ""), [d, m] = q(v), [p, _] = q(i), x = W(() => I && d.trim().toLowerCase() ? u.filter(
|
59
|
+
(t) => t.name.toLowerCase().includes(d.toLowerCase())
|
60
|
+
) : u, [d, u, I]), T = (t) => {
|
61
|
+
t ? (m(t.name), _(t), n == null || n(t)) : (m(""), _(null), n == null || n({ id: "", name: "" }));
|
62
|
+
}, z = R(
|
63
|
+
(t) => {
|
64
|
+
if (c) return;
|
65
|
+
const o = t.target.value;
|
66
|
+
m(o), b == null || b(o), p && o !== p.name && _(null), !o && i && (n == null || n({ id: "", name: "" }));
|
67
|
+
},
|
68
|
+
[c, n, b, i, p]
|
69
|
+
), H = () => {
|
70
|
+
m(""), _(null), n == null || n({ id: "", name: "" });
|
71
|
+
};
|
72
|
+
return $(() => {
|
73
|
+
const t = !i || typeof i == "object" && !Object.keys(i).length;
|
74
|
+
m(t ? "" : v), _(t ? null : i);
|
75
|
+
}, [i, v]), /* @__PURE__ */ s(
|
76
|
+
Y,
|
77
|
+
{
|
78
|
+
as: "div",
|
79
|
+
value: p,
|
80
|
+
className: l(e["select-search"], {
|
81
|
+
[e.full]: V,
|
82
|
+
[e.disabled]: r
|
83
|
+
}),
|
84
|
+
onChange: T,
|
85
|
+
ref: L,
|
86
|
+
disabled: r,
|
87
|
+
virtual: { options: x },
|
88
|
+
immediate: P,
|
89
|
+
children: ({ open: t }) => /* @__PURE__ */ h(D, { children: [
|
90
|
+
/* @__PURE__ */ h(
|
91
|
+
"div",
|
92
|
+
{
|
93
|
+
className: l(e.container, e[a], {
|
94
|
+
[e["container-open"]]: t
|
95
|
+
}),
|
96
|
+
children: [
|
97
|
+
c && /* @__PURE__ */ h("div", { style: { position: "relative", width: "100%" }, children: [
|
98
|
+
/* @__PURE__ */ s(M, { disabled: r, style: { width: "100%" }, children: /* @__PURE__ */ s(
|
99
|
+
j,
|
100
|
+
{
|
101
|
+
as: B,
|
102
|
+
label: w,
|
103
|
+
size: A(a),
|
104
|
+
className: l(e["select-input"], {
|
105
|
+
[e["select-input-disabled"]]: c && N
|
106
|
+
}),
|
107
|
+
onChange: z,
|
108
|
+
value: d,
|
109
|
+
disabled: r,
|
110
|
+
variant: S,
|
111
|
+
rightSlotClassName: e["right-slot"],
|
112
|
+
requiredMarkClassName: e["required-mark"],
|
113
|
+
"data-testid": "select-search-input",
|
114
|
+
onFocus: (o) => {
|
115
|
+
c && o.target.blur();
|
116
|
+
},
|
117
|
+
rightAddon: {
|
118
|
+
addonType: "icon",
|
119
|
+
addonContent: J(t, a)
|
120
|
+
},
|
121
|
+
autocomplete: k,
|
122
|
+
...y
|
123
|
+
}
|
124
|
+
) }),
|
125
|
+
N && d && /* @__PURE__ */ s(
|
126
|
+
Q,
|
127
|
+
{
|
128
|
+
tabIndex: -1,
|
129
|
+
className: l(e.clear, {
|
130
|
+
[e.disabled]: r
|
131
|
+
}),
|
132
|
+
iconButtonClassName: e["icon-button"],
|
133
|
+
isIconButton: !0,
|
134
|
+
iconName: "Close16px",
|
135
|
+
size: "m-s",
|
136
|
+
clear: !0,
|
137
|
+
disabled: r,
|
138
|
+
variant: "secondary-gray",
|
139
|
+
onClick: (o) => {
|
140
|
+
o.stopPropagation(), H();
|
141
|
+
},
|
142
|
+
"data-testid": "clear-button"
|
143
|
+
}
|
144
|
+
)
|
145
|
+
] }),
|
146
|
+
!c && /* @__PURE__ */ s(
|
147
|
+
j,
|
148
|
+
{
|
149
|
+
as: B,
|
150
|
+
label: w,
|
151
|
+
size: A(a),
|
152
|
+
className: e["select-input"],
|
153
|
+
onChange: z,
|
154
|
+
value: d,
|
155
|
+
disabled: r,
|
156
|
+
variant: S,
|
157
|
+
withClearButton: N,
|
158
|
+
rightSlotClassName: e["right-slot"],
|
159
|
+
requiredMarkClassName: e["required-mark"],
|
160
|
+
"data-testid": "select-search-input",
|
161
|
+
rightAddon: C ? {
|
162
|
+
addonType: "react-node",
|
163
|
+
addonContent: C && /* @__PURE__ */ s(
|
164
|
+
M,
|
165
|
+
{
|
166
|
+
className: l(e.button, {
|
167
|
+
[e.disabled]: r
|
168
|
+
}),
|
169
|
+
disabled: r,
|
170
|
+
children: /* @__PURE__ */ s(
|
171
|
+
O,
|
172
|
+
{
|
173
|
+
iconName: a == g.M ? "DropdownArrowBottom16px" : "DropdownArrowDown24px",
|
174
|
+
className: l(e["selector-icon"], {
|
175
|
+
[e["selector-icon-open"]]: t
|
176
|
+
})
|
177
|
+
}
|
178
|
+
)
|
179
|
+
}
|
180
|
+
)
|
181
|
+
} : void 0,
|
182
|
+
onFocus: (o) => {
|
183
|
+
c && o.target.blur();
|
184
|
+
},
|
185
|
+
autocomplete: k,
|
186
|
+
...y
|
187
|
+
}
|
188
|
+
)
|
189
|
+
]
|
190
|
+
}
|
191
|
+
),
|
192
|
+
t && /* @__PURE__ */ s(D, { children: u.length ? x.length ? /* @__PURE__ */ s(
|
193
|
+
Z,
|
194
|
+
{
|
195
|
+
"data-testid": "select-search-options",
|
196
|
+
className: l(
|
197
|
+
e.options,
|
198
|
+
e[a],
|
199
|
+
e[f]
|
200
|
+
),
|
201
|
+
children: ({ option: o }) => /* @__PURE__ */ h(
|
202
|
+
ee,
|
203
|
+
{
|
204
|
+
value: o,
|
205
|
+
className: ({ focus: K }) => l(
|
206
|
+
e.option,
|
207
|
+
F,
|
208
|
+
a && e[a],
|
209
|
+
{
|
210
|
+
[e["option-active"]]: K
|
211
|
+
}
|
212
|
+
),
|
213
|
+
"data-testid": `select-search-option-${o.id}`,
|
214
|
+
children: [
|
215
|
+
/* @__PURE__ */ h("div", { className: e["option-inner"], children: [
|
216
|
+
o.name,
|
217
|
+
o.bottom && /* @__PURE__ */ s("div", { children: o.bottom })
|
218
|
+
] }),
|
219
|
+
p && p.id === o.id && /* @__PURE__ */ s(
|
220
|
+
O,
|
221
|
+
{
|
222
|
+
iconName: a === g.M ? "Done16px" : "Done24px",
|
223
|
+
className: e["selected-icon"]
|
224
|
+
}
|
225
|
+
)
|
226
|
+
]
|
227
|
+
},
|
228
|
+
o.id
|
229
|
+
)
|
230
|
+
}
|
231
|
+
) : /* @__PURE__ */ s(
|
232
|
+
"div",
|
233
|
+
{
|
234
|
+
className: l(
|
235
|
+
e.options,
|
236
|
+
e[a],
|
237
|
+
e["no-options"],
|
238
|
+
e[f]
|
239
|
+
),
|
240
|
+
"data-headlessui-state": t ? "open" : "closed",
|
241
|
+
children: "Ничего не найдено"
|
242
|
+
}
|
243
|
+
) : /* @__PURE__ */ s(
|
244
|
+
"div",
|
245
|
+
{
|
246
|
+
className: l(
|
247
|
+
e.options,
|
248
|
+
e[a],
|
249
|
+
e["no-options"],
|
250
|
+
e[f]
|
251
|
+
),
|
252
|
+
"data-headlessui-state": t ? "open" : "closed",
|
253
|
+
children: "Нет данных"
|
254
|
+
}
|
255
|
+
) })
|
256
|
+
] })
|
257
|
+
}
|
258
|
+
);
|
259
|
+
}
|
260
|
+
);
|
261
|
+
export {
|
262
|
+
Ce as SelectSearch
|
263
|
+
};
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { ESelectSearchSize } from './constants';
|
3
|
+
import { TInputProps } from '../Input';
|
4
|
+
|
5
|
+
export type TSelectOption = {
|
6
|
+
name: string;
|
7
|
+
id: number | string;
|
8
|
+
bottom?: ReactNode;
|
9
|
+
[index: string]: unknown;
|
10
|
+
};
|
11
|
+
export type TMenuPlacement = 'top' | 'bottom';
|
12
|
+
export type TSelectSearchProps = Pick<TInputProps, 'withClearButton' | 'variant'> & {
|
13
|
+
/**
|
14
|
+
* Текущее выбранное значение.
|
15
|
+
*/
|
16
|
+
value?: TSelectOption | null;
|
17
|
+
/**
|
18
|
+
* Функция обратного вызова при изменении выбранного значения.
|
19
|
+
*/
|
20
|
+
onChange?: (value: TSelectOption) => void;
|
21
|
+
/**
|
22
|
+
* Текст-подсказка для поля ввода.
|
23
|
+
*/
|
24
|
+
placeholder?: string;
|
25
|
+
/**
|
26
|
+
* Размер компонента выбора.
|
27
|
+
*/
|
28
|
+
size?: ESelectSearchSize;
|
29
|
+
/**
|
30
|
+
* Флаг для растягивания компонента на всю ширину контейнера.
|
31
|
+
*/
|
32
|
+
full?: boolean;
|
33
|
+
/**
|
34
|
+
* Значение, отображаемое в поле выбора.
|
35
|
+
*/
|
36
|
+
displayValue?: string;
|
37
|
+
/** Показывать ли иконку стрелки выпадающего списка */
|
38
|
+
showArrow?: boolean;
|
39
|
+
/** Функция обратного вызова, срабатывающая при изменении поискового запроса */
|
40
|
+
onSearch?: (value: string) => void;
|
41
|
+
/** Фильтровать ли варианты на основе поискового запроса */
|
42
|
+
filterOnSearch?: boolean;
|
43
|
+
/** Значения, передаваемые в SelectSearch */
|
44
|
+
items: TSelectOption[];
|
45
|
+
/** Класснейм для значения */
|
46
|
+
classNameOption?: string;
|
47
|
+
/** Варианты отображения выпадающего меню */
|
48
|
+
menuPlacement?: TMenuPlacement;
|
49
|
+
/** Отключает компонент SelectSearch */
|
50
|
+
disabled?: boolean;
|
51
|
+
/** Пропсы для инпута поиска опций */
|
52
|
+
searchProps?: Pick<TInputProps, 'numbersOnly' | 'maxLength' | 'required'>;
|
53
|
+
/** Отключает инпут, но позволяет открывать меню*/
|
54
|
+
disableInput?: boolean;
|
55
|
+
/** Управляет поведением автозаполнения браузера */
|
56
|
+
autocomplete?: 'on' | 'off';
|
57
|
+
/** Показывать список при фокусе или нет */
|
58
|
+
immediate?: boolean;
|
59
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ESelectSearchSize } from './constants';
|
2
|
+
import { EInputSize } from '../Input';
|
3
|
+
|
4
|
+
export declare const mapSizeToInputSize: (size: ESelectSearchSize) => EInputSize;
|
5
|
+
export declare const getDropdownArrowIcon: (isOpen: boolean, size: ESelectSearchSize) => "DropdownArrowBottom16px" | "DropdownArrowUp16px" | "DropdownArrowUp24px" | "DropdownArrowDown24px";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ESelectSearchSize as r } from "./constants.js";
|
2
|
+
import "../../Input-DAmc_HxO.js";
|
3
|
+
import { EInputSize as t } from "../Input/constants.js";
|
4
|
+
const c = (o) => {
|
5
|
+
switch (o) {
|
6
|
+
case r.M:
|
7
|
+
return t.M;
|
8
|
+
case r.L:
|
9
|
+
return t.L;
|
10
|
+
default:
|
11
|
+
return t.M;
|
12
|
+
}
|
13
|
+
}, i = (o, p) => o ? p === r.L ? "DropdownArrowUp24px" : "DropdownArrowUp16px" : p === r.L ? "DropdownArrowDown24px" : "DropdownArrowBottom16px";
|
14
|
+
export {
|
15
|
+
i as getDropdownArrowIcon,
|
16
|
+
c as mapSizeToInputSize
|
17
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ComponentProps } from 'react';
|
2
|
+
import { ESkeletonVariant } from '../constants';
|
3
|
+
|
4
|
+
type TProps = ComponentProps<'div'> & {
|
5
|
+
className?: string;
|
6
|
+
width?: string | number;
|
7
|
+
height?: string | number;
|
8
|
+
borderRadius?: string | number;
|
9
|
+
variant?: `${ESkeletonVariant}` | ESkeletonVariant;
|
10
|
+
};
|
11
|
+
export declare const SkeletonBrick: ({ className, width, height, borderRadius, style, variant, ...otherProps }: TProps) => import("react/jsx-runtime").JSX.Element;
|
12
|
+
export {};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
2
|
+
import { c as n } from "../../../index-DIxK0V-G.js";
|
3
|
+
import { ESkeletonVariant as c } from "../constants.js";
|
4
|
+
import { v as r } from "../../../variant.module-BXn4N1h0.js";
|
5
|
+
const v = ({
|
6
|
+
className: t,
|
7
|
+
width: o = "100%",
|
8
|
+
height: s,
|
9
|
+
borderRadius: a = "var(--mimir-control-radius)",
|
10
|
+
style: e,
|
11
|
+
variant: i = c.WHITE,
|
12
|
+
...m
|
13
|
+
}) => /* @__PURE__ */ l(
|
14
|
+
"div",
|
15
|
+
{
|
16
|
+
...m,
|
17
|
+
className: n(
|
18
|
+
r.skeleton,
|
19
|
+
r[i],
|
20
|
+
t
|
21
|
+
),
|
22
|
+
style: {
|
23
|
+
...e,
|
24
|
+
width: o,
|
25
|
+
height: s,
|
26
|
+
borderRadius: a
|
27
|
+
},
|
28
|
+
"data-testid": "skeleton-brick"
|
29
|
+
}
|
30
|
+
);
|
31
|
+
export {
|
32
|
+
v as SkeletonBrick
|
33
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ESkeletonVariant } from '../constants';
|
2
|
+
|
3
|
+
type TProps = {
|
4
|
+
className?: string;
|
5
|
+
size: number | string;
|
6
|
+
variant?: `${ESkeletonVariant}` | ESkeletonVariant;
|
7
|
+
};
|
8
|
+
export declare const SkeletonCircle: ({ className, variant, size }: TProps) => import("react/jsx-runtime").JSX.Element;
|
9
|
+
export {};
|